/* =======================================================
    * Template Name: SwiftStyle
    * Template URL: https://theme-1.myondiso.com
    * Updated: 1 July 2024 with OnDiso Web Manager v1.0.0
    * Author: ondiso.io
    * License: https://ondiso.io/license/
======================================================== */

:root {
    /* OnDiso Web Manager - Start */
    --ods-editlable-background: rgb(0 0 0 / 30%) !important;
    --ods-text-editor-color: #000000 !important;
    --ods-editlableon-background: rgb(0 0 0 / 78%) !important;
    --ods-editlableon-color: rgba(239, 68, 68, 1) !important;
    --ods-editlableon-border: rgba(239, 68, 68, 1) !important;
    --ods-menu-background: #fff !important;
    --ods-menu-border: rgba(239, 68, 68, 1) !important;
    --ods-menu-color: rgba(239, 68, 68, 1) !important;
    /* OnDiso Web Manager - End */

    --background: rgb(255, 255, 255);
    --header-footer: rgba(17, 24, 39, 1);
    --header-footer-color: #fff;
    --button-background-color: rgba(239, 68, 68, 1);
    --button-color: #fff;
    --button-background-color-hover: rgba(239, 68, 68, 0.772);
    --button-color-hover: #fff;
    --link-color: rgba(239, 68, 68, 1);
    /* --icon-current-color: rgba(239, 68, 68, 1); */
    --splash-screen-background: rgb(255, 255, 255);
    --splash-screen-spinner: rgb(239, 68, 68, 1);
    --light-background: rgb(255, 255, 255);
    --light-color: rgb(0, 0, 0);
    --dark-background: rgba(243, 244, 246, 1);
    --dark-color: rgb(0, 0, 0);
}

.light {
    /** background-color: var(--light-background) !important; */
    color: var(--light-color) !important;
}

.dark {
    background-color: var(--dark-background) !important;
    color: var(--dark-color) !important;
}

.theme-header {
    background-color: var(--header-footer) !important;
    color: var(--header-footer-color) !important;
}

.theme-footer {
    background-color: var(--header-footer) !important;
    color: var(--header-footer-color) !important;
}

.theme-button,
.theme-button i,
.theme-button svg {
    background-color: var(--button-background-color) !important;
    color: var(--button-color) !important;
}

.theme-button:hover {
    background-color: var(--button-background-color-hover) !important;
    color: var(--button-color-hover) !important;
}

.theme-link,
.theme-link i,
.theme-link svg {
    color: var(--link-color) !important;
}

i,
svg,
.icon-color {
    color: var(--icon-current-color) !important;
}

.section-icon i {
    font-size: 35px !important;
}

.background {
    position: relative;
    overflow-x: hidden;
    background: var(--background);
}

.accordion-item .accordion-toggle {
    display: none;
}

.accordion-item .accordion-content {
    display: none;
}

.accordion-item .accordion-toggle:checked+.accordion-title+.accordion-content {
    display: block;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--splash-screen-background) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--splash-screen-background) !important;
    border-top-color: var(--splash-screen-spinner) !important;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.mobile-menu {
    display: none;
    transition: transform 0.3s ease-in-out;
    transform: translateY(-100%);
}

.mobile-menu.active {
    display: block;
    transform: translateY(0%);
}