body{
    padding-top: 20vh;
    background-color: gray;
    font-family: Lato, sans-serif;
    background-image: linear-gradient(#8b9da9, white);
    box-shadow: inset 0 0 100px hsla(0,0%,0%,.3);
}

a:hover{ text-decoration: none; }

#section-1{
    background: rgb(0,120,90);
    background: linear-gradient(to right, rgb(0 84 51), rgb(0,120,90));
}


/* MENU */
.navbar{
    height: 20vh;
    padding-left: 9%;

    background: #232526;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, rgb(40,40,40), rgb(50,50,50));  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, rgb(40,40,40), rgb(50,50,50)); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    
    box-shadow: 0 5px 5px rgba(30,30,30,20);
}
#nav-contato{
    margin-top: 5px;
    font-size: 0.6em;
    color: gray;
}

/* HOME */
#sobre{
    font-family: 'Noto Serif', serif;
    background: url("../img/sobre.png");
    background-size: cover;
    height: 50vh;
}

#inicio-servicos{
    height: 30vh;
}

#contato{
    background: rgb(60,60,60);
    
    height: 30vh;

    font-size: 1.2em;
    text-shadow: 3px 3px 5px rgb(50,50,50);
}
#noticias{
    background: linear-gradient(180deg, rgba(60,60,60,1) 0%, rgba(85,85,85,1) 100%);
    height: 50vh;
    overflow: auto;
}

.whatsapp-link, .whatsapp-link:hover {
    color: rgb(96, 211, 146);
    text-decoration: none !important;
}

/* PRODUTOS */
.produtos-header{
    background: linear-gradient(to right, rgb(20,145,100), rgb(20,160,110));

    height: 15vh;
    padding: 10px;

    font-size: 2em;
    line-height: 25px;
    text-shadow: 3px 3px 5px rgb(0,50,20);
}
.produtos-header small{
    color: rgb(200,250,220);
    font-size: 0.5em;
}
.produtos-body{
    height: 65vh;
    background: #7474BF;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #348AC7, #7474BF);
    background: linear-gradient(to right, #348AC7, #7474BF);
}
.produtos-linha-header{
    display: inline-block;
    width: 100%;
    height: 7vh;
    padding: 10px;

    background-color: rgb(0,120,100);

    color: rgb(200,250,220);
}
.produtos-linha-header:hover{ cursor: pointer; }
.produtos-linha-body{
    height: 44vh;
    display: none;
    background-position: center;
    background-size: cover;
}
#linha-1{ background-image: url("../img/linha1.jpg"); }
#linha-2{ background-image: url("../img/linha2.jpg"); }
#linha-3{ background-image: url("../img/linha3.png"); }

.produtos-lista{
    padding: 0;
    height: 100%;
}
.produtos-lista-item{
    background-color: rgba(50,150,200, 0.6);
    padding: 10px;
    font-size: 1.1em;
    list-style: none;
    text-align: center;
    text-shadow: 2px 2px 2px gray;
    color: white;
}
#linha-1 .produtos-lista-item{ height: calc(100% / 7); }
#linha-2 .produtos-lista-item{ height: calc(100% / 5); }
#linha-3 .produtos-lista-item{ height: calc(100% / 5); }



/* EQUIPAMENTOS */
#equipamentos{
    background-color: rgb(0,120,100);
 }
#equipamentos-header{
    height: 10vh;
    padding-top: 5px;
    text-align: center;
    font-size: 2em;
    color: rgb(255,255,255);
    text-shadow: 3px 3px 5px rgb(0,50,20);
}

#equipamentos-body{
    padding: 0;
    height: 68vh;
}
    #equipamentos-menu{
        padding: 0;
    }
    #equipamentos-menu ul{
        padding: 0;
        margin-bottom: 0;
    }
    #equipamentos-menu ul li{
        width: 100%;
        height: calc(70vh/7);
        margin: 0;
        padding: 4%;
        padding-left: 15px;
        font-size: 0.85em;
        list-style: none;
        border-right: 5px solid white;
        border-top: 1px solid white;
        /* TODO: Descomentar */
        /* cursor: pointer; */

        background: rgb(0, 120, 150);
    }

    #equipamentos-slideshow{
        height: 68vh;
        border-left: 10px solid transparent;
    }
    #equipamentos-slideshow img{
        cursor: pointer;
    }



/* MENSAGEM */
#mensagem{
    background: linear-gradient(to left, #036564, rgb(0,40,50));
    color: white;
    overflow: auto;
}
#mensagem h2{
    text-align: center;
    margin: 20px;
    text-shadow: 2px 2px 3px gray;
}
#mensagem p{
    font-size: 1.4em;
    text-align: center;
}
#mensagem a{
    color: white;
}
.mensagem-form{ height: 70vh; }
.mensagem-form, .mensagem-contato{ padding: 20px; }

