/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
    height: 64px;
}

.dark-style .menu .app-brand.demo {
    height: 64px;
}

.app-brand-logo.demo {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
    width: 34px;
    height: 24px;
}

.app-brand-logo.demo svg {
    width: 35px;
    height: 24px;
}

.app-brand-text.demo {
    font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 78px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
    display: block !important;
}

.demo-inline-spacing > * {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir='rtl'] .rtl-only {
    display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

.appointment-demo-title {
    max-width: 1000px !important;
}

.appointment-logo {
    width: 35% !important;
    height: 40% !important;
}

.dataTables_processing {
    background: transparent !important;
    box-shadow: none !important;
}

.dataTables_processing:nth-child(2) > div > div  {
    background: #685dd8 !important;
}
.meeting-card{
    background: #030E41;
    padding: 55px 20px;
}

.meeting-card .card-title{
    color: #fff;
    font-size: 36px;
    line-height: 42px;
}
.meeting-card .card-subtitle{
    color: #fff;
    font-size: 44px;
    line-height: 50px;
}

.meeting-card .btn-white{
    background-color: white;
    color: #030E41;
    padding: 15px 30px;
}

.meeting-card .date{
    font-size: 24px;
    line-height: 30px;
    text-transform: uppercase;
    color: white;

}

.meeting-card .date p{
    margin-bottom: 7px !important;
}

.gallary-title{
    background-image: url("../../img/ribbon-image.png");
    height: 110px;
    padding-top: 8px;
    color: black;
    font-size: 30px;
    background-repeat: no-repeat;
    background-position: center -17px;
}

.pagination {
    margin: 20px;
    display: inline-flex;
    align-items: center;
    float: right;
}

.tooltip {
    opacity: 1;
    min-width: 220px;
}

.tooltip-inner {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #c9c9c9;
    padding: 0;
    width: 100%;
}

.tooltip-title {
    background: #f8f8f8;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    padding: 5px;
}

.tooltip-details {
    padding: 0px !important;
    margin: 0px !important;
    padding-left: 5px !important;
}

.tooltip-content {
    text-align: left !important;
}

.fc-timegrid-event-harness {
    z-index: auto !important;
}

.footer-sticky-button{
    position: fixed !important;
    right: 20px;
    bottom: 15px;
    color: white;
    text-align: center;
    z-index: 99;
}

.support-conversation-list{
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}


/** Intake form CSS */

.intake-form .form-control-no-border {
    border: none;
    background-color: #eb2a2a;
    border-radius: 0;
}

.intake-form .section-sed {
    border: 1px solid black !important;
    border-radius: 10px;
    margin-top: 10px;
    padding: 20px;
    background-color:#f3f6f8;
}

.intake-form table select.form-select {
    border: none !important;
}

.intake-form form table input {
    border: none !important;
}


@media screen and (max-width: 768px) {

    .intake-form .table-container,
    .intake-form table {
        overflow-x: auto;
    }
}
.intake-form .main-form{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    -moz-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    -ms-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.intake-form .form-check-input[type="radio"] {
    margin-left: 15px;
}

.intake-form .form-check-label {
    font-size: 16px;
}
.intake-form form label{
    font-size: 14px;
    font-weight: 600;
}
.intake-form form select,
.intake-form form input{
    font-size: 14px;
    border: 1px solid #07357f !important;
}
.intake-form form select:focus,
.intake-form form input:focus{
    box-shadow: none !important;
}
.intake-form form input::placeholder{
    color: #aec5de;
}
.intake-form form .container{
    background-color: #fff;
    border-radius: 15px;
}

.intake-form .error {
    color: red;
}

.intake-form .error input, select{
    color: black;
}

.table-appointments .padding-td, .table-appointments tr th{
    padding: 5px 0px 5px 10px;
    font-size: 14px;
}

.table-appointments .padding-td .btn-group .btn-sm{
    padding: 4px 10px;
}

.bg-label-blue {
    background-color: #4a4291 !important;
    color: #fbfafc !important;
}
.bg-label-dark-blue {
    background-color: #211f31 !important;
    color: #fbfafc !important;
}

table tr td {
    color: #022743 !important;
}

.no-color-table table tr td {
    color: inherit !important;
}

.dataTables_wrapper table .text-danger td{
    color: #ad2831 !important;
}
.dataTables_wrapper table  .text-primary td{
    color: #0466c8 !important;
}

.dataTables_wrapper .table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}
.dataTables_wrapper .table > :not(caption) > * > * {
    padding: 0.5rem 0.4rem;
    font-size: 0.875rem;
}

:root {
    --main-blue: #002D62;
    --main-blue-hover: #003D7E;
    --main-secondary: #006F3D;
    --main-gradient: radial-gradient(circle at center, 
        #003D7E 0%, 
        #002D62 40%, 
        #001F4D 70%, 
        #001233 100%);
}
a{
    color: var(--main-blue);
}
a:hover{
    color: var(--main-secondary) !important;
}
.text-primary{
    color: var(--main-blue) !important;
}
.dropdown-item:hover, .dropdown-item:focus {
    color: var(--main-blue) !important;
    background-color:rgba(0, 61, 126, 0.1) !important;
}
.layout-menu-horizontal.menu-horizontal.menu.bg-menu-theme.flex-grow-0{
    background: var(--main-gradient) !important;
    background-color: transparent !important;
}
.btn-outline-primary {
    color: var(--main-blue);
    border-color: var(--main-blue);
    background: transparent;
}
.menu-horizontal .menu-inner > .menu-item > .menu-sub {
    margin-top: 0.675rem !important;
}
.bg-menu-theme .menu-link, .bg-menu-theme .menu-horizontal-prev, .bg-menu-theme .menu-horizontal-next {
    color: #fff;
}
.light-style .bg-menu-theme.menu-horizontal .menu-inner .menu-item:not(.menu-item-closing) > .menu-sub, .bg-menu-theme.menu-horizontal .menu-inner .menu-item.open .menu-link.menu-toggle,
html:not(.layout-menu-collapsed) .bg-menu-theme .menu-inner .menu-item:not(.active) .menu-link:hover, .layout-menu-hover.layout-menu-collapsed .bg-menu-theme .menu-inner .menu-item:not(.active) .menu-link:hover{
    background-color: #fff !important;
    color: var(--main-blue) !important;
}
.btn-outline-primary:hover {
    color: var(--main-blue-hover) !important;
    background-color: rgba(0, 61, 126, 0.1) !important;
    border-color: var(--main-blue-hover) !important;
}

.btn-primary {
    background-color: var(--main-blue) !important;
    border-color: var(--main-blue) !important;
}
.btn-primary:hover {
    background-color: var(--main-blue-hover) !important;
    border-color: var(--main-blue-hover) !important;
}
.app-brand-logo.demo{
   width: auto !important;
   height: auto !important;
}
.app-brand-logo.demo img{
    max-width: 40px;
    height: auto;
}
.menu-horizontal-prev::after, .menu-horizontal-next::after{
    width: 0.8rem;
    height: 0.8rem;
}
.light-style .bg-menu-theme.menu-horizontal .menu-item:hover > a{
    background-color: transparent;
}
.light-style .bg-menu-theme.menu-horizontal .menu-inner > .menu-item.active > .menu-link.menu-toggle{
    background: #fff !important;
    color: var(--main-blue) !important;
}
.light-style .bg-menu-theme.menu-horizontal .menu-inner .menu-item:not(.menu-item-closing) > .menu-sub, .bg-menu-theme.menu-horizontal .menu-inner .menu-item.open > .menu-toggle{
    background: var(--main-blue) !important;
}
.light-style .bg-menu-theme.menu-horizontal .menu-item:hover > .menu-link:not(.menu-toggle),
.light-style .bg-menu-theme.menu-horizontal .menu-item.active > .menu-link:not(.menu-toggle){
    background: #fff !important;
    color: var(--main-blue) !important;
}
.light-style .bg-menu-theme.menu-horizontal .menu-item.open:hover > .menu-link:not(.menu-toggle){
    background: transparent !important;
    color: #c9c8ce !important;
}
.light-style .bg-menu-theme.menu-horizontal .menu-item.open:hover > .menu-sub .menu-item:hover.menu-link:not(.menu-toggle){
    background: #fff !important;
    color: var(--main-blue) !important;
}
.select2-container--default.select2-container--focus .select2-selection, .select2-container--default.select2-container--open .select2-selection {
    border-color: var(--main-blue) !important;
}
.form-control:focus, .form-select:focus {
    border-color: var(--main-blue) !important;
}
.light-style .select2-container--default .select2-results__option--highlighted:not([aria-selected=true]),
.select2-container--default .select2-results__option--highlighted:not([aria-selected=true]) {
    background-color: rgba(0, 61, 126, 0.1) !important;
    color: var(--main-blue) !important;
}
.btn-secondary {
    color: #fff;
    background-color: var(--main-secondary) !important;
    border-color: var(--main-secondary) !important;
}
.btn-secondary:hover {
    border-color: var(--main-blue-hover) !important;
    background-color: var(--main-blue-hover) !important;
}
.btn-label-primary {
    color: var(--main-blue);
    border-color: transparent;
    background: rgba(0, 61, 126, 0.1) !important;
}
.btn-label-primary:hover {
    border-color: transparent !important;
    background: rgba(0, 61, 126, 0.3) !important;
    color: var(--main-blue) !important;
}

.table-wrapper {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 10px 30px;
}
.theme-text-color{
    color: #2f324e !important;
}
.table-wrapper .card-header{
    font-size: 18px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.table-wrapper .table thead tr th{
    border-bottom: 0 !important;
    text-transform: capitalize;
    font-weight: 600;
    font-size: 14px !important;
    color: var(--main-blue) !important;
}

.table-wrapper .table thead th{
    padding: 10px 10px!important;
    background-color: rgb(0 ,59 ,122 , 0.07) !important;
}
.table-wrapper .table tbody tr{
    background-color: #fff !important;
}
.table-wrapper .table tbody tr td{
    font-size: 14px;
    padding: 12px 10px !important;
    background-color: #fff !important;
}
.table-wrapper thead th:first-child{
    border-radius: 6px 0 0 6px !important;
}
.table-wrapper thead th:last-child{
    border-radius: 0 6px 6px 0 !important;
}
.data-table-wrapper .pagination{
    gap: 5px;
}
.table-wrapper .paginate_button a,
.data-table-wrapper .paginate_button a {
    padding: 10px 15px !important;
}
.table-wrapper ul.pagination .page-item.disabled .page-link,
.data-table-wrapper ul.pagination .page-item.disabled .page-link {
    background-color: rgb(134 146 208, 0.15);
}
.data-table-wrapper td{
    padding: 14px 10px !important;
}
.data-table-wrapper .dtrg-group td{
    padding: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}
.custom-table-action i {
    font-size: 20px;
}
.appointments-table-wrapper .card-body {
    padding: 0;
}
.appointments-table-wrapper {
    padding: 10px 30px;
}
.appointment-table-date-row{
    border-radius: 6px;
    border:none;
}
.table-wrapper .card-body {
    padding-left: 0;
    padding-right: 0;
}
.appointments-table-wrapper .text-dark.even td {
    border: none !important;
}
.appointments-table-wrapper .text-dark.odd td{
    border-bottom: none !important;
    border-top: 1px solid #dbdade !important;
}

/* custom box-shadow */
.custom-shadow{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.form-check-input:checked {
    background-color: var(--main-blue);
    border-color: var(--main-blue);
}
.page-item.active .page-link, .pagination li.active > a:not(.page-link) {
    border-color: var(--main-blue);
    background-color: var(--main-blue);
    color: #fff;
}
.theme-not-process-badge{
    color: red;
    border: 1px solid red;
    padding: 6px !important;
    background-color: rgb(255 ,0 ,0 ,0.2);
}
.theme-process-badge{
    color: green;
    padding: 6px !important;
    background-color: rgba(40, 199, 111, 0.2) !important;
}
.theme-active-badge {
    color: green;
    position: relative;
    padding: 6px 6px 6px;
    background-color: rgba(40, 199, 111, 0.2) !important;
}
.theme-inactive-badge{
    color: red;
    background-color: rgb(255 ,0 ,0 ,0.2) !important;
}

.btn-group > :not(.btn-check:first-child) + .btn, .btn-group > .btn-group:not(:first-child){
    margin: 0 !important;
}
.page-item.active .page-link, .pagination li.active > a:not(.page-link) {
    border-color: var(--main-blue);
    background-color: var(--main-blue);
    color: #fff !important;
}
.paginate_button.page-item.previous.disabled{
    pointer-events: none;
}
.paginate_button.page-item:hover a{
    border-color: var(--main-blue);
    background-color: var(--main-blue);
    color: #fff !important;
}
.select2-results__option[role=option][aria-selected=true] {
    background-color: var(--main-blue) !important;
    color: #fff !important;
}
.select2-selection.select2-selection--single{
    height: auto !important;
}
.select2-selection.select2-selection--multiple{
    min-height: inherit !important;
}
.select2-selection.select2-selection--multiple .select2-selection__rendered,
.light-style .select2-container--default .select2-selection--single .select2-selection__rendered{
    font-size: 0.875rem !important;
}
tfoot.table-light th{
    background-color: var(--main-blue-hover) !important;
    color: #fff !important;
}
.view-more-link{
    color: var(--main-blue) !important;
    text-decoration: underline;
}

/* Horizontal menu navigation - increase slide distance */
.menu-horizontal .menu-inner {
    transition: margin-left 0.3s ease-in-out !important;
}

/* Force minimum -100px margin when menu is shifted left */
.menu-horizontal .menu-inner[style*="margin-left: -"] {
    margin-left: -120px !important;
}

/* For RTL support */
[dir="rtl"] .menu-horizontal .menu-inner[style*="margin-right: -"] {
    margin-right: -120px !important;
}
