/********** Template CSS **********/
:root {
    --primary: #009CFF;
    --light: #F3F6F9;
    --dark: #191C24;
    --link: orange;
    --font-size: 0.95rem;
    --font-weight: 300;
    --line-height: 1.0;
    --body-color: #212529;
    --body-color-rgb: 33, 37, 41;
    --body-bg: #fff;
    --body-bg-rgb: 255, 255, 255;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: Heebo-Regular, sans-serif;
    /* background-color: gray; */
    font-size: var(--font-size);
    font-weight: var(--font-weight);
    line-height: var(--line-height);
    /*
    color: var(--body-color);
    background-color: var(--body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    */
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    background: var(--light);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-left: 250px;
    min-height: 100vh;
    background: #FFFFFF;
    transition: 0.5s;
}

.flex-wrapper {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.flex-wrapper-footer {
    margin-top: auto;
}

@media (min-width: 992px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -250px;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}

/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--dark);
    font-weight: 500;
    border-left: 3px solid var(--light);
    border-radius: 0 30px 30px 0;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: #FFFFFF;
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--light);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--dark);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
    text-decoration: none;
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}

/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}

/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}

/* alert msg */
div.alert-messages {
    position: fixed;
    top: 50px;
    left: 25%;
    right: 25%;
    z-index: 7000;
}

.flex-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

/*modal begin*/
.modal-dialog {
    overflow-y: initial !important;
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.modal-content.ui-resizable {
}

/*modal end*/

/* variable hide */
.value-hidden {
    display: none;
}

/* colors begin */
.color-regular {
    color: peru;
}

.color-red {
    color: red;
}

.color-blue {
    color: blue;
}

.color-green {
    color: green;
}

.color-orange {
    color: orange;
}

.color-gray {
    color: gray;
}

.color-icon-menu {
    color: highlight;
}

.color-icon-context {
    color: darkolivegreen;
}

.color-icon-context-update {
    color: lightsalmon;
}

.color-icon-edit {
    color: teal;
}

.color-icon-delete {
    color: firebrick;
}

.color-link{
    color: var(--link);
}

/* colors end */

/* edit, delete, select bootstrap-icons*/
.icon-tbl {
    background-color: var(--bs-light);
    border-radius: .25rem;
}

.bi-size-smaller {
    font-size: 1.2rem;
}

.bi-size-regular {
    font-size: 1.5rem;
}

.bi-size-medium {
    font-size: 2rem;
}

.bi-color-regular {
    color: gray;
}

.bi-color-regular-alt {
    color: lightgray;
}

/* icons */
.icon-context {
    color: orange;
    font-size: 3rem;
}

/*loading*/
.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.8) url("../img/loader.gif") center no-repeat;
}

/* Turn off scrollbar when body element has the loading class */
body.loading {
    overflow: hidden;
}

/* Make spinner image visible when body element has the loading class */
body.loading .overlay {
    display: block;
}
/* loading-end */

.crop-text-1 {
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.crop-text-2 {
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.crop-text-3 {
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/* image list display */
.icon-div-small {
    height: 32px;
    background-position: center;
    background-size: contain;
    /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.icon-div {
    height: 64px;
    background-position: center;
    background-size: contain;
    /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.image-div-small {
    height: 96px;
    background-position: center;
    background-size: contain;
    /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.image-div {
    height: 128px;
    background-position: center;
    background-size: contain;
    /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.image-div-large {
    height: 256px;
    background-position: center;
    background-size: contain;
    /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.image-div-xl {
    height: 512px;
    background-position: center;
    background-size: contain; /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.img-row {
    display: flex;
}

.img-column {
    flex: 25%;
    padding: 5px;
}

/* end image list display */

.table-img {
    max-height: calc(100vh / 7);
    max-width: calc(100vh / 7);
}

/*intl-tel*/
.intl-tel-input {
    width: 100%;
    display: block;
}

.iti {
    width: 100%;
    display: block;
}

.no-deco {
    text-decoration: none;
}

.album {
    display: flex;
    align-items: center;
    justify-content: stretch;
}

.list-inline li{
    display: inline-block;
}