/*CABECALHO*/
.cabecalho {
    background-color: #fff;
}

@media (min-width: 769px) {
    .cabecalho {
        padding-left: 0px;
        padding-right: 0px;
        position: relative;
        z-index: 1;
    }

    .cabecalho:before {
        content: '';
        border-top: solid 1px #4cc7f1;
        background-color: #e6f3fd;
        width: 100%;
        height: 40px;
        position: absolute;
        z-index: 1;
        left: 0px;
        bottom: 45px;
    }

    .cabecalho:after {
        content: '';
        background-color: #003e54;
        width: 100%;
        height: 45px;
        position: absolute;
        z-index: 1;
        left: 0px;
        bottom: 0px;
    }
}

.cabecalho .navbar-header {
    float: none;
    position: relative;
    z-index: 2;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .cabecalho .navbar-header {
        text-align: center;
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

.cabecalho .navbar-header .navbar-brand {
    height: auto;
    margin-left: 15px;
    padding: 0px;
    display: block;
    float: left;
}

@media (min-width: 769px) AND (max-width:992px) {
    .cabecalho .navbar-header .navbar-brand {
        margin-left: 0px;
    }
}

.cabecalho .navbar-header .navbar-brand img {
    margin-top: 0px;
    margin-bottom: 0px;
}

.cabecalho .navbar-header .navbar-brand img {
    width: auto;
    display: inline-block;
}

@media (max-width: 768px) {
    .cabecalho .navbar-header .navbar-brand {
        width: 125px;
        height: auto;
        margin-left: 2%;
        margin-top: 2%;
        margin-bottom: 2%;
    }

    .cabecalho .navbar-header .navbar-brand img {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .cabecalho .navbar-header .navbar-brand img {
        width: 100%;
        height: auto;
    }
}

.cabecalho .navbar-header .navbar-toggle {
    margin-right: 10px;
}

.cabecalho .navbar-header .navbar-toggle .icon-bar {
    background-color: #fff;
}

.cabecalho .navbar-toggle-container {
    background-color: #003e54;
    text-align: left;
    clear: both;
}

.cabecalho .navbar-toggle-container a.btn-inicio {
    background-image: url(../images/bt_inicio.png);
    background-position: center center;
    background-repeat: no-repeat;
    width: 35px;
    margin-top: 9px;
    margin-left: 10px;
    margin-right: 0px;
    margin-bottom: 9px;
    text-indent: -9000em;
}

@media (min-width: 769px) {
    .cabecalho .navbar-toggle-container {
        display: none;
    }
}

.cabecalho .fb-box {
    float: right;
    width: 340px;
    height: 133px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cabecalho .fb-box {
        display: none;
    }
}

/* ---- */
.cabecalho #menu-geral {
    text-transform: uppercase;
}

@media (min-width: 769px) {
    .cabecalho #menu-geral {
        text-align: center;
        margin-top: 55px;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 0px;
        padding-right: 0px;
        height: 40px !important;
        position: relative;
        z-index: 2;
    }

    .cabecalho #menu-geral ul.nav.navbar-nav {
        float: none;
        display: inline-block;
        margin-top: 0px;
        margin-bottom: -5px;
    }

    .cabecalho #menu-geral ul li {
        font-family: Calibri, Arial, Helvetica, sans-serif;
    }

    .cabecalho #menu-geral ul li a {
        font-family: 'Source Sans Pro', sans-serif;
        color: #ffffff;
        font-size: 14.2px;
        font-weight: 400;
        text-transform: none;
        margin: 0px 6px;
        padding: 7px 0px;
        display: inline-block;
    }

    .cabecalho #menu-geral ul li:after {
        font-family: 'Source Sans Pro', sans-serif;
        content: '|';
        color: #3a6c7e;
        font-size: 20px;
        padding-left: 0px;
        padding-right: 3px;
        font-weight: 600;
        display: inline-block;
    }

    .cabecalho #menu-geral ul li:last-child:after {
        display: none;
    }

    .cabecalho #menu-geral ul li a:hover {
        background-color: transparent;
        color: #4cc7f1;
    }

    .cabecalho #menu-geral ul li.active > a {
        background-color: transparent;
        color: #fff;
        text-decoration: underline;
    }

    .cabecalho #menu-geral ul li a:active {
        background-color: transparent;
    }

    .cabecalho #menu-geral ul li a:focus {
        background-color: transparent;
    }
}

