
/*====CORES DO SITE====*/
/*
PRINCIPAL = rgb(192, 57, 43);
OVER = rgb(209, 67, 54);
TEXTOS = rgb(100, 100, 100);
BOTÕES = rgb(230, 230, 230);
*/

html{height: 100%;}
body{margin: 0; padding: 0; height: 100%; font-family: 'Archivo Narrow', sans-serif; background: rgb(245, 245, 245);}
*{box-sizing: border-box; resize: none; outline: none; font-family: inherit;}
a, .menu, .mainmenu{text-decoration: none; color: inherit; -webkit-transition: all ease-out 300ms; transition: all ease-out 300ms;}
h1, h2, h3, h4, h5, h6, .contato{font-family: 'Raleway', sans-serif; font-weight: normal;}

/*====CONTAINER PAGINA INICIAL====*/
.container{width: 75%; padding: 30px 15px; position: relative;}
.flex{display: flex;}
.wrap{flex-wrap: wrap;}
.between{justify-content: space-between;}
.around{justify-content: space-around;}
.center{justify-content: center;}
.end{justify-content: flex-end}
.vert{align-items: center;}

/*====IMAGEM DE FUNDO====*/
#banner{width: 100%; height: 100%; position: fixed; background-color: rgb(51, 51, 51);}
.fotos{width: 100%; height: 100%; background-size: cover; position: relative; filter: blur(7px);}
.fotos:before{content: ""; position: absolute; width: 100%; height: 100%; background-image: url(imagens/dots9.png); background-color: rgba(0 ,0 ,0, .2);}

/*====LATERAL SITE====*/
.lateral{width: 25%; height: 100%; background: rgb(192, 57, 43); position: fixed; z-index: 10; top: 0; padding: 10px; align-items: flex-start; right: 0; overflow-y: auto;}

/*====LOGOTIPO====*/
.logo{max-width: 350px;  align-self: flex-start;}

/*====MENU PRINCIAL====*/
.menu{width: 100%; align-self: flex-start;}
.mainmenu{list-style: none; margin: 0; padding: 0;}
.mainmenu li{text-align: center;}
.mainmenu li:content { flex-grow: 1;}
.mainmenu li a{font:18px/20px 'Poiret One', cursive; color: transparent; display: inline-block; position: relative; padding: 20px; border-bottom: 1px solid rgb(240, 240, 240); overflow: hidden;}
.mainmenu li a:before{content: attr(data-menu); display: block; color: rgb(255, 255, 255); position: absolute; top: 0; left: 0; width: 100%; padding: 20px 0; transition: all 400ms;}
.mainmenu li a:after{content: attr(data-menu); display: block; color: rgb(255, 255, 255); position: absolute; top: 100%; left: 0; width: 100%; padding: 20px 0; transition: all 400ms;}
.mainmenu li a:hover:before {top: -100%;}
.mainmenu li a:hover:after {top: 0%;}

#control-nav{display: none;}
.control-nav{display: none;}
.control-nav-close{display: none;}

/*====CONTATO LATERAL====*/
.contato{width: 100%; color: rgb(255, 255, 255); text-align: center;}
.fone{font-size: 22px; margin-bottom: 0;}

/*====PAGINAS INTERNAS====*/
.conteudo{width: 100%; background: rgb(255, 255, 255); color: rgb(100, 100, 100);}
.titulo-principal{font-weight: normal; text-transform: uppercase; font-size: 38px; width: 100%;}
.titulo-principal small{display: block; text-transform: none; font-size: 24px;}
.titulo-principal:after{content: ''; display: block; height: 1px; width: 190px; background: rgb(230, 76, 60); margin-top: 10px;}

.divformulario{flex: 2; padding-right: 10px;}
.formulario{width: 100%;}
.formulario label{margin: 15px 0;}
.formulario input, .formulario textarea{width: 100%; padding: 25px 10px; margin-bottom: 5px; border: 1px solid rgb(220, 220, 220); font-size: 16px;}
.formulario input[name="palavra"]{padding: 14px; margin-bottom: 0; width: 100% !important;}
.formulario button{padding: 20px 40px; cursor: pointer; border: 0; background: rgb(192, 57, 43); color: rgb(255, 255, 255); cursor: pointer; font-size: 16px;}

