html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #333;
    background-color: #9c0f0f;
}

a {
    color: #646363;
}

a:hover {
    text-decoration: none;
}

a:hover, a:focus, a:visited {
    text-decoration: none;
}

p:last-child {
    margin-bottom: 0px;
}

/*img {
	max-width: 100%;
	width: 100%;
	height: auto;
}*/
.sub-menu {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    line-height: normal;
}

.sub-menu li {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

.sub-menu li a {
}

.sub-menu li a:hover, .sub-menu li a.active {
}

/*CONTAINER RESOLUCOES*/
@media (min-width: 992px) {
    .container {
        width: 1000px
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1030px
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media (max-width: 767px) {
    .row {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }

    .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

@media (max-width: 767px) {
    .container-fluid, .container-fluid.cabecalho .container {
        padding-left: 0px;
        padding-right: 0px;
    }

    .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .navbar-header {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
}

.btn-geral {
    background-image: url(../images/img_triangulo-branco-mask.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-color: #9c0f0f;
    font-size: 13px;
    line-height: normal;
    color: #FFF;
    font-weight: normal;
    border: none;
    height: 36px;
    padding-top: 9px;
    padding-left: 25px;
    padding-right: 15px;
    padding-bottom: 8px;
}

.btn-geral:hover, .btn-geral:active {
    background-image: url(../images/img_triangulo-branco-mask.png);
    background-color: #636363;
    color: #ffffff;
}

.separador {
    background-color: #FFF;
    padding-top: 25px;
    padding-bottom: 25px;
}

.separador:after {
    content: '';
    background-image: url(../images/img_separador-cinzento.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    height: 1px;
    width: 100%;
    display: block;
}

.separador.tipo1 {
    padding-bottom: 0px;
}

.separador.tipo2 {
    padding-bottom: 50px;
}

/*SLIDESHOW*/
.slideshow-geral {
    background-color: #ffffff;
}

.slideshow-geral #slideshow {
    background-color: #cccccc;
}

.slideshow-geral #slideshow img {
    background-repeat: no-repeat;
    background-position: center center;
}

@media (max-width: 767px) {
    .slideshow-geral #slideshow img {
        background-size: 100%;
        width: 100%;
        /* height: 330px; */
    }
}

@media (max-width: 550px) {
    .slideshow-geral #slideshow img {
        background-size: 100%;
        width: 100%;
        /* height: 300px; */
    }
}

@media (min-width: 767px) {
    .slideshow-geral #slideshow img {
        background-size: 100%;
        width: 100%;
        height: auto;
    }
}

.slideshow-geral #slideshow .container {
}

.slideshow-geral #slideshow .carousel-caption {
    background-image: url(../images/img_slideshow-texto.png);
    background-repeat: no-repeat;
    background-position: right top;
    height: 245px;
    left: 0px;
    right: 0px;
    bottom: auto;
}

@media (min-width: 767px) {
    .slideshow-geral #slideshow .carousel-caption {
        top: 24%;
    }
}

@media (max-width: 992px) {
    .slideshow-geral #slideshow .carousel-caption {
        background-size: 30%;
        width: 85%;
        top: 30px;
    }
}

@media (max-width: 769px) {
    .slideshow-geral #slideshow .carousel-caption {
        background-size: 25%;
        width: 85%;
        top: 30px;
    }
}

@media (max-width: 360px) {
    .slideshow-geral #slideshow .carousel-caption {
        background-size: 25%;
        width: 85%;
        top: 30px;
    }
}

@media (max-width: 600px) {
    .slideshow-geral #slideshow .carousel-control {
        display: none;
    }
}

.slideshow-geral .glyphicon-chevron-left:before, .slideshow-geral .glyphicon-chevron-right:before {
    content: '';
}

.slideshow-geral .carousel-control.left, .slideshow-geral .carousel-control.right {
    background-color: rgba(0, 0, 0, 0.45);
    background-repeat: no-repeat;
    background-position: center center;
    width: 35px;
    height: 60px;
    display: block;
    filter: Alpha(Opacity=100);
    -moz-opacity: 1;
    opacity: 1;
    z-index: 2000;
}

.slideshow-geral .carousel-control.left {
    background-image: url(../images/bt_anterior.png);
    margin: auto;
    left: 0px;
    top: 0px;
    bottom: 0px;
}

.slideshow-geral .carousel-control.right {
    background-image: url(../images/bt_seguinte.png);
    margin: auto;
    right: 0px;
    top: 0px;
    bottom: 0px;
}

.slideshow-geral .carousel-control.left:hover, .slideshow-geral .carousel-control.right:hover {
    background-color: rgba(0, 0, 0, 0.65);
    filter: Alpha(Opacity=100);
    -moz-opacity: 1;
    opacity: 1;
}

@media (max-width: 992px) {
    .slideshow-geral .carousel-indicators {
        display: none;
    }
}

/*CORPO SITE*/
.corposite {
    background-color: #ffffff;
    padding-top: 25px;
    padding-bottom: 25px;
}

