/*
 *
 *   BDTASK - Responsive Admin Theme
 *   version 1.0
 *
*/
/* ===== HMIS Header Profile Menu (top-right) ===== */
.hmis-profile-dropdown > .hmis-profile-trigger {
    min-height: 50px;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 5px 12px 5px 14px !important;
    color: #003B3B !important;
    border-radius: 14px;
}

.hmis-profile-dropdown > .hmis-profile-trigger:hover,
.hmis-profile-dropdown > .hmis-profile-trigger:focus,
.hmis-profile-dropdown.open > .hmis-profile-trigger {
    background: #E7F7F5 !important;
}

.hmis-profile-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.15;
    text-align: left;
}

.hmis-profile-copy strong {
    max-width: 170px;
    overflow: hidden;
    color: #003B3B;
    font-size: 13.5px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hmis-profile-copy small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 170px;
    overflow: hidden;
    color: #667985;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hmis-profile-copy small .fa {
    color: #22C55E;
    font-size: 8px;
}

.hmis-profile-avatar,
.hmis-profile-avatar img {
    display: block;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px !important;
    max-height: 40px !important;
}

.hmis-profile-avatar img {
    object-fit: cover;
    object-position: center;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 77, 77, .18);
}

.main-sidebar .user-panel .image img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: cover;
    object-position: center;
}

.hmis-profile-dropdown > .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 236px;
    margin-top: 4px;
    padding: 8px;
    border: 1px solid #DDD8C8;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 77, 77, .16);
}

.hmis-profile-dropdown > .dropdown-menu > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 9px;
    color: #263238;
    font-weight: 700;
}

.hmis-profile-dropdown > .dropdown-menu > li > a:hover,
.hmis-profile-dropdown > .dropdown-menu > li > a:focus {
    background: #E7F7F5;
    color: #003B3B;
}

.hmis-profile-dropdown > .dropdown-menu > li > a i {
    width: 18px;
    color: #0F766E;
    text-align: center;
}

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

@media (max-width: 767px) {
    .hmis-profile-copy strong,
    .hmis-profile-copy small { max-width: 100px; }
    .hmis-profile-dropdown > .hmis-profile-trigger { gap: 6px; padding-right: 8px !important; }
}

@media (max-width: 420px) {
    .hmis-profile-copy { display: none; }
    .hmis-profile-dropdown > .hmis-profile-trigger { padding: 5px 8px !important; }
}

/*Core: General Layout Style
==============================================================================*/

html,
body {
    min-height: 100%;
}

.layout-boxed html,
.layout-boxed body {
    height: 100%;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    color: #374767;
    background-color: #f1f3f6;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/*--- Layout ---*/

.wrapper {
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.wrapper:before,
.wrapper:after {
    content: " ";
    display: table;
}

.wrapper:after {
    clear: both;
}

.layout-boxed .wrapper {
    max-width: 1250px;
    margin: 0 auto;
    min-height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    position: relative;
}

.layout-boxed {
    background: url('../img/boxed-bg.jpg') repeat fixed;
}

.content-wrapper,
.right-side,
.main-footer {
    -webkit-transition: -webkit-transform 0.3s ease-in-out, margin 0.3s ease-in-out;
    -webkit-transition: margin 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    transition: margin 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, margin 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, margin 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    margin-left: 250px;
    z-index: 820;
}

.layout-top-nav .content-wrapper,
.layout-top-nav .right-side,
.layout-top-nav .main-footer {
    margin-left: 0;
}

@media (max-width: 767px) {
    .content-wrapper,
    .right-side,
    .main-footer {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .sidebar-collapse .content-wrapper,
    .sidebar-collapse .right-side,
    .sidebar-collapse .main-footer {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .sidebar-open .content-wrapper,
    .sidebar-open .right-side,
    .sidebar-open .main-footer {
        -webkit-transform: translate(230px, 0);
        transform: translate(230px, 0);
    }
}

.content-wrapper,
.right-side {
    min-height: 100%;
    z-index: 800;
    background-color: #f1f3f6;
}

.main-footer {
    background: #fff;
    padding: 15px;
    color: #444;
    border-top: 1px solid #d2d6de;
}


/*--- Fixed layout ---*/

.fixed .main-header,
.fixed .main-sidebar,
.fixed .left-side {
    position: fixed;
}

.fixed .main-header {
    top: 0;
    right: 0;
    left: 0;
}

.fixed .content-wrapper,
.fixed .right-side {
    padding-top: 60px;
}

@media (max-width: 767px) {
    .fixed .content-wrapper,
    .fixed .right-side {
        padding-top: 120px;
    }
}

.fixed.layout-boxed .wrapper {
    max-width: 100%;
}

body.hold-transition .content-wrapper,
body.hold-transition .right-side,
body.hold-transition .main-footer,
body.hold-transition .main-sidebar,
body.hold-transition .left-side,
body.hold-transition .main-header .navbar,
body.hold-transition .main-header .logo {
    /* Fix for IE */
    -webkit-transition: none;
    transition: none;
}


/*--- Content ---*/

.content {
    min-height: 900px;
    margin-right: auto;
    margin-left: auto;
    padding: 0 30px 10px;
}

@media (max-width: 767px) {
    .content {
        padding: 0 15px 10px;
    }
}


/*--- selectin ---*/

::-moz-selection {
    color: #fff;
    background: #37a000;
    text-shadow: none;
}

::selection {
    color: #fff;
    background: #37a000;
    text-shadow: none;
}


/* H1 - H6 font */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Alegreya Sans', sans-serif;
}

p {
    margin: 0 0 10px;
}


/* General Links */

a {
    color: #37a000;
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    outline: none;
    text-decoration: none;
    color: #72afd2;
    -webkit-transition: all .3s;
    transition: all .3s;
}

hr {
    border-top: 1px solid #e1e6ef;
}


/* margins & paddings */

.m-0 {
    margin: 0 !important;
}

.m-t-0 {
    margin-top: 0px !important;
}

.m-t-20 {
    margin-top: 20px !important;
}

.m-r-2 {
    margin-right: 2px !important;
}

.m-r-5 {
    margin-right: 5px !important;
}

.m-r-15 {
    margin-right: 15px !important;
}

.m-b {
    margin-bottom: 20px !important;
}

.m-b-5 {
    margin-bottom: 5px !important;
}

.m-b-10 {
    margin-bottom: 10px !important;
}

.m-b-15 {
    margin-bottom: 15px !important;
}

.m-b-20 {
    margin-bottom: 20px !important;
}

.p-0 {
    padding: 0 !important;
}

.p-l-30 {
    padding-left: 30px !important;
}

.p-r-30 {
    padding-right: 30px !important;
}

.p-20 {
    padding: 20px !important;
}

.p-b-20 {
    padding-bottom: 20px !important;
}

.space-25 {
    margin: 12.5px 0;
    line-height: 0;
}


/*color*/

.color-green {
    color: #37a000 !important;
}

.color-red {
    color: #E5343D !important;
}

.color-violet {
    color: #8E23E0 !important;
}

.color-gray {
    color: #9a9a9a !important;
}

.color-yellow {
    color: #FFB61E !important;
}

.color-info {
    color: #62d0f1 !important;
}


/*text color*/

.text-white {
    color: #fff !important;
}

.text-muted {
    color: #9a9a9a !important;
}

.text-primary {
    color: #428bca !important;
}

.text-success {
    color: #37a000 !important;
}

.text-info {
    color: #62d0f1 !important;
}

.text-warning {
    color: #FFB61E !important;
}

.text-danger {
    color: #E5343D !important;
}

.text-inverse {
    color: #3b3e47 !important;
}

.text-purple {
    color: #5b69bc !important;
}

.text-pink {
    color: #ff8acc !important;
}

.text-black {
    color: #000 !important;
}

.text-violet {
    color: #8E23E0 !important;
}


/*border color*/

.border-all {
    border: 1px solid #e4e5e7 !important;
}

.border-btm {
    border-bottom: 1px solid #e4e5e7 !important;
}

.border-green {
    border-color: #37a000 !important;
}

.border-red {
    border-color: #E5343D !important;
}

.border-violet {
    border-color: #8E23E0 !important;
}

.border-gray {
    border-color: #9a9a9a !important;
}

.border-yellow {
    border-color: #FFB61E !important;
}

/*background color*/
.bg-green {
    background: #37a000 !important;
}

.bg-red {
    background: #E5343D !important;
}

.bg-violet {
    background: #8E23E0 !important;
}

.bg-gray {
    background: #9a9a9a !important;
}

.bg-yellow {
    background: #FFB61E !important;
}
.bg-aqua {
    background-color: #00c0ef !important;
}

.bg-blue {
    background-color: #009999 !important;
}


/*--- Page Header ---*/

.page-header {
    margin: 10px 0 20px 0;
    font-size: 22px;
}

.page-header > small {
    color: #666;
    display: block;
    margin-top: 5px;
}


/*--- Component: Main Header ---*/

.main-header {
    position: relative;
    max-height: 120px;
    z-index: 1030;
}

.main-header .navbar {
    -webkit-transition: margin-left 0.3s ease-in-out;
    transition: margin-left 0.3s ease-in-out;
    margin-bottom: 0;
    margin-left: 250px;
    border: none;
    min-height: 60px;
    border-radius: 0;
    background-color: #fff;
    border-bottom: 1px solid #e1e6ef;
}

.layout-top-nav .main-header .navbar {
    margin-left: 0;
}

.main-header #navbar-search-input.form-control {
    background: rgba(255, 255, 255, 0.2);
    border-color: transparent;
}

.main-header #navbar-search-input.form-control:focus,
.main-header #navbar-search-input.form-control:active {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.main-header #navbar-search-input.form-control::-moz-placeholder {
    color: #ccc;
    opacity: 1;
}

.main-header #navbar-search-input.form-control:-ms-input-placeholder {
    color: #ccc;
}

.main-header #navbar-search-input.form-control::-webkit-input-placeholder {
    color: #ccc;
}

.main-header .navbar-custom-menu,
.main-header .navbar-right {
    float: right;
    margin-right: 25px;
}

@media (max-width: 991px) {
    .main-header .navbar-custom-menu a,
    .main-header .navbar-right a {
        color: inherit;
        background: transparent;
    }
}

@media (max-width: 767px) {
    .main-header .navbar-right {
        float: none;
    }
    .navbar-collapse .main-header .navbar-right {
        margin: 7.5px -15px;
    }
    .main-header .navbar-right > li {
        color: inherit;
        border: 0;
    }
    .main-header .navbar-custom-menu,
    .main-header .navbar-right {
        float: right;
        margin-right: 10px;
    }
}

.main-header .sidebar-toggle {
    float: left;
    background-color: transparent;
    background-image: none;
    padding: 16px 14px;
    font-family: fontAwesome;
    border-right: 1px solid #e1e6ef;
    color: #374767;
    font-size: 26px;
    line-height: 26px;
}

.main-header .sidebar-toggle:hover {
    background-color: #eee;
}

.main-header .sidebar-toggle:focus,
.main-header .sidebar-toggle:active {
    background: transparent;
}

.main-header .sidebar-toggle .icon-bar {
    display: none;
}

.main-header .navbar .nav > li.user > a > .fa,
.main-header .navbar .nav > li.user > a > .glyphicon,
.main-header .navbar .nav > li.user > a > .ion {
    margin-right: 5px;
}

.main-header .navbar .nav > li > a > .label {
    border: 2px solid white;
    position: absolute;
    top: 2px;
    right: -3px;
    font-size: 11px;
    line-height: 8px;
    padding: 5px 6px;
    border-radius: 50em;
    font-family: 'Alegreya Sans', sans-serif;
    height: 22px;
    width: 22px;
}

.main-header .logo {
    display: block;
    float: left;
    height: 60px;
    font-size: 20px;
    line-height: 60px;
    text-align: center;
    width: 250px;
    padding: 0 15px;
    font-weight: 300;
    overflow: hidden;
    background-color: #042a4a;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    -webkit-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out;
}

.main-header .logo .logo-lg {
    display: block;
}

.main-header .logo .logo-lg img,
.main-header .logo .logo-mini img{
    height: 42px;
}

.main-header .logo .logo-mini {
    display: none;
}

.main-header .navbar-brand {
    color: #fff;
}

.content-header {
    position: relative;
    padding: 12px 0;
    background-color: #fff;
    border-bottom: 1px solid #e1e6ef;
    margin-bottom: 20px;
}

.content-header hr {
    border-top: 1px solid #ddd;
}

.content-header .header-icon {
    font-size: 55px;
    color: #37a000;
    width: 68px;
    float: left;
    margin-top: -4px;
    line-height: 0;
}

.content-header .header-title {
    margin-left: 68px;
}

.content-header .header-title h1 {
    margin: 0;
    font-size: 24px;
}

.content-header .header-title small {
    font-size: 13px;
    display: inline-block;
    padding-left: 4px;
    font-weight: 600;
    color: #7a7a7a;
}

.header-title .breadcrumb {
    float: right;
    background: #fff;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 12px;
    padding: 7px;
    position: absolute;
    bottom: 18px;
    right: 30px;
    border-radius: 0;
    border: 1px solid #e1e6ef;
    font-weight: 600;
}

.header-title .breadcrumb > li > a {
    color: #374767;
    text-decoration: none;
    display: inline-block;
}

.breadcrumb>.active {
    color: #37a000;
    font-weight: 700;
}

.header-title .breadcrumb > li > a > .fa,
.header-title .breadcrumb > li > a > .glyphicon,
.header-title .breadcrumb > li > a > .ion {
    margin-right: 5px;
}

.navbar-nav > li > a {
    padding: 12px 5px;
    position: relative;
}

.navbar-nav > li > a > i {
    border: 1px solid #f2f2f2;
    padding: 6px 3px;
    width: 36px;
    text-align: center;
    color: #374767;
    background-color: #f5f5f5;
    height: 36px;
    font-size: 25px;
}

@media (max-width: 991px) {
    .header-title .breadcrumb {
        position: relative;
        margin-top: 5px;
        top: 0;
        right: 0;
        float: none;
        padding-left: 10px;
    }
    .header-title .breadcrumb li:before {
        color: #97a0b3;
    }
}

.navbar-toggle {
    color: #fff;
    border: 0;
    margin: 0;
    padding: 15px 15px;
}

@media (max-width: 991px) {
    .navbar-custom-menu .navbar-nav > li {
        float: left;
    }
    .navbar-custom-menu .navbar-nav {
        margin: 0;
        float: left;
    }
    .navbar-custom-menu .navbar-nav > li > a {
        padding-top: 11px;
        padding-bottom: 11px;
    }
}

@media (max-width: 767px) {
    .main-header {
        position: relative;
    }
    .main-header .logo,
    .main-header .navbar {
        width: 100%;
        float: none;
    }
    .main-header .navbar {
        margin: 0;
    }
    .main-header .navbar-custom-menu {
        float: right;
    }
}

@media (max-width: 991px) {
    .navbar-collapse.pull-left {
        float: none !important;
    }
    .navbar-collapse.pull-left + .navbar-custom-menu {
        display: block;
        position: absolute;
        top: 0;
        right: 40px;
    }
}


/*--- Component: Sidebar ---*/

.main-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 60px;
    min-height: 100%;
    width: 250px;
    z-index: 810;
    font-family: 'Alegreya Sans', sans-serif;
    -webkit-transition: -webkit-transform 0.3s ease-in-out, width 0.3s ease-in-out;
    -webkit-transition: width 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    transition: width 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, width 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    background-color: #042a4a;
}

@media (max-width: 767px) {
    .main-sidebar,
    .left-side {
        padding-top: 120px;
    }
}

@media (max-width: 767px) {
    .main-sidebar,
    .left-side {
        -webkit-transform: translate(-250px, 0);
        transform: translate(-250px, 0);
    }
}

@media (min-width: 768px) {
    .sidebar-collapse .main-sidebar,
    .sidebar-collapse .left-side {
        -webkit-transform: translate(-230px, 0);
        transform: translate(-230px, 0);
    }
}

