@font-face {
    font-family: 'Poppins';
    src: url('../../fonts/Poppins/poppins-400.woff2') format('woff2'), url('../../fonts/Poppins/poppins-500.woff2') format('woff2'), url('../../fonts/Poppins/poppins-600.woff2') format('woff2'), url('../../fonts/Poppins/poppins-400.woff2') format('woff2');
}

:root {
    --blue-01: rgb(12, 19, 53);
    --blue-02: rgb(20, 31, 89);
    --blue-03: rgb(34, 45, 102);
    --blue-04: rgb(61, 100, 255);
    --green-01: rgb(19, 53, 12);
    --green-02: rgb(31, 89, 20);
    --green-03: rgb(45, 102, 34);
    --green-04: rgb(100, 255, 61);
    --green-05: rgb(106 174 153);
    --green-06: rgb(137 198 185);
    --grey-01: rgb(62, 68, 97);
    --grey-02: rgb(123, 128, 152);
    --grey-03: rgb(143, 148, 176);
    --grey-04: rgb(163, 168, 192);
    --grey-05: rgb(174, 180, 210);
    --orange-01: rgb(255, 141, 0);
    --red-01: rgb(204, 45, 5);
    --white-01: rgb(230, 233, 246);
    --white-02: rgb(239, 241, 249);
    --white-03: rgb(246, 247, 252);
    --white-04: rgb(255, 255, 255);
    --white-04-80: rgba(255, 255, 255, 0.8);
    --yellow-01: rgb(255, 163, 0);
    --yellow-02: rgb(255, 187, 0);
    --h-gap: 0.5vw;
    --animation-time: .9s;
}

/* GENERAL */
body {
    color: #eee;
    padding: 0;
    margin: 0;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    font-weight: normal;
    /*line-height: 30px;*/
    word-wrap: break-word;
    text-align: left;
    background-color: #343a40;
    /*margin-bottom: 22px;*/
    /*background-image: url(../images/background_blue_repeat_y.png);*/
}

.bg-dark {
    background-color: #343a40 !important;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #fff;
}

a {
    /*color: rgba(255,255,255,0.8);*/
    color: var(--green-06);
    cursor: pointer;
    text-decoration: none;
}

    a:hover {
        transition: all 0.5s ease-out;
        color: #fff !important;
        cursor: pointer;
    }

.card {
    border: 0 !important;
}

.tb_wrapper {
    background: #343a40;
    color: #fff;
}

.tb_body {
    width: 80%;
    margin-inline: auto;
}

.tb_footer {
    width: 100%;
    padding-inline: 50px;
    margin-inline: auto;
    background: #343a40;
}

.tb_sidebar {
    width: 30%;
    grid-column: col;
    display: grid;
    grid-auto-flow: row;
    align-content: start;
    grid-template-rows: 1fr min-content;
    justify-content: center;
    border-left: 2px solid rgba(255,255,255,0.1) !important;
}

.tb_sidebarAdv {
    width: auto;
    max-width: 300px;
    margin-inline: auto;
    overflow: hidden;
    /*min-height: 250px;*/
    background-color: #474e55; /*rgba(255,255,255,0.0);*/
    position: relative;
    /*margin-bottom: 20px;*/
}

.tb_sidebarAdvInternal:before {
    /*content: 'ADV';*/
    color: rgba(255,255,255,0.5);
    position: absolute;
    line-height: 250px;
    width: 100%;
    text-align: center;
}

.tb_sidebarHints {
    padding: 20px;
    border-top: 2px solid rgba(255,255,255,0.1) !important;
}

.tb_sidebarDisclaimer {
    text-align: center;
    padding: 20px;
    /*border-top: 2px solid rgba(255,255,255,0.1) !important;*/
}

.tb_verticalSpacing {
    margin-bottom: 35px;
}

.tb_bodyFont {
    font-family: 'Poppins','Segoe UI','Open Sans',HelveticaNeue-Light,'Helvetica Neue Light','Helvetica Neue',Helvetica,sans-serif;
}

.tb_boldLink a {
    font-weight: bold;
    text-decoration: none;
}

/* HEADER */
.tb_header {
    /*background-color: #000;*/
    color: rgba(255,255,255,0.8) !important;
    position: inherit;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
    z-index: 999;
    transition: all 1s ease-out;
    border-radius: 0;
    width: 80%;
    height: 70px;
    margin-inline: auto;
    align-content: center;
}

.tb_headerFull {
    display: grid;
    grid-column: sitewidth;
    align-items: center;
    grid-auto-flow: column;
}

.tb_headerContainer {
    height: max-content;
    display: flex;
    align-items: center;
    padding: 0rem 1rem;
}

