.page-obras #content-wrap {
    padding-bottom: 48px;
}

.page-obras .section-content > img {
    display: inline;
}

svg {
    position: static;
    width: 100%;
}

.clearfix:before,
.clearfix:after {
    content: " "; // 1
    display: table; // 2
}

.clearfix:after {
    clear: both;
}

section h2 {
    margin: 72px 0 24px;
    color: #fb8d42;
    font-family: flamacondensedlightregular, sans-serif;
    font-size: 40px;
    text-transform: uppercase;
}

#nav-obras  {
    margin-top: 24px;
}

#nav-obras li {
    display: inline-block;
    width: 50%;
    font-family: flamacondensedlightregular, sans-serif;
    font-size: 28px;
    text-transform: uppercase;
}

#nav-obras li:last-child {
    text-align: right;
}

#nav-obras a {
    display: block;
    border-top: 3px solid transparent;
    border-bottom: 3px solid rgba( 153, 153, 153, .2 );
    padding: 9px 0;
    width: 100%;
    color: #999;
}

#nav-obras .current a {
    border-bottom-color: #fb8d42;
    color: #fb8d42;
}

#map-canvas {
    background: url( ../img/obras/mapa-bg.png ) no-repeat center center;
    background-size: cover;
}

#map-canvas a,
.md-window svg a {
    -webkit-transition: all .2s;
         -o-transition: all .2s;
            transition: all .2s;
    -webkit-transform-origin: center;
       -moz-transform-origin: center;
        -ms-transform-origin: center;
            transform-origin: center;
}

#map-canvas a text,
.md-window svg a text,
#map-canvas a tspan,
.md-window svg a tspan {
    font-family: flamamedium, sans-serif;
}

#map-canvas a:hover,
.md-window svg a:hover {
    /*opacity: 1;
    -webkit-transform: scale( 1.25 );
        -ms-transform: scale( 1.25 );
         -o-transform: scale( 1.25 );
            transform: scale( 1.25 );*/
}

#md-overlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*z-index: 9998;*/
    -webkit-transition: all .2s;
         -o-transition: all .2s;
            transition: all .2s;
}

#md-overlay.md-open {
    visibility: visible;
    background: rgba( 20, 8, 0, .8 );
    background: rgba( 255, 255, 255, .95 );
}

.md-close span {
    display: none;
}

.md-window {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 50%;
    /*z-index: 9999;*/
    /*background-color: red;*/
    opacity: 0;
    -webkit-transition: top .1s, opacity .3s;
         -o-transition: top .1s, opacity .3s;
            transition: top .1s, opacity .3s;
}

.md-window.md-open {
    visibility: visible;
    top: 50%;
    /*top: 50%;*/
    /*height: 540px;*/
    -webkit-transform: translate( -50%, -50% );
        -ms-transform: translate( -50%, -50% );
         -o-transform: translate( -50%, -50% );
            transform: translate( -50%, -50% );
    opacity: 1;
}

.md-content, .md-ficha {
    border-top: 2px solid transparent;
}

.md-window > header {
    color: #999;
    font-family: flamacondensedlightregular, sans-serif;
    text-transform: uppercase;
}

.md-window h3 {
    float: left;
    margin: 0;
    font-size: 36px;
}

.md-window > header a {
    display: block;
    float: right;
    margin: 6px 0;
    color: inherit;
    font-size: 24px;
    color: #ccc;
}

.md-content {
    position: relative;
    clear: both;
    height: 516px;
    /*-webkit-box-shadow: 0 0 8px 4px rgba( 0, 0, 0, .25 );
            box-shadow: 0 0 8px 4px rgba( 0, 0, 0, .25 );*/
}

.md-content footer,
.credito-foto {
    position: absolute;
    right: 6px;
    bottom: 6px;
    color: #fff;
    font-family: flama, sans-serif;
    font-size: 12px;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.md-fichas {
    clear: both;
}

.md-ficha {
    display: none;
    /*-webkit-box-shadow: 0 0 8px 4px rgba( 0, 0, 0, .25 );
            box-shadow: 0 0 8px 4px rgba( 0, 0, 0, .25 );*/
    border-top-color: rgba( 153, 153, 153, .4 );
    padding: 72px;
    height: 372px;
    /*background: #fff;*/
}

#md-window-maracana .md-content,
#md-window-copacabana .md-content {
    display: none;
}

#md-window-maracana .md-ficha,
#md-window-copacabana .md-ficha {
    display: block;
    padding: 48px;
    height: auto;
}

.md-ficha header {
    color: #fb8d42;
    font-family: flamabold, sans-serif;
}

.md-ficha h4 span {
    display: inline-block;
    border-radius: 50%;
    width: 32px;
    background: #fb8d42;
    color: #fff;
    line-height: 32px;
    text-align: center;
}

.md-ficha h5 {
    margin-top: 18px;
    color: #999;
    font-family: flamabold, sans-serif;
    text-transform: uppercase;
}

.md-ficha-texto,
.md-ficha-imagem {
    margin: 0 -16px;
    padding: 0 16px; 
}

