:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    background: #f6f9ff;
    color: #444444;
    background: #f9f9f9;
}

a {
    color: #4154f1;
    text-decoration: none;
}

a:hover {
    color: #717ff5;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", sans-serif;
}

.pain-assessment p img {
    max-width: 100%;
}

.requiredCheck .form-radio .checkbox label {
    position: relative !important;
}

/* .requiredCheck .form-radio .checkbox label:before {
    position: absolute !important;
    right: -13px !important;
    display: none !important;
}

.requiredCheck .form-radio .radio label {
    position: relative !important;
}

.requiredCheck .form-radio .radio label:before {
    position: absolute !important;
    right: -13px !important;
    display: none !important;
}

.requiredCheck label.formio-component-label-hidden {
    display: inline-block !important;
    visibility: visible !important;
}

.requiredCheck .required-star {
    color: #eb0000;
} */

/* Make label relative (like your old style) */
.requiredCheck .form-radio .radio label,
.requiredCheck .form-radio .checkbox label {
    position: relative !important;
}

/* Hide star added using ::before */
.requiredCheck.required .form-radio .radio label::before,
.requiredCheck.required .form-radio .checkbox label::before {
    display: none !important;
    content: "" !important;
}

/* Hide star added using ::after (some themes use this) */
.requiredCheck.required .form-radio .radio label::after,
.requiredCheck.required .form-radio .checkbox label::after {
    display: none !important;
    content: "" !important;
}

/* Hide hidden required label */
.requiredCheck > .field-required,
.requiredCheck label.formio-component-label-hidden {
    display: none !important;
}

.fio-panel-required .card-header .card-title::after {
    content: " *";
    color: #dc3545; /* Bootstrap danger */
    font-size: 1.25rem; /* Slightly bigger */
    font-weight: 300;
    vertical-align: middle;
}

.hidePatientAge {
    display: none !important;
}

.hideRequiredFormInput label::after {
    display: none;
}

.hideRequiredRouteInput label::after {
    display: none;
}

#formio .card-body {
    padding: 20px;
}

/* ===== Main wrapper ===== */
.pain-scale .form-radio {
    /* display: flex;
    align-items: flex-start;
    gap: 0; */
    display: flex;
    align-items: flex-start;
    gap: 37px 0px;
    flex-wrap: wrap;
    padding-bottom: 17px;
}

/* Each option takes equal width */
.pain-scale .radio.form-check-inline {
    flex: 1;
    margin: 1px;
    position: relative;
}

/* ===== Label structure ===== */
.pain-scale .form-check-label {
    /* display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border: none;
    cursor: pointer; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border: none;
    cursor: pointer;
}

/* ===== Emoji row ===== */
.pain-scale .form-check-label span {
    display: block;
    text-align: center;
    font-size: 22px;
    margin-bottom: 6px;
    color: #6b7280;
}

/* ===== Bottom color bar ===== */
.pain-scale .form-check-label::after {
    content: "";
    display: block;
    width: 100%;
    height: 60px;
    margin-top: 35px;
    border-radius: 4px;
    position: absolute;
}

.pain-scale .form-check-label span {
    position: relative;
    z-index: 2;
}

/* Move text down into bar */
.pain-scale .radio .form-check-label span {
    transform: translateY(22px);
    font-size: 11px;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: 400;
    color: #fff;
}

/* ===== Color scale (0–10) ===== */
.pain-scale .radio:nth-child(1) .form-check-label::after {
    background: #0aa84f;
}
.pain-scale .radio:nth-child(2) .form-check-label::after {
    background: #2bbf5f;
}
.pain-scale .radio:nth-child(3) .form-check-label::after {
    background: #6ccf4a;
}
.pain-scale .radio:nth-child(4) .form-check-label::after {
    background: #9fd64a;
}
.pain-scale .radio:nth-child(5) .form-check-label::after {
    background: #f2c94c;
}
.pain-scale .radio:nth-child(6) .form-check-label::after {
    background: #f2994a;
}
.pain-scale .radio:nth-child(7) .form-check-label::after {
    background: #eb7f37;
}
.pain-scale .radio:nth-child(8) .form-check-label::after {
    background: #ff8fa3;
}
.pain-scale .radio:nth-child(9) .form-check-label::after {
    background: #d9486e;
}
.pain-scale .radio:nth-child(10) .form-check-label::after {
    background: #b1123d;
}
.pain-scale .radio:nth-child(11) .form-check-label::after {
    background: #7a001f;
}

/* ===== Selected highlight ===== */
.pain-scale .radio-selected .form-check-label::after {
    outline: 3px solid #2563eb;
    outline-offset: -3px;
}

@media screen and (min-width: 320px) and (max-width: 1200px) {
    /* Datagrid table */
    .medicationTable table.datagrid-table {
        background-color: blue;
    }
    .medicationTable table.datagrid-table thead tr th {
        padding: 10px 10px !important;
        white-space: nowrap;
    }

    .medicationTable table.datagrid-table tbody tr td {
        padding: 3px 10px !important;
        white-space: nowrap;
        vertical-align: bottom;
    }

    .medicationTable table.datagrid-table tbody tr td input[type="text"] {
        width: auto;
        white-space: nowrap;
    }
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
}
.red {
    color: red;
}
.bk-btn a:hover {
    color: #fff;
}
#edituser1 label,
#edituser2 label,
#edituser3 label,
#edituser4 label,
#edituser5 label {
    text-align: left;
    width: 100%;
}

