.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 {
    right: 166px;
    top: 0px;
    left: auto;
    /* background: red; */
    margin: 9px;
    /* color: red; */
}

.cbp-af-header.cbp-af-header-shrink .logo img {
    height: 57px;
    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;
    position: relative;
    float: left;
    width: auto;
    margin: 5px 0px;
}

.cbp-af-header.cbp-af-header-shrink .menusup {
    position: relative;
    width: auto;
    background: none;
    height: 50px;
    clear: inherit;
    float: left;
    margin: 5px 0px;
}

.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 {
    color: #ffc800;
}

.cbp-af-header.cbp-af-header-shrink .logo {
    background-image: url(../img/logo_small.png);
    width: 108px;
    height: 40px;
    margin: 10px;
    float: left;
}

.cbp-af-header.cbp-af-header-shrink .nav .flexnav li > ul {
    top: 41px;
}

.cbp-af-header.cbp-af-header-shrink .social ul {
    margin: 15px 20px;
}

.cbp-af-header.cbp-af-header-shrink {
    height: 60px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    /*background: #231f20;*/
   background-image: url(../img/pattern3.jpg);
}

    .cbp-af-header.cbp-af-header-shrink .flexnav li.item-with-ul {
        padding-bottom: 27px;
    }

    .cbp-af-header.cbp-af-header-shrink .social {
        right: 0px;
        top: 0px;
    }


    .cbp-af-header.cbp-af-header-shrink .areariservata .btn,
    .cbp-af-header.cbp-af-header-shrink .areariservata input[type="button"].btn {
        margin: 7px 0px 0px 5px;
    }

        .cbp-af-header.cbp-af-header-shrink .areariservata .btn:hover,
        .cbp-af-header.cbp-af-header-shrink .areariservata input[type="button"].btn:hover {
            background: gray;
            color: white;
        }

    .cbp-af-header.cbp-af-header-shrink .areariservata {
        right: 170px;
        top: 0px;
    }

        .cbp-af-header.cbp-af-header-shrink .areariservata a.btn {
            color: #242020;
        }

        .cbp-af-header.cbp-af-header-shrink .areariservata ul {
            display: inline-block;
            float: left;
        }


        .cbp-af-header.cbp-af-header-shrink .areariservata .clear {
            display: none;
        }

        .cbp-af-header.cbp-af-header-shrink .areariservata svg {
            color: #ffc800;
        }

    .cbp-af-header.cbp-af-header-shrink .menu ul {
    }

.home .cbp-af-header {
    background: transparent;
}

    .home .cbp-af-header.cbp-af-header-shrink {
        background: #242020;
        background-image: url(../img/pattern3.jpg);
    }

.cbp-af-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgb(255 255 255 / 100%);
    z-index: 999;
    height: 220px;
    -webkit-transition: height 0.1s;
    -moz-transition: height 0.1s;
    transition: height 0.1s;
}

    .cbp-af-header .cbp-af-inner {
        width: 100%;
        /* max-width: 69em; */
    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 {
        text-transform: uppercase;
        color: #333;
        letter-spacing: 4px;
        font-size: 4em;
        margin: 0;
        float: left;
    }

    .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:1034px) {

    .cbp-af-header.cbp-af-header-shrink .areariservata ul li span {
        display: none
    }

    .cbp-af-header.cbp-af-header-shrink .areariservata {
        margin: 14px;
    }

    .cbp-af-header .nav {
        padding: 5px 0px;
    }

    .home .cbp-af-header .flexnav li > ul {
        top: 46px;
    }

    .cbp-af-header.cbp-af-header-shrink .nav {
        padding: 7px 0px;
    }

        .cbp-af-header.cbp-af-header-shrink .nav .flexnav li > ul {
            top: 49px;
        }

    .cbp-af-header .cbp-af-inner .flexnav li a {
        padding: 10px 5px;
    }


    .cbp-af-header.cbp-af-header-shrink .flexnav li a {
        padding: 7px 0px;
        font-size: 15px;
    }
    }

