/**
 *
 * Folha de Estilos Padrão do site
 *
 *	Theme Name: CMS
 *	Version: 1.0
 *	Author: Infinito Web Sites
 *	Author URI: http://www.infinitoag.com
 *
**/

/***********************************
 * DEFINIÇÕES PRINCIPAIS
***********************************/

body {
    font: 22px 'Nunito', sans-serif;
    font-weight: 400;
    line-height: 28px;
    background: #fff;
    color: #5e5e5e;    
    position: relative;
}

a { color: #000; }

a:hover {
	opacity: 0.85;
	text-decoration: none !important;	
	color: #000; 
}

a, a:hover {
	transition: 0.4s;
	-webkit-transition: 0.4s;
}

p {
    margin-bottom: 30px;
}

h1, h2, h3, h4 {
    margin-top: 10px;
    font-family: 'Nunito', sans-serif;
}

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

/***********************************
 * BOTÕES E FORMS
***********************************/

.btn {
    border-radius: 0;
    box-shadow: none;
    outline: 0;
    padding: 3px 30px 1px;
    font-weight: bold;
    font-size: 22px;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-danger, .btn-danger:hover,
.btn-primary, .btn-primary:hover,
.btn-warning, .btn-warning:hover,
.btn-default, .btn-default:hover {
    background: #f26522;
    border-color: #f26522;
    color: #FFF !important;
}

.btn-rounded { border-radius: 25px; }

.form-control {
    border-radius: 0;
    box-shadow: none;
    background: #FFF;
    font-size: 26px;
    height: 52px;
    border: 2px solid #444;
    transition: 0.3s;
    color: #000 !important;
}

textarea.form-control {    
    height: 180px;
}

.form-control:focus,
.form-control:active {
	border: 2px solid #f26522;
    background: #FFF;
	box-shadow: none;
    transition: 0.3s;
}

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

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

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

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

.nav-tabs .nav-link {
    border: 0;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    min-width: 240px;
    text-align: center;
    font-size: 18px;
    color: #333;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    font-weight: bold;
    background: none;
    border-color: #401A00;
}


/***********************************
 * CABECALHO E MENU
***********************************/

#header {
    position: fixed;
    transition: 0.4s ease;
    padding: 30px 0;
    width: 100%;
    z-index: 99;
}

.archive #header,
.scrolled #header {
    padding: 10px 0;
    background: #000c;
}

#header-logo {     
    transition: 0.3s;
    display: block; 
}

#header-logo img { transition: 0.5s; }

#main-menu {
    background: transparent;
    border: 0;
    margin: 30px 0 0 -30px;
    padding: 0;
    position: relative;
    min-height: 0;
    transition: 0.3s;
}

#main-menu .menu-item a {
    color: #fff;
    font-size: 22px;        
    padding: 2px 8px;
    margin-left: 20px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    transition: 0.3s;
    border: 0;
    text-align: center;
}

#main-menu .menu-item a:hover,
#main-menu .menu-item a.active { 
    color: #000; 
    background: #f26522;
}

#main-menu .menu-item a:before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    width: 3px;
    height: calc(100% + 6px);
    z-index: 1;
    background: #fff;
    transition: .4s ease;
}

.home:not(.scrolled) header#header #menu-navbar {
    background: #000c;
}

#header .social {
    margin-top: 10px;
    transition: 0.3s;
    height: calc(100% - 10px);
    display: flex;
    align-items: center;
}

#header .social a {
    color: #FFF;
    background: transparent;
    font-size: 42px;
    border-radius: 100%;
    padding: 5px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/***********************************
 * CONTEUDO / CORPO DO SITE
***********************************/

.main {
    padding-top: 180px;
    max-width: 100%;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.titulo { 
    position: relative; 
    margin: 10px 0 50px;
}

.titulo span {
    background: #f26522;
    font-size: 42px;
    font-weight: 700;
    color: #FFF;
    text-transform: uppercase;
    padding: 2px 15px 0;
    display: inline-block;
}

.titulo:before {
    content: "";
    position: absolute;
    top: -10px;
    left: -2px;
    width: 2px;
    height: calc(100% + 20px);
    z-index: 1;
    background: #000;
    transition: .4s ease;
}

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

/*home*/

.home .main { padding-top: 0; }
#home { position: relative; }
#home:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 280px;
    bottom: -45px;
    left: 0;
    background: url(img/detalhe-home.png) no-repeat -30px 0;
    z-index: 2;
    background-size: 91% 100%;
}

