/* 1500px */
@media screen and (max-width:1500px){
    .list-services.grid5{
        grid-template-columns: repeat(4,1fr);
    }
}

/* 1420px */
@media screen and (max-width:1420px){
    #menu li a{
        font-size:11px !important;
        padding:12px 10px;
    }
}

/* 1410px */
@media screen and (max-width:1410px){
    .box-info-contato .address-footer{
        flex-direction: column;
    }
    .box-info-contato .address-footer article{
        width:100%;
    }
    .box-info-contato .address-footer article:nth-of-type(2){
        margin-top:20px;
        margin-left:-105px;
        padding-left:15px;
        justify-content: flex-start;
    }
    .box-info-contato .address-footer{
        padding:70px 90px;
    }
}

/* 1330px */
@media screen and (max-width:1330px){
    #box_links span{
        font-size:12px;
    }

    .button{
        margin-right:auto;
        margin-left:auto;
        width:100%;
        font-weight:bold;
    }
}

/* 1250px */
@media screen and (max-width:1250px){
    .list-services.grid5{
        grid-template-columns: repeat(3,1fr);
    }

    .list-down{
        grid-template-columns: repeat(3,1fr);
    }
}


/* 1190px */
@media screen and (max-width:1190px){
    .social-box{
        flex-direction: column;
    }
    .social-box li{
        margin-bottom:5px;
    }

    .social-box li:first-child{
        width:auto;
        padding:0px 42px;
    }

    #header-social{
        width:15%;
    }
    #menu{
        width:70%;
    }

    #menu li a{
        font-size:12px;
        padding:12px 5px;
    }

     #banner .swiper-slide{
        height:540px;
    }

    #banner .swiper-slide h1{
        max-width:400px;
        font-size:40px;
        line-height:42px;
    }

    .address-footer{
        width:66%;
    }

    footer .social-box a{  
        margin-bottom:10px;
    }
    footer .social-box a:last-child{
        margin-bottom:0px;
    }

    .wrap_contact{
        grid-template-columns: repeat(1,1fr);
        grid-gap:0px;
    }

    #form_contact{
        margin-bottom:30px;
    }
    .list-act{
        margin-top:30px;
    }

}

/* 1160px */
@media screen and (max-width:1160px){
    #box-uteis{
        flex-direction: column;
    }
    #box_links,
    #slide_util{
        width:100%;
    }

    #box_links{
        padding:30px 10px;
    }

    #box-uteis:before{
        width:100%;
        bottom:0px;
        left:0px;
        right:0px;
        height:110px;
        top:auto;
    }

    .big_box,
    .small_box{
        width:100%;
    }
    .small_box{
        margin-top:15px;
    }
}

/* 1035px */
@media screen and (max-width:1035px){
    #header-social{
        display:none;
    }
    #logo{
        width:30%;
    }
    #menu{
        width:70%;
        padding-right:0px;
    }

    #banner .swiper-slide{
        height:480px;
    }

     #banner .swiper-slide h1{
        max-width:300px;
        font-size:30px;
        line-height:32px;
    }
}


/* 980px */
@media screen and (max-width:980px){
    #content_news #slider-one{
        width:100%;
        margin-top:0px;
        margin-bottom:20px;
    }
}

/* 950px */
@media screen and (max-width:950px){
    .list-tables{grid-template-columns: repeat(1,1fr);}
    #logo{width:28%;}
    #logo:after{right:-20px;}
    #menu{width:72%;}

}

/* 900px */
@media screen and (max-width:900px){
    #logo{
        width:25%;
    }
    #logo:after{
        display:none;
    }

    #menu{
        padding-left:20px;
        width:75%;
    }

    #menu li a{font-size:10px !important;}

    #banner .swiper-slide{
        height:360px;
    }

     #banner .swiper-slide h1{
        max-width:240px;
        font-size:25px;
        line-height:25px;
    }

    .box-news{
        flex-direction: column;
    }
    .box-news figure{
        max-width:100%;
        padding:0px;
        margin-bottom:15px;
    }
    .box-news hgroup{
        width:100%;
        text-align:center;
    }
    .box-news figure,
    .box-news figure img{
        width:100%;
    }
    .box-news hgroup .sub-t{
        font-size:18px;
    }

    .list-services.grid5{
        grid-template-columns: repeat(2,1fr);
    }
}

/* 850px */
@media screen and (max-width:850px){
    footer .address-footer{
        width:50%;
    }
    footer .address-footer{
        flex-direction: column;
        align-items: flex-start;
    }
    footer .address-footer article:nth-of-type(2){
        margin-top:20px;
    }

    #development .main{
        flex-direction: column;
    }
    #development .main span{
        text-align:center;
    }

    .list-news{
        flex-direction: column;
    }
    .list-news li{
        width:100%;
        margin-bottom:30px;
    }
    .list-news li:last-child{
        margin-bottom:0px;
    }

    .list-down{
        grid-template-columns: repeat(2,1fr);
    }
}


