﻿/* DSC theme for Bootstrap v4.0.0-beta.3 */
@media print {
    /* prevent asptrace from printing */
    #__asptrace {
        display: none;
    }
}

@media (max-width: 575.98px) {
    /* prevent asptrace on mobile */
    #__asptrace {
        display: none;
    }
}

#chSchool + .select2 {
    width: 20rem;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

body {
    padding-bottom: 60px;
    background-color: #f8f8f8;
}

@media (max-width: 991.98px) {
    .container-lg {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
}

/* remove outside border on a responsive table */
.table-responsive.table-bordered {
    border: 0;
}

.navbar.application.fixed-top {
    top: 49px;
    z-index: 1029;
}

.navbar.application .navbar-nav .nav-link {
    color: #004a7e; /* DSC Blue -.20 brightness */
    font-weight: 500;
    transition: all .3s ease;
}

    .navbar.application .navbar-nav .nav-link:focus,
    .navbar.application .navbar-nav .nav-link:hover {
        color: #0086E5; /* DSC Blue +.20 brightness */
    }

.wrapper {
    padding-top: 94px;
}

.dsc-notify {
    top: 94px !important;
    z-index: 1031;
}

.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-top {
    z-index: 1032 !important;
}

@media (max-width: 767.98px) {
    .wrapper {
        padding-top: 66px !important;
    }

    .dsc-notify {
        top: 66px !important;
    }
}

/*#region reduce padding between columns */
.row {
    margin-right: -10px;
    margin-left: -10px;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    padding-right: 10px;
    padding-left: 10px;
}
/*#endregion reduce padding between column items */

.card {
    margin-bottom: 1rem;
    background-clip: padding-box;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.06), 0 1px 0 0 rgba(0, 0, 0, 0.02);
}

.card-box {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: .25rem;
    background-clip: padding-box;
    background-color: #fff;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.06), 0 1px 0 0 rgba(0, 0, 0, 0.02);
}

.card-body-sm {
    padding: .75rem;
}

.alert > :last-child,
.card-body > p:last-child,
.card-body > .alert:last-child,
.card-body > .card:last-child,
.card-body > .form-group:last-child,
.card-body > .table:last-child,
.card-text > :last-child,
.modal-body > .card:last-child,
.form-group[data-valsummary] > ul {
    margin-bottom: 0;
}

.table > thead > tr {
    background-color: #0069b3;
    color: #fff;
}

    .table > thead > tr > th:first-child {
        border-left-color: #0069b3;
    }

    .table > thead > tr > th {
        border-top-color: #0069b3;
    }

        .table > thead > tr > th:last-child {
            border-right-color: #0069b3;
        }

    .table > thead > tr > td[colspan]:only-child {
        color: #212529;
    }

        .table > thead > tr > td[colspan]:only-child > table,
        .table > tfoot > tr > td[colspan]:only-child > table {
            background-color: rgba(0, 0, 0, 0.05);
        }

.table > tbody > tr,
.table > tfoot > tr {
    background-color: #fff;
}

    .table > tbody > tr > td[colspan]:only-child {
        font-weight: bold;
        border-top: double;
        border-bottom: double;
    }

.table-nonfluid {
    width: auto !important;
}