@media (max-width: 767px) {
    .sidebar-open .main-sidebar,
    .sidebar-open .left-side {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
}

.sidebar {
    padding-bottom: 10px;
}

.sidebar-form input:focus {
    border-color: transparent;
}

.user-panel {
    position: relative;
    width: 100%;
    padding: 20px 10px;
    overflow: hidden;
}

.user-panel:before,
.user-panel:after {
    content: " ";
    display: table;
}

.user-panel:after {
    clear: both;
}

.user-panel .image img {
    width: 100%;
    max-width: 65px;
    max-height: 65px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.user-panel .info {
    padding: 5px 5px 5px 15px;
    line-height: 1;
}

.user-panel .info p {
    font-weight: 500;
    margin-bottom: 9px;
    color: #fff;
    margin: 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-panel .info a {
    text-decoration: none;
    padding-right: 5px;
    margin-top: 3px;
    font-size: 11px;
}

.user-panel .info a .fa,
.user-panel .info a .ion,
.user-panel .info a .glyphicon {
    margin-right: 3px;
}

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

.sidebar-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.sidebar-menu > li > a {
    padding: 12px 5px 12px 15px;
    display: block;
    color: #a6a6a6;
    position: relative;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.sidebar-menu > li > a > i {
    margin-right: 10px;
    font-size: 15px;
}

.sidebar-menu > li.active > a {
    border-left: 3px solid #37a000;
}

.sidebar-menu > li:hover > a,
.sidebar-menu > li.active > a {
    color: #fff;
    background: #064579;
}

.sidebar-menu > li > a > .fa,
.sidebar-menu > li > a > .glyphicon,
.sidebar-menu > li > a > .ion {
    width: 20px;
}

.sidebar-menu > li .label,
.sidebar-menu > li .badge {
    margin-right: 5px;
}

.sidebar-menu > li .badge {
    margin-top: 3px;
}

.sidebar-menu li.header {
    padding: 10px 25px 10px 15px;
    font-size: 12px;
    color: #fff;
}

.sidebar-menu li > a > .fa-angle-left,
.sidebar-menu li > a > .pull-right-container > .fa-angle-left {
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 10px;
}

.sidebar-menu li.active > a > .fa-angle-left,
.sidebar-menu li.active > a > .pull-right-container > .fa-angle-left {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.sidebar-menu li.active > .treeview-menu {
    display: block;
}

.sidebar-menu .treeview-menu {
    position: relative;
    display: none;
    list-style: none;
    padding: 5px 0 10px;
    margin: 0;
    padding-left: 35px;
    background-color: #031c30;
}

.sidebar-menu .treeview-menu:before {
    width: 2px;
    bottom: 0;
    background: rgba(59, 70, 72, 0.5);
    content: "";
    position: absolute;
    top: 0;
    left: 33px;
}

.sidebar-menu .treeview-menu .treeview-menu {
    padding-left: 20px;
}

.sidebar-menu .treeview-menu > li {
    margin: 0;
    position: relative;
}

.sidebar-menu .treeview-menu > li > a {
    padding: 5px 5px 5px 20px;
    display: block;
    color: #a6a6a6;
    letter-spacing: 0.3px;
}

.sidebar-menu .treeview-menu li.disabled a {
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}

.sidebar-menu .treeview-menu > li.active > a,
.sidebar-menu .treeview-menu > li:hover > a {
    color: #fff;
}

.sidebar-menu .treeview-menu > li::before {
    left: 0;
    top: 13px;
    width: 15px;
    content: ' ';
    position: absolute;
    display: inline-block;
    border: 1px solid rgba(59, 70, 72, 0.5);
}

.sidebar-menu .treeview-menu > li > a > .fa,
.sidebar-menu .treeview-menu > li > a > .glyphicon,
.sidebar-menu .treeview-menu > li > a > .ion {
    width: 20px;
}

.sidebar-menu .treeview-menu > li > a > .pull-right-container > .fa-angle-left,
.sidebar-menu .treeview-menu > li > a > .pull-right-container > .fa-angle-down,
.sidebar-menu .treeview-menu > li > a > .fa-angle-left,
.sidebar-menu .treeview-menu > li > a > .fa-angle-down {
    width: auto;
}


/*--- Component: Sidebar Mini ---*/

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-collapse .right-side,
    .sidebar-mini.sidebar-collapse .main-footer {
        margin-left: 50px !important;
        z-index: 840;
    }
    .sidebar-mini.sidebar-collapse .main-sidebar {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
        width: 50px !important;
        z-index: 850;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li {
        position: relative;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > a {
        margin-right: 0;
        font-size: 0;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span {
        border-top-right-radius: 4px;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:not(.treeview) > a > span {
        border-bottom-right-radius: 4px;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > .treeview-menu {
        padding-top: 5px;
        padding-bottom: 5px;
        border-bottom-right-radius: 4px;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right),
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
        display: block !important;
        position: absolute;
        width: 180px;
        left: 50px;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span {
        top: 0;
        margin-left: 0px;
        padding: 12px 5px 12px 20px;
        background-color: inherit;
        font-size: 15px;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
        float: right;
        width: auto!important;
        left: 200px!important;
        top: 10px!important;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container > .label:not(:first-of-type) {
        display: none;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
        top: 44px;
        margin-left: 0;
    }
    .sidebar-mini.sidebar-collapse .main-sidebar .user-panel > .info,
    .sidebar-mini.sidebar-collapse .sidebar-form,
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span,
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > .treeview-menu,
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .pull-right,
    .sidebar-mini.sidebar-collapse .sidebar-menu li.header {
        display: none !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    .sidebar-mini.sidebar-collapse .main-header .logo {
        width: 50px;
    }
    .sidebar-mini.sidebar-collapse .main-header .logo > .logo-mini {
        display: block;
        margin-left: -15px;
        margin-right: -15px;
        font-size: 18px;
    }
    .sidebar-mini.sidebar-collapse .main-header .logo > .logo-lg {
        display: none;
    }
    .sidebar-mini.sidebar-collapse .main-header .navbar {
        margin-left: 50px;
    }
}

.sidebar-menu,
.main-sidebar .user-panel,
.sidebar-menu > li.header {
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-menu:hover {
    overflow: visible;
}

.sidebar-form {
    border-radius: 3px;
    border: 1px solid #1c1f22;
    margin: 10px 10px;
}

.sidebar-form input[type="text"],
.sidebar-form .btn {
    box-shadow: none;
    background-color: #1c1f22;
    border: 1px solid transparent;
    height: 35px;
}

.sidebar-form input[type="text"] {
    color: #666;
    border-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
}

.sidebar-form input[type="text"]:focus,
.sidebar-form input[type="text"]:focus + .input-group-btn .btn {
    background-color: #fff;
    color: #666;
}

.sidebar-form input[type="text"]:focus + .input-group-btn .btn {
    border-left-color: #fff;
}

.sidebar-form .btn {
    color: #999;
    border-top-left-radius: 0;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 0;
}

.sidebar-form,
.sidebar-menu > li.header {
    overflow: hidden;
    text-overflow: clip;
}

.sidebar-menu > li.header {
    letter-spacing: 1px;
    font-weight: 600;
    border-bottom: 1px solid rgba(59, 70, 72, 0.5);
    color: #a6a6a6;
}

.sidebar-menu li > a > .pull-right-container {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -7px;
}


/*--- Component: Dropdown menus ---*/


/*Dropdowns in general*/

.dropdown-menu {
    box-shadow: none;
    border-color: #e1e6ef;
}

.dropdown-menu > li > a {
    color: #777;
}

.dropdown-menu > li > a:hover {
    background-color: #e1e3e9;
    color: #333;
}

.dropdown-menu > .divider {
    background-color: #eee;
}

.navbar-nav > .notifications-menu > .dropdown-menu,
.navbar-nav > .messages-menu > .dropdown-menu,
.navbar-nav > .tasks-menu > .dropdown-menu {
    width: 280px;
    padding: 0 0 0 0;
    margin: 0;
    top: 100%;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li,
.navbar-nav > .messages-menu > .dropdown-menu > li,
.navbar-nav > .tasks-menu > .dropdown-menu > li {
    position: relative;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li.header,
.navbar-nav > .messages-menu > .dropdown-menu > li.header,
.navbar-nav > .tasks-menu > .dropdown-menu > li.header {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #ffffff;
    padding: 7px 10px;
    border-bottom: 1px solid #e1e6ef;
    color: #444444;
    font-size: 14px;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a,
.navbar-nav > .messages-menu > .dropdown-menu > li.footer > a,
.navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    font-size: 12px;
    background-color: #fff;
    padding: 7px 10px;
    border-top: 1px solid #e1e6ef;
    color: #444 !important;
    text-align: center;
}

@media (max-width: 991px) {
    .navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a,
    .navbar-nav > .messages-menu > .dropdown-menu > li.footer > a,
    .navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a {
        background: #fff !important;
        color: #444 !important;
    }
}

.navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a:hover,
.navbar-nav > .messages-menu > .dropdown-menu > li.footer > a:hover,
.navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a:hover {
    text-decoration: none;
    font-weight: normal;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu,
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu {
    max-height: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: hidden;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a,
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
    display: block;
    white-space: nowrap;
    /* Prevent text from breaking */
    border-bottom: 1px solid #f4f4f4;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a:hover,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:hover,
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a:hover {
    background: #f4f4f4;
    text-decoration: none;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a {
    color: #444444;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
    font-size: 13px;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > i {
    width: 20px;
    font-size: 16px;
    margin-right: 10px;
}

.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a {
    margin: 0;
    padding: 10px 10px;
}

.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > div > img {
    margin: auto 10px auto auto;
    width: 40px;
    height: 40px;
}

.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 {
    padding: 0;
    margin: 0 0 0 45px;
    color: #444444;
    font-size: 15px;
    position: relative;
}

.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 > small {
    color: #999999;
    font-size: 10px;
    position: absolute;
    top: 0;
    right: 0;
}

.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > p {
    margin: 0 0 0 45px;
    font-size: 12px;
    color: #888888;
}

.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:before,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:after {
    content: " ";
    display: table;
}

.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:after {
    clear: both;
}

.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:after {
    clear: both;
}

.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
    padding: 10px;
}

.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a > h3 {
    font-size: 14px;
    padding: 0;
    margin: 0 0 10px 0;
    color: #666666;
}

.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a > .progress {
    padding: 0;
    margin: 0;
}

.navbar-nav > .dropdown-user > .dropdown-menu > li > a {
    padding: 5px 10px;
}

.navbar-nav > .dropdown-user > .dropdown-menu > li > a > i {
    font-size: 16px;
    margin-right: 10px;
}


/* Add fade animation to dropdown menus by appending
 the class .animated-dropdown-menu to the .dropdown-menu ul (or ol)*/

.open:not(.dropup) > .animated-dropdown-menu {
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-animation: flipInX 0.7s both;
    animation: flipInX 0.7s both;
}

@keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        -webkit-transition-timing-function: ease-in;
        transition-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        -webkit-transition-timing-function: ease-in;
        transition-timing-function: ease-in;
    }
    60% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }
    80% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
    100% {
        -webkit-transform: perspective(400px);
        transform: perspective(400px);
    }
}

@-webkit-keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        -webkit-transition-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        -webkit-transition-timing-function: ease-in;
    }
    60% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }
    80% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
    100% {
        -webkit-transform: perspective(400px);
    }
}


/* Fix dropdown menu in navbars */

.navbar-custom-menu > .navbar-nav > li {
    position: relative;
}

.navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
}

@media (max-width: 991px) {
    .navbar-custom-menu > .navbar-nav {
        float: right;
    }
    .navbar-custom-menu > .navbar-nav > li {
        position: static;
    }
    .navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
        position: absolute;
        right: 5%;
        left: auto;
        border: 1px solid #ddd;
        background: #fff;
    }
}

.statistic-box h2 {
    margin: 0;
    font-weight: 700;
}

.statistic-box .small {
    font-weight: 600;
    color: #222;
    margin-bottom: 15px
}

.slight {
    font-size: 11px;
    font-weight: 300;
}

small,
.small {
    font-size: 85%;
}

.canvasjs-chart-credit {
    display: none;
}


/*Panel page
==============================================================================*/

.panel {
    box-shadow: none;
    overflow: hidden;
}

.panel .panel-heading h1,
.panel .panel-heading h2,
.panel .panel-heading h3,
.panel .panel-heading h4,
.panel .panel-heading h5,
.panel .panel-heading h6 {
    margin: 0;
    line-height: 35px;
    letter-spacing: .5px;
}

.panel-bd,
.panel-primary,
.panel-success,
.panel-info,
.panel-warning,
.panel-danger,
.panel-inverse {
    border: 1px solid #e1e6ef;
}

.lobipanel {
    margin-bottom: 20px;
}

.panel-bd > .panel-heading {
    color: #374767;
    background-color: #fff;
    border-color: #e4e5e7;
    position: relative;
}

.panel-bd .panel-heading::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 12px solid #37a000;
    border-right: 12px solid transparent;
    position: absolute;
    left: 0px;
    top: 0px;
}

.panel-primary > .panel-heading {
    color: #fff;
    background-color: #428bca;
    border-color: #428bca;
}

.panel-success > .panel-heading {
    color: #fff;
    background-color: #37a000;
    border-color: #37a000;
}

.panel-info > .panel-heading {
    color: #fff;
    background-color: #62d0f1;
    border-color: #62d0f1;
}

.panel-warning > .panel-heading {
    color: #fff;
    background-color: #ffc751;
    border-color: #ffc751;
}

.panel-danger > .panel-heading {
    color: #fff;
    background-color: #E5343D;
    border-color: #E5343D;
}

.panel-inverse > .panel-heading {
    color: #fff;
    background-color: #3b3e47;
    border-color: #3b3e47;
}

.panel-footer {
    background-color: #f7f9fa;
    border-top: 1px solid #e1e6ef;
}

@media (min-width: 768px) {
    .panel-primary.lobipanel .panel-heading .dropdown .dropdown-menu > li > a,
    .panel-success.lobipanel .panel-heading .dropdown .dropdown-menu > li > a,
    .panel-info.lobipanel .panel-heading .dropdown .dropdown-menu > li > a,
    .panel-warning.lobipanel .panel-heading .dropdown .dropdown-menu > li > a,
    .panel-danger.lobipanel .panel-heading .dropdown .dropdown-menu > li > a,
    .panel-inverse.lobipanel .panel-heading .dropdown .dropdown-menu > li > a {
        color: #fff;
    }
}


/*--- massage ---*/

.message_inner {
    height: 320px;
}

.message_widgets {
    margin-right: 10px;
}

.inbox-item {
    border-bottom: 1px solid #f3f3f3;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
}

.inbox-item .inbox-item-img {
    display: block;
    float: left;
    margin-right: 15px;
    width: 40px;
}

.inbox-item img {
    width: 40px;
}

.inbox-item .inbox-item-author {
    color: #374767;
    margin: 0;
    font-weight: 600;
}

.inbox-item .inbox-item-text {
    color: #9a9da0;
    display: block;
    font-size: 12px;
    margin: 0;
}

.inbox-item .inbox-item-date {
    color: #9a9da0;
    font-size: 11px;
    right: 7px;
    top: 2px;
}

.inbox-item .profile-status {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    display: inline-block;
    position: absolute;
    bottom: 50%;
    right: 0px;
}

.inbox-item .profile-status.available {
    background-color: #37a000;
}

.inbox-item .profile-status.away {
    background-color: #FFB61E;
}

.inbox-item .profile-status.busy {
    background-color: #E5343D;
}

.inbox-item .profile-status.offline {
    background-color: #9a9a9a;
}


/*--- chat list ---*/

.chat_list {
    list-style: none;
    padding: 0px 15px;
}

.chat_list li {
    margin-bottom: 24px;
}

.chat_list .chat-avatar {
    float: left;
    text-align: center;
    width: 40px;
}

.chat_list .chat-avatar img {
    border-radius: 100%;
    width: 100%;
}

.chat_list .chat-avatar i {
    font-size: 12px;
    font-style: normal;
}

.chat_list .conversation-text {
    float: left;
    font-size: 12px;
    margin-left: 12px;
    width: 70%;
}

.chat_list .ctext-wrap {
    background: rgba(0, 0, 0, .1);
    display: inline-block;
    padding: 10px;
    position: relative;
    border-radius: 4px;
}

.chat_list .ctext-wrap:after {
    right: 100%;
    top: 20%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(213, 242, 239, 0);
    border-right-color: rgba(0, 0, 0, .1);
    border-width: 5px;
    margin-top: -5px;
}

.chat_list .ctext-wrap i {
    color: rgba(54, 58, 92, .9);
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    position: relative;
}

.chat_list .ctext-wrap p {
    margin: 0px;
    padding-top: 3px;
    font-weight: 500;
}

.chat_list .odd .chat-avatar {
    float: right !important;
}

.chat_list .odd .conversation-text {
    float: right !important;
    margin-right: 12px;
    text-align: right;
    width: 70% !important;
}

.chat_list .odd .ctext-wrap {
    background: #37a000 !important;
}

.chat_list .odd .ctext-wrap i {
    color: #fff;
}

.chat_list .odd .ctext-wrap p {
    color: #fff;
}

.chat_list .odd .ctext-wrap:after {
    border-color: rgba(238, 238, 242, 0) !important;
    border-left-color: #37a000 !important;
    left: 100% !important;
    top: 20% !important;
}


/*--- calender1 ---*/

#calendar1 {
    margin: 0 auto;
}

#calendar1 .fc-toolbar h2 {
    font-size: 16px;
    margin: 6px 0;
}


/*--- Activities ---*/

.activity-list>li {
    position: relative;
    padding: 10px 0 10px 25px;
}

.activity-list>li:after,
.activity-list>li:before {
    position: absolute;
    content: "";
}

.activity-list>li:before {
    left: 5px;
    top: 0;
    height: 100%;
    border-left: 1px solid #d9d9d9;
}

.activity-list>li:after {
    left: 0;
    top: 14px;
    height: 11px;
    width: 11px;
    border-radius: 50%;
    border: 2px solid #9a9a9a;
    background-color: #FFF;
}

.activity-list>li.activity-purple:after {
    border-color: #8E23E0;
}

.activity-list>li.activity-danger:after {
    border-color: #E5343D;
}

.activity-list>li.activity-warning:after {
    border-color: #FFB61E;
}

.activity-list>li.activity-primary:after {
    border-color: #0667D6;
}


/* Icon pages
==============================================================================*/

.icon_box {
    text-align: center;
    min-height: 92px;
    margin: 10px 0;
    font-size: 42px;
}

.icon_box i {
    font-size: 35px;
    display: block;
    color: #37a000;
}

.icon_box:hover i {
    color: #676a6c;
}

.icon-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
}


/* Buzz Out */

@-webkit-keyframes hvr-buzz-out {
    10% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }
    20% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }
    30% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }
    40% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }
    50% {
        -webkit-transform: translateX(2px) rotate(1deg);
        transform: translateX(2px) rotate(1deg);
    }
    60% {
        -webkit-transform: translateX(-2px) rotate(-1deg);
        transform: translateX(-2px) rotate(-1deg);
    }
    70% {
        -webkit-transform: translateX(2px) rotate(1deg);
        transform: translateX(2px) rotate(1deg);
    }
    80% {
        -webkit-transform: translateX(-2px) rotate(-1deg);
        transform: translateX(-2px) rotate(-1deg);
    }
    90% {
        -webkit-transform: translateX(1px) rotate(0);
        transform: translateX(1px) rotate(0);
    }
    100% {
        -webkit-transform: translateX(-1px) rotate(0);
        transform: translateX(-1px) rotate(0);
    }
}

@keyframes hvr-buzz-out {
    10% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }
    20% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }
    30% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }
    40% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }
    50% {
        -webkit-transform: translateX(2px) rotate(1deg);
        transform: translateX(2px) rotate(1deg);
    }
    60% {
        -webkit-transform: translateX(-2px) rotate(-1deg);
        transform: translateX(-2px) rotate(-1deg);
    }
    70% {
        -webkit-transform: translateX(2px) rotate(1deg);
        transform: translateX(2px) rotate(1deg);
    }
    80% {
        -webkit-transform: translateX(-2px) rotate(-1deg);
        transform: translateX(-2px) rotate(-1deg);
    }
    90% {
        -webkit-transform: translateX(1px) rotate(0);
        transform: translateX(1px) rotate(0);
    }
    100% {
        -webkit-transform: translateX(-1px) rotate(0);
        transform: translateX(-1px) rotate(0);
    }
}

.hvr-buzz-out {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
}

.icon_box:hover .hvr-buzz-out,
.hvr-buzz-out:focus,
.hvr-buzz-out:active {
    -webkit-animation-name: hvr-buzz-out;
    animation-name: hvr-buzz-out;
    -webkit-animation-duration: 0.75s;
    animation-duration: 0.75s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

@media (min-width: 1200px) {
    .icon_box_width {
        width: 12.50%;
    }
}


/*** Flag icon pages
==============================================================================*/

.flag-icon-inner,
.weather-icon-inner,
.material-icon-inner {
    overflow: hidden;
}

.icon_list {
    padding-left: 0;
    list-style: none;
}

.icon_list li {
    float: left;
    width: 33.33%;
    height: 110px;
    padding: 16px 10px;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
    background-color: #f1f3f6;
    border: 1px solid #fff;
}

.icon_list li:hover {
    color: #fff;
    background-color: #37a000;
}

.icon_list li i {
    font-size: 28px;
    display: block;
    margin: 0 auto 10px;
    color: #374767;
}

.icon_list li:hover i {
    color: #fff;
}

.icon_name {
    display: block;
    text-align: center;
    word-wrap: break-word;
}

@media (min-width: 768px) {
    .flag-icon {
        margin-right: 0;
        margin-left: 0;
    }
    .icon_list li {
        width: 20%;
        font-size: 12px;
    }
}

@media (min-width: 1200px) {
    .icon_list li {
        width: 10%;
        font-size: 12px;
    }
}


/*** Themify icons pages
==============================================================================*/

.icon-section {
    margin: 0 0 3em;
    clear: both;
    overflow: hidden;
}

.icon-container {
    width: 25%;
    padding: .7em 0;
    float: left;
    position: relative;
    text-align: left;
}

.icon-container [class^="ti-"],
.icon-container [class*=" ti-"] {
    color: #374767;
    position: absolute;
    margin-top: 3px;
    -webkit-transition: .3s;
    transition: .3s;
    font-size: 16px;
}

.icon-container:hover [class^="ti-"],
.icon-container:hover [class*=" ti-"] {
    font-size: 2.2em;
    margin-top: -5px;
}

.icon-container:hover .icons-name {
    color: #000;
}

.icons-name {
    color: #7a7a7a;
    margin-left: 35px;
    -webkit-transition: .3s;
    transition: .3s;
    font-size: 13px;
}

.icon-container:hover .icons-name {
    margin-left: 45px;
}

@media (max-width: 767px) {
    .icon-container {
        width: 100%;
    }
}

@media(min-width: 768px) and (max-width:1199px) {
    .icon-container {
        width: 50%;
    }
}


/*** Social icon pages
==============================================================================*/

.glyphs.character-mapping {
    margin: 0 0 20px 0;
    padding: 20px 0 20px 30px;
    color: rgba(0, 0, 0, 0.5);
    border: 1px solid #e1e6ef;
    border-radius: 4px;
}

.glyphs.character-mapping li {
    margin: 0 30px 20px 0;
    display: inline-block;
    width: 90px
}

.glyphs.character-mapping .icon {
    margin: 10px 0 10px 15px;
    padding: 15px;
    position: relative;
    width: 55px;
    height: 55px;
    color: #374767 !important;
    overflow: hidden;
    border-radius: 3px;
    font-size: 32px;
}

.glyphs.character-mapping .icon svg {
    fill: #000
}

.glyphs.character-mapping input {
    margin: 0;
    padding: 5px 0;
    line-height: 12px;
    font-size: 12px;
    display: block;
    width: 100%;
    border: 1px solid #d8e0e5;
    border-radius: 5px;
    text-align: center;
    outline: 0;
}

.glyphs.character-mapping input:focus {
    border: 1px solid #37a000;
}

.glyphs.character-mapping input:hover {
    border: 1px solid #37a000;
}

.glyphs.css-mapping {
    margin: 0 0 30px 0;
    padding: 30px 0 20px 30px;
    color: rgba(0, 0, 0, 0.5);
    border: 1px solid #e1e6ef;
    border-radius: 4px;
}

.glyphs.css-mapping li {
    margin: 0 30px 20px 0;
    padding: 0;
    display: inline-block;
    overflow: hidden
}

.glyphs.css-mapping .icon {
    margin: 0;
    margin-right: 10px;
    padding: 13px;
    height: 50px;
    width: 50px;
    color: #374767 !important;
    overflow: hidden;
    float: left;
    font-size: 24px;
}

.glyphs.css-mapping input {
    margin: 0;
    margin-top: 5px;
    padding: 8px;
    line-height: 14px;
    font-size: 14px;
    display: block;
    width: 150px;
    height: 40px;
    border: 1px solid #d8e0e5;
    border-radius: 5px;
    background: #fff;
    outline: 0;
    float: right;
}

.glyphs.css-mapping input:focus {
    border: 1px solid #37a000;
}

.glyphs.css-mapping input:hover {
    border: 1px solid #37a000;
}

@media(min-width: 768px) and (max-width:1199px) {
    .glyphs.css-mapping li {
        margin: 0 15px 20px 0;
    }
    .glyphs.character-mapping li {
        margin: 0 20px 20px 0;
    }
}


/*--- material-icon-inner ---*/

.material-icon-inner {
    margin-bottom: 20px;
}

.material-icon-inner:last-child {
    margin-bottom: 0;
}


/*--- flot chart ---*/

.flotChart {
    display: block;
    height: 300px;
    position: relative;
    color: #545454;
}

.flotChart-demo {
    width: 100%;
    height: 100%;
    color: #545454;
}


/*--- Sparklines chart ---*/

.spark_about {
    margin: 10px 0 50px;
}

.jqstooltip { 
    width: auto !important; 
    height: auto !important; 
}


/*** Tabs page
==============================================================================*/

.nav-tabs {
    border-bottom: 0;
}

.nav-tabs>li>a {
    color: #7a7a7a;
    font-weight: 600;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    border: 1px solid #e4e5e7;
    color: #37a000;
}

.nav > li > a:focus,
.nav > li > a:hover {
    background-color: transparent;
    color: #37a000;
    border-color: transparent;
}

.tab-content .panel-body {
    background: #fff;
    border: 1px solid #e4e5e7;
    border-radius: 2px;
    padding: 20px;
    position: relative;
}


/*!
 * bootstrap-vertical-tabs - v1.2.2
 * https://dbtek.github.io/bootstrap-vertical-tabs
 * 2016-12-02
 * Copyright (c) 2016 İsmail Demirbilek
 * License: MIT
 */

.tabs-left>li,
.tabs-right>li {
    float: none;
}

.tabs-left>li {
    margin-right: -1px;
}

.tabs-right>li {
    margin-left: -1px;
}

.tabs-left>li.active>a,
.tabs-left>li.active>a:hover,
.tabs-left>li.active>a:focus {
    border-bottom-color: #ddd;
    border-right-color: transparent;
}

.tabs-right>li.active>a,
.tabs-right>li.active>a:hover,
.tabs-right>li.active>a:focus {
    border-bottom: 1px solid #ddd;
    border-left-color: transparent;
}

.tabs-left>li>a {
    border-radius: 4px 0 0 4px;
    margin-right: 0;
    display: block;
}

.tabs-right>li>a {
    border-radius: 0 4px 4px 0;
    margin-right: 0;
}

.sideways {
    margin-top: 50px;
    border: none;
    position: relative;
}

.sideways>li {
    height: 20px;
    width: 120px;
    margin-bottom: 100px;
}

.sideways>li>a {
    border-right-color: transparent;
    text-align: center;
    border-radius: 4px 4px 0px 0px;
}

.sideways>li.active>a,
.sideways>li.active>a:hover,
.sideways>li.active>a:focus {
    border-bottom-color: transparent;
    border-right-color: #ddd;
    border-left-color: #ddd;
}

.sideways.tabs-left {
    left: -50px;
}

.sideways.tabs-right {
    right: 27px;
}

.sideways.tabs-right>li {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sideways.tabs-left>li {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

@media (max-width: 767px) {
    .sideways.tabs-left {
        left: -44px;
    }
    .m-t-10 {
        margin-top: 10px !important;
    }
}


/*** Tree View
==============================================================================*/

.well {
    height: 135px;
    box-shadow: none;
}

.tree,
.tree ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.tree ul {
    margin-left: 1em;
    position: relative
}

.tree ul ul {
    margin-left: .5em
}

.tree ul:before {
    content: "";
    display: block;
    width: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-left: 1px solid
}

.tree li {
    margin: 0;
    padding: 0 1em;
    line-height: 2em;
    color: #4C4C4C;
    font-weight: 600;
    position: relative;
    cursor: pointer;
}

.tree ul li:before {
    content: "";
    display: block;
    width: 10px;
    height: 0;
    border-top: 1px solid;
    margin-top: -1px;
    position: absolute;
    top: 1em;
    left: 0
}

.tree ul li:last-child:before {
    background: #fff;
    height: auto;
    top: 1em;
    bottom: 0
}

.indicator {
    margin-right: 5px;
}

.tree li a {
    text-decoration: none;
    color: #4C4C4C;
}

.tree li a:hover {
    color: #37a000;
}

.tree li button,
.tree li button:active,
.tree li button:focus {
    text-decoration: none;
    color: #369;
    border: none;
    background: transparent;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    outline: 0;
}


/*** Grid View
==============================================================================*/

.show-grid {
    margin-bottom: 15px;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #eee;
    background-color: rgba(55, 160, 0, .15);
    border: 1px solid rgba(55, 180, 0, .2);
}


/*** Table
==============================================================================*/


/*cursor*/
.cursor-clickable{
    cursor:pointer !important;
    font-size:12px !important;
}

/*--- Component: Table ---*/

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    border-top: 1px solid #e4e5e7;
}

.table > thead > tr > th,
.table > tfoot > tr > th {
    border-bottom: 0px;
}

.table-bordered {
    border: 1px solid #e4e5e7;
}

.table.no-border,
.table.no-border td,
.table.no-border th {
    border: 0;
}


/* text-center in tables */

table.text-center,
table.text-center td,
table.text-center th {
    text-align: center;
}

.table.align th {
    text-align: left;
}

.table.align td {
    text-align: right;
}

.footable-odd {
    background-color: #f9f9f9;
}


/*** Form page
==============================================================================*/

.bd-content>ol li,
.bd-content>ul li {
    margin-bottom: .25rem;
}

.bd-content h3 {
    margin-top: 0;
}

.form-control {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #e4e5e7;
}

.form-control:focus {
    border-color: #37a000;
    box-shadow: none;
}

.note-editor.note-frame {
    border: 1px solid #e4e5e7;
}

.icon-list,
.icon-th-list,
.icon-indent-right,
.icon-indent-left,
.icon-share,
.icon-picture {
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url(../img/glyphicons-halflings.png);
    background-position: 14px 14px;
    background-repeat: no-repeat;
}

.icon-font {
    background-position: -144px -48px;
}

.icon-list {
    background-position: -360px -48px;
}

.icon-th-list {
    background-position: -264px 0;
}

.icon-indent-right {
    background-position: -408px -48px;
}

.icon-indent-left {
    background-position: -384px -48px;
}

.icon-share {
    background-position: -120px -72px;
}

.icon-picture {
    background-position: -456px -48px;
}

.wysi-btn {
    margin-bottom: 0;
    font-size: 13px;
    color: #333333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(top, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border: 1px solid #cccccc;
    border-bottom-color: #b3b3b3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}


/*** Form wizard
==============================================================================*/

.f1-steps {
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

.f1-progress {
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ddd;
}

.f1-progress-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    background: #37a000;
}

.f1-step {
    position: relative;
    float: left;
    width: 33.333333%;
    padding: 0 5px;
}

.f1-step-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-top: 4px;
    background: #ddd;
    font-size: 16px;
    color: #fff;
    line-height: 40px;
    border-radius: 50%;
}

.f1-step.activated .f1-step-icon {
    background: #fff;
    border: 1px solid #37a000;
    color: #37a000;
    line-height: 38px;
}

.f1-step.active .f1-step-icon {
    width: 48px;
    height: 48px;
    margin-top: 0;
    background: #37a000;
    font-size: 22px;
    line-height: 48px;
}

.f1-step p {
    color: #ccc;
}

.f1-step.active p,
.f1-step.activated p {
    color: #37a000;
}

.f1 fieldset {
    display: none;
    text-align: left;
}

.f1-buttons {
    text-align: right;
}

.f1 .input-error {
    border-color: #f35b3f;
}

@media (max-width: 767px) {
    .navbar {
        padding-top: 0;
    }
    .navbar.navbar-no-bg {
        background: #333;
        background: rgba(51, 51, 51, 0.9);
    }
    .navbar-brand {
        height: 60px;
        margin-left: 15px;
    }
    .navbar-collapse {
        border: 0;
    }
    .navbar-toggle {
        margin-top: 12px;
    }
    .top-content {
        padding: 40px 0 110px 0;
    }
}

@media (max-width: 415px) {
    .f1 {
        padding-bottom: 20px;
    }
    .f1-buttons button {
        margin-bottom: 5px;
    }
}


/*--- checkbox ---*/

.checkbox {
    padding-left: 20px;
}

.checkbox label {
    display: inline-block;
    position: relative;
    padding-left: 5px;
}

.checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background-color: #fff;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}

.checkbox label::after {
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    top: 0;
    margin-left: -20px;
    padding-left: 3px;
    padding-top: 1px;
    font-size: 11px;
    color: #555555;
}

.checkbox input[type="checkbox"] {
    opacity: 0;
}

.checkbox input[type="checkbox"]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.checkbox input[type="checkbox"]:checked + label::after {
    font-family: 'FontAwesome';
    content: "\f00c";
}

.checkbox input[type="checkbox"]:disabled + label {
    opacity: 0.65;
}

.checkbox input[type="checkbox"]:disabled + label::before {
    background-color: #eeeeee;
    cursor: not-allowed;
}

.checkbox.checkbox-circle label::before {
    border-radius: 50%;
}

.checkbox.checkbox-inline {
    margin-top: 0;
}

.checkbox-primary input[type="checkbox"]:checked + label::before {
    background-color: #428bca;
    border-color: #428bca;
}

.checkbox-primary input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-danger input[type="checkbox"]:checked + label::before {
    background-color: #E5343D;
    border-color: #d9534f;
}

.checkbox-danger input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-info input[type="checkbox"]:checked + label::before {
    background-color: #5bc0de;
    border-color: #5bc0de;
}

.checkbox-info input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-warning input[type="checkbox"]:checked + label::before {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}

.checkbox-warning input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-success input[type="checkbox"]:checked + label::before {
    background-color: #5cb85c;
    border-color: #5cb85c;
}

.checkbox-success input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.radio {
    padding-left: 20px;
}

.radio label {
    display: inline-block;
    position: relative;
    padding-left: 5px;
}

.radio label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    background-color: #fff;
    -webkit-transition: border 0.15s ease-in-out;
    transition: border 0.15s ease-in-out;
}

.radio label::after {
    display: inline-block;
    position: absolute;
    content: " ";
    width: 11px;
    height: 11px;
    left: 3px;
    top: 3px;
    margin-left: -20px;
    border-radius: 50%;
    background-color: #555555;
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33), -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
}

