﻿/*MEDIA QUERY 1550px-----------------------------------------------------------------------------------------*/
@media only screen and (min-width:0px) and (max-width:1550px) {

    .div1500{
        width:100%;
        padding: 0 60px;
        box-sizing: border-box;
    }

    .header {
        height:500px;
    }

    .headerContainer{
        width:100%;
        margin:0 auto;
        height:500px;
        position: relative;
    }

    .headerText {
        left: 170px;
    }

    .headerText h1{
        font-size: 60px;
    }

    .headerText h2{
        font-size: 25px;
        margin: 25px 0 50px 0;
        width: 450px;
    }

    .headerText a{
        padding: 15px 40px;
        margin-right: 20px;
    }

    .servizi {
        padding: 70px 0;
    }

    .serviziBox{
        padding: 40px 20px 20px 20px;
        height: 230px;
    }
    
    .serviziBox img{
        height: 45px;
        margin-bottom: 15px;
    }
    
    .serviziBox h3{
        font-size: 23px;
        margin-bottom: 25px;
    }

    .slogan {
        height:400px;
    }
    
    .slogan h2{
        font-size: 60px;
        width: 600px;
    }

    .contattaci {
        padding: 70px 0;
    }
    
    .contattaci h2{
        font-size: 45px;
        margin-bottom: 30px;
    }

    .logo img{
        width: 180px;
    }

    .nav{
        margin-top: 25px;
    }
    
    .nav a{
        font-size: 15px;
        margin-left: 10px;
    }


}

