html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f8fb !important;

}

a {
    color: #558b2f;
}

a:hover {
    color: #234d12;
}

.text-mandatory {
    color: #f44336 !important;
}

label {
    font-weight: 700;
}

/*BOOTSTRAP CUSTOM*/

.form-control {
    border: 2px solid #ccc;
}

.col-form-label {
    font-weight: 700;
    text-align: right;
}

.form-control:focus {
    border: 2px solid #234d12 !important;
}

.selectize-input.focus {
    border: 2px solid !important;
    border-color: #234d12 !important;
    outline: 0;
    box-shadow: none !important;
}

.selectize-control.multi .selectize-input>div {
    background: #558b2f !important;
    color: #ffffff !important;
    border: 0px solid #dee2e6;
}

.selectize-control.multi .selectize-input>div.active {
    background: #234d12 !important;
    color: #ffffff !important;
    border: 0px solid #dee2e6;
}

.selectize-dropdown .active {
    background-color: #558b2f !important;
    color: #f8f9fa !important;
}

.selectize-dropdown multi form-control select-search {
    display: block !important;
    visibility: visible !important;
}

.input-group-text {
    background-color: #558b2f !important;
    border: 1px solid #234d12;
    color: #FFFFFF;
}

/* .btn-primary {
    color: #fff;
    background-color: #558b2f;
} */

.btn-primary {
    color: #558b2f;
    background-color: #fbfbfb;
    border: 2px solid #558b2f;
    font-weight: 800;
    width: 150px;
    font-size: 16px;
}

.btn-primary::before {
    font-family: icomoon !important;
    content: "\ed5e";
    margin-right: 5px;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #234d12;
}

.btn-warning {
    color: #fff;
    background-color: #ffa000;
}

.btn-warning:hover {
    background-color: #ff8f00;
}

.btn-secondary {
    color: #fff;
    background-color: #558b2f;
}

.btn-secondary:hover {
    background-color: #234d12;
}

.sidebar-dark .nav-sidebar>.nav-item-open>.nav-link:not(.disabled),
.sidebar-dark .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light .card[class*=bg-]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar>.nav-item-open>.nav-link:not(.disabled),
.sidebar-light .card[class*=bg-]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar>.nav-item>.nav-link.active {
    /* background-color: #558b2f!important; */
    background-color: #15151685 !important;
}

.sidebar-dark .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #558b2f !important;
}

.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:focus,
.dataTables_paginate .paginate_button.current:hover {
    color: #fff;
    background-color: #558b2f;
}

.sidebar-dark .sidebar-mobile-toggler:not([class*=bg-]) {
    background-color: #689f38 !important;
}

.sidebar-dark .nav-sidebar .nav-link>span {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: transform;
    transition-property: transform
}

.nav-group-sub .nav-link {
    padding: .625rem 1.25rem 0.625rem 1.5rem !important;
}

.sidebar-dark .nav-sidebar .nav-link:active>span,
.sidebar-dark .nav-sidebar .nav-link:focus>span,
.sidebar-dark .nav-sidebar .nav-link:hover>span {
    -webkit-transform: translateX(8px);
    transform: translateX(8px)
}

.nav-sidebar .nav-link i {
    margin-right: 1.25rem;
    margin-top: 0.12502rem;
    margin-bottom: 0.12502rem;
    top: 0;
    color: #558b2f !important;
}

.nav-sidebar>.nav-item>.nav-link {
    font-weight: 700;
}

.nav-item-submenu>.nav-link:after {
    content: "";
    font-family: icomoon;
    display: inline-block;
    font-size: 1rem;
    vertical-align: middle;
    line-height: 1;
    position: absolute;
    top: 0.75rem;
    margin-top: 0.12502rem;
    right: 1.25rem;
    transition: -webkit-transform .25s ease-in-out;
    transition: transform .25s ease-in-out;
    transition: transform .25s ease-in-out, -webkit-transform .25s ease-in-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #558b2f;
    font-weight: 700;
}

.sidebar-icon-custom-margin {
    margin-left: -32px !important;
    margin-right: 5px !important;
}

.select2-container {
    outline: 0;
    position: relative;
    display: block;
    vertical-align: middle;
    text-align: left;
}

span.select2-container {
    z-index: 10050;
}

.headers-line {
    margin: 0;
    line-height: 27px;
    padding: 0;
    color: #68af50;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    text-align: left;
    margin-bottom: 15px;
}

.headers-line:before,
.headers-line:after {
    content: " ";
    position: absolute;
    top: 50%;
    height: 2px;
    border-top: 2px solid #eee;
}


