/* MENU DESKTOP LARGE */
@media (min-width : 768px) {

    #mobile-top {
        display: none;
    }

    #logo {
        padding-top:15px;
        padding-bottom: 15px;
    }

    #logo img {
        height: 70px;
        display: block;
    }

    .menu-wrap {
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 10;
        background-color: rgba(42,42,42,0.9);
    }

    .menu-home {}

    .content-wrap {
        padding-top: 100px;
    }

    #menu-principale ul {
        float: right;
    }

    #menu-principale ul li {
        display: block;
        float:left;
    }

    #menu-principale ul li a {
        display: block;
        text-decoration: none;
        letter-spacing: 1px;
        color: #FFF;
        font-size: 14px;
        font-weight: 400;
        padding: 0 20px;
        line-height: 100px;
    }

    #menu-principale ul li a.sub-active {
        text-decoration: none;
    }

    #menu-principale .sub-active,
    #menu-principale ul > li a:hover,
    #menu-principale ul li.current_page_ancestor > a,
    #menu-principale > .current_page_item a {
        box-shadow: inset 0px -2px 0px #C10E0F;
    }

    /* submenu */
    #menu-principale .menu-item-has-children > a::after {
        /*background: url(../images/icon/toggle.svg) no-repeat center center;*/
        /*content:'';*/
        /*width: 10px;*/
        /*height: 100px;*/
        /*float:right;*/
        /*margin: 0 0 0 7px;*/

        /*-moz-transition: 0.5s all;*/
        /*-webkit-transition: 0.5s all;*/
        /*transition: 0.5s all;*/

        background: url(../images/icon/toggle.svg) no-repeat center center;
        content: '';
        width: 10px;
        height: 9px;
        margin: 0 0 0 7px;
        -moz-transition: 0.5s all;
        -webkit-transition: 0.5s all;
        transition: 0.5s all;
        position: relative;
        display: inline-block;
    }

    #menu-principale .menu-item-has-children > a.sub-active::after {
        -webkit-transform: rotateX(180deg);
        -moz-transform: rotateX(180deg);
        transform: rotateX(180deg);
    }

    #menu-principale ul ul {
        display: none;
        position: absolute;
        top: 100px;
        z-index: 20;
        background: rgba(42,42,42,0.9);
    }

    #menu-principale ul ul li {
        float: none;
    }

    #menu-principale ul ul li a {
        margin: 0;
        padding: 15px 20px;
        line-height: 120%;
        font-size: 0.8em;
    }

    #menu-principale ul ul li a:hover,
    #menu-principale ul ul li.current-menu-item a {
        background-color: #2A2A2A;
        box-shadow: initial;
    }



    /*
    #menu-principale ul li:last-child a {
      border: 2px solid rgba(255,255,255,0.6);
      border-radius: 3px;
    }

    #menu-principale ul li:last-child a:hover {
      border: 2px solid #FFF;
    }
    */

    #menu-principale .search-trigger {
        background: url(../images/icon/search.svg) no-repeat center center;
        width: 50px;
        height: 100px;
        cursor: pointer;
        float: right;
    }

    #menu-principale .search-trigger:hover {
        box-shadow: inset 0px -2px 0px #C10E0F;
    }

    .menu-wrap.sticky {
        position: fixed;
        width: 100%;
        left: 0;
        top: 0;
        z-index: 100;
    }

} /* desktop large */


/* MENU DESKTOP SMALL */
@media only screen and (min-width: 767px) and (max-width: 1170px) {

    #menu-principale ul li a {
        letter-spacing: 0px;
        padding: 0 10px;
    }

} /* desktop small */