.contato2{flex: 1; padding: 0 20px;}
.contato2 h2{color: rgb(100, 100, 100); font-weight: 200; text-transform: uppercase;}
.contato2 h2:after{content: ''; display: block; height: 1px; width: auto; background: rgb(220, 220, 220); margin-top: 10px; border-left: 50px solid rgb(192, 57, 43);}
.contato2 p i{color: rgb(192, 57, 43);}

.conteudo iframe{order: 3;}

/*====CAIXA BRANCAS PAGINA INICIAL====*/
.box{background: rgb(255, 255, 255); position: relative; height: auto;}
.box:not(.first-box){margin-top: 100px;}
.box:not(.last-box):after{content: ""; height: 100px; border-left: 2px dashed rgba(255, 255, 255, .5); left: 50%; bottom: 0; position: absolute; transform:translate(-50%, 100%)}
.box img{align-self: stretch; object-fit: cover; width: 50%;}
.box-height{max-height: 280px;}
.box-padding{padding: 20px;}

/*====TEXTOS EMPRESA/SERVIÇOS PAGINA INICIAL====*/
.txt-home{width: auto; text-align: justify; padding: 20px;}
.txt-home p{margin-bottom: 0; color: rgb(100, 100, 100);}
.txt-home>.title-home{margin: 0;}

/*====TITULO PAGINA INICIAL====*/
.title-home{font-size: 38px; text-transform: uppercase; color: rgb(100, 100, 100);}
.title-home small{font-size: 14px; display: block;}
.title-home:after {content: ''; display: block; height: 1px; width: 190px; background: rgb(230, 76, 60); margin-top: 10px;}

/*====LINKS CONSULTAS====*/
.links{width: 100%;}
.box-consultas{margin: 5px; width: calc(33% - 10px); position: relative; color: rgb(100, 100, 100);}
.box-consultas h3{font-size: 24px; margin-bottom: 0;}
.box-consultas p{margin-top: 0;}
.box-consultas:before{position: absolute; content: ""; bottom: 0; left: 0; width: 50px; height: 2px; background: rgb(192, 57, 43);  -webkit-transition: all ease-out 300ms; transition: all ease-out 300ms;}
.box-consultas:hover:before{width: 60%;}

/*====TITULO PROGRAMAÇÂO====*/
.prog{padding: 50px 0;}
.prog>.title-home, .links>.title-home{width: 100%; text-align: center}
.prog>.title-home:after, .links>.title-home:after{display: none;}

/*====MÌDIA SYSTEM====*/
.system{margin-bottom: 50px;}
.system h2{width: 100%; text-transform: uppercase;}
.system .form{flex: 1;}
.system input{flex: 1; margin: 0 5px 0 0; padding: 15px 10px; border: 0; border: 1px solid rgb(230, 230, 230); font-size: 15px;}
.system button{border: 0; padding: 15px 10px; cursor: pointer; border: 1px solid rgb(230, 230, 230); font-size: 15px; color: rgb(51, 51, 51);}
.system .adm{background: rgb(192, 57, 43); color: rgb(255, 255, 255); padding: 15px 30px; display: inline-block; border: 1px solid rgb(230, 230, 230);}
.system .adm:hover{background: rgb(209, 67, 54);}
.system label{background: rgb(230, 230, 230); color: rgb(180, 180, 180); padding: 15px; position: relative; border-top: 1px solid rgb(230 ,230, 230); border-bottom: 1px solid rgb(230 ,230, 230);  border-left: 1px solid rgb(230 ,230, 230);}
.system label:before{content: ""; position: absolute; right: -8px; border-top: 8px solid rgb(255 ,255, 255); border-bottom: 8px solid rgb(255 ,255, 255);  border-left: 8px solid rgb(230 ,230, 230);}
.system h2 small{display: block; font-size: 14px;}

/*====BOTÕES PROGRAMAÇÃO====*/
.box-prog{width: 33%; padding: 20px; color: rgb(100, 100, 100); position: relative; border-left: 2px solid rgb(192, 57, 43);}
.box-prog p, .box-prog h2{margin: 0; position: relative; z-index: 3;}
.box-prog:before{content: ""; width: 0; height: 100%; position: absolute; z-index: 0; background: rgb(192, 57, 43); left: 0; top: 0;  transition: width .5s ease, background-color .5s ease;}
.box-prog:hover:before{width: 100%;}
.box-prog:hover{color: rgb(255, 255, 255);}