/*=================== menu ========================*/
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#cssmenu:after,
#cssmenu > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
#cssmenu #menu-button {
    display: none;
}
#cssmenu {
    line-height: 1;
    float: right;
    margin-top: 25px;
}
#cssmenu > ul > li {
    float: left;
    padding: 0 30px;
}
#cssmenu > ul > li > a {
    padding: 8px 0px;
    font-size: 14px;
    text-decoration: none;
    color: #111111;
    -webkit-transition: color 0.2s ease;
    -moz-transition: color 0.2s ease;
    -ms-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
    transition: color 0.2s ease;
    font-weight: bold;
    text-transform: uppercase;
}
#cssmenu > ul > li a:hover,
#cssmenu > ul > li a.active,
#cssmenu > ul > li.active a {
    color: #25aae1;
    border-bottom: 3px solid #25aae1;
}
#cssmenu > ul > li.has-sub > a {
    padding-right: 25px;
}
#cssmenu > ul > li.has-sub > a::after {
    position: absolute;
    top: 25px;
    right: 10px;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    content: "";
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: border-color 0.2s ease;
    -moz-transition: border-color 0.2s ease;
    -ms-transition: border-color 0.2s ease;
    -o-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}
#cssmenu > ul > li.has-sub:hover > a::after {
    border-color: #53a4ce;
}
#cssmenu ul ul {
    position: absolute;
    left: -9999px;
    z-index: 11;
    top: 56px;
    text-align: left;
}
#cssmenu li:hover > ul {
    left: auto;
}
#cssmenu ul ul ul {
    margin-left: 100%;
    top: 0;
}
#cssmenu ul ul li {
    height: 0;
    -webkit-transition: height 0.2s ease;
    -moz-transition: height 0.2s ease;
    -ms-transition: height 0.2s ease;
    -o-transition: height 0.2s ease;
    transition: height 0.2s ease;
    border-bottom: 1px solid #5482a5;
}
#cssmenu ul li:hover > ul > li {
    height: auto;
}
#cssmenu ul ul li a {
    padding: 10px 20px;
    width: 160px;
    font-size: 13px;
    background: #376990;
    text-decoration: none;
    color: #fff;
    -webkit-transition: color 0.2s ease;
    -moz-transition: color 0.2s ease;
    -ms-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
    transition: color 0.2s ease;
    line-height: 20px;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
    color: #fff;
}
#cssmenu ul ul li.has-sub > a::after {
    position: absolute;
    top: 13px;
    right: 10px;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid #ddd;
    border-right: 2px solid #ddd;
    content: "";
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: border-color 0.2s ease;
    -moz-transition: border-color 0.2s ease;
    -ms-transition: border-color 0.2s ease;
    -o-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}