.radio input[type="radio"] {
    opacity: 0;
}

.radio input[type="radio"]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.radio input[type="radio"]:checked + label::after {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}

.radio input[type="radio"]:disabled + label {
    opacity: 0.65;
}

.radio input[type="radio"]:disabled + label::before {
    cursor: not-allowed;
}

.radio.radio-inline {
    margin-top: 0;
}

.radio-primary input[type="radio"] + label::after {
    background-color: #428bca;
}

.radio-primary input[type="radio"]:checked + label::before {
    border-color: #428bca;
}

.radio-primary input[type="radio"]:checked + label::after {
    background-color: #428bca;
}

.radio-danger input[type="radio"] + label::after {
    background-color: #d9534f;
}

.radio-danger input[type="radio"]:checked + label::before {
    border-color: #d9534f;
}

.radio-danger input[type="radio"]:checked + label::after {
    background-color: #d9534f;
}

.radio-info input[type="radio"] + label::after {
    background-color: #5bc0de;
}

.radio-info input[type="radio"]:checked + label::before {
    border-color: #5bc0de;
}

.radio-info input[type="radio"]:checked + label::after {
    background-color: #5bc0de;
}

.radio-warning input[type="radio"] + label::after {
    background-color: #f0ad4e;
}

.radio-warning input[type="radio"]:checked + label::before {
    border-color: #f0ad4e;
}

.radio-warning input[type="radio"]:checked + label::after {
    background-color: #f0ad4e;
}

.radio-success input[type="radio"] + label::after {
    background-color: #5cb85c;
}

.radio-success input[type="radio"]:checked + label::before {
    border-color: #5cb85c;
}

.radio-success input[type="radio"]:checked + label::after {
    background-color: #5cb85c;
}

.form-check-label {
    cursor: pointer;
    font-weight: 600;
}

.form-control-success,
.form-control-warning,
.form-control-danger {
    padding-right: 2.25rem;
    background-repeat: no-repeat;
    background-position: center right 0.5625rem;
    background-size: 1.125rem 1.125rem;
}

.form-feedback {
    margin-top: .25rem;
}

.has-success .form-feedback,
.has-success .form-control-label,
.has-success .col-form-label,
.has-success .form-check-label,
.has-success .custom-control {
    color: #5cb85c;
}

.has-success .form-control {
    border-color: #5cb85c;
}

.has-success .form-control:focus {
    border-color: #5cb85c;
    box-shadow: none;
}

.has-success .input-group-addon {
    color: #5cb85c;
    border-color: #5cb85c;
    background-color: #eaf6ea;
}

.has-success .form-control-success {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%235cb85c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");
}

.has-warning .form-feedback,
.has-warning .form-control-label,
.has-warning .col-form-label,
.has-warning .form-check-label,
.has-warning .custom-control {
    color: #f0ad4e;
}

.has-warning .form-control {
    border-color: #f0ad4e;
}

.has-warning .form-control:focus {
    border-color: #f0ad4e;
    box-shadow: none;
}

.has-warning .input-group-addon {
    color: #f0ad4e;
    border-color: #f0ad4e;
    background-color: white;
}

.has-warning .form-control-warning {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23f0ad4e' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E");
}

.has-danger .form-feedback,
.has-danger .form-control-label,
.has-danger .col-form-label,
.has-danger .form-check-label,
.has-danger .custom-control {
    color: #d9534f;
}

.has-danger .form-control {
    border-color: #d9534f;
}

.has-danger .form-control:focus {
    border-color: #d9534f;
    box-shadow: none;
}

.has-danger .input-group-addon {
    color: #d9534f;
    border-color: #d9534f;
    background-color: #fdf7f7;
}

.has-danger .form-control-danger {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E");
}


/*** File Upliade page
==============================================================================*/


/*--- dropzone ---*/

.dropzone {
    min-height: 200px;
    border: 2px dashed #37a000;
}

.dropzone .dz-message {
    margin: 4em 0;
}


/*** All maps
==============================================================================*/


/*data maps*/

#map1 {
    position: relative;
    width: 100%;
    height: 320px;
}

#map2 {
    position: relative;
    width: 100%;
    height: 350px;
}

#map3 {
    position: relative;
    width: 100%;
    height: 350px;
}

#map4 {
    position: relative;
    width: 100%;
    height: 350px;
}

#map5 {
    position: relative;
    width: 100%;
    height: 350px;
}

#map6 {
    position: relative;
    width: 100%;
    height: 350px;
}

#map7 {
    position: relative;
    width: 100%;
    height: 350px;
}

#map8 {
    position: relative;
    width: 100%;
    height: 580px;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*** Notifications page
==============================================================================*/

pre {
    background-color: #2c3136;
    color: #f7f7f7;
    padding: 10px;
    border-radius: 5px;
    text-align: left;
    font-size: 14px;
    overflow: hidden;
    border: 1px solid #2c3136
}

pre .str {
    color: #e6db74;
}

pre .func {
    color: #66d9ef;
}

pre .val {
    color: #a381ff;
}

pre .tag {
    color: #e92772;
}

pre .attr {
    color: #a6e22d;
}

pre .arg {
    color: #fd9720;
}


/*** Mailbox page
==============================================================================*/

.mailbox {
    background-color: #fff;
    border-radius: 10px;
    margin: 30px 0 20px;
    overflow: hidden;
    border: 1px solid #e1e6ef;
}

.mailbox-header {
    padding: 0 25px;
    border-bottom: 1px solid #e1e6ef;
}

.inbox-toolbar {
    padding-top: 16.5px;
    float: right;
}

.mailbox .btn {
    border-radius: 25px;
    border-width: 2px;
    padding: 4px 15px;
}

.mailbox .btn:hover {
    border-width: 2px;
}

.mailbox .btn-default {
    color: #89949B;
    border-color: #efefef;
    background-color: #fff;
}

.mailbox .btn-default:hover {
    color: #fff;
    border-color: #62d0f1;
    background-color: #62d0f1;
}

.mailbox-body .row {
    width: 100%;
    display: table;
    table-layout: fixed;
}

.mailbox-body .inbox-nav,
.mailbox-body .inbox-mail {
    display: table-cell;
    vertical-align: top;
    float: none;
}

.inbox-nav {
    border-right: 1px solid #e4e5e7
}

.mailbox-sideber {
    margin-top: 20px;
}

.profile-usermenu ul {
    margin-bottom: 20px;
}

.profile-usermenu ul li a {
    color: #93a3b5;
    font-size: 13px;
    font-weight: 400;
}

.profile-usermenu ul li a i {
    margin-right: 8px;
    font-size: 14px;
}

.profile-usermenu ul li a:hover {
    background-color: rgba(55, 160, 0, 0.1);
    color: #37a000;
}

.profile-usermenu ul li.active {
    border-bottom: none;
}

.profile-usermenu ul li.active a {
    color: #37a000;
    background-color: rgba(55, 160, 0, 0.1);
    border-left: 2px solid #37a000;
    margin-left: -2px;
}

.profile-usermenu h6 {
    margin: 0 15px 10px;
    border-bottom: 1px solid #e4e5e7;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.inbox_item {
    color: inherit;
    display: block;
    padding-bottom: 0 !important;
    padding-left: 25px;
    padding-right: 25px;
    border-bottom: 1px solid #e4e5e7;
    background: #f9f9f9;
}

.unread {
    background: white;
}

.inbox_item:hover,
.inbox_item:focus {
    color: inherit;
    background: rgba(255, 255, 102, 0.2);
}

.inbox_item:last-child {
    border-bottom: none !important;
}

.inbox-avatar {
    padding-top: 12.5px;
    padding-bottom: 12.5px;
}

.inbox-avatar img {
    padding: 2px;
    border-radius: 100px;
    border: 2px solid #eee;
    height: 40px;
    width: 40px;
}

.inbox-avatar-text {
    text-align: left;
    display: inline-block;
    vertical-align: middle;
    color: #93a3b5;
}

.avatar-name {
    color: #43525A;
    font-weight: 600;
}

.badge.avatar-text {
    margin-right: 5px;
    display: inline;
    color: #fff;
    font-size: 72%;
    padding: 3px 10px;
    border-radius: 10px;
}

.inbox-date {
    float: right;
    color: #CDCCC8;
    text-align: right;
}

.inbox-date .date {
    position: relative;
    top: 5px;
}

@media(max-width:767px) {
    .mailbox .btn {
        margin-bottom: 10px;
    }
}

@media(min-width:1200px) {
    .inbox-avatar-text {
        padding-left: 12.5px;
    }
}

/*-- Mailbox details ---*/

.inbox-mail-details {
    line-height: 1.78571;
}


/*** Buttons page
==============================================================================*/

.btn {
    border-radius: 2px;
}

.btn-rounded {
    border-radius: 2em;
}

.w-md {
    min-width: 110px;
}

.btn-primary,
.btn-primary:hover,
.btn-success,
.btn-success:hover,
.btn-warning,
.btn-warning:hover,
.btn-danger,
.btn-danger:hover,
.btn-inverse,
.btn-inverse:hover,
.btn-purple,
.btn-purple:hover,
.btn-pink,
.btn-pink:hover,
.btn-black,
.btn-black:hover,
.btn-violet,
.btn-violet:hover {
    color: #fff;
}


/*--- Buttons default ---*/

.btn-default.btn-transparent {
    color: rgb(206, 208, 210);
    background-color: rgba(206, 208, 210, 0.2);
    border-color: rgba(206, 208, 210, 0.3);
}

.btn-default.btn-transparent:hover,
.btn-default.btn-transparent:focus,
.btn-default.btn-transparent:active {
    color: rgb(206, 208, 210);
    background-color: rgba(206, 208, 210, 0.2);
    border-color: rgba(206, 208, 210, 0.3);
}

.btn-default.btn-outline {
    color: #ced0d2;
    background-color: transparent;
}

.btn-default.btn-outline:hover,
.btn-default.btn-outline:focus,
.btn-default.btn-outline:active {
    color: #fff;
    background-color: #cacbcc;
}


/*--- Buttons primary ---*/

.btn-primary {
    background-color: #428bca;
    border-color: #3b7cb4;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #3a95e4;
    border-color: #3b7cb4;
}

.btn-primary.btn-transparent {
    color: rgb(66, 193, 202);
    background-color: rgba(66, 193, 202, 0.2);
    border-color: rgba(66, 193, 202, 0.3);
}

.btn-primary.btn-transparent:hover,
.btn-primary.btn-transparent:focus,
.btn-primary.btn-transparent:active {
    color: rgb(66, 193, 202);
    background-color: rgba(66, 193, 202, 0.2);
    border-color: rgba(66, 193, 202, 0.3);
}

.btn-primary.btn-outline {
    color: #428bca;
    background-color: transparent;
}

.btn-primary.btn-outline:hover,
.btn-primary.btn-outline:focus,
.btn-primary.btn-outline:active {
    color: #fff;
    background-color: #428bca;
}


/*--- Buttons success ---*/

.btn-success {
    background-color: #37a000;
    border-color: #318d01;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #45c203;
    border-color: #318d01;
}

.btn-success.btn-transparent {
    color: rgb(55, 160, 0);
    background-color: rgba(55, 160, 0, 0.2);
    border-color: rgba(55, 160, 0, 0.3);
}

.btn-success.btn-transparent:hover,
.btn-success.btn-transparent:focus,
.btn-success.btn-transparent:active {
    color: rgb(55, 160, 0);
    background-color: rgba(55, 160, 0, 0.2);
    border-color: rgba(55, 160, 0, 0.3);
}

.btn-success.btn-outline {
    color: #37a000;
    background-color: transparent;
}

.btn-success.btn-outline:hover,
.btn-success.btn-outline:focus,
.btn-success.btn-outline:active {
    color: #fff;
    background-color: #37a000;
}


/*--- Buttons info ---*/

.btn-info {
    background-color: #62d0f1;
    border-color: #51b3d1;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: #53d4fa;
    border-color: #51b3d1;
}

.btn-info.btn-transparent {
    color: rgb(83, 212, 250);
    background-color: rgba(83, 212, 250, 0.2);
    border-color: rgba(83, 212, 250, 0.3);
}

.btn-info.btn-transparent:hover,
.btn-info.btn-transparent:focus,
.btn-info.btn-transparent:active {
    color: rgb(83, 212, 250);
    background-color: rgba(83, 212, 250, 0.2);
    border-color: rgba(83, 212, 250, 0.3);
}

.btn-info.btn-outline {
    color: #62d0f1;
    background-color: transparent;
}

.btn-info.btn-outline:hover,
.btn-info.btn-outline:focus,
.btn-info.btn-outline:active {
    color: #fff;
    background-color: #62d0f1;
}


/*--- Buttons warning ---*/

.btn-warning {
    background-color: #FFB61E;
    border-color: #E1A21E;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: #ffc751;
    border-color: #E1A21E;
}

.btn-warning.btn-transparent {
    color: rgb(255, 199, 81);
    background-color: rgba(255, 199, 81, 0.2);
    border-color: rgba(255, 199, 81, 0.3);
}

.btn-warning.btn-transparent:hover,
.btn-warning.btn-transparent:focus,
.btn-warning.btn-transparent:active {
    color: rgb(255, 199, 81);
    background-color: rgba(255, 199, 81, 0.2);
    border-color: rgba(255, 199, 81, 0.3);
}

.btn-warning.btn-outline {
    color: #FFB61E;
    background-color: transparent;
}

.btn-warning.btn-outline:hover,
.btn-warning.btn-outline:focus,
.btn-warning.btn-outline:active {
    color: #fff;
    background-color: #FFB61E;
}


/*--- Buttons denger ---*/

.btn-danger {
    background-color: #E5343D;
    border-color: #BF2D35;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #e7575e;
    border-color: #BF2D35;
}

.btn-danger.btn-transparent {
    color: rgb(229, 52, 61);
    background-color: rgba(229, 52, 61, 0.2);
    border-color: rgba(229, 52, 61, 0.3);
}

.btn-danger.btn-transparent:hover,
.btn-danger.btn-transparent:focus,
.btn-danger.btn-transparent:active {
    color: rgb(229, 52, 61);
    background-color: rgba(229, 52, 61, 0.2);
    border-color: rgba(229, 52, 61, 0.3);
}

.btn-danger.btn-outline {
    color: #E5343D;
    background-color: transparent;
}

.btn-danger.btn-outline:hover,
.btn-danger.btn-outline:focus,
.btn-danger.btn-outline:active {
    color: #fff;
    background-color: #E5343D;
}


/*--- Buttons inverse ---*/

.btn-inverse {
    background-color: #3b3e47;
    border-color: #292d3b;
}

.btn-inverse:hover,
.btn-inverse:focus,
.btn-inverse:active {
    background-color: #2f3239;
    border-color: #292d3b;
}

.btn-inverse.btn-transparent {
    color: rgb(59, 62, 71);
    background-color: rgba(59, 62, 71, 0.2);
    border-color: rgba(59, 62, 71, 0.3);
}

.btn-inverse.btn-transparent:hover,
.btn-inverse.btn-transparent:focus,
.btn-inverse.btn-transparent:active {
    color: rgb(59, 62, 71);
    background-color: rgba(59, 62, 71, 0.2);
    border-color: rgba(59, 62, 71, 0.3);
}

.btn-inverse.btn-outline {
    color: #3b3e47;
    background-color: transparent;
}

.btn-inverse.btn-outline:hover,
.btn-inverse.btn-outline:focus,
.btn-inverse.btn-outline:active {
    color: #fff;
    background-color: #3b3e47;
}


/*--- Buttons purple ---*/

.btn-purple {
    background-color: #5b69bc;
    border-color: #4c59a7;
}

.btn-purple:hover,
.btn-purple:focus,
.btn-purple:active {
    background-color: #4a59b4;
    border-color: #4c59a7;
}

.btn-purple.btn-transparent {
    color: rgb(91, 105, 188);
    background-color: rgba(91, 105, 188, 0.2);
    border-color: rgba(91, 105, 188, 0.3);
}

.btn-purple.btn-transparent:hover,
.btn-purple.btn-transparent:focus,
.btn-purple.btn-transparent:active {
    color: rgb(91, 105, 188);
    background-color: rgba(91, 105, 188, 0.2);
    border-color: rgba(91, 105, 188, 0.3);
}

.btn-purple.btn-outline {
    color: #5b69bc;
    background-color: transparent;
}

.btn-purple.btn-outline:hover,
.btn-purple.btn-outline:focus,
.btn-purple.btn-outline:active {
    color: #fff;
    background-color: #5b69bc;
}


/*--- Buttons pink ---*/

.btn-pink {
    background-color: #ff8acc;
    border-color: #db6fac;
}

.btn-pink:hover,
.btn-pink:focus,
.btn-pink:active {
    background-color: #ff70c1;
    border-color: #db6fac;
}

.btn-pink.btn-transparent {
    color: rgb(255, 138, 204);
    background-color: rgba(255, 138, 204, 0.2);
    border-color: rgba(255, 138, 204, 0.3);
}

.btn-pink.btn-transparent:hover,
.btn-pink.btn-transparent:focus,
.btn-pink.btn-transparent:active {
    color: rgb(255, 138, 204);
    background-color: rgba(255, 138, 204, 0.2);
    border-color: rgba(255, 138, 204, 0.3);
}

.btn-pink.btn-outline {
    color: #ff8acc;
    background-color: transparent;
}

.btn-pink.btn-outline:hover,
.btn-pink.btn-outline:focus,
.btn-pink.btn-outline:active {
    color: #fff;
    background-color: #ff8acc;
}


/*--- Buttons black ---*/

.btn-black {
    background-color: #000;
    border-color: #6B6B6B;
}

.btn-black:hover,
.btn-black:focus,
.btn-black:active {
    background-color: #222;
    border-color: #6B6B6B;
}

.btn-black.btn-transparent {
    color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.3);
}

.btn-black.btn-transparent:hover,
.btn-black.btn-transparent:focus,
.btn-black.btn-transparent:active {
    color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.3);
}

.btn-black.btn-outline {
    color: #000;
    background-color: transparent;
}

.btn-black.btn-outline:hover,
.btn-black.btn-outline:focus,
.btn-black.btn-outline:active {
    color: #fff;
    background-color: #000;
}


/*--- Buttons violet ---*/

.btn-violet {
    background-color: #8E23E0;
    border-color: #6C13B1;
}

.btn-violet:hover,
.btn-violet:focus,
.btn-violet:active {
    background-color: #a13eee;
    border-color: #6C13B1;
}

.btn-violet.btn-transparent {
    color: rgb(142, 35, 224);
    background-color: rgba(142, 35, 224, .2);
    border-color: rgba(142, 35, 224, 0.3);
}

.btn-violet.btn-transparent:hover,
.btn-violet.btn-transparent:focus,
.btn-violet.btn-transparent:active {
    color: rgb(142, 35, 224);
    background-color: rgba(142, 35, 224, .2);
    border-color: rgba(142, 35, 224, 0.3);
}

.btn-violet.btn-outline {
    color: #8E23E0;
    background-color: transparent;
}

.btn-violet.btn-outline:hover,
.btn-violet.btn-outline:focus,
.btn-violet.btn-outline:active {
    color: #fff;
    background-color: #8E23E0;
}


/*--- Buttons label ---*/

.btn-label {
    position: relative;
    left: -14px;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px 0 0 2px;
}

.btn-labeled {
    padding-top: 0;
    padding-bottom: 0;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}


/*** Login page
==============================================================================*/

.login-wrapper {
    padding: 10px;
}

.back-link {
    float: left;
    width: 100%;
    margin: 10px;
}

.container-center {
    max-width: 400px;
    margin: 10% auto 0;
    padding: 20px;
}

.container-center.lg {
    max-width: 800px;
}

.view-header {
    margin: 10px 0;
}

.view-header .header-icon {
    font-size: 60px;
    color: #37a000;
    width: 68px;
    float: left;
    margin-top: -8px;
    line-height: 0;
}

.view-header .header-title {
    margin-left: 68px;
}

.view-header .header-title h3 {
    margin-bottom: 2px;
}


/*** Lockscreen page
==============================================================================*/

.lock-wrapper-page {
    margin: 7.5% auto;
    width: 360px;
    padding: 15px;
}

.logo-lock {
    font-size: 50px;
    font-weight: 600;
    font-family: 'Alegreya Sans', sans-serif;
}

.user-thumb img {
    height: 88px;
    margin: 0px auto;
    width: 88px;
}

.lock-wrapper-page .form-control {
    padding-left: 40px;
    border: 1px solid #37a000;
}

.lock-wrapper-page .fa-key {
    left: 15px !important;
    top: 10px;
    font-size: 15px;
    position: absolute;
    z-index: 99;
}

@media (max-width: 767px) {
    .lock-wrapper-page {
        margin: 15% auto;
        width: 320px;
    }
}


/*** Typography page
==============================================================================*/

.headding_ex h1,
.headding_ex h2,
.headding_ex h3,
.headding_ex h4,
.headding_ex h5,
.headding_ex h6 {
    margin: 0;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/*** list page
==============================================================================*/


/*--- Nestable ---*/

.dd {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    max-width: 600px;
    list-style: none;
    font-size: 13px;
    line-height: 20px;
}

.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dd-list .dd-list {
    padding-left: 30px;
}

.dd-item {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 20px;
    font-size: 13px;
    line-height: 20px;
}

.dd-handle {
    display: block;
    margin: 5px 0;
    padding: 5px 10px;
    color: #333;
    text-decoration: none;
    border: 1px solid #e4e5e7;
    background: #f7f9fa;
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    cursor: pointer;
}

.dd-handle:hover {
    color: #37a000;
    font-weight: 600;
    background: #fff;
}

.dd-item > button {
    display: block;
    position: relative;
    cursor: pointer;
    float: left;
    width: 25px;
    height: 20px;
    margin: 5px 0;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
}

.dd-item > button:before {
    content: '+';
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
}

.dd-item > button[data-action="collapse"]:before {
    content: '-';
}

#nestable .dd-handle {
    color: inherit;
    border: 1px dashed #e4e5e7;
    background: #f7f9fa;
    padding: 8px 10px;
}

#nestable .dd-handle:hover {
    color: #37a000;
    font-weight: 600;
    background: #fff;
}

#nestable-output,
#nestable2-output {
    font-size: 12px;
    padding: 25px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#nestable .dd-item > button {
    font-family: FontAwesome;
    height: 34px;
    width: 33px;
    color: #c1c1c1;
}

#nestable .dd-item > button[data-action="collapse"]::before {
    content: "\f068";
}

#nestable .dd-item > button::before {
    content: "\f067";
}

#nestable span.label {
    margin-right: 10px;
}

.dd-handle span {
    font-weight: bold;
}


/*** progressbers page
==============================================================================*/

.progress {
    -webkit-box-shadow: none !important;
    background-color: #f5f5f5;
    box-shadow: none !important;
    height: 10px;
    overflow: visible;
}

