body, html {
    height: 100%;
}

body {
    padding-top: 36px;
    line-height: 1.25;
    
    font-family: Tahoma, sans-serif, Helvetica, Arial, Helvetica, sans-serif;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

.card {
    color: rgb(33, 37, 41);
}

.ckinputlb {
    margin-top: 0.3rem;
}
.ali-color {
    color: #005488;
}

.ali-disable-color {
    color: #666666;
}

.modal-color {
    color: rgb(33, 37, 41);
    background-color: #ffffff;
}

ul {
    list-style-type: none;
    padding: 0px;
}

a:link, a:visited {
    color: #005488;
    background-color:#FFFFFF;
}

a:hover {
    color: #1b55bd;
    background-color: #FFFFFF;
}

@media (min-width: 576px) {
    html,body {
        font-size: .9rem;
    }
}

@media (min-width: 768px) {
    html, body {
        font-size: .9rem;
    }
}

@media (min-width: 992px) {
    html, body {
        font-size: .9rem;
    }
}

@media (min-width: 1200px) {
    html, body {
        font-size: .9rem;
    }
}

.bg-lightgray {
    background-color: #ececec !important;
}

.has-error {
    border-color: red;
}

.wcontent {
    padding-bottom: 75px;
    padding-top: 70px;
}

#footer {
    background: #eef1f3; /*#ccccc9;*/ /*#424242;*/
    color: #2a2a28; /*#bebebe;*/
    width: 100%;
    min-height: 100px;
    position: absolute;
    bottom: 0;
    left: 0;
}

#footer p {
    font-weight:600;
    text-align: left;
}

#footer2 {
    background: #005488; /*#424242;*/
    color: whitesmoke; /*#bebebe;*/
    width: 100%;
    min-height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
}

h6 {
    color: #005488;
}


#content {
    padding-bottom: 210px;
    /* Height of the footer element */
}

#wrapper {
    min-height: 100%;
    position: relative;
}

.tg .tg-0lax {
    text-align: left;
    vertical-align: top;
    padding-left: 6px;
}

.tg .tg-02ax {
    text-align: right;
    vertical-align: top;
    color: #005488;
    font-weight:500;
    width:100px;
}

.tg .tg-03ax {
    text-align: right;
    vertical-align: top;
    color: #005488;
    font-weight: 500;
    width: 75px;
}

.tg .tg-04ax {
    text-align: right;
    vertical-align: top;
    color: #005488;
    font-weight: 500;
    width: 130px;
}

.tg .tg-06ax {
    text-align: right;
    vertical-align: middle;
    color: #fff;
    font-weight: 600;
    width: 125px;
}

.tg .tg-05ax {
    text-align: left;
    vertical-align: top;
    color: #005488;
    font-weight: 500;
    width: 300px;
    padding-left: 6px;
}


@media (min-width: 992px) {
    body {
     padding-top: 44px;
    }   
}

@media (min-width: 487px) {
    body {
        padding-top: 44px;
    }
}


#tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color:  #005488;
    color: aliceblue;
}

.tab-content {
   background-color: #f7f7f7;
    border: 1px solid #bdc6d0;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    padding-bottom: 1px;
}

tbody {
    border-color: #005488;
}

#cover {
    background: #222 url('') center center no-repeat;
    background-size: cover;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
}

#cover-caption {
    width: 100%;
}


@media (max-width: 487px) {
    .img-fluid {
        width: 235px;
    }

    .navbar-toggler-icon {
        padding: 0px !important;
    }
}



    .modal .modal-frame.modal-top {
        top: 0;
    }

    .modal .modal-frame {
        position: absolute;
        margin: 0;
    }

    .modal .modal-fluid, .modal .modal-frame {
        width: 100%;
        max-width: 100%;
    }