#cssmenu ul ul li.has-sub:hover > a::after {
    border-color: #fff;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
    #cssmenu > ul > li > a {
        padding: 12px 15px;
    }
    #cssmenu > ul > li {
        padding: 0 14px;
    }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
    border-bottom: #ccc solid 1px;
}
.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: #4154f1;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}
.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}
.back-to-top:hover {
    background: #6776f4;
    color: #fff;
}
.back-to-top.active {
    visibility: visible;
    opacity: 1;
}
/*--------------------------------------------------------------
# new added css
--------------------------------------------------------------*/
.manager-login-tab .nav-pills .nav-item button {
    font-size: 13px;
}
.nav-p li a {
    font-size: 13px !important;
    cursor: pointer !important;
    color: #222 !important;
}
.nav-p .active {
    color: #0a0a65 !important;
    border-bottom: #0a0a65 solid 2px;
}
.blue-p {
    background: #3bc1c6;
}
.blue-p h5 {
    font-size: 30px;
    color: #fff;
    text-align: center;
    color: #e6feff;
    padding-bottom: 6px;
}
.blue-p h6 {
    color: #fff !important;
    font-size: 20px;
    padding-bottom: 12px !important;
}
.blue-p .card-icon {
    background: #fff !important;
}
.blue-p .card-icon i {
    color: #229397;
}
.blue-p span a {
    color: #fff;
    padding: 5px 12px;
    border: #259599 solid 1px;
    border-radius: 20px;
    background: #2ba4a8;
    font-size: 13px;
}
.blue-p span a:hover {
    background: #1e8a8e;
}
.dark-blue-p {
    background: #2badb2;
}
.dark-blue-p h5 {
    font-size: 30px;
    color: #fff;
    text-align: center;
    color: #e6feff;
    padding-bottom: 6px;
}
.dark-blue-p h6 {
    color: #fff !important;
    font-size: 20px;
    padding-bottom: 12px !important;
}
.dark-blue-p .card-icon {
    background: #fff !important;
}
.dark-blue-p .card-icon i {
    color: #11638d;
}
.dark-blue-p span a {
    color: #fff;
    padding: 5px 12px;
    border: #13797d solid 1px;
    border-radius: 20px;
    background: #1b8c90;
    font-size: 13px;
}
.dark-blue-p span a:hover {
    background: #13797d;
}
.v-dark-blue-p {
    background: #107cb4;
}
.v-dark-blue-p h5 {
    font-size: 30px;
    color: #fff;
    text-align: center;
    color: #e6feff;
    padding-bottom: 6px;
}
.v-dark-blue-p h6 {
    color: #fff !important;
    font-size: 20px;
    padding-bottom: 12px !important;
}
.v-dark-blue-p .card-icon {
    background: #fff !important;
}
.v-dark-blue-p .card-icon i {
    color: #11638d;
}
.v-dark-blue-p span a {
    color: #fff;
    padding: 5px 12px;
    border: #0e5980 solid 1px;
    border-radius: 20px;
    background: #10577c;
    font-size: 13px;
}
.v-dark-blue-p span a:hover {
    background: #094869;
}
.vv-dark-blue-p {
    background: #0c6b9c;
}
.vv-dark-blue-p h5 {
    font-size: 30px;
    color: #fff;
    text-align: center;
    color: #e6feff;
    padding-bottom: 6px;
}
.vv-dark-blue-p h6 {
    color: #fff !important;
    font-size: 20px;
    padding-bottom: 12px !important;
}
.vv-dark-blue-p .card-icon {
    background: #fff !important;
}
.vv-dark-blue-p .card-icon i {
    color: #11638d;
}
.vv-dark-blue-p span a {
    color: #fff;
    padding: 5px 12px;
    border: #0e5980 solid 1px;
    border-radius: 20px;
    background: #0a405c;
    font-size: 13px;
}
.vv-dark-blue-p span a:hover {
    background: #0c4968;
}
.search-p {
    background: #e7fff5;
    padding: 10px;
}
.search-p .form-control,
.search-p select {
    min-height: 40px !important;
    height: 40px !important;
    font-size: 12px !important;
}
.search-p label {
    padding: 5px 10px;
    font-size: 13px;
}
.model-list ol li {
    font-size: 13px;
}
.model-list ol li span {
    color: #999;
}
.model-list ol li span.badge {
    color: #fff;
    font-size: 12px;
}
.btn-primary {
    background: #1a92d0;
    border-radius: 50px;
    font-size: 14px;
    padding: 8px 20px;
    margin: 5px;
}
.btn-secondary {
    background: #3bc1c6;
    border-radius: 50px;
    font-size: 14px;
    padding: 8px 20px;
    border: #3bc1c6 solid 1px;
    margin: 6px;
}
.surveyForms .btn-primary {
    background: #1a92d0;
    border-radius: 50px;
    font-size: 14px;
    padding: 8px 20px;
}
.surveyForms .btn-warning {
    background: #ffc107;
    border-radius: 50px;
    font-size: 14px;
    padding: 8px 20px;
    color: #fff;
}
.surveyForms .btn-danger {
    background: #dc3545;
    border-radius: 50px;
    font-size: 14px;
    padding: 8px 20px;
    color: #fff;
    margin-top: 4px;
}
.accord-info {
    font-size: 13px;
}
.accord-info h5 .badge {
    font-size: 12px;
    top: -3px;
    position: relative;
    color: #fff !important;
}
.accord-info .btn-p {
    margin-top: 20px;
}
.accord-info .btn-p a {
    font-size: 13px;
    background: #84f0c1;
    padding: 5px 10px;
    border: #5ecd9d solid 1px;
    color: #0e4f33;
}
.accord-info .btn-p a:hover {
    background: #5ecd9d;
}
.detail-info {
    font-size: 13px;
}
.detail-info ul {
    list-style-type: none;
    padding: 0px;
}
.detail-info ul li {
    border-bottom: #ccc dotted 1px;
    font-size: 13px;
    padding: 5px 0;
    color: #555;
}
.odd-p {
    background: #f9f9f9;
}
.search-result {
    margin-top: 15px;
    font-size: 13px;
}
.search-result td {
    vertical-align: middle;
}
.search-result td button {
    padding: 2px 5px;
}
.search-result td .dropdown-item {
    text-decoration: underline;
    font-size: 13px;
    padding: 2px 5px;
}
.search-result .accordion-item {
    padding: 0 7px;
    padding-bottom: 10px;
    border-bottom: #787878 solid 1px;
}
.manager-login-tab .accordion-item {
    background: #e7fff5;
}
.manager-login-tab .tab-content {
    margin-bottom: 0px;
}
.search-p .accordion-button {
    padding: 0 !important;
}
.search-result td button {
    margin-bottom: 6px;
}
.order-md .accordion-item {
    padding: 12px 0 20px 0;
}
.order-md .accordion-item h5 {
    font-weight: bold;
}
.btn-p ul {
    padding: 0px;
    list-style-type: none;
}
.btn-p ul li {
    display: inline-block;
}
.btn-p ul li:last-child {
    text-align: right;
    float: right;
    clear: right;
}
.btn-p ul li:last-child a {
    background: #1582ba;
    color: #fff;
}
.assess-p th {
    color: #1a92d0;
}
.assess-p td {
    font-size: 13px;
}
.assess-p td h5 {
    font-size: 18px;
}
.btn-p a {
    font-size: 13px;
    background: #84f0c1;
    padding: 5px 10px;
    border: #5ecd9d solid 1px;
    color: #0e4f33;
}
.btn-p a:hover {
    background: #5ecd9d;
}
.staff-p td {
    padding: 15px 5px;
    font-size: 14px;
}
.nav-main {
    width: 100%;
    text-align: center;
}
.nav-main ul {
    padding-bottom: 0;
    margin-top: 12px;
}
.nav-main ul li {
    display: inline-block;
    padding-right: 20px;
}
.nav-main ul li:last-child {
    display: inline-block;
    padding-right: 0px;
}
.nav-main ul li a {
    color: #000;
}
.nav-main ul li a.active {
    text-decoration: underline;
}
.red {
    color: red;
}
/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
    0% {
        opacity: 0;
    }
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 10px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-body {
    padding: 0 20px 20px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 25%;
}