/* MENU PUSH */
@media (max-width: 767px) {

    .logo-mobile {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .logo-mobile img {
        height: 70px;
        display: block;
    }

    #logo {
        display: none;
    }

    .language-selector {

    }

    .language-selector > li > a:first-child {
        background: rgba(255,255,255,0.05);
        border-left: 2px solid red;
    }

    .second_menu .search-trigger {
        display: none;
    }

    .second_menu .social_wall {
        display: none;
    }

    #mobile-top {
        background: #2A2A2A;
    }

    #mobile-top img {
        display: block;
    }

    #mobile-top .search-trigger {
        position: absolute;
        top: 30px;
        right: 65px;

        background: url(../images/icon/search.svg) no-repeat center center;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }


    /* PAGE CONTENT */
    .content-wrap {
        position: relative;
    }

    .show-menu {
        overflow: hidden;
    }

    .menu-wrap {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #2A2A2A;
        opacity: 0;
        z-index: -1;

        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;

        -webkit-transition: opacity 0.2s linear, z-index 0s linear 0.2s;
        -moz-transition: opacity 0.2s linear, z-index 0s linear 0.2s;
        -o-transition: opacity 0.2s linear, z-index 0s linear 0.2s;
        -ms-transition: opacity 0.2s linear, z-index 0s linear 0.2s;
        transition: opacity 0.2s linear, z-index 0s linear 0.2s;
    }

    .show-menu .menu-wrap {
        opacity: 1;
        z-index: 800;

        -webkit-transition: opacity 0.2s linear, z-index 0s linear 0s;
        -moz-transition: opacity 0.2s linear, z-index 0s linear 0s;
        -o-transition: opacity 0.2s linear, z-index 0s linear 0s;
        -ms-transition: opacity 0.2s linear, z-index 0s linear 0s;
        transition: opacity 0.2s linear, z-index 0s linear 0s;
    }

    .menu-wrap::-webkit-scrollbar {
        display: none;
    }


    /* STYLE MENU */
    #menu-principale {
        padding: 0;
        margin: 80px 0 40px 0;
    }

    #menu-principale ul li {
        width: 100%;
        float: left;
    }

    #menu-principale ul li a {
        float: left;
        display: block;
        text-decoration: none;
        width: 100%;
        padding: 15px;
        line-height: 35px;
        height: 70px;
        font-size: 22px;
        border-bottom: 1px solid #3A3838;
        color: #FFF;
    }

    #menu-principale ul a:hover,
    #menu-principale a.sub-active,
    #menu-principale .current_page_item > a,
    #menu-principale .current-menu-ancestor > a {
        text-decoration: none;
    }

    #menu-principale ul ul li a {
        background: #232323;
        padding: 0px 0px 0px 40px;
        font-size: 20px;
        line-height: 60px;
        height: 60px;
    }

    #menu-principale ul ul li a:hover,
    #menu-principale ul ul li.current_page_item a {
        text-decoration: none;
        background: rgba(255,255,255,0.1);
    }

    /* SUBMENU */
    #menu-principale .current-menu-ancestor ul {
        display: block;
    }

    #menu-principale .menu-item-has-children > a::after {
        /*background: url(../images/icon/toggle.svg) no-repeat center center;*/
        /*content:'';*/
        /*width: 10px;*/
        /*height: 40px;*/
        /*float:right;*/
        /*margin: 0 0 0 10px;*/

        /*-moz-transition: 0.5s all;*/
        /*-webkit-transition: 0.5s all;*/
        /*transition: 0.5s all;*/
    }

    #menu-principale .menu-item-has-children > a.sub-active::after {
        -webkit-transform: rotateX(180deg);
        -moz-transform: rotateX(180deg);
        transform: rotateX(180deg);
    }

    #menu-principale ul ul {
        display: none;
        float: left;
        width: 100%;

        -webkit-transition: max-height 1s linear;
        -moz-transition: max-height 1s linear;
        -o-transition: max-height 1s linear;
        -ms-transition: max-height 1s linear;
        transition: max-height 1s linear;
    }


    /* NAVIGATION ICON */
    #nav-icon {
        position: absolute;
        top: 30px;
        right: 20px;
        width: 40px;
        height: 40px;
        z-index: 900;
        cursor: pointer;

        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);

        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }

    #nav-icon span {
        display: block;
        position: absolute;
        height: 3px;
        background: #FFF;
        opacity: 1;
        left: 8px;
        right: 8px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .3s ease-in-out;
        -moz-transition: .3s ease-in-out;
        -o-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
    }

    #nav-icon span:nth-child(1) {
        top: 11px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }

    #nav-icon span:nth-child(2) {
        top: 18px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }

    #nav-icon span:nth-child(3) {
        top: 25px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }

    .show-menu #nav-icon span:nth-child(1) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 10px;
        left: 12px;
    }

    .show-menu #nav-icon span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }

    .show-menu #nav-icon span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 25px;
        left: 12px;
    }


} /* mobile */



/* SEARCH FORM */
.search-form,
.search-overlay {
    overflow: hidden;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    opacity: 0;
    z-index: -1;
    cursor: pointer;

    -webkit-overflow-scrolling: touch;

    -webkit-transition: opacity 0.2s linear, z-index 0s linear 0.2s;
    -moz-transition: opacity 0.2s linear, z-index 0s linear 0.2s;
    -o-transition: opacity 0.2s linear, z-index 0s linear 0.2s;
    -ms-transition: opacity 0.2s linear, z-index 0s linear 0.2s;
    transition: opacity 0.2s linear, z-index 0s linear 0.2s;
}

.search-form {
    position: fixed;
    width: 100%;
    top: 0px;
    opacity: 0;
    z-index: -1;
    background: #FFF;
}

.search-form input {
    width: 100%;
    height: 100px;
    border:none;
    font-size: 28px;
}

.search-form input:focus {
    outline: none;
}

.show-search .search-form,
.show-search .search-overlay {
    opacity: 1;
    z-index: 2;

    -webkit-transition: opacity 0.2s linear, z-index 0s linear 0s;
    -moz-transition: opacity 0.2s linear, z-index 0s linear 0s;
    -o-transition: opacity 0.2s linear, z-index 0s linear 0s;
    -ms-transition: opacity 0.2s linear, z-index 0s linear 0s;
    transition: opacity 0.2s linear, z-index 0s linear 0s;
}

.show-search .search-form {
    z-index: 801;
}


/* LANGUAGE FLAGS */
.language-selector {
    border-left: 1px solid rgba(255,255,255,0.2);
}

.language-selector > li > a {
    text-transform: uppercase;
}

.language-selector .submenu li a {
    background-repeat: no-repeat;
    background-position: 20px center;
    padding: 10px 20px 10px 45px !important;
}

.language-selector .submenu .flag-it a {background-image: url(../images/flags/16/it.png);}
.language-selector .submenu .flag-en a {background-image: url(../images/flags/16/en.png);}
.language-selector .submenu .flag-de a {background-image: url(../images/flags/16/de.png);}
.language-selector .submenu .flag-fr a {background-image: url(../images/flags/16/fr.png);}
.language-selector .submenu .flag-es a {background-image: url(../images/flags/16/es.png);}
