/* CSS Document - DDeveloped by Fabio Rocha (http://fabiorochafg.github.io | fabiorochafg@gmail.com) */

@import 'https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700';
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

* {
    border: 0 none;
    margin: 0;
    outline: 0 none;
    padding: 0;
}
*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
a,
a:active {
    color: #ffc857;
    text-decoration: none;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
a:hover {
    color: #999;
}
body {
    background: #fff;
    color: #555;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 110%;
}
button,
input[type="button"],
input[type="submit"] {
    background: #ffc857;
    clear: both;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 100%;
    margin: 15px 0 0;
    padding: 14px 15px;
    width: 100%;
    -webkit-appearance: none;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: #666;
    color: #eee;
}
code {
    background: #F8F8F8;
    border: 1px solid #DDD;
    border-radius: 5px;
    padding: 0 3px;
}
dd {
    float: left;
    padding: 0 0 2px;
}
dt {
    clear: left;
    float: left;
    font-weight: bold;
    margin: 0 5px 0 0;
}
form {
    margin: 10px auto;
    width: 60%;
}
footer {
    padding: 100px 0 25px;
    position: relative;
}
footer,
footer a {
    color: #999;
}
footer a:hover {
    color: #ccc;
}
footer > a {
    float: right;
}
footer dl {
    float: left;
}
h1 {
    float: left;
    margin: 25px 50px 25px 0;
}
    body.index h1 {
        left: 15%;
        margin: 0;
        position: absolute;
        top: 0;
        z-index: 1;
    }
h1 a {
    background: url(../images/logo.png) no-repeat 0 0;
    display: block;
    height: 65px;
    text-indent: -9000px;
    width: 355px;
}
    body.index h1 a {
        background: url(../images/logo-index.png) no-repeat 0 0;
        height: 75px;
        margin: 90px 0 0;
        width: 410px;
    }
h2 {
    font-size: 400%;
    font-weight: 300;
    padding: 0 0 10px;
    text-align: center;
    text-transform: uppercase;
}
h2 ~ p {
    color: #222;
    font-size: 110%;
    margin: 0 auto;
    text-align: center;
    width: 55%;
}
h3,
h4,
h5 {
    padding: 0 0 10px;
}
h3 {
    font-size: 180%;
    line-height: 1.2em;
}
h3 strong {
    color: #999;
    display: block;
    font-size: 130%;
}
header {
    position: relative;
    z-index: 1;
}
img {
    width: 100%;
}
input[type="email"],
input[type="file"],
input[type="number"],
input[type="password"],
input[type="text"] {
    background: #f3f3f3;
    font-size: 110%;
    font-weight: 300;
    height: 50px;
    margin: 0 0 5px;
    padding: 0 10px;
    width: 100%;
}
input[type="email"]:focus,
input[type="file"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
select:focus,
textarea:focus {
    border-left: 5px solid #ffc857;
}
label {
    display: block;
    margin: 10px 0 2px;
    padding: 0 2px 0 0;
}
main p {
    padding: 0 0 10px;
}
main ul {
    padding: 0 0 10px 17px;
}
main .flex-container {
    margin: 0 -30px;
}
main .flex-container > div {
    border-right: 2px solid #ffc857;
    flex: 1 0 40%;
    margin: 30px 0;
    padding: 0 30px;
}
main .flex-container > div.basis75 {
    flex: 1 0 60%;
}
nav {
    float: right;
}
nav a {
    color: #666;
    float: left;
    font-family: "Montserrat",sans-serif;
    font-size: 90%;
    font-weight: 300;
    height: 75px;
    line-height: 75px;
    margin: 0 0 0 30px;
    text-align: center;
    text-decoration: none;
    text-transform: lowercase;
}
    body.index nav a {
        height: 55px;
        line-height: 55px;
    }
nav a:hover {
    color: #ffc857;
    text-decoration: none;
}
nav a.active {
    color: #ffc857;
}
section {
    padding: 75px 0;
}
section#empresa {
    background: #555;
    color: #fff;
    margin: 50px auto 0;
}
section#empresa h2 ~ p {
    color: #fff;
}
section#empresa h2 ~ p strong {
    color: #ffc857;
}
section#empresa h3 strong {
    color: #ffc857;
}
section#inicio + section {
    margin: -140px 0 0;
    position: relative;
    z-index: 1;
}
section#portifolio {
    background: #ffc857;
}
section#portifolio .flex-container {
    justify-content: center;
}
section#portifolio .flex-container > div {
    flex: 0 0 200px;
}
section#portifolio .flex-container > div > a:hover {
    background: #fff;
    color: #555;
}
section#servicos {
    background: #f6f6f6;
}
section#servicos .fa {
    color: #ccc;
    display: block;
    font-size: 300%;
    text-align: center;
}
section#servicos .flex-container {
    margin: 50px 0px 0;
}
section#servicos .flex-container > div {
    border-bottom: 2px solid #eee;
    border-right: 2px solid #eee;
    border-top: 2px solid #eee;
    flex: 1 0 100px;
    padding: 30px 30px;
}
section#servicos .flex-container > div:last-child {
    border-right: 0 none;
}
section#servicos .flex-container > div:hover {
    background: #fff;
}
section img {
    border-radius: 50%;
    border-top: 5px solid #ffc857;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    display: table;
    height: 200px;
    margin: 0 auto 20px;
    text-align: center;
    width: 200px;
}
section p {
    padding: 0 0 10px;
}
select {
    border: 1px solid #DDD;
    height: 34px;
    margin: 0 0 5px;
}
select option {
    padding: 3px 5px;
}
section p strong {
    color: #777;    
}
textarea {
    background: #f3f3f3;
    font-family: "Open Sans Condensed",sans-serif;
    font-size: 110%;
    height: 130px;
    margin: 0 0 5px;
    padding: 10px;
    width: 100%;
}
ul {
    line-height: 1.5em;
    padding: 0 0 0 17px;
}
#go-to-top {
    bottom: 30px;
    font-size: 140%;
    position: absolute;
    right: 0;
}
#go-to-top:hover {
    color: #ffc857;
}
.breadcrumbs {
    padding: 0 0 10px;
}
.columns {
    margin: 30px 0;
    overflow: hidden;
    -moz-column-gap: 60px;
    -moz-columns: 3 200px;
    -webkit-column-gap: 60px;
    -webkit-columns: 3 200px;
    column-gap: 60px;
    columns: 3 200px;
}
.container {
    clear: both;
    margin: 0 auto;
    overflow: hidden;
    width: 70%;
}
.content {
    float: left;
    padding: 1% 2% 1% 0;
    width: 79%;
}
.content ol,
.content ul {
    padding: 0 0 10px 20px;
}
.content p {
    line-height: 1.5em;
    padding: 0 0 5px;
}
.flex-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;    
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: stretch;
    align-items: stretch;
    margin: 0 -50px;
}
.flex-container > div {
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 200px;
    padding: 50px;
}
.flex-container > div > a {
    background: #555;
    border-radius: 0 50px 50px 0;
    color: #fff;
    display: inline-block;
    margin: 5px 0 0;
    padding: 5px 15px;
}
.flex-container > div > a:hover {
    background: #ffc857;
}
.flex-container > div > a .fa {
    font-size: 90%;
    padding: 0 0 0 5px;
}
.float-left {
    float: left;
}
.float-right {
    float: right;
}
.mauticform-message {
    color: #2ecc71;
    padding: 0 0 20px;
}
.no-padding {
    padding: 0;
}
.unslider {
    overflow: auto;
    margin: 0;
    padding: 0;
    position: relative;
}
.unslider-wrap{position:relative}
.unslider-wrap.unslider-carousel>li{float:left}
.unslider-vertical>ul{height:100%}
.unslider-vertical li{float:none;width:100%}
.unslider-fade{position:relative}
.unslider-fade .unslider-wrap li{position:absolute;left:0;top:0;right:0;z-index:8}
.unslider-fade .unslider-wrap li.unslider-active{z-index:10}
.unslider li,.unslider ol,.unslider ul{list-style:none;margin:0;padding:0;border:none}
.unslider-carousel li {
    height: 500px;
    position: relative;
}
.unslider-carousel li:nth-child(1) {
    background: url("../images/banner-1.jpg") no-repeat center center;
    background-size: cover;
}
.unslider-carousel li:nth-child(2) {
    background: url("../images/banner-2.jpg") no-repeat center center;
    background-size: cover;
}
.unslider-carousel li:nth-child(3) {
    background: url("../images/banner-3.jpg") no-repeat center center;
    background-size: cover;
}
.unslider-carousel li:nth-child(4) {
    background: url("../images/banner-4.jpg") no-repeat center center;
    background-size: cover;
}
.unslider p {
    background: rgba(0, 0, 0, 0.75);
    color: #ddd;
    font-size: 200%;
    font-weight: 300;
    height: 100%;
    padding: 200px 15% 100px;
    text-align: center;
    width: 100%;
}
.unslider-nav {
    position: absolute;
    right: 15%;
    top: 182px;
}
.unslider-nav ol {
    list-style: none;
}
.unslider-nav ol li {
    background: none !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    height: 12px;
    margin: 0 0 8px;
    overflow: hidden;
    text-indent: -999em;
    width: 12px;
}
.unslider-nav ol li.unslider-active {
    background: rgba(255, 200, 87, 0.3) !important;
    border: 2px solid rgba(255, 200, 87, 0.3);
    cursor: default;
}