.btn-close:focus {
    outline: 0;
    box-shadow: none;
}

/* Accordion */
.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #4154f1;
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: #899bbd;
    font-weight: 600;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
    color: #899bbd;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #4154f1;
    border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}
@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 58px;
    margin-right: 6px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 70px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    cursor: pointer;
    color: #012970;
}

.header .search-bar {
    min-width: 360px;
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.header .search-form {
    width: 100%;
}

.header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

.header .search-form button i {
    color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav > ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {
    #main,
    #footer {
        margin-left: 0px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {
    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #4154f1;
    transition: 0.3;
    background: #f6f9ff;
    padding: 10px 15px;
    border-radius: 4px;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: #4154f1;
}

.sidebar-nav .nav-link.collapsed {
    color: #012970;
    background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
    color: #899bbd;
}

.sidebar-nav .nav-link:hover {
    color: #4154f1;
    background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
    color: #4154f1;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #012970;
    transition: 0.3;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: #4154f1;
}

.sidebar-nav .nav-content a.active i {
    background-color: #4154f1;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
    color: #4154f1;
}

.dashboard .filter .dropdown-header {
    padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aab7cf;
    margin-bottom: 0;
    padding: 0;
}

.dashboard .filter .dropdown-item {
    padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
    padding-bottom: 10px;
}

.dashboard .info-card h6 {
    font-size: 24px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .sales-card .card-icon {
    color: #4154f1;
    background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
}

/* Activity */
.dashboard .activity {
    font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
    top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item + .post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard .news h4 a {
    color: #012970;
    transition: 0.3s;
}

.dashboard .news h4 a:hover {
    color: #4154f1;
}

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

.dashboard .recent-sales .table thead {
    background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
    border: 0;
}

.dashboard .recent-sales .dataTable-top {
    padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
    padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

.dashboard .top-selling .table thead {
    background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
    border: 0;
}

.dashboard .top-selling .table tbody td {
    vertical-align: middle;
}

.dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
}

.iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
}

.iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
    color: #012970;
}

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: #012970;
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #4154f1;
}

.faq .basic p {
    color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: #4154f1;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #012970;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #4154f1;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
    background: #4154f1;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: #5969f3;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

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

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}
.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: #4154f1;
    margin-bottom: 0;
    line-height: 150px;
}
.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 30px;
}
.error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}
.error-404 .btn:hover {
    background: #3e4f6f;
}
@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}
@media (max-width: 991px) {
    #cssmenu > ul > li > a {
        padding: 5px 7px;
        font-size: 13px;
    }
}
@media all and (max-width: 767px) {
    #cssmenu {
        width: 100%;
        background: none;
        position: absolute;
        bottom: 40px;
        right: 0;
    }
    #cssmenu ul {
        width: 100%;
        display: none;
        background: #3b5076;
        top: 42px;
        text-align: center;
        position: absolute;
        z-index: 11;
    }
    #cssmenu ul li,
    #cssmenu ul ul li,
    #cssmenu ul li:hover > ul > li {
        width: 100%;
        height: auto;
    }
    #cssmenu ul ul li a {
        width: 100%;
        padding: 15px !important;
    }
    #cssmenu > ul > li,
    #cssmenu ul ul li a {
        padding: 0;
        font-size: 12px;
        color: #fff;
        background: none;
    }
    #cssmenu ul ul li:hover > a,
    #cssmenu ul ul li a:hover {
        color: #000;
    }
    #cssmenu > ul > li > a {
        color: #fff;
    }
    #cssmenu > ul > li:hover > a,
    #cssmenu > ul > li.active > a {
        border: none;
        color: #87cdef;
        border-radius: 0px;
    }
    #cssmenu ul ul,
    #cssmenu ul ul ul {
        position: relative;
        left: 0;
        right: auto;
        width: 100%;
        margin: 0;
        top: 0;
    }
    #cssmenu > ul > li.has-sub > a::after,
    #cssmenu ul ul li.has-sub > a::after {
        display: none;
    }
    #menu-line {
        display: none;
    }
    #cssmenu > ul > li > a {
        padding: 15px 15px !important;
        font-size: 14px;
    }
    #cssmenu #menu-button {
        display: block;
        padding: 8px 10px;
        color: #fff;
        cursor: pointer;
        font-size: 14px;
        text-transform: uppercase;
    }
    #cssmenu #menu-button::after {
        content: "";
        position: absolute;
        top: 17px;
        right: 20px;
        display: block;
        width: 20px;
        height: 3px;
        background: #000;
    }
    #cssmenu #menu-button::before {
        content: "";
        position: absolute;
        top: 22px;
        right: 20px;
        display: block;
        width: 20px;
        height: 8px;
        border-top: 3px solid #000;
        border-bottom: 3px solid #000;
    }
    #cssmenu .submenu-button {
        position: absolute;
        z-index: 10;
        right: 0;
        top: 0;
        display: block;
        height: 45px;
        width: 52px;
        cursor: pointer;
    }
    #cssmenu .submenu-button::after {
        content: "";
        position: absolute;
        top: 18px;
        left: 26px;
        display: block;
        width: 2px;
        height: 12px;
        background: #000;
        z-index: 99;
    }
    #cssmenu .submenu-button::before {
        content: "";
        position: absolute;
        left: 21px;
        top: 23px;
        display: block;
        width: 12px;
        height: 2px;
        background: #000;
        z-index: 99;
    }
    #cssmenu .submenu-button.submenu-opened:after {
        display: none;
    }
    #cssmenu ul ul li a {
        color: #4c49ac;
    }
    #cssmenu ul ul li {
        border: none;
    }
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #cddfff;
}
.footer-login {
    background: #f9f9f9;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}
.footer .copyright {
    text-align: center;
    color: #012970;
}
.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: #012970;
}
.font-13 {
    font-size: 13px !important;
}

