/* Copyright 2015 Prismatec. Todos os direitos reservados. */

/* Contato */

/* Estrutura principal */

form {
    display: inline-block;
    width: 100%;
}
#contato {
    background: url(../img/bg.jpg) no-repeat;
    background-size: cover;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-position: bottom;
    background-attachment: fixed;
}
#contato h1 {
    margin: 90px 0 70px 0;
}

/* Estrutura principal - Container da sessão */

#contato-cont {
    overflow: hidden;
}
#contato-cont p,
#contato-cont h2,
#contato-cont h3 {
    font-size: 16px;
    line-height: 19px;
    color: #909090;
}

#contato-cont h2 {
    margin: 0px 0 34px 0;
    font-weight: bold;
    color: #305898;
}
#contato-cont h3 {
    margin: 0px 0 34px 0;
    color: #909090;
}
#contato-cont p a {
    color: #909090;
}
#contato-cont p a:hover {
    color: #305898;
    cursor: pointer;
}
#contato-noticias-btn {
    margin-top: 22px;
}

/* Estrutura busca de contatos*/

#result-contact {
    width: 100%;
    overflow-y: auto;
}
#result-contact > :nth-child(odd){
    border-left: 3px solid #305898;
}
h3#termo-busca{
    text-transform: capitalize;
    font-weight: bold;
    font-size: 22px;
    line-height: 30px;
    color: #305898;
}
.container-contact{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
    border-bottom: 1px solid #DFE0E3;
    padding-left: 12px;
}
.container-contact p {
    font-weight: bold;
}
.container-contact div{
    flex-grow: 1;
    margin-bottom: 31px;
}
.container-contact .first-column{
    flex-basis: 0%;
}
.container-contact .second-column{
    flex-basis: 10%;
}
.container-contact .third-column{
    flex-basis: 15%;
}
.container-contact .sub-line{
    flex-basis: 100%;
    margin-bottom: 5px;
    display: flex;
}
.container-contact .sub-line div{
    flex-grow: 1;
}
.container-contact .sub-line p{
    position: relative;
}
.container-contact .sub-line img{
    position: absolute;
    margin-left: 13px;
}
.container-contact .sub-line div:nth-child(1){
    flex-basis:0%;
}
.container-contact .sub-line div:nth-child(2){
    flex-basis:10%;
}
.container-contact .sub-line div:nth-child(3){
    flex-basis:15%;
}
#result-contact table{
    width: 100%;
}
#result-contact table tr td table tr td{
    padding-bottom:30px;
}
#result-contact h2{
    margin-bottom: 10px;
}
#contact-table tbody table > :nth-child(odd) {
    background-color: teal;
}
.btn-search {
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    display: inline-block;
    background: url('../img/search-icon.png') no-repeat 0 0;
    position: absolute;
    margin-left: -45px;
    margin-top: 15px;
}
/* 1º Coluna - Informações */

#contato-info {
    width: 25%;
    float: left;
    position: relative;
}
#contato-logo {
    background: url(../img/logo.png) no-repeat;
    background-size: 100% auto;
    width: 210px;
    height: 88px;
    margin-top: 2px;
}
#google-maps {
    background: url(../img/maps.png) no-repeat;
    width: 8px;
    height: 14px;
    position: absolute;
    top: 113px;
    left: 120px;
}
#google-maps:hover {
    background-position: -8px 0;
}

/* 2º Coluna - Navegação */

#contato-nav {
    width: 75%;
    float: left;
    display: flex;
}
.nav-section.navigation-section{
    flex-basis: 10%;
}
.nav-section.product-section {
    flex-basis: 20%;
}
.nav-section.contact-section {
    flex-basis: 20%;
}
.nav-section.institutional {
    flex-basis: 10%;
}

#contato-nav p {
    cursor: pointer;
}
.nav-section {
    width: 25%;
    float: left;
    flex-grow: 1;
}
.nav-section p {
    line-height: 36px !important;
}

/* 3º Coluna - Formulário */
.warning {
    color: #305898 !important;
    font-weight: bold;
}
#search {
    position: relative;
}

#contato-form-cont {
    width: 100%;
    /* padding: 0 0 0 25px; */
    /* float: right; */
}
#contato-form-cont p {
    width: 50%;
    margin: 16px 0 40px 0;
}
#contato-form-cont p a {
    color: #305898;
}
#contato-form-cont p a:hover {
    text-decoration: underline;
}

/* Formulário */

#contato-form {
    width: 100%;
    overflow: hidden;
    margin-bottom: 42px;
}
#contato-form div {
    width: 100%;
    overflow: hidden;
}
#contato-form div span {
    width: 50%;
    font-size: 12px;
    line-height: 12px;
    color: #cfcece;
    float: left;
}

