.header_menu {
    background-color: #FFFFFF;
    text-align: center;
    height: 100%;
    margin: 0;
    top: initial;
    bottom: initial;
    left: initial;
    right: initial;
    height: auto;
    position: fixed;
    transform: initial;
    -moz-transform: initial;
    -o-transform: initial;
    -ms-transform: initial;
    -webkit-transform: none;
    display: block;
    border: 5px solid #002C5D;
    width: 100%;
    margin: 0 auto;
   
   
    text-align: center;
}
#cont_menu {
    height:auto;
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}
 nav {
       display: none;
        transition: none;
        position: fixed;
        width: 100%;
        z-index: 120;
        height: auto;
       /* top: 50%;
        left: 0;
        
        -webkit-transform: translateY(-50%);*/ 
    }
     .menu_item {
        width: 100%;
        margin: 0 auto;
        vertical-align: middle;
            list-style: none;
    }


        .menu_item a {
            margin-left: 5px;
            margin-right: 5px;
                color: #002c5d;
    font-weight: lighter;
        }
        .menu_item.active a span {
    font-weight: bold;
    color: #002C5D;
}
            .menu_item a span {
                font-size: 35px;
                line-height: 65px;
            }
#social_menu {
    display: none;
    background-color: #fff;
    width: 60px;
    margin: 0 auto;
}

.top_menu_sub {
    /*float: left;*/
}

/*.menu_item {
    display: inline-block;
    position: relative;
    width: 120px;
    vertical-align: top;
    margin: 0;
    margin-top: 40px;
    padding: 0;
    z-index: 5;
}

    .menu_item a {
        text-decoration: none;
        color: #5C5C64;
        text-transform: uppercase;
        margin-left: 15px;
        margin-right: 15px;
        font-family: 'OpenSans-CondensedLight';
    }

        .menu_item a span {
            font-size: 18px;
        }*/
#menu_toggle {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
        z-index: 99999999;
    background-color: #EEEEEE;
    border: none;
    padding: 10px;
    }
    #menu_toggle.lines-button.x.close {
        background-color: #002C5D;
    }

    .lines-button.x.close .lines {
        background: transparent;
    }

    .lines {
        display: inline-block;
        width: 30px;
        height: 3px;
            top: 2px;
        background: #002C5D;
        border-radius: 1px;
        transition: 0.3s;
        position: relative;
    }

    .lines-button.x.close .lines:after {
        -webkit-transform: rotate3d(0,0,1,-45deg);
        transform: rotate3d(0,0,1,-45deg);
        -o-transform: rotate3d(0,0,1,-45deg);
        -ms-transform: rotate3d(0,0,1,-45deg);
        -moz-transform: rotate3d(0,0,1,-45deg);
    }

    .lines-button.x.close .lines:before, .lines-button.x.close .lines:after {
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -o-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        -moz-transform-origin: 50% 50%;
        top: 0;
        width: 30px;
    }

    .lines:after {
        top: 9px;
    }

    .lines-button.x.close .lines:before {
        -webkit-transform: rotate3d(0,0,1,45deg);
        transform: rotate3d(0,0,1,45deg);
        -o-transform: rotate3d(0,0,1,45deg);
        -ms-transform: rotate3d(0,0,1,45deg);
        -moz-transform: rotate3d(0,0,1,45deg);
    }

    .lines-button.x.close .lines:before, .lines-button.x.close .lines:after {
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -o-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        -moz-transform-origin: 50% 50%;
        top: 0;
        width: 30px;
        background-color: #EEEEEE;
    }

    .lines:before {
        top: -9px;
    }

    .lines:before, .lines:after {
        display: inline-block;
        width: 30px;
        height: 3px;
        background: #002C5D;
        border-radius: 1px;
        transition: 0.3s;
        position: absolute;
        left: 0;
        content: '';
        -webkit-transform-origin: 0.28571rem center;
        transform-origin: 0.28571rem center;
        -o-transform-origin: 0.28571rem center;
        -ms-transform-origin: 0.28571rem center;
        -moz-transform-origin: 0.28571rem center;
    }




#menu_logo {
    margin: 0;
    width: 120px;
    top: 40px;
}

    #menu_logo a {
        position: absolute;
        top: -40px;
        left: 0;
        width: 100%;
        height: 120px;
        background-image: url('../images/logo.svg');
        background-position: center top;
        background-repeat: no-repeat;
        background-size: cover;
        margin: 0;
    }


.sub_menu {
    text-align: center;
}

    .sub_menu li {
        display: inline-block;
        text-align: center;
        text-decoration: none;
        list-style: none;
    }

        .sub_menu li.a {
            display: block;
        }

        .sub_menu li span {
            display: block;
        }