/* dk 15-july-2024 */
.manager-login-tab {
    padding: 0;
}
/* .search-result table th:last-child {
  width: 200px;
  min-width: 200px;
} */
.search-result table th:last-child,
.search-result table td:last-child {
    width: 200px;
    white-space: nowrap;
}

.select2-selection__rendered {
    height: 100%;
    line-height: 36px !important;
}
.modal
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 37px;
}

.modal input,
.modal select {
    /* height: 40px !important; */
    margin-top: 3px;
}
.search-result {
    overflow-x: auto;
}
.modal .select2.select2-container .select2-selection {
    height: 40px !important;
    display: block;
}
.pagetitle h1 {
    margin-top: 6px;
}

/* dashboard */
.dashboard .info-card .card-body > div {
    width: 100% !important;
}
.dashboard .info-card .card-body > div > .d-flex {
    justify-content: center;
    width: 100% !important;
}
.search-result td {
    vertical-align: top;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 38px;
}
.modal label.form-label {
    display: block;
}

.nav-main {
    justify-content: center;
}
.header {
    padding: 0 20px;
}

/* 18-july-2024 */
.mfp-iframe-holder .mfp-content {
    height: calc(100vh - 80px);
    min-width: unset !important;
    max-width: 1000px !important;
    width: 100% !important;
}
.mfp-container {
    position: fixed !important;
}
.manager-login-tab .nav a {
    font-size: 14px;
    padding: 5px 15px;
    background: #e6e6e6;
    margin: 5px 5px 0 0;
    color: #000;
}

