html,
body {
    background-color: #E7EFF4;
	height: 100%;
    margin: auto;
}

main{
    width: 100%;
}

/* folha de estilo para menu/header*/

.container{
    background: white;
    padding-left: 0;
    padding-right: 0;
}

.header{
    background: white;
    width: 100%;
}

.sub-header{
    height: 6em;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.imagem-header{
    width: 20%;
    margin-top: auto;
    margin-bottom: auto;
}

.imagem-header img{
    width: 50%;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 25%;
}

.titulo-header{
    width: 55%;
    margin-top: auto;
    margin-bottom: auto;
}

.titulo-header h1{
    font-size: 1.5em;
}

.icones-header ul{
    margin-left: 0;
    margin-bottom: 0;
    padding: 0;
}

.menu{
    background-color: #f4f4f4;
}

.menu ul{
  margin-left: auto;
  width: 80%;
}

.menu ul li{
    margin-right: 6%;
    font-size: 1.1em;
  }

.navbar{
    padding: 0;
}

.icones-paises{
    margin-right: 5%;
    display: inline-flex;
    margin-bottom: 0.5%;
}

.brasil img{
    width: 40px;
    border-radius: 10%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.3;
}

.espanha img{
    width: 40px;
    margin-left: 20%;
    border-radius: 10%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eua img{
    width: 40px;
    margin-left: 40%;
    border-radius: 10%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.3;
}

.brasil img:hover{
    transform: scale(1.1);
    opacity: 1;
}

.espanha img:hover{
    transform: scale(1.1);
}

.eua img:hover{
    transform: scale(1.1);
    opacity: 1;
}

#menu li a.active {
    color: black;
    border-bottom: rgb(17, 66, 4) solid 5px;
}

/* folha de estilo para pagina principal*/

.institucional{
    width: 80%;
    margin: auto;
    padding-bottom: 5%;
}

.institucional h1{
    color: rgb(128, 6, 6);
    padding-top: 5%;
    padding-bottom: 5%
}

.empresas{
    width: 100%;
    display: flex;
}

.jfmaquinas{
    background:white;
    width: 50%;
    text-align: center;
}

.img-filial-jf{
    width: 100%;
    mask-image: linear-gradient(to bottom, transparent 1%, white 40%);
}

.img-texto-jf{
    width: 35%;
    margin-bottom: 5%;
}

.nogueira{
    width: 50%;
    background: white;
    text-align: center;
}

.img-filial-nog{
    width: 100%;
    mask-image: linear-gradient(to bottom, transparent 1%, white 40%);
}

.img-texto-nog{
    width: 49%;
    margin-bottom: 5%;
}

/* folha de estilo para nossas marcas/parceiros */

.titulo-marcas h1{
    color: rgb(99, 99, 99);
    padding-top: 5%;
    padding-bottom: 5%;
    text-align: center;
}

.marcas{
    width: 80%;
    display: flex;
    margin: auto;
    padding-bottom: 20%;
}

.empresas-filiadas{
    width: 40%;
    margin-left: auto;
    margin-right: auto;
}

.img-marcas{
    width: 80%;
    height: 235px;
    margin: auto;
    display: flex;
    vertical-align: middle;
    margin-bottom: 10%;
}

.img-marcas img{
    width: 80%;
    margin: auto;
}

.texto-marcas{
    text-align: justify;
}

.texto-marcas a{
    font-weight: bold;
}

/* folha de estilo para carreiras*/

.titulo-carreiras h1{
    color: rgb(99, 99, 99);
    padding-top: 5%;
    text-align: center;
}

.texto-carreiras{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5%;
    text-align: justify;
}

.imagem-carreiras img{
    width: 100%;
}

.imagem-carreiras .botao-trabalhe{
    width: 30%;
    position: relative;
    top: 251px;
    left: 105px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.botao-trabalhe:hover{
    transform: scale(1.04);
}

.imagem-carreiras .botao-relatorio{
    width: 25%;
    position: relative;
    top: 160px;
    left: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.botao-relatorio:hover{
    transform: scale(1.04);
}

.texto-relatorio{
    color: rgb(99, 99, 99);
    width: 100%;
    text-align: center;
    padding-top: 5%;
}

/* folha de estilo para carreiras*/

.contato{
    width: 100%;
    margin: auto;
    display: flex;
    padding-bottom: 5%;
}

.mapas{
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.informacao{
    width: 45%;
    margin-left: auto;
    margin-right: auto;
}

.texto-contato{
    color: rgb(99, 99, 99);
    width: 100%;
    text-align: center;
    padding-top: 5%;
    padding-bottom: 5%;
}

.localizacao{
    width: 100%;
    margin: auto;
}

.localizacao iframe{
    width: 100%;
}  

.map-iframe {
    display: none;
}

.map-iframe.active {
    display: block;
}

#address-list {
    list-style-type: none;
    padding: 0;
}

#address-list .link-unidade {
    cursor: pointer;
    color: rgb(8, 8, 66);
    text-decoration: underline;
    margin-bottom: 5px;
    font-weight: bold;
}

.imagem-mapa{
    width: 100%;
    margin: auto;
}

.imagem-mapa img{
    width: 100%;
}

.unidade{
    width: 80%;
    margin: auto;
    margin-top: 5%;
}

.informacao p{
    margin: 0;
}

/* folha de estilo para rodapé*/

.rodape{
    background-color: #f4f4f4;
    width: 100%;
    text-align: center;
    padding-bottom: 1%;
    padding-top: 1%;
}

/* folha de estilo para relatorio*/

.cidade{
    width: 100%;
    text-align: center;
    margin-bottom: 5%;
    margin-top: 5%;
    color: rgb(128, 6, 6);
}

.cidade img{
    margin-right: auto;
    margin-left:auto ;
    width: 20%;
    margin-top: 5%;
    margin-bottom: 5%;
}

.relatorio img{
    width: 100%;
}

.lgpd{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5%;
    padding-bottom: 5%;
    text-align: justify;
}

.lgpd br{
    display: none;
}

.imagem-indisponivel{
    width: 80%;
    margin: auto;
    text-align: center;
}

.imagem-indisponivel img{
    width: 20%;
    margin-top: 5%;
    margin-bottom: 5%;
}

.texto-indisponivel{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-bottom: 50%;
}

.texto-indisponivel h3{
    margin-bottom: 0;
}

.texto-indisponivel h5{
    margin-bottom: 0;
}

@media screen and (max-width: 990px){
    .sub-header{
        flex-direction: column;
        height: 11em;
    }

    .imagem-header{
        width: 15%;
        margin:auto;
    }

    .imagem-header img{
        width: 80%;
        margin-left: 10%;
    }

    .titulo-header{
        width: 74%;
    }

    .navbar{
        padding-bottom: 1%;
        padding-top: 1%;
    }

    .icones-paises{
        margin: 2% 0 2% 8%;
    }

    .marcas{
        width: 100%;
    }

    .imagem-carreiras .botao-trabalhe {
        top: 158px;
        left: 65px;

    }

    .imagem-carreiras .botao-relatorio {
        top: 102px;
        left: 60px;
    }
}

@media screen and (max-width: 765px){

    .imagem-header{
        width: 25%;
        margin:auto;
    }

    .titulo-header{
        width: 99%;
    }

    .institucional{
        width: 95%;
    }

    .empresas{
        display: block;
    }

    .jfmaquinas{
        width: 100%;
    }

    .nogueira{
        width: 100%;
    }

    .img-texto-nog{
        margin-top: 5%;
    }

    .marcas{
        display: block;
    }

    .empresas-filiadas{
        width: 80%;
        margin: auto;
    }

    .img-marcas img{
        width: 60%;
    }
    
    .mapas{
        width: 90%;
    }

    .informacao{
        width: 90%;
    }

    .contato{
        display: block;
    }

    .imagem-carreiras .botao-trabalhe {
        top: 119px;
        left: 50px;
      }

      .imagem-carreiras .botao-relatorio {
        top: 75px;
        left: 45px;
      }

}

@media screen and (max-width: 520px){

    .titulo-header{
        text-align: center;
    }

    .imagem-carreiras .botao-trabalhe {
        top: 115px;
        left: 50px;
      }

    .imagem-carreiras .botao-relatorio {
        top: 75px;
        left: 40px;
      }

}

@media screen and (max-width: 410px){
    .imagem-carreiras .botao-trabalhe {
        top: 90px;
        left: 40px;
      }

      .imagem-carreiras .botao-relatorio {
        top: 58px;
        left: 30px;
      }
}
