html {
  scroll-behavior: smooth;
}

body {
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
    line-height: 24px;
    font-size: 16px;
    color: #333;
}

.txt-default{
    font-size: 17px;
    line-height: 27px;
}

figure, p, address { margin: 0; }
iframe { border: 0; }

a {
    color: #2c498a;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

a, a:hover, a:focus, .btn:focus {
    text-decoration: none;
    outline: none;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Open Sans', sans-serif;
    color: #252525;
}

p { font-size: 15px; }
main > section { padding: 70px 0; }

.btn {
    border-radius: 3px;
    border: 0;
    position: relative;
    text-transform: uppercase;
}

.btn-blue {
    background-color: #2f4e90;
    padding: 15px 55px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.btn-border {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 35px;
}

.bg-blue {
    background-color: #0aa6bd;
}

/* Sweep To Right */
.btn-effect {
	vertical-align: middle;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	position: relative;
	display: inline-block;

	-webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);

    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;

    -webkit-transition-property: color;
    -moz-transition-property: color;
    -ms-transition-property: color;
    transition-property: color;

    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -ms-transition-duration: 0.3s;
    transition-duration: 0.3s;

    -moz-osx-font-smoothing: grayscale;
}

.btn-effect:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	
	-webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);

    -webkit-transform-origin: 0 50%;
    -moz-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%;
    transform-origin: 0 50%;

    -webkit-transition-property: transform;
    -moz-transition-property: transform;
    -ms-transition-property: transform;
    transition-property: transform;

    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -ms-transition-duration: 0.3s;
    transition-duration: 0.3s;

    -webkit-transition-timing-function: ease-out;
    -moz-transition-timing-function: ease-out;
    -ms-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.btn-effect:hover, .btn-effect:focus, .btn-effect:active {
	color: #2f4e90;
}

.btn-effect:hover:before, .btn-effect:focus:before, .btn-effect:active:before {
	-webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

.section-title {
    margin-bottom: 40px;
}

.section-title.white {
    color: #fff;
}

.section-title h2 {
    color: #2f4e90;
    font-size: 36px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    position: relative;
    text-transform: uppercase;
}
.section-title p {
    color: #444;
    font-style: italic;
    font-size: 13px;
}
.section-title.white p {
    color: #fff;
}

.section-title.white h2 {
    color: #fff;
}

.section-title h2:after {
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 2px;
    width: 72px;
    margin-left: -36px;
    background: #a1a830;
    content: "";
}

.section-title.white h2:after {
    background: #fff;
}

.parallax {
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

/* header */

#navigation {
    -webkit-transition: all 0.8s ease 0s;
    -moz-transition: all 0.8s ease 0s;
    -ms-transition: all 0.8s ease 0s;
    -o-transition: all 0.8s ease 0s;
    transition: all 0.8s ease 0s;

    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

#navigation.animated-header {
    padding: 5px 0;
}

h1.navbar-brand {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.navbar-brand {
    height: 108px;
    padding: 0 15px;
}

.navbar-nav {
    float: left;
    margin: 18px 0 0 0;
}

.navbar-inverse .navbar-nav > li > a {
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}
.navbar-nav li a:hover{
    color: #2f4e90 !important;
}
.navbar-nav li a:focus{
    color: #a1a830 !important;
}

.navbar-nav > li > ul{
    position: absolute; 
    top:50px; 
    left:0;
    background-color:#fff; 
    display:none;
    padding: 20px;
    min-height: 200px;
}

.navbar-nav > li:hover ul, .navbar-nav > li.over ul{display:block;}

.navbar-nav > li ul li{
    display:block; 
    width:250px;
    padding: 5px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.menu li a {
    display: inline-block;
}

/* Slider */

#home-slider {
    position: relative;
    padding: 0;
}
.mask-overly {
    background: rgba(0, 0, 0, 0.2) none repeat scroll 0 0;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9;
}
.slider-1 {
    background-image: url(../img/slider/slider-1.jpg);
}
.slider-2 {
    background-image: url(../img/slider/slider-2.jpg);
}
.slider-3 {
    background-image: url(../img/slider/slider-3.jpg);
}
.slider-4 {
    background-image: url(../img/slider/slider-4.jpg);
}
.slider-5 {
    background-image: url(../img/slider/slider-5.jpg);
}
.slider-6 {
    background-image: url(../img/slider/slider-6.jpg);
}
.sl-slider-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.sl-slider {
    position: absolute;
    top: 0;
    left: 0;
}

.sl-slide,
.sl-slides-wrapper,
.sl-slide-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
} 

.sl-slide { z-index: 1; }

.slide-caption {
    color: #fff;
    display: table;
    height: 95%;
    left: 0;
    min-height: 100%;
    position: absolute;
    text-align: center;
    top: 0;
    width: 60%;
    z-index: 999999;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5%;
}

.slide-caption .caption-content {
    vertical-align: middle;
    display: table-cell;
}

.caption-content h2 {
    color: #fff;
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 25px;
}

.caption-content > p {
 display: block;
 font-size: 17px;
 margin-bottom: 45px;
 font-weight: 200;
}

/*Slider Arrow Buttons*/
#nav-arrows > a {
    border: 1px solid #fff;
    font-size: 10px;
    color: #fff;
    display: block;
    height: 60px;
    line-height: 76px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 60px;
    z-index: 20;
    margin-top: -30px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

#nav-arrows > a.sl-prev {

    transform: translateX(-50px);
    opacity:0;
}
#slider:hover #nav-arrows > a.sl-prev {
    opacity: 1;
    transform: translateX(20px);
}
#nav-arrows > a.sl-next {
    right:0;
    transform: translateX(50px);
    opacity:0;
}
#slider:hover #nav-arrows > a.sl-next {
    opacity: 1;
    transform: translateX(-20px);
}
#nav-arrows > a.sl-next:hover ,#nav-arrows > a.sl-prev:hover {
    background-color: #2f4e90;
    border-color: #2f4e90;
    color: #fff;
}


