﻿/* Bootstrap Validation Summary Override */
.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 1rem;
}

.alert.validation-summary-errors {
    margin-bottom: 1rem;
}

/* Reference classes, no implementation */
.js-waves-off, .js-waves-on, .js-get-date, .js-collapse, .js-modal-settings, .js-filter-message, .js-buttons, .js-icon-class, .js-icon-copy, .base, .needs-validation, .flex-start, .text-faded, .app-container-demo, .has-tooltip, .has-popover {
}

.js-bg-color, .js-bg-gradient, .js-bg-gradient-demo, .js-bg-target {
}

/* Enter custom CSS rules for your application here */
@media (min-width: 992px) {
    .modal-xl {
        max-width: 95%;
    }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 73%;
        margin-left: 19.5%;
    }
}

thead {
    background: #3e6969;
    color: white;
    text-align: center;
}
.dataTables_empty {
    color: #495057;
    font-size: 15px;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.page-logo img {
    width: auto;
    height: auto;
}
.field-validation-error {
    position: inherit;
}

.useofsubstanceandalchohol {
    margin-top: 57px;
    margin-bottom: 33px;
}

.stisymptom {
    margin-top: 57px;
    margin-bottom: 39px;
}

.buyandsellsex {
    margin-top: 50px;
    margin-bottom: 37px;
}

.treatmenttaken {
    margin-top: 61px;
    margin-bottom: 33px;
}

.ARTCenter {
    margin-top: 57px;
    margin-bottom: 33px;
}

/*table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable td:last-child, table.table-bordered.dataTable td:last-child {
    border-right-width: 1px !important;
}*/


.nav-function-hidden:not(.nav-function-top) .modal-lg, .nav-function-minify:not(.nav-function-top) .modal-lg {
    left: 0;
}

.modal-sm {
    max-width: 500px !important;
}


/*/ width /*/
/*.dataTables_scroll ::-webkit-scrollbar {
    width: 5px;
    height: 7px;
}*/

/*/ Track /*/
/*.dataTables_scroll ::-webkit-scrollbar-track {
    background: #f1f1f1;
}*/

/*/ Handle /*/
/*.dataTables_scroll ::-webkit-scrollbar-thumb {
    background: #0f619f;
}*/

.tooltip {
    pointer-events: none !important;
}

.validation-summary-errors {
    background-color: #cfbaa8;
}

    .validation-summary-errors ul li {
        color: darkred;
    }

.select2 {
    width: 100% !important;
}

.select2-selection {
    padding: 0.2rem 0.575rem;
    height: 37px !important;
    border: 1px solid #E5E5E5 !important;
}

    .select2-selection:focus {
        border-color: #2198F3 !important;
    }

.select2-selection {
    outline: transparent;
}


.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px !important;
    right: 4px !important;
}

.header-icon img {
    cursor: pointer;
}

#DeleteErrorMessage {
    color: darkred;
}

#DeleteErrorMessageVehicle {
    color: darkred;
}

.plhivarv {
    padding-top: 2px;
}

.plhivcontactno {
    padding-top: 2px;
}

.fa-clock-o {
    display: block !important;
    visibility: visible !important;
}

    .fa-clock-o::before {
        content: "\f017" !important;
    }

.was-validated .form-control:valid, .form-control.is-valid {
    border-color: #868e96;
    background-image: none;
}

.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label {
    color: #868e96;
}

    .was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before {
        border-color: #868e96;
    }

.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before {
    border-color: #868e96;
    background-color: #868e96;
}

.was-validated .form-control:valid:focus, .form-control.is-valid:focus {
    border-color: #52ad4a;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/*.no-js #loader {
    display: none;
}

.js #loader {
    display: block;
    position: absolute;
    left: 100px;
    top: 0;
}

.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(https://j2n9a3i8.stackpathcdn.com/wp-content/uploads/2014/08/Preloader_11.gif) center no-repeat #fff;
}*/

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.9;
    z-index: 9999;
}

.dots .dot {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 0 10px 0 10px;
    border-radius: 50%;
    background: #FFF;
    -webkit-animation: dot-dot-dot 1.4s linear infinite;
    animation: dot-dot-dot 1.4s linear infinite;
}

    .dots .dot:nth-child(2) {
        animation-delay: .2s;
    }

    .dots .dot:nth-child(3) {
        animation-delay: .4s;
    }

@keyframes dot-dot-dot {
    0%, 60%, 100% {
        -webkit-transform: initial;
        -ms-transform: initial;
        transform: initial;
    }

    30% {
        -webkit-transform: translateY(-25px);
        -ms-transform: translateY(-25px);
        transform: translateY(-25px);
    }
}

.flex-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.header-icon:not(.btn) .profile-image {
    width: 2rem;
    height: 2rem;
}

.info-card .profile-image {
    width: 3.125rem;
    height: 3.125rem;
}

.close-btn {
    width: 100px;
    height: 100px;
    position: relative;
}

    .close-btn i {
        position: absolute;
        right: -12px;
        top: -10px;
        color: black;
        font-size: 16px;
        cursor: pointer;
    }

.bccmaterialcheck {
    padding-top: 7px;
    padding-bottom: 12px;
}

.page-sidebar {
    height: 100%;
}

.modal-open .modal {
    overflow-y: hidden !important;
}

.modal-body {
    overflow-y: unset;
    max-height: 72vh;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #0f619f;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-open {
    overflow: hidden !important;
}