.headers-line:after {
    left: auto;
    width: 999em;
    margin: 0 0 0 12px;
}

/*PUBLIC CUSTOM*/
.custom-card {
    background-color: #fdfdfd !important;
}

.custom-form {
    background-color: #fdfdfd;
    padding: 25px;
}

.custom-primary-bg {
    background-color: #558b2f !important;
}

.custom-secondery-bg {
    background-color: #234d12 !important;
}

.custom-bg-green {
    background-color: #558b2f !important;
}

/* .custom-btn-success {
    color: #fff!important;
    background-color: #558b2f!important;
} */

.custom-btn-success {
    color: #558b2f !important;
    background-color: #fbfbfb !important;
    border: 2px solid #558b2f !important;
    font-weight: 700;
    font-size: 12px !important;
    padding: 5px !important;
}

.sidebar-light {
    background-color: #fafafa;
    color: #333;
    border-right: 1px solid rgba(0, 0, 0, .125);
    background-clip: content-box;
}


.card-header .card-title {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 14px !important;
}

.custom-btn-success:hover {
    color: #fff !important;
    background-color: #234d12 !important;
}

.custom-btn-print {
    color: #fff;
    background-color: #546e7a;
}

.custom-btn-print:hover {
    color: #fff;
    background-color: #607d8b;
}

.custom-border-success {
    border-color: #558b2f !important;
}

.custom-text-success {
    color: #558b2f !important;
}

.custom-input-group-dropdown-btn {
    background-color: #558b2f !important;
    border: 1px solid #234d12 !important;
    color: #FFFFFF;
}

.custom-input-group-dropdown-btn:hover {
    color: #FFFFFF !important;
    background-color: #234d12 !important;
}

.custom-input-group-dropdown-btn.focus,
.custom-input-group-dropdown-btn:focus,
.custom-input-group-dropdown-btn:not([disabled]):not(.disabled).active,
.btn-light:not([disabled]):not(.disabled):active,
.show>.custom-input-group-dropdown-btn.dropdown-toggle {
    color: #FFFFFF !important;
}

.custom-dropdown-menu-right {
    position: absolute !important;
    /* left: 70px!important; */
    left: 10px !important;
}

.dt-button-collection:not(.fixed) {
    top: 100% !important;
    right: 0 !important;
}

.dt-button-collection {
    min-width: 3.25rem !important;
    padding: 0px !important;
    border-radius: 0rem !important;
}

.dt-button-collection:not(.fixed) {
    top: 100% !important;
    left: 12px !important;
    right: 0 !important;
}

div.dt-button-collection div.dropdown-menu {
    display: block !important;
    z-index: 99999999;
    position: relative;
}

.dropdown-menu {
    border: none !important;
}

.dropdown-item {
    padding: 0.2rem 1rem !important;
}

.dropdown-item:hover {
    color: #FFFFFF;
    background-color: #558b2f !important;
}

@media print {
    #get_table_data.table tfoot {
        display: table-row-group;
    }

    .sidebar {
        display: none !important;
    }

    .navbar {
        display: none !important;
    }

    .page-header {
        display: none !important;
    }

    .card-header {
        display: none !important;
    }

    .card {
        border: none !important;
    }

    .hide-filter-on-print {
        display: none !important;
    }

    .fadeInDown {
        display: none !important;
    }

    a {
        text-decoration: none !important;
    }


}

.table-bordered {
    border: 2px solid black !important;
    /* Full outer border */
}

.table-bordered th,
.table-bordered td {
    border: 2px solid black !important;
    /* Inner cell borders */
}


/*DATE PICKER*/

@media (min-width: 564px) {
    .daterangepicker {
        width: 50%;
    }

    .daterangepicker .drp-calendar.right {
        margin-left: 40px;
    }
}



.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: #234d12;
}

.daterangepicker .ranges li.active {
    background-color: #234d12;
}

.daterangepicker th {
    color: #234d12;
    font-weight: 700;
}

.daterangepicker.show-calendar .ranges {
    margin-top: -1px;
}

.daterangepicker .ranges li {
    padding: 10px 12px;
}

.dataTables_empty {
    text-align: center;
    font-size: 15px;
}

.invoice-table td {
    vertical-align: top;
}

.dataTables_wrapper .table-bordered {
    border-top: 1px solid #ccc;
}

.card-header:not([class*=bg-]):not([class*=alpha-]) {
    background-color: #f6f6f6 !important;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    border-bottom-width: 2px;
    margin-bottom: 15px;
    border-color: #558b2f;
}


