/*----------------------------
    Google fonts
-----------------------------*/
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

html, body {
    height: 100% !important;
}

body {
    font-family: "Titillium Web", sans-serif !important;
    /* font-family: 'Montserrat', sans-serif; */
    font-weight: 400;
    margin: auto !important;
    color: var(--contrast-theme-color) !important;
}

:root {
    /* Settings */
    --heading-page-height: 44px;
}

/*----------------------------
    Toast notify
-----------------------------*/
.toast.toast-notify  {
    z-index: 5060;
}

/*----------------------------
    SEARCH INPUT STICKY
-----------------------------*/
.search-input-sticky {
    position: sticky;
    background: var(--current-theme-color);
    padding-top: 5px !important;
    padding-bottom: 15px !important;
    z-index: 2;
}

/*-----------------------
    RESPONSIVE
-----------------------*/
@media screen and (width > 768px) { /* breakpoint “md” and above in Bootstrap */
    /*-----------------------
        SCROLLBAR
    -----------------------*/
    ::-webkit-scrollbar {
        width: 5px;
        height: 8px;
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(var(--current-company-color-rgb), 0.6); /* Colore dello "slider" */
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--current-company-color); /* Colore dello "slider" al passaggio del mouse */
    }

    ::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.15);
    }
}

@media screen and (width <= 768px) { /* breakpoints “sm” and lower in Bootstrap */
    /*-----------------------
        BODY
    -----------------------*/
    body {
        max-width: 768px !important;
    }
}

/*----------------------------
    MEDIA THEME QUERIES
-----------------------------*/
/* @media (prefers-color-scheme: dark) {
    body {
        background-color: var(--current-theme-color);
        color: white;
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: white;
        color: var(--current-theme-color);
    }
} */

/*----------------------------
    HIGHCHART
-----------------------------*/
.highcharts-title {
    /* width: auto !important; */
    right: 10px !important;
}

/*----------------------------
    CUSTOM SUBSECTION SIDEBAR
-----------------------------*/
.custom-subsection-sidebar {
    height: 100%;
    max-width: 300px;
}