@media (max-width:875px) {
    .cbp-af-header.cbp-af-header-shrink .flexnav li a {
        padding: 7px 5px;
        font-size: 16px;
    }
    .cbp-af-header.cbp-af-header-shrink .areariservata .btn, .cbp-af-header.cbp-af-header-shrink .areariservata input[type="button"].btn {
        margin: 14px 0px 0px 5px;
    }

    .home .cbp-af-header-shrink .menusup li a {
        color: #000 !important;
    }

    .home .cbp-af-header .menu-button {
        right: 27px;
        top: -66px;
    }

        .home .cbp-af-header .menu-button.active {
            right: 0px;
            top: 0px;
        }

    .cbp-af-header.cbp-af-header-shrink .areariservata svg {
        color: #ffc800;
        font-size: 48px;
        top: 4px;
        position: relative;
    }

    .cbp-af-header.cbp-af-header-shrink .areariservata ul li a {
        font-size: 55px
    }

    .cbp-af-header.cbp-af-header-shrink .areariservata {
        right: 149px;
    }

    .cbp-af-header.cbp-af-header-shrink .logo {
        width: 137px;
        height: 54px;
        margin: 15px;
    }

    .cbp-af-header.cbp-af-header-shrink .social ul {
        margin: 17px 34px 15px 34px;
    }

    .cbp-af-header .menu-button {
        right: 0px;
        top: 0px;
    }

    .cbp-af-header.cbp-af-header-shrink .flexnav li.item-with-ul {
        padding-bottom: 0px;
    }

    .cbp-af-header.cbp-af-header-shrink .menusup {
        width: 100%;
        margin: 0px 0px;
    }

    .cbp-af-header.cbp-af-header-shrink .menu-button.active {
        top: 19px;
    }

    .cbp-af-header.cbp-af-header-shrink .nav {
        padding: 0px;
        width: 100%;
    }

    .cbp-af-header .flexnav {
        margin-top: 0px;
    }

    .cbp-af-header.cbp-af-header-shrink .social,
    .header.home .cbp-af-header.cbp-af-header-shrink .social {
        right: inherit;
        top: 0px;
        left: 150px;
        margin: 15px 0px;
        display: none;
    }

        .header.home .cbp-af-header.cbp-af-header-shrink .social ul li a {
            margin: 0px;
        }

    .cbp-af-header .nav {
        padding: 0px 0px;
    }

    .cbp-af-header.cbp-af-header-shrink .logo img {
        height: 77px;
        margin: 10px 0px;
    }

    .cbp-af-header.cbp-af-header-shrink .nav .flexnav li > ul {
        /* position: absolute; */
        width: 100%;
    }

    .cbp-af-header .cbp-af-inner .flexnav li a {
        padding: 14px 5px;
        font-size: 14px;
    }


    .cbp-af-header.cbp-af-header-shrink .menu-button {
        top: -67px;
        right: 17px;
    }

    .cbp-af-header {
        height: 140px;
    }

        .cbp-af-header.container {
            padding: 0px 0px;
        }

        .cbp-af-header img {
            /* height: 117px; */
            /* margin: 10px 7px; */
        }

        .cbp-af-header.cbp-af-header-shrink {
            height: 85px;
            margin: 0px;
        }

            .cbp-af-header.cbp-af-header-shrink img {
                /* height: 40px; */
                /* margin: 0px 10px; */
            }

            .cbp-af-header.cbp-af-header-shrink .menu .show-menu {
                width: 60px;
                height: 60px;
                -webkit-transition: all 0.3s;
                -moz-transition: all 0.3s;
                transition: all 0.3s;
            }

            .cbp-af-header.cbp-af-header-shrink .menu {
                margin-top: 0px;
                -webkit-transition: all 0.3s;
                -moz-transition: all 0.3s;
                transition: all 0.3s;
                height: 60px
            }
}

@media (max-width:500px) {
    .cbp-af-header.cbp-af-header-shrink .logo {
        width: 80px;
        background-size: 100% auto;
    }
    .home .cbp-af-header .menu-button {
        top: -60px;
        border-radius: 5px;
        right: 8px;
    }


    .cbp-af-header.cbp-af-header-shrink .areariservata .btn, .cbp-af-header.cbp-af-header-shrink .areariservata input[type="button"].btn {
        margin: 0px 0px 5px 4px;
        /* clear: both; */
    }

    .cbp-af-header.cbp-af-header-shrink .areariservata {
        right: 75px;
        width: 128px;
    }

    .cbp-af-header.cbp-af-header-shrink .menu-button {
        top: -72px;
        right: 12px;
        width: 62px;
        height: 62px;
        border-radius: 5px;
    }

        .cbp-af-header.cbp-af-header-shrink .menu-button span {
            display: none
        }

        .cbp-af-header.cbp-af-header-shrink .menu-button svg {
            margin-right: 0px;
            font-size: 34px;
        }

    .cbp-af-header .nav {
        z-index: 9;
        margin-top: 51px;
    }

    .cbp-af-header.cbp-af-header-shrink .nav {
        margin-top: 0px;
    }

    .cbp-af-header .menu-button {
        right: 0px;
        top: -51px;
    }

        .cbp-af-header.cbp-af-header-shrink .menu-button.active,
        .cbp-af-header .menu-button.active {
            right: 15px;
            top: 15px;
        }
.header .cbp-af-header .social {
        top: 3px;
        z-index: 9;
       left:0px;
        width: auto;
    }


    .header.home .cbp-af-header .social {
   
        left: -19px;
    
    }

    .social ul li a {
        color: #231f20;
        font-size: 20px;
        margin: 0px;
    }
   


}
