/**
 *
 * Theme: CMS
 * Folha de Estilos Personalizados
 *
 * Author: Infinito AG
 * Author URI: https://www.infinitoag.com
 *
**/

/*******************************************************
 * CORPO, ELEMENTOS HTML E TIPOGRAFIA
*******************************************************/

body {
    color: #000;        
    font-size: 17px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    background: #FFF;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

h1 { font-size: 25px; }

h2 {
    font-size: 29px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0 0 10px;
    color: #1a4378;
}

h3 { 
    color: #cf2028;
    font-size: 19px;
    margin: 5px 0 25px;
    line-height: 24px;
    font-weight: bold;
    letter-spacing: .24px;
}
h4 { font-size: 17px; }


a, a:hover {
    transition: 0.3s;    
    cursor: pointer;
    text-decoration: none;
    color: #373463;
}

a > * { transition: .4s ease; }
a:hover > * {
    filter: brightness(80%) !important;
    text-decoration: none;
}

/*******************************************************
 * FORMULÁRIOS E BOTÕES
*******************************************************/

.form-control {
    border-radius: 0;
    box-shadow: none;
    height: 40px;
    border: 1px solid #1a4378;
}

textarea.form-control {
    max-height: 120px;
}

.btn {
    border-radius: 0;
    padding: 8px 30px;
    border: 0;
    margin-bottom: 5px;
    font-size: 14px;
    transition: .4s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-default {
    border: 1px solid #373463;
    background: #373463;
    color: #fff;
}

.btn-primary {
    background: #1a4378;
    border: 2px solid #1a4378;
}

.btn-danger {
    background: #cf2028;
    border: 2px solid #cf2028;
}

.btn-success { border: 1px solid #ED3237; background: #ED3237; color: #FFF; }

.btn.btn-inverted {
    color: #FFF;
    border: 2px solid #FFF;
}

.btn-lg {
    padding: 15px 30px;
    min-width: 300px;
    margin: 10px 0;
    font-size: 17px;
}

.btn:hover {
    transform: scale(1.05);
    transition: .4s ease;
}

div#opcoes-produto {
    border-left: 2px solid #dddd;
    padding-left: 20px;
    margin-bottom: 20px;
    padding-top: 15px;
    display: none;
}



/*******************************************************
 * CLASSES E ELEMENTOS PRINCIPAIS
*******************************************************/

.aligncenter {
    display: block;
    margin: 0 auto 10px;
}

.alignleft {
    float: left;
    margin: 0 10px 10px 0;
}

.alignright {
    float: right;
    margin: 0 0 10px 10px;
}

.nav-tabs { text-align: center; border: 0; margin-bottom: 30px; }

.nav-tabs li,
.nav-tabs li.active {
    float: none;
    display: inline-block;
    margin: 0;
}

.nav-tabs li a {
    font-size: 22px;
    padding: 0;
    margin: 0 15px;
    color: #000;
    border: 0;
}

.nav-tabs li a,
.nav-tabs li a:active,
.nav-tabs li a:focus,
.nav-tabs li:active a,
.nav-tabs li:focus a,
.nav-tabs li.active a
.nav-tabs li.active a:active
.nav-tabs li.active a:focus
.nav-tabs li.active:active a
.nav-tabs li.active:focus a  {
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: none;
}

.nav-tabs li:hover a,
.nav-tabs li a:hover {
    border: 0;
    border-bottom: 3px solid #f0f0f0;
    background: none;
}

.nav-tabs li.active a {
    border: 0;
    border-bottom: 3px solid #BE0511;
    color: #be0511;
    position: relative;
}

.nav-tabs li.active a:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 8px 0 8px;
    border-color: #be0512 transparent transparent transparent;
    position: absolute;
    bottom: -12px;
    left: 50%;
    margin-left: -5px;
}


.media-left {
    display: inline-block;
    float: left;
}

.fundo-amarelo .container { max-width: 960px; }
.fundo-amarelo {
    background: #373463;
    padding: 30px;
    text-align: center;
    font-size: 16px;
}

.cta-paginas { text-align: center; }
.cta-paginas .lead {
    font-size: 32px;
    line-height: 34px;
}
.cta-paginas .btn {
    font-size: 18px;
    min-width: 200px;
    margin: 10px;
}

.ctas { text-align: center; }
.ctas a {
    display: inline-block;
    margin: 5px;
}

.conteudo-destacado {
    font-size: 18px;
    padding: 80px 30px 0px;
    border-left: 1px solid #000;
}

.cinza-destacado {
    background: #ECF0F1;
    padding: 30px;
    position: relative;
}
.cinza-destacado:after {
    content: "";
    background: #ECF0F1;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
}

.titulo {
    margin: 0 0 30px;
    position: relative;
    display: inline-block;
    font-weight: bold;
}

.titulo.titulo-destaque-direita:after,
.titulo.titulo-destaque-ambos:after {
    content: "";
    position: absolute;
    width: 100px;
    height: 1px;
    background: #000;
    top: 50%;
    right: -120px;
}

.titulo.titulo-destaque-ambos:before {
    content: "";
    position: absolute;
    width: 100px;
    height: 1px;
    background: #000;
    top: 50%;
    left: -120px;
}

div#form-orcamento {
    background: #373463;
    padding: 30px;
    margin-top: 30px;
    color: #FFF;
}