table:not(.table-striped) > tbody > tr.Odd {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fff;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

.form-group-sm {
    margin-bottom: .5rem;
}

@media (max-width: 767.98px) {
    .d-mobile-none {
        display: none !important;
    }
}

.fa-lg-simple {
    font-size: 1.33333333em;
}

i.fa {
    width: 1.5rem;
}

label {
    font-weight: 500;
}

.col-form-label-sm {
    line-height: 1.25;
}

.form-control-plaintext-sm {
    padding-top: calc(0.25rem + 1px);
    padding-bottom: calc(0.25rem + 1px);
    font-size: 0.875rem;
    line-height: 1.25;
}

select.form-control:not([size]):not([multiple]) {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

textarea.form-control.rich-editor,
select.form-control.select2-control {
    display: none;
}

.form-check {
    margin-bottom: 0;
}

    .form-check > label:not(.form-check-label) {
        padding-left: .25rem;
    }

    .form-check:not(.form-check-inline) > label:not(.form-check-label):first-of-type {
        padding-top: .5rem;
    }

    .form-check.form-check-inline > label:not(.form-check-label) {
        margin-bottom: 0;
    }

    .form-check label:not(.form-check-label) + input[type='checkbox']:not(.form-check-input),
    .form-check label:not(.form-check-label) + input[type='radio']:not(.form-check-input) {
        margin-left: 1rem;
    }

    .form-check input[type='checkbox']:not(.form-check-input):checked + label:not(.form-check-label),
    .form-check input[type='radio']:not(.form-check-input):checked + label:not(.form-check-label) {
        color: #0069b3; /* DSC Blue */
    }

.dropdown-menu {
    border: 1px solid rgba(43, 61, 81, 0.05);
    box-shadow: 0 0 24px 0 rgba(43, 61, 81, 0.06), 0 1px 0 0 rgba(43, 61, 81, 0.02);
}

a {
    text-decoration: underline;
}

    header a,
    header a:hover,
    a.btn,
    a.dropdown-item,
    a.list-group-item-action,
    a.list-group-item-action:hover {
        text-decoration: none;
    }

.bg-primary {
    background-color: #0069b3 !important; /* DSC Blue */
    color: #fff;
}

.bg-muted {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.bg-xtra-muted {
    background-color: rgba(0, 0, 0, 0.10) !important;
}

@media (min-width: 768px) {
    .border-bottom-md-0 {
        border-bottom: 0 !important;
    }
}

.font-size-small {
    font-size: 75%;
}

.font-size-medium {
    font-size: 90%;
}

.text-primary {
    color: #0069b3 !important; /* DSC Blue */
}

a.text-primary:focus,
a.text-primary:hover {
    color: #004a7e !important; /* DSC Blue -.20 brightness */
}

.btn-primary {
    border-color: #0069b3; /* DSC Blue */
    background-color: #0069b3; /* DSC Blue */
    color: #fff;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .open > .dropdown-toggle.btn-primary {
        border-color: #004a7e; /* DSC Blue -.20 brightness */
        background-color: #004a7e; /* DSC Blue -.20 brightness */
    }

.btn-outline-primary {
    border-color: #0069b3; /* DSC Blue */
    color: #0069b3; /* DSC Blue */
}

    .btn-outline-primary:hover {
        border-color: #0069b3; /* DSC Blue */
        background-color: #0069b3; /* DSC Blue */
    }

    .btn-outline-primary.disabled,
    .btn-outline-primary:disabled {
        background-color: transparent;
        color: #0069b3;
    }

    .btn-outline-primary:active,
    .btn-outline-primary.active,
    .show > .btn-outline-primary.dropdown-toggle {
        border-color: #0069b3;
        background-color: #0069b3;
    }

.btn-outline {
    border-color: rgba(0, 0, 0, 0.15);
    background-color: #fff;
    background-image: none;
    color: #495057;
}

    .btn-outline:focus,
    .btn-outline.focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5);
    }

    .btn-outline.disabled,
    .btn-outline:disabled {
        background-color: #e9ecef;
        opacity: 1;
    }

[data-toggle="collapse"] {
    cursor: pointer;
}

[data-toggle="popover"] {
    cursor: help;
}

.bottom {
    bottom: 0;
}

/*#region animated hamburger */
.navbar-toggler.animated .lines {
    position: relative;
    width: 1.25rem;
    height: 26px;
    padding-top: 5px;
}

    .navbar-toggler.animated .lines span {
        display: block;
        width: 100%;
        height: 2px;
        margin-bottom: 5px;
        background-color: #fff;
        transition: transform .5s ease;
    }

.navbar-toggler.animated:hover .lines span {
    background-color: #64b0f2;
}

.navbar-toggler.animated:not(.collapsed) .lines span:first-child {
    position: absolute;
    top: 12px;
    transform: rotate(45deg);
}

.navbar-toggler.animated:not(.collapsed) .lines span:nth-child(2) {
    visibility: hidden;
}

.navbar-toggler.animated:not(.collapsed) .lines span:last-child {
    position: absolute;
    top: 12px;
    width: 100%;
    transform: rotate(-45deg);
}
/*#endregion animated hamburger */

@media print {
    header {
        display: none;
    }

    .wrapper {
        padding-top: 0;
    }

    .table td, .table th {
        background-color: inherit !important;
    }

    /* HACK: prevent IE from printing footers on each page */
    tfoot {
        display: table-row-group;
    }

    .d-print-visible {
        visibility: visible !important;
    }

    .d-print-invisible {
        visibility: hidden !important;
    }
}

/* =============
   Checkbox and Radios
============= */
.checkbox label {
    display: inline-block;
    position: relative;
    padding-left: 5px;
}

    .checkbox label::before {
        display: inline-block;
        position: absolute;
        left: 0;
        width: 17px;
        height: 17px;
        margin-top: 2px;
        margin-left: -20px;
        border: 2px solid rgba(43, 61, 81, 0.5);
        border-radius: 3px;
        outline: none !important;
        background-color: transparent;
        content: "";
        transition: 0.3s ease-in-out;
    }

    .checkbox label::after {
        display: inline-block;
        position: absolute;
        top: 2px;
        left: 2px;
        width: 16px;
        height: 16px;
        margin-left: -20px;
        padding-top: 1px;
        padding-left: 3px;
        color: #2b3d51;
        font-size: 11px;
    }

.checkbox input[type="checkbox"] {
    outline: none !important;
    cursor: pointer;
    opacity: 0;
    z-index: 1;
}

    .checkbox input[type="checkbox"]:disabled + label {
        opacity: 0.65;
    }

    .checkbox input[type="checkbox"]:focus + label::before {
        outline: none;
        outline-offset: -2px;
    }

    .checkbox input[type="checkbox"]:checked + label::after {
        font-family: 'Material-Design-Iconic-Font';
        font-weight: bold;
        content: '\f26b';
    }

    .checkbox input[type="checkbox"]:disabled + label::before {
        background-color: #818a91;
        cursor: not-allowed;
    }

.checkbox.checkbox-circle label::before {
    border-radius: 50%;
}

.checkbox.checkbox-inline {
    margin-top: 0;
}

.checkbox.checkbox-single label {
    height: 17px;
}

.checkbox-primary input[type="checkbox"]:checked + label::before {
    border-color: #0069b3; /* DSC Blue */
    background-color: #0069b3; /* DSC Blue */
    color: #fff;
}

.checkbox-primary input[type="checkbox"]:checked + label::after {
    color: #fff;
}

/* Radios */
.radio label {
    display: inline-block;
    position: relative;
    padding-left: 5px;
}

    .radio label::before {
        display: inline-block;
        position: absolute;
        left: 0;
        width: 17px;
        height: 17px;
        margin-top: 2px;
        margin-left: -20px;
        border: 2px solid rgba(43, 61, 81, 0.5);
        border-radius: 50%;
        outline: none !important;
        content: "";
        transition: border 0.5s ease-in-out;
    }

    .radio label::after {
        display: inline-block;
        position: absolute;
        top: 5px;
        left: 3px;
        width: 11px;
        height: 11px;
        margin-left: -20px;
        transform: scale(0, 0);
        border-radius: 50%;
        background-color: #818a91;
        content: " ";
        transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    }

.radio input[type="radio"] {
    outline: none !important;
    cursor: pointer;
    opacity: 0;
    z-index: 1;
}

    .radio input[type="radio"]:disabled + label {
        opacity: 0.65;
    }

    .radio input[type="radio"]:focus + label::before {
        outline: 5px auto -webkit-focus-ring-color;
        outline: thin dotted;
        outline-offset: -2px;
    }

    .radio input[type="radio"]:checked + label::after {
        transform: scale(1, 1);
    }

    .radio input[type="radio"]:disabled + label::before {
        cursor: not-allowed;
    }

.radio.radio-inline {
    margin-top: 0;
}

.radio.radio-single label {
    height: 17px;
}

.radio-primary input[type="radio"] + label::after {
    background-color: #0069b3; /* DSC Blue */
}

.radio-primary input[type="radio"]:checked + label::before {
    border-color: #0069b3; /* DSC Blue */
}

.radio-primary input[type="radio"]:checked + label::after {
    background-color: #0069b3; /* DSC Blue */
}

.has-error input[type='checkbox'],
.has-error input[type='radio'],
.has-error input[type='checkbox'] + label,
.has-error input[type='radio'] + label {
    color: #a94442;
}

.has-error .form-control,
.form-control.has-error {
    border-color: #a94442;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

    .has-error .form-control:focus,
    .form-control.has-error:focus {
        border-color: #843534;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
    }

/* IE9, IE10, IE11 */
@media screen and (min-width: 0\0) {
    .input-group-prepend,
    .input-group-append {
        font-size: 1rem !important;
        line-height: inherit !important;
    }
}
