.shadow-primary-fade {
    box-shadow: 0 0 10px 5px rgba(62, 151, 255, 0.5)!important;
}

.shadow-primary-fade-transition {
    transition: all 0.5s ease-in-out;
}

.bg-primary-shadow-50 {
    background-color: rgba(var(--bs-primary-rgb), 0.5);
}

.bg-primary-shadow-50-transition {
    transition: background-color 0.5s ease-in-out;
}

label.btn-check:not(:checked)+.btn.btn-not-checked:hover,
label.btn.btn-not-checked:not(.btn-check):not(.active):hover{
    background-color: var(--bs-light) !important;
}

.tinymce-show {
    word-break: normal !important;
    overflow-x: auto;
}

[data-bs-theme=dark] .tinymce-show [style*="#ffffff"]{
    background-color: initial !important;
    color: initial !important;
}

.tinymce-content p{
    margin-bottom: 0!important;
}

.skeleton-overlay {
    transition: all .3s ease;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bs-gray-400);
    z-index: 1;
}


.one-line-description{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.two-line-description{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fade-out{transition:opacity .15s linear}

.fade-out:not(.fade-in){opacity: 0}

@keyframes fade {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.btn-shadow.active, .btn-shadow:active, .btn-shadow:focus, .btn-shadow:hover {
    box-shadow: var(--bs-box-shadow-sm);
}

[data-bs-theme="light"] .hero-bg, [data-bs-theme="light"] .bg-1 {
    background-image: url('/public/assets/media/images/2600x1200/bg-1.png');
}

[data-bs-theme="dark"] .hero-bg, [data-bs-theme="dark"] .bg-1 {
    background-image: url('/public/assets/media/images/2600x1200/bg-1-dark.png');
}

[data-bs-theme="light"] .bg-2 {
    background-image: url('/public/assets/media/images/2600x1200/bg-2.png');
}

[data-bs-theme="dark"] .bg-2 {
    background-image: url('/public/assets/media/images/2600x1200/bg-2-dark.png');
}

[data-bs-theme="light"] .bg-3 {
    background-image: url('/public/assets/media/images/2600x1200/bg-3.png');
}

[data-bs-theme="dark"] .bg-3 {
    background-image: url('/public/assets/media/images/2600x1200/bg-3-dark.png');
}

[data-kt-app-sidebar-hoverable=true] .app-sidebar-menu .d-none-sidebar-maximize{
    display: none;
}

.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{
    left: unset !important;
}

@media (min-width: 992px){
    [data-kt-app-sidebar-minimize=on][data-kt-app-sidebar-hoverable=true] .app-sidebar:not(:hover) .hide-sidebar-minimize {
        opacity: 0;
        transition: opacity .3s ease!important;
    }

    [data-kt-app-sidebar-minimize=on][data-kt-app-sidebar-hoverable=true] .app-sidebar:not(:hover) .app-sidebar-menu .d-none-sidebar-maximize {
        display: inherit;
    }

    [data-kt-app-sidebar-minimize=on][data-kt-app-sidebar-hoverable=true] .app-sidebar:not(:hover) .app-sidebar-menu .text-vertical {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        transition: opacity .3s ease!important;
        position: fixed;
    }

    [data-kt-app-sidebar-minimize=on][data-kt-app-sidebar-hoverable=true] .app-sidebar:not(:hover) .text-orientation-vertical {
        writing-mode: vertical-lr;

        text-orientation: upright;
        transition: opacity .3s ease!important;
        letter-spacing: -2px;
        position: absolute;
        height: 100%;
        white-space: nowrap;
        overflow: hidden;
        mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    }
}

@media (max-width:1199.98px){
    .modal-dialog.modal-xl {
        --bs-modal-width: 98svw;
    }
}

.quill-show p{
    margin-bottom: 0 !important;
}

.quill-show ol{
    margin-bottom: 0 !important;
}

.quill-show ul{
    margin-bottom: 0 !important;
}

.quill-show > :last-child{
    margin-bottom: 0 !important;
}

.quill-show > p:last-child{
    display: inline;
}

.quill-show pre {
    white-space: pre-wrap;
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 5px 10px;
}

.quill-show pre.ql-syntax {
    background-color: var(--bs-gray-900);
    color: var(--bs-text-muted);
    overflow: visible;
    border-radius: .475rem;
}


.flower-loader {
    font-size:48px;
    color: #1980CB;
    width: 1em;
    height: 1em;
    box-sizing: border-box;
    background-color: currentcolor;
    position: relative;
    border-radius: 50%;
    transform: rotateX(-60deg) perspective(1000px);
}
.flower-loader:before,
.flower-loader:after {
    content: '';
    display: block;
    position: absolute;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    animation: flowerFlow 1s ease-out infinite;
}
.flower-loader:after {
    animation-delay: .4s;
}

@keyframes flowerFlow {
    0% {
        opacity: 1;
        transform: rotate(0deg);
        box-shadow: 0 0 0 -.5em #3CA8E6,
        0 0 0 -.5em #3CA8E6,
        0 0 0 -.5em #3CA8E6,
        0 0 0 -.5em #3CA8E6,
        0 0 0 -.5em #3CA8E6,
        0 0 0 -.5em #3CA8E6,
        0 0 0 -.5em #3CA8E6,
        0 0 0 -.5em #3CA8E6;
    }
    100% {
        opacity: 0;
        transform: rotate(180deg);
        box-shadow: -1em -1em 0 -.35em #3CA8E6,
        0 -1.5em 0 -.35em #3CA8E6,
        1em -1em 0 -.35em #3CA8E6,
        -1.5em 0 0 -.35em #3CA8E6,
        1.5em -0 0 -.35em #3CA8E6,
        -1em 1em 0 -.35em #3CA8E6,
        0 1.5em 0 -.35em #3CA8E6,
        1em 1em 0 -.35em #3CA8E6;
    }
}

.btn-shadow.active, .btn-shadow:active, .btn-shadow:focus, .btn-shadow:hover {
    box-shadow: var(--bs-box-shadow-sm);
}
