html {
  overflow-y: scroll;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  background: #ab8815;
  border: 0px none #ffffff;

}
::-webkit-scrollbar-thumb:hover {
  background: #ab8815;
}
::-webkit-scrollbar-thumb:active {
  background: #000000;
}
::-webkit-scrollbar-track {
  background: #666666;
  border: 0px none #ffffff;

}
::-webkit-scrollbar-track:hover {
  background: #666666;
}
::-webkit-scrollbar-track:active {
  background: #333333;
}
::-webkit-scrollbar-corner {
  background: transparent;
}


.active {
color:#ab8815!important;
}

#jform_contact_message{
  width:500px;
  height:150px;  
}

#system-message{
    position: absolute;
    z-index: 555555;
    margin: 0 auto !important;
  	background-color: white;
    border: 1px solid #AB8815;
    width: 60%;
    padding: 10px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 20%;
    overflow: hidden;
  	top: 20%;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    -moz-box-shadow: 3px 3px 5px 6px #ccc;
    box-shadow: 1px 1px 3px 1px rgba(31, 31, 31, 0.71);
}

#jevents_body .nav-items > div a:hover{
  background-color: rgba(255, 255, 255, 0);

}
.nav-items > div:last-child {
  border-radius: 0 0px 0px 0;
  border: 1px solid #ab8815;  
}
#jevents_body .nav-items > div a:hover {
  border-radius: 0 0px 0px 0;
  border-left: none;
  
}
#jevents_body .nav-items div.active a:hover, .jev_header2 .active a:hover{
  background-color: #ab8815;
  color:white;
  border: 1px solid #ab8815;
}
#jevents_body .nav-items div.active a, .jev_header2 .active a{
      background-color: #ab8815;  
}
.jev_toprow div.previousmonth, .jev_toprow div.nextmonth {
      background-color: #ab8815;
    border: 1px solid #ab8815;
}
.jev_toprow div.currentmonth {
     border-top: 1px solid #ab8815;
    border-bottom: 1px solid #ab8815;
    margin-bottom: -1px; 
}
/*#sp-main-body {
padding: 25px ;
}

.com-sppagebuilder #sp-main-body{
padding:25px;
}*/
.valencias_tit{
  margin-top:0px;
}

#sp-main-body{
	padding:0px 0px 0px 0px !important;
}

.container{margin:0 auto !important;}
.menu {
	margin:	0px 0px 0px 25px;
}

.sp-module ul >li >a{
	cursor:pointer;
}

.sppb-container {
	width:auto;
}

/*.destaques:hover {
	box-shadow:1px 1px 2px rgb(171, 136, 21);;
}*/

.destaques p{
	margin-top:10px;
	font-size:12px;  
}

/*.destaques h4{
margin:10px;
}*/
[itemprop~="blogPost"]{
border-bottom: 1px dotted #A68C5B;
}
.ticket{
	/*bottom: 34px;*/
	/*right: 0px;*/
	/*position: relative;*/
	bottom: -6px;
	right: 0px;
	position: absolute;
	cursor: pointer;
	width: 0px;
	height: 0px;
	border-bottom: 30px solid rgb(171, 136, 21);
	border-top: 30px solid rgba(0, 0, 0, 0);
	border-left: 30px solid rgba(0, 0, 0, 0);
	border-right: 30px solid rgb(171, 136, 21);
	float: right;
	color: white;
}

.ticket:hover{
	border-bottom: 30px solid #7e640f;
	border-top: 30px solid rgba(0, 0, 0, 0);
	border-left: 30px solid rgba(0, 0, 0, 0);
	border-right: 30px solid #7e640f;
	transition: all 0.5s ease;
}

.ticket>div
{
	top: 0px;
	position: relative;
	font-weight: bold;
	font-size:25px;
}

.mais {
	position: relative;
	height: 26px;
}

.sppb-carousel-arrow .fa-chevron-left {
	left: 50%;
	margin-left: -10px;
	color: #ab8815;
}

.sppb-carousel-arrow .fa-chevron-right {
	left: 50%;
	margin-left: -10px;
	color: #ab8815;
}

.valencias li{
	/*margin-bottom:15px;*/
	margin-top:15px;
	float:left;
	display:inline;
	border:none !important;
	width:100%;
	font-size:10px;
	line-height:12px;  
}

.valencias #triple li {
	width:30%;
	float:right;
}

#valencias {
	height:100%;
	padding-bottom:50px;
	max-width: 300px
}

.nav>li>a:hover, .nav>li>a:focus {
	text-decoration: none;
	background-color: rgba(171, 136, 21, 0.45);
}  