#form-orcamento .form-control {
    border: 0;
}

#form-orcamento .btn {
    background: #000;
    color: #FFF;
}

/*******************************************************
 * CABECALHO
*******************************************************/

#header {
    padding: 20px 0;
    background-color: #FFF;
    color: #000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 0 30px -10px #000;
    z-index: 99;
}

/*.scrolled #header { padding: 5px 0 0; }*/
.admin-bar #header { top: 32px; }

div#header-logo { transition: .4s ease; }
div#header-logo img { transition: .4s ease; }

/*.scrolled div#header-logo {
    padding: 15px 0 10px;
}
*/
/*.scrolled div#header-logo img {
    max-width: 180px;
    transition: .4s ease;    
}*/

.header-util {
    padding: 20px 0;
    display: flex;
    justify-content: flex-end;
    margin-right: -70px;
    font-size: 15px;
    font-weight: 600;
}
.header-util .header-fone a:hover, .header-util .header-fone a:hover * {
    text-decoration: none;
}

.header-util a:hover,
.header-util a:hover > * { 
	opacity: 1 !important;
	text-decoration: underline;
}

.header-fone, .links {
    display: inline-block;
    width: 320px;
}

.header-util .media { transition: .4s ease; }
.header-util a:hover .media {
    transform: scale(1.03);
}

.header-fone .media-heading {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 5px 0 0;
}

.header-fone-numero {
    font-size: 31px;
    font-weight: bold;
    letter-spacing: 0px;
    margin: 0;
}

.header-util .links {
    margin-left: 30px;
    padding-left: 40px;
    border-left: 1px solid #cf2028;
}

.links .link a:hover {
    opacity: 0.5;
}


nav#main-menu {
    margin-top: 0;
    bottom: -45px;
    position: relative;
    background: none;
    border: 0;
    transition: .4s ease;
}

#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item.btn-cotacao {
    float: right;
    background: #cf2028;
}

#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item.btn-cotacao:hover a {
    background: #e02b34;
}

#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link:before {
    font-weight: 400 !important;
    font-size: 0px;
    margin-top: -3px;
    width: 18px;
    height: 18px;
    background: url(img/icone-check.png) no-repeat center;
    background-size: contain;
    vertical-align: middle;
}

@media all and (-ms-high-contrast:none) {
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link .mega-indicator { display: none !important; }
}


#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item.current-menu-item > a.mega-menu-link,
#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item.current-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link { font-weight: bold; }

#main-menu #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:before {
    margin-top: 7px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #ffffff;
    content: "";
}

/*******************************************************
 * RODAPE
*******************************************************/

#footer {
    padding: 0;
    color: #fff;
    font-size: 17px;
    background: #1a4378;
}

#footer-top {
    background-color: #fff;
    color: #000;
    padding: 30px 0;
    margin-bottom: 60px;
}

#footer-top a { color: #000; }
#footer-top a:hover > * {
    transform: scale(1.03);
}

#footer-top .media {
    position: relative;
    overflow: visible;
}

#footer-top .media:before {
    content: "";
    width: 1px;
    height: 100%;
    top: 0;
    left: -40px;
    position: absolute;
    background: red;
    z-index: 2;
}

.footer-fone .media-heading {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 5px 0 0;
}