/* 730px */
@media screen and (max-width:730px){
    #menu{
        display:none;
    }

    .bt-menu{
        width:50px;
        height:50px;
        display:table;
        border-radius:50%;
        position:fixed;
        top:25px;
        right:20px;
        cursor: pointer;

        transition-duration:0.4s;
        -webkit-transition-duration:0.4s;
        -moz-transition-duration:0.4s;

        z-index:10;
    }
    .bt-menu .fa-plus{
        font-size:25px;

        -webkit-transition: all 400ms cubic-bezier(1, 0, 0.4, 1);
        -moz-transition: all 400ms cubic-bezier(1, 0, 0.4, 1);
        -o-transition: all 400ms cubic-bezier(1, 0, 0.4, 1);
        transition: all 400ms cubic-bezier(1, 0, 0.4, 1);
    }
    
    .bt-menu:hover .fa-plus,
    .bt-menu.act .fa-plus{
        transform:rotate(135deg);
        -webkit-transform:rotate(135deg);
        -moz-transform:rotate(135deg);
    }

    #full-menu{
        position:fixed;
        right:-100%;
        bottom:0px;
        width:100%;
        height:100%;
        opacity:0;
        visibility: hidden;
        pointer-events: none;

        -webkit-transition: all 300ms cubic-bezier(1, 0, 0.5, 1);
        -moz-transition: all 300ms cubic-bezier(1, 0, 0.5, 1);
        -o-transition: all 300ms cubic-bezier(1, 0, 0.5, 1);
        transition: all 300ms cubic-bezier(1, 0, 0.5, 1);

        background:rgba(0,0,0,0.8);
        z-index:9;

        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;

    }

    #full-menu.act{
        opacity:1;
        visibility: visible;
        pointer-events:auto;
        width:100%;
        height:100%;
        right:0px;
    }

    .wrap-menu{
        transition-duration:0.5s;
        -webkit-transition-duration:0.5s;
        -moz-transition-duration:0.5s;

        margin-right:-1000px;
        opacity:0;
    }
    #full-menu.act .wrap-menu{
        opacity:1;
        margin-right:0px;
    }

    .wrap-menu ul{
        display:flex;
        flex-direction: column;
        text-align:center;
    }
    .wrap-menu ul li{
        margin-bottom:15px;
    }
    .wrap-menu ul li:last-child{
        margin-bottom:0px;
    }
    .wrap-menu ul li a{
        margin-left:auto;
        margin-right:auto;
        font-size:22px;
        font-weight:700;
        padding:5px 10px;
        display:table;
        text-align:center; 
        border-bottom:3px solid transparent;
    }
    
    #logo{
        width:45%;
    }
        #logo img{
            float:left;
            width:110px;
        } 
        
    #header-social{
        border-top:0px;
        display:flex;
        padding-right:100px;
    }
    #header-social:before{
        display:none;
    }

    #header-social li:first-child{
        display:none;
    }
    #header-social li:nth-of-type(2){
        width:136px;
    }


    #banner .swiper-slide{
        height:250px;
    }
    #banner .swiper-slide h1{
        font-size:20px;
        line-height:25px;
    }

     #banner .swiper-slide h1{
        max-width:190px;
        font-size:16px;
        line-height:21px;
    }
    #banner .swiper-slide h1:before{
        bottom:-12px;
    }



    /* títulos */
    .main-t{
        font-size:20px;
    }
    .detail-t:before,
    .detail-t:after{
        width:70px;
    }

    .box-service hgroup{
        flex-direction: column;
        justify-content: center;
    }
    .box-service span{
        text-align:center;
        display:table;
    }

    #headPage{
        height:50px;
    }
    #headPage.pg_news{
        height:130px;
    }
    #form_busca .input{
        width:64.5%;
    }
    #form_busca #bt-submit{
        width:35%;
    }
}



/* 660px */
@media screen and (max-width:660px){
    footer .main{
        flex-direction: column;
    }
    footer .address-footer{
        padding-left:0px;
        width:100%;
    }
    footer .address-footer article{
        width:100%;
        text-align:center;
    }
    footer .address-footer:before{
        display:none;
    }
    .address-footer .fa-square-phone,
    .address-footer .fa-square-whatsapp{
        display:none;
    }
    .address-footer span{
        width: 100%;
        text-align: center;
    }
    footer .address-footer article:nth-of-type(2) span{
        text-align:center;
        width:100%;
        font-weight:700;
    }
    footer .box-selo-social{
        flex-direction: column;
    }
    .i-selo{
        margin-right:0px;
        margin-top:15px;
        margin-bottom:15px;
    }
    footer .social-box{
        flex-direction:row;
    }

    .box-info-contato .address-footer:before{
        display:none;
    }
    .box-info-contato .address-footer article:nth-of-type(2){
        margin-left:0px;
        padding-left:0px;
        text-align:center;
        display:table;
    }

    .box-info-contato .address-footer{
        padding:60px 30px;
        text-align:center;
    }
}


/* 599px */
@media screen and (max-width:599px){
    #box_links{
        flex-direction: column;
    }
    
    #box_links a{
        margin:0 auto;
        width:auto;
        margin-bottom:10px;
    }
    #box_links a:nth-of-type(3){
        margin-bottom:0px;
    }

    #box-uteis:before{
        height:230px;
    }
    #box_links a i{
        margin-right:10px;
    }

    .list-services.grid5{
        grid-template-columns: repeat(1,1fr);
    }

    .list-tables h6,
    .list-tables p,
    .list-tables table tr td{
        text-align:center;
    }


    .wrap-menu ul li a{
        font-size:12px;
    }

    .list-down,
    .list-act{
        grid-template-columns: repeat(1,1fr);
    }
}
/*  460px */
@media screen and (max-width:460px){
    #header-social{
        display:none;
    }
}


/* tel h */
@media screen and (max-width: 1370px){
    .social-box a.noBorder{
        width: 125px;
        font-size: 14px;
    }
}

@media screen and (max-width: 1035px){
    #header-social{
        display: none;
    }
}

@media screen and (max-width: 660px){
    .telF div a{
        margin-left: auto;
        margin-right: auto;
    }
}