.navbar-brand img {
    height: 2.5rem;
    display: block;
}

.dataTables_filter {
    margin: 0 0 1.25rem 0rem;
}

.swal2-styled.swal2-confirm {
    background-color: #558b2f;
}

/* .table>thead>tr{
    background-color: #558b2f0a;
    border: 1px solid #eee;
}

.table>tbody>tr {
    border-bottom: 2px solid #ddd;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    border-bottom: 2px solid #ddd;
}

.table>tbody>tr {
    border-bottom: 2px solid #ddd;
} */

.dataTables_paginate {
    margin: 5px 0 1.25rem 1.25rem;
}

div.dt-buttons {
    position: relative;
    float: right !important;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}


/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px gray;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #558b2f;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #558b2f;
    border-radius: 5px;
}

.card-header:first-child {
    background-color: #558b2f0a !important;
}

.nav-tabs {
    border-bottom: 1px solid #ddd;
}

.nav-tabs-solid .nav-link {
    background-color: #FFFFFF !important;
    color: #324148 !important;
    font-weight: 700;
}

.nav-tabs-solid .nav-link.active {
    /* background-color: #558b2f!important;
    color: #FFFFFF!important; */
    background-color: #FFFFFF !important;
    color: #558b2f !important;
    border-bottom: 3px solid #558b2f;
}

.search-ul {
    position: absolute;
    z-index: 9999;
    width: 95%;
    box-shadow: 1px 4px 5px 0px rgba(151, 147, 147, 0.75);
    -webkit-box-shadow: 1px 4px 5px 0px rgba(151, 147, 147, 0.75);
    -moz-box-shadow: 1px 4px 5px 0px rgba(151, 147, 147, 0.75);
}

.search-list {
    display: block !important;
    padding: 0.5rem 1.25rem !important;
    font-weight: 700;
    border-bottom: 2px solid #dbdbdb !important;
}

.a {
    background-color: #f1f1f1a1;
}

.a a {
    background-color: #f1f1f1a1;
}

.search-list:hover {
    background-color: #f1f1f1a1;
}

.search-list span:hover {
    color: #FFFFFF;
}

.report-ul li {
    background: #cccccc2e;
    border-bottom: 2px solid #CCCCCC;
}

.report-ul li:hover {
    background: #cccccc57;
}

.report-ul li a span {
    font-weight: 700;
}

.fix-sticky table thead {
    background: #558b2f !important;
    color: #FFFFFF;
}

.table-ft {
    background: #558b2f !important;
    color: #FFFFFF;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #558b2f;
    border-color: #558b2f;
}

.dropdown-item.active {
    color: #fff;
    background-color: #558b2f;
}

/* PAYMENT RECEIPT */
.receipt {
    padding: 15px;
    border: 1px dashed;
}

.receipt-company-details {
    display: flex;
    justify-content: space-between;
}

.receipt-company-details-left {
    font-size: 16px;
    line-height: 15px;
}

.receipt-company-details-left span {
    font-size: 18px;
    font-weight: 700;
}

.receipt-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 1px solid #595959;
}

.receipt-top-left span,
.receipt-top-right span {
    font-size: 18px !important;
    font-weight: 700;
    font-size: 15px;
    color: #4CAF50;
}

.receipt-top-right span span {
    color: #595959;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #595959;
}

.receipt-header-left,
.receipt-header-right {
    font-size: 18px;
    line-height: 20px;
    ;
}

.receipt-body {
    font-size: 18px;
    padding-bottom: 5px;
    border-bottom: 1px solid #59595975;
}

.receipt-body-header {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
    padding-bottom: 5px;
}

.receipt-body-header-left b,
.receipt-body-header-center b,
.receipt-body-header-right b {
    color: #4CAF50;
    text-decoration: underline;
}

.receipt-body-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.receipt-body-total {
    display: flex;
    justify-content: end;
}

.receipt-body-total-left b {
    color: #4CAF50;
}

.receipt-body-total-right b {
    padding: 2px;
    border: 1px solid;
}

.receipt-body-additional {
    line-height: 20px;
    text-align: right;
    margin-top: 10px;
}

.receipt-footer {
    padding-top: 5px;
    padding-bottom: 5px;
}

.receipt-footer-signature {
    display: flex;
    justify-content: space-between;
}

.receipt-footer-signature-left span,
.receipt-footer-signature-right span {
    padding-top: 10px !important;
    display: inline-block;
    margin-top: 20px;
}

/* th {
    background: white;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
  } */