.tb_headerLogo {
    position: relative;
    cursor: pointer;
    color: inherit;
    font-size: 1.25rem;
    width: 200px;
}

    .tb_headerLogo:hover {
        color: #fff !important;
        transition: all 0.5s ease-out;
    }

    .tb_headerLogo label {
        cursor: inherit;
        margin: 9px 0;
    }

.tb_headerMenu {
    position: absolute;
    width: calc(100% + var(--h-gap));
    top: 70px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

    .tb_headerMenu ul {
        list-style: none;
        position: relative;
        display: flex;
        z-index: 0;
        gap: 15px;
        height: max-content;
        margin: 0;
        padding: 0;
    }

        .tb_headerMenu ul li {
            white-space: nowrap;
        }

            .tb_headerMenu ul li a {
                color: var(--white-04-80);
                font-weight: bold;
                letter-spacing: 0.5px;
                transition: all .25s ease-out;
            }

                .tb_headerMenu ul li a:hover {
                    color: var(--white-04);
                    transition: all 0.5s ease-out;
                }



.tb_navbarV2 {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    z-index: 1000;
}

.tb_navbar {
    padding: 0rem 1rem;
    /*box-shadow: #c0c0c0 0px 2px 4px 0px;*/
}

    .tb_navbar .navbar-nav li:hover {
        /*background-color: #222;*/
        transition: all 0.5s ease-out;
    }

        .tb_navbar .navbar-nav li:hover a {
            color: #fff !important;
            transition: all 0.5s ease-out;
        }

    .tb_navbar .navbar-nav a {
        color: rgba(255,255,255,0.8) !important;
        font-weight: bold;
        /*text-transform: uppercase;*/
        margin-right: 0;
        letter-spacing: 0.5px;
        transition: all .25s ease-out;
        margin-bottom: 0;
        display: block;
    }

    /*.tb_navbar .navbar-nav a:hover {
            color: #337ab7 !important;*/
    /*background: linear-gradient(0deg, #235580 0%, #235580 4%, transparent 8%);*/
    /*}*/

    .tb_navbar .dropdown-menu {
        background: #eee;
        border-radius: 0;
        padding: 0;
        border: none;
    }

        .tb_navbar .dropdown-menu li:hover {
            background-color: #ddd;
            color: #000;
            transition: all 0.5s ease-out;
        }

        .tb_navbar .dropdown-menu > li > a {
            background: #eee;
            color: #222;
            padding: 12px 15px;
            display: block;
            font-weight: normal;
            text-transform: uppercase;
        }

.navbar-nav.sm-collapsible .nav-link, .navbar-nav.sm-collapsible .dropdown-item {
    position: relative;
}

.container-fluid {
    padding-inline: 0;
}

#headerImage {
    height: 50px;
    /*background: radial-gradient(#bbb, #bbb 10%, #bbb 10%, #343a40 60%, #343a40 60%, #343a40 100%);*/
}

#headMenuToggler {
    background: #fff;
    background-color: #fff;
}

    #headMenuToggler:hover {
        background: #ccc;
        background-color: #ccc;
    }

.navbar-toggler {
    font-size: 1rem;
}

/* BODY */
/*div.main-area {
    width: calc(100% - 350px);
    float: left;
    padding: 5px 3px 5px 7px;
    margin-bottom: 0;
    text-align: center;*/
/*border-right: 2px solid #1f8cb4;*/
/*}

    div.main-area div.card {
        padding: 10px;
        box-shadow: #c0c0c0 2px 2px 4px 0px;
    }*/

.goTopPage {
    background: #6b6f73;
    background-color: #6b6f73;
    color: #000;
    position: fixed;
    bottom: 31px;
    right: 8px;
    height: 34px;
    width: 34px;
    opacity: 1;
    overflow: hidden;
    text-align: center;
    z-index: 9999;
    border-radius: 3px;
    border: 2px solid #6b6f73;
    cursor: pointer;
}

    .goTopPage i {
        font-size: 15px;
        line-height: 32px;
    }

    .goTopPage:hover i {
        font-size: 20px;
        color: #343a40;
        line-height: 31px;
    }

/* FOOTER */
footer {
    clear: both;
    background-color: #2f2f2f;
    color: rgba(255,255,255,0.8);
    height: 24px;
    padding: 2px 10px;
    width: 100%;
    font-weight: bold;
    line-height: 30px;
}

    footer a {
        color: rgba(255,255,255,0.8);
    }

        footer a:hover {
            color: white;
            text-decoration: none;
        }

#footerAreaLeft {
    float: left;
}

#footerAreaRight {
    float: right;
    margin-top: -2px;
}

    #footerAreaRight img {
        filter: grayscale(1) invert(1);
        -webkit-filter: grayscale(1) invert(1);
    }

.tb_footer-policy {
    float: right;
}