/*.corposite .col-esquerda {
	padding-left: 0px;
}
.corposite .col-direita {
	padding-right: 0px;
}*/
#menu-secundario {
    background-color: #bdbbbc;
    border-top: solid 1px #ffffff;
    border-bottom: solid 1px #ffffff;
}

@media (min-width: 650px) {
    #menu-secundario .collapse {
        height: auto !important;
        display: block !important;
        visibility: visible !important;
    }
}

#menu-secundario .navbar-toggle {
    float: none;
    margin: 0px;
    position: relative;
    z-index: 1;
}

@media (min-width: 650px) {
    #menu-secundario .navbar-toggle {
        display: none;
    }
}

#menu-secundario .navbar-toggle .icon-bar {
    background-color: #ffffff;
}

#menu-secundario .navbar-toggle .navbar-text {
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 0px;
    margin-bottom: 0px;
    position: absolute;
    left: 45px;
    top: 7px;
    z-index: 1;
}

@media (min-width: 650px) {
    #menu-secundario .sub-menu {
        width: 100%;
        border-right: solid 1px #ffffff;
        display: table;
    }

    #menu-secundario .sub-menu li {
        border-left: solid 1px #ffffff;
        vertical-align: middle;
        height: 60px;
        display: table-cell;
    }
}

#menu-secundario .sub-menu li a {
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

@media (min-width: 650px) {
    #menu-secundario .sub-menu li a {
        vertical-align: middle;
        text-align: center;
        height: 60px;
        padding-left: 10px;
        padding-right: 10px;
        display: table-cell;
    }

    #menu-secundario .sub-menu li, #menu-secundario .sub-menu li a {
        width: 14.28571428571429%;
    }
}

#menu-secundario .sub-menu li:hover {
    background-color: #9c0f0f;
}

@media (max-width: 650px) {
    #menu-secundario .sub-menu li a {
        display: block;
        padding: 10px;
    }
}

.corposite#noticias-agenda {
}

@media (min-width: 767px) {
    .corposite#noticias-agenda .row-noticias-agenda {
        margin-left: -10px;
        margin-right: -10px;
    }

    .corposite#noticias-agenda .row-noticias-agenda .col-esquerda {
        width: 69%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .corposite#noticias-agenda .row-noticias-agenda .col-direita {
        width: 31%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.corposite#noticias-agenda {
}

.modulo-agenda-listagem.bg_cinzento {
    background-color: #bdbbbc;
    margin-bottom: 6px;
    margin-left: 0px;
    margin-right: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
}

@media (min-width: 767px) {
    .modulo-agenda-listagem.bg_cinzento {
        min-height: 428px;
    }
}

.corposite#destaques {
}

.corposite#destaques .img-responsive {
    width: 100%;
}

.fb-caixa-noheader {
    overflow: hidden;
    width: 100%;
}

.fb-caixa-noheader .fb-iframe {
    margin-top: -88px;
}

.fb-caixa-noheader iframe {
    width: 100% !important;
}

.icon {
    width: 11px;
    height: 11px;
    display: inline-block;
}

.icon.quad-vermelho {
    background-image: url(../images/icon_4quadrados-vermelho.gif);
}

.icon.quad-cinzento {
    background-image: url(../images/icon_4quadrados-cinzento.gif);
}

.icon.quad-branco {
    background-image: url(../images/icon_4quadrados-branco.gif);
}

/*RODAPE*/
#rodape-freguesias, #rodape-freguesias a {
    color: #ffffff;
}

#rodape-freguesias {
    font-size: 14px;
    line-height: 20px;
    padding-top: 25px;
    padding-bottom: 25px;
}

@media (min-width: 767px) {
    #rodape-freguesias .col-rodape {
        border-left: dotted 1px #ffffff;
        border-right: dotted 1px #ffffff;
        margin-right: -1px;
    }
}

#rodape-freguesias .col-rodape {
    padding-top: 5px;
    padding-bottom: 5px;
}

#rodape-freguesias .col-rodape:first-child {
    border-left: 0px;
}

#rodape-freguesias .col-rodape:last-child {
    border-right: 0px;
}

@media (max-width: 450px) {
    #rodape-freguesias .col-rodape {
        width: 100%;
    }
}

#rodape-freguesias .tit, #rodape-freguesias .tit strong {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
}

#rodape-freguesias .tit {
    margin-bottom: 15px;
}

#rodape-freguesias .text-bold {
    font-weight: 700;
}

.rodape {
    color: #636363;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    background-color: #d3d3d3;
    padding-top: 45px;
    padding-bottom: 45px;
}

.rodape a {
}

.rodape a:hover {
    color: #000;
}

.rodape .tit {
    color: #9c0f0f;
    font-size: 16px;
    text-transform: uppercase;
}

.rodape .icon {
    margin-right: 5px;
}

.rodape .container-newsletter {
    margin-bottom: 15px;
}

.rodape .container-newsletter:after {
    content: '';
    clear: both;
    display: block;
}