/* The duplicate parts/slices */

.sl-content-slice {
    overflow: hidden;
    position: absolute;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    background: #fff;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    opacity : 1;
}

/* Horizontal slice */

.sl-slide-horizontal .sl-content-slice {
    width: 100%;
    height: 50%;
    left: -200px;
    -webkit-transform: translateY(0%) scale(1);
    -moz-transform: translateY(0%) scale(1);
    -o-transform: translateY(0%) scale(1);
    -ms-transform: translateY(0%) scale(1);
    transform: translateY(0%) scale(1);
}

.sl-slide-horizontal .sl-content-slice:first-child {
    top: -200px;
    padding: 200px 200px 0px 200px;
}

.sl-slide-horizontal .sl-content-slice:nth-child(2) {
    top: 50%;
    padding: 0px 200px 200px 200px;
}

/* Vertical slice */

.sl-slide-vertical .sl-content-slice {
    width: 50%;
    height: 100%;
    top: -200px;
    -webkit-transform: translateX(0%) scale(1);
    -moz-transform: translateX(0%) scale(1);
    -o-transform: translateX(0%) scale(1);
    -ms-transform: translateX(0%) scale(1);
    transform: translateX(0%) scale(1);
}

.sl-slide-vertical .sl-content-slice:first-child {
    left: -200px;
    padding: 200px 0px 200px 200px;
}

.sl-slide-vertical .sl-content-slice:nth-child(2) {
    left: 50%;
    padding: 200px 200px 200px 0px;
}

/* Content wrapper */
/* Width and height is set dynamically */
.sl-content-wrapper {
    position: absolute;
}

.sl-content {
    width: 100%;
    height: 100%;
}

/* Project laughtbox setup */

.fancybox-item.fancybox-close {
    background: url("../img/icons/close.png") no-repeat scroll 0 0 transparent;
    height: 50px;
    right: 0;
    top: 0;
    width: 50px;
}

.fancybox-next span {
    background: url("../img/right.png") no-repeat scroll center center #0aa6bd;
    height: 50px;
    width: 50px;
    right: 0;
}

.fancybox-prev span {
    background: url("../img/left.png") no-repeat scroll center center #0aa6bd;
    height: 50px;
    width: 50px;
    left: 0;
}

/* Sobre */
.bg-sobre{
    background-image: url('../img/img-forwork.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    height: 498px;
    margin: 60px 0 -70px 0;
}

/* Serviçços */
#servicos{
    background: #f8f8f8;
    margin-top: -20px;
    padding-bottom: 100px;
}

.service-icon {
    border: 3px solid transparent;
    display: inline-block;
    line-height: 40px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.service-item {
    margin-bottom: 35px;
    padding: 15px 20px;
}

.service-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
}
.service-item p {
    color: #222;
    font-weight: 400;
    min-height: 195px;
    font-size: 16px;
}