.modal .modal-full-height.modal-top, .modal .modal-full-height.modal-bottom {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.modal .modal-full-height.modal-top {
    bottom: auto;
}

    .modal .modal-dialog.modal-top {
        top: 0;
    }

    .modal .modal-dialog.modal-left {
        left: 0;
    }

    .modal .modal-dialog.modal-right {
        right: 0;
    }

    .modal .modal-dialog.modal-bottom {
        bottom: 0;
    }

    .modal .modal-dialog.modal-top-left {
        top: 10px;
        left: 10px;
    }

    .modal .modal-dialog.modal-top-right {
        top: 10px;
        right: 10px;
    }

.modal .modal-fluid {
    width: 100%;
    max-width: 100%;
}

    .modal .modal-fluid .modal-content {
        width: 100%;
    }

.modal .modal-frame {
    position: absolute;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

    .modal .modal-frame.modal-bottom {
        bottom: 0;
    }

/*////////////////////////////////////////////////////////////////////////////////////////**/
/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    margin-top: 20px;
}

    /* Flip around the padding for proper display in narrow viewports */
    .navbar-wrapper .container {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-wrapper .navbar {
        padding-left: 15px;
        padding-right: 15px;
    }

.navbar-content {
    width: 320px;
    padding: 15px;
    padding-bottom: 0px;
}

    .navbar-content:before, .navbar-content:after {
        display: table;
        content: "";
        line-height: 0;
    }

.navbar-nav.navbar-right:last-child {
    margin-right: 15px !important;
}

.navbar-footer {
    background-color: #DDD;
}

.navbar-footer-content {
    padding: 15px 15px 15px 15px;
}

@media (max-width: 992px) {
    .dropdown-menu {
        padding: 0px;
        margin-top: 10px;
        overflow: hidden;
    }
}

.avatar {
    border-radius: 50%;
    width: 120px;
    height: auto;
    margin: -65px auto 0;
    border: 5px solid #fff;
    background: #FFF;
}

.avatar img {
    width: 100%;
}


.dropdown-menu {
    min-width: 320px;
}

.a-unstyled {
    color: #005488;
    text-decoration: none;
}

    .a-unstyled:link {
        color: #005488;
    }

    .a-unstyled:visited {
        color: #005488;
    }

    .a-unstyled:hover {
        color: #005488;
    }

    .a-unstyled:active {
        color: #005488;
    }

.navbar-inverse .a-unstyled {
    color: #969696;
}

    .navbar-inverse .a-unstyled:link {
        color: #969696;
    }

    .navbar-inverse .a-unstyled:visited {
        color: #969696;
    }

    .navbar-inverse .a-unstyled:hover {
        color: #FFF;
    }

    .navbar-inverse .a-unstyled:active {
        color: #969696;
    }

div.boxes3 {
    min-height: 36px;
    display: table-cell;
    vertical-align: middle;

    p {
       display: inline-block;
    }
}

div.boxes {
    line-height: 36px;
    font-size: 14px;
    color: #005488;
}

i {
    margin-left: 10px;
    font-size: 30px;
    height: 30px;
    vertical-align: middle;
    color: #005488;
}

.btn-ali {
    color: #fff;
    background-color: #005488;
    border-color: #005488;
}

    .btn-ali:hover {
        color: #fff;
        background-color: #003f66;
        border-color: #003f66;
    }

    .btn-ali:focus, .btn-ali.focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
    }

    .btn-ali.disabled, .btn-ali:disabled {
        color: #fff;
        background-color: #005488;
        border-color: #005488;
    }

    .btn-ali:not(:disabled):not(.disabled):active, .btn-ali:not(:disabled):not(.disabled).active,
    .show > .btn-ali.dropdown-toggle {
        color: #fff;
        background-color: #003f66;
        border-color: #003f66;
    }

        .btn-ali:not(:disabled):not(.disabled):active:focus, .btn-ali:not(:disabled):not(.disabled).active:focus,
        .show > .btn-ali.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
        }