.rodape .container-newsletter .formulario .form-group {
    margin-bottom: 5px;
}

.rodape .container-newsletter .formulario label {
    display: none;
}

.rodape .container-newsletter .formulario .form-control {
    border: solid 1px #cecece;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    font-size: 12px;
    color: #8b8b8b;
    height: 27px;
}

.rodape .container-newsletter .formulario .btn-geral {
    background-image: url(../images/img_triangulo-cinzento-mask.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-color: #636363;
    font-size: 13px;
    line-height: normal;
    color: #FFF;
    text-transform: capitalize;
    font-weight: normal;
    border: none;
    letter-spacing: normal;
    float: right;
    height: 36px;
    margin-top: 10px;
    padding-top: 7px;
    padding-left: 21px;
    padding-right: 8px;
    padding-bottom: 8px;
}

.rodape .caixa-item {
    margin-bottom: 15px;
}

.rodape .caixa-item:after {
    content: '';
    clear: both;
    display: block;
}

.rodape .caixa-img {
    float: left;
    margin-right: 15px;
}

.rodape .caixa-img img {
}

.rodape .caixa-subtit {
    margin-top: 3px;
    margin-bottom: 10px;
}

.rodape .caixa-btn {
    background-image: url(../images/img_triangulo-cinzento-mask.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-color: #636363;
    font-size: 13px;
    line-height: normal;
    color: #FFF;
    text-transform: none;
    font-weight: normal;
    border: none;
    letter-spacing: -0.5px;
    height: 36px;
    margin-top: 10px;
    padding-top: 9px;
    padding-left: 31px;
    padding-right: 18px;
    padding-bottom: 8px;
}

.rodape .caixa-item:hover .caixa-btn, .rodape .container-newsletter .formulario .btn-geral:hover {
    background-color: #9c0f0f;
}

@media (min-width: 767px) {
    .rodape .redesociais {
        text-align: right;
    }
}

.rodape .redesociais .at-icon-wrapper {
    background-color: transparent !important;
    width: 28px !important;
    height: 28px !important;
    padding: 2px;
}

.rodape .redesociais .at-icon-wrapper svg, .rodape .redesociais .at-icon-wrapper svg > g > path {
    fill: #636363 !important;
    width: 28px !important;
    height: 28px !important;
}

.rodape .redesociais .at-svc-facebook {
    display: none;
}

.rodape .redesociais .addthis_inline_follow_toolbox, .rodape .redesociais .addthis_inline_share_toolbox {
    display: inline-block;
}

.rodape .redesociais .addthis_inline_follow_toolbox p {
    display: none;
}

.rodape .redesociais .addthis_inline_follow_toolbox .at-follow-btn {
    margin: 0px -5px;
}

@media (max-width: 450px) {
    .rodape .col-md-4 {
        width: 100%;
    }
}

.rodape-links {
    margin-left: 20px;
    margin-bottom: 15px;
}

.rodape-links a {
    display: inline-block;
    margin-bottom: 5px;
}

/*MANUTENCAO*/
#manutencao {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #999999;
    padding-top: 20px;
    padding-bottom: 30px;
    display: block;
}

#manutencao a {
    text-decoration: none;
    color: #999999;
}

#manutencao .btn-voltartopo {
    background-image: url(../images/icon_seta-topo.gif);
    background-repeat: no-repeat;
    background-position: center center;
    text-indent: -9000em;
    display: inline-block;
    height: 64px;
    width: 64px;
    margin-bottom: 15px;
}

.formulario {
}

.formulario .form-group {
    text-transform: uppercase;
}

.formulario .form-control {
    background-color: #ffffff;
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: 14px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0);
    text-decoration: none;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.formulario .btn-enviar {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border: 0px none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    color: #FFF;
    text-transform: uppercase;
    background-color: #ff0000;
}

.formulario .btn-cancelar {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background-color: transparent;
    border: 0px none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    color: #b6c600;
}

.formulario .form-group .error-msg {
    display: none;
}

.formulario .form-group.has-error .error-msg {
    color: #ff0000;
    font-weight: bold;
    font-size: 14px;
    text-transform: none;
    display: inline-block;
}

.formulario .form-group.has-error .form-control {
    border: solid 1px #ff0000 !important;
}

.linha_txt {
    /*clear: both;
	display: block;*/
}

.grecaptcha-badge {
    left: -9000px;
}

.cookies {
    background-color: rgba(255,255,255,0.83);
    padding: 4px;
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 9000;
}

@media (max-width: 767px) {
    .cookies {
        top: auto;
        bottom: 0px;
    }
}

.cookies .cookie-mensagem {
    color: #000;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    padding: 4px 0px;
}

.cookies .cookie-bts {
    text-align: center;
}

.cookies .cookie-bts .btn-default {
    color: #fff;
    background-color: rgba(0,0,0,0.3);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    border: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    margin-right: 10px;
    padding: 3px 10px;
}

.cookies .cookie-bts .btn-default.btn-cookies {
    background-color: #9c0f0f;
    color: #fff;
}