.DeleteBtn {
    padding-left: 10px;
}

.fa-calendar {
    color: #39a3f4;
}

.custom-checkbox input[type='checkbox'] {
    margin-left: 0%;
    height: 18px;
    z-index: 999 !important;
    cursor: pointer;
}

.custom-control-label {
    cursor: pointer;
}

.has-length .fa-calendar {
    color: #FFFFFF !important;
}

.modal-scroll {
    overflow-y: auto !important;
}

legend {
    width: auto !important;
}

fieldset {
    border: 1px solid #E5E5E5 !important;
    padding: 10px;
}

/*.dataTables_scrollHeadInner, .dataTables_scrollHeadInner table {
    width: 100% !important;
}*/
/*table {
    overflow:hidden;
    margin: 0 auto;
    width: 100%;
    clear: both;
    border-collapse: collapse;
    table-layout: fixed;
    word-wrap: break-word;
}
.dataTables_scrollBody {
    overflow: hidden;
}*/
/*table.dataTable tbody td {
    word-break: break-word;
    vertical-align: top;
}*/

.header-btn[data-class='mobile-nav-on'] {
    border-color: #d3d6da;
    background-color: white;
    background-image: none;
    color: #a6a6a6;
    width: auto;
}

@media screen and (max-width: 900px) and (min-width: 320px) {
    .header-icon:not(.btn) {
        min-width: 2.125rem !important;
    }

/*    div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
        text-align: left !important;
    }*/

  /*  div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
        padding-left: 0 !important;
    }*/

    .modal-body {
        overflow-y: auto;

    }

    form .modal-body fieldset .col-md-3.form-group, #modelDetails .col-md-3.form-group {
        width: auto;
    }

    #SubmitFilter {
        margin-left: 15px;
        margin-bottom: 10px;
    }

    form .modal-body fieldset .col-md-3.form-group .custom-checkbox.Status {
        margin-top: 0 !important;
    }

    .breadcrumb.page-breadcrumb .position-absolute.pos-top.pos-right.d-none.d-sm-block {
        display: block !important;
    }

    a[data-class="mobile-search-on"] {
        display: none;
    }

 /*   #htmlDataid table {
        width: 198.55pt !important;
    }*/
}

.btn {
    padding: 0.5rem 1rem;
}


    #tblViewBondPaymentPlan_Body td:last-child a, #tblViewBondPaymentPlan_Body td:last-child button {
        margin-top: 0.75rem;
    }

/*#ViewPaymentPlan_Model .row table th:first-child, #ViewPaymentPlan_Model .row table td:first-child {
    width: 15px;
}*/

/*#ViewPaymentPlan_Table_wrapper .dataTables_scrollBody {
    display: contents;
}*/

#panel-1 .panel-container.show {
    min-height: 216px;
}

    #panel-1 .panel-container.show .border-faded {
        border-bottom: 0;
    }

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    border: 1px solid gray;
    border-bottom:unset;
}
/*.tableWidth {
    width: 100%;
    height: auto;
    overflow-y: scroll;
}*/
/*    .tableWidth table tr th {
        color: white;
        background-color: #0f619f;
    }*/

/*-------------  Mobile Design*/
@media screen and (max-width: 480px) {
    .modal .modal-header .modal-title {
        width: 100%;
        word-break: break-all;
    }

    .modal-body {
        max-height: 66vh !important;
        min-height: 66vh !important;
        overflow-x: hidden;
        background-color: white;
    }

       /* .modal-body table {
            overflow-x: auto;
        }*/
    /*.modal-body table thead tr th, .modal-body table tbody tr td {
            width: 100px;
            min-width: 100px;
            max-width: 100px;
        }*/
/*    table thead tr th, table tbody tr td {
        width: 100px;
        min-width: 100px;
        max-width: 100px;
    }*/

/*    table tbody tr td {
        white-space: pre-wrap !important;
    }*/

/*    .modal-body .dataTables_scrollBody {
        position: relative;
        overflow: auto;
        width: 100%;
    }*/

/*    .modal-body .dataTables_scrollHead {
        overflow: unset !important;
    }*/

 /*   .modal-body .dataTables_scroll {
        overflow-x: auto;
    }*/

   /* .modal-body #ViewBondPaymentPlan_Table_wrapper table {
        position: relative;
        display: block;
    }

    .modal-body table td div:first-child {
        width: 100% !important;
    }

        .modal-body table td div:first-child.input-group-prepend {
            width: auto !important;
        }*/

    .col-md-3 button:first-child {
        margin-bottom: 10px;
    }

    .hidden-lg-up .header-btn {
        padding: 0.1rem 1rem !important;
    }

    form .modal-body fieldset .col-md-3.form-group, #modelDetails .col-md-3.form-group {
        width: 100% !important;
    }

    #TemplateForm .modal-body .tab-pane .row:nth-child(2) {
        overflow-x: auto !important;
    }

    .modal-body #htmlPrint {
        width: 100%;
        position: relative;
        overflow: auto;
    }
}
#deleteDocument_model{
    z-index:99999 !important;
}
.clstestcolor{
    color:green;
}
.clstestcolorZero{
    color:red;
}
.dataTables_scrollHeadInner{
    width:100% !important;
}
.datepicker {
    z-index: 99999 !important;
}
span.input-group-text.fs-xl.clsfacalendar:hover {
    cursor: pointer;
}