#contato-form-nome,
#contato-form-email {
    width: 49%;
    float: left;
    height: 60px;
    margin: 0 0 10px 0;
    padding: 0 0 3px 22px;
    border: 1px solid #d2d3d6;
    border-radius: 5px;
    -moz-outline: none;
    outline: none;
    font-size: 16px;
    line-height: 16px;
}
#contato-form-email {
    float: right;
}
#contato-form-mensagem {
    width: 100%;
    height: 140px;
    margin: 0 0 10px 0;
    padding: 20px 22px;
    border: 1px solid #d2d3d6;
    border-radius: 5px;
    -moz-outline: none;
    outline: none;
    font-size: 16px;
    line-height: 19px;
    resize: none;
}
#contato-submit-btn {
    background: #305898;
    width: 20%;
    min-width: 288px;
    height: 62px;
    border-bottom: 3px solid #1d4078;
    border-radius: 5px;
    -moz-outline: none;
    outline: none;
    font-size: 16px;
    line-height: 16px;
    color: #fff;
    float: right;
}
#contato-submit-btn:hover {
    background: #2c5391;
    cursor: pointer;
}
#contato-submit-btn:focus {
    height: 59px;
    margin-top: 3px;
    border: 0;
    border-radius: 5;
}
.input {
    width: 49%;
    float: left;
    height: 60px;
    margin: 0 0 10px 0;
    padding: 0 0 3px 22px;
    border: 1px solid #d2d3d6;
    border-radius: 5px;
    -moz-outline: none;
    outline: none;
    font-size: 16px;
    line-height: 16px;
}

/* Estrutura principal - Rodapé - Linha do rodapé e assinatura */

#contato-line {
    background: #000;
    height: 3px;
    margin-top: 35px;
    opacity: 0.1;
}
#contato-sign {
    margin: 30px 0 32px 0;
    font-size: 12px;
    line-height: 12px;
    color: #cfcece;
    text-align: center;
}

/* Validação CSS 3 */

#css3-validation {
    width: 88px;
    height: 31px;
    position: absolute;
    bottom: 20px;
    left: 20px;
}
#css3-validation img {
    width: 100%;
}

/* Largura máxima 1024px */

@media screen and (max-width: 1024px) {
    /* Estrutura principal - Container da sessão */

    #contato-cont p,
    #contato-cont h2,
    #contato-cont h3 {
        font-size: 14px;
        line-height: 19px;
    }

    /* 1º Coluna - Informações */

    #contato-info {
        width: 27%;
    }
    #contato-logo {
        background-position: left 8px;
        width: 180px;
    }
    #google-maps {
        left: 106px;
    }

    /* 2º Coluna - Navegação */

    #contato-nav {
        width: 23%;
    }

    /* 3º Coluna - Formulário */

    /* Formulário */

    #contato-form-nome,
    #contato-form-email,
    #contato-submit-btn {
        font-size: 14px;
        line-height: 14px;
    }
    #contato-form-mensagem {
        font-size: 14px;
        line-height: 19px;
    }
}

/* Largura máxima 768px */

@media screen and (max-width: 768px) {
    /* Estrutura principal */

    #contato h1 {
        display: none;
    }

    /* Estrutura principal - Container da sessão */

    #contato-cont h2 {
        margin: 30px 0 28px 0;
        text-align: center;
    }
    #contato-cont h3 {
        margin: 22px 0 23px 0;
        text-align: center;
    }

    /* 1º Coluna - Informações */

    #contato-info {
        width: 100%;
        padding: 30px 0 35px 0;
        border-bottom: 1px solid #305898;
        float: none;
    }
    #contato-info p {
        text-align: center;
    }
    #contato-logo {
        background-position: center;
        width: 100px;
        height: 30px;
        margin: 0 auto 25px auto;
    }
    #google-maps {
        display: none;
    }

    /* 2º Coluna - Navegação */

    #contato-nav {
        display: none;
    }

    /* 3º Coluna - Formulário */

    #contato-form-cont {
        width: 100%;
        padding: 0;
        float: none;
    }
    #contato-form-cont p {
        margin: 30px 0 35px 0;
        text-align: justify;
    }

    /* Formulário */

    #contato-form div span {
        display: none;
    }
    #contato-submit-btn {
        width: 100%;
        float: none;
    }

    /* Estrutura principal - Rodapé - Linha do rodapé e assinatura */

    #contato-line {
        margin-top: 50px;
    }

    /* Validação CSS 3 */

    #css3-validation {
        display: none;
    }
}
.spacing {
    margin: 40px 0 22px !important;
}