.progress-bar {
    box-shadow: none;
    font-size: 8px;
    font-weight: 600;
    line-height: 12px;
}

.progress-animated {
    -webkit-animation-duration: 5s;
    -webkit-animation-name: animationProgress;
    -webkit-transition: 5s all;
    animation-duration: 5s;
    animation-name: animationProgress;
    transition: 5s all;
}

.progress.progress-sm {
    height: 5px !important;
}

.progress.progress-md {
    height: 15px !important;
}

.progress.progress-lg {
    height: 20px !important;
}

.progress.progress-md .progress-bar {
    font-size: 10.8px;
    line-height: 14.4px;
}

.progress.progress-lg .progress-bar {
    font-size: 12px;
    line-height: 20px;
}

.progress-bar-primary {
    background-color: #428bca;
}

.progress-bar-success {
    background-color: #37a000;
}

.progress-bar-info {
    background-color: #62d0f1;
}

.progress-bar-warning {
    background-color: #FFB61E;
}

.progress-bar-danger {
    background-color: #E5343D;
}

.progress-bar-inverse {
    background-color: #3b3e47;
}

.progress-bar-pink {
    background-color: #ff8acc;
}

.progress-bar-violet {
    background-color: #8E23E0;
}

.progress-bar .tooltip {
    position: relative;
    float: right;
}

.progress-bar .tooltip .tooltip-inner {
    background-color: #f5f5f5;
    padding: 4px 8px;
    color: #fff;
    font-weight: bold;
    font-size: 9px;
}

.popOver + .tooltip .tooltip-arrow {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #000;
}

.progress-bar-primary .tooltip .tooltip-inner {
    background-color: #428bca;
}

.progress-bar-primary .tooltip.top .tooltip-arrow {
    border-top: 5px solid #428bca;
}

.progress-bar-success .tooltip .tooltip-inner {
    background-color: #37a000;
}

.progress-bar-success .tooltip.top .tooltip-arrow {
    border-top: 5px solid #37a000;
}

.progress-bar-info .tooltip .tooltip-inner {
    background-color: #62d0f1;
}

.progress-bar-info .tooltip.top .tooltip-arrow {
    border-top: 5px solid #62d0f1;
}

.progress-bar-warning .tooltip .tooltip-inner {
    background-color: #FFB61E;
}

.progress-bar-warning .tooltip.top .tooltip-arrow {
    border-top: 5px solid #FFB61E;
}

.progress-bar-danger .tooltip .tooltip-inner {
    background-color: #E5343D;
}

.progress-bar-danger .tooltip.top .tooltip-arrow {
    border-top: 5px solid #E5343D;
}

.progress-bar-inverse .tooltip .tooltip-inner {
    background-color: #3b3e47;
}

.progress-bar-inverse .tooltip.top .tooltip-arrow {
    border-top: 5px solid #3b3e47;
}

.progress-bar-pink .tooltip .tooltip-inner {
    background-color: #ff8acc;
}

.progress-bar-pink .tooltip.top .tooltip-arrow {
    border-top: 5px solid #ff8acc;
}

.progress-bar-violet .tooltip .tooltip-inner {
    background-color: #8E23E0;
}

.progress-bar-violet .tooltip.top .tooltip-arrow {
    border-top: 5px solid #8E23E0;
}


/*** Portfolio page
==============================================================================*/

.card {
    margin-bottom: 20px;
}

.card-header {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-image: url(../img/profile-bg.jpg);
    background-size: cover;
    background-position: center center;
    padding: 30px 15px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.card-header-menu {
    position: absolute;
    top: 0;
    right: 0;
    height: 4em;
    width: 4em;
}

.card-header-menu:after {
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    border-left: 2em solid transparent;
    border-bottom: 2em solid transparent;
    border-right: 2em solid #37a000;
    border-top: 2em solid #37a000;
    border-top-right-radius: 4px;
}

.card-header-menu i {
    position: absolute;
    top: 9px;
    right: 9px;
    color: #fff;
    z-index: 1;
}

.card-header-headshot {
    height: 6em;
    width: 6em;
    border-radius: 50%;
    border: 2px solid #37a000;
    background-image: url(../img/avatar.png);
    background-size: cover;
    background-position: center center;
    box-shadow: 1px 3px 3px #3E4142;
}

.card-content-member {
    position: relative;
    background-color: #fff;
    padding: 1em;
    box-shadow: 0 2px 2px rgba(62, 65, 66, 0.15);
}

.card-content-member {
    text-align: center;
}

.card-content-member p i {
    font-size: 16px;
    margin-right: 10px;
}

.card-content-languages {
    background-color: #fff;
    padding: 15px;
}

.card-content-languages .card-content-languages-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-bottom: 0.5em;
}

.card-content-languages .card-content-languages-group:last-of-type {
    padding-bottom: 0;
}

.card-content-languages .card-content-languages-group > div:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 5em;
    flex: 0 0 5em;
}

.card-content-languages h4 {
    line-height: 1.5em;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.card-content-languages li {
    display: inline-block;
    padding-right: 0.5em;
    font-size: 0.9em;
    line-height: 1.5em;
}

.card-content-summary {
    background-color: #fff;
    padding: 15px;
}

.card-content-summary p {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.card-footer-stats {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: #2c3136;
}

.card-footer-stats div {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 33%;
    flex: 1 0 33%;
    padding: 0.75em;
}

.card-footer-stats div:nth-of-type(2) {
    border-left: 1px solid #3E4142;
    border-right: 1px solid #3E4142;
}

.card-footer-stats p {
    font-size: 0.8em;
    color: #A6A6A6;
    margin-bottom: 0.4em;
    font-weight: 600;
    text-transform: uppercase;
}

.card-footer-stats i {
    color: #ddd;
}

.card-footer-stats span {
    color: #ddd;
}

.card-footer-stats span.stats-small {
    font-size: 0.9em;
}

.card-footer-message {
    background-color: #37a000;
    padding: 15px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.card-footer-message h4 {
    margin: 0;
    text-align: center;
    color: #fff;
    font-weight: 400;
}

.review-number {
    float: left;
    width: 35px;
    line-height: 1;
}

.review-number div {
    height: 9px;
    margin: 5px 0
}

.review-progress {
    float: left;
    width: 230px;
}

.review-progress .progress {
    margin: 8px 0;
}

.progress-number {
    margin-left: 10px;
    float: left;
}

.rating-block,
.review-block {
    background-color: #fff;
    border: 1px solid #e1e6ef;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.review-block {
    margin-bottom: 20px;
}

.review-block-img img {
    height: 60px;
    width: 60px;
}

.review-block-name {
    font-size: 12px;
    margin: 10px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-block-name a {
    color: #374767;
}

.review-block-date {
    font-size: 12px;
}

.review-block-rate {
    font-size: 13px;
    margin-bottom: 15px;
}

.review-block-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.review-block-description {
    font-size: 13px;
}


/*** Calendre page
==============================================================================*/

#calendar {
    max-width: 900px;
    margin: 0 auto;
}

#external-events h4 {
    margin-top: 0;
}

#external-events .fc-event {
    margin: 10px 0;
    cursor: pointer;
}

#external-events p {
    margin: 1.5em 0 0;
    font-size: 13px;
}

#external-events p input {
    margin: 0;
    vertical-align: middle;
}

#external-events p label {
    font-weight: 600;
}


/*** Timeline page
==============================================================================*/


/*--- Vertical timeline ---*/

.cbp_tmtimeline {
    margin: 30px 0 0 0;
    padding: 0;
    list-style: none;
    position: relative;
}


/* The line */

.cbp_tmtimeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e1e6ef;
    left: 20.5%;
    margin-left: -10px;
}


/* The date/time */

.cbp_tmtimeline > li .cbp_tmtime {
    display: block;
    width: 25%;
    padding-right: 100px;
    position: absolute;
}

.cbp_tmtimeline > li .cbp_tmtime span {
    display: block;
    text-align: right;
    font-family: 'Alegreya Sans', sans-serif;
}

.cbp_tmtimeline > li .cbp_tmtime span:first-child {
    font-size: 15px;
    color: #37a000;
    font-weight: 600;
}

.cbp_tmtimeline > li .cbp_tmtime span:last-child {
    font-size: 50px;
}


/* Right content */

.cbp_tmtimeline > li .cbp_tmlabel {
    margin: 0 0 15px 27%;
    background: #fff;
    padding: 2em;
    position: relative;
    border-radius: 4px;
    border: 1px solid #e1e6ef;
}

.cbp_tmtimeline > li .cbp_tmlabel h2 {
    margin-top: 0px;
    padding: 0 0 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}


/* The triangle */

.cbp_tmtimeline > li .cbp_tmlabel:after {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #fff;
    border-width: 10px;
    top: 15px;
}


/* The icons */

.cbp_tmtimeline > li i {
    width: 50px;
    height: 50px;
    text-transform: none;
    font-size: 24px;
    line-height: 46px;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    color: #374767;
    background: #fff;
    border-radius: 50%;
    text-align: center;
    left: 19.4%;
    top: 0;
    margin: 0 0 0 -25px;
    border: 2px solid #e1e6ef;
}

@media screen and (max-width: 65.375em) {
    .cbp_tmtimeline > li .cbp_tmtime span:last-child {
        font-size: 25px;
    }
}

@media screen and (max-width: 47.2em) {
    .cbp_tmtimeline:before {
        display: none;
    }
    .cbp_tmtimeline > li .cbp_tmtime {
        width: 100%;
        position: relative;
        padding: 0 0 20px 0;
    }
    .cbp_tmtimeline > li .cbp_tmtime span {
        text-align: left;
    }
    .cbp_tmtimeline > li .cbp_tmlabel {
        margin: 0 0 30px 0;
        padding: 1em;
        font-weight: 400;
        font-size: 95%;
    }
    .cbp_tmtimeline > li .cbp_tmlabel:after {
        right: auto;
        left: 20px;
        border-right-color: transparent;
        border-bottom-color: #fff;
        top: -20px;
    }
    .cbp_tmtimeline > li i {
        position: relative;
        float: right;
        left: auto;
        margin: -55px 0px 0 0px;
    }
}


/*** Pricing page
==============================================================================*/

.pricing {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 3em;
}

.pricing .pricing_item {
    font-family: 'Alegreya Sans', sans-serif;
    padding: 30px;
    margin: 0 0 20px;
    color: #262b38;
    background: #fff;
    cursor: default;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    text-align: center;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 300px;
    flex: 0 1 300px;
}

.pricing .pricing_title {
    font-size: 30px;
    margin: 8px 0 0;
    color: #374767;
    font-family: 'Alegreya Sans', sans-serif;
}

.pricing i {
    display: inline-block;
    min-width: 30px;
    color: #8A9790;
    vertical-align: middle;
}

.pricing .pricing_price {
    font-size: 80px;
    font-weight: 800;
    color: #37a000;
    position: relative;
    z-index: 100;
}

.pricing .pricing_currency {
    font-size: 0.5em;
    vertical-align: super;
}

.pricing .pricing_period {
    font-size: 0.25em;
    display: inline-block;
    padding: 0 0 0 8px;
    color: rgba(44, 49, 54, 0.3);
}

.pricing .pricing_sentence {
    font-weight: bold;
    margin: 0 0 16px 0;
    padding: 0 0 8px;
    color: #37a000;
}

.pricing .pricing_feature-list {
    margin: 0;
    padding: 24px 8px 40px;
    list-style: none;
    font-size: 15px;
    text-align: left;
}

.pricing .pricing_feature {
    padding: 2px 0;
    color: #7a7a7a;
}

.pricing .pricing_action {
    font-weight: bold;
    margin-top: auto;
    padding: 1em 2em;
    color: #fff;
    border-radius: 5px;
    background: #37a000;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    border: none;
}

.pricing .pricing_action:hover,
.pricing .pricing_action:focus {
    background-color: #2c3136;
}

.pricing .pricing_action:focus {
    outline: none;
}

@media screen and (min-width: 66.250em) {
    .pricing .pricing_item {
        margin: 1.5em 0;
    }
    .pricing .pricing_item_featured {
        z-index: 10;
        margin: 0;
        font-size: 1.15em;
    }
}


/*** Label, Badges, Alearts page
==============================================================================*/


/*--- Labels ---*/

.label-pill {
    border-radius: 5em;
}

.label-default-outline {
    color: #777777;
    background-color: transparent;
    border: 2px solid #ced0d2;
}

.label-default {
    color: white;
    background-color: #ced0d2;
    border: 2px solid #ced0d2;
}

.label-primary-outline {
    color: #3a95e4;
    background-color: transparent;
    border: 2px solid #3a95e4;
}

.label-primary {
    color: white;
    background-color: #3a95e4;
    border: 2px solid #3a95e4;
}

.label-success-outline {
    color: #45c203;
    background-color: transparent;
    border: 2px solid #45c203;
}

.label-success {
    color: white;
    background-color: #45c203;
    border: 2px solid #45c203;
}

.label-info-outline {
    color: #53d4fa;
    background-color: transparent;
    border: 2px solid #53d4fa;
}

.label-info {
    color: white;
    background-color: #53d4fa;
    border: 2px solid #53d4fa;
}

.label-warning-outline {
    color: #ffc751;
    background-color: transparent;
    border: 2px solid #ffc751;
}

.label-warning {
    color: white;
    background-color: #ffc751;
    border: 2px solid #ffc751;
}

.label-danger-outline {
    color: #E5343D;
    background-color: transparent;
    border: 2px solid #E5343D;
}

.label-danger {
    color: white;
    background-color: #E5343D;
    border: 2px solid #E5343D;
}


/*--- Badges ---*/

.nav-pills > li.active > a,
.nav-pills > li.active > a:focus,
.nav-pills > li.active > a:hover {
    color: white;
    background-color: #3a95e4;
}

.nav-pills > li > a:hover {
    color: #3a95e4;
    background-color: transparent;
}

.nav-pills > li > a {
    border-radius: 5px;
    padding: 10px;
    color: #3a95e4;
    font-weight: 600;
}

.badge-inner {
    margin-bottom: 15px;
}

.badge-inner a {
    color: #3a95e4;
    font-weight: 600;
}

.badge {
    color: white;
    background-color: #3a95e4;
    font-size: 10px;
    border-radius: 5px;
    padding: 6px 7px;
}

.active .badge {
    color: #9875ab !important;
}


/*--- Alerts ---*/

.alert {
    border: 2px solid transparent;
    border-radius: 5px;
}

.alert-success {
    color: white;
    background-color: #45c203;
    border-color: #349800;
}

.alert-success .close {
    color: #349800;
}

.alert-info {
    color: white;
    background-color: #53d4fa;
    border-color: #00b1e6;
}

.alert-info .close {
    color: #00b1e6;
}

.alert-warning {
    color: white;
    background-color: #ffc751;
    border-color: #efa200;
}

.alert-warning .close {
    color: #efa200;
}

.alert-danger {
    color: white;
    background-color: #E5343D;
    border-color: #BD000A;
}

.alert-danger .close {
    color: #BD000A;
}

.alert-dismissible .close {
    font-size: 16px;
    top: -14px;
    right: -31px;
    text-shadow: none;
    opacity: 1;
}

.alert-dismissible .close:hover {
    opacity: 0.8;
}

.alert-sm {
    font-size: 13px;
    padding: 5px;
}

.alert i {
    margin: 0 10px 0 5px;
}

.alert-sm.alert-dismissible .close {
    top: -5px;
    right: -2px;
}


/*404 page & 405 page
==============================================================================*/

.middle-box,
.middle-box2 {
    max-width: 768px;
    z-index: 100;
    margin: 0 auto;
    padding: 15px;
    padding-top: 40px;
}

.error-text h3 span {
    font-weight: 400;
}

.error-desc {
    text-align: left;
}

.error-desc p {
    font-family: 'Alegreya Sans', sans-serif;
}

.error-desc .navbar-form {
    margin-top: 30px;
}

.error-desc .navbar-form .form-control {
    border: 1px solid #37a000;
}

@-webkit-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@media (max-width: 767px) {
    .error-text h1 {
        font-size: 115px;
        font-weight: 800;
        margin-bottom: 0;
        text-align: center
    }
    .error-text h3 {
        font-size: 30px;
        text-align: center;
        font-weight: 300;
        margin-top: 0;
        margin-bottom: 25px;
    }
    .error-desc p {
        font-size: 16px;
        text-align: center;
        margin-bottom: 25px;
    }
}

@media (min-width: 768px) {
    .error-text h1 {
        font-size: 280px;
        font-weight: 800;
        float: left;
    }
    .error-text h3 {
        font-size: 55px;
        text-transform: uppercase;
        text-align: left;
        margin-left: 19px;
        font-weight: 300;
        float: left;
        margin-top: 140px;
    }
    .error-desc p {
        font-size: 18px;
    }
    .arrow {
        position: absolute;
        bottom: 0;
        left: 168px;
    }
    .bounce {
        -webkit-animation: bounce 2s infinite;
        animation: bounce 2s infinite;
    }
    .m-r-90 {
        margin-right: 155px;
    }
    .error-desc .navbar-form {
        padding: 0px;
    }
}


/*--- 505 page ---*/

.error-text2 h1 {
    font-size: 280px;
    font-weight: 800;
}

.error-desc2 p {
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .error-text2 h1 {
        font-size: 115px;
    }
    .error-desc2 p {
        font-size: 14px;
    }
}


/* Widgets page
==============================================================================*/


/*-- Weather widgets --*/

.wdgt-row,
.prd-img {
    position: relative;
}

.wdgt-row {
    text-align: center !important;
}

.wdgt-row img {
    width: 100%;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
}

.wdt-head {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
    color: #fff;
    position: absolute;
    left: 20px;
    bottom: 15px;
}

.country-select {
    position: absolute;
    top: 10px;
    right: 10px;
}

.styled {
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 4px 8px;
    font-size: 12px;
}

.weather-full-info {
    color: #cbcbcb;
}

.weather-full-info h1 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.weather-full-info .today-status i {
    font-size: 40px;
    color: #1fb5ad;
}

.weather-full-info .degree {
    font-size: 30px;
    font-weight: 600;
    display: inline-block;
    padding-left: 20px;
}

.weather-full-info .degree:after {
    content: "o";
    position: relative;
    top: -12px;
    font-size: 16px;
}

.weather-full-info ul {
    margin-bottom: 0;
}

.weather-full-info ul li {
    display: inline-block;
    width: 15.9%;
    text-align: center;
    border-left: 1px solid #f1f2f7;
}

.weather-full-info h2 {
    font-size: 14px;
    margin: 0 0 10px 0;
}

.weather-full-info ul li i {
    font-size: 25px;
}

.weather-full-info .statistics {
    padding-top: 5px;
}

.weather-full-info .statistics:after {
    content: "o";
    position: relative;
    top: -5px;
    font-size: 10px;
}

@media (max-width: 767px) {
    .weather-full-info ul {
        padding: 0;
    }
    .weather-full-info ul li {
        width: 30%;
        margin-bottom: 10px;
    }
}


/*-- Twitter feed --*/

.twt-feed {
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    color: #FFFFFF;
    padding: 40px 10px 10px;
    position: relative;
    min-height: 170px;
}

.twt-feed.blue-bg {
    background: #58C9F3;
}

.corner-ribon {
    text-align: center;
    width: 71px;
    height: 71px;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
}

.black-ribon {
    background: url("../img/twitter_corner_black.png") no-repeat;
}

.corner-ribon i {
    padding: 10px 0 0 35px;
    color: #fff;
}

.twt-feed .wtt-mark {
    color: rgba(255, 255, 255, 0.15);
    font-size: 160px;
    position: absolute;
    top: 10px;
    left: 40%;
}

.twt-feed a {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    float: left;
    margin: 0 10px;
}

.twt-feed a img {
    height: 85px;
    width: 85px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

.twt-feed h1 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #fff;
}

.twt-feed p {
    color: #fff;
}

.twt-category {
    display: inline-block;
    margin-bottom: 11px;
    margin-top: 10px;
    width: 100%;
    padding: 15px 0;
    color: #74829C;
}

.twt-category ul {
    padding: 0;
    margin: 0;
    display: inline-block;
    width: 100%;
}

.twt-category ul li {
    display: inline-block;
    width: 32%;
    text-align: center;
    border-right: 1px solid #e6e6e6;
    display: inline-block;
}

.twt-category ul li:last-child {
    border-right: none;
}

.twt-category ul li {
    color: #bdbdbd;
    font-size: 13px;
}

.twt-category h5 {
    font-size: 18px;
    font-weight: 400 !important;
}

.twt-category ul li h5 {
    margin: 0 0 5px 0;
    text-transform: uppercase;
    font-weight: 300;
}

.twt-write .t-text-area {
    background: #f4f4f6;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    border: none;
    height: 40px;
    color: #c9c9c9;
    margin-bottom: 20px;
    padding-top: 10px;
}

.twt-footer {
    padding: 12px 15px;
}

.twt-footer,
.twt-footer a {
    color: #d2d2d2;
}

.twt-footer i {
    padding-right: 10px;
}


/*-- Monthly calender --*/

.monthly_calender {
    width: 100%;
    max-width: 600px;
    display: inline-block;
}


/*-- Profile widget --*/

.profile-widget .panel-heading {
    min-height: 200px;
    background: #fff url(../img/The-Lion-King-Desktop-1024x640.jpg) no-repeat top center;
    background-size: cover;
}

.profile-widget .media-heading {
    color: #5B5147;
}

.profile-widget .panel-body {
    padding: 25px 15px;
}

.profile-widget .panel-body .img-circle {
    height: 90px;
    width: 90px;
    padding: 8px;
    border: 1px solid #e2dfdc;
}

.profile-widget .panel-footer {
    padding: 0px;
    border: none;
}

.profile-widget .panel-footer .btn-group .btn {
    border: none;
    font-size: 1.2em;
    background-color: #F6F1ED;
    color: #BAACA3;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding: 15px 0;
}

.profile-widget .panel-footer .btn-group .btn:hover {
    color: #F6F1ED;
    background-color: #8F7F70;
}

.profile-widget .panel-footer .btn-group>.btn:not(:first-child) {
    border-left: 1px solid #fff;
}

.profile-widget .panel-footer .btn-group .highlight {
    color: #E56E4C;
}


/*-- Login widget --*/

.login-widget .panel-body .input-group {
    margin-bottom: 15px;
}

.login-widget .panel-footer {
    padding: 0px;
}


/* ============================================
   PATIENT PROFILE - PREMIUM CARD DESIGN
   ============================================ */

#PrintMe.patient-profile-card,
.patient-profile-card {
    border: none !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 60px rgba(0, 60, 60, 0.14) !important;
    overflow: hidden !important;
    background: #ffffff !important;
    margin-bottom: 30px !important;
}

#PrintMe .panel-body,
.patient-profile-card .panel-body {
    padding: 0 !important;
}

/* ---- Modern pill tabs ---- */
.patient-profile-card .nav-tabs {
    border-bottom: none !important;
    display: flex !important;
    gap: 10px !important;
    padding: 22px 26px 18px !important;
    background: #ffffff !important;
}

.patient-profile-card .nav-tabs > li > a {
    border: none !important;
    border-radius: 999px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.4px !important;
    color: #64748b !important;
    background: #f1f5f9 !important;
    transition: all 0.25s ease !important;
}

.patient-profile-card .nav-tabs > li > a:hover {
    color: #0F766E !important;
    background: #e0f2f1 !important;
}

.patient-profile-card .nav-tabs > li > a i {
    margin-right: 9px !important;
    font-size: 14px !important;
}

.patient-profile-card .nav-tabs > li.active > a,
.patient-profile-card .nav-tabs > li.active > a:focus,
.patient-profile-card .nav-tabs > li.active > a:hover {
    border: none !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0F766E, #004D4D) !important;
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.35) !important;
}

/* ---- Gradient hero banner ---- */
.patient-hero {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #0F766E 0%, #0b5d5d 45%, #003939 100%) !important;
    padding: 46px 32px 34px !important;
    text-align: center !important;
}

.patient-hero .hero-shape {
    position: absolute !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.07) !important;
    pointer-events: none !important;
}

.patient-hero .shape-1 { width: 240px !important; height: 240px !important; top: -90px !important; left: -70px !important; }
.patient-hero .shape-2 { width: 320px !important; height: 320px !important; bottom: -160px !important; right: -90px !important; }
.patient-hero .shape-3 { width: 120px !important; height: 120px !important; top: 40px !important; right: 14% !important; background: rgba(255, 255, 255, 0.05) !important; }

.patient-hero-content {
    position: relative !important;
    z-index: 1 !important;
    animation: ppFadeUp 0.55s ease both !important;
}

/* ---- Avatar with animated glow ring ---- */
.patient-avatar-ring {
    position: relative !important;
    width: 152px !important;
    height: 152px !important;
    margin: 0 auto 18px !important;
    padding: 6px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.35)) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28) !important;
}