/*MEDIA QUERY 1200px-----------------------------------------------------------------------------------------*/
@media only screen and (min-width:0px) and (max-width:1200px) {

    .servizi {
        padding: 70px 0;
    }

    .serviziBox{
        width: 31.3%;
        padding: 40px 20px 20px 20px;
        height: 230px;
    }
    
    .serviziBox img{
        height: 45px;
        margin-bottom: 15px;
    }
    
    .serviziBox h3{
        font-size: 23px;
        margin-bottom: 25px;
    }

    .top {
        position:fixed;
        width: 100%;
        z-index: 9;
        top:0;
    }

    .menu {
        background-color: #FFFFFF;
        height:80px;
        width: 100%;
        z-index: 8;
    }
    
    .logo{
        float:left;
        padding: 25px 0;
    }

    .nav{
        float:right;
        margin-top: 19px;
    }

    .nav a{
        display: none;
    }

    .buttonWebmail{
        display: inline-block !important;
        vertical-align: middle;
    }

    .hamburger {
        display: inline-block;
        vertical-align: middle;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        text-align: right;
        margin-left: 15px;
    }

    .hamburger .line {
        width: 35px;
        height: 3px;
        background-color: #333333;
        display: block;
        margin: 7px auto;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .hamburger:hover {
        cursor: pointer;
    }

    .hamburger.is-active {
        animation: smallbig 0.6s forwards;
    }

    @keyframes smallbig {
        0%, 100% {
            -webkit-transform: scale(1);
            -ms-transform: scale(1);
            -o-transform: scale(1);
            transform: scale(1);
        }

        50% {
            -webkit-transform: scale(0);
            -ms-transform: scale(0);
            -o-transform: scale(0);
            transform: scale(0);
        }
    }

    .hamburger.is-active .line:nth-child(1),
    .hamburger.is-active .line:nth-child(2),
    .hamburger.is-active .line:nth-child(3) {
        -webkit-transition-delay: 0.2s;
        -o-transition-delay: 0.2s;
        transition-delay: 0.2s;
    }

    .hamburger.is-active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-active .line:nth-child(1) {
        -webkit-transform: translateY(11px) rotate(45deg);
        -ms-transform: translateY(11px) rotate(45deg);
        -o-transform: translateY(11px) rotate(45deg);
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger.is-active .line:nth-child(3) {
        -webkit-transform: translateY(-9px) rotate(-45deg);
        -ms-transform: translateY(-9px) rotate(-45deg);
        -o-transform: translateY(-9px) rotate(-45deg);
        transform: translateY(-9px) rotate(-45deg);
    }

    .menuMobile {
        top: 110px;
    }

}

/*MEDIA QUERY 1023px-----------------------------------------------------------------------------------------*/
@media only screen and (min-width:0px) and (max-width:1023px) {

    .div1500{
        padding: 0 50px;
    }

    .header {
        height:400px;
    }

    .headerContainer{
        height:400px;
    }

    .headerText {
        left: 100px;
    }

    .headerText h1{
        font-size: 50px;
    }

    .headerText h2{
        font-size: 21px;
        margin: 20px 0 40px 0;
        width: 400px;
    }

    .headerText a{
        padding: 15px 40px;
        margin-right: 20px;
    }

    .servizi {
        padding: 50px 0;
    }

    .serviziBox{
        padding: 30px 20px 20px 20px;
        height: 210px;
    }
    
    .serviziBox img{
        height: 40px;
        margin-bottom: 15px;
    }
    
    .serviziBox h3{
        font-size: 21px;
        margin-bottom: 25px;
    }

    .slogan {
        height:350px;
    }
    
    .slogan h2{
        font-size: 50px;
        width: 500px;
    }

    .contattaci {
        padding: 50px 0;
    }
    
    .contattaci h2{
        font-size: 40px;
        margin-bottom: 30px;
    }
    
    .contattaciNumber{
        padding: 20px 30px;
    }
    
    .contattaciNumber img{
        margin-right: 15px;
        width: 40px;
    }
    
    .number{
        font-size: 17px;
    }
    
    .number span{
        font-size: 30px;
    }

}

/*MEDIA QUERY 768px-----------------------------------------------------------------------------------------*/
@media only screen and (min-width:0px) and (max-width:768px) {

    .div1500{
        padding: 0 30px;
    }

    .servizi {
        padding: 30px 0;
    }

    .serviziBox{
        width: 48%;
    }
    
    .serviziBox img{
        height: 30px;
    }
    
    .serviziBox h3{
        font-size: 19px;
    }

}

/*MEDIA QUERY 600px-----------------------------------------------------------------------------------------*/
@media only screen and (min-width:0px) and (max-width:600px) {

    .header {
        height:330px;
    }

    .headerContainer{
        height:330px;
        text-align: center;
    }

    .headerText {
        left: 0;
        right:0;
    }

    .headerText h1{
        font-size: 40px;
    }

    .headerText h2{
        font-size: 19px;
        margin: 20px 0 40px 0;
        width: 100%;
        padding: 0 50px;
        box-sizing: border-box;
    }

    .headerText a{
        padding: 15px 40px;
        margin: 0 10px;
    }

    .slogan {
        height:250px;
    }
    
    .slogan h2{
        font-size: 40px;
        width: 400px;
    }

    .contattaci {
        padding: 30px 0;
    }
    
    .contattaci h2{
        font-size: 35px;
        margin-bottom: 20px;
    }
    
    .contattaciNumber{
        padding: 15px 20px;
    }
    
    .contattaciNumber img{
        margin-right: 15px;
        width: 30px;
    }
    
    .number{
        font-size: 15px;
    }
    
    .number span{
        font-size: 25px;
    }

}

/*MEDIA QUERY 500px-----------------------------------------------------------------------------------------*/
@media only screen and (min-width:0px) and (max-width:500px) {

    .div1500{
        padding: 0 20px;
    }

    .servizi {
        padding: 30px 0;
    }

    .serviziBox{
        padding: 20px 12px 12px 12px;
        height: 170px;
    }
    
    .serviziBox img{
        height: 30px;
    }
    
    .serviziBox h3{
        font-size: 17px;
    }

    .buttonLightBlue {
        padding: 10px 15px;
        font-size: 13px;
    }

    .webmail a{
        padding: 10px 15px;
        font-size: 13px;
    }

    .sep{
        display: block;
        font-size: 0;
    }

    .menu {
        background-color: #FFFFFF;
        height:70px;
    }
    
    .logo{
        float:left;
        padding: 20px 0;
    }

    .logo img{
        width: 160px;
    }

    .nav{
        float:right;
        margin-top: 17px;
    }

    .buttonWebmail{
        padding: 10px 15px;
        font-size: 12px !important;
    }

    .buttonWebmail img{
        width: 15px;
        margin-right: 3px !important;
    }

    .hamburger{
        margin-left: 5px;
    }

    .menuMobile {
        top: 100px;
    }

}

/*MEDIA QUERY 400px-----------------------------------------------------------------------------------------*/
@media only screen and (min-width:0px) and (max-width:400px) {

    .header {
        height:300px;
    }

    .headerContainer{
        height:300px;
    }

    .headerText h1{
        font-size: 30px;
    }

    .headerText h2{
        font-size: 19px;
        margin: 20px 0 30px 0;
        padding: 0 30px;

    }

    .headerText a{
        padding: 15px 20px;
        margin: 0 5px;
    }

    .servizi {
        padding: 20px 0;
    }

    .serviziBox{
        padding: 20px 12px 12px 12px;
        height: 150px;
    }
    
    .serviziBox img{
        height: 25px;
        margin-bottom: 5px;
    }
    
    .serviziBox h3{
        font-size: 15px;
        margin-bottom: 0;
        height: 40px;
    }

    .buttonLightBlue {
        padding: 10px 15px;
        font-size: 13px;
    }

    .webmail a{
        padding: 10px 10px;
        font-size: 13px;
    }

    .slogan {
        height:200px;
    }
    
    .slogan h2{
        font-size: 30px;
        width: unset;
        padding: 0 20px;
    }
    
    .contattaci h2{
        font-size: 30px;
        margin-bottom: 15px;
    }
    
    .contattaciNumber{
        padding: 15px 20px;
    }
    
    .contattaciNumber img{
        margin-right: 15px;
        width: 25px;
    }
    
    .number{
        font-size: 13px;
    }
    
    .number span{
        font-size: 23px;
    }

    .logo{
        float:left;
        padding: 23px 0;
    }

    .logo img{
        width: 140px;
    }

    .buttonWebmail{
        padding: 10px 10px;
        font-size: 12px !important;
    }

    .buttonWebmail img{
        width: 13px;
        margin-right: 2px !important;
    }

    .buttonWebmail span{
        display: none;
    }

}