﻿:root,
[data-bs-theme=light] {
    --bs-bg-gray-gray-ss1: #EEEEEE !important;
    --bs-bg-gray-gray-ss2: #DFDFDF !important;
    --bs-bg-gray-gray-ss3: #CECECE !important;
}

[data-bs-theme=dark] {
    --bs-bg-gray-gray-ss1: #313131 !important;
    --bs-bg-gray-gray-ss2: #222 !important;
    --bs-bg-gray-gray-ss3: #151515 !important;
}


body {
    --ck-z-default: 100;
    --ck-z-modal: calc(var(--ck-z-default) + 999);
    top: 0 !important;
}

.field-validation-error {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    font-size: 0.95rem;
    color: var(--bs-form-invalid-color);
}

.input-validation-error, select.input-validation-error, textarea.input-validation-error {
    border-color: var(--bs-form-invalid-color);
}

.text-dotify {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.font-family-mix {
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';
}

.font-family-poppins {
    font-family: 'Poppins';
}

[data-bs-theme=light] .highlighted {
    background: #fff5a6;
}

[data-bs-theme=dark] .highlighted {
    background: #ca0000;
}


ins {
    background: #caffca;
}

del {
    background: #ffcfcf;
}

.td-ai-False {
    opacity: 0.25 !important;
}

.bg-gray-ss1 {
    background: var(--bs-bg-gray-gray-ss1);
}

.bg-gray-ss2 {
    background: var(--bs-bg-gray-gray-ss2);
}

.bg-gray-ss3 {
    background: var(--bs-bg-gray-gray-ss3);
}

@media (min-width: 992px) {
    .dancing-sidebar {
        --offset: 60px !important;
        flex-grow: 1 !important;
        align-self: start !important;
        position: sticky !important;
        top: var(--offset) !important;
        margin-bottom: 1rem !important;
        z-index: 1 !important;
    }
}

/*---------------------Modal----------------------*/

@media (min-width: 576px) {
    .modal-xxl {
        --bs-modal-width: 500px;
    }
}

@media (min-width: 992px) {
    .modal-xxl {
        --bs-modal-width: 800px;
    }
}

@media (min-width: 1200px) {
    .modal-xxl {
        --bs-modal-width: 1180px;
    }
}

@media (min-width: 1400px) {
    .modal-xxl {
        --bs-modal-width: 1380px;
    }
}

.modal-open .modal {
    background: #cccccc4f;
    backdrop-filter: blur(10px);
}

/*---------------------Google Translate------------------*/

#goog-gt-tt {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-value:hover {
    text-decoration: none !important;
}

#google_translate_element2 {
    display: none !important;
}

body > .skiptranslate {
    display: none;
}

/*------------------Landing page Carousel------------------*/

#carousel_home .carousel-item {
    height: 45vh;
}

    #carousel_home .carousel-item img {
        height: 100%;
        width: auto;
        object-fit: cover;
    }

/*-----------------------CKEditor 5------------------------*/

.ck.fullscreen-mode .ck-editor__main, .ck.fullscreen-mode .ck-editor__editable_inline, .ck.fullscreen-mode .ck-source-editing-area {
    height: 100% !important;
}

.ck.ck-toolbar > .ck-toolbar__items > :not(.ck-toolbar__line-break), .ck.ck-toolbar > .ck.ck-toolbar__grouped-dropdown {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.ck.ck-toolbar > .ck-toolbar__items {
    margin: 4px 0px !important;
}

.ck.ck-icon, a.ck.ck-icon {
    font-size: 0.75em !important;
}

.ck.ck-balloon-panel {
    z-index: 2000 !important;
}

.modal-content {
    position: relative;
}

/*--------------------Inactive Overlay--------------------*/

.inactive-parent {
    position: relative;
}

    .inactive-parent::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.88);
    }

.active-child {
    position: relative;
    z-index: 1;
}

/*---------------------Menu Tree---------------------------*/

.tree-structure ul:not(.tree-list) {
    padding-left: 3rem;
}