.patient-avatar-ring::before {
    content: '' !important;
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    bottom: -10px !important;
    left: -10px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.30) !important;
    animation: ppPulse 2.6s ease-out infinite !important;
}

.patient-hero-img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: 4px solid #ffffff !important;
    object-fit: cover !important;
    display: block !important;
    background: #e0f2f1 !important;
}

.patient-hero-name {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.5px !important;
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18) !important;
}

/* ---- Glassy patient ID chip ---- */
.patient-id-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 8px 20px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    backdrop-filter: blur(6px) !important;
}

.patient-id-chip i { font-size: 13px !important; }

/* ---- Quick stat chips (header ke andar, glass row) ---- */
.patient-quick-stats {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 28px auto 0 !important;
    max-width: 860px !important;
    padding: 0 10px !important;
}

.patient-quick-stats .stat-chip {
    flex: 1 1 150px !important;
    max-width: 200px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    backdrop-filter: blur(6px) !important;
    animation: ppFadeUp 0.55s ease both !important;
}

.patient-quick-stats .stat-chip:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    transform: translateY(-3px) !important;
}

.stat-chip .stat-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
}

.stat-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

.stat-label {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.9px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 2px !important;
}

.stat-value {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.stat-value.stat-active { color: #6ee7b7 !important; }
.stat-value.stat-inactive { color: #fca5a5 !important; }

/* ---- Colour tiles for icons ---- */
.tile-teal   { background: linear-gradient(135deg, #0F766E, #2dd4bf) !important; box-shadow: 0 6px 14px rgba(15, 118, 110, 0.35) !important; }
.tile-red    { background: linear-gradient(135deg, #dc2626, #f87171) !important; box-shadow: 0 6px 14px rgba(220, 38, 38, 0.35) !important; }
.tile-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa) !important; box-shadow: 0 6px 14px rgba(124, 58, 237, 0.35) !important; }
.tile-green  { background: linear-gradient(135deg, #059669, #34d399) !important; box-shadow: 0 6px 14px rgba(5, 150, 105, 0.35) !important; }
.tile-blue   { background: linear-gradient(135deg, #2563eb, #60a5fa) !important; box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35) !important; }
.tile-orange { background: linear-gradient(135deg, #ea580c, #fb923c) !important; box-shadow: 0 6px 14px rgba(234, 88, 12, 0.35) !important; }
.tile-cyan   { background: linear-gradient(135deg, #0891b2, #22d3ee) !important; box-shadow: 0 6px 14px rgba(8, 145, 178, 0.35) !important; }
.tile-indigo { background: linear-gradient(135deg, #4f46e5, #818cf8) !important; box-shadow: 0 6px 14px rgba(79, 70, 229, 0.35) !important; }
.tile-amber  { background: linear-gradient(135deg, #d97706, #fbbf24) !important; box-shadow: 0 6px 14px rgba(217, 119, 6, 0.35) !important; }
.tile-pink   { background: linear-gradient(135deg, #db2777, #f472b6) !important; box-shadow: 0 6px 14px rgba(219, 39, 119, 0.35) !important; }

/* ---- Details body ---- */
.patient-card-body-new {
    padding: 34px 30px 8px !important;
}

.pp-section-title {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    color: #0F766E !important;
    margin: 0 0 18px !important;
}

.pp-section-title i {
    width: 30px !important;
    height: 30px !important;
    border-radius: 9px !important;
    background: #e0f2f1 !important;
    color: #0F766E !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
}

.pp-section-title::after {
    content: '' !important;
    flex: 1 !important;
    height: 2px !important;
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.25), transparent) !important;
    border-radius: 2px !important;
}

/* ---- Patient info table (beautiful) ---- */
.patient-info-table-wrap {
    border: 1px solid #e2eef0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 60, 60, 0.07) !important;
    background: #ffffff !important;
}

.patient-info-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    margin-bottom: 0 !important;
}

.patient-info-table th {
    width: 32% !important;
    text-align: left !important;
    padding: 15px 20px !important;
    background: #f4faf9 !important;
    color: #0F766E !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    border-bottom: 1px solid #e8f2f0 !important;
    vertical-align: middle !important;
}

.patient-info-table .table-ico {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 9px !important;
    background: #e0f2f1 !important;
    color: #0F766E !important;
    font-size: 13px !important;
    margin-right: 11px !important;
    vertical-align: middle !important;
}

.patient-info-table td {
    padding: 15px 20px !important;
    color: #1e293b !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #eef4f3 !important;
    vertical-align: middle !important;
    word-break: break-word !important;
}

.patient-info-table tbody tr:last-child th,
.patient-info-table tbody tr:last-child td { border-bottom: none !important; }

.patient-info-table tbody tr { transition: background 0.2s ease !important; }

.patient-info-table tbody tr:hover th { background: #e9f6f4 !important; }
.patient-info-table tbody tr:hover td { background: #fbfefd !important; }

/* ---- Info card ---- */
/* NOTE: the old .info-card / .info-icon / .info-label / .info-value rules that
   lived here were removed. They were left over from an earlier profile layout
   (the profile now uses .patient-info-table) and — because they were written
   with !important and a bare .info-card selector — they leaked into the
   Add Patient / Add Doctor / Add Employee forms, forcing display:flex on those
   cards and pushing every "Information" section header next to its body
   instead of keeping it on top. */

/* ---- Documents tab (premium table) ---- */
.patient-profile-card .docs-tab-header::after { order: 1 !important; }

.patient-profile-card .docs-tab-header .docs-add-btn {
    order: 2 !important;
    margin-left: 14px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 8px 16px !important;
    background: linear-gradient(135deg, #0F766E, #004D4D) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.28) !important;
    white-space: nowrap !important;
}

.patient-profile-card .docs-tab-header .docs-add-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.34) !important;
    color: #ffffff !important;
}

.patient-profile-card .docs-table-wrap {
    border: 1px solid #e2eef0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 60, 60, 0.07) !important;
    background: #ffffff !important;
}

.patient-profile-card .docs-table {
    margin: 0 !important;
    border: none !important;
    background: #ffffff !important;
}

.patient-profile-card .docs-table thead th {
    background: linear-gradient(135deg, #0F766E, #004D4D) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.9px !important;
    text-transform: uppercase !important;
    padding: 15px 16px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.patient-profile-card .docs-table tbody td {
    border: none !important;
    border-bottom: 1px solid #eef4f3 !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    color: #334155 !important;
    vertical-align: middle !important;
    background: #ffffff !important;
    word-break: break-word !important;
}

.patient-profile-card .docs-table tbody tr:last-child td { border-bottom: none !important; }
.patient-profile-card .docs-table tbody tr { transition: background 0.2s ease !important; }
.patient-profile-card .docs-table tbody tr:hover td { background: #f4fbfa !important; }

/* Action buttons — round icon buttons */
.patient-profile-card .docs-table td .btn {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 !important;
    margin: 0 2px !important;
    border: none !important;
    border-radius: 10px !important;
    text-align: center !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.patient-profile-card .docs-table td .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(0, 60, 60, 0.20) !important;
}

/* DataTables polish (scoped to profile card only) */
.patient-profile-card .dataTables_wrapper { padding: 14px 16px 4px !important; }

.patient-profile-card .dataTables_wrapper .dataTables_filter input {
    border: 1px solid #d9ece9 !important;
    border-radius: 10px !important;
    padding: 6px 12px !important;
    margin-left: 8px !important;
}

.patient-profile-card .dataTables_wrapper .dataTables_length select {
    border: 1px solid #d9ece9 !important;
    border-radius: 10px !important;
    padding: 4px 8px !important;
}

.patient-profile-card .dataTables_wrapper .pagination > li > a {
    border: 1px solid #e2eef0 !important;
    border-radius: 9px !important;
    margin: 0 2px !important;
    color: #0F766E !important;
}

.patient-profile-card .dataTables_wrapper .pagination > .active > a,
.patient-profile-card .dataTables_wrapper .pagination > .active > a:hover {
    background: linear-gradient(135deg, #0F766E, #004D4D) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

/* Empty state */
.patient-profile-card .docs-empty {
    text-align: center !important;
    padding: 48px 20px !important;
}

.patient-profile-card .docs-empty i {
    display: block !important;
    font-size: 44px !important;
    color: #cfe7e4 !important;
    margin-bottom: 14px !important;
}

.patient-profile-card .docs-empty span {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #7c8b93 !important;
}

/* Selected file name (drop-area) */
.upload-filename.has-file {
    color: #0F766E;
    font-style: normal;
    font-weight: 700;
}

/* ---- Card footer ---- */
.patient-card-footer {
    margin-top: 34px !important;
    padding: 22px 30px 26px !important;
    background: linear-gradient(135deg, #f8fdfd, #eef7f6) !important;
    border-top: 1px solid #d9ece9 !important;
    text-align: center !important;
}

.patient-card-footer .footer-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #004D4D !important;
    letter-spacing: 0.4px !important;
}

.patient-card-footer .footer-brand i { color: #0F766E !important; }

.patient-card-footer .footer-sub {
    margin: 4px 0 0 !important;
    font-size: 12px !important;
    color: #7c8b93 !important;
}

/* ---- Animations ---- */
@keyframes ppFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes ppPulse {
    0%   { transform: scale(0.86); opacity: 0.9; }
    100% { transform: scale(1.28); opacity: 0; }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .patient-quick-stats .stat-chip { flex: 1 1 40% !important; max-width: none !important; }
}

@media (max-width: 768px) {
    .patient-hero { padding: 34px 18px 24px !important; }
    .patient-hero-name { font-size: 24px !important; }
    .patient-quick-stats { margin: 20px auto 0 !important; gap: 10px !important; padding: 0 !important; }
    .patient-quick-stats .stat-chip { flex: 1 1 44% !important; padding: 10px 12px !important; }
    .patient-card-body-new { padding: 26px 18px 6px !important; }
    .patient-info-table th { width: 42% !important; padding: 12px 14px !important; }
    .patient-info-table td { padding: 12px 14px !important; font-size: 14px !important; }
    .patient-card-footer { margin-top: 26px !important; padding: 18px !important; }
}

/* ============================================
   FILE UPLOAD BUTTON - MODERN DESIGN
   ============================================ */

.file-upload-wrapper {
    position: relative;
    display: inline-block;
}

.file-upload-input {
    display: none !important;
}

.file-upload-btn {
    display: inline-block !important;
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #0F766E, #004D4D) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3) !important;
}

.file-upload-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.4) !important;
    background: linear-gradient(135deg, #0d6b64, #003d3d) !important;
}

.file-upload-btn i {
    margin-right: 8px !important;
}

.patient-preview-img {
    border: 2px solid #e0f2f1 !important;
    padding: 4px !important;
    background: #ffffff !important;
}

/* ============================================
   PRINT STYLES - PATIENT PROFILE
   ============================================ */

@media print {
    /* Hide unnecessary elements */
    .no-print,
    .nav-tabs,
    .sidebar,
    .header,
    .top-bar,
    .main-header,
    .main-sidebar,
    .content-header,
    .breadcrumb,
    .footer,
    .main-footer,
    .panel-heading,
    .panel-footer,
    .btn-group,
    .tab-content > .tab-pane:not(.active),
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate,
    .table-action-btn {
        display: none !important;
    }

    /* Reset layout for print */
    body {
        background: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .content-wrapper,
    .content,
    .box,
    .box-body {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    /* Style the patient detail card for print */
    #PrintMe {
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .patient-profile-card {
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
    }

    /* ===== FULL SIMPLE PRINT — SIRF PLAIN TEXT ===== */
    /* Hero banner plain: naam center, neeche ID center */
    .patient-hero {
        background: transparent !important;
        padding: 0 0 10px !important;
        text-align: center !important;
    }

    .patient-hero .hero-shape,
    .patient-avatar-ring { display: none !important; }

    .patient-hero-content { animation: none !important; }

    .patient-hero-name {
        font-size: 22px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        text-align: center !important;
        text-shadow: none !important;
        margin: 0 0 6px !important;
    }

    .patient-id-chip {
        display: block !important;
        background: none !important;
        border: none !important;
        color: #000000 !important;
        padding: 0 !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        letter-spacing: normal !important;
        text-align: center !important;
        backdrop-filter: none !important;
    }

    /* Print simple — tabs aur saare icons print mein nahi aane chahiye */
    .patient-profile-card .nav-tabs { display: none !important; }

    .fa,
    .info-icon,
    .stat-icon,
    .pp-section-title i { display: none !important; }

    /* Quick stats: 4 text header row mein — sirf text, koi box nahi */
    .patient-quick-stats {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 46px !important;
        margin: 10px 0 12px !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .patient-quick-stats .stat-chip {
        flex: 0 1 auto !important;
        display: block !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        max-width: none !important;
        animation: none !important;
        text-align: center !important;
    }

    .stat-text { display: block !important; }

    .stat-label {
        display: block !important;
        color: #555555 !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        margin: 0 0 2px !important;
    }

    .stat-label::after { content: none !important; }

    .stat-value {
        display: block !important;
        color: #000000 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    /* Details body plain */
    .patient-card-body-new { padding: 10px 0 0 !important; }

    /* Patient Information heading — h2 style */
    .pp-section-title {
        display: block !important;
        color: #000000 !important;
        font-size: 24px !important;
        font-weight: 700 !important;
        text-align: center !important;
        margin: 12px 0 12px !important;
        padding-bottom: 6px !important;
        border-bottom: 2px solid #000000 !important;
    }

    .pp-section-title::after { display: none !important; }

    /* Table ko simple h4 text lines mein convert */
    .patient-info-table-wrap {
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: none !important;
    }

    .patient-info-table,
    .patient-info-table tbody { display: block !important; }

    .patient-info-table tr {
        display: block !important;
        padding: 5px 0 !important;
        border: none !important;
    }

    .patient-info-table th {
        display: inline !important;
        width: auto !important;
        background: none !important;
        color: #000000 !important;
        font-size: 18px !important;          /* h4 size */
        font-weight: 700 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        padding: 0 !important;
        margin: 0 5px 0 0 !important;
        border: none !important;
        vertical-align: baseline !important;
    }

    .patient-info-table th::after { content: ':' !important; }

    .patient-info-table .table-ico { display: none !important; }

    .patient-info-table td {
        display: inline !important;
        padding: 0 !important;
        color: #000000 !important;
        font-size: 18px !important;          /* h4 size */
        font-weight: 400 !important;
        border: none !important;
        vertical-align: baseline !important;
    }

    .patient-card-footer {
        margin-top: 12px !important;
        padding: 8px 0 0 !important;
        background: transparent !important;
        border-top: 1px solid #999 !important;
    }

    .patient-card-footer .footer-brand,
    .patient-card-footer .footer-sub {
        color: #000000 !important;
        font-size: 11px !important;
        font-weight: 400 !important;
    }
/* Documents tab — print mein bhi simple table (koi gradient nahi) */
    .patient-profile-card .docs-table-wrap {
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: none !important;
    }

    .patient-profile-card .docs-table { border: none !important; }

    .patient-profile-card .docs-table thead th {
        background: none !important;
        color: #000000 !important;
        border: none !important;
        border-bottom: 1px solid #000000 !important;
        padding: 6px 4px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }

    .patient-profile-card .docs-table tbody td {
        background: none !important;
        color: #000000 !important;
        border: none !important;
        border-bottom: 1px solid #cccccc !important;
        padding: 6px 4px !important;
        font-size: 11px !important;
    }

    /* Action icon buttons print mein nahi aayenge */
    .patient-profile-card .docs-table td .btn { display: none !important; }

    * { animation: none !important; transition: none !important; }

    /* Ensure print area is visible */
    .tab-content > .tab-pane.active {
        display: block !important;
        opacity: 1 !important;
    }

    /* Page settings */
    @page {
        size: A4;
        margin: 15mm;
    }
}

.login-widget .panel-footer {
    padding: 0px;
    border: none;
}

.login-widget .panel-footer .login-btn {
    padding: 20px 20px 10px 20px;
}

.login-widget .panel-footer .facebook {
    background-color: #3b5998;
    color: #fff;
    padding: 15px;
    display: block;
}


/*-- Pie chart widget --*/

.pie-chart-widget .panel-body {
    padding: 0px;
}

.pie-chart-widget .panel-footer {
    background-color: #fff;
    padding: 0px;
    margin-top: 20px;
}

.pie-chart-widget .panel-footer .btn {
    border: none;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding: 12px 0px;
    color: #fff;
    background-color: #474751;
}

.pie-chart-widget .panel-footer .btn:hover {
    background-color: #2C2C38;
}

.pie-chart-widget h2 {
    font-weight: 300;
    margin: 3px 0 0 0;
}

.pie-chart-widget .legend li {
    padding: 10px;
    color: #bdbdbd;
    font-size: 13px;
}

.list-block {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.list-block ul {
    display: table-row;
}

.list-block li {
    display: table-cell;
    margin: 0;
}


/*-- User widget --*/

.user-widget {
    border: 1px solid #e1e6ef;
    border-radius: 4px;
}

.user-widget .list-group-item {
    border: 0;
    color: #474751;
    padding: 15px;
}

.user-widget a.list-group-item:hover {
    background-color: #F8F3F0;
    color: #64584C;
}

.user-widget a.list-group-item:hover i.fa {
    color: #E35935;
}

.user-widget .heading {
    background-color: #474751;
    padding: 25px 15px;
}

.user-widget .heading .text-wrap {
    padding: 20px 0;
}

.user-widget .img-circle {
    height: 90px;
    width: 90px;
    padding: 8px;
    border: 1px solid #a6a6a6;
    margin-right: 10px;
    float: left;
}

.user-widget .heading .list-group-item-heading {
    font-weight: 600;
    color: #fff;
}


/*-- Todolistt widget --*/

.todo-list {
    list-style: none outside none;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

.todo-list li {
    background: #f3f3f4;
    border-left: none;
    border-right: none;
    border-radius: 4px;
    color: inherit;
    margin-bottom: 2px;
    padding: 8px 6px 6px 12px;
}

.todo-list .checkbox {
    margin: 0;
}

.todo-list .checkbox label {
    line-height: 16px;
}

.todo-list input[type="checkbox"]:checked + label {
    text-decoration: line-through;
    color: grey;
}


/*-- Social widget --*/

.social-widget {
    overflow: hidden;
    background: #FFF;
    border: 1px #e8e8e8 solid;
    clear: both;
}

.social-widget ul {
    display: block;
    overflow: hidden;
    text-align: center;
    margin: 0;
    padding: 0;
    margin-bottom: -1px;
    position: relative;
    list-style: none;
}

.social-widget ul li {
    margin: 0;
    padding: 0;
    line-height: 15px;
    float: left;
    width: 50%;
    border: 1px solid #e8e8e8;
    border-width: 0 0 1px 0;
}

.social-widget ul li:nth-child(2n+1) {
    border-width: 0 1px 1px 0;
}

.social-widget ul li i {
    font-size: 80px;
}

.social-widget ul li:hover i {
    text-shadow: 0 5px 0 #212121;
}

.fb_inner {
    background-color: #3e5b98;
    padding: 15px;
    color: #fff;
}

.twitter_inner {
    background-color: #4da7de;
    padding: 15px;
    color: #fff;
}

.g_plus_inner {
    background-color: #dd4b39;
    padding: 15px;
    color: #fff;
}

.dribble_inner {
    background-color: #e84d88;
    padding: 15px;
    color: #fff;
}

.social-widget ul li .sc-num {
    display: block;
    font-size: 19px;
    padding: 10px 0;
}

.social-widget ul li li small {
    font-size: 85%;
    color: #c9c9c9;
}


/* Modals page
==============================================================================*/


/*-- Nifty modal --*/

.modal-text-header h1 {
    font-size: 2.625em;
    line-height: 1.3;
    font-weight: 300;
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #e1e6ef;
    margin: 0 -15px 15px;
}

.modal-text-header span {
    display: block;
    font-size: 60%;
    opacity: 0.7;
    padding: 0 0 0.6em 0.1em;
}

.column .modal-text {
    font-weight: 300;
    font-size: 18px;
    padding: 0;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .column {
        padding: 0;
    }
    .column .modal-text {
        text-align: left;
    }
    .modal-text-header h1 {
        margin-bottom: 15px;
    }
}

@media (min-width: 1200px) {
    .column {
        padding: 2em;
        position: relative;
    }
    .modal-text-header h1 {
        margin-bottom: 20px;
    }
    .column .modal-text {
        text-align: right;
        font-size: 2em;
    }
}


/*-- Bootstrap modal --*/

.modal-content {
    border-radius: 0;
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e1e6ef;
    background-color: #f7f9fa;
}

.modal-title {
    text-align: center;
}

.modal-success .modal-header {
    background-color: #37a000;
}

.modal-success .modal-header .modal-title,
.modal-primary .modal-header .modal-title,
.modal-warning .modal-header .modal-title,
.modal-danger .modal-header .modal-title {
    color: #fff;
}

.modal-primary .modal-header {
    background-color: #428bca;
}

.modal-warning .modal-header {
    background-color: #FFB61E;
}

.modal-danger .modal-header {
    background-color: #E5343D;
}


/*iCheck, Toggle page
==============================================================================*/


/*--- iCheck ---*/

.i-check {
    margin: 5px 0;
}

.i-check label {
    cursor: pointer;
}


/*--- Toggle ---*/

.toggle-example .toggle {
    margin-right: 10px;
    margin-bottom: 10px;
}

.toggle.ios,
.toggle-on.ios,
.toggle-off.ios {
    border-radius: 20px;
}

.toggle.ios .toggle-handle {
    border-radius: 20px;
}

.toggle.android {
    border-radius: 0px;
}

.toggle.android .toggle-handle {
    border-radius: 0px;
}

.slow .toggle-group {
    transition: left 0.7s;
    -webkit-transition: left 0.7s;
}

.fast .toggle-group {
    transition: left 0.1s;
    -webkit-transition: left 0.1s;
}

.quick .toggle-group {
    transition: none;
    -webkit-transition: none;
}




/*----------CUSTOMIZE STYLE-----------*/ 
.invoice-input, .invoice-input:focus, .invoice-input:active, .invoice-input:after {
    border:none!important;
    border-bottom:1px dotted #e1e1e1!important;
    width: 100% !important;
    box-shadow: none!important;
    font-weight:400;
} 

@media print{
    .no-print{
        display: none;
    }  

    .table tr.bg-primary td{ 
        background-color:#337AB7 !important; 
        color:#ffffff !important;
    } 
    .table tr.bg-primary td strong { 
        color:#ffffff !important;
    } 
    .table tr.bg-info th{ 
        background-color:#d9edf7 !important;
    } 

    .datatable td table{border:1px solid #000;}


    dl {
      width: 100%;
      overflow: hidden;
      background: #ff0;
      padding: 0;
      margin: 0
    }
    dt {
      float: left;
      width: 25%;
      background: #cc0;
      padding: 0;
      margin: 0
    }
    dd {
      float: left;
      width: 75%;
      background: #dd0;
      padding: 0;
      margin: 0;
    }


} 
 
/*preloader*/
.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background:#2C3136;
    opacity: 0.6;
}



/*-----------------------------------------------------*/
/*------------------ipd billing style------------------*/
/*-----------------------------------------------------*/
.billing-panel {
    border: 0;
    -webkit-box-shadow: 0px 1px 15px 1px rgba(113, 106, 202, 0.08);
    -moz-box-shadow: 0px 1px 15px 1px rgba(113, 106, 202, 0.08);
    box-shadow: 0px 1px 15px 1px rgba(113, 106, 202, 0.08);
    border-radius: 0;
}
@media (min-width: 768px) {
    .billing-panel .panel-body {
        padding: 30px;
    }
}
.block-title {
    text-align: center;
    padding: 12px 15px;
    background: #f7f9fa;
    border-bottom: 1px solid #ebedf2;
    background-image: url(../images/stripes.png);
    font-size: 21px;
}
.block-title-2 {
    background-color: #f1f3f6;
    margin: 0;
    padding: 7px 15px;
    font-size: 19px;
    text-transform: capitalize;
    border-color: #e4e5e7;
    border-style: solid;
    border-width: 1px 1px 0;
}
.avatar-img {
    margin-bottom: 10px;
    background-color: #f1f3f6;
    border: 1px solid #e4e5e7 ;
}
.h_link{
    display: block;
    text-align: center;
}
@media (max-width: 767px) {
    .block-title {
        margin: -15px -15px 15px;
    }
}
@media (min-width: 1200px) {
    .form-horizontal {
        border: 1px solid #e4e5e7 !important;
        padding: 20px 20px 0 20px;
        box-shadow: 0 1px 4px rgba(0,0,0,.03);
        margin: 10px 0 30px;
    }
}
@media (min-width: 1200px) {
    .avatar-img {
        height: 180px;
        width: 180px;
    }
}
.billing-form .form-control {
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 4px rgba(0,0,0,.03);
    border-radius: 2px;
}
.billing-form textarea.form-control{
    height: auto;
}
.billing-form .form-control:hover,
.billing-form .form-control:focus,
.billing-form .form-control:active {
    box-shadow: 0 0 2px #7799D0;
    border-color: #7799D0;
}
#parent{
    height: 149px;
    margin-bottom: 30px;
}
.table-height .table{
    margin: 0
}
::-webkit-scrollbar {
    width: 10px;
} 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
} 
::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
}
.billing-form label {
    font-weight: 600;
    font-size: 13px; 
}

.billing-form .col-form-label {
    padding-top: calc(.7rem - 1px * 2);
    padding-bottom: calc(.7rem - 1px * 2);
    margin-bottom: 0;
    text-align: right;
}
@media (min-width: 768px) {
    .billing-form .col-form-label {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Appointment form styling */
.panel-form .form-inner {
    padding: 10px 0;
}
.panel-form .form-group {
    margin-bottom: 12px;
}
.panel-form .col-form-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--hmis-primary-dark, #0F8B7B);
    text-align: right;
    padding-top: calc(.7rem - 1px * 2);
    padding-bottom: calc(.7rem - 1px * 2);
    margin-bottom: 0;
}
.panel-form .form-control {
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--hmis-border, rgba(15,139,123,0.12));
}
.panel-form .form-control:focus {
    border-color: var(--hmis-primary, #0f8b7b);
    box-shadow: 0 0 0 3px rgba(15,139,123,0.14);
}
.panel-form .datepicker-avaiable-days {
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 13a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}
.panel-form .btn-success.disabled {
    background: #e9ecef;
    border-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
}
.note {
    background: #eff9fc;
    display: block;
    font-size: 14px;
    line-height: 24px;
    padding: 24px 24px 24px 80px;
    position: relative;
    clear: both;
    color: #004085;
}
.note::before {
    float: left;
    word-wrap: normal;
    white-space: nowrap;
    margin-left: -36px;
    content: '';
    height: 70px;
    left: 44px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
}
.note::before {
    background: url(icon_note1.svg) center/cover no-repeat;
}
.note strong {
    color: #0389ff;
    text-transform: uppercase;
}
.note a {
    color: #1c79c0;
}
.note a::after {
    content: "";
    display: inline-block;
    background-image: url("ic_open_in_new_blue.svg");
    background-size: 18px;
    width: 18px;
    height: 18px;
    margin-left: 4px;
    vertical-align: text-bottom;
}
/*--------- select2 ------------*/
.select2-container {
    width: 100% !important;
}
.select2-container .select2-selection--single {
    height: 34px;
}
.select2-container--default .select2-selection--single {
    border-radius: 3px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 4px rgba(0,0,0,.03);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #e4e5e7;
}
.select2-container--default .select2-selection--multiple {
    border: 1px solid #e4e5e7;
    border-radius: 3px;
}
.select2-container--default.select2-container--focus .select2-selection--multiple, 
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple, 
.select2-container--default.select2-container--open .select2-selection--single {
    box-shadow: 0 0 2px #7799D0;
    border-color: #7799D0;
}
.select2-container--default .select2-selection--single:focus, 
.select2-container--default .select2-selection--single:hover, 
.select2-container--default .select2-selection--multiple:focus,
.select2-container--default .select2-selection--multiple:hover {
    box-shadow: 0 0 2px #7799D0;
    border-color: #7799D0;
}
.select2-dropdown{
    border: 1px solid #e4e5e7;
}
.select2-container .select2-search--inline .select2-search__field {
    margin-top: 8px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    right: 0;
    height: 34px;
    width: 32px;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.select2-container--default .select2-selection--single:hover .select2-selection__arrow,
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
    background: transparent;
}
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 0;
    right: auto;
    border: 0;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b,
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    width: 8px;
    height: 8px;
    border: solid #0f766e;
    border-width: 0 2px 2px 0;
    margin-left: -4px;
    margin-top: -6px;
    transform: rotate(45deg);
    transition: transform .15s ease, margin-top .15s ease;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    margin-top: -2px;
    transform: rotate(225deg);
}
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow b,
.select2-container--default[dir="rtl"].select2-container--open .select2-selection--single .select2-selection__arrow b {
    margin-left: -4px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b:before {
    content: none;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b:before {
    content: none;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    display: none;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f1f3f6;
    border: 1px solid #e4e5e7;
    border-radius: 3px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    font-family: 'themify';
}
/*select2 dropdown*/
.select2-search--dropdown {
    padding: 10px;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e4e5e7;
}
/*------- datepicker ---------*/
.ui-widget.ui-widget-content {
    font-size: 14px;
    color: #374767;
    border: 0;
    -webkit-box-shadow: 0px 0px 15px 1px rgba(113, 106, 202, 0.2);
    -moz-box-shadow: 0px 0px 15px 1px rgba(113, 106, 202, 0.2);
    box-shadow: 0px 0px 15px 1px rgba(113, 106, 202, 0.2);
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.ui-datepicker.ui-widget.ui-widget-content {
    font-size: 17px;
    color: #374767;
    padding: 15px 15px 10px;
    font-family: 'Alegreya Sans', sans-serif;
    width: 15em;
}
.ui-widget-header {
    color: #374767;
    font-weight: 500;
    border: 0;
    background: transparent;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: 0;
    background: transparent;
    font-weight: 500;
    color: #374767;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: 1px solid #dad55e;
    background: #fffa90;
    color: #777620;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #003eff;
    background: #007fff;
    font-weight: normal;
    color: #fff;
}


/*-----------------------------------------*/
/*bill page print*/
/*------------------------------------------*/

.logo_bar p{
    margin: 0;
    font-size: 13px;
}
.address_bar .address_inner{
    text-align: right;
    padding-right: 20px;
}
.my_sign{
    padding-top: 50px;
}
.my_sign p{
    margin-left: 50px;
}
/*======== Table of Patient Info ===========*/
.patient_info{
    margin: 0;
    margin-bottom: 10px;
}
table.info {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}
table.info td{
    padding: 5px 4px;
}
table.info tbody td {
    font-size: 13px;
}
/*========== Table of Patient Charge ==========*/
.patient_charge{
    margin-bottom: 20px;
}
table.charge{
    border: 1px solid #aaa;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}
table.charge th{
    border: 1px solid #aaa;
    padding: 5px;
}
table.charge td{
    border: 1px solid #aaa;
    padding: 0 0 5px;
}
table.charge tbody td{
    font-size: 13px;
    text-align: center;
}
table.charge tbody td p{
    margin: 5px 0;
}
table.charge tbody td.date, table.charge tbody td.charge, table.charge tbody td.discount, table.charge tbody td.ballance{
    text-align: center;
}
table.charge tbody td p:nth-child(even){
    background: #dcdbdb;
}
table.charge tbody td.description p:last-child, table.charge tbody td.charge p:last-child, table.charge tbody td.discount p:last-child, table.charge tbody td.ballance p:last-child{
    margin-bottom: 0;
}
table.charge thead{
    background: #CFCFCF;
    border-bottom: 1px solid #aaa;
}
table.charge thead th{
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    text-align: center;
}
table.charge tfoot{
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    border-top: 1px solid #aaa;
}
table.charge tfoot td{
font-size: 14px;
}
table.charge tfoot td p{
    margin: 0;
    text-align: center;
}

/*============== Table of patient payment ==========*/
.advance_payment h4{
    text-align: center;
}
table.payment{
    background: #EEEEEE;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}
table.payment td, table.payment th{
    border: 1px solid #AAAAAA;
    padding: 5px 8px;
}
table.payment tbody td{
    font-size: 13px;
}
table.payment tbody td:nth-child(even){
    text-align: center;
}
table.payment tr:nth-child(even){
    background: #dcdbdb;
}
table.payment thead{
    background: #cfcfcf;
}
table.payment thead th{
    font-size: 15px;
    font-weight: bold;
    color: #000;
    text-align: center;
}

/*================ Table of method ==============*/

table.method {
    border: 1px solid #aaa;
    background-color: #EEEEEE;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}
table.method thead th{
    text-align: center;
    border-right: 1px solid #aaa;
    color: #000;
    line-height: 30px;
}
table.method td{
    border: 1px solid #AAAAAA;
    padding: 5px 8px;
}
table.method tbody td {
    font-size: 13px;
    text-align: center;
}
table.method tbody tr:nth-child(odd) {
    background: #dcdbdb;
}
table.method tfoot td {
    font-size: 14px;
}
table.method tfoot .links {
    text-align: right;
}
table.method tfoot .links a{
    display: inline-block;
    background: #1C6EA4;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 5px;
}
/*=========== Table Patient Package ===========*/
table.package {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    border: 1px solid #aaa;
    margin: 0 0 15px;
}
table.package td{
    padding: 5px 10px;
}
table.package tbody tr{
    border-bottom: 1px solid #aaa;
}
table.package tbody td {
    font-size: 13px;
    color: #000;
}
table.package td:nth-child(even) {
    background: #eee;
}
table.package tfoot td {
    font-size: 13px;
}
table.package tfoot .links {
    text-align: right;
}
table.package tfoot .links a{
    display: inline-block;
    background: #FFFFFF;
    color: #398AA4;
    padding: 2px 8px;
    border-radius: 5px;
}

/* HMIS global list/table usability */
.dataTables_wrapper {
    width: 100%;
    overflow: hidden;
}

.dataTables_wrapper > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
}

.dataTables_wrapper > .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.dataTables_wrapper .dt-buttons,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 10px;
}

.dataTables_wrapper .dt-buttons .btn {
    margin: 0 2px 4px;
}

.dataTables_wrapper .dataTables_scroll {
    width: 100%;
    clear: both;
}

.dataTables_wrapper .dataTables_scrollHead {
    border: 1px solid var(--hmis-dark-teal, #003B3B);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.dataTables_wrapper .dataTables_scrollBody {
    border: 1px solid var(--hmis-border, #DDD8C8);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.dataTables_wrapper .dataTables_scrollHeadInner,
.dataTables_wrapper .dataTables_scrollHeadInner table,
.dataTables_wrapper table.dataTable {
    min-width: 100%;
}

.dataTables_wrapper table.dataTable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.dataTables_wrapper table.dataTable th,
.dataTables_wrapper table.dataTable td {
    white-space: nowrap;
    vertical-align: middle !important;
}

.dataTables_wrapper table.dataTable td {
    line-height: 1.45;
}

.table td.center,
table.dataTable td.center {
    white-space: nowrap;
}

.table td.center .btn,
table.dataTable td.center .btn {
    margin: 1px 2px;
}

.btn {
    vertical-align: middle;
}

.btn > .fa,
.btn > .ti,
.btn > [class^="pe-7s-"] {
    display: inline-block;
    line-height: 1;
    vertical-align: -1px;
}

.btn > .fa:not(:only-child),
.btn > .ti:not(:only-child),
.btn > [class^="pe-7s-"]:not(:only-child) {
    margin-right: 6px;
}

.btn > .fa:only-child,
.btn > .ti:only-child,
.btn > [class^="pe-7s-"]:only-child {
    margin-right: 0;
}

.btn.btn-xs {
    min-width: 24px;
    min-height: 24px;
    line-height: 1.15;
}

.label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1.1;
    vertical-align: middle;
    white-space: nowrap;
    padding: 5px 8px;
}

/* HMIS image sizing: keep uploaded photos from stretching */
.img-hw-200 {
    width: 200px;
    height: 200px;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    background: #fff;
}

/* Profile photos stay proportional and centered across every role dashboard. */
.hmis-profile-photo {
    max-width: 100%;
    max-height: 350px;
    object-fit: cover;
    object-position: center;
}

.content img.img-circle,
.content img.img-thumbnail,
.table img[width][height],
table.dataTable img[width][height],
.profile-widget .panel-body .img-circle,
.user-widget .img-circle {
    object-fit: cover;
    object-position: center;
}

.content img.img-thumbnail {
    max-width: 100%;
}

.main-header .logo img,
.setting-preview img,
img[alt="Favicon"] {
    object-fit: contain;
}

.main-header .logo img {
    width: auto;
    max-width: 100%;
    max-height: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    object-fit: contain;
    box-shadow: 0 6px 14px rgba(6, 62, 73, .16);
}

.sidebar-menu > li > a,
.sidebar-menu .treeview-menu > li > a {
    display: flex;
    align-items: center;
}

.sidebar-menu > li > a > i {
    flex: 0 0 20px;
}

.sidebar-menu > li > a > span:not(.pull-right-container) {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
}

@media (max-width: 767px) {
    .dataTables_wrapper > .row > [class*="col-"] {
        width: 100%;
        text-align: left;
        margin-bottom: 8px;
    }

    .dataTables_wrapper .dataTables_filter {
        text-align: left;
    }

    .dataTables_wrapper .dataTables_filter input {
        width: 100%;
        margin-left: 0;
        margin-top: 6px;
    }
}


/* ============================================
   MODERN PATIENT FORM - COMPLETE REDESIGN
   ============================================ */

/* Main Form Container */
.modern-patient-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Form Header Card */
.form-header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0f8b7b 0%, #0b6a58 100%);
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(15, 139, 123, 0.25);
}

.form-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.form-header-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.form-header-icon i {
    font-size: 24px;
    color: #fff;
}

.form-header-text h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.form-header-text p {
    margin: 4px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.btn-list-patients {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-list-patients:hover {
    background: #fff;
    color: #0f8b7b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Form Body */
.form-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-edit-page .form-page-actions {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 16px;
}

.profile-edit-page .form-page-actions .btn-list {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #0f8b7b;
    border-radius: 10px;
    background: #0f8b7b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.profile-edit-page .form-page-actions .btn-list:hover {
    border-color: #0b6a58;
    background: #0b6a58;
    color: #fff;
}

.profile-edit-page .profile-edit-details {
    grid-template-columns: minmax(0, 1fr);
}

.profile-edit-page .status-card-body {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 767px) {
    .profile-edit-page .status-card-body {
        flex-wrap: wrap;
    }
}

/* Top Section - Picture + Basic Info */
.form-top-section {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

/* Picture Card */
.picture-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(15, 139, 123, 0.1);
}

.picture-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f7fa 100%);
    border-bottom: 2px solid #cce8e5;
    font-weight: 600;
    color: #0b6a58;
}

.picture-card-header i {
    font-size: 18px;
}

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

/* Existing Picture */
.existing-picture-container {
    text-align: center;
    margin-bottom: 16px;
}

.existing-picture-frame {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 10px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #0f8b7b;
    box-shadow: 0 4px 15px rgba(15, 139, 123, 0.2);
}

.profile-current-photo-cancel {
    position: absolute;
    top: 7px;
    right: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.profile-current-photo-cancel:hover {
    background: #b42332;
}

.existing-picture-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.existing-picture-label {
    font-size: 12px;
    color: #6b7c78;
    font-weight: 500;
}

/* Modern Upload Area */
.modern-upload-area {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f4 100%);
    border: 2px dashed #0f8b7b;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.modern-upload-area:hover {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2dfdb 100%);
    border-color: #0b6a58;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(15, 139, 123, 0.15);
}

.modern-upload-area.drag-over {
    background: linear-gradient(135deg, #b2dfdb 0%, #80cbc4 100%);
    border-style: solid;
    border-color: #0b6a58;
    transform: scale(1.05);
}

.upload-cloud-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0f8b7b 0%, #1fbf97 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(15, 139, 123, 0.35);
}

.upload-cloud-icon i {
    font-size: 28px;
    color: #fff;
}

.upload-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.upload-main-text {
    font-size: 16px;
    font-weight: 600;
    color: #0b6a58;
}

.upload-or {
    font-size: 12px;
    color: #6b7c78;
}

.upload-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #0f8b7b 0%, #0b6a58 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15, 139, 123, 0.3);
}

.upload-browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 139, 123, 0.4);
}

.upload-filename {
    font-size: 11px;
    color: #6b7c78;
    font-style: italic;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-upload-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

/* Modern Preview */
.modern-preview-container {
    text-align: center;
}

.modern-preview-frame {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 12px;
    border-radius: 14px;
    overflow: hidden;
    border: 3px solid #0f8b7b;
    box-shadow: 0 8px 30px rgba(15, 139, 123, 0.25);
}

.modern-preview-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-preview-frame:hover .preview-overlay {
    opacity: 1;
}

.preview-remove-btn {
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-remove-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.preview-label {
    font-size: 12px;
    color: #6b7c78;
    font-weight: 500;
}

/* Basic Info Card */
.basic-info-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(15, 139, 123, 0.1);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f7fa 100%);
    border-bottom: 2px solid #cce8e5;
    font-weight: 600;
    color: #0b6a58;
}

.info-card-header i {
    font-size: 18px;
}

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

/* Modern Form Group */
.modern-form-group {
    margin-bottom: 18px;
}

.modern-form-group:last-child {
    margin-bottom: 0;
}

.modern-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #163a36;
}

.modern-label i {
    width: 16px;
    color: #0f8b7b;
    text-align: center;
}

.required-star {
    color: #ef4444;
    font-size: 14px;
}

.modern-input-wrapper {
    position: relative;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 44px !important;
}

.password-toggle-button {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #0f8b7b;
    cursor: pointer;
}

.password-toggle-button:focus-visible {
    outline: 2px solid #0f8b7b;
    outline-offset: 2px;
    border-radius: 50%;
}

.modern-input {
    width: 100%;
    padding: 12px 16px;
    background: #f8fffe;
    border: 2px solid #cce8e5;
    border-radius: 10px;
    font-size: 14px;
    color: #163a36;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.modern-input:focus {
    outline: none;
    border-color: #0f8b7b;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 139, 123, 0.1);
}

.modern-input::placeholder {
    color: #9cb3b0;
}

.modern-textarea {
    min-height: 80px;
    resize: vertical;
}

.modern-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230f8b7b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Middle Section */
.form-middle-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Full width (single column) variant of a form section */
.form-middle-section.form-single-column {
    grid-template-columns: 1fr;
}

.info-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(15, 139, 123, 0.1);
}

/* Modern Gender Selector */
.modern-gender-selector {
    display: flex;
    gap: 12px;
}

.modern-gender-option {
    flex: 1;
    cursor: pointer;
}

.modern-gender-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.modern-gender-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f4 100%);
    border: 2px solid #cce8e5;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.modern-gender-card i {
    font-size: 24px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.modern-gender-card span {
    font-size: 13px;
    font-weight: 600;
    color: #163a36;
}

.male-card i { color: #3b82f6; }
.female-card i { color: #ec4899; }
.other-card i { color: #8b5cf6; }

.modern-gender-option:hover .modern-gender-card {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2dfdb 100%);
    border-color: #0f8b7b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15, 139, 123, 0.15);
}

.modern-gender-option input[type="radio"]:checked + .modern-gender-card {
    background: linear-gradient(135deg, #0f8b7b 0%, #1fbf97 100%);
    border-color: #0b6a58;
    box-shadow: 0 6px 20px rgba(15, 139, 123, 0.35);
    transform: translateY(-3px);
}

.modern-gender-option input[type="radio"]:checked + .modern-gender-card i,
.modern-gender-option input[type="radio"]:checked + .modern-gender-card span {
    color: #fff;
}

/* Bottom Section */
.form-bottom-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.status-card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(15, 139, 123, 0.1);
}

.status-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f7fa 100%);
    border-bottom: 2px solid #cce8e5;
    font-weight: 600;
    color: #0b6a58;
}

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

.modern-status-toggle {
    display: flex;
    gap: 12px;
}

.status-option {
    flex: 1;
    cursor: pointer;
}

.status-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.status-toggle-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: #f8fffe;
    border: 2px solid #cce8e5;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.status-toggle-card i {
    font-size: 18px;
}

.active-status i { color: #22c55e; }
.inactive-status i { color: #ef4444; }

.status-option:hover .status-toggle-card {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.status-option input[type="radio"]:checked + .active-status {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: #15803d;
    color: #fff;
}

.status-option input[type="radio"]:checked + .active-status i {
    color: #fff;
}

.status-option input[type="radio"]:checked + .inactive-status {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #b91c1c;
    color: #fff;
}

.status-option input[type="radio"]:checked + .inactive-status i {
    color: #fff;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
}

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #fff;
    color: #6b7c78;
    border: 2px solid #cce8e5;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background: #f8f9fa;
    border-color: #9ca3af;
    transform: translateY(-2px);
}

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #0f8b7b 0%, #0b6a58 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 139, 123, 0.35);
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 139, 123, 0.45);
}

/* Responsive */
@media (max-width: 991px) {
    .form-top-section {
        grid-template-columns: 1fr;
    }
    
    .form-middle-section {
        grid-template-columns: 1fr;
    }
    
    .form-bottom-section {
        flex-direction: column;
    }
    
    .form-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .form-actions button {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .modern-patient-form {
        padding: 10px;
    }
    
    .form-header-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }
    
    .form-header-content {
        flex-direction: column;
    }
    
    .modern-gender-selector {
        flex-direction: column;
    }
    
    .modern-status-toggle {
        flex-direction: column;
    }
}

/* Patient vital entry page */
.modern-patient-form .card-header-custom{display:flex;align-items:center;gap:12px;padding:16px 20px;background:linear-gradient(135deg,#f0fdfa 0%,#e0f7fa 100%);border-bottom:1px solid #cce8e5;color:#0b6a58}
.modern-patient-form .card-header-icon{width:38px;height:38px;flex:0 0 38px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#d9f1eb;color:#0f8b7b;font-size:16px}
.modern-patient-form .card-header-custom h3{margin:0;color:#103a35;font-size:16px;font-weight:700;line-height:1.35}
.modern-patient-form .card-header-custom p{margin:3px 0 0;color:#6b8581;font-size:12px;line-height:1.45}
.modern-patient-form .card-body-custom{padding:20px}
.modern-patient-form .info-card{min-width:0}
.modern-patient-form .form-middle-section{align-items:stretch}
.modern-patient-form .form-middle-section>.info-card{height:100%}
.modern-patient-form .form-actions-card{display:flex;justify-content:flex-end;margin-top:18px;padding:14px 18px;background:#fff;border:1px solid rgba(15,139,123,.12);border-radius:14px;box-shadow:0 4px 18px rgba(11,106,88,.06)}
.modern-patient-form .action-buttons-wrapper{display:flex;gap:10px}
.modern-patient-form .btn-modern-reset,.modern-patient-form .btn-modern-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 18px;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;transition:all .2s ease}
.modern-patient-form .btn-modern-reset{background:#fff;border-color:#d7e7e3;color:#526b66}
.modern-patient-form .btn-modern-reset:hover{background:#f4fbf9;border-color:#a8d2c8;color:#0b6a58}
.modern-patient-form .btn-modern-submit{background:linear-gradient(135deg,#0f8b7b,#0b6a58);color:#fff;box-shadow:0 4px 12px rgba(15,139,123,.2)}
.modern-patient-form .btn-modern-submit:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(15,139,123,.28)}
.modern-patient-form .btn-modern-reset:focus,.modern-patient-form .btn-modern-submit:focus{outline:3px solid rgba(31,191,151,.2);outline-offset:2px}
@media(max-width:767px){.modern-patient-form{padding:12px}.modern-patient-form .form-header-card{align-items:flex-start}.modern-patient-form .header-actions-group{width:100%;justify-content:flex-start}.modern-patient-form .btn-list-patients{padding:9px 12px;font-size:12px}.modern-patient-form .card-body-custom{padding:16px}.modern-patient-form .form-middle-section{grid-template-columns:minmax(0,1fr);gap:16px}.modern-patient-form .form-actions-card{justify-content:stretch}.modern-patient-form .action-buttons-wrapper{width:100%}.modern-patient-form .action-buttons-wrapper button{flex:1}}
@media(max-width:420px){.modern-patient-form .form-header-content{align-items:flex-start;gap:12px}.modern-patient-form .form-header-text h2{font-size:20px}.modern-patient-form .header-actions-group{flex-direction:column}.modern-patient-form .header-actions-group a{width:100%;text-align:center}.modern-patient-form .card-body-custom{padding:13px}}

/* Add Patient status toggle and matching Department form action buttons */
.patient-form-page .form-bottom-section{align-items:stretch}
.patient-form-page .patient-status-card{overflow:hidden;border:1px solid #d7e7e3;border-radius:14px;background:#fff;box-shadow:0 4px 18px rgba(11,106,88,.06)}
.patient-form-page .patient-status-card .status-card-header{padding:14px 20px;background:#e0f7f7;border-bottom:1px solid #cce8e5;color:#0b6a58;font-size:13px;font-weight:700}
.patient-form-page .patient-status-card .status-card-body{display:flex;align-items:center;gap:12px;padding:18px 20px;min-height:68px}
.patient-form-page .patient-status-switch{position:relative;display:inline-flex;flex:0 0 54px;width:54px;height:30px;margin:0;cursor:pointer}
.patient-form-page .patient-status-switch input{position:absolute;width:1px;height:1px;opacity:0}
.patient-form-page .patient-status-track{position:absolute;inset:0;border-radius:999px;background:#cbd8d5;transition:background .2s ease;box-shadow:inset 0 1px 3px rgba(18,51,46,.16)}
.patient-form-page .patient-status-track:before{content:"";position:absolute;left:3px;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(18,51,46,.25);transition:transform .2s ease}
.patient-form-page .patient-status-switch input:checked+.patient-status-track{background:linear-gradient(135deg,#0f8b7b,#0b6a58)}
.patient-form-page .patient-status-switch input:checked+.patient-status-track:before{transform:translateX(24px)}
.patient-form-page .patient-status-switch input:focus-visible+.patient-status-track{outline:3px solid rgba(31,191,151,.2);outline-offset:3px}
.patient-form-page .patient-status-text{font-size:13px;font-weight:700;color:#0b6a58}
.patient-form-page .form-actions{flex:0 0 38%;gap:10px;align-self:center}
.patient-form-page .form-actions .btn-reset,.patient-form-page .form-actions .btn-save{flex:1;justify-content:center;min-height:46px;padding:10px 18px;border-radius:10px;font-size:13px;font-weight:700;transition:all .2s ease}
.patient-form-page .form-actions .btn-reset{border:1px solid #d7e7e3;background:#fff;color:#526b66}
.patient-form-page .form-actions .btn-reset:hover{transform:translateY(-1px);background:#f4fbf9;border-color:#a8d2c8;color:#0b6a58}
.patient-form-page .form-actions .btn-save{border:1px solid transparent;background:linear-gradient(135deg,#0f8b7b,#0b6a58);color:#fff;box-shadow:0 4px 12px rgba(15,139,123,.2)}
.patient-form-page .form-actions .btn-save:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(15,139,123,.28)}
@media(max-width:991px){.patient-form-page .form-actions{flex:0 0 auto;width:100%}}
@media(max-width:767px){.patient-form-page .patient-status-card{width:100%}.patient-form-page .patient-status-card .status-card-header{padding:12px 16px}.patient-form-page .patient-status-card .status-card-body{padding:14px 16px}.patient-form-page .form-actions{width:100%}.patient-form-page .form-actions button{flex:1}}
/* Add Patient layout refinements */
.patient-form-page .modern-gender-selector{display:flex;flex-direction:row;gap:8px}
.patient-form-page .modern-gender-option{min-width:0}
.patient-form-page .modern-gender-card{justify-content:center;gap:7px;padding:9px 10px;border-radius:9px}
.patient-form-page .modern-gender-card i{font-size:14px}
.patient-form-page .modern-gender-card span{font-size:12px}
.patient-form-page .patient-status-card{width:100%}
.patient-form-page .patient-status-card .status-card-body{flex-wrap:wrap}
.patient-form-page .form-actions{flex:0 1 38%;width:38%;margin-left:auto}
@media(max-width:991px){.patient-form-page .form-actions{flex:0 0 100%;width:100%;margin-left:0}}
@media(max-width:767px){.patient-form-page .modern-gender-selector{flex-direction:row;gap:6px}.patient-form-page .modern-gender-card{padding:8px 6px;gap:5px}.patient-form-page .form-actions{width:100%}}
/* Keep Add Patient sex choices distinct at every screen width */
.patient-form-page .modern-gender-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}
.patient-form-page .modern-gender-option{display:block;width:100%;min-width:0;margin:0}
.patient-form-page .modern-gender-card{display:flex;width:100%;min-height:58px;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 6px;white-space:nowrap}
.patient-form-page .modern-gender-card i{margin:0;font-size:14px}
.patient-form-page .modern-gender-card span{display:block;line-height:1.2;font-size:12px}
/* Ensure Add Patient sex choices render as three visibly separate buttons */
.patient-form-page .modern-gender-selector{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:14px;row-gap:10px}
.patient-form-page .modern-gender-option{display:block!important;min-width:0;width:100%;margin:0}
.patient-form-page .modern-gender-card{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cce8e5;border-radius:9px;padding:9px 8px;white-space:normal}
.patient-form-page .modern-gender-card span{white-space:nowrap}
/* Add Patient sex selector as compact visible radio buttons */
.patient-form-page .modern-gender-selector{display:flex!important;grid-template-columns:none;flex-wrap:wrap;align-items:center;gap:14px}
.patient-form-page .modern-gender-option{display:inline-flex!important;flex:0 0 auto;align-items:center;gap:6px;width:auto;margin:0;cursor:pointer}
.patient-form-page .modern-gender-option input[type="radio"]{position:static!important;opacity:1!important;pointer-events:auto!important;appearance:auto;width:16px;height:16px;margin:0;accent-color:#0f8b7b;cursor:pointer}
.patient-form-page .modern-gender-card,.patient-form-page .modern-gender-option input[type="radio"]:checked+.modern-gender-card{display:inline-flex;width:auto;min-width:0;min-height:0;flex-direction:row;align-items:center;justify-content:flex-start;gap:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;white-space:nowrap}
.patient-form-page .modern-gender-card i{display:none}
.patient-form-page .modern-gender-card span,.patient-form-page .modern-gender-option input[type="radio"]:checked+.modern-gender-card span{display:inline;color:#163a36;font-size:13px;font-weight:600;line-height:1.3}
.patient-form-page .modern-gender-option:hover .modern-gender-card{background:transparent;border-color:transparent;box-shadow:none;transform:none}
/* Patient form top action and photo/info ordering */
.patient-form-page .patient-form-topbar{display:flex;justify-content:flex-end;align-items:center;margin:0 0 16px}
.patient-form-page .patient-form-topbar .btn-list-patients{display:inline-flex;align-items:center;gap:8px;background:#0f8b7b;color:#fff;border:1px solid #0f8b7b;border-radius:10px;padding:10px 18px;font-size:13px;font-weight:700;text-decoration:none}
.patient-form-page .patient-form-topbar .btn-list-patients:hover{background:#0b6a58;border-color:#0b6a58;color:#fff;transform:translateY(-1px)}
.patient-form-page .form-top-section{grid-template-columns:minmax(0,1fr)}
.patient-form-page .form-top-section>.basic-info-card{grid-column:auto;grid-row:auto}

/* Doctor registration: details left, photo right, and one compact action bar. */
.doctor-form-page .form-top-section{grid-template-columns:minmax(0,1fr) 320px}
.doctor-form-page .form-top-section>.basic-info-card{grid-column:1;grid-row:1}
.doctor-form-page .form-top-section>.picture-card{grid-column:2;grid-row:1}
.doctor-form-page .modern-gender-selector{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.doctor-form-page .modern-gender-option{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;width:auto;margin:0;cursor:pointer}
.doctor-form-page .modern-gender-option input[type="radio"]{position:static;opacity:1;pointer-events:auto;appearance:auto;width:16px;height:16px;margin:0;accent-color:#0f8b7b}
.doctor-form-page .modern-gender-option>span{color:#163a36;font-size:13px;font-weight:600}
.doctor-form-page .form-bottom-section{display:block}
.doctor-form-page .doctor-status-card .status-card-header{display:none}
.doctor-form-page .doctor-status-card .status-card-body{display:flex;align-items:center;gap:12px;padding:14px 18px}
.doctor-form-page .doctor-status-switch{position:relative;display:inline-flex;flex:0 0 54px;width:54px;height:30px;margin:0;cursor:pointer}
.doctor-form-page .doctor-status-switch input{position:absolute;width:1px;height:1px;opacity:0}
.doctor-form-page .doctor-status-track{position:absolute;inset:0;border-radius:999px;background:#cbd8d5;box-shadow:inset 0 1px 3px rgba(18,51,46,.16);transition:background .2s}
.doctor-form-page .doctor-status-track:before{content:"";position:absolute;left:3px;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(18,51,46,.25);transition:transform .2s}
.doctor-form-page .doctor-status-switch input:checked+.doctor-status-track{background:linear-gradient(135deg,#0f8b7b,#0b6a58)}
.doctor-form-page .doctor-status-switch input:checked+.doctor-status-track:before{transform:translateX(24px)}
.doctor-form-page .doctor-status-switch input:focus-visible+.doctor-status-track{outline:3px solid rgba(31,191,151,.25);outline-offset:3px}
.doctor-form-page .doctor-status-text{color:#0b6a58;font-size:13px;font-weight:700}
.doctor-form-page .form-actions{display:flex;gap:10px;margin-left:auto}
.doctor-form-page .form-actions .btn-reset,.doctor-form-page .form-actions .btn-save{min-height:42px;padding:9px 18px;border-radius:10px}
@media(max-width:991px){.doctor-form-page .form-top-section{grid-template-columns:minmax(0,1fr)}.doctor-form-page .form-top-section>.basic-info-card{grid-column:1;grid-row:1}.doctor-form-page .form-top-section>.picture-card{grid-column:1;grid-row:2}}
@media(max-width:600px){.doctor-form-page .doctor-status-card .status-card-body{flex-wrap:wrap}.doctor-form-page .form-actions{width:100%;margin-left:0}.doctor-form-page .form-actions button{flex:1}}

/* Employee registration uses the same arrangement as Add Doctor. */
.employee-form-page .form-top-section{grid-template-columns:minmax(0,1fr) 320px}
.employee-form-page .form-top-section>.basic-info-card{grid-column:1;grid-row:1;min-width:0}
.employee-form-page .form-top-section>.picture-card{grid-column:2;grid-row:1;min-width:0}
.employee-form-page .modern-gender-selector{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.employee-form-page .modern-gender-option{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;width:auto;margin:0;cursor:pointer}
.employee-form-page .modern-gender-option input[type="radio"]{position:static;opacity:1;pointer-events:auto;appearance:auto;width:16px;height:16px;margin:0;accent-color:#0f8b7b}
.employee-form-page .modern-gender-option>span{color:#163a36;font-size:13px;font-weight:600}
.employee-form-page .form-bottom-section{display:block}
.employee-form-page .employee-status-card{width:100%}
.employee-form-page .employee-status-card .status-card-header{display:none}
.employee-form-page .employee-status-card .status-card-body{display:flex;align-items:center;gap:12px;padding:14px 18px}
.employee-form-page .employee-status-switch{position:relative;display:inline-flex;flex:0 0 54px;width:54px;height:30px;margin:0;cursor:pointer}
.employee-form-page .employee-status-switch input{position:absolute;width:1px;height:1px;opacity:0}
.employee-form-page .employee-status-track{position:absolute;inset:0;border-radius:999px;background:#cbd8d5;box-shadow:inset 0 1px 3px rgba(18,51,46,.16);transition:background .2s}
.employee-form-page .employee-status-track:before{content:"";position:absolute;left:3px;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(18,51,46,.25);transition:transform .2s}
.employee-form-page .employee-status-switch input:checked+.employee-status-track{background:linear-gradient(135deg,#0f8b7b,#0b6a58)}
.employee-form-page .employee-status-switch input:checked+.employee-status-track:before{transform:translateX(24px)}
.employee-form-page .employee-status-switch input:focus-visible+.employee-status-track{outline:3px solid rgba(31,191,151,.25);outline-offset:3px}
.employee-form-page .employee-status-text{color:#0b6a58;font-size:13px;font-weight:700}
.employee-form-page .form-actions{display:flex;gap:10px;margin-left:auto}
.employee-form-page .form-actions .btn-reset,.employee-form-page .form-actions .btn-save{min-height:42px;padding:9px 18px;border-radius:10px}
@media(max-width:991px){.employee-form-page .form-top-section{grid-template-columns:minmax(0,1fr)}.employee-form-page .form-top-section>.basic-info-card{grid-column:1;grid-row:1}.employee-form-page .form-top-section>.picture-card{grid-column:1;grid-row:2}}
@media(max-width:600px){.employee-form-page .employee-status-card .status-card-body{flex-wrap:wrap}.employee-form-page .form-actions{width:100%;margin-left:0}.employee-form-page .form-actions button{flex:1}}

/* Keep the full registration form visible on a typical desktop viewport. */
body:has(#dpxPatientFormPage) .content-header{margin-bottom:0}
body:has(#dpxPatientFormPage) .content-wrapper>.content{padding-top:0}
.modern-patient-form.patient-form-page{max-width:none;padding:0 18px 14px}
.patient-form-page .form-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.patient-form-page .form-top-section,.patient-form-page .form-middle-section{display:contents}
.patient-form-page .form-top-section>.basic-info-card{grid-column:1/-1;grid-row:auto}
.patient-form-page .basic-info-card,.patient-form-page .info-card{min-width:0;height:auto!important}
.patient-form-page .info-card-header{padding:9px 14px;font-size:13px}
.patient-form-page .info-card-header i{font-size:15px}
.patient-form-page .basic-info-card .info-card-body{grid-template-columns:repeat(4,minmax(0,1fr))}
.patient-form-page .basic-info-card .info-card-header{display:flex}
.patient-form-page .basic-info-card .patient-sos-toggle{margin-left:auto}
.patient-form-page .info-card-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:9px 12px;padding:12px 14px}
.patient-form-page .modern-form-group{min-width:0;margin:0}
.patient-form-page .modern-label{gap:5px;margin-bottom:4px;font-size:12px;line-height:1.25}
.patient-form-page .modern-label i{flex:0 0 15px}
.patient-form-page .modern-input{min-height:36px;padding:7px 10px;border-width:1px;font-size:13px}
.patient-form-page .patient-address-field{grid-column:1/-1}
.patient-form-page .modern-textarea{min-height:84px;height:84px;resize:vertical}
.patient-form-page .modern-form-group small{display:block;margin-top:3px;font-size:11px;line-height:1.25;color:#607b77}
.patient-form-page .form-bottom-section{grid-column:1/-1;gap:0}
.patient-form-page .patient-status-card .status-card-header{display:none}
.patient-form-page .patient-status-card .status-card-body{min-height:0;padding:8px 14px}
.patient-form-page .form-actions{display:flex;flex:0 0 auto;width:auto;gap:8px;margin-left:auto}
.patient-form-page .form-actions .btn-reset,.patient-form-page .form-actions .btn-save{min-height:36px;padding:7px 13px}
.patient-form-page .patient-sos-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:6px 12px;border:1px solid #dc6962;border-radius:8px;background:#fff5f4;color:#b32b26;font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap;cursor:pointer}
.patient-form-page .patient-sos-toggle:hover,.patient-form-page .patient-sos-toggle:focus-visible{background:#ffe8e5;outline:2px solid #f6a29b;outline-offset:2px}
.patient-form-page .patient-sos-toggle.is-active{border-color:#b32b26;background:#b32b26;color:#fff}
@media(max-width:1100px){.patient-form-page .basic-info-card .info-card-body{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.patient-form-page .form-body{grid-template-columns:minmax(0,1fr)}.patient-form-page .basic-info-card{grid-column:1!important}.patient-form-page .form-actions{width:auto;flex:0 0 auto}}
@media(max-width:520px){.modern-patient-form.patient-form-page{padding:0 8px 8px}.patient-form-page .info-card-body,.patient-form-page .basic-info-card .info-card-body{grid-template-columns:minmax(0,1fr)}.patient-form-page .patient-status-card .status-card-body{flex-wrap:wrap}.patient-form-page .form-actions{width:100%;margin-left:0}.patient-form-page .form-actions button{flex:1}}
.insurance-form-page .insurance-form-card{overflow:hidden;border:1px solid #e5dfd0!important;border-radius:16px!important;background:#fffdf8!important;box-shadow:0 8px 24px rgba(50,65,48,.08)!important}
.insurance-form-page .panel-body.panel-form{padding:20px!important}
.insurance-form-page .insurance-form-column{width:100%;max-width:100%;float:none}
.insurance-form-page .insurance-modern-form{max-width:1180px;margin:0 auto}
.insurance-form-page .insurance-modern-form>.form-group.row{display:grid;grid-template-columns:minmax(150px,20%) minmax(0,1fr);align-items:center;gap:12px;margin:0 0 12px;padding:0}
.insurance-form-page .insurance-modern-form>.form-group.row>label{float:none;width:auto;margin:0;padding:0 8px 0 0;color:#23433f;font-size:13px;font-weight:600;text-align:right}
.insurance-form-page .insurance-modern-form>.form-group.row>div[class*="col-"]{float:none;width:100%;min-width:0;padding:0}
.insurance-form-page .insurance-modern-form .form-control{height:40px;border:1px solid #d8d0bf;border-radius:12px;background:#fff;color:#203b38;font-size:13px;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.insurance-form-page .insurance-modern-form textarea.form-control{height:88px;resize:vertical;padding:10px 12px}
.insurance-form-page .insurance-modern-form .form-control:focus{border-color:#138b78;box-shadow:0 0 0 3px rgba(19,139,120,.12)}
.insurance-form-page .insurance-modern-form .form-control::placeholder{color:#9a9a91}
.insurance-form-page .insurance-modern-form [id="disease_charge"] .row,[class*="insurance-form-page"] #disease_details .row,[class*="insurance-form-page"] #approval_breakup .row{display:flex;align-items:center;gap:10px;margin:0 0 9px}
.insurance-form-page #disease_charge .row>[class*="col-"],.insurance-form-page #disease_details .row>[class*="col-"],.insurance-form-page #approval_breakup .row>[class*="col-"]{float:none;flex:1;min-width:0;padding:0}
.insurance-form-page .add-disease,.insurance-form-page .add-breakup,.insurance-form-page .remove-disease,.insurance-form-page .remove-breakup{min-width:36px;height:36px;border:0;border-radius:10px;font-weight:700}
.insurance-form-page .hmis-form-footer{max-width:1180px;margin:20px auto 0;padding-top:16px;border-top:1px solid #e5ebf2}
@media(max-width:700px){.insurance-form-page .panel-body.panel-form{padding:14px!important}.insurance-form-page .insurance-modern-form>.form-group.row{grid-template-columns:1fr;gap:6px}.insurance-form-page .insurance-modern-form>.form-group.row>label{text-align:left}.insurance-form-page .insurance-modern-form [id="disease_charge"] .row,[class*="insurance-form-page"] #disease_details .row,[class*="insurance-form-page"] #approval_breakup .row{flex-wrap:wrap}.insurance-form-page #disease_charge .row>[class*="col-"],.insurance-form-page #disease_details .row>[class*="col-"],.insurance-form-page #approval_breakup .row>[class*="col-"]{flex-basis:40%}}
.coverage-form-page{width:min(920px,100%);margin:0 auto;color:#132e4b;font-family:inherit}.coverage-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:120px;margin:0 0 20px;padding:22px;border-radius:15px;background:linear-gradient(115deg,#087c75,#07956a);color:#fff;box-shadow:0 8px 18px rgba(7,102,87,.16)}.coverage-hero-copy{min-width:0}.coverage-eyebrow{display:inline-flex;align-items:center;gap:6px;margin-bottom:7px;padding:4px 10px;border-radius:20px;background:rgba(255,255,255,.15);color:#e7fffa;font-size:10px;font-weight:700}.coverage-hero h1{margin:0;color:#fff;font-size:22px;font-weight:700}.coverage-hero p{margin:5px 0 0;color:#d6fff5;font-size:12px}.coverage-hero-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;padding:11px 14px;border:1px solid rgba(255,255,255,.27);border-radius:10px;background:rgba(255,255,255,.12);color:#fff;font-size:11px;font-weight:700;text-decoration:none}.coverage-hero-action:hover,.coverage-hero-action:focus{background:rgba(255,255,255,.22);color:#fff;text-decoration:none}.coverage-card{overflow:hidden;border:1px solid #e1e9f2;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(27,55,86,.04)}.coverage-form{margin:0}.coverage-section{padding:24px 28px;border-bottom:1px solid #edf1f6}.coverage-section:last-of-type{border-bottom:0}.coverage-section-tint{background:#f9fbfd}.coverage-section h2,.coverage-section-heading h2{display:flex;align-items:center;gap:8px;margin:0 0 18px;color:#087f78;font-size:12px;font-weight:800;letter-spacing:.025em;text-transform:uppercase}.coverage-section h2 i,.coverage-section-heading h2 i{font-size:14px}.coverage-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}.coverage-section-heading h2{margin:0}.coverage-section-heading>span{color:#8192ac;font-size:10px}.coverage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 18px}.coverage-span-two{grid-column:span 2}.coverage-field{min-width:0}.coverage-field>label,.coverage-dynamic-row label{display:block;margin:0 0 6px;color:#243c58;font-size:10px;font-weight:800;letter-spacing:.015em;text-transform:uppercase}.coverage-input{position:relative;display:flex;align-items:center}.coverage-input>i{position:absolute;left:13px;z-index:1;color:#89a1bc;font-size:13px}.coverage-input .form-control,.coverage-field>.form-control,.coverage-dynamic-row .form-control{width:100%;height:39px;padding:8px 12px;border:1px solid #dbe5f0;border-radius:10px;background:#f8fafc;color:#193451;font-size:12px;box-shadow:none;transition:border-color .15s,box-shadow .15s}.coverage-input>i+.form-control{padding-left:36px}.coverage-field textarea.form-control,.coverage-dynamic-row textarea.form-control{height:42px;min-height:42px;resize:vertical}.coverage-input .form-control:focus,.coverage-field>.form-control:focus,.coverage-dynamic-row .form-control:focus{border-color:#35bca7;box-shadow:0 0 0 3px rgba(22,174,150,.1)}.coverage-input .form-control::placeholder,.coverage-field>.form-control::placeholder,.coverage-dynamic-row .form-control::placeholder{color:#91a1b8}.coverage-dynamic-list{display:flex;flex-direction:column;gap:10px}.coverage-dynamic-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.95fr) auto;align-items:end;gap:10px;padding:11px;border:1px solid #e0e9f3;border-radius:11px;background:#fff}.coverage-dynamic-row .form-control{background:#f8fafc}.coverage-dynamic-buttons{display:flex;gap:5px;padding-bottom:1px}.coverage-dynamic-buttons button{width:40px;height:38px;border:1px solid;border-radius:10px;background:#fff;font-size:18px;line-height:1;cursor:pointer}.coverage-dynamic-buttons .coverage-add{border-color:#9cf4e2;background:#f2fffc;color:#009b80}.coverage-dynamic-buttons .coverage-remove{border-color:#ffd2d2;background:#fff4f4;color:#e34151}.coverage-rate-grid{margin-top:18px}.coverage-total .form-control{padding-left:36px;border-color:#8ee8d6;background:#f2fcf9;color:#087466;font-weight:700}.coverage-total>span{position:absolute;left:14px;z-index:1;color:#087466;font-size:12px;font-weight:700}.coverage-total-field{max-width:calc(33.333% - 12px);margin:16px 0 0 auto}.coverage-remarks{height:84px!important;padding:12px!important}.coverage-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 28px;background:#f9fbfd}.coverage-status{display:flex;align-items:center;gap:10px}.coverage-switch{position:relative;display:inline-flex;width:40px;height:22px;margin:0;cursor:pointer}.coverage-switch input{position:absolute;width:1px;height:1px;opacity:0}.coverage-switch span{position:absolute;inset:0;border-radius:20px;background:#cbd8d5;transition:background .2s}.coverage-switch span:before{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;content:"";box-shadow:0 1px 3px rgba(0,0,0,.18);transition:transform .2s}.coverage-switch input:checked+span{background:#0a967e}.coverage-switch input:checked+span:before{transform:translateX(18px)}.coverage-switch input:focus-visible+span{outline:3px solid rgba(31,191,151,.22);outline-offset:3px}.coverage-status-copy{color:#09796f;font-size:11px;font-weight:700}.coverage-actions{display:flex;gap:9px}.coverage-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 15px;border:1px solid #dce5ef;border-radius:10px;font-size:11px;font-weight:700;cursor:pointer}.coverage-reset{background:#fff;color:#38536e;box-shadow:0 1px 2px rgba(20,44,70,.04)}.coverage-save{border-color:#078b76!important;background:#078b76;color:#fff;box-shadow:0 5px 12px rgba(7,139,118,.2)}.coverage-save:hover{background:#067663;color:#fff}.coverage-validation-message{display:block;min-height:0;margin-top:4px;font-size:11px}.coverage-total-field label{display:block;margin-bottom:6px;color:#243c58;font-size:10px;font-weight:800;text-transform:uppercase}
@media(max-width:700px){.coverage-form-page{width:100%}.coverage-hero{align-items:flex-start;flex-direction:column;padding:18px}.coverage-hero-action{align-self:flex-start}.coverage-section{padding:20px 16px}.coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.coverage-span-two{grid-column:span 2}.coverage-total-field{max-width:calc(50% - 8px)}.coverage-footer{align-items:flex-start;flex-direction:column;padding:16px}.coverage-actions{width:100%;justify-content:flex-end}}
@media(max-width:480px){.coverage-hero h1{font-size:19px}.coverage-grid{grid-template-columns:1fr}.coverage-span-two{grid-column:span 1}.coverage-section-heading{align-items:flex-start;flex-direction:column}.coverage-dynamic-row{grid-template-columns:1fr 1fr}.coverage-dynamic-buttons{grid-column:1/-1;justify-content:flex-end}.coverage-total-field{max-width:100%;margin-left:0}.coverage-actions button{flex:1;padding:0 10px}}
.coverage-form-page.modern-patient-form{width:min(1040px,100%);padding:20px}.coverage-patient-header{min-height:0}.coverage-patient-header .coverage-hero-action{border-width:1px;border-radius:9px;padding:9px 13px;font-size:12px}.coverage-actions button{min-height:32px;padding:0 10px;border-radius:7px;font-size:10px}.coverage-actions .coverage-save{box-shadow:0 3px 8px rgba(7,139,118,.16)}
@media(max-width:480px){.coverage-form-page.modern-patient-form{padding:12px}.coverage-actions button{flex:0 0 auto}}

/* Insurance forms follow the Add Patient card and teal section treatment. */
.coverage-form-page .coverage-card{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
.coverage-form-page .coverage-section{margin:0 0 16px;padding:0 0 18px;overflow:hidden;border:1px solid #e5eeeb;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(20,60,53,.045)}
.coverage-form-page .coverage-section h2,.coverage-form-page .coverage-section-heading{min-height:44px;margin:0 0 16px;padding:12px 16px;background:#f0f8f6}
.coverage-form-page .coverage-section h2,.coverage-form-page .coverage-section-heading h2{color:#0b6a58;font-size:12px;letter-spacing:0;text-transform:none}
.coverage-form-page .coverage-section h2{margin-bottom:16px}
.coverage-form-page .coverage-section-heading{margin-bottom:16px}
.coverage-form-page .coverage-section-heading>span{color:#66837c;font-size:11px}
.coverage-form-page .coverage-section-tint{background:#fff}
.coverage-form-page .coverage-section>.coverage-grid,.coverage-form-page .coverage-section>.coverage-field,.coverage-form-page .coverage-section>.coverage-total-field{margin-right:18px;margin-left:18px}
.coverage-form-page .coverage-section>.coverage-grid{width:calc(100% - 36px)}
.coverage-form-page .coverage-section>.coverage-field{width:calc(100% - 36px)}
.coverage-form-page .coverage-section>.coverage-total-field{margin-right:18px}
.coverage-form-page .coverage-footer{padding:14px 18px;border:1px solid #e5eeeb;border-radius:12px;background:#f8fbfa}
.coverage-form-page .coverage-status-copy{color:#315b53}
.coverage-form-page .coverage-actions button{min-height:34px;padding:0 13px;border-radius:8px;font-size:11px}
.coverage-form-page .coverage-reset{border-color:#d6e2de;background:#fff;color:#38564f}
.coverage-form-page .coverage-save{border-color:#0b6a58!important;background:#0b6a58}
@media(max-width:700px){.coverage-form-page .coverage-section>.coverage-grid,.coverage-form-page .coverage-section>.coverage-field{width:calc(100% - 28px);margin-right:14px;margin-left:14px}.coverage-form-page .coverage-section>.coverage-total-field{margin-right:14px;margin-left:14px}.coverage-form-page .coverage-section h2,.coverage-form-page .coverage-section-heading{padding-right:14px;padding-left:14px}}
.content-header.hmis-clinical-page-header{padding:8px 0;margin-bottom:12px}.content-header.hmis-clinical-page-header .header-icon{display:grid;place-items:center;float:none;width:42px;height:42px;margin:0;color:#0f8b7b;font-size:28px;line-height:1}.content-header.hmis-clinical-page-header .header-title{min-width:0;margin-left:0}.content-header.hmis-clinical-page-header .header-title h1{font-size:21px;font-weight:700;color:#173b37}.content-header.hmis-clinical-page-header .header-title small{padding-left:0;color:#0b6a58;font-size:11px}.content-header .header-actions .clinical-header-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-left:8px;padding:8px 12px;border:1px solid rgba(15,139,123,.24);border-radius:8px;background:#0b6a58;color:#fff;font-size:12px;font-weight:700;line-height:1.3;text-decoration:none;white-space:nowrap;transition:background .15s ease,box-shadow .15s ease}.content-header .header-actions .clinical-header-action:hover,.content-header .header-actions .clinical-header-action:focus{background:#0f8b7b;color:#fff;text-decoration:none;box-shadow:0 3px 10px rgba(11,106,88,.18)}
@media(max-width:767px){.content-header .hmis-clinical-header-layout{flex-wrap:wrap!important;align-items:flex-start!important;gap:8px 12px}.content-header .hmis-clinical-header-layout .header-title{min-width:0}.content-header .hmis-clinical-header-layout .header-actions{display:flex;width:100%;justify-content:flex-end}.content-header .hmis-clinical-header-layout .clinical-header-action{margin-left:0}}
.billing-entry-page{width:min(1120px,100%);margin:0 auto;color:#172b4d}.billing-entry-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:16px 20px;border-radius:12px;background:linear-gradient(110deg,#126b68,#07805e);color:#fff;box-shadow:0 5px 14px rgba(14,85,76,.16)}.billing-entry-title{display:flex;align-items:center;gap:12px}.billing-entry-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.28);border-radius:10px;background:rgba(255,255,255,.12);font-size:17px}.billing-entry-eyebrow{display:block;margin-bottom:3px;color:#c8f7ec;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.billing-entry-title h1{margin:0;color:#fff;font-size:18px;font-weight:700}.billing-entry-title p{margin:4px 0 0;color:rgba(255,255,255,.83);font-size:11px}.billing-entry-list{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(255,255,255,.28);border-radius:7px;background:rgba(255,255,255,.11);color:#fff;font-size:11px;font-weight:700;text-decoration:none}.billing-entry-list:hover,.billing-entry-list:focus{background:rgba(255,255,255,.22);color:#fff;text-decoration:none}.billing-entry-card{overflow:hidden;border:1px solid #dce5ef;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(28,55,90,.04)}.billing-entry-form{margin:0}.billing-entry-section{padding:20px 22px;border-bottom:1px solid #edf1f6}.billing-entry-section:last-of-type{border-bottom:0}.billing-entry-section h2{display:flex;align-items:center;gap:8px;margin:0 0 15px;padding:0 0 9px;border-bottom:1px solid #e7edf4;color:#263d59;font-size:12px;font-weight:700;letter-spacing:.025em;text-transform:uppercase}.billing-entry-section h2 i{color:#078c7a}.billing-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.billing-entry-field{min-width:0}.billing-entry-field>label{display:block;margin:0 0 6px;color:#304761;font-size:11px;font-weight:600}.billing-entry-field .form-control{height:38px;border:1px solid #d8e2ed;border-radius:7px;background:#f8fafc;color:#253954;font-size:12px;box-shadow:none}.billing-entry-field textarea.form-control{height:74px;resize:vertical;padding-top:10px}.billing-entry-field .form-control:focus{border-color:#37aa96;box-shadow:0 0 0 2px rgba(30,155,130,.1)}.billing-entry-field .form-control::placeholder{color:#9aa8bb}.billing-entry-wide{grid-column:1/-1}.billing-entry-input{position:relative;display:flex;align-items:center}.billing-entry-input>span,.billing-entry-input>i{position:absolute;left:12px;z-index:1;color:#71889f;font-size:12px;font-weight:700}.billing-entry-input .form-control{width:100%;padding-left:31px}.billing-entry-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 22px;background:#fafbfd}.billing-entry-status{display:flex;align-items:center;gap:10px;color:#304761;font-size:11px;font-weight:700;text-transform:uppercase}.billing-entry-status b{min-width:48px;color:#087b65;font-size:11px;text-transform:none}.billing-entry-switch{position:relative;display:inline-flex;width:42px;height:23px;margin:0;cursor:pointer}.billing-entry-switch input{position:absolute;width:1px;height:1px;opacity:0}.billing-entry-switch i{position:absolute;inset:0;border-radius:20px;background:#9aa8b8;transition:background .2s}.billing-entry-switch i:after{position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;content:"";box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .2s}.billing-entry-switch input:checked+i{background:#078a6c}.billing-entry-switch input:checked+i:after{transform:translateX(19px)}.billing-entry-switch input:focus-visible+i{outline:2px solid #8ad9c6;outline-offset:2px}.billing-entry-actions{display:flex;gap:8px}.billing-entry-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid #d7e1ec;border-radius:7px;font-size:11px;font-weight:700;cursor:pointer}.billing-entry-reset{background:#f7f9fc;color:#354964}.billing-entry-save{border-color:#087b69!important;background:#087b69;color:#fff}.billing-entry-save:hover{background:#066b5b;color:#fff}.billing-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.billing-section-heading>span{color:#8291a6;font-size:10px}.billing-service-table-wrap{overflow-x:auto;border:1px solid #e3eaf2;border-radius:9px}.billing-service-table{width:100%;margin:0;border-collapse:collapse}.billing-service-table th{padding:10px 12px;background:#f3f7fa;color:#405770;font-size:10px;font-weight:700;text-align:left;text-transform:uppercase}.billing-service-table td{padding:10px 8px;border-top:1px solid #e9eef3;vertical-align:middle}.billing-service-table td:first-child{min-width:220px}.billing-service-table td:nth-child(2),.billing-service-table td:nth-child(3){min-width:120px}.billing-service-table .form-control{height:36px;border:1px solid #d8e2ed;border-radius:7px;background:#fff;font-size:11px;box-shadow:none}.billing-row-actions{display:flex;gap:5px}.billing-row-actions button{width:31px;height:31px;border:1px solid;border-radius:7px;background:#fff;font-size:17px;line-height:1;cursor:pointer}.billing-row-actions .addMore{border-color:#a5ecdd;background:#f2fffc;color:#078a72}.billing-row-actions .remove{border-color:#ffd3d3;background:#fff5f5;color:#d94350}
.billing-entry-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px;border-bottom:1px solid #edf1f6;background:#fafbfd}.billing-entry-toolbar .billing-entry-list{border-color:#087b69;background:#087b69;color:#fff}.billing-entry-toolbar .billing-entry-list:hover,.billing-entry-toolbar .billing-entry-list:focus{background:#066b5b;color:#fff}.billing-entry-field .billing-entry-status{min-height:38px;text-transform:none}.billing-entry-choice{display:flex;align-items:center;gap:18px;min-height:38px;padding:0 12px;border:1px solid #d8e2ed;border-radius:7px;background:#f8fafc;color:#304761;font-size:12px}.billing-entry-choice label{display:inline-flex;align-items:center;gap:6px;margin:0;cursor:pointer}.billing-entry-choice input{margin:0;accent-color:#078a6c}
@media(max-width:600px){.billing-entry-page{width:100%}.billing-entry-hero{align-items:flex-start;flex-direction:column;padding:14px}.billing-entry-toolbar{align-items:stretch;flex-direction:column;padding:13px}.billing-entry-toolbar>.billing-entry-list{align-self:flex-start}.billing-entry-section{padding:16px 13px}.billing-entry-grid{grid-template-columns:1fr}.billing-entry-wide{grid-column:1}.billing-entry-footer{align-items:flex-start;flex-direction:column;padding:14px}.billing-entry-actions{width:100%;justify-content:flex-end}.billing-entry-actions button{flex:1}.billing-section-heading{align-items:flex-start;flex-direction:column}}

/* Links used as form-footer actions (for example Print Surgery Details). */
.billing-entry-actions a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid #d7e1ec;border-radius:7px;font-size:11px;font-weight:700;text-decoration:none}
.billing-entry-actions a.billing-entry-reset:hover,.billing-entry-actions a.billing-entry-reset:focus{background:#eef3f7;color:#087b69;text-decoration:none}
@media(max-width:600px){.billing-entry-actions a{flex:1}}
.clinical-entry-page .panel{margin:0;border:1px solid #dce5ef;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(28,55,90,.04)}.clinical-entry-page .panel-body.panel-form{padding:0;background:#fff;border-radius:12px}.clinical-entry-page .panel-body>.row{margin:0}.clinical-entry-page .panel-body>.row>[class*="col-"]{float:none;width:100%;padding:0}.clinical-entry-page .form-inner.clinical-entry-form{padding:20px 22px}.clinical-entry-page .clinical-entry-form .form-group.row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:9px 18px;align-items:center;margin:0 0 14px}.clinical-entry-page .clinical-entry-form .form-group.row>label{width:auto;padding:0;color:#304761;font-size:12px;font-weight:600}.clinical-entry-page .clinical-entry-form .form-group.row>[class*="col-"]{float:none;width:auto;padding:0}.clinical-entry-page .clinical-entry-form .form-control{height:38px;border:1px solid #d8e2ed;border-radius:7px;background:#f8fafc;color:#253954;font-size:12px;box-shadow:none}.clinical-entry-page .clinical-entry-form textarea.form-control{height:auto;min-height:74px;padding-top:10px}.clinical-entry-page .clinical-entry-form .form-control:focus{border-color:#37aa96;box-shadow:0 0 0 2px rgba(30,155,130,.1)}.clinical-entry-page .clinical-entry-form .form-check{display:flex;align-items:center;gap:18px;min-height:38px}.clinical-entry-page .clinical-entry-form .radio-inline{margin:0;color:#304761;font-size:12px}.clinical-entry-page .clinical-entry-form .radio-inline input{margin-top:2px;accent-color:#078a6c}.clinical-entry-page .clinical-entry-form .billing-entry-footer{margin:18px -22px -20px;border-top:1px solid #edf1f6;border-radius:0 0 12px 12px}
@media(max-width:600px){.clinical-entry-page .form-inner.clinical-entry-form{padding:16px 13px}.clinical-entry-page .clinical-entry-form .form-group.row{grid-template-columns:1fr;gap:6px;margin-bottom:13px}.clinical-entry-page .clinical-entry-form .billing-entry-footer{margin:16px -13px -16px}}
.billing-entry-page.clinical-entry-page{max-width:100%}.clinical-entry-page .panel.thumbnail{max-width:820px;margin:0 auto 20px;padding:0;overflow:hidden;border-color:#ddeae7;border-radius:14px;box-shadow:0 1px 2px rgba(15,23,42,.04),0 12px 30px -18px rgba(11,106,88,.2)}.clinical-entry-page .invx-card-head{display:flex;align-items:center;gap:12px;padding:15px 20px;border-bottom:1px solid #e8f2f0}.clinical-entry-page .invx-chip{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:38px;height:38px;border-radius:11px;background:#e6f4f1;color:#0f8b7b;font-size:16px}.clinical-entry-page .invx-ctitle{margin:0;color:#12332e;font-size:15px;font-weight:700}.clinical-entry-page .invx-csub{margin:2px 0 0;color:#6b7c78;font-size:12px}.clinical-entry-page .form-inner.clinical-entry-form{padding:18px 20px 0}.clinical-entry-page .clinical-entry-form .form-group.row{display:block;margin-bottom:16px}.clinical-entry-page .clinical-entry-form .form-group.row>label{display:block;margin:0 0 7px;color:#5b7470;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.clinical-entry-page .clinical-entry-form .form-group.row>[class*="col-"]{width:100%;padding:0}.clinical-entry-page .clinical-entry-form .form-control{height:42px;padding:10px 13px;border:1.5px solid #d7e6e3;border-radius:10px;background:#fff;color:#12332e;font-size:13px}.clinical-entry-page .clinical-entry-form textarea.form-control{min-height:100px}.clinical-entry-page .clinical-entry-form .invx-status{display:flex;align-items:center;gap:12px;min-height:42px}.clinical-entry-page .clinical-entry-form .invx-switch{position:relative;display:inline-flex;flex:0 0 auto;width:54px;height:30px;margin:0;cursor:pointer}.clinical-entry-page .clinical-entry-form .invx-switch input{position:absolute;width:1px;height:1px;opacity:0}.clinical-entry-page .clinical-entry-form .invx-switch-track{position:absolute;inset:0;border-radius:999px;background:#cbd8d5;transition:background .2s}.clinical-entry-page .clinical-entry-form .invx-switch-track:before{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;content:"";box-shadow:0 1px 4px rgba(18,51,46,.25);transition:transform .2s}.clinical-entry-page .clinical-entry-form .invx-switch input:checked+.invx-switch-track{background:linear-gradient(135deg,#0f8b7b,#0b6a58)}.clinical-entry-page .clinical-entry-form .invx-switch input:checked+.invx-switch-track:before{transform:translateX(24px)}.clinical-entry-page .clinical-entry-form .invx-status-text{color:#526b66;font-size:13px;font-weight:700}.clinical-entry-page .clinical-entry-form .invx-status-text.is-active{color:#0b6a58}.clinical-entry-page .clinical-entry-form .billing-entry-footer{margin:18px -20px 0;padding:15px 20px;border-top:1px solid #e8f2f0;border-radius:0;background:#fbfdfc}.clinical-entry-page .billing-entry-actions button{min-height:42px;padding:10px 18px;border-radius:10px;font-size:13px}.clinical-entry-page .billing-entry-actions .billing-entry-reset{border:1px solid #d7e7e3;background:#fff;color:#526b66}.clinical-entry-page .billing-entry-actions .billing-entry-save{border:1px solid transparent!important;background:linear-gradient(135deg,#0f8b7b,#0b6a58);box-shadow:0 4px 12px rgba(15,139,123,.2)}
@media(max-width:600px){.clinical-entry-page .form-inner.clinical-entry-form{padding:16px 14px 0}.clinical-entry-page .clinical-entry-form .billing-entry-footer{margin:16px -14px 0;padding:14px}.clinical-entry-page .clinical-entry-form .billing-entry-actions{justify-content:stretch}}
.content-header .hmis-bed-manager-header-layout{flex-direction:row-reverse}.content-header .hmis-bed-manager-header-layout .hmis-header-title-group{flex-direction:row-reverse}.content-header .hmis-bed-manager-header-layout .header-title{text-align:right}.content-header .hmis-bed-manager-header-layout .header-actions{margin-right:auto;margin-left:0}
.clinical-entry-page .clinical-entry-form .form-group.row>label{text-align:left}.clinical-entry-page .clinical-entry-form .form-control{direction:ltr;text-align:left}
@media(max-width:767px){.content-header .hmis-bed-manager-header-layout{flex-wrap:wrap;align-items:flex-start!important;gap:8px 12px}.content-header .hmis-bed-manager-header-layout .hmis-header-title-group{margin-left:auto}.content-header .hmis-bed-manager-header-layout .header-actions{display:flex;width:100%;justify-content:flex-start;margin:0}.content-header .hmis-bed-manager-header-layout .header-title{text-align:right}}
.setting-image-preview{display:flex;align-items:center;min-height:62px;margin-bottom:8px;padding:8px;border:1px solid #e3eaf2;border-radius:8px;background:#f8fafc}.setting-image-preview img{max-width:100%;max-height:52px;object-fit:contain}.billing-entry-page .billing-entry-field input[type="file"].form-control{height:auto;min-height:38px;padding:7px 9px;background:#f8fafc}
.hospital-activity-entry{width:min(1120px,100%);margin:0 auto}.hospital-activity-entry .hospital-activity-card{overflow:hidden;max-width:100%;margin:0;border:1px solid #dce5ef;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(28,55,90,.04)}.hospital-activity-entry .hospital-activity-card>.panel-body.panel-form{padding:0;background:#fff}.hospital-activity-entry .hospital-activity-card .panel-body>.row{margin:0}.hospital-activity-entry .hospital-activity-card .panel-body>.row>[class*="col-"]{float:none;width:100%;padding:0}.hospital-activity-entry .hospital-activity-form{margin:0}.hospital-activity-entry .hospital-activity-form .billing-entry-section{padding:20px 22px;border:0}.hospital-activity-entry .hospital-activity-form .billing-entry-section h2{margin-bottom:16px}.hospital-activity-entry .hospital-activity-form .form-group.row{display:block;margin:0 0 15px}.hospital-activity-entry .hospital-activity-form .form-group.row>label{display:block;width:auto;margin:0 0 6px;padding:0;color:#304761;font-size:11px;font-weight:600;text-align:left}.hospital-activity-entry .hospital-activity-form .form-group.row>[class*="col-"]{float:none;width:100%;padding:0}.hospital-activity-entry .hospital-activity-form .form-control{width:100%;height:38px;padding:9px 12px;border:1px solid #d8e2ed;border-radius:7px;background:#f8fafc;color:#253954;font-size:12px;box-shadow:none}.hospital-activity-entry .hospital-activity-form textarea.form-control{height:auto;min-height:84px;resize:vertical}.hospital-activity-entry .hospital-activity-form .form-control:focus{border-color:#37aa96;box-shadow:0 0 0 2px rgba(30,155,130,.1)}.hospital-activity-entry .hospital-activity-form .form-check{display:flex;align-items:center;gap:14px;min-height:34px}.hospital-activity-entry .hospital-activity-form .radio-inline{margin:0;color:#304761;font-size:12px}.hospital-activity-entry .hospital-activity-form .billing-entry-footer{margin:0;padding:15px 22px;border-top:1px solid #edf1f6;background:#fafbfd}
@media(max-width:600px){.hospital-activity-entry{width:100%}.hospital-activity-entry .hospital-activity-form .billing-entry-section{padding:16px 13px}.hospital-activity-entry .hospital-activity-form .billing-entry-footer{align-items:flex-start;flex-direction:column;padding:14px}.hospital-activity-entry .hospital-activity-form .billing-entry-actions{width:100%}.hospital-activity-entry .hospital-activity-form .billing-entry-actions button{flex:1}}

/* Bed Manager page headers: title and icon on the left, list action on the right. */
.content-header .hmis-bed-manager-header-layout{flex-direction:row!important}
.content-header .hmis-bed-manager-header-layout .hmis-header-title-group{flex-direction:row!important;margin-right:auto;margin-left:0}
.content-header .hmis-bed-manager-header-layout .header-title{text-align:left!important}
.content-header .hmis-bed-manager-header-layout .header-actions{justify-content:flex-end;margin-right:0!important;margin-left:auto!important}
@media(max-width:767px){.content-header .hmis-bed-manager-header-layout .hmis-header-title-group{margin-right:auto;margin-left:0}.content-header .hmis-bed-manager-header-layout .header-actions{justify-content:flex-end;margin:0 0 0 auto!important}.content-header .hmis-bed-manager-header-layout .header-title{text-align:left!important}}
.admit-bed-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px 14px;border:1px solid #d8ebe6;border-radius:9px;background:#f4faf8}.admit-bed-details>div{min-width:0}.admit-bed-details small{display:block;margin-bottom:4px;color:#67837c;font-size:10px;font-weight:700;text-transform:uppercase}.admit-bed-details strong{display:block;overflow-wrap:anywhere;color:#12332e;font-size:13px;font-weight:700}@media(max-width:600px){.admit-bed-details{grid-template-columns:1fr;gap:8px}}
/* Shared compact icon-only DataTables export controls (Copy, CSV, Excel, PDF, Print). */
@font-face {
    font-family: 'bootstrap-icons';
    src: url('../vendor/bootstrap-icons/fonts/bootstrap-icons.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
.dataTables_wrapper .dt-buttons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.dataTables_wrapper .dt-buttons .dt-button {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
    min-width: 40px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #cbd5e1 !important;
    border-radius: 11px !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-shadow: none !important;
}
.dataTables_wrapper .dt-buttons .dt-button::before {
    content: none !important;
}
.dataTables_wrapper .dt-buttons .buttons-copy .bi { color: #2878b5; }
.dataTables_wrapper .dt-buttons .buttons-csv .bi { color: #d98b16; }
.dataTables_wrapper .dt-buttons .buttons-excel .bi { color: #21864a; }
.dataTables_wrapper .dt-buttons .buttons-pdf .bi { color: #c93636; }
.dataTables_wrapper .dt-buttons .buttons-print .bi { color: #4b5563; }
.dataTables_wrapper .dt-buttons .dt-button:hover,
.dataTables_wrapper .dt-buttons .dt-button:focus {
    border-color: #0b7a69 !important;
    background: #f0fdfa !important;
    outline: none;
}

/* Reserve separate space for the PKR prefix in service and package rates. */
.billing-entry-input.billing-currency-input{position:relative;min-width:0}
.billing-entry-input.billing-currency-input>span{position:absolute;left:12px;top:50%;transform:translateY(-50%);line-height:18px;padding-right:9px;border-right:1px solid #d8e2ed;pointer-events:none;font-size:11px;font-weight:700;color:#71889f}
.billing-entry-input.billing-currency-input>input.form-control{padding-left:58px!important;width:100%;min-width:0}
.billing-service-table .billing-currency-input{min-width:115px}