/**
 *
 * 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: 'Roboto', sans-serif;
    font-weight: 400;
    background: #FFF;
    overflow-x: hidden;
}

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

h1 { font-size: 60px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; font-weight: bold; }
h4 { font-size: 18px; }


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

a:hover,
a:hover * { filter: brightness(105%); }

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

.form-control {
    border-radius: 0;
    box-shadow: none;
    height: 45px;
}

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

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

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

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

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

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: #f1c40f;
    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;
}

.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 {
    padding: 30px;
    text-align: left;
}

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

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

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

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

.admin-bar #header { top: 32px; }


div#top-header {
    background: #000;
    color: #FFF;
    font-size: 13px;
    transition: .3s;
}

.scrolled div#top-header {
    overflow: hidden;
    margin-top: -40px;
    transition: .3s;
}

#top-header .info-contato, 
#top-header .header-util {
    float: right;
}

#top-header .header-util { margin: 0; }
#top-header .header-util a {
    padding: 6px 10px;
    margin: 0;
    display: inline-block;
}

#header .info-contato a i {
    color: #fff;
}

#top-header a {
    color: #FFF;
    margin-left: 20px;
}

#top-header .info-contato {
    background: #9A0000;
    padding: 10px;
    margin-left: 20px;
    margin-bottom: -10px;
    box-shadow: 0 0 30px -8px #000;
    font-weight: bold;
    font-size: 16px;
}

#top-header .info-contato a { 
    margin-left: 5px;
    text-decoration: none;
    color: #fff;
}

ul.header-util {
    list-style: none;
    padding: 0;
}
ul.header-util li {
    display: inline-block;
    color: #FFF;
}

div#header-logo {
    padding: 10px 0;
    background: #FFF;
    transition: .3s;
}

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

.scrolled div#header-logo,
.scrolled div#header-logo img {
    max-width: 180px;
    transition: .3s;
    margin-top: 3px;
}

nav#main-menu {
    float: right;
    margin-top: 40px;
    margin-bottom: 0;
    background: none;
    border: 0;
    margin-right: -30px;
    transition: .3s;
}

.scrolled nav#main-menu {
    margin-top: 25px;
    transition: .3s;
}

#main-menu .menu-item a {
    color: #000;
    padding: 3px 10px;
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 0;
    border-radius: 2px;
    border: 2px solid #FFF;
    position: relative;
}

#main-menu #menu-menu-principal > .menu-item > a:focus, 
#main-menu #menu-menu-principal > .menu-item > a:hover {
    text-decoration: none;
    border: 2px solid #ddd;
    color: #000;
}

#main-menu .menu-item .dropdown-menu a {
    color: #000;
    font-size: 14px;
    padding: 3px 10px;
}

#main-menu .menu-item.current-menu-item > a {
    font-weight: bold;
    background: transparent;
    border: 2px solid #fff;    
    color: #000;
}

#main-menu .navbar-nav>li>.dropdown-menu {
    border-radius: 0;
    border: 0;
    width: 200px;
    text-align: center;
    left: 50%;
    margin-left: -100px;
    padding: 0;
    margin-top: 5px;
    box-shadow: 0 0 35px -10px rgba(0,0,0,0.5);
    border-radius: 5px;
}

#main-menu .navbar-nav>li>.dropdown-menu:before {
    content: "";
    position: absolute;    
    top: -10px;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #ffffff transparent;
}

#main-menu .menu-item .dropdown-menu a {
    color: #000;
    font-size: 14px;
    display: block;
    white-space: normal;
    max-width: 100%;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

#main-menu .menu-item.link-destaque1 a { font-weight: bold; }
#main-menu .menu-item.link-destaque2 a { border: 2px solid #F1C40F; }

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

#parceiros {
    background: #ECF0F1;
    padding: 30px 0;
    margin-top: 50px;
}

#parceiros .parceiros-carousel {
    border: 0;
    padding: 0;
    margin: 0 auto 30px;
    background: none;
    max-width: 900px;
}

#parceiros .parceiro {
    height: 100px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: #FFF;
}

#parceiros h3 {
    text-transform: uppercase;
    margin: 10px 0 30px;
}

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

#footer {
    padding: 50px 0 0;
    color: #fff;
    font-size: 13px;
    background: #000000;
    background-size: 100% auto;
}

div#footer-logo { max-width: 200px; }

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

#footer h3 { 
    font-size: 16px; 
    font-weight: bold;
    margin: 0 0 20px;
}

#footer .social a {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    margin-right: 10px;
}

#copyright {
    background-color: #fff;
    margin-top: 50px;
    color: #000;
    padding: 5px;
    font-size: 12px;
}

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

#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;
}


#link-wpp {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    right: 0;
    top: 50%;
    font-size: 60px;
    width: 80px;
    height: 80px;
    line-height: 60px;
    margin-top: -30px;
    z-index: 99;
    background: #0ea249;
    border-radius: 100%;
    box-shadow: 0 0 20px -5px #0006;
    transition: .4s ease;
    color: #FFF;
    opacity: 0;
}

#link-wpp .fab { color: #FFF; }

.scrolled #link-wpp {
    opacity: 1;
    right: 20px;
}

#link-wpp:hover { transform: scale(1.2); }
/*#link-wpp .fab { color: #0ea249; }*/

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