.home-slide {
    padding-top: 150px;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.home-slide-content {
    color: #FFF;
    font-weight: 800;
    font-size: 42px;
    text-transform: uppercase;
    border-left: 3px solid #f26522;
    padding-left: 20px;
    min-height: 330px;
    line-height: 60px;
}

.home-slide-content strong {
    color: #f26522;
}

/*sobre*/

#sobre {
    padding: 100px 0 210px;
    background: url(img/bg-sobre2.jpg) no-repeat left -90px;
    background-size: 125%;
    position: relative;
}

#sobre:before {
    content: "";
    position: absolute;
    width: 80%;
    height: 250px;
    bottom: 0;
    left: 0;
    background: url(img/linha-base-sobre.png) no-repeat bottom right;
    z-index: 3;
    background-size: 100% 100%;
}

#sobre:after {
    content: "";
    position: absolute;
    width: 30%;
    height: calc(100% + 30px);
    bottom: 0;
    right: 0;
    background: url(img/detalhe-home-2.png) no-repeat bottom right;
    z-index: 3;
    background-size: contain;
    opacity: 0.9;
}

/*@media( min-width: 1700px ) {
    #sobre {
    	padding: 100px 0 300px;
	    background: url(img/bg-sobre.jpg) no-repeat -110px -390px;
	    background-size: 127%;
	}
}*/

/*servicos*/

#servicos {
    padding: 50px 0 100px;
    position: relative;
}

.servicos .servico {
    position: relative;
    margin-bottom: 30px;
}

.servicos .servico:before {
    content: "";
    width: 100%;
    height: 204px;
    border: 1px solid #f26522;
    position: absolute;
    top: -1px;
    left: -3px;
}

.servicos .servico:after {
    content: "";
    left: 15px;
    position: absolute;
    top: 175px;
    height: 120px;
    width: 1px;
    background-color: #f26522;
}

.servicos .servico .servico-img {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-content: center;
    justify-content: center;
}

.servicos .servico .servico-titulo {
    font-size: 16px;
    color: #f26522;
    padding: 10px 10px 0 40px;
}

/*portfolio  */

#portfolio { position: relative; }
#portfolio:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 120px;
    top: 0;
    right: 0;
    background: url(img/detalhe-portfolio.png) no-repeat calc(100vw - 1140px) 0;
    background-size: 1140px;
    z-index: 2;
}


.portfolio-item {
    margin-bottom: 30px;
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.portfolio-item:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #f26522dd;
    transition: .3s ease;
    opacity: 0;
    z-index: 1;
}

.portfolio-item:hover:before {
    opacity: 1;
}


.portfolio-item:hover .portfolio-titulo {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item .portfolio-titulo {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #000c;
    color: #FFF;
    font-size: 16px;
    padding: 20px 50px 15px;
    height: 90px;
    width: 100%;
    margin: 0;
    opacity: 0;
    transform: translateY(200px);
    transition: .3s ease;
    z-index: 2;
}

.portfolio-item .portfolio-titulo:before {
    content: "";
    width: 1px;
    height: 60px;
    position: absolute;
    background: #FFF;
    bottom: 30px;
    left: 30px;
}

.modal-backdrop.fade.show {
    display: none;
}

.modal-open #header {
    opacity: 0;
    z-index: -1;
    margin-top: -300px;
}

.modal-portfolio {
    padding-top: 20px;
    background: #000;
    color: #FFF;
    font-size: 16px;
    z-index: 99999;
}

.modal-portfolio:after {
	display: none;
    content: "";
    width: 100%;
    height: 120px;
    top: 50px;
    right: 0;
    background: url(img/detalhe-portfolio.png) no-repeat calc(100vw - 1140px) 0;
    background-size: 1140px;
    z-index: 2;
    position: absolute;
}

.modal-portfolio .modal-content {
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
}

.modal-portfolio .modal-header {
    padding: 20px 0;
    border: 0;
}

