.cbp-af-header img {
    /* height: 85px; */
    -moz-transition: all 0.2s linear 0s;
    /* -webkit-transition: all 0.2s linear 0s; */
    -o-transition: all 0.2s linear 0s;
}

.cbp-af-header.cbp-af-header-shrink .areariservata {
}

.cbp-af-header.cbp-af-header-shrink .exo-menu {
    padding-top: 0px;
    margin-top: 0px;
    top: 0px;
}

.cbp-af-header.cbp-af-header-shrink .menusup a.link {
    padding: 10px 20px;
}

.cbp-af-header.cbp-af-header-shrink .logo2 img {
    background-size: auto 100%;
    -moz-transition: all 0.2s linear 0s;
    -webkit-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    width: 91px;
    margin: 0px;
}

.cbp-af-header.cbp-af-header-shrink .menusup {
}

.cbp-af-header.cbp-af-header-shrink .nav {
    -moz-transition: all 0.2s linear 0s;
    -webkit-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    width: auto;
}

.cbp-af-header.cbp-af-header-shrink .social a, .cbp-af-header.cbp-af-header-shrink .areariservata a {
}

.cbp-af-header.cbp-af-header-shrink .logo {
}

.cbp-af-header.cbp-af-header-shrink .nav .flexnav li > ul {
}

.cbp-af-header.cbp-af-header-shrink .social ul {
}

.cbp-af-header.cbp-af-header-shrink {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

    .cbp-af-header.cbp-af-header-shrink .flexnav li.item-with-ul {
    }

    .cbp-af-header.cbp-af-header-shrink .social {
    }

    .cbp-af-header.cbp-af-header-shrink .menu ul {
    }

.home .cbp-af-header {
    background: transparent;
}

.cbp-af-header.cbp-af-header-shrink {
    background: white;
    box-shadow: 0px 8px 20px rgb(0 0 0 / 10%);
    height: 96px;
}

.header .cbp-af-header.cbp-af-header-shrink .sx {
    margin: 0px 0px 0px 0px;
}

.cbp-af-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    -webkit-transition: height 0.1s;
    -moz-transition: height 0.1s;
    transition: height 0.1s;
    height: 182px;
    background: white;
}

    .cbp-af-header .logo {
        background-image: url("../img/logo_contrasto.png");
        background-size: 100% auto;
        background-repeat: no-repeat;
        width: 172px;
        margin: 10px;
        height: 121px;
    }

    .cbp-af-header.cbp-af-header-shrink .logo {
        background-image: url(../img/logo.png);
        background-size: 100% auto;
        background-repeat: no-repeat;
        width: 110px;
        margin: 10px;
        height: 77px;
    }

    .cbp-af-header .flexnav li a {
        color: white
    }

    .cbp-af-header.cbp-af-header-shrink .flexnav li a {
        color: #032f3c
    }

.b2b .cbp-af-header .testata .dx {
    margin-top: 54px;
}

.b2b .cbp-af-header.cbp-af-header-shrink .testata .dx {
    margin-top: 23px;
}



.cbp-af-header .cbp-af-inner {
    width: 100%;
    margin: 0 auto;
}

.cbp-af-header h1, .cbp-af-header nav {
    display: inline-block;
    position: relative;
}
    /* We just have one-lined elements, so we'll center the elements with the line-height set to the height of the header */
    .cbp-af-header h1, .cbp-af-header nav a {
        color: white;
    }

.cbp-af-header li {
    position: relative;
}

.cbp-af-header h1 {
}

.cbp-af-header nav {
    float: right;
}
    /* Transitions and class for reduced height */
    .cbp-af-header h1, .cbp-af-header nav a {
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }

.cbp-af-header.cbp-af-header-shrink h1, .cbp-af-header.cbp-af-header-shrink nav a {
}

.cbp-af-header.cbp-af-header-shrink h1 {
}