.manager-login-tab .nav a.active {
    background: #1a92d0;
}

/* dk 2-sept-2024 */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#main {
    flex: 1;
}

.pagination li a,
.pagination li span {
    border: 0;
    border-radius: 5px !important;
    margin-right: 5px;
    background: #ecf6fc;
    color: #003b59;
    transition: 0.4s;
}
.pagination li.active span,
.pagination li a:hover,
.pagination li a:hover span {
    background: #1a92d0;
    color: #fff;
}
.pagination {
    justify-content: end;
}
.pagination span span {
    border: 0;
    border-radius: 5px !important;
    margin-right: 5px;
    background: #ecf6fc;
    color: #003b59;
}
.pagination span span:hover {
    background: #0d6efd;
    color: #fff;
}

.search-result td button {
    font-size: 16px;
}
.btn-blue {
    background: #4154f1;
    color: #fff;
    --bs-btn-hover-bg: #3342c0;
    --bs-btn-hover-color: #fff;
}
.btn-orange {
    background: #fd7e14;
    color: #fff;
    --bs-btn-hover-bg: #ca5b00;
    --bs-btn-hover-color: #fff;
}
.btn-light-green {
    background: #50e627;
    border-color: #50e627;
    --bs-btn-hover-bg: #32c609;
}

.eidt-assesment-form {
    min-height: 100vh;
}
.eidt-assesment-form .formio-form [ref="component"] {
    margin-bottom: 15px !important;
}
.eidt-assesment-form .formio-form > * {
    background: #f3f9fe !important;
}
.eidt-assesment-form-in {
    background: #ffffff !important;
    /* background: #e7f2f7; */
    box-shadow: none;
    padding: 30px !important;
    /* margin: 30px 0 0;   */
    position: relative;
    /*border: 1px solid #a3cfbb;*/
    box-shadow: 0 0 25px #00000059;
    border-radius: 10px;
}