.modal-portfolio .modal-title { position: relative; }
.modal-portfolio .modal-title span {
    background: #f26522;
    font-size: 42px;
    color: #FFF;
    text-transform: uppercase;
    padding: 0px 15px;
}

.modal-portfolio .close {
    position: absolute;
    right: -20px;
    top: 40px;
    color: #f26522;
    opacity: 1;
    text-shadow: none;
    border: 2px solid #f26522;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.modal-portfolio-title {
    color: #f26522;
    font-size: 16px;
    font-weight: bold;
}

.modal-slick-holder {
    max-width: 350px;
    margin: -100px auto 0;
}

.modal-portfolio-content-holder {
    padding: 0 20px;
    min-height: calc(100% - 50px);
    border-left: 1px solid #f26522;
    margin-left: 50px;
}

.modal-portfolio.ready .modal-slick-holder { opacity: 1; }
.modal-slick-holder {
    opacity: 0;
    transition: .4s ease;
}

.modal-gallery-img-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 450px;
    /*background: #111;*/
}

.modal-gallery-img-holder img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.thumbs-galeria { margin-top: 10px; }

.modal-thumbs-gallery-item {
    width: 80px;
    margin-right: 10px;
    background: #f26522;
}

.slick-current .modal-thumbs-gallery-item img {
    opacity: 0.3;
}

.slider-galeria .slick-arrow {
    position: absolute;
    bottom: -70px;
    height: 30px;
    width: 20px;
    overflow: hidden;
    font-size: 0px;
    background: transparent;
    background-size: contain;
    border: 0;
    box-shadow: none;
    outline: none;
    z-index: 3;
}

.slider-galeria .slick-prev.slick-arrow {
    background: url('img/seta-esquerda.png') no-repeat center;
    background-size: contain;
    left: -40px;
}

.slider-galeria .slick-next.slick-arrow {
    background: url('img/seta-direita.png') no-repeat center;
    background-size: contain;
    left: unset;
    right: -40px;
}

/*social*/

#social {
    margin: 120px 0 0;
    background: #393939;
    padding: 50px 0;
    color: #FFF;
    text-align: center;
    position: relative;
}

#social:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 150px;
    top: -150px;
    right: 0;
    background: url(img/topo-social.png) no-repeat left top;    
    z-index: 3;
}

#social:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 85px;
    bottom: -80px;
    right: 0;
    background: url(img/bottom-social.png) no-repeat right bottom;
    z-index: 3;
}

#social .titulo { text-align: left; }
#social .titulo:before { background: #FFF; }

#social .conteudo-social {
    font-size: 26px;
    text-align: center;
}

#social .social a {
    display: inline-block;
    margin: 10px;
}

/*contato*/

#contato {
    padding: 80px 0;
    background: url(img/bg-contato.jpg) no-repeat center;
    background-size: cover;
}

.cabecalho-contato {
    font-size: 26px;
    margin-bottom: 30px;
    font-weight: 800;
}

.wpcf7 .wpcf7-submit {
    display: block;
    margin: 0 auto 5px;
}

.contatos {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 30px 50px 0;
}

.contatos img {
    max-width: 50px;
    display: inline-block;
    margin-right: 10px;
}

/***********************************
 * RODAPÉ
***********************************/

#footer {
    color: #FFF;
    background: #393939;
    font-size: 22px;
    text-align: center;
    padding: 20px 0;
}

#footer a { color: #fff; }
#footer .footer-logo { max-width: 120px; }

#footer .footer-infos, #footer .social {
    display: inline-block;
    vertical-align: middle;
}

#footer .social a {
    display: inline-block;
    margin: 0 5px;
    max-width: 40px;    
}

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

/***********************************
 * MEDIA QUERIES
***********************************/


@media( min-width: 1621px ) {
	.home-slide { padding-top: 200px; }
}

@media( max-width: 1800px ) {
    #home:after { height: 230px; }
}

@media( max-width: 1620px ) {
    #portfolio:after, 
    .modal-portfolio:after {
        background: url(img/detalhe-portfolio.png) no-repeat calc(100vw - 900px) 0;
        background-size: contain;
        height: 70px;
    }

    .modal-portfolio .modal-slick-holder { max-width: 500px; }
    .modal-gallery-img-holder { height: 450px; }
}

@media( max-width: 1500px ) {
    #sobre:after {
        top: -78px;
        width: 450px;
    }

}