/* RODAPE */
footer{
    height: 10vh;
    padding: 15px;
    line-height: 1em;
    background-color: rgb(50,50,50);
    color: white;
}
footer a{
    color: gray;
    font-size: 0.8em;
}
footer a:hover{
    color: white;
}

/* NOTICIAS */
a.noticias-titulo{
    font-size: 1.3em;
	color: orange;
	height: 10%;
	padding-top: 0.5%;
}
.noticias-list-item{
    display: flex;
    flex-wrap: wrap;
    height: 17%;
    box-sizing: border-box;

    padding: 1% 0;
    background-color: rgb(90,90,90);
    background-clip: content-box;

    border-bottom-right-radius: 10px;

    overflow: hidden;
}
.noticias-list-item:hover{ cursor: pointer; }
span.noticias-list-item{
    text-decoration: none;
    color: rgb(230,230,230);
}
.noticias-list-item h5{
	padding: 5% 0 1% 2%;
    font-size: 0.8em;
}
.noticia-article{
	color: white;
	padding: 4% 2%;
	text-indent: 5%;
	text-align: center;
	display: none;
    font-size: 0.82em;
}
.ler-mais{
    color: orange !important;
}
.ler-mais:hover{
    text-decoration: underline !important;
    cursor: pointer;
}

/* BOTOES */
.btn-1{
    background-color: transparent;
    color: white;

    border: 3px solid white;
    border-radius: 6px;

    text-align: center;

    display: block;
    padding: 2%;
    margin: 2% auto;
    width: 290px;
}
.btn-1:hover, .btn-2:hover{
    cursor: pointer;
}

.btn-2{
    display: block;
    background-color: seagreen;
    border: none;
    border-radius: 10px;
    color: white;
    margin: auto;
    margin-top: 10px;
    padding: 10px;
}




/* SERVICOS */
.servicos-home{
    height: auto;
    overflow-y: hidden;
}
.servicos-esquerda,  .servicos-direita{
    height: 70vh;
    padding: 0;
}
.servicos-esquerda{
    background-color: white;
}
.servicos-direita{
    background-color: seagreen;
    overflow-y: auto;
}
.servicos-header{
    height: 10%;
    width: 98%;
    margin-top: 2%;
    margin-left: 2%;

    border-bottom-left-radius: 20px;

    background-color: rgb(255, 153, 51);
    border-left: 10px solid rgb(255, 102, 0);
    color: white;
    padding: 3px 0 0 10px;
    opacity: 0.8;
}
.slideshow{
    position: relative;
    width: 100%;
    height: 87%;
    padding: 0;
}

.slideshow > div {
  position: absolute;
  width: 100%;
  height: 100%;
}
.slideshow > div img{
    width: 100%;
    height: 100%;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    object-fit: cover;
}

.servicos-lista{
    list-style: none;
    padding: 20px;
    color: white;
    text-indent: 30px;
}
.servicos-lista > li{
    margin: 10px 0;
    border: 1px solid white;
    padding: 10px;
}




/******************** PÁGINA DE NOTÍCIAS ********************/





/* MEDIA QUERIES */

/*Medio*/
@media only screen and (min-width: 992px){
    .pagina-principal{
        scroll-snap-type: mandatory;
        scroll-snap-points-y: repeat(80vh);
    }
}
@media only screen and (max-width: 992px){
    #section-1, #section-2, #mensagem{ margin-bottom: 15px; }
    
    #equipamentos{ margin-top: 10px; }
    #equipamentos-slideshow{
        height: 50vh;
        border-left: 0;
    }
    #equipamentos-slideshow img{ border-radius: 0; }
    #equipamentos-menu{
        margin-top: 5vh;
        text-align: center;
    }
    .equipamentos-caption{ border-radius: 0; }
    
    footer{ height: 15vh; }
    footer div{ font-size: 0.8em; }

    .servicos-esquerda{ height: 50vh; }
    .servicos-header h3{ font-size: 1.2em; }
    .servicos-lista{
        font-size: 0.9em;
        padding: 10px;
    }
}

/*Muito Pequeno*/
@media only screen and (max-width: 320px){
    #nav-contato{ font-size: 0.5em; }

    .produtos-header{ font-size: 1.5em; }
    h2{ font-size: 1.5em; }

    #logo{ width: 130px; }
    
    #sobre{ padding: 0; }
    #sobre p, #sobre a, #sobre button{ font-size: 0.8em; margin-bottom: 10px;}

    .produtos-body{ font-size: 0.85em; }

    .mensagem-contato{ margin-top: 30px; }
    .mensagem-contato h2{ font-size: 1.1em;}
    .mensagem-contato p *{ font-size: 0.7em; }
}

/* Personalizado */
@media screen and (max-height: 500px){
   .btn-1{ display: none; }
}

@media only screen and (max-width: 480px){
   .navbar-nav{
        background-color: rgb(50,50,50);
        width: 100%;
        
        border-radius: 0 10px 10px 10px;
        color: white;
        text-align: center;
    }
}