/* Flickity
------------------------- */

.flickity-enabled {
  /*position: relative;*/
  width:100%;
}

.quem-gallery.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.banners .flickity-viewport, #quem-gallery .flickity-viewport, #quem2-gallery .flickity-viewport{
  position: relative;
  overflow:hidden;
  width:100%;
}
.flickity-viewport {
  position: relative;
  overflow:hidden;
  height:100%;
}

#noticias_gallery .flickity-viewport {
  position: relative;
  overflow:hidden;
  height:220px !important;
}


.flickity-slider {
  position: absolute;
  width: 100%;
  height:100% !important;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 49px;
  height: 43px;
  border: none;
  background: url(../../../imgs/banners/next.png) no-repeat center;
  cursor: pointer;
  -moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
  /* vertically center */
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
		  
		  
}
.flickity-prev-next-button:hover{
	background: url(../../../imgs/banners/next_.png) no-repeat center;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
.flickity-prev-next-button.previous{
	background: url(../../../imgs/banners/prev.png) no-repeat center;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
.flickity-prev-next-button.previous:hover{
	background: url(../../../imgs/banners/prev_.png) no-repeat center;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
/*BOTOES NOTICIAS - RUI*/
#noticias_gallery  .flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 42px;
  border: none;
  background: url(../../../imgs/noticias/next.png) no-repeat center;
  background-size:contain;
  cursor: pointer;
  -moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
  /* vertically center */
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
		  
		  
}
#noticias_gallery .flickity-prev-next-button.next{
	background: url(../../../imgs/noticias/next.png) no-repeat center;
	background-size:contain;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
	right:-60px;
	padding: 0;
}
#noticias_gallery .flickity-prev-next-button.next:hover{
	background: url(../../../imgs/noticias/next_.png) no-repeat center;
	background-size:contain;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
#noticias_gallery .flickity-prev-next-button.previous{
	background: url(../../../imgs/noticias/prev.png) no-repeat center;
	background-size:contain;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
	left:-60px;
	padding: 0;
}
#noticias_gallery .flickity-prev-next-button.previous:hover{
	background: url(../../../imgs/noticias/prev_.png) no-repeat center;
	background-size:contain;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

/*BOTOES AREA QUEM - RUI*/
.quem-gallery .flickity-prev-next-button {
	width: 39px;
	height: 35px;
}
.quem-gallery .flickity-prev-next-button.next{
	background: url(../../../imgs/area-reservada/quem_next.png) no-repeat center;
	background-size:cover;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
	right:20px;
	bottom: 0;
	top: auto;
	padding: 0;
	left: auto;
}
.quem-gallery .flickity-prev-next-button.next:hover{
	background: url(../../../imgs/area-reservada/quem_next_.png) no-repeat center;
	background-size:cover;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
.quem-gallery .flickity-prev-next-button.previous{
	background: url(../../../imgs/area-reservada/quem_prev.png) no-repeat center;
	background-size:cover;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
	right:65px;
	bottom: 0;
	top: auto;
	padding: 0;
	left: auto;
}
.quem-gallery .flickity-prev-next-button.previous:hover{
	background: url(../../../imgs/area-reservada/quem_prev_.png) no-repeat center;
	background-size:cover;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.flickity-prev-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #09F;
}

.flickity-prev-next-button:active {
  filter: alpha(opacity=60); /* IE8 */
  opacity: 0.6;
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button:disabled {
  filter: alpha(opacity=30); /* IE8 */
  opacity: 0.3;
  cursor: auto;
  display:none;
}

.flickity-prev-next-button svg {
  display:none;
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-prev-next-button .arrow {
  fill: #333;
}

/* color & size if no SVG - IE8 and Android 2.3 */
.flickity-prev-next-button.no-svg {
  color: #333;
  font-size: 26px;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 22px;
  top: 50%;
  right: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: left;
  line-height: 1;
  
  transform:translateY(-50%);
  -webkit-transform:translateY(-50%);
  -moz-transform:translateY(-50%);
  -ms-transform:translateY(-50%);
  -o-transform:translateY(-50%);
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
	cursor: pointer;
	display: inline-block;
	margin: 2px 0;
	cursor: pointer;
	width:20px;
	height:17px;
	border:0;
	
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
.flickity-page-dots .dot {
	width:20px;
	height:17px;
	background:url(../../../imgs/banners/bullet_.png) no-repeat center;
}
.flickity-page-dots .dot.is-selected, .dot:hover {
	width:20px;
	height:17px;
	background:url(../../../imgs/banners/bullet.png) no-repeat center;
}

.flickity-page-dots .dot:only-child{
	display:none;
}

.gallery-cell {
  width: 100%;
  display:table;
}
.noticias-cell {
  width: 50%;
  height: auto !important;
  padding-right:50px;
}

@media only screen and (max-width: 889px) {
	.noticias-cell{
	  width: 100%;
	  padding:0px;
	}	
	.noticias-cell_cont{
		max-width:650px;
	  	margin:auto;
	}
	
	#noticias_gallery .flickity-prev-next-button.next, #noticias_gallery .flickity-prev-next-button.previous{
		width: 40px;
		height: 35px;
	}
	#noticias_gallery .flickity-viewport {
		position: relative;
		overflow: hidden;
		height: 185px !important;
	}
}
@media only screen and (max-width: 580px) {
	.noticias-cell .div_table_cell{
	  width: 100% !important;
	  display:table;
	  height:auto;
	}
	.noticias-cell .div_table_cell:first-child{
		max-width:130px;
	}
	.noticias-cell .div_table_cell:last-child{
		padding: 0;
	 	padding-top:20px;
	}	
	#noticias_gallery .flickity-viewport {
	  height:375px !important;
	}
	
	#noticias_gallery .flickity-prev-next-button.next{
		top: auto;
		bottom: -20px;
		right: 10px;
	}
	#noticias_gallery .flickity-prev-next-button.previous{
		top: auto;
		bottom: -20px;
		right: 60px;
		left:auto;
	}

}