.signature-pad-body canvas {
    width: 100%;
}
.signature-pad-body {
    border: 1px solid #ccc;
}

/* 6-sept-2024 */
.manager-login-tab span.select2-selection.select2-selection--single {
    width: 100%;
    height: 38px;
    padding: 0 5px;
    border-color: #dee2e6;
}

.manager-login-tab
    span.select2.select2-container.select2-container--default.select2-container--focus {
    width: 100% !important;
}

.manager-login-tab span#select2-office_id-container {
    height: 38px !important;
}

.manager-login-tab span#select2-office_id-container {
    color: #595c8e;
}

.manager-login-tab
    span.select2.select2-container.select2-container--default.select2-container--below {
    width: 100% !important;
}

.manager-login-tab
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow,
.manager-login-tab
    .select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    height: 36px !important;
}

/* .setPrimaryOption {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
} */

@media (max-width: 991px) {
    .nav-main ul {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .pagination {
        flex-wrap: wrap;
        justify-content: flex-start !important;
        margin-top: 10px;
    }

    /* mobile nav */
    .navbar-toggler {
        position: relative;
        width: 35px;
        height: 35px;
        background: #1a92d0;
        border-radius: 100%;
    }

    .navbar-toggler span {
        width: 20px;
        height: 3px;
        background: #fff;
        display: block;
        margin: 4px auto;
        border-radius: 4px;
    }
    .nav-main {
        position: absolute;
        top: 70px;
        background: #fff;
        left: 0;
        box-shadow: 0 9px 10px #00000030;
    }

    .nav-main ul li {
        display: block !important;
        padding: 0;
        text-align: left !important;
    }

    .nav-main ul {
        padding-left: 0;
        margin-bottom: 0;
    }

    .nav-main ul li a {
        width: 100%;
        padding: 10px 20px;
    }

    .nav-main ul li a {
        border-top: 1px solid #ccc;
    }
    .eidt-assesment-form .formio-form [ref="component"] {
        margin: 5px !important;
    }
    .eidt-assesment-form-in {
        padding: 26px 12px !important;
    }
}

@media screen and (max-width: 1199px) {
    .pain-scale .radio .form-check-label span {
        font-size: 9px;
    }
}

@media screen and (max-width: 992px) {
    .pain-scale .radio .form-check-label span {
        font-size: 8px;
        padding-left: 5px;
        padding-right: 5px;
        white-space: pre;
    }
    .eidt-assesment-form .formio-form [ref="component"] {
        margin: 10px !important;
    }
}

.col-md-3-custom .form-check-inline {
    width: 31%;
}

@media (max-width: 992px) {
    .col-md-3-custom .form-check-inline {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .col-md-3-custom .form-check-inline {
        width: 100%;
    }
    #formio .card-body {
        padding: 12px;
    }

    .btn-secondary {
        font-size: 12px;
        padding: 6px 12px;
        margin: 6px;
    }
    .btn-primary {
        margin: 4px;
        font-size: 11px;
        padding: 6px 12px;
    }
    .formio-component-datagrid .datagrid-table,
    .formio-component-datagrid .datagrid-table td,
    .formio-component-datagrid .datagrid-table th {
        border: 3px solid #ddd !important;
        padding: 3px;
    }

    .formio-component-datagrid .datagrid-table,
    .formio-component-datagrid .datagrid-table td,
    .formio-component-datagrid .datagrid-table th {
        border: 3px solid #ddd !important;
        padding: 0px !important;
    }
    /* .formio-component-datagrid .datagrid-table,
    .formio-component-datagrid .datagrid-table td,
    .formio-component-datagrid .datagrid-table th {
        border: 3px solid #ddd !important;
        padding: 0px !important;
    } */

    #formio .card-body {
        padding: 8px;
    }
    .eidt-assesment-form .formio-form [ref="component"] {
        margin: 4px !important;
    }
}