/*.sp-module ul >li >a:hover {
	color: #ab8815;
	font-weight: bold;
}*/

.nav-child:not(.menu-visible){
	display:none;
	opacity: 0;  
}

.menumenu li ul li{
	margin-left:25px;
}

.noticias_destaques li{
margin-right:20px;
}

/*.menu :hover ul li ul {

display:block;}

.menu ul li ul {

display:none;
transition: all 0.9s ease,
padding 0.8s linear;
}*/
.registo {
	min-width:100%;
	float:left;
}

.acysubbuttons {
	text-align:left;
}

.rodape {
	line-height:12px;
	font-size:12px;
	background: linear-gradient(to bottom, #4C4234, #000000);
	box-shadow: 0px -1px 8px #7B7771;
}

.apoio {
	margin-left:25px;
}

.logo {
	margin-left:25px;
}

.pull-right{
	display: none;
}

.valencias_tit .sp-module-title{
	margin-left:25px;	
}

.noticias_destaques {
	font-size: 14px;
	line-height: 20px;  
	position: relative;
    display: inline-flex;
}

.noticias_destaques h4{
	font-size:16px;
	font-weight:bold;
	/*margin:10px;*/
	min-height: 40px;
	width:260px;
}

.-eventos {
	max-width: 300px;
	position: relative;
	/*padding: 10px;*/
	vertical-align: top;
}

.noticias_destaques p {
	margin-top:10px;
	max-width: 260px;
	width:260px;
	height: 286px;
}
.noticias_destaques img {
width:260px;
float:left !important;
height:194px;
}
.jevbootstrap tr {
	padding-bottom:250px !important;
}

#sp-footer{
	padding:0px;
}

.valencias a::before{
	list-style:none;
	content:none !important;
}

.valencias ul li a{
	line-height:12px;
	max-width:64px;  
}

.valencias ul li a:hover{
	font-weight:normal;
}

.sp-left {
	float:left;
}

.sppb-carousel-pro-text h2{
	text-shadow: 2px 2px 6px #000000;
	background-color: rgba(45, 44, 40, 0.06)!important;
}

.sp-left{
	max-width:300px;
}

.sp-module-content.valencias{
	max-width:300px;
}

.row{
	margin:0 auto !important;
}

.carra_cont{
	position:fixed;
	background-color:white;
	margin:0 auto;
}

@media (max-width: 767px) {
	#system-message{
    height: 106px;
    top: -170px;
    width:100%;
}
	.logo img{
		margin:0 auto;
	}
	
	.menu{
		padding-top:25px;
		margin:0 auto;
		text-align:center;
	}
	
	.slide_show{
		display:none;
	}
	
	.social-icons{
		position:absolute;
	}
	
	#valencias{
		/*display:none;*/
		max-width: none;
	}
	
	.entry-header h2{
		text-align:center;
	}
	
	.valencias_tit{
		/*display:none;*/
		height: 415px;
	}
	
	.rodape{
		text-align:center;
	}
	
	.-eventos{
		text-align:center;
		margin:0 auto;
		display:block;
	}
	
	.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container{
		width:auto;
	}
	
	.menumenu li ul li {
		margin-left:0px;
		font-style: italic;
		font-weight:bold;
	}
	
	#jevents_body{
		margin-bottom:20px;
	}
	.noticias_destaques img{
		width:100%;
	}
	.noticias_destaques{display:inline-block;}
}

@media screen 
and (min-device-width: 602px) 
and (orientation : landscape) 
and (-webkit-min-device-pixel-ratio: 1.331) 
and (-webkit-max-device-pixel-ratio: 1.332){
	
	.container {
		width:auto !important;
	}      
	.noticias_destaques p {
		margin: 10px;
		min-height: 160px;
	}
}

}

@media screen 
and (min-device-width: 602px) 
and (orientation : landscape) 
and (-webkit-min-device-pixel-ratio: 1.331) 
and (-webkit-max-device-pixel-ratio: 1.332){
	
	.container {
		width:auto !important;
	}
	
	.noticias_destaques p {
		margin: 10px;
		min-height: 160px;
	}
}

.message {
text-align: center;
color: red;
font-weight: bold;
background: #eee;
border: 1px solid #f55;
padding: 15px;
margin-bottom: 25px;
}

.items-more{
  display:none;
}
.pagenavcounter {
  display:none;  
}
.image_blog img{
max-height:150px;
}
.entry-quote {
z-index:-1;
}
.pagination-centered{
  display:none !important;
}