/*CABECALHO*/
.cabecalho {
	background-color: #fff;
}
@media (min-width:767px) {
.cabecalho {
	padding-left: 0px;
	padding-right: 0px;
	position: relative;
	z-index: 9000;
}
.cabecalho:after {
	content: '';
	background-color: #9c0f0f;
	width: 100%;
	min-height: 52px;
	display: block;
	position: absolute;
	z-index: 0;
	left: 0px;
	bottom: 0px;
}
.cabecalho, .cabecalho .container {
	min-height: 215px;
}
.cabecalho .container {
	position: relative;
	z-index: 1;
}
}
.cabecalho .navbar-header {
	float: none;
	z-index: 0;
	margin-top: 0px;
}
.cabecalho .navbar-header .navbar-brand {
	height: auto;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	padding: 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:767px) {
.cabecalho .navbar-header .navbar-brand {
	float: none;
}
.cabecalho .navbar-header .navbar-brand img {
	margin-left: auto;
	margin-right: auto;
}
}
@media (max-width:767px) {
.cabecalho .navbar-header .navbar-brand img {
	margin-left: 5px;
	margin-top: 5px;
	height: 45px;
}
}
.cabecalho .navbar-header .navbar-toggle {
	background-color: #9c0f0f;
	border-radius: 0px;
	margin-top: 0px;
	margin-left: 15px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding: 20px;
}
.cabecalho .navbar-header .navbar-toggle .icon-bar {
	background-color: #ffffff;
}
@media (min-width:767px) {
.cabecalho #menu-geral .dropdown-menu .sub a {
	background-color: #bd0000;
	padding-left: 20px;
}
}
@media (max-width:767px) {
.cabecalho #menu-geral .dropdown-menu .sub a {
	background-color: rgba(0, 0, 0, 0.4);
	padding-left: 40px;
}
}
/* ---- */
.cabecalho .tit {
	font-size: 16px;
	color: #9c0f0f;
	text-transform: uppercase;
	margin-bottom: 5px;
}
.cabecalho .container-newsletter {
	float: right;
	min-width: 155px;
	margin-top: 16px;
}
@media (max-width:767px) {
.cabecalho .container-newsletter {
	display: none;
}
}
.cabecalho .container-newsletter .formulario {
}
.cabecalho .container-newsletter .formulario .form-group {
	margin-bottom: 3px;
}
.cabecalho .container-newsletter .formulario label {
	display: none;
}
.cabecalho .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;
}
.cabecalho .container-newsletter .formulario .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;
	text-transform: capitalize;
	font-weight: normal;
	border: none;
	letter-spacing: -0.5px;
	float: right;
	height: 36px;
	padding-top: 7px;
	padding-left: 21px;
	padding-right: 8px;
	padding-bottom: 8px;
}
/* ---- */
@media (min-width:767px) {
.cabecalho #menu-geral {
	background-color: transparent;
	min-height: 33px;
	padding: 0px;
	position: absolute;
	z-index: 1;
	left: 20px;
	bottom: 10px;
}
.cabecalho #menu-geral ul.nav.navbar-nav {
	float: none;
	display: inline-block;
	margin-top: 3px;
	margin-bottom: -5px;
	cursor: default;
}
.cabecalho #menu-geral ul li:after {
	content: '|';
	color: #FFF;
	font-size: 14px;
	margin-left: 4px;
	margin-right: 6px;
	font-weight: 600;
	display: inline-block;
}
.cabecalho #menu-geral ul li:last-child:after {
	display: none
}
.cabecalho #menu-geral ul li a {
	color: #ffffff;
	font-size: 13px;
	font-weight: 400;
	margin: 0px 0px;
	padding: 4px 0px;
	display: inline-block;
}
.cabecalho #menu-geral ul li a:hover {
	background-color: transparent;
	color: #bdbbbc;
}
.cabecalho #menu-geral ul li.active > a {
	background-color: transparent;
	color: #bdbbbc;
	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:767px) AND (max-width:992px) {
.cabecalho #menu-geral {
}
.cabecalho #menu-geral ul {
}
.cabecalho #menu-geral ul li a {
	font-size: 12px !important;
	margin: 0px 7px;
}
.cabecalho #menu-geral ul li:after {
	display: none
}
.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:767px) {
.cabecalho #menu-geral {
	background-color: #9c0f0f;
	margin: 0px;
}
.cabecalho #menu-geral ul {
	margin: 0px -15px;
}
.cabecalho #menu-geral ul li a {
	font-size: 18px;
	color: #ffffff;
	white-space: normal;
}
.cabecalho #menu-geral ul li a:hover {
	background-color: #FFF;
	color: #9c0f0f
}
.cabecalho #menu-geral ul li.active > a {
	background-color: #FFF;
	color: #9c0f0f;
}
.cabecalho #menu-geral ul li a:active {
	background-color: #FFF;
	color: #9c0f0f;
}
.cabecalho #menu-geral ul li a:focus {
	background-color: #FFF;
	color: #9c0f0f;
}
}
.cabecalho .redesociais {
	float: right;
	margin-top: 16px;
	margin-right: 50px;
}
.cabecalho .redesociais .at-icon-wrapper {
	background-color: transparent !important;
	width: 30px !important;
	height: 30px !important;
	padding: 0px;
}
.cabecalho .redesociais .at-style-responsive .at-share-btn {
	margin: 0px 1px;
}
.cabecalho .redesociais .at-icon-wrapper svg {
	width: 30px !important;
	height: 30px !important;
}
.cabecalho .redesociais .at-icon-wrapper svg,
.cabecalho .redesociais .at-icon-wrapper svg > g > path {
	fill: #636363 !important;
}
.cabecalho .redesociais .at-svc-facebook {
	display: none;
}
.cabecalho .redesociais .addthis_inline_follow_toolbox, .cabecalho .redesociais .addthis_inline_share_toolbox {
	display: inline-block;
}
.cabecalho .redesociais .addthis_inline_follow_toolbox p {
	display: none;
}
.cabecalho .redesociais .addthis_inline_follow_toolbox .at-follow-btn {
	margin: -2px -2px;
}
@media (max-width:992px) {
.cabecalho .redesociais {
	display: none;
}
}
/* ---- */
.cabecalho .newsletter {
	float: right;
	margin-top: 10px;
	min-width: 185px;
	height: auto;
}
@media (max-width:767px) {
.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:767px) {
.cabecalho #menu-geral .dropdown.open > a {
	color: #ffffff;
	background-color: rgba(0, 0, 0, 0.2);
}
}
@media (min-width:767px) {
.cabecalho #menu-geral .dropdown .caret {
	display: none;
}
}
@media (min-width:767px) AND (max-width:840px) {
.cabecalho #menu-geral ul {
	margin-top: 0px;
}
.cabecalho #menu-geral ul li a {
	font-size: 12px;
}
}
@media (min-width:767px) {
.cabecalho #menu-geral .dropdown-menu {
	background-color: #9c0f0f;
	text-align: left;
	padding: 0px;
	left: 8px;
	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;
}
}
@media (max-width:767px) {
.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: #9c0f0f;
	color: #ffffff;
	text-align: left;
	font-size: 14px;
	width: 100%;
	min-width: auto;
	display: block;
	margin: 0px;
	padding: 8px 10px;
}
@media (max-width:767px) {
.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: #9c0f0f;
	background-color: #FFF;
	text-decoration: none;
}
@media (min-width:767px) {
.cabecalho #menu-geral .dropdown:hover > ul.dropdown-menu {
	left: 0px;
	display: block;
}
}
.cabecalho #menu-geral .dropdown-menu a:after {
	display: none;
}
.cabecalho #menu-geral .dropdown .dropdown-toggle {
	background-color: #9c0f0f;
	color: #ffffff;
	font-size: 22px;
	line-height: 22px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	padding-top: 10px;
	width: 64px;
	height: 40px;
	display: block;
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 2;
}
@media (min-width:767px) {
.cabecalho #menu-geral .dropdown .dropdown-toggle {
	display: none;
}
}
.cabecalho #menu-geral .dropdown .dropdown-toggle:hover, .cabecalho #menu-geral .dropdown .dropdown-toggle:active {
	color: #9c0f0f;
	background-color: #ffffff;
}
.cabecalho #menu-geral .dropdown-menu a:after {
	display: none;
}
.cabecalho .menu-acessibilidade {
	position: absolute;
	z-index: 0;
	right: 10px;
	bottom: 10px;
}
.cabecalho .menu-acessibilidade a {
	overflow: hidden;
	height: 25px;
	width: 25px;
	display: block;
}
.cabecalho .menu-acessibilidade .sub-menu li {
	margin: 0px 5px;
	display: inline-block;
}
.cabecalho .menu-acessibilidade .icon {
	background-repeat: no-repeat;
	background-position: center center;
	height: 25px;
	width: 25px;
	display: block;
}
.cabecalho .menu-acessibilidade .uf-transparente a {
	height: 52px;
	width: 125px;
	position: relative;
	z-index: 0;
	top: 13px;
}	
.cabecalho .menu-acessibilidade .uf-transparente .icon0 {
	background-image: url(../images/bt_uma-uniao-freguesias-mais-proxima-participada-transparente.png);
	background-image: url(../images/bt_uma-uniao-freguesias-mais-proxima-participada-transparente_vermelho.png);
	background-position: left top;
	height: 52px;
	width: 125px;
}
.cabecalho .menu-acessibilidade .icon1 {
	background-image: url(../images/icon_pagina-inicial.png);
}
.cabecalho .menu-acessibilidade .icon2 {
	background-image: url(../images/icon_contactos.png);
}
.cabecalho .menu-acessibilidade .icon3 {
	background-image: url(../images/icon_mapa.png);
}
.cabecalho .menu-acessibilidade .icon4 {
	background-image: url(../images/icon_links-uteis.png);
}
@media (max-width:992px) {
.cabecalho .menu-acessibilidade {
	background-color: #9c0f0f;
	border-top: solid 1px #fff;
	text-align: center;
	position: fixed;
	z-index: 1;
	left: 0px;
	right: 0px;
	bottom: 0px;
}
.cabecalho .menu-acessibilidade .sub-menu li {
	margin: 0px 10px;
}
.cabecalho .menu-acessibilidade a, .cabecalho .menu-acessibilidade .icon {
	height: 40px;
	width: 40px;
}
}