/* ---- */
@media (min-width: 769px) AND (max-width:992px) {
    .cabecalho #menu-geral {
    }

    .cabecalho #menu-geral ul {
    }

    .cabecalho #menu-geral ul li a {
        font-size: 11.4px !important;
        margin: 0px 4px !important;
    }

    .cabecalho #menu-geral ul li:after {
        font-size: 11px;
        display: none !important;
    }

    .cabecalho #menu-geral ul li a:hover {
        background-color: transparent;
    }

    .cabecalho #menu-geral ul li.active a {
        background-color: transparent;
    }

    .cabecalho #menu-geral ul li a:active {
        background-color: transparent;
    }

    .cabecalho #menu-geral ul li a:focus {
        background-color: transparent;
    }
}

/* ---- */
@media (max-width: 768px) {
    .cabecalho #menu-geral {
        background-color: #003e54;
        margin: 0px;
    }

    .cabecalho #menu-geral ul {
        margin: 0px -15px;
    }

    .cabecalho #menu-geral ul li a {
        font-size: 16px;
        /* background-color: #4D4B50; */
        color: #ffffff;
    }

    .cabecalho #menu-geral ul li a:hover {
        background-color: #FFF;
        color: #1a7dc0;
    }

    .cabecalho #menu-geral ul li.active > a {
        background-color: #FFF;
        color: #1a7dc0;
    }

    .cabecalho #menu-geral ul li a:active {
        background-color: #FFF;
        color: #b6c600;
    }

    .cabecalho #menu-geral ul li a:focus {
        background-color: #FFF;
        color: #1a7dc0;
    }
}

/* ---- */
.cabecalho .newsletter {
    float: right;
    margin-top: 10px;
    min-width: 185px;
    height: auto;
}

@media (max-width: 768px) {
    .cabecalho .newsletter {
        display: none;
    }
}

.cabecalho .newsletter .tit {
    font-size: 12px;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.cabecalho .newsletter .tit:after {
    content: '';
    background-image: url(../images/icon_paleta-laranja.png);
    width: 17px;
    height: 20px;
    display: inline-block;
    position: relative;
    z-index: 0;
    top: -4px;
}

.cabecalho .form_newsletter {
    text-align: center;
}

.cabecalho .form_newsletter .form-group {
    margin-bottom: 3px;
}

.cabecalho .form_newsletter .form-group label {
    display: none;
}

.cabecalho .form_newsletter .form-group .form-control {
    background-color: #ccc;
    color: #fff;
    height: 23px;
}

.cabecalho .form_newsletter .form-group .form-control::-webkit-input-placeholder {
    color: #fff;
}

.cabecalho .form_newsletter .form-group .form-control:-moz-placeholder {
    /* Firefox 18- */
    color: #fff;
}

.rodape .form_newsletter .form-group .form-control::-moz-placeholder {
    /* Firefox 19+ */
    color: #fff;
}

.cabecalho .form_newsletter .form-group .form-control:-ms-input-placeholder {
    color: #fff;
}

.cabecalho .form_newsletter .btn-enviar {
    border: 0px none;
    background-color: #333;
    font-weight: normal;
    color: #fff;
    font-size: 12px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    width: 100%;
    height: 28px;
    margin-top: 0px;
    padding: 4px 18px;
    display: inline-block;
}

/* DROPDOWN */
.cabecalho #menu-geral .dropdown li:after {
    display: none;
}

@media (max-width: 768px) {
    .cabecalho #menu-geral .dropdown.open > a {
        color: #ffffff;
        background-color: rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 769px) {
    .cabecalho #menu-geral .dropdown .caret {
        display: none;
    }
}