@media (max-width: 576px) {
    /* #formio .card-body {
        padding: 2px;
    } */
    .row > * {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .pagetitle h1 {
        font-size: 18px !important;
    }

    .pagetitle h2 {
        font-size: 15px !important;
    }

    .card-title {
        font-size: 16px !important;
    }

    .card-title span {
        font-size: 12px;
    }

    .form-control {
        font-size: 12px !important;
    }
    .form-check-label span {
        font-size: 13px !important;
    }

    .col-form-label {
        font-size: 13px !important;
    }
    .form-check span {
        font-size: 13px !important;
    }

    .formio-component-htmlelement {
        font-size: 13px !important;
    }
    .pain-scale .radio .form-check-label span {
        font-size: 5px !important;
    }

    .form-radio .radio .form-check-label span {
        font-size: 12px !important;
    }
    .formio-component-datagrid .datagrid-table thead th {
        font-size: 13px !important;
    }
}

/* iPad portrait & small tablets (up to 820px) */
@media (min-width: 577px) and (max-width: 820px) {
    .row > * {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .pagetitle h1 {
        font-size: 20px !important;
    }
    .pagetitle h2 {
        font-size: 17px !important;
    }
    .card-title {
        font-size: 18px !important;
    }
    .form-control,
    .form-check-label span,
    .col-form-label {
        font-size: 14px !important;
    }
    .formio-component-htmlelement {
        font-size: 14px !important;
    }
    .formio-component-datagrid .datagrid-table thead th {
        font-size: 14px !important;
    }

    .container,
    .container-sm {
        max-width: 650px;
    }
}

@media (min-width: 821px) and (max-width: 980px) {
    .pagetitle h1 {
        font-size: 22px !important;
    }
    .pagetitle h2 {
        font-size: 19px !important;
    }
    #formio .card-body {
        padding: 2px !important;
    }
    .formio-component-datagrid .datagrid-table,
    .formio-component-datagrid .datagrid-table td,
    .formio-component-datagrid .datagrid-table th {
        padding: 3px;
    }

    .formio-component-datagrid .datagrid-table,
    .formio-component-datagrid .datagrid-table td,
    .formio-component-datagrid .datagrid-table th {
        padding: 0px !important;
    }
    .row > * {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

.pagetitle h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.pagetitle h2 {
    font-size: 20px;
    font-weight: normal;
    color: #666;
    margin-top: 6px;
    text-align: center;
}

.pagetitle .doc-name {
    color: #007bff;
}

.pagetitle .patient-name,
.pagetitle .patient-address {
    color: #28a745;
}
