/** Stage container **/

.wrapper{
	clear: both;
	padding-top: 10px;
}

#atf-article #main .wrapper{
    border-top:0;
}

.connected-carousels .stage {
    width: 100%;
    position: relative;
    background-color: #1B1B1B;
}

/*.connected-carousels .stage span{
	position: relative;
	display: block;
	height: 25px;
}*/

.connected-carousels .stage ul li .legenda{
    position: absolute;
    color: #fff;
    text-align: left;
    padding: 5px;
    line-height: 1;
    font-family:"UnitWeb-Medium";
    font-size: 13px;
    bottom: -16px;
    background-color: #171717;
    width: 620px;/*ANTES 100%*/
/*     max-height: 35px; */
}

.connected-carousels .stage ul li span{
	color: #fff;
/*     max-height: 30px; */
/*     overflow: hidden; */
}


.connected-carousels.in-article .stage ul li img, .connected-carousels.in-article .stage ul li iframe {
    height: 390px;
}

.connected-carousels .photo-credits {
    position: absolute;
    right: 15px;
    bottom: 0;
    font-size: 13px;
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.85);
    opacity: .66;
}

.connected-carousels .photo-credits a {
    color: #fff;
}

/* galerias de fotos */

body.galeria-de-fotos .connected-carousels .stage ul li .legenda{ width:890px; }
body.galeria-de-fotos #atf-article .connected-carousels .stage ul li img{ height: auto !important; }

/* pampulha */

body.pampulha #atf-article #main .wrapper{ background:none; }
body.pampulha #atf-article #main .wrapper div.carousel-stage{ background-color:#b0cadd; }
body.pampulha #atf-article .connected-carousels .stage ul li .legenda{ bottom:6px; width: 589px }

/* super noticia*/

body.super-noticia #atf-article .connected-carousels .stage{ width:585px; }
body.super-noticia #atf-article .connected-carousels .navigation{ width:585px; }

/* gástro */
body.gastro #single_article .connected-carousels .carousel-stage{ height:413px; }
body.gastro #single_article .connected-carousels .stage ul li .legenda{ bottom:0px; width: 580px }

/** Navigation container **/

.connected-carousels .navigation {
    width: 100%;
    position: relative;
    background-color: #171717;
}

/** Shared carousel styles **/

.connected-carousels .carousel {
    position: relative;
    overflow: hidden;
}

.connected-carousels .carousel ul {
    width: 20000em;
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 0;
}

.connected-carousels .carousel li {
    float: left;
    width: 620px;
    text-align: center;
}

/** Stage carousel specific styles **/

.connected-carousels .carousel-stage {
    height: 350px;
}

/** Navigation carousel specific styles **/

.connected-carousels .carousel-navigation {
    height: 60px;
    width: 100%;
    height: 90px;
	background-color: #171717;
    padding: 2px;
}

.connected-carousels .carousel-navigation li {
    cursor: pointer;
    width: 117px;
}

.connected-carousels .carousel-navigation li img {
    display: block;
/*     border: 2px solid #171717; */
    width: 115px;
    height: 85px;
	opacity: .5;    
}

.connected-carousels .carousel-navigation li.active img {
/*     border-color: #ccc; */
	opacity: 1;    
}

/** Stage carousel controls **/

.connected-carousels .prev-stage,
.connected-carousels .next-stage {
    display: block;
    position: absolute;
    top: 0;
    width: 100px;
    height: 300px;
    color: #fff;
}

.connected-carousels .prev-stage {
    left: 0;
}

.connected-carousels .next-stage {
    right: 0;
}

.connected-carousels .prev-stage.inactive,
.connected-carousels .next-stage.inactive {
    display: none;
}

.connected-carousels .prev-stage span{
    display: none;
	position: absolute;
	top: 130px;
	width: 26px;
	height: 39px;
	background-image: url('/img/sempre-editora/layout/arrow-right.png');
}
.connected-carousels .next-stage span {
    display: none;
	position: absolute;
	top: 130px;
	width: 26px;
	height: 39px;
	background-image: url('/img/sempre-editora/layout/arrow-left.png');
}

.connected-carousels .prev-stage span{
    left: 15px;
    top: 50%;
    float: left;
}

.connected-carousels .next-stage span{
    right: 15px;
    top: 50%;
	float: right;
}

.connected-carousels .prev-stage:hover span,
.connected-carousels .next-stage:hover span {
    display: block;
}

/** Navigation carousel controls **/

.connected-carousels .prev-navigation,
.connected-carousels .next-navigation {
	display: block;
	position: absolute;
	width: 30px;
	background: transparent;
	color: transparent;
}

.connected-carousels .prev-navigation {
    left: 0px;
    text-indent: 6px;
    z-index: 9999;
}

.connected-carousels .next-navigation {
    right: 0px;
    text-indent: 20px;
    z-index: 9999;
}

.connected-carousels .prev-navigation.inactive,
.connected-carousels .next-navigation.inactive {
    opacity: .5;
    cursor: default;
}

.connected-carousels .next-stage span,
.connected-carousels .prev-stage span {
    display: block;
}