.tree-structure ul:first-child {
    list-style-type: none;
    padding: 0;
}

    .tree-structure ul:first-child > li {
        margin-bottom: 8px;
    }

.tree-structure ul .tree-level {
    position: absolute;
    margin-top: -4px;
    margin-left: -10px;
}

.tree-structure ul .tree-text {
    margin-left: 24px;
}

.tree-structure ul > li {
    list-style-type: none;
    margin: 0;
    padding: 10px 0 0 0;
    position: relative;
}

    .tree-structure ul > li::before, .tree-structure li::after {
        content: '';
        left: -30px;
        position: absolute;
        right: auto
    }

    .tree-structure ul > li::before {
        border-left: 1px dashed #b1b1b1;
        bottom: 50px;
        height: 100%;
        top: 0;
        width: 1px
    }

    .tree-structure ul > li::after {
        border-top: 1px dashed #b1b1b1;
        height: 20px;
        top: 22px;
        width: 25px;
    }

    .tree-structure ul > li span.tree-title {
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border: 1px solid #f5f5f5;
        border-radius: 10px;
        display: inline-block;
        padding: 5px 10px 5px 5px;
        text-decoration: none;
    }

    .tree-structure ul > li.parent_li > span {
        cursor: pointer
    }

.tree-structure > ul > li::before, .tree-structure > ul > li::after {
    border: 0
}

.tree-structure li:last-child::before {
    height: 22px
}

.icon-holder {
    cursor: pointer;
    cursor: pointer;
}

    .icon-holder:hover {
        background: #f9f9f9;
        border-radius: 1rem;
    }

/*----------------------Table Resize-------------------------*/

.rc-handle-container {
    position: relative;
}

.rc-handle {
    position: absolute;
    width: 5px;
    cursor: ew-resize;
    margin-left: -2px;
    z-index: 2;
    border: 1px dashed #939393;
}

table.rc-table-resizing {
    cursor: ew-resize;
}

    table.rc-table-resizing thead,
    table.rc-table-resizing thead > th,
    table.rc-table-resizing thead > th > a {
        cursor: ew-resize;
    }

/*------------------------Cropper--------------------------*/