section.page-content { overflow: hidden; }

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

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

#main .page-header .page-title {
    font-size: 42px;
    color: #FFF;
    text-align: center;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

#main .page-header .page-title:after {
    content: "";
    width: 260px;
    height: 1px;
    background: #FFF;
    position: absolute;
    bottom: -4px;
    left: 50%;
    margin-left: -130px;
}

p#breadcrumbs {
    margin-top: 10px;
    color: #FFF;
    font-size: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
}

#breadcrumbs a {
    color: #fff;
}

section#main {
    padding-bottom: 80px;
    padding-top: 110px;
}

#main .content h2 {
    display: inline-block;
    background: #ccc;
    padding: 5px 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 32px;
    margin: 50px 0 15px;
}

#main .gallery .gallery-item {
    margin: 0;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #FFF;
}

#main .gallery .gallery-item .gallery-icon,
#main .gallery .gallery-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#main .gallery .gallery-item img {
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: 300%;
    max-height: 300%;
    border: 0;
}

/*home*/

.home #main { padding-bottom: 0; }
.home #parceiros { margin: 0; }

#homeslider {
    position: relative;
    background-size: cover;
    background-position: center;
}

#homeslider:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .5;
    z-index: 0;
}

#homeslider h1 {
    font-size: 32px;
    margin: 20px 0;
    font-weight: bold;
}

div#homeslider-conteudo {
    padding: 150px 50px 0;
    margin-bottom: 50px;
    border-left: 1px solid #fff;
    color: #FFF;
    position: relative;
    z-index: 1;
    max-width: 780px;
}


div#orcamento {
    background: #f3f3f3;
}

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

@media( max-width: 1366px ) {	
    nav#main-menu { margin-right: -30px; }
}

@media( max-width: 1200px ) {
    .titulo.titulo-destaque-direita:after, .titulo.titulo-destaque-ambos:after { width: 70px; }
    .titulo.titulo-destaque-esquerda:before, .titulo.titulo-destaque-ambos:before { width: 70px; }
}

@media( max-width: 990px ) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }

    .scrolled div#header-logo, 
    .scrolled div#header-logo img {
        max-width: 100%;
    }

    nav#main-menu { margin-top: 30px; }
    .scrolled nav#main-menu { margin-top: 23px; }
    div#menu-collapse { margin-bottom: 20px; }

    section#main { padding-top: 70px; }

    #main .page-header .page-title {
        font-size: 48px;
        line-height: 65px;
    }
 
    #footer div.wpcf7 {
        max-width: 300px;
        margin: 0 auto 20px;
    }

    .fundo-amarelo .container { max-width: 500px; }


    #footer { text-align: center; }
    div#footer-logo { max-width: 100%; }

    #main .gallery .gallery-item { width: 50%; }
}

@media( max-width: 768px ) {		
    .admin-bar #header { top: 45px; }
    .scrolled.admin-bar #header { top: 0; }

    #footer,
    #dev {
        text-align: center;
    }
}


@media( max-width: 767px ) {
    #top-header .info-contato { display: none; }
	ul.header-util li:first-child {
		display: none;
	}

    nav#main-menu,
    .scrolled nav#main-menu {
        margin: -55px 0 0;
        width: 100%;
    }

    #main-menu .menu-item .dropdown-menu a {
        color: #000;
        margin: 5px 10px;
        font-size: 16px;
    }

    div#menu-collapse {
        background: #fff;
        z-index: 3;
        position: relative;
        border: 0;
        margin: 0 -30px;
    }

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

    #main-menu button.navbar-toggle { margin: 10px 0; }
    #main-menu .navbar-nav>li>.dropdown-menu {
        width: 100%;
        margin: 0;
        box-shadow: none;
        overflow: hidden;
    }
    
    #main .page-header .page-title {
        font-size: 28px;
        line-height: 58px;
    }

    .titulo.titulo-destaque-ambos, .titulo.titulo-destaque-direita {
        display: block;
        max-width: 100%;
        overflow: hidden;
    }

    .servicos article.servico {
        text-align: center;
        margin: 30px;
        max-width: 100%;
    }

    .servicos .servico h1.titulo {
        max-width: 100%;
        margin: 0 0 10px;
    }

    div#form-orcamento {
        margin: 50px 0;
        padding: 20px;
    }


    #main .gallery .gallery-item { height: 200px; }

    div#footer-logo {
        max-width: 250px;
        margin: -35px auto 20px;
    }
	
	#link-wpp {
		font-size: 42px;
		width: 60px;
		height: 60px;
	}
}