.sidebarSiteInformation {
    color: #212529;
    height: 24px;
    margin-top: 10px;
    width: 100%;
    font-weight: bold;
}

    .sidebarSiteInformation a {
        color: #212529 !important;
    }

        .sidebarSiteInformation a:hover {
            color: #212529 !important;
            text-decoration: none !important;
        }

/* SIDEBAR */
aside.sidebar {
    background-color: #eeeeee;
    padding: 5px 7px 5px 3px;
    margin-bottom: 0;
    width: 350px;
    max-width: 350px;
    text-align: center;
    overflow: hidden;
    vertical-align: middle;
    float: none;
}

    aside.sidebar div.card {
        padding: 10px;
        margin-bottom: 5px;
        box-shadow: #c0c0c0 2px 2px 4px 0px;
    }

        aside.sidebar div.card p {
            margin-bottom: 0px;
        }

    aside.sidebar label {
        font-weight: bold;
    }

    aside.sidebar a {
        color: #337ab7;
        font-weight: bold;
    }

        aside.sidebar a:hover {
            color: #235580;
            text-decoration: none;
        }

.iubenda-tp-btn[data-tp-float][data-iub-enabled]:not([data-tp-anchored]) {
    margin: 0 !important;
    bottom: 31px !important;
    left: 8px !important;
}

.iubenda-cs-brand-badge-outer {
    display: none !important;
}

.hide-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* IMPOSTAZIONI PER SCHERMI FINO A 610PX */
@media screen and (max-width: 610px) {
    .tb_footer > div {
        display: grid;
        text-align: center;
    }
}

/* IMPOSTAZIONI PER SCHERMI FINO A 767PX */
@media screen and (max-width: 767px) {
    .tb_body {
        width: 95%;
    }

    .tb_header {
        width: 95%;
    }

    .tb_sidebar {
        width: 100%;
        grid-column: col;
        display: grid;
        grid-auto-flow: row;
        align-content: start;
        grid-template-rows: 1fr min-content;
        justify-content: center;
        border-left: 0 solid rgba(255,255,255,0.1) !important;
        border-top: 2px solid rgba(255,255,255,0.1) !important;
    }

    .tb_footer-policy {
        float: none;
    }

    .tb_footer-policy-space {
        display: none;
    }
}

/* IMPOSTAZIONI PER SCHERMI FINO A 900PX */
@media screen and (min-width: 768px) and (max-width: 900px) {
    .tb_body {
        width: 95%;
        margin-inline: auto;
    }

    .tb_header {
        width: 95%;
    }

    .tb_sidebar {
        width: 27%;
        grid-column: col;
        display: grid;
        grid-auto-flow: row;
        align-content: start;
        grid-template-rows: 1fr min-content;
        justify-content: center;
        border-left: 2px solid rgba(255,255,255,0.1) !important;
    }
}

@media (max-width: 991px) {
    #siteMainMenu a.nav-link {
        padding: 13px 8px;
        display: block;
    }

    #siteMainMenu li:not(:last-child) a.nav-link {
        border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    }
}

@media (min-width: 1000px) {
    .tb_headerFull {
        margin-inline: 0;
    }

    .tb_headerContainer {
        display: flex;
        gap: 25px;
    }

    .tb_headerMenu {
        position: relative;
        width: 100%;
        top: auto;
        overflow: unset;
        height: max-content;
        /*align-content: center;
        align-items: center;
        align-self: center;
        vertical-align: middle;*/
    }

        .tb_headerMenu ul {
            justify-content: flex-start;
            gap: 10px;
            /*justify-content: space-between;
            gap: unset;*/
        }

    .tb_verticalSpacing {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 1070px) {
    /* GENERAL */
    body {
        margin-bottom: 0px;
    }

    /* BODY */
    div.main-area {
        width: auto;
        float: none;
        padding: 5px 2px 0 2px;
        margin-top: 0;
        /*border-right: 2px solid #1f8cb4;*/
    }

    /* FOOTER */
    footer {
        clear: both;
        background-color: #2f2f2f;
        color: white;
        height: 20px;
        padding: 0px 3px;
        width: 100%;
        position: relative;
        bottom: 100%;
        font-weight: bold;
    }

        footer a {
            color: white;
        }

            footer a:hover {
                color: white;
                text-decoration: none;
            }

    #footerAreaLeft {
        float: left;
    }

    #footerAreaRight {
        float: right;
        margin-top: -2px;
    }

    /* SIDEBAR */
    aside.sidebar {
        margin-top: 0;
        width: 100%;
        max-width: 100%;
        float: none;
        padding: 5px 2px;
        text-align: center;
    }

        aside.sidebar > div.card:last-child {
            margin-bottom: 1px;
        }

    .sidebarSiteInformation {
        display: none;
    }
}