.btn-aligrey {
    color: #000;
    background-color: #e4e8ec;
    border-color: #e4e8ec;
}

    .btn-aligrey:hover {
        color: #000;
        background-color: #bcc6d0;
        border-color: #bcc6d0;
    }

    .btn-aligrey:focus, .btn-aligrey.focus {
        box-shadow: 0 0 0 0.2rem rgba(91, 95, 99, 0.5);
    }

    .btn-aligrey.disabled, .btn-aligrey:disabled {
        color: #000;
        background-color: #e4e8ec;
        border-color: #e4e8ec;
    }

    .btn-aligrey:not(:disabled):not(.disabled):active, .btn-aligrey:not(:disabled):not(.disabled).active,
    .show > .btn-aligrey.dropdown-toggle {
        color: #000;
        background-color: #bcc6d0;
        border-color: #bcc6d0;
    }

        .btn-aligrey:not(:disabled):not(.disabled):active:focus, .btn-aligrey:not(:disabled):not(.disabled).active:focus,
        .show > .btn-aligrey.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(91, 95, 99, 0.5);
        }

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f8f8;
}

.nav-link {
    display: block;
    padding: 0.25rem 1rem;
}

table.dataTable > tbody > tr.child span.dtr-title {
    display: block !important;
  
}

.btn-toggle {
    top: 50%;
    transform: translateY(-50%);
}

