/*CSS HANDLER */
/*CSS HANDLER */
/*CSS HANDLER */
/*CSS HANDLER */
/*CSS HANDLER */
/*CSS HANDLER */
/*CSS HANDLER */
/*CSS HANDLER */
/*CSS HANDLER */
/*CSS HANDLER */
#menuItems ul li {
    background: var(--table_row);
    border: 1px solid var(--border-main);
    border-radius: 7px;
    margin: 3px;
    padding-left: 10px;
    transition: 0.3s ease;
}

#menuItems ul li:hover {
    background: var(--table_sub_header);
}

.menu ul li.current {
    background: var(--table_sub_header) !important;
}
.theme1 .menu ul li.current,
.theme1 .menu ul li:hover {
    background: var(--colorHeader) !important;
}

#menuItems ul li a {
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    padding: 0 5px 0 0;
    text-overflow: ellipsis; 
}

.scrollable_section.visibleFooter {
    height: calc(93vh - var(--navbar-height) - var(--section-height) - 110px);
    transition: height var(--transition-duration) ease;
}

#left_column #menuItems .menu {
    margin-left: 5px;
}

.section {
    border-top: 1px solid var(--border-main);
    padding: 10px 0;
}

.section .img_wrapper {
    width: 50%;
    margin: auto;
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;

    display: none;
}

.section .img_wrapper img {
    width: 100%;
}

h1 {
    background: var(--table_header) !important;
    border-radius: 7px;
    margin: 0px !important;
    margin-bottom: 8px !important;
    padding-left: 10px !important;
    margin-right: 15px !important;
    height: 40px !important;
    font-size: 18px !important;
    display: flex;
    align-items: center;
}

h5 {
    background: var(--table_row) !important;
    border-radius: 7px 7px 0 0;
    padding: 0 !important;
    padding-left: 10px !important;
    height: 30px;
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: -10px;
}

.section .terms_wrapper {
    border: 1px solid var(--border-main);
    border-radius: 7px;
    background: var(--table_row);
    margin-bottom: 8px;
    padding: 10px;
}

.section .terms_wrapper p {
    padding: 0;
    margin: 0;
    line-height: 30px;
}

.section .terms_wrapper ul,
.section .terms_wrapper ul li {
    font-size: 12.8px;
    line-height: 30px;
    margin: 0;
}

.section .terms_wrapper ul li img {
    border-radius: 8px;
}

#center_column {
    padding: 0 1% 0 0.5%;
    overflow: hidden;
}

.scrollable_section {
    padding-right: 7px;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(93vh - var(--navbar-height) - var(--section-height)) !important;
}

.scrollable_section::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background: var(--regola_gradiente3);
}

.scrollable_section::-webkit-scrollbar {
    width: 7px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.scrollable_section::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: var(--table_header);
}

.scrollable_section::-webkit-scrollbar-button {
    display: none !important;
}

#scrollToTopBtn {
    background-image: url('/res/Client/img/arrows/arr_up.svg');
    background-size: 16px 16px;
     background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    bottom: 60px;
    right: 60px;
    z-index: 999;
    color: var(--border-main9);
    border: 1px solid var(--border-main9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 992px) {
    .scrollable_section.visibleFooter {
        height: 0;
        height: calc(94vh - var(--navbar-height) - var(--section-height) - 110px) !important;
        transition: height var(--transition-duration) ease;
    }
    #scrollToTopBtn:hover {
        background-color: var(--table_sub_header);
    }
    .theme1 #scrollToTopBtn:hover {
        background-color: var(--border-main7);
    }
    
}

@media screen and (max-width: 991px) {
    #left_column {
        position:absolute;
        width: 100%;
        display: flex;
        font-size: 14px;
        padding: 10px 2% !important;
        border-bottom: 1px solid var(--border-main);
    }
    html {
        overflow: hidden;
    }
    #center_column {
        margin-top: 190px;
        padding: 0;
    }
    .scrollable_section {
        scrollbar-width: none;
        height: 55vh !important;
        padding-right: 0;
        padding-bottom: calc(var(--footer-height) + 16px);
    }
    #menuItems {
        width: 100%;
        padding: 10%;
        padding: 0px !important;
    }
    .section {
        border-top: none;
        padding: 0 2%;
    }
    .section img {
        width: 100% !important;
    }
    #menuItems ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0 !important;
        width: 100%;
        overflow: hidden;
    }
    #menuItems ul li {
        overflow: hidden;
    }
    h1 {
        display: inline-block;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 100%;
        margin-right: 0 !important;
        line-height: 40px !important;
    }
    #scrollToTopBtn {
        bottom: 100px !important;
        right: 30px;
        background-color: var(--table_sub_header);
    }
    .theme1 #scrollToTopBtn {
        background-color: var(--border-main7);
    }
}

@media screen and (max-width: 380px) {
    h1 {
        font-size: 15px !important;
    }
    .section .terms_wrapper p {
        line-height: 20px;
    }
    .section .terms_wrapper ul li {
        line-height: 25px !important;
    }
} 