.ddArrow.arrowoff {
    padding: 0;
}

@media only screen and (max-width: 1280px) {
    #top_menu {
        /*width: 100%;*/
        right: 0;
    }

    .area_downlaod {
        margin-left: 40px;
    }

    .top_menu_sub {
        float: right;
        margin-right: 40px;
    }
}


@media only screen and (max-width: 1120px) {

    /*.menu_item {
        width: 90px;
    }*/

        .menu_item a {
            margin: 0;
        }

}


@media only screen and (max-width: 1120px) {

    /*.menu_item {
        width: 85px;
    }*/

        .menu_item a {
            font-size: 16px;
        }

        .menu_item a span {
            font-size: 25px;
                line-height: 55px;
        }
}

@media only screen and (max-width: 940px) {
    .menu_item {
        width: auto;
    }
}

@media only screen and (max-width: 768px) {


    nav {
        opacity: 0;
    }

    #top_menu {
        opacity: 0;
        width: 100%;
        right: 0;
        position: fixed;
        height: 100%;
        top: 0;
        z-index: 100;
        background-color: none;
    }

    /*#menu_toggle {
        display: block;
        position: fixed;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        z-index: 300;
        background: initial;
        border: none;
    }







    .lines-button.x.close .lines {
        background: transparent;
    }

    .lines {
        display: inline-block;
        width: 30px;
        height: 3px;
        background: #ecf0f1;
        border-radius: 1px;
        transition: 0.3s;
        position: relative;
    }

    .lines-button.x.close .lines:after {
        -webkit-transform: rotate3d(0,0,1,-45deg);
        transform: rotate3d(0,0,1,-45deg);
    }

    .lines-button.x.close .lines:before, .lines-button.x.close .lines:after {
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        top: 0;
        width: 30px;
    }

    .lines:after {
        top: 9px;
    }

    .lines-button.x.close .lines:before {
        -webkit-transform: rotate3d(0,0,1,45deg);
        transform: rotate3d(0,0,1,45deg);
    }

    .lines-button.x.close .lines:before, .lines-button.x.close .lines:after {
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        top: 0;
        width: 30px;
    }

    .lines:before {
        top: -9px;
    }

    .lines:before, .lines:after {
        display: inline-block;
        width: 30px;
        height: 3px;
        background: #ecf0f1;
        border-radius: 1px;
        transition: 0.3s;
        position: absolute;
        left: 0;
        content: '';
        -webkit-transform-origin: 0.28571rem center;
        transform-origin: 0.28571rem center;
    }

*/









    #menu_logo {
        display: none;
    }

    .area_downlaod,
    .area_riservata, .social_label {
        display: none;
    }

    .top_menu_sub {
        margin: 0;
        width: 100%;
    }

    .social_label cond_light {
        display: none;
    }

    #social_menu {
        display: block;
        background-color: initial;
        width:initial;
    }

    #social_top {
        display: none;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        text-align: center;
        height: 50px;
        background-color: initial;
    }


        #social_top .icon {
            width: 35px;
            height: 35px;
            background-repeat: no-repeat;
            display: inline-block;
            margin: 7px 16px;
            display: inline-block;
            background-position: center center;
            background-size: contain;
            float: none;
        }



    #lingue {
        width: 90px;
        line-height: 25px;
        background: initial;
        margin-left: 0;
        display: none;
    }

    #lang_menu {
        display: none;
        background-color: #1a1a1a;
        list-style: none;
        text-decoration: none;
        text-transform: uppercase;
        text-align: center;
    }

    .lang_label {
        background-color: initial;
        display: block;
        text-transform: uppercase;
        text-align: center;
        line-height: 25px;
        font-size: 16px;
        margin-top: 15px;
    }



   /* nav {
        display: none;
        transition: none;
        position: fixed;
        width: 100%;
        height: auto;
        top: 50%;
        left: 0;
        z-index: 120;
        -webkit-transform: translateY(-50%);
    }


    .header_menu {
        top: initial;
        bottom: initial;
        left: initial;
        right: initial;
        height: auto;
        position: relative;
        transform: initial;
        -moz-transform: initial;
        -webkit-transform: initial;
        display: block;
        border-top: 1px solid #fff;
        width: 60%;
        margin: 0 auto;
        border-bottom: 1px solid #fff;
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: #1a1a1a;
        text-align: center;
    }

    .menu_item {
        width: 100%;
        margin: 0;
        vertical-align: middle;
    }


        .menu_item a {
            margin-left: 5px;
            margin-right: 5px;
        }

            .menu_item a span {
                font-size: 20px;
                line-height: 40px;
            }*/
}


@media only screen and (max-width: 320px) {

    #social_top .icon {
        margin: 7px 10px;
    }
}