.footer-fone-numero {
    font-size: 31px;
    font-weight: bold;
    letter-spacing: 0px;
    margin: 0;
}

.footer-endereco {
    font-size: 13px;
    text-transform: uppercase;
    line-height: 21px;
    font-weight: 600;
}

.footer-widget.footer-first {
    max-width: 290px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 28px;
}

#footer .footer-widget a {
    color: #fff;
    padding: 0;
    background: none;
}

#footer .footer-widget a:hover {
    text-decoration: underline;
}

#footer h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 20px;
    text-transform: uppercase;
    color: #FFF;
}

#footer .links a { color: #FFF; }
#footer .links .link-wpp img { margin: 0; }

#footer .links .link-wpp {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

#footer .links img {
    /*filter: brightness(1000%);*/
    margin-right: 10px;
}

#footer .links a:hover > img {
    /*filter: brightness(1000%);*/
}

#copyright {
    background-color: #fff;
    margin-top: 100px;
    color: #1a4378;
    padding: 10px 0;
    font-size: 15px;
}

#copyright p, #copyright a {
    color: #1a4378;
    margin: 0;
}

#copyright a:hover {
    text-decoration: underline;
}

#link-wpp,
#link-top {
    position: fixed;
    bottom: 20px;
    right: 80px;
    color: #FFF;
    width: 50px;
    height: 50px;
    font-size: 26px;
    line-height: 52px;
    background: #449f14;
    text-align: center;
    border-radius: 100%;
    box-shadow: 0 0 25px -10px #000;
    z-index: 9;
    transition: .6s;
    opacity: 0;
}

#link-top {    
    right: 20px;    
    background: #295286;
    line-height: 50px;
    transition: .3s;
}

.scrolled #link-wpp,
.scrolled #link-top {
    opacity: 1;
}

#link-wpp:hover,
#link-top:hover {
    transform: scale(1.1);
}


#loading {
    position: fixed;
    background: #FFF url( 'img/loading.gif' ) no-repeat center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99999;
    display: block;
}

/*******************************************************
 * PÁGINAS
*******************************************************/

section.page-content { overflow: hidden; }

#main .page-header {
    margin: 0 0 30px;
    padding: 100px 0 20px;
    position: relative;
    z-index: 2;
    border: 0;    
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

div#breadcrumb, div#breadcrumb a {
    color: #FFF;
    font-size: 11px;
    text-transform: uppercase;
    margin: 0;
    opacity: 1;
    position: relative;
}

#breadcrumb .last {
    font-weight: 600;
}

#main .page-header:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .3;
    top: 0;
    z-index: 0;
}

section#main {
    padding-top: 140px;
    overflow: hidden;
}

.page-share { text-align: right; }
.page-share .addtoany_list a>span { border-radius: 100% !important; }

.page-title {
    margin: 0 0 5px;
    text-transform: uppercase;
    font-weight: bold;
    color: #373463;
}

.page-subtitulo {
    color: #cf2028;
    font-size: 19px;
    margin: 5px 0 25px;
    line-height: 24px;
    font-weight: bold;
    letter-spacing: .24px;
}

.relacionados {
    padding: 50px 0;
    text-align: center;
    background: url('img/bg-agua.jpg') no-repeat center;
    background-size: cover;
    color: #FFF;
    margin: 80px 0 0;
}

.relacionados h2 {
    font-weight: bold;
    text-transform: uppercase;
    margin: 10px 0;
    color: #fff;
}

.flex-direction-nav a {
    line-height: 40px;
}

#page-404 .page-content h2 {
    margin-top: 50px;
}

/*home*/

div#homeslider {
    border: 0;
    margin: 40px 0 20px;
}

#homeslider .flex-control-nav { display: none; }

.home-content h2 {
    margin-top: 50px;
}


#home .relacionados {
    margin-top: 50px;
}

/*sobre*/
.conteudo-sobre {
    background: #FFF;
    padding: 30px;
    margin-left: -80px;
    margin-top: 38px;
}

/*contato*/

#contato .servico-main a:hover {
    text-decoration: underline;
}

#contato .wpcf7 {
    background: #ebebeb;
    padding: 30px 30px 50px;
}

#contato form .lead {
    text-transform: uppercase;
    font-size: 15px;
    color: #cf2028;
    font-weight: 600;
    margin: 10px 0 0;
}