.btn-toggle {
    margin: 0 4rem;
    padding: 0;
    position: relative;
    border: none;
    height: 1.5rem;
    width: 3rem;
    border-radius: 1.5rem;
    color: #6b7381;
    background: #bdc1c8;
}

    .btn-toggle:focus,
    .btn-toggle.focus,
    .btn-toggle:focus.active,
    .btn-toggle.focus.active {
        outline: none;
    }

    .btn-toggle:before,
    .btn-toggle:after {
        line-height: 1.5rem;
        width: 4rem;
        text-align: center;
        font-weight: 600;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        position: absolute;
        bottom: 0;
        transition: opacity 0.25s;
    }

    .btn-toggle:before {
        content: 'Off';
        left: -4rem;
    }

    .btn-toggle:after {
        content: 'On';
        right: -4rem;
        opacity: 0.5;
    }

    .btn-toggle > .handle {
        position: absolute;
        top: 0.1875rem;
        left: 0.1875rem;
        width: 1.125rem;
        height: 1.125rem;
        border-radius: 1.125rem;
        background: #fff;
        transition: left 0.25s;
    }

    .btn-toggle.active {
        transition: background-color 0.25s;
    }

        .btn-toggle.active > .handle {
            left: 1.6875rem;
            transition: left 0.25s;
        }

        .btn-toggle.active:before {
            opacity: 0.5;
        }

        .btn-toggle.active:after {
            opacity: 1;
        }

    .btn-toggle.btn-sm:before,
    .btn-toggle.btn-sm:after {
        line-height: -0.5rem;
        color: #fff;
        letter-spacing: 0.75px;
        left: 0.4125rem;
        width: 2.325rem;
    }

    .btn-toggle.btn-sm:before {
        text-align: right;
    }

    .btn-toggle.btn-sm:after {
        text-align: left;
        opacity: 0;
    }

    .btn-toggle.btn-sm.active:before {
        opacity: 0;
    }

    .btn-toggle.btn-sm.active:after {
        opacity: 1;
    }

    .btn-toggle.btn-xs:before,
    .btn-toggle.btn-xs:after {
        display: none;
    }

    .btn-toggle:before,
    .btn-toggle:after {
        color: #6b7381;
    }
    .contractstatus-highlight-status {
        color: black;
        font-weight: bold;
        text-align: right;
        vertical-align: top;
        font-weight: 500;
        font-size: 0.90rem;
        width: 130px;
    }
    .contractstatus-highlight-cell {
        background-color: #f3a892;
        color: white;
        text-align: right;
        padding-left:5px;
        font-size: 0.90rem;
        font-weight: bold;
        /* fallback */
        border: 3px solid white;
        /* Modern */
        border-image: linear-gradient(to right, #ffffff, #f3a892, #ffffff) 1;
    }
    .oi-status.highlight-cell {
        background-color: #156082;
        color: white;
        text-align: right;
        padding-left:5px;
        font-size: 0.90rem;
        font-weight: bold;
        /* fallback */
        border: 3px solid white;
        /* Modern */
        border-image: linear-gradient(to right, #ffffff, #f3a892, #ffffff) 1;
    }
    
    .btn-toggle.active {
        background-color: #29b5a8;
    }

    .btn-toggle.btn-lg {
        margin: 0 5rem;
        padding: 0;
        position: relative;
        border: none;
        height: 2.5rem;
        width: 5rem;
        border-radius: 2.5rem;
    }

        .btn-toggle.btn-lg:focus,
        .btn-toggle.btn-lg.focus,
        .btn-toggle.btn-lg:focus.active,
        .btn-toggle.btn-lg.focus.active {
            outline: none;
        }

        .btn-toggle.btn-lg:before,
        .btn-toggle.btn-lg:after {
            line-height: 2.5rem;
            width: 5rem;
            text-align: center;
            font-weight: 600;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            position: absolute;
            bottom: 0;
            transition: opacity 0.25s;
        }

        .btn-toggle.btn-lg:before {
            content: 'Off';
            left: -5rem;
        }

        .btn-toggle.btn-lg:after {
            content: 'On';
            right: -5rem;
            opacity: 0.5;
        }

        .btn-toggle.btn-lg > .handle {
            position: absolute;
            top: 0.3125rem;
            left: 0.3125rem;
            width: 1.875rem;
            height: 1.875rem;
            border-radius: 1.875rem;
            background: #fff;
            transition: left 0.25s;
        }

        .btn-toggle.btn-lg.active {
            transition: background-color 0.25s;
        }

            .btn-toggle.btn-lg.active > .handle {
                left: 2.8125rem;
                transition: left 0.25s;
            }

            .btn-toggle.btn-lg.active:before {
                opacity: 0.5;
            }

            .btn-toggle.btn-lg.active:after {
                opacity: 1;
            }

        .btn-toggle.btn-lg.btn-sm:before,
        .btn-toggle.btn-lg.btn-sm:after {
            line-height: 0.5rem;
            color: #fff;
            letter-spacing: 0.75px;
            left: 0.6875rem;
            width: 3.875rem;
        }

        .btn-toggle.btn-lg.btn-sm:before {
            text-align: right;
        }

        .btn-toggle.btn-lg.btn-sm:after {
            text-align: left;
            opacity: 0;
        }

        .btn-toggle.btn-lg.btn-sm.active:before {
            opacity: 0;
        }

        .btn-toggle.btn-lg.btn-sm.active:after {
            opacity: 1;
        }

        .btn-toggle.btn-lg.btn-xs:before,
        .btn-toggle.btn-lg.btn-xs:after {
            display: none;
        }

    .btn-toggle.btn-sm {
        margin: 0 0.5rem;
        padding: 0;
        position: relative;
        border: none;
        height: 1.5rem;
        width: 3rem;
        border-radius: 1.5rem;
    }

        .btn-toggle.btn-sm:focus,
        .btn-toggle.btn-sm.focus,
        .btn-toggle.btn-sm:focus.active,
        .btn-toggle.btn-sm.focus.active {
            outline: none;
        }

        .btn-toggle.btn-sm:before,
        .btn-toggle.btn-sm:after {
            line-height: 1.5rem;
            width: 0.5rem;
            text-align: center;
            font-weight: 600;
            font-size: 0.55rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            position: absolute;
            bottom: 0;
            transition: opacity 0.25s;
        }

        .btn-toggle.btn-sm:before {
            content: 'Off';
            left: -0.5rem;
        }

        .btn-toggle.btn-sm:after {
            content: 'On';
            right: -0.5rem;
            opacity: 0.5;
        }

        .btn-toggle.btn-sm > .handle {
            position: absolute;
            top: 0.1875rem;
            left: 0.1875rem;
            width: 1.125rem;
            height: 1.125rem;
            border-radius: 1.125rem;
            background: #fff;
            transition: left 0.25s;
        }

        .btn-toggle.btn-sm.active {
            transition: background-color 0.25s;
        }

            .btn-toggle.btn-sm.active > .handle {
                left: 1.6875rem;
                transition: left 0.25s;
            }

            .btn-toggle.btn-sm.active:before {
                opacity: 0.5;
            }

            .btn-toggle.btn-sm.active:after {
                opacity: 1;
            }

        .btn-toggle.btn-sm.btn-sm:before,
        .btn-toggle.btn-sm.btn-sm:after {
            line-height: -0.5rem;
            color: #fff;
            letter-spacing: 0.75px;
            left: 0.4125rem;
            width: 2.325rem;
        }

        .btn-toggle.btn-sm.btn-sm:before {
            text-align: right;
        }

        .btn-toggle.btn-sm.btn-sm:after {
            text-align: left;
            opacity: 0;
        }

        .btn-toggle.btn-sm.btn-sm.active:before {
            opacity: 0;
        }

        .btn-toggle.btn-sm.btn-sm.active:after {
            opacity: 1;
        }

        .btn-toggle.btn-sm.btn-xs:before,
        .btn-toggle.btn-sm.btn-xs:after {
            display: none;
        }

    .btn-toggle.btn-xs {
        margin: 0 0;
        padding: 0;
        position: relative;
        border: none;
        height: 1rem;
        width: 2rem;
        border-radius: 1rem;
    }

        .btn-toggle.btn-xs:focus,
        .btn-toggle.btn-xs.focus,
        .btn-toggle.btn-xs:focus.active,
        .btn-toggle.btn-xs.focus.active {
            outline: none;
        }

        .btn-toggle.btn-xs:before,
        .btn-toggle.btn-xs:after {
            line-height: 1rem;
            width: 0;
            text-align: center;
            font-weight: 600;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            position: absolute;
            bottom: 0;
            transition: opacity 0.25s;
        }

        .btn-toggle.btn-xs:before {
            content: 'Off';
            left: 0;
        }

        .btn-toggle.btn-xs:after {
            content: 'On';
            right: 0;
            opacity: 0.5;
        }

        .btn-toggle.btn-xs > .handle {
            position: absolute;
            top: 0.125rem;
            left: 0.125rem;
            width: 0.75rem;
            height: 0.75rem;
            border-radius: 0.75rem;
            background: #fff;
            transition: left 0.25s;
        }

        .btn-toggle.btn-xs.active {
            transition: background-color 0.25s;
        }

            .btn-toggle.btn-xs.active > .handle {
                left: 1.125rem;
                transition: left 0.25s;
            }

            .btn-toggle.btn-xs.active:before {
                opacity: 0.5;
            }

            .btn-toggle.btn-xs.active:after {
                opacity: 1;
            }

        .btn-toggle.btn-xs.btn-sm:before,
        .btn-toggle.btn-xs.btn-sm:after {
            line-height: -1rem;
            color: #fff;
            letter-spacing: 0.75px;
            left: 0.275rem;
            width: 1.55rem;
        }

        .btn-toggle.btn-xs.btn-sm:before {
            text-align: right;
        }

        .btn-toggle.btn-xs.btn-sm:after {
            text-align: left;
            opacity: 0;
        }

        .btn-toggle.btn-xs.btn-sm.active:before {
            opacity: 0;
        }

        .btn-toggle.btn-xs.btn-sm.active:after {
            opacity: 1;
        }

        .btn-toggle.btn-xs.btn-xs:before,
        .btn-toggle.btn-xs.btn-xs:after {
            display: none;
        }

    .btn-toggle.btn-secondary {
        color: #6b7381;
        background: #bdc1c8;
    }

        .btn-toggle.btn-secondary:before,
        .btn-toggle.btn-secondary:after {
            color: #6b7381;
        }

        .btn-toggle.btn-secondary.active {
            background-color: #ff8300;
        }