.btn-serv {
    background: #2f4e90;
    padding: 10px 25px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    border-radius: 3px;
}

.btn-serv:hover{
    color: #fff;
    background: #aab04c;
}

.serv-01{
    background-image: url('../img/serv-01.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #f6f6f6;
}
.serv-02{
    background-image: url('../img/serv-02.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #f6f6f6;
}
.serv-03{
    background-image: url('../img/serv-03.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #f6f6f6;
}
.serv-04{
    background-image: url('../img/serv-04.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #f6f6f6;
}
.serv-05{
    background-image: url('../img/serv-05.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #f6f6f6;
}
.serv-06{
    background-image: url('../img/serv-06.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #f6f6f6;
}

.breadcrumb{
    padding: 40px 0;
    margin: 20px 0 -50px 0;
    background-image: url('../img/servicos/bg-serv.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.breadcrumb h1 {
    font-size: 30px;
    font-weight: 700;
    color: 
    #2f4e90;
    margin-bottom: -5px;
}

.gallery img{ margin: 25px 0; }

/* Orçamento */

#orcamento {
    background-image: url(../img/parallax/orcamento.jpg);
    padding: 0;
}

#orcamento .overlay {
    background: url("../img/slide_bg.png") repeat scroll 0 0 transparent;
    padding: 100px 50px;
}

#orcamento h2{
    line-height: 35px
}

.btn-whats {
    background: #31a628;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    padding: 12px 30px;
    border-radius: 3px;
}
.btn-whats:hover{
    background: #26961d;
    color: #fff;
}

/* Contato */

.input-field {
    margin-bottom: 10px;
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
    color: #818181;
    font-size: 14px;
    height: 40px;

}
.form-control:focus {
    box-shadow: none;
    border-color: #9ca42a;
}

textarea.form-control {
    width: 100%;
    height: 165px;
}

.input-field label.error {
    color: red;
    display: block;
    font-size: 13px;
    font-weight: 400;
}

#submit:hover {
  color: #fff;
}

#submit:before {
  background-color: #a1aa26;
}

#submit.btn-effect:after {
  background: #2E2E2E;
}

.contact-details h3 {
    border-bottom: 1px solid #dedede;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 15px;
    text-transform: uppercase;
    font-size: 16px;
    margin-top: 0;
    color: #666;
}

.contact-details p {
    line-height: 30px;
    font-size: 16px;
    color: #333;
}

.contact-details p i {
    margin-right: 15px;
    font-size: 25px;
    color: #000;
}

.contact-details span {
    display: block;
    margin-left: 24px;
}

.redes-sociais a, .redes-sociais i{
    font-size: 24px; 
    margin: 20px 5px 0 0;
}

/* Rodapé */

#footer {
    background-color: #2E2E2E;
    padding: 70px 0;
    color: #fff;
}

.footer-content {
    width: 390px;
    margin: 0 auto;
}

.footer-content > div {
    margin-bottom: 40px;
}

.footer-content > div > p:first-child {
    margin-bottom: 15px;
    text-transform: uppercase;
}

.submit-icon {
    background-color: #7f7f7f;
    border: 0 none;
    border-radius: 0;
    color: #c1c1c1;
    padding: 8px 20px;
    position: absolute;
    overflow: hidden;
    right: 0;
    top: 0;
}

.submit-icon .fa-paper-plane {
    position: relative;
    top: 0;

    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);

    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.2s;
}

.submit-icon:hover .fa-paper-plane {
    position: relative;
    top: -37px;

    -webkit-transform: translateX(30px);
    -moz-transform: translateX(30px);
    -ms-transform: translateX(30px);
    -o-transform: translateX(30px);
    transform: translateX(30px);
}

.footer-content .footer-social {
    margin: 40px 0 35px;
}

.footer-social ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-social ul li {
    display: inline-block;
    margin: 0 10px;
}

.footer-social ul li a {
    color: #7f7f7f;
    display: block;

    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}

.footer-social ul li a:hover {
    color: #0aa6bd;
}

.footer-content > p {
    color: #ababab;
    font-size: 12px;
}



/* Estilo responsivo */

/* Desktop pequeno */
@media (min-width: 980px) and (max-width: 1150px) {

    /*about*/
    #about .welcome-block img {
        margin-bottom: 30px;
    }   

}