#contato .wpcf7-list-item-label {
    font-weight: 600;
}

#contato form .wpcf7-checkbox {
    column-count: 2;
}

#contato form .wpcf7-list-item {
    font-size: 14px;
    display: inline-block;
    margin: 0px 0 10px;
    color: #1a4378;
}

.page-template-modelo-contato #footer {
    margin-top: 80px;
    padding-top: 60px;
}
.page-template-modelo-contato #footer-top {
    display: none;
}

#contato form .btn-danger {
    float: right;
    padding: 15px 30px;
}

/*servicos*/

.servicos {
    margin: 20px 0;
    display: block;
}

.servicos .servico-item {
    background: #FFF;
    padding: 30px 30px;
    margin: 30px 0;
}

.servicos .servico h1, .servicos .servico h2 {
    font-size: 17px;
    font-weight: 600;
    line-height: 20px;
    height: 60px;
    margin-top: 20px;
    margin-bottom: 5px;
    color: #000;
}

.servico-thumb {
    text-align: center;
    margin-bottom: 20px;
    display: block;
    max-height: 60px;
    overflow: hidden;
}

.servico-thumb img {
    max-height: 60px;
    width: auto;
}

.servico-resumo { height: 140px; }
article.servico a { text-decoration: none; }



.servico-title a.btn {
    padding: 0 5px;
    border-radius: 20px;
    margin-left: 15px;
}


#main .galeria img,
#main .gallery-item img { border: 1px solid #295286 !important; }
#main .gallery-item {
    margin: 0;
    border: 2px solid #FFF;
}

#main .galeria .flex-control-nav { display: none; }

#servicos .relacionados {
    margin-top: 30px;
    padding: 20px 0;
}

/*******************************************************
 * AJUSTES RESPONSIVOS
*******************************************************/


@media( max-width: 1200px ) {
    .header-util {
        margin-right: 0;
    }

    #footer .links {
        width: auto;
    }
}

@media( max-width: 1199px ) {
    .header-fone-numero,
    .footer-fone-numero {
        font-size: 26px;
    }

    .servico-resumo {
        height: 140px;
        font-size: 15px;
    }

    .servicos .servico-item {
        padding: 15px 10px;
    }

    .footer-endereco br,
    #footer-top .media:before { display: none; }

    .conteudo-sobre {
        margin: 0;
        padding: 25px 0;
    }
}


@media( max-width: 990px ) {   
    .header-util .links { display: none; }
    #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item.btn-cotacao {
	    float: none;
	}

    section#main { padding-top: 120px; }
    #contato form .btn-danger {
	    float: none;
	    display: block;
	    width: 100%;
	}

    .galeria .gallery-item {
        width: 50% !important;
        margin: 0 !important;
    }

    .flex-direction-nav { display: none; }

    #footer-top .media {
        display: inline-block;
        margin: 20px 0 0;
        text-align: left;
        max-width: 300px;
    }

    .footer-widget { margin: 0 0 50px; }
    .footer-widget.footer-first { max-width: 100%; }
    
    #footer { text-align: center; }
    #copyright p, #copyright a {
        margin: 10px 0;
    }
    
}

@media( max-width: 768px ) {		
    #footer,
    #dev {
        text-align: center;
    }
}


@media( max-width: 767px ) {
    
    div#header-logo {
        transition: .4s ease;
        position: relative;
        z-index: 2;
    }

    .header-fone .media-left { display: none; }
    .header-fone .media-heading { font-size: 10px; }
    .header-util {
        padding: 0;
        margin-right: -30px;
    }

    .header-fone-numero, .footer-fone-numero {
        font-size: 20px;
    }

    .header-fone, .links {
        display: inline-block;
        width: auto;
        text-align: right;
        margin-top: 8px;
    }

    nav#main-menu { margin-top: 15px; }
    section#main { padding-top: 100px; }

    #main .page-header { padding: 70px 0 10px; }

    div#homeslider {
        margin-top: 0;
    }

    .page-share {
        text-align: center;
        margin: 0 0 20px;
    }


    .servicos .servico h1, .servicos .servico h2, .servico-resumo, .servico-thumb {
        height: auto;
    }

    #footer .links {
        width: auto;
        text-align: center;
    }

}