.md-ficha-texto {
    float: left;
    width: 254px;
}

#md-window-maracana .md-ficha-texto,
#md-window-copacabana .md-ficha-texto {
    width: 218px;
}

.md-ficha-imagem {
    float: right;
    width: 556px;
}

#md-window-copacabana .md-ficha-imagem {
    width: 438px;
}

.md-ficha-texto > div {
    padding-left: 36px;
}

#md-window-maracana .md-ficha-texto > div,
#md-window-copacabana .md-ficha-texto > div {
    padding: 0;
}

.md-ficha img {
    width: 100%;
    height: auto;
}

.md-previsao {
    margin-top: 18px;
    font-family: flamabold, sans-serif;
    font-size: .6em;
    text-transform: uppercase;
}

.md-previsao span {
    display: inline-block;
    padding-bottom: 2px;
    line-height: 16px;
}

.md-previsao span:before {
    display: inline-block;
    content: ' ';
    margin: 0 6px 0 16px;
    width: 16px;
    height: 16px;
    background: #000;
    vertical-align: middle;
}

#md-window-maracana .md-previsao span:before,
#md-window-copacabana .md-previsao span:before {
    margin-left: 0;
}

.md-previsao-vermelho span:before {
    background: #b6282f;
}

.md-previsao-amarelo span:before {
    background: #ffdd00;
}

.md-previsao-verde span:before {
    background: #00a554;
}

#md-window-complexo-deodoro .md-content {
    background: url( ../img/obras/deodoro-bg.png ) no-repeat center center;
}

#md-window-parque-olimpico .md-content {
    background: url( ../img/obras/parque-olimpico-bg.jpg ) no-repeat center center;
}

.md-voltar {
    display: none;
    position: absolute;
    top: 60px;
    /*left: 24px;*/
}

section + section {
    padding-top: 6px;
}

section, section h2 {
    clear: both;
}

section p {
    clear: both;
    margin-bottom: 24px;
}

img.capitular {
    float: left;
    height: 63px;
}

span.capitalular {
    display: none;
}

/*.capital {
    
}

.capital:before {
    float: left;
    content: ' ';
    color: #fb8d42;
    font-size: 3em;
}

.capital-D:before {
    content: 'D';
}*/

/*
    these are just the default styles used in the Cycle2 demo pages.  
    you can use these styles or any others that you wish.
*/


/* set border-box so that percents can be used for width, padding, etc (personal preference) */
.cycle-slideshow, .cycle-slideshow * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }


.cycle-slideshow { width: 100%; min-width: 200px; max-width: 970px; margin: 24px auto 48px; padding: 0; position: relative;
    background: url(https://malsup.github.com/images/spinner.gif) 50% 50% no-repeat;

 }

/* slideshow images (for most of the demos, these are the actual "slides") */
.cycle-slideshow img { 
    /* 
    some of these styles will be set by the plugin (by default) but setting them here
    helps avoid flash-of-unstyled-content
    */
    position: absolute; top: 0; left: 0;
    width: 100%; padding: 0; display: block;
}

/* in case script does not load */
.cycle-slideshow img:first-child {
    position: static; z-index: 100;
}

/* pager */
.cycle-pager { 
    text-align: center; width: 100%; z-index: 500; position: absolute; top: 10px; overflow: hidden;
}
.cycle-pager span { 
    font-family: arial; font-size: 50px; width: 16px; height: 16px; 
    display: inline-block; color: #ddd; cursor: pointer; 
}
.cycle-pager span.cycle-pager-active { color: #D69746;}
.cycle-pager > * { cursor: pointer;}


/* caption */
.cycle-caption { position: absolute; color: white; bottom: 15px; right: 15px; z-index: 700; }


/* overlay */
.cycle-overlay { 
    font-family: tahoma, arial;
    position: absolute; bottom: 0; width: 100%; z-index: 600;
    background: black; color: white; padding: 15px; opacity: .5;
}


/* prev / next links */
.cycle-prev, .cycle-next { position: absolute; top: 0; width: 30%; opacity: 0; filter: alpha(opacity=0); z-index: 800; height: 100%; cursor: pointer; }
.cycle-prev { left: 0;  background: url(https://malsup.github.com/images/left.png) 50% 50% no-repeat;}
.cycle-next { right: 0; background: url(https://malsup.github.com/images/right.png) 50% 50% no-repeat;}
.cycle-prev:hover, .cycle-next:hover { opacity: .7; filter: alpha(opacity=70) }

.disabled { opacity: .5; filter:alpha(opacity=50); }


/* display paused text on top of paused slideshow */
.cycle-paused:after {
    content: 'Paused'; color: white; background: black; padding: 10px;
    z-index: 500; position: absolute; top: 10px; right: 10px;
    border-radius: 10px;
    opacity: .5; filter: alpha(opacity=50);
}

/* 
    media queries 
    some style overrides to make things more pleasant on mobile devices
*/

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    .cycle-slideshow { width: 200px;}
    .cycle-overlay { padding: 4px }
    .cycle-caption { bottom: 4px; right: 4px }
}