/* tablet */
@media (min-width: 768px) and (max-width: 979px) {

    /* home slider  */
    .caption-content h2 {
        font-size: 40px;
    }

    .caption-content p {
        font-size: 25px;
    }

    .caption-content strong {
        font-size: 45px;
    }

    /* about */
    .recent-works {
        margin-bottom: 50px;
    }

    .service-item {
        margin-bottom: 50px;
    }
    /* testimonial */
    .testimonial-item {
        width: 100%;
    }

    .testimonial-item {
        width: 80%;
    }

    .testimonial-item > div:after {
        bottom: -35px;
    }

    /* price */
    .price-table {
        margin-bottom: 50px;
    }

    /* contact form */
    .contact-form {
        margin-bottom: 50px;
    }

    .bg-sobre{ margin-bottom: -280px }
}

/* Mobile */
@media only screen and (max-width: 767px) {
    .navbar-nav > li > ul{
        position: relative;
        margin: -20px 0 60px 0 !important;
    }

    .section-title h2:after{ display: none !important; }

    body {
        font-size: 14px;
    }

    .parallax {
        background-position: centet tip !important;
    }

    .section-title h2 {
        font-size: 25px;
    }

    .section-title h2:after {
        left: 30%;
    }

    /*navigation*/
    .navbar-inverse .navbar-toggle {
        border-color: #2f4e90;
    }

    .navbar-toggle{
        margin-top: 25px;
    }

    .navbar-inverse .navbar-toggle .icon-bar{
        background: #2f4e90;
    }

    .navbar-inverse .navbar-toggle:hover,
    .navbar-inverse .navbar-toggle:focus {
        background-color: transparent;
    }

    /* slider */
    .caption-content h2 {
        font-size: 18px;
    }

    .caption-content > span {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .caption-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .caption-content strong {
        font-size: 22px;
    }

    /* about */
    .recent-works {
        margin-bottom: 85px;
    }

    #about h3 {
        font-size: 18px;
        margin: 0 0 35px !important;
    }

    #about .owl-buttons {
        margin-top: 20px;
    }

    #about .message-body {
        margin-bottom: 45px;
    }

    #about .welcome-block img {
        margin: 0 25px 15px 0;
    }

    /* service */
    .service-item {
        width: 100%;
    }

    /*portfolio*/


    /* lightbox */
    .fancybox-title h3 {
        font-size: 20px;
    }

    .fancybox-title p {
        font-size: 14px;
    }

    /* testimonial */
    .testimonial-item {
        width: 95%;
    }

    .testimonial-item > div:before,
    .testimonial-item > div:after {
        background-image: none;
    }

    .testimonial-item > div > span {
        margin: 30px 0 20px;
    }

    /* price */
    .price-table {
        margin-bottom: 50px;
    }

    /* follow us */


    .social-button li a {
        height: 65px;
        line-height: 71px;
        width: 65px;
    }

    /* contact form */
    .contact-form {
        margin-bottom: 50px;
    }

    /* footer */
    .footer-content {
        width: 100%;
    }

    .footer-social ul li {
        margin: 0 7px;
    }
}

/* Mobile horizontal */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .section-title h2:after {
        left: 38%;
    }

    /* home slider */
    .caption-content h2 {
        font-size: 35px;
    }

    .caption-content p {
        font-size: 25px;
    }

    .caption-content strong {
        font-size: 35px;
    }

    /*about*/

    #about .welcome-block h3 {
        margin: 0 0 35px;
    }

    /* service */

    .service-item {
        margin: 0 auto 50px;
        width: 55%;
    }

    /* contact form */
    .contact-form {
        margin-bottom: 50px;
    }

    /* footer */
    .footer-content {
        width: 380px;
    }    
}

#footer-bottom  {
    background:#2A2A2A;
    padding:20px 0;
    color: #999;
}
#footer-bottom p {
    font-size: 13px;
}
#footer-bottom a{
    color: #ccc;
}

@media only screen and (max-width: 400px){
    #orcamento{
        margin-top: -100px;
    }
    .section-title h2::after {
        position: absolute;
        left: 32% !important;
        bottom: 0;
        height: 2px;
        width: 35%;
        background: 
        #a1a830;
        content: "";
    }

    .bg-sobre{ margin-bottom: -420px }
}