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

.flickity-enabled {
  /*position: relative;*/
  width:100%;
  height: 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:230px !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 {
  filter: alpha(opacity=30); /* IE8 */
  opacity: 0.3;
  position: absolute;
  top: 50%;
  width: 80px;
  height: 80px;
  border: none;
  background: url(arrow.svg) no-repeat center;
  
  cursor: pointer;
  /* vertically center */
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flickity-prev-next-button:hover {
	filter: alpha(opacity=100); /* IE8 */
  	opacity: 1;
}

.flickity-prev-next-button:focus {
  outline: none;
}

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

.flickity-prev-next-button.previous { 
	left: 0px; 
}
.flickity-prev-next-button.next { 
	right: 0px; 
	background: url(arrow2.svg) no-repeat center;

}

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

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

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

.flickity-prev-next-button .arrow {
  fill: #333;
}
.flickity-prev-next-button.no-svg {
  color: #333;
  font-size: 26px;
}

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

.flickity-page-dots {
  position: absolute;
 /* width: 9px;*/
/*  bottom: 70px;*/
  bottom: 0;
  padding: 0;
  left:50%;
  list-style: none;
  text-align: center;
  line-height: 1;
  margin:auto;
  
  transform:translateX(-50%);
  -webkit-transform:translateX(-50%);
  -moz-transform:translateX(-50%);
  -ms-transform:translateX(-50%);
  -o-transform:translateX(-50%);
}

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

.flickity-page-dots .dot {
	cursor: pointer;
	display: inline-block;
	margin: 0 4px;
	cursor: pointer;
	width:10px;
	height:10px;
	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:10px;
	height:10px;
	background:url(../../../imgs/elem/bullet.png) no-repeat center;
}
.flickity-page-dots .dot.is-selected, .dot:hover {
	width:10px;
	height:10px;
	background:url(../../../imgs/elem/bullet_.png) no-repeat center;
}

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

.gallery-cell {
  width: 100%;
  height:100%;
  display:table;
}
.gallery-cell-alinha {
	height:100%; display:table-cell; vertical-align:middle; width:100%;
}
.noticias-cell {
  width: 50%;
  padding:0 40px;
  height:230px;
}
.noticias-cell_cont {
	border:3px solid #ffffff;
	padding:50px;
}

@media only screen and (max-width: 1260px) {
	#noticias_gallery .flickity-prev-next-button.next{
		right:-70px;
	}
	#noticias_gallery .flickity-prev-next-button.previous{
		left:-70px;
	}
	#noticias_gallery .flickity-viewport {
	  height:210px !important;
	}
	.noticias-cell {
	  	padding:0 30px;
  		height:210px;
	}	
	.noticias-cell_cont {
		padding:40px;
	}
}
@media only screen and (max-width: 1024px) {
	.flickity-page-dots {  bottom: 30px;}
}
@media only screen and (max-width: 1000px) {
	#noticias_gallery .flickity-prev-next-button.next, #noticias_gallery .flickity-prev-next-button.previous{
		width: 40px;
		height: 40px;
	}
	#noticias_gallery .flickity-prev-next-button.next{
		right:-60px;
	}
	#noticias_gallery .flickity-prev-next-button.previous{
		left:-60px;
	}
	#noticias_gallery .flickity-viewport {
	  height:200px !important;
	}
	.noticias-cell {
	  	padding:0 20px;
  		height:200px;
	}	
	.noticias-cell_cont {
		padding:30px;
	}
}
@media only screen and (max-width: 900px) {
	.flickity-page-dots {  bottom: 70px;}
	#noticias_gallery .flickity-viewport {
	  height:200px !important;
	}
	.noticias-cell {
	  	padding:0 10px;
	}

	.gallery-cell-alinha {vertical-align:bottom; padding-bottom:150px	}
}



@media only screen and (max-width: 800px) {
	.noticias-cell_cont{
		max-width:650px;
	  	margin:auto;
	}
	#noticias_gallery .flickity-prev-next-button.next, #noticias_gallery .flickity-prev-next-button.previous{
		width: 35px;
		height: 35px;
	}
	#noticias_gallery .flickity-prev-next-button.next{		right:-60px;	}
	#noticias_gallery .flickity-prev-next-button.previous{		left:-60px;	}
	#noticias_gallery .flickity-viewport {	  height:220px !important;	}
	.noticias-cell {
	    width: 100%;
	  	padding:0 10px;
  		height:220px;
	}	
	.noticias-cell_cont {
		padding:30px;
	}
	.flickity-prev-next-button {
	  width: 40px;
	  height: 40px;
	}
}
@media only screen and (max-width: 750px) {
	.gallery-cell-alinha {vertical-align:bottom; padding-bottom:140px	}
}
@media only screen and (max-width: 640px) {
	.gallery-cell-alinha {vertical-align:bottom; padding-bottom:120px	}
}
@media only screen and (max-width: 400px) {
	.gallery-cell-alinha {vertical-align:bottom; padding-bottom:90px	}
	.flickity-page-dots {  bottom: 40px;}
}

@media only screen and (max-width: 580px) {
	
	#noticias_gallery .flickity-prev-next-button.next{
		top: auto;
		bottom: -65px;
		right: 0px;
	}
	#noticias_gallery .flickity-prev-next-button.previous{
		top: auto;
		bottom: -65px;
		right: 50px;
		left:auto;
	}
	.noticias-cell {
	  	padding:0;
	}	

}




/*DETALHE NOTICIAS - DAVIDE */
#noticias_detalhe .flickity-viewport {
  position: relative;
  overflow:hidden;
}

#noticias_detalhe  .flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 49px;
  height: 49px;
  border: none;
  background: url(../../../imgs/elem/not_next.png) no-repeat center;
  background-size:cover;
  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_detalhe .flickity-prev-next-button.next{
	background: url(../../../imgs/elem/not_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;
	padding: 0;
}
#noticias_detalhe .flickity-prev-next-button.next:hover{
	background: url(../../../imgs/elem/not_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;
}
#noticias_detalhe .flickity-prev-next-button.previous{
	background: url(../../../imgs/elem/not_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;
	left:20px;
	padding: 0;
}
#noticias_detalhe .flickity-prev-next-button.previous:hover{
	background: url(../../../imgs/elem/not_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;
}

@media only screen and (max-width: 1260px) {
	#noticias_detalhe .flickity-viewport {
	  
	}
	.noticias-cell {
	  	padding:0 30px;
  		
	}	
	.noticias-cell_cont {
		padding:40px;
	}
}
@media only screen and (max-width: 1000px) {
	#noticias_detalhe .flickity-prev-next-button.next, #noticias_detalhe .flickity-prev-next-button.previous{
		width: 40px;
		height: 40px;
	}
	#noticias_detalhe .flickity-viewport {
	  
	}
	.noticias-cell {
	  	padding:0 20px;
  		
	}	
	.noticias-cell_cont {
		padding:30px;
	}
}
@media only screen and (max-width: 900px) {
	#noticias_detalhe .flickity-viewport {	}
	.noticias-cell {	  	padding:0 10px;	}
}

@media only screen and (max-width: 800px) {
	.noticias-cell_cont{		max-width:650px;	  	margin:auto;	}
	#noticias_detalhe .flickity-prev-next-button.next, #noticias_detalhe .flickity-prev-next-button.previous{		width: 35px;		height: 35px;	}
	#noticias_detalhe .flickity-viewport {}
	.noticias-cell {	    width: 100%;	  	padding:0 10px;	}	
	.noticias-cell_cont {		padding:30px;	}
}
@media only screen and (max-width: 580px) {
	.noticias-cell {	  	padding:0;	}	
}