@media( max-width: 1400px ) {
    #home:after {
        height: 150px;
        bottom: -39px;
    }

    .home-slide-content {
        font-size: 36px;
        line-height: 48px;
    }

    .modal-slick-holder { max-width: 480px; }
    .modal-gallery-img-holder { height: 320px; }
    .modal-thumbs-gallery-item { width: 60px; }

    .modal-portfolio:after { display: none; }
    .modal-portfolio .modal-header { padding: 0; }
    .modal-portfolio .close { top: 50px; }
}

@media( max-width: 1199px ) {
    #main-menu .menu-item a {
        font-size: 18px;
    }

    .titulo span { font-size: 36px; }
    #portfolio:after { width: 1024px; }

    .portfolio-item .portfolio-titulo {
        opacity: 1;
        transform: none;
        padding: 10px 30px;
        height: 70px;
        font-size: 14px;
    }

    .portfolio-item .portfolio-titulo:before {
        height: 40px;
        left: 15px;
    }

    .modal-portfolio-content-holder {
        margin: 0;
        line-height: 22px;
        font-size: 15px;
    }

    .modal-gallery-img-holder { height: 280px; }
}


@media( max-height: 750px ) {
    .modal-portfolio .modal-dialog { margin-top: 0; }
    .modal-portfolio .modal-header { padding: 10px 0 0; }
    .modal-portfolio.ready .modal-slick-holder { max-width: 480px; margin: 0 auto; }
    .modal-gallery-img-holder { height: 320px; }
}


@media( max-width: 1024px ) {
    #sobre:after {
        top: -300px;
        width: 320px;
    }

    #header .social a { max-width: 50px; }
}

@media( max-width: 990px ) {
  
    #main-menu, .scrolled #main-menu {
        text-align: right;
        display: block;
        margin-top: 10px;
    }

    #main-menu button.navbar-toggler {
        display: block;
        color: #FFF;
        font-size: 22px;
        width: 100%;
        text-align: right;
        text-transform: uppercase;
        outline: none !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    ul#menu-menu-home {
        display: block;
        flex-direction: unset;
        margin-top: 0px;
    }

    #header .social { margin: 0; }

    #sobre:after { display: none; }
    #portfolio:after {
        width: 60%;
        background-size: auto 100%;
    }

    .modal-portfolio {
        margin-top: 0;
        padding: 20px 0 50px;
    }

    .contatos { flex-flow: column; }
    .contatos .contato { margin-bottom: 20px; }
}

@media( max-width: 767px ) {
    html { margin: 0 !important; }

    .scrolled #header { top: 0; }
    #main-menu, .scrolled #main-menu {
        margin-top: -33px;
        margin-right: -15px;
    }

    ul#menu-menu-home { padding: 5px; }
    #main-menu .menu-item a:before { display: none; }

    #home:after { display: none; }
        
    .home-slide-content {
        font-size: 18px;
        line-height: 26px;
    }

    .home-slide {
        height: 60vh;
        padding-top: 200px;
    }

    #sobre {
        padding: 50px 0 150px;
        background-position: center bottom;
        margin-bottom: -100px;
    }

    .modal-portfolio .close {
        top: 110px;
        right: 30px;
        position: fixed;
        z-index: 9;
    }

    .modal-portfolio .modal-title span { font-size: 32px; }

    .titulo span {
        font-size: 28px;
    }

    #social { padding: 20px 0; }
    #social:before {
        background-size: 1000px;
        height: 70px;
        top: -70px;
    }

    #social:after {
        background-size: 1000px;
        height: 40px;
        bottom: -40px;
    }

    .contatos {
        display: block;
        margin: 0;
        font-size: 18px;
        text-align: center;
    }
    .contatos img {
        display: block;
        margin: 0 auto 5px;
    }

    .footer-logo {
        max-width: 200px;
        margin: 0 auto 30px;
    }

    #header .social {
        position: fixed;
        bottom: 20px;
        right: 20px;
        opacity: 0;
        transform: translateX(200px);
        transition: .4s ease;
    }

    .scrolled #header .social {
        opacity: 1;
        transform: translateX(0px);
    }

    #sobre:before { display: none; }
    /*#servicos { padding: px 0 100px; }*/
}