.cropper-container {
    direction: ltr;
    font-size: 0;
    line-height: 0;
    position: relative;
    -ms-touch-action: none;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

    .cropper-container img {
        backface-visibility: hidden;
        display: block;
        height: 100%;
        image-orientation: 0deg;
        max-height: none !important;
        max-width: none !important;
        min-height: 0 !important;
        min-width: 0 !important;
        width: 100%
    }

.cropper-canvas, .cropper-crop-box, .cropper-drag-box, .cropper-modal, .cropper-wrap-box {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0
}

.cropper-canvas, .cropper-wrap-box {
    overflow: hidden
}

.cropper-drag-box {
    background-color: #fff;
    opacity: 0
}

.cropper-modal {
    background-color: #000;
    opacity: .5
}

.cropper-view-box {
    display: block;
    height: 100%;
    outline: 1px solid #39f;
    outline-color: rgba(51,153,255,.75);
    overflow: hidden;
    width: 100%
}

.cropper-dashed {
    border: 0 dashed #eee;
    display: block;
    opacity: .5;
    position: absolute
}

    .cropper-dashed.dashed-h {
        border-bottom-width: 1px;
        border-top-width: 1px;
        height: 33.3333333333%;
        left: 0;
        top: 33.3333333333%;
        width: 100%
    }

    .cropper-dashed.dashed-v {
        border-left-width: 1px;
        border-right-width: 1px;
        height: 100%;
        left: 33.3333333333%;
        top: 0;
        width: 33.3333333333%
    }

.cropper-center {
    display: block;
    height: 0;
    left: 50%;
    opacity: .75;
    position: absolute;
    top: 50%;
    width: 0
}

    .cropper-center::after, .cropper-center::before {
        background-color: #eee;
        content: " ";
        display: block;
        position: absolute
    }

    .cropper-center::before {
        height: 1px;
        left: -3px;
        top: 0;
        width: 7px
    }

    .cropper-center::after {
        height: 7px;
        left: 0;
        top: -3px;
        width: 1px
    }

.cropper-face, .cropper-line, .cropper-point {
    display: block;
    height: 100%;
    opacity: .1;
    position: absolute;
    width: 100%
}

.cropper-face {
    background-color: #fff;
    left: 0;
    top: 0
}

.cropper-line {
    background-color: #39f
}

    .cropper-line.line-e {
        cursor: ew-resize;
        right: -3px;
        top: 0;
        width: 5px
    }

    .cropper-line.line-n {
        cursor: ns-resize;
        height: 5px;
        left: 0;
        top: -3px
    }

    .cropper-line.line-w {
        cursor: ew-resize;
        left: -3px;
        top: 0;
        width: 5px
    }

    .cropper-line.line-s {
        bottom: -3px;
        cursor: ns-resize;
        height: 5px;
        left: 0
    }

.cropper-point {
    background-color: #39f;
    height: 5px;
    opacity: .75;
    width: 5px
}

    .cropper-point.point-e {
        cursor: ew-resize;
        margin-top: -3px;
        right: -3px;
        top: 50%
    }

    .cropper-point.point-n {
        cursor: ns-resize;
        left: 50%;
        margin-left: -3px;
        top: -3px
    }

    .cropper-point.point-w {
        cursor: ew-resize;
        left: -3px;
        margin-top: -3px;
        top: 50%
    }

    .cropper-point.point-s {
        bottom: -3px;
        cursor: s-resize;
        left: 50%;
        margin-left: -3px
    }

    .cropper-point.point-ne {
        cursor: nesw-resize;
        right: -3px;
        top: -3px
    }

    .cropper-point.point-nw {
        cursor: nwse-resize;
        left: -3px;
        top: -3px
    }

    .cropper-point.point-sw {
        bottom: -3px;
        cursor: nesw-resize;
        left: -3px
    }

    .cropper-point.point-se {
        bottom: -3px;
        cursor: nwse-resize;
        height: 20px;
        opacity: 1;
        right: -3px;
        width: 20px
    }

@media (min-width:768px) {
    .cropper-point.point-se {
        height: 15px;
        width: 15px
    }
}

@media (min-width:992px) {
    .cropper-point.point-se {
        height: 10px;
        width: 10px
    }
}

@media (min-width:1200px) {
    .cropper-point.point-se {
        height: 5px;
        opacity: .75;
        width: 5px
    }
}

.cropper-point.point-se::before {
    background-color: #39f;
    bottom: -50%;
    content: " ";
    display: block;
    height: 200%;
    opacity: 0;
    position: absolute;
    right: -50%;
    width: 200%
}

.cropper-invisible {
    opacity: 0
}

.cropper-bg {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)
}

.cropper-hide {
    display: block;
    height: 0;
    position: absolute;
    width: 0
}

.cropper-hidden {
    display: none !important
}

.cropper-move {
    cursor: move
}

.cropper-crop {
    cursor: crosshair
}

.cropper-disabled .cropper-drag-box, .cropper-disabled .cropper-face, .cropper-disabled .cropper-line, .cropper-disabled .cropper-point {
    cursor: not-allowed
}

.cropper-img-container,
.img-preview {
    background-color: #f7f7f7;
    text-align: center;
    width: 100%;
}

.cropper-img-container {
    max-height: 550px;
    min-height: 200px;
}

@media (min-width: 768px) {
    .cropper-img-container {
        min-height: 550px;
    }
}

.cropper-img-container > img {
    max-width: 100%;
}

.docs-preview {
    margin-right: -1rem;
}

.img-preview {
    float: left;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    overflow: hidden;
}

    .img-preview > img {
        max-width: 100%;
    }

.preview-lg {
    height: 125px !important;
    width: 16rem;
}

.preview-md {
    height: 4.5rem;
    width: 8rem;
}

.preview-sm {
    height: 2.25rem;
    width: 4rem;
}

.preview-xs {
    height: 1.125rem;
    margin-right: 0;
    width: 2rem;
}