.licensetooltip {
    position: relative;
    display: inline-block;
}

.licensetooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.licensetooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.licensetooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.optgroup-header {
    font-weight: bolder;
}

/* LOADER */
.loader {
    border: 5px solid #558b2f5e;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    border-top: 5px solid #558b2f;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 45%;
    left: 50%;
    z-index: 9;
    visibility: hidden;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* BACK TO TOP */
.btn-to-top-visible {
    visibility: visible;
    opacity: 1;
}

.btn-to-top {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    -ms-flex-item-align: end;
    align-self: flex-end;
    opacity: 1;
    z-index: 999;
    transition: opacity ease-in-out 0.15s, visibility ease-in-out 0.15s, bottom ease-in-out 0.15s;
}

.btn-to-top>a>i {
    font-size: 35px;
}

.custom-table thead tr th {
    width: 200px !important;
}

.custom-table thead tr th:first-child {
    width: 100px !important;
}

.custom-table-chalan thead tr th {
    width: 200px !important;
    white-space: nowrap !important;
}

.custom-table-purchase-chalan thead tr th {
    width: 200px !important;
    white-space: nowrap !important;
}

@media (min-width:768px) {
    .table-responsive {
        overflow-x: unset;
        overflow-y: unset;
    }

    .custom-table-purchase-responsive {
        overflow: auto !important;
    }
}

@media (max-width: 768px) {
    .custom-table {
        width: 225% !important;
    }

    .custom-table-chalan {
        width: 250% !important;
    }

    .custom-table-chalan td {
        width: 20%;
    }

    .custom-table-footer>div {
        width: 100% !important;
        float: none !important;
    }

    .custom-table-footer-50 {
        width: 100% !important;
        float: none !important;
        margin-left: 0% !important;
    }

    .custom-table-payment {
        width: 150%;
    }

    .custom-table-purchase-chalan {
        width: 350% !important;
    }

    .selectize-dropdown {
        position: initial !important;
    }
}


.selectize-dropdown {
    position: absolute;
    z-index: 10000;
    /* adjust as necessary */
    border: 1px solid #d0d0d0;
    background: #ffffff;
    margin: -1px 0 0 0;
    border-top: 0 none;
}

table tbody tr td a {
    white-space: nowrap !important;
}

.bootstrap-datetimepicker-widget {
    display: block !important;
}

.sub-level-mr {
    padding: .625rem 1.25rem 0.625rem 2.5rem !important;
}

.sidebar-light .nav-sidebar>.nav-item-open>.nav-link:not(.disabled),
.sidebar-light .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #d1d8cb !important;
}

.sidebar-light .nav-sidebar .nav-item>.nav-link.active {
    background-color: #d1d8cb5c !important;
}

.sidebar {
    width: 13rem !important;
}

.content {
    padding: 0.3rem 0.3rem !important;
}

.breadcrumb-item {
    padding: 0.4rem 0 !important;
    font-size: 12px;
}

.sidebar-user {
    display: none !important;
}

@media (min-width: 564px) {
    .daterangepicker {
        width: 50%;
    }
}

@media (min-width: 564px) {
    .sinagle-date-picker {
        width: 257px !important;
    }

    .sinagle-date-picker .drp-calendar.right {
        margin-left: 0px !important;
    }
}

@media (min-width: 768px) {
    .sidebar-xs .sidebar-main {
        width: 3.5rem !important;
    }
}

.center-div {
    position: relative;
    top: 30%;
}

.center-div-circle {
    margin: auto;
    width: 62px;
    height: 62px;
    padding: 10px;
    border-radius: 50%;
}

.doctor-degree p{
    display: inline-block!important;
    padding: 0px!important;
    margin: 0px!important;
}

.billing-header .bill-logo{
    width: 125px;
    height: 130px;
    border: 3px solid #042E88;
    border-radius: 20px;
}

.insititute-name{
    border-bottom: 2px solid #212b36;
    text-align: center;
}
.insititute-name h1{
    font-size: 60px !important;
    margin-bottom: 0px !important;
    word-spacing: 10px;
    margin: 0px;
    padding: 0px;
    line-height: 52px;
    color: #042E88;
    font-weight: 600;
}

.insititute-name h2{
    font-size: 52px !important;
    margin-bottom: 0px !important;
    word-spacing: 10px;
    margin: 0px;
    padding: 0px;
    line-height: 52px;
    color:#1B4D28;
    font-weight: 600;
    letter-spacing: 3.3px;
}

.insititute-info span:first-child{
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.insititute-info span:last-child{
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}