@media (min-width: 769px) AND (max-width:840px) {
    .cabecalho #menu-geral ul {
        margin-top: 0px;
    }

    .cabecalho #menu-geral ul li a {
        font-size: 12px;
    }
}

@media (min-width: 769px) {
    .cabecalho #menu-geral .dropdown-menu {
        background-color: #e6f3fd;
        text-align: left;
        margin-left: 0px;
        padding: 0px;
        left: 5px;
        border: none 0px;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
        -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.15);
        box-shadow: 0 3px 6px rgba(0,0,0,.15);
        z-index: 9999;
    }

    .cabecalho #menu-geral .dropdown-menu li.active > a {
        background-color: #007da1;
        color: #fff;
        text-decoration: underline;
    }
}

@media (max-width: 768px) {
    .cabecalho #menu-geral .dropdown-menu {
        background-color: rgba(0,0,0,0.5);
        -webkit-box-shadow: none;
        box-shadow: none;
        margin: 0px;
        padding: 0px;
    }
}

.cabecalho #menu-geral .dropdown-menu li {
    display: block;
}

.cabecalho #menu-geral .dropdown-menu li a {
    background-color: #003e54;
    color: #ffffff;
    text-align: left;
    font-size: 14px;
    width: 100%;
    min-width: auto;
    display: block;
    margin: 0px !important;
    padding: 8px 10px;
}

@media (max-width: 768px) {
    .cabecalho #menu-geral .dropdown-menu li a {
        background-color: rgba(0, 0, 0, 0.01);
        padding: 8px 24px;
    }
}

.cabecalho #menu-geral .dropdown-menu li.active > a {
    border-bottom: none;
}

.cabecalho #menu-geral .dropdown-menu li a:hover {
    border-bottom: none;
}

.cabecalho #menu-geral .dropdown-menu li a, .cabecalho #menu-geral .dropdown-menu li a:hover {
    text-decoration: none;
}

.cabecalho #menu-geral .dropdown-menu li a:hover, .cabecalho #menu-geral .dropdown-menu li .active a {
    color: #003e54;
    background-color: #FFF;
    text-decoration: none;
}

@media (min-width: 992px) {
    .cabecalho #menu-geral .dropdown:hover > ul.dropdown-menu {
        display: block;
    }
}

.cabecalho #menu-geral .dropdown-menu a:after {
    display: none;
}

/* ----- */
@media (min-width: 769px) {
    .cabecalho #menu-geral {
        text-align: center;
        margin-top: 55px;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 0px;
        padding-right: 0px;
        height: 40px !important;
        position: relative;
        z-index: 2;
    }

    .cabecalho #menu-geral ul.nav.navbar-nav {
        float: none;
        display: inline-block;
        margin-top: 0px;
        margin-bottom: -5px;
    }

    .cabecalho #menu-geral ul li {
        font-family: Calibri, Arial, Helvetica, sans-serif;
    }

    .cabecalho #menu-geral ul li a {
        font-family: 'Source Sans Pro', sans-serif;
        color: #ffffff;
        font-size: 14px;
        font-weight: 400;
        text-transform: none;
        margin: 0px 3px;
        padding: 7px 0px;
        display: inline-block;
    }

    .cabecalho #menu-geral ul li:after {
        font-family: 'Source Sans Pro', sans-serif;
        content: '|';
        color: #3a6c7e;
        font-size: 20px;
        padding-left: 0px;
        padding-right: 3px;
        font-weight: 600;
        display: inline-block;
    }

    .cabecalho #menu-geral ul li:last-child:after {
        display: none;
    }

    .cabecalho #menu-geral ul li a:hover {
        background-color: transparent;
        color: #4cc7f1;
    }

    .cabecalho #menu-geral ul li.active > a {
        background-color: transparent;
        color: #fff;
        text-decoration: underline;
    }

    .cabecalho #menu-geral ul li a:active {
        background-color: transparent;
    }

    .cabecalho #menu-geral ul li a:focus {
        background-color: transparent;
    }
}