/*--------------------------------Calendar-------------------------------*/
/*-----------------------------------------------------------------------*/

.calendar .calendar-month {
    border-radius: 15px;
    box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075);
    padding: 20px;
}

.calendar .calendar-year-month {
    padding: 10px;
    border-radius: 15px;
    background: white;
}

.calendar .days-table {
    background: #f9f9f9;
}

.calendar .previous-month, .calendar .next-month {
    display: inline-block;
    cursor: pointer;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    border-radius: 10px;
    height: 40px;
    width: 40px;
    box-shadow: 0 0.1rem 0.75rem 0.25rem rgba(0, 0, 0, 0.05);
    padding: 8px;
    background: #3c3c3c;
    color: white;
}

.calendar .date-select {
    display: block;
    width: 100%;
    padding: .775rem 3rem .775rem 1rem;
    padding-right: 3rem;
    padding-left: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #F9F9F9;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2378829D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border-radius: 10px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.12);
}

.calendar .previous-month:hover, .calendar .next-month:hover {
    background: #dfdfdf;
}

.calendar .previous-month.disabled, .calendar .next-month.disabled {
    opacity: 0.3;
    cursor: default;
}

.calendar .days-table, .calendar .dates-table, .calendar .months-table {
    width: 100%;
    border-collapse: separate;
    text-align: center;
    border-spacing: 6px;
}

.calendar .months-table {
    border-spacing: 6px 4px;
}

.calendar .month-title {
    background: linear-gradient(to left, #eaeaea, rgba(223, 223, 223, 0.25)), #fff;
    padding: 6px 8px;
    position: relative;
    border-radius: 10px;
}

.calendar .day {
    font-size: 13px;
    color: #9b9b9b;
    background: #f9f9f9;
    border-radius: 20px;
    width: 14.2857143%;
}

.calendar .date {
    cursor: pointer;
    color: #2b2b2b;
    font-size: 15px;
    padding: 8px;
    line-height: 35px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
    -webkit-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
    position: relative;
}

@media (max-width: 768px) {
    .calendar .date {
        line-height: 32px;
    }
}

.calendar .date.nil {
    display: none;
}

.calendar .date:not(.nil):hover {
    border-color: #c1c1c1;
    background: #fbfbfb;
    color: #343434 !important;
}

.calendar .today-date {
    border: 1px dashed #56a8ff;
}

.calendar .today-badge {
    position: absolute;
    border-radius: 50%;
    right: 2px;
    top: 2px;
    height: 8px;
    width: 8px;
    background: #56a8ff;
}

.calendar .event-date {
    color: #fff !important;
    font-weight: 500 !important;
}

.calendar .event-date-badge {
    position: absolute;
    top: -3px;
    left: -3px;
    background-color: rgb(15, 15, 15);
    font-size: 12px;
    color: #fff;
    line-height: 9px;
    padding: 4px 5px;
    border-radius: 10px;
}

.calendar .day-badge {
    padding: 2px 8px;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
}

.calendar .has-event-red {
    background: #ff7979;
    border: 1px solid #ff7979 !important;
}

.calendar .has-event-blue {
    background: #32d0f5;
    border: 1px solid #32d0f5 !important;
}

.calendar .has-event-green {
    background: #39df4b;
    border: 1px solid #39df4b !important;
}

.calendar .has-event-pink {
    background: #bf34ff;
    border: 1px solid #bf34ff !important;
}

.calendar .has-event-brown {
    background: brown;
    border: 1px solid brown !important;
}

.calendar .weekend-date:not(.event-date) {
    color: #e34d4d;
    border: 1px solid #ffcfcf !important;
}

.calendar .events_item {
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.05);
    padding: 7px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

    .calendar .events_item:first-child {
        border-radius: 10px 10px 0 0;
    }

    .calendar .events_item:last-child {
        margin-bottom: 0 !important;
        border-radius: 0 0 10px 10px;
    }

.calendar .events_name {
    font-size: 13px;
    font-weight: 500;
    color: #585859;
}

.calendar .events_date {
    font-size: 12px;
    color: #828282;
}