/* Media-queries */
@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a:after {
        content: " ("attr(href)")";
    }
    a[href^="javascript:"]:after,
    a[href^="#"]:after { 
        content: ""; 
    }
    body {
        color: #000;
        font: 9pt serif;
        line-height: 1.4em;
    }
    h1 {
        width: 100%;
    }
    h1 a:after {
        content: "";
    }
    img {
        max-width: 100%;
    }
    p {
        orphans: 3;
        widows: 3;
    }
    p a {
        word-wrap: break-word;
    }
    .flex-container {
        display: block;
    }
}
@media screen and (max-width: 1024px) {
    #content,
    #sidebar {
        display: inline-block;
        float: none;
        padding: 0 0 2%;
        width: 100%;
    }
}
@media screen and (max-width: 800px) {
    footer {
        padding: 0 0 25px;
    }
    form,
    h2 ~ p {
        width: 100%;
    }
    h1 {
        float: left;
        margin: 25px auto 0;
        width: 100%;
    }
        body.index h1 {
            left: 7%;
            width: 86%;
        }
    h1 a {
        background: url(../images/logo.png) no-repeat center 0;
        background-size: 100% auto;
        max-width: 100%;
    }
        body.index h1 a {
            background: url(../images/logo-index.png) no-repeat 0 0;
            background-size: 100% auto;
            margin: 30px 0 0;
        }
    h2 {
        font-size: 200%;
    }
    img {
        padding: 0 0 10px;
    }
    main {
        padding: 0 0 50px;
    }
    main h3 {
        padding: 30px 0 10px;
    }
    main .flex-container > div,
    .columns {
        margin: 0;
    }
    nav {
        display: inline-block;
        float: none;
        padding: 10px 0 50px;
        width: 100%;
    }
        body.index nav {
            padding: 10px 0;
        }
    nav a {
        height: 40px;
        line-height: 40px;
        margin: 0;
        text-align: center;
        width: 100%;
    }
        body.index nav a {
            height: auto;
            line-height: 1.5em;
            font-size: 100%;
            margin: 0 30px 0 0;
            width: auto;
        }
    nav li {  
        margin: 0;
        width: 100%;
    }
    section#inicio {
        position: relative;
    }
    #go-to-top {
        bottom: 20px;
    }
    .container {
        width: 86%;
    }
    .flex-container > div {
        padding: 50px 50px 0;
    }
    .float-right {
        float: left;
    }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 736px), only screen and (min-device-width: 768px) and (max-device-width: 1024px), only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    button,
    input[type="button"],
    input[type="submit"] {
        height: 56px;
    }
    nav a {
        font-size: 120%;
    }
    .flex-container {
        -webkit-flex-flow: column nowrap;
        -moz-flex-flow: column nowrap;
        -ms-flex-flow: column nowrap;
        flex-flow: column nowrap;
    }
}
