﻿html,body{
    height:100%;
}
body {
    background-image: url('/Content/assets/img/bg.png');
    background-repeat: repeat;
    background-size: unset;
    background-position: center;
}

img {
    max-width: 100%;
    margin: auto;
}
.page-loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 60;
    background-color: rgba(0, 0, 0, 0.5);
}
input[type=number] {
    min-width: 60px;
}
form[name=login] {
    width: 100%;
    max-width: 300px;
}
form fieldset .md-dialog-content h1,
form fieldset .md-dialog-content h2,
form fieldset .md-dialog-content h3,
form fieldset .md-dialog-content h4,
form fieldset .md-dialog-content h5,
form fieldset .md-dialog-content h6 {
    color: #106CC8;
}
form fieldset{
    padding:0;
    margin:0;
    border:none;
}
form fieldset .md-dialog-content:nth-child(2n){
    background-color: rgba(0, 0, 0, 0.075);
}
.validation-summary-errors ul li, .form-validation-error {
    padding-bottom: 5px;
    margin-bottom: 5px;
    color: rgb(221,44,0);
    font-size: 12px;
    border-bottom: 1px solid rgb(221,44,0);
}
.validation-summary-errors ul li {
    list-style: none;
    margin: 0;
    margin-top: 10px;
}
/* Angular Material */
body md-card md-content {
    background: #fff;
    padding: 10px 15px;
}
.no-error .md-errors-spacer{
    display:none;
}
md-toolbar {
    border-bottom: 1px solid rgba(0,0,0,0.12);
}
.selectCheckboxHeader .select-checkbox-header-searchbox {
    border: none;
    outline: none;
    height: 100%;
    width: 100%;
    padding: 0;
}
.selectCheckboxHeader .select-checkbox-header {
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(0, 0, 0, 0.12);
    padding-left: 10.667px;
    height: 48px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    width: auto;
}
.selectCheckboxHeader md-content._md {
    max-height: 240px;
}
._md-datepicker-has-calendar-icon{
    min-width:190px;
}
md-datepicker.layout-row > .md-datepicker-input-container {
    min-width: 0;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    box-sizing: border-box;
}
md-datepicker.layout-row > .md-datepicker-input-container > .md-datepicker-input{
    max-width: none !important;
}
md-event-calendar.disable {
    opacity: 0.5;
}
md-input-container md-select .md-select-value > span {
    white-space: normal !important;
}
md-dialog md-dialog-actions {
    border-top: 1px solid rgba(0,0,0,0.12);
}
.md-button.show-button:enabled {
    animation: show-button-animation 1s cubic-bezier(0,-1.3,1,2.3) infinite;
}
@keyframes show-button-animation {
    from {
        box-shadow: 0px 0px 0px 12px #fff;
    }

    to {
        box-shadow: 0px 0px 0px 15px #fff;
    }
}
/* Bootstrap */
table.table-bordered {
    border: none;
}
table.table-bordered th:first-child,
table.table-bordered tbody td:first-child
{
    border-left: none;
}
table.table-bordered th:last-child,
table.table-bordered tbody td:last-child
{
    border-right:none;
}
table.table-bordered tr:first-child th,
table.table-bordered tr:first-child td
{
    border-top:none;
}
table.table-bordered tr:last-child th,
table.table-bordered tr:last-child td
{
    border-bottom: none;
}
.dropdown.material .dropdown-toggle {
    margin: 0;
    height: auto;
    width: auto;
    line-height: normal;
}
.dropdown.material .dropdown-menu{
    min-width: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border:0;
    border-radius: 0;
    background:transparent;
}
.dropdown.material .dropdown-menu li{
    margin: 0;
}
.dropdown.material .dropdown-menu li button{
    margin-left: 0px;
    margin-right: 0px;
}
.dropdown.material.open .dropdown-menu.left {
    right: 100%;
    left: unset;
    top: -5px;
    display: flex;
    background: #fff;
    padding: 5px;
    border-radius: 3px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
}
.dropdown.material .dropdown-menu.left li button {
    margin: 0px 4px;
}
/* Short */
.full-width {
    width: 100%;
}
.full-height {
    height: 100%;
}
.m-a-0 {
    margin: 0px !important;
}
.m-t-0{
    margin-top:0px !important;
}
.m-b-0 {
    margin-bottom: 0px !important;
}
.p-a-0 {
    padding: 0px !important;
}
.p-tb-0 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.p-t-0 {
    padding-top: 0px !important;
}