/*====LINKS FEDERAL====*/
.menu-footer{margin: 0; padding: 0;}
.menu-footer li{list-style: none; margin: 0 5px; position: relative; white-space: nowrap;}
.menu-footer li a{color: rgb(100, 100, 100); font-size: 15px; display: block; position: relative; padding: 15px 5px; font-family: 'Raleway', sans-serif; font-weight: normal;}
.menu-footer li a:after{content: ''; display: block; height: 1px; width: 30px; background: rgba(192, 57, 43, .5); transition: width .5s ease, background-color .5s ease; margin-top: 10px;}
.menu-footer li a:hover:after{width: 100%; background: rgb(192, 57, 43);}

/*====REDES SOCIAIS====*/
.redes{max-width: 200px; justify-content: flex-end}
.redes .sociais{ color: rgb(255, 255, 255); margin: 10px; width: 30px; line-height: 30px; text-align: center; border-radius: 50%; background: rgb(192, 57, 43); margin: 0 3px;}
.redes .sociais:hover{background: rgb(209, 67, 54);}
.redes p{color: rgb(100, 100, 100);}

#result { padding: 15px; margin: 20px 0; display: none; border-radius: 3px; text-align: left; }
.error { color: #a94442 !important; background-color: #f2dede; border: 2px solid #ebccd1; }
.success { color: #3c763d !important; background-color: #dff0d8; border: 2px solid #d6e9c6; }

/*==========================================================================================================================================================================================*/

@media screen and (max-width: 1024px){
    .lateral{padding: 30px 10px;}
    .box-consultas{width: calc(50% - 10px);}
    .system .form{flex: 1 33%; margin-bottom: 5px;}
    .redes{max-width: 100%;}
}
@media screen and (max-width: 900px){
    .container{width: 100%;}
    .lateral{position: relative; width: 100%; height: auto; flex-direction: row; justify-content: space-between; align-items: center;}
    .contato{display: none;}
    .inicial, .ctn-title, .links{width: 100%;}
    .box img{width: 25%;}
    .menu{width: 100%; height: 100%; position: fixed; z-index: 10000; top: 0; right: 0; display: flex; justify-content: center; align-items: center; background: rgba(0, 0, 0, .9); -webkit-transform: translate(100%, 0); transform: translate(100%, 0);}
    .mainmenu{width: 50%; position: relative; flex-direction: column; z-index: 10000;}
    .control-nav {display: block; cursor: pointer; color: rgb(255, 255, 255); margin-bottom: 0 !important; margin: 0 auto;}
    .control-nav-close {width: 100%; height: 100%; padding: 20px; position: absolute; top: 0; left: 0; color: rgb(255, 255, 255); opacity: 0;}
    #control-nav:checked ~ .control-nav{-webkit-transform: translate(0, 0); transform: translate(0, 0);}
    #control-nav:checked ~ .menu .control-nav-close{opacity: 1; z-index: 1000; display: block;}
    #control-nav:checked ~ .menu{-webkit-transform: translate(0, 0); transform: translate(0, 0);}
    .system .form{flex: 1 100%;}
    .box-prog{width: 100%; margin-bottom: 5px;}
    .menu-footer li{flex: 1 33%;}
    .contato2{order: 1; flex: 1 100%; padding: 0;}
    .divformulario{order: 2; flex: 1 100%; padding: 0;}
}
@media screen and (max-width: 650px){
    .box-consultas{width: calc(100% - 10px);}
    .txt-home{text-align: left;}
    .box img{display: none;}
    .rodape{flex-wrap: wrap;}
    .menu-footer{width: 100%;}
    .redes{align-items: flex-start; justify-content: flex-start; margin-top: 20px;}
    .redes p{display: block; width: 100%;}
}
@media screen and (max-width: 500px){
    .mainmenu li a{font:20px/10px; padding: 10px;}
    .mainmenu li a:before{padding: 10px 0;}
    .mainmenu li a:after{padding: 10px 0;}
}
@media screen and (max-width: 320px){
    .lateral{padding: 20px;}
    .control-nav{order: 1;}
    .logo{order: 2;}
    .title-home{font-size: 38px;}
    .menu-footer li{flex: 1 100%;}
    .formulario button{padding: 20px;}
    .formulario .palavra{flex-wrap: wrap;}
    .formulario .palavra img{display: block; width: 100%;}
}