/* Overlay style */
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /*background-image: url('../img/fondoazzurro_menu.png'); background-repeat: repeat;*/
}

/* Overlay closing cross */
.overlay .overlay-close {
    width: 33px;
    height: 33px;
    position: absolute;
    right: 32px;
    top: 43px;
    overflow: hidden;
    border: none;
    background: url(../../img/X_bianca.png) no-repeat center center;
    text-indent: 200%;
    color: transparent;
    outline: none;
    z-index: 100; 
    cursor: pointer;
}

.overlay .overlay-close-2 {
    right: 36px !important;
    top: 18px !important;
}

/* Menu style */
.overlay nav {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    margin-left: -50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-top: 5px;
}

.overlay ul {
    list-style: none;
    padding: 15px;
    margin: 0 auto;
    display: inline-block;
    height: 100%;
    position: relative;
}

.overlay ul li {
    display: block;
    height: 20%;
    min-height: 40px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    margin-bottom: 14px !important;
    opacity : 0;
}

.overlay ul li a:last-child {
    margin-bottom: 0px;
}

.overlay ul li a {
    display: block;
    color: #fff;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
    font-family: 'Roboto Condensed';
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 2px;
    cursor: pointer;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
    color: #f0f0f0;
}

.menu_header {
    z-index: 99999;
    position: absolute;
    top: 47px;
    left: 50%;
    width: 50%;
    height: auto;
    margin-left: -25%;
    text-align: center;
}

.menu_header_2 {
    top: 21px !important;
}

.menu_footer {
    z-index: 99999;
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 100%;
    height: auto;
    margin-left: -50%;
    text-align: center;
}
.menu_footer img{
    width: 20px; 
    /*height: 30px;*/
}

.logo_houzz_st{ 
    width: 16px !important; 
    height: 22px !important;
}
    
/* Effects */
.overlay-cornershape {
    opacity: 0;
    visibility: hidden;
/*    -webkit-transition: visibility 0s 0.5s;
    transition: visibility 0s 0.5s;*/
}

.overlay-cornershape.open {
    opacity: 1;
    visibility: visible;
    -webkit-transition: none;
    transition: none;
}

.overlay-cornershape svg {
    position: absolute;
    top: 0;
    left: 0;
}

.overlay-cornershape .overlay-path {
/*    //fill: rgba(153,204,51);*/
/*    //fill: #3399cc;*/
/*    //fill: #3399bf;*/
/*    //fill: #1db1a4;*/
    fill: #a6a198;
/*    //opacity: 0.9;*/
    opacity: 1;
}

.overlay-cornershape nav,
.overlay-cornershape .overlay-close {
    opacity: 0;
/*    //-webkit-transition: opacity 0.4s 0.4s;*/
/*    //transition: opacity 0.4s 0.4s;*/
}

.overlay-cornershape.open nav,
.overlay-cornershape.open .overlay-close {
    opacity: 1;
/*    //-webkit-transition-delay: 0.4s;*/
/*    //transition-delay: 0.4s;*/
}

.overlay-cornershape.close nav,
.overlay-cornershape.close .overlay-close {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

/* iPad [portrait + landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    
    /* Overlay closing cross */
    .overlay .overlay-close { right: 46px; top: 67px; }
    
    .overlay .overlay-close-2 { right: 50px !important; top: 20px !important; }

    /* Menu style */
    .overlay nav { width: 100%; margin-top: 0px; }
    
    .overlay ul li { min-height: 50px; }
    
    .overlay ul li a { font-size: 50px; letter-spacing: 5px; }
    
    .menu_footer { bottom: 20px; }
    
    .menu_footer img { width: 30px; }
    
    .logo_houzz_st{ 
        width: 22px !important; 
        height: 28px !important;
    }
    
    .menu_header { top: 70px; }
    
    .menu_header_2 { top: 45px !important; }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    
    .overlay ul li { min-height: 50px; }
    
    .overlay ul li a { font-size: 45px; letter-spacing: 5px; }
    
}