@media (max-width:875px) {
    .cbp-af-header.cbp-af-header-shrink .areariservata .btn, .cbp-af-header.cbp-af-header-shrink .areariservata input[type="button"].btn {
    }

    .home .cbp-af-header-shrink .menusup li a {
    }

    .home .cbp-af-header .menu-button {
    }

        .home .cbp-af-header .menu-button.active {
        }

    .cbp-af-header.cbp-af-header-shrink .areariservata svg {
    }

    .cbp-af-header.cbp-af-header-shrink .areariservata ul li a {
    }

    .cbp-af-header.cbp-af-header-shrink .areariservata {
    }

    .cbp-af-header.cbp-af-header-shrink .logo {
    }

    .cbp-af-header.cbp-af-header-shrink .social ul {
    }

    .cbp-af-header .menu-button {
    }

    .cbp-af-header.cbp-af-header-shrink .flexnav li.item-with-ul {
    }

    .cbp-af-header.cbp-af-header-shrink .menusup {
    }

    .cbp-af-header.cbp-af-header-shrink .menu-button.active {
        top: 11px !important;
    }

    .cbp-af-header .menu-button.active {
        top: 25px !important;
    }

    .cbp-af-header.cbp-af-header-shrink .nav {
        width: 100%;
        top: -23px;
    }

    .cbp-af-header .flexnav {
    }

    .cbp-af-header.cbp-af-header-shrink .social, .header.home .cbp-af-header.cbp-af-header-shrink .social {
    }

        .header.home .cbp-af-header.cbp-af-header-shrink .social ul li a {
        }

    .cbp-af-header .nav {
    }

    .cbp-af-header.cbp-af-header-shrink .logo img {
    }

    .cbp-af-header.cbp-af-header-shrink .nav .flexnav li > ul {
    }

    .cbp-af-header .cbp-af-inner .flexnav li a {
        background: #032f3c;
        color: white;
    }

    .cbp-af-header.cbp-af-header-shrink .menu-button {
        top: -91px;
    }

    .cbp-af-header {
    }

        .cbp-af-header.container {
        }

        .cbp-af-header img {
        }

        .cbp-af-header.cbp-af-header-shrink {
        }

            .cbp-af-header.cbp-af-header-shrink img {
            }

            .cbp-af-header.cbp-af-header-shrink .menu .show-menu {
                -webkit-transition: all 0.3s;
                -moz-transition: all 0.3s;
                transition: all 0.3s;
            }

            .cbp-af-header.cbp-af-header-shrink .menu {
                -webkit-transition: all 0.3s;
                -moz-transition: all 0.3s;
                transition: all 0.3s;
            }
}

@media (max-width:875px) {
    .b2b .cbp-af-header .testata .dx {
        margin-top: 0px;
    }

    .cbp-af-header.cbp-af-header-shrink a.toggle-menu {
        top: 23px;
    }

    .cbp-af-header.cbp-af-header-shrink .menusup {
        width: 79%;
        float: right;
        margin-right: 127px;
        margin-top: 0px;
    }

        .cbp-af-header.cbp-af-header-shrink .menusup .minimenu {
            margin: 5px 0px 0px 0px;
        }

        .cbp-af-header.cbp-af-header-shrink .menusup a.link {
            padding: 10px;
        }
}

@media (max-width:500px) {
    .cbp-af-header {
        height: 165px;
    }
    .cbp-af-header.cbp-af-header-shrink a.toggle-menu {
        top: 20px;
    }
    .cbp-af-header img {
        float: left;
        width: 130px;

    }
    .cbp-af-header.cbp-af-header-shrink .logo2 img {
        width: 100px;
        margin: 0px 10px 0px 0px;
    }

    .cbp-af-header.cbp-af-header-shrink {
        height: 130px;
    }

        .cbp-af-header.cbp-af-header-shrink .menusup a.link {
            padding: 0px 5px;
            margin-right: 10px;
        }

        .cbp-af-header.cbp-af-header-shrink .menusup {
            width: 100%;
            float: right;
            margin-right: 0px;
            margin-top: 0px;
            padding: 0px;
        }

        .cbp-af-header.cbp-af-header-shrink .logo2 {
            text-align: left;
        }

    .b2b .cbp-af-header.cbp-af-header-shrink .menu-button {
        top: -78px;
    }

    .b2b .cbp-af-header .menu-button {
        width: 60px;
        height: 60px;
        top: -100px;
        padding: 14px;
    }

        .b2b .cbp-af-header .menu-button svg {
            font-size: 30px;
        }
}