.p-b-0 {
    padding-bottom: 0px !important;
}
.m-t-15 {
    margin-top: 15px !important;
}
.p-lr-15 {
    padding-left: 15px;
    padding-right: 15px;
}
.res-divider {
    background-color: rgba(0,0,0,0.12);
    min-width: 1px;
    min-height: 1px;
}
.short-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
}
.mini-info {
    position:relative;
    display:block;
}
.mini-info .repeat{
    position: absolute;
    left: 105%;
    top: -5px;
    background: #fff;
    z-index: 1;
    color: initial;
    padding: 10px 10px;
    width: 250%;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0,0.25);
    border-radius: 3px;
    line-height: normal;
    text-align: left;
    font-size: 12px;
    font-weight: 400;
}
.mini-info .repeat:before {
    content: "";
    top: 1px;
    left: -8px;
    position: absolute;
    border-top: 10px solid transparent;
    border-right: 8px solid #fff;
    border-bottom: 10px solid transparent;
}
.mini-info .repeat .detail{
    display: block;
    padding-top: 5px;
    margin-top: 5px;
    border-top: 1px solid rgba(0,0,0,0.25);
}
.mini-info .repeat .detail:first-child{
    margin:0;
    padding:0;
    border:0;
}
.mini-info .repeat strong{
    display:block;
    text-align:center;
    margin-top:5px;
}

/* employability */
@media only screen and (min-width: 600px) {
    .employability .rows{
        width:60%;
    }
}
.employability md-tabs-wrapper {
    display:none;
}
.employability md-card {
    margin:0;
}
.employability md-toolbar{
    min-height:unset;
}
.employability .md-toolbar-tools {
    height: unset;
    min-height: unset;
    padding: 15px 18px;
    font-size: inherit;
}
/* Templates */
/* Order Paragraph */
.droppable, .draggable {
    padding: 10px;
    min-height: 61.6px;
}
.droppable .dro-opt {
    min-height: 31.6px;
    background-color: rgba(0, 0, 0, 0.05);
    
    border-radius: 2px;
}
.draggable .dra-opt {
    border: 1px dashed rgba(0,0,0,0.12);
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 2px;
    margin-bottom: 10px;
    cursor: move;
}

.dro-opt .dra-opt {
    background-color: #fff;
    padding: 5px 10px;
    border: 1px dashed rgba(0,0,0,0.12);
    cursor: move;
}
.dro-opt.droppable-area {
    background-color: #fdbb16;
    max-height: 31.6px;
    overflow:hidden;
}
.dro-opt.droppable-area .dra-opt{
    border-color:#fdbb16;
}
/* Match Text */
.droppable table th, .droppable table td {
    padding: 5px 10px;
}
/* Multiple */
.employability .multiple .md-button {
    min-height: unset;
    line-height: 1.4;
    padding: 5px 10px;
    font-weight: 400;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: none !important;
    white-space: inherit;
}

/* Result */
#summary {
    max-height: 420px;
    overflow: auto;
}
.employability .details {
    margin-bottom: 29px;
}
.employability .details:last-child{
    margin:0;
}
.employability .well, .employability .ok, .employability .unsure {
    margin-bottom: 15px;
    border-bottom: 10px solid;
    border-radius: 5px;
}
.employability .well {
    border-color: rgb(76, 175, 80);
}
.employability .ok {
    border-color: rgb(255, 193, 7);
}
.employability .unsure {
    border-color: rgb(244, 67, 54);
}
.employability .well h4, .employability .ok h4, .employability .unsure h4 {
    margin: 0;
    padding: 5px 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.employability .well h4 {
    background-color: rgb(76, 175, 80) !important;
    color: #fff !important;
}
.employability .ok h4 {
    background-color: rgb(255, 193, 7) !important;
}
.employability .unsure h4 {
    background-color: rgb(244, 67, 54) !important;
    color: #fff !important;
}
.employability .lines {
    padding: 5px;
    border-bottom: 1px dashed rgba(0,0,0,0.12);
}
.employability .lines:last-child{
    border:none;
}