/* ---------------------------------
ESTRUTURA HTML DE TODO O SISTEMA
--------------------------------- */

/* ---------------------------------
Home
--------------------------------- */
#home{
    position: fixed;
    top: 180px;
    left: 50%;
    bottom: 20px;
    width: 600px;
    margin-left: -300px;
    }
#home-img{
    width: 100%;
}
#home-text{
    position: absolute;
    top: 180px;
    left: 0px;
    right: 0px;
    bottom: 60px;
    overflow: auto;
    }
#home-text > p{
    font-family: Arial, 'sans-serif';
    font-size: 18px;
    text-align: justify;
    line-height: 160%;
    margin-bottom: 20px;
    color: #333;
    }
#home-button{
    position: absolute;
    bottom: 0px;
    right: 0px;
    left: 0px;
    height: 60px;
    }
#home-button > div{
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 200px;
    height: 40px;
    background-image: url(../images/btn-home.png);
    cursor: pointer;
    }
#home-button > div > strong{
    display: block;
    text-align: left;
    text-indent: 30px;
    line-height: 40px;
    color: #FFF;
    font-family: Arial, 'sans-serif';
    text-transform: uppercase;
    }

/* ---------------------------------
Página de Busca
--------------------------------- */
#search{
    position: fixed;
    top: 120px;
    left: 50%;
    bottom: 10px;
    width: 600px;
    margin-left: -300px;
    }
#search-field-block{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 40px;
    }
#search-field-block > div{
    position: absolute;
    left: 50%;
    top: 0px;
    bottom: 0px;
    width: 280px;
    margin-left: -140px;
    border: solid 2px #333;
    -moz-border-radius: 100px; 
    -webkit-border-radius: 100px;
    }
#search-field-block > div > input{
    font-size: 13px;
    display: block;
    position: absolute;
    width: 80%;
    left: 40px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    line-height: 20px;
    border: none;
    background: none;
    }
#search-field-block > div > svg{
    position: absolute;
    top: 9px;
    left: 9px;
    width: 18px;
    height: 18px;
    }
#search-stage{
    position: absolute;
    top: 60px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow: auto;
    }
.search-item{
    display: table;
    width: 100%;
    margin-bottom: 15px;
    cursor: pointer;
    }
.search-item-image{
    width: 180px;
    float: left;
    }
.search-item-image > img{
    width: 100%;
    }
.search-item-content{
    padding-left: 190px;
    }
.search-item-content > p{
    font-family: Arial, 'sans-serif';
    line-height: 140%;
    }
.search-item-content > p:nth-child(1){
    font-size: 12px;
    font-weight: bold;
    color: #F00;
    }
.search-item-content > p:nth-child(2){
    font-size: 13px;
    font-weight: bold;
    color: #000;
    }
.search-item-content > p:nth-child(3){
    font-size: 13px;
    color: #333;
    }

/* ---------------------------------
Content
--------------------------------- */
#content{
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 200;
    overflow: auto;
    }
#content-background{
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    z-index: 201;
    background-color: rgba(0,0,0,0.2);
    }
#content-stage{
    position: absolute;
    top: 120px;
    left: 50%;
    width: 1024px;
    margin-left: -512px;
    height: 560px;
    z-index: 202;
    background-color: #FFF;
    -moz-box-shadow: 2px 2px 8px rgba(0,0,0,0.3); 
    -webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.3); 
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    }
@media (max-height: 640px) {
    #content-stage{
        height: auto;
        bottom: 40px;
        }
    }
#content-button-close{
    position: absolute;
    top: 105px;
    left: 50%;
    margin-left: 498px;
    width: 30px;
    height: 30px;
    z-index: 203;
    background-color: #F00;
    cursor: pointer;
    -moz-border-radius: 30px; 
    -webkit-border-radius: 30px;
    -moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.3); 
    -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.3); 
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    }
#content-button-close > svg{
    margin: 7px;
    width: 16px;
    height: 16px;
    color: #FFF;
    }
#content-stage-photo{
    display: block;
    position: absolute;
    top: 20px;
    left: 40px;
    bottom: 200px;
    width: 500px;
    z-index: 203;
    opacity: 0;
    }
.slick-track {
    display: flex;
    }
.slick-track .slick-slide {
    position: relative;
    display: flex;
    height: auto;
    align-items: center;
    justify-content: center;
    background-color: #F3F3F3;
    border: solid 1px #DDDDDD;
    }
.slick-slide img {
    position: relative;
    max-height: 500px;
    max-width: 100%;
    }

.slick-slide p {
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 5px;
    font-family: 'Arial','sans-serif';
    font-size: 12px;
    background-color: #C00;
    color: #FFF;
    z-index: 99;
    }

.slick-prev:before, .slick-next:before { 
    color:red !important;
    }

#content-stage-text{
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 580px;
    z-index: 203;
    overflow: auto;
    }
#content-stage-text-period{
    font-family: 'Arial','sans-serif';
    font-size: 13px;
    font-weight: bold;
    color: #FF0000;
    }
#content-stage-text > h1{
    font-family: 'Arial','sans-serif';
    font-size: 32px;
    font-weight: normal;
    letter-spacing: -1px;
    line-height: 120%;
    margin-bottom: 20px;
    }
#content-stage-text-content{
    /*
    -moz-column-count:2; 
    -webkit-column-count:2; 
    column-count:2;
    -moz-column-gap:20px; 
    -webkit-column-gap:20px; 
    column-gap:20px;
    */
    }
    
#content-stage-text-content > *{
    font-family: 'Arial','sans-serif';
    font-size: 15px;
    line-height: 180%;
    margin-bottom: 20px;
    padding-right: 20px;
    color: #444;
    }
#content-stage-text-content-extra{
    display: block;
    padding: 20px;
    background-color: #F00;
    margin-top: 20px;
    margin-right: 20px;
    }
#content-stage-text-content-extra > p{
    font-family: 'Arial','sans-serif';
    font-size: 15px;
    line-height: 180%;
    color: #FFFFFF;
    margin-bottom: 20px;
    }
/* ---------------------------------
Post
--------------------------------- */
#post{
    position: fixed;
    top: 110px;
    left: 150px;
    right: 150px;
    bottom: 300px;
    cursor: pointer;
    }
#post-content{
    position: absolute;
    width: 580px;
    margin-left: -290px;
    left: 50%;
    top: 0px;
    bottom: 0px;
    background-color: #FFF;
    }
#post-img{
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 100px;
    left: 0px;
    text-align: center;
    }
#post-img > img{
    position: absolute;
    top: 50%;
    left: 50%;
    max-height: 100%;
    max-width: 100%;
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Safari */
    transform: translate(-50%, -50%);
    }
#post-description{
    position: absolute;
    left: 0px;
    bottom: 0px;
    right: 0px;
    height: 100px;
    background-color: #E60000;
    }
#post-description-title{
    padding: 15px;
    font-family: 'Arial','sans-serif';
    line-height: 120%;
    font-size: 15px;
    color: #fff;
    }
#post-description-arrow{
    position: absolute;
    width: 15px;
    height: 15px;
    bottom: 10px;
    right: 10px;
    color: #fff;
    }
#post-description-arrow > svg{
    width: 15px;
    height: 15px;
    }


/* ---------------------------------
Timeline
--------------------------------- */
#timeline{
    position: fixed;
    left: 100px;
    right: 100px;
    bottom: 70px;
    height: 200px;
    }

.timeline-gradient{
    position: absolute;
    top: 0px;
    bottom: 0px;
    width: 200px;
    pointer-events: none;
    z-index: 5;
    }
#timeline-gradient-left{
    left: 60px;
    background-image: linear-gradient(to right, rgba(237,237,237,1) , rgba(237,237,237,0));
    }
#timeline-gradient-right{
    right: 60px;
    background-image: linear-gradient(to left, rgba(237,237,237,1) , rgba(237,237,237,0));
    }
.timeline-arrow{
    position: absolute;
    width: 60px;
    top: 0px;
    bottom: 0px;
    cursor: pointer;
    z-index: 10;
    }
.timeline-arrow > svg{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 15px;
    margin-top: -15px;
    color: #E60000;
    }
#timeline-arrow-left{
    left: 0px;
    }
#timeline-arrow-right{
    right: 0px;
    }

#timeline-line{
    position: absolute;
    top: 50%;
    margin-top: -3px;
    height: 6px;
    width: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(179,179,179,0) 5%, rgba(179,179,179,1) 50%, rgba(179,179,179,0) 95%, rgba(0,0,0,0) 100%);
    }

#timeline-stage{
    position: absolute;
    top: 0px;
    left: 65px;
    right: 65px;
    bottom: 0px;
    overflow: hidden;
    }
#timeline-stage > div{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 20000px; /* CALCULAR VIA JAVASCRIPT */
    }
.timeline-stage-item{
    position: relative;
    display: block;
    float: left;
    width: 300px;
    height: 100%;
    cursor: pointer;
    }

.timeline-stage-item > div{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -16px 0px 0px -16px;
    border-radius: 50%;
    border: 6px solid #BDBCBC;
    display: inline-block;
    background-color: #E4E8EB;
    -moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.4); 
    -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.4); 
    box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
    transition: 0.4s;
    }
.timeline-stage-item > p{
    position: absolute;
    top: 0;
    width: 100%;
    height: 80px;
    margin-top: 120px;
    text-align: center;
    font-size: 15px;
    font-family: Arial, sans-serif;
    }
.timeline-stage-item-active > div{
    width: 30px;
    height: 30px;
    margin: -21px 0px 0px -21px;
    border: 6px solid #F00;
    display: inline-block;
    background-color: #E4E8EB;
    -moz-box-shadow: 3px 3px 7px rgba(0,0,0,0.6); 
    -webkit-box-shadow: 3px 3px 7px rgba(0,0,0,0.6); 
    box-shadow: 3px 3px 7px rgba(0,0,0,0.6);
    }
.timeline-stage-item-active > p{
    top: auto;
    bottom: 50%;
    width: 100%;
    height: auto;
    margin-top: auto;
    margin-bottom: 28px;
    line-height: 110%;
    color: #F00;
    font-size: 20px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    letter-spacing: -1px;
    }

/* ---------------------------------
Decadas - Menu
--------------------------------- */
#decadas-menu{
    position: fixed;
    width: 600px;
    height: 50px;
    margin-left: -300px;
    left: 50%;
    bottom: 0px;
    text-align: center;
    }
.decada-menu-item{
    position: relative;
    text-align: center;
    width: 8%;
    display: inline-block;
    cursor: pointer;
    }
.decada-active{
    color: #E60000;
    }
.decada-menu-item > div{
    display: block;
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -5px;
    width: 10px;
    height: 10px;
    border: 2px solid #BDBCBC;
    border-radius: 50%;
    transition: 0.3s;
    }
.decada-menu-item > p{
    margin-top: 20px;
    font-family: 'Arial','sans-serif';
    font-size: 13px;
    color: #646363;
    }
.decada-active{
    color: #F00;
    }
.decada-active > div{
    top: -10px;
    width: 20px;
    height: 20px;
    margin-left: -14px;
    border: 4px solid #F00;
    }
.decada-active > p{
    text-align: center;
    font-size: 16px
    font-weight: bold;
    color: #F00 !important;
    }

/* ---------------------------------
Conteúdo Global
--------------------------------- */
#header{
    width: 100%;
    }
#header > .content-center{
    height: 100px;
    border-bottom: 3px solid #E60000;
    }
#logo{
    position: absolute;
    bottom: 20px;
    left: 0px;
    width: 200px;
    cursor: pointer;
    }
.years-img{
    position: absolute;
    bottom: 27px;
    left: 50%;
    width: 130px;
    margin-left: -65px;
    }
.nav-title{
    position: absolute;
    right: 0px;
    bottom: 20px;
    font-family: 'Arial','sans-serif';
    font-size: 15px;
    color: #4D4D4D;
    }
.nav-search{
    position: absolute;
    top: 10px;
    right: 0px;
    padding: 5px;
    width: 150px;
    border-radius: 10px;
    border: 1px solid #4d4d4d;
    background-color: transparent;
    }
.nav-search svg{
    width: 15px;
    height: 15px;
    margin-bottom: -3px;
    color: #4d4d4d;
    cursor: pointer;
    }
.nav-search input{
    width: 125px;
    border: none;
    background-color: transparent;
    }
.nav-language{
    position: absolute;
    top: 16px;
    right: 190px;
    font-family: 'Arial','sans-serif';
    font-size: 13px;
    }
.nav-language > a{
    padding: 0 5px;
    display: inline-block;
    cursor: pointer;
    color: #666666;
    text-decoration: none;
    }
.nav-language > a:first-child{
    border-right: 2px solid #666666;
    }
.nav-language > a:hover{
    color: #FF0000;
    }

@media (max-width: 1200px) {
    #timeline{
        left: 20px;
        right: 20px;
        bottom: 70px;
        height: 200px;
        }
    .timeline-stage-item{
        width: 200px;
        }
}
@media (max-width: 1024px) {
    .timeline-stage-item{
        width: 180px;
        }
    .timeline-stage-item > p{
        font-size: 13px;
        }
    .timeline-stage-item-active > p{
        font-size: 16px;
        letter-spacing: 0px;
        }
    #content-stage{
        position: absolute;
        top: 120px;
        left: 20px;
        right: 20px;
        width: auto;
        margin-left: 0;
        }
    #content-button-close{
        left: auto;
        margin-left: 0;
        right: 5px;
        }
    #content-stage-photo{
        width: 300px;
        }
    #content-stage-text{
        left: 380px;
        }
}
@media (max-width: 840px) {

     #header{
        position: fixed;
        background-color: #fff;
        height: 50px;
        z-index: 99;
        -moz-box-shadow: 1px 1px 5px rgba(0,0,0,0.3); 
        -webkit-box-shadow: 1px 1px 5px rgba(0,0,0,0.3); 
        box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
        }
    #header > .content-center{
        height: 50px;
        border-bottom: 3px solid #E60000;
        }
    .nav-title, .nav-search input, .decadas .decada-bola{
        display: none;
        }
    .years-img {
        bottom: 10px;
        width: 100px;
        margin-left: -50px;
        }
    #logo{
        top: 12px;
        left: 12px;
        width: 120px;
        }
    .nav-search{
        top: 10px;
        right: 10px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        }
    .nav-search svg{
        width: 14px;
        padding: 3px;
        height: 14px;
        }
    .nav-language{
        position: absolute;
        text-align: center;
        top: 18px;
        bottom: auto;
        right: 40px;
        width: 140px;
        font-size: 13px;
        }
    .nav-language p{
        position: relative;
        bottom: 0px;
        font-size: 11px;
        padding: 0 5px;
    }

    #home{
        top: 100px;
        }
    #search{
        top: 80px;
        }
    .timeline-stage-item{
        width: 150px;
        }
    .timeline-stage-item > p{
        font-size: 12px;
        }
    .timeline-stage-item-active > p{
        font-size: 15px;
        }
    .timeline-gradient{
        width: 120px;
        }
    #content-stage{
        top: 70px;
        }
    #content-button-close{
        top: 55px;
        }
    #content-stage-photo{
        top: 20px;
        left: 40px;
        right: 40px;
        height: 200px;
        bottom: auto;
        width: auto;
        }
    .slick-slide img {
        max-height: 200px;
        }
    #content-stage-text{
        top: 260px;
        right: 40px;
        left: 40px;
        border: solid 1px #EEE;
        padding: 30px;
        }
    #content-stage-text-content{
        -moz-column-count:1; 
        -webkit-column-count:1; 
        column-count:1;
        -moz-column-gap:0px; 
        -webkit-column-gap:0px; 
        column-gap:0px;
        }
}
@media (max-width: 720px) {
    #home{
        top: 80px;
        left: 20px;
        right: 20px;
        bottom: 20px;
        width: auto;
        margin: 0px;
        }
    #decadas-menu{
        position: fixed;
        width: 100%;
        height: 40px;
        margin-left: 0;
        left: 0;
        }
    .decada-menu-item > p{
        margin-top: 20px;
        font-size: 12px;
        }
}
@media (max-width: 600px) {
    #home-text{
        top: 140px;
        }
    #home-text > p{
        font-size: 15px;
        }
    #search{
        left: 0;
        width: 90%;
        margin-left: 5%;
        }
    #post{
        left: 0px;
        right: 0px;
        top: 80px;
       }
    #post-content{
        width: 100%;
        margin-left: 0px;
        left: 0%;
        }
}
@media (max-width: 480px) {

    #logo {
        top: 15px;
        left: 10px;
        width: 90px;
        }
    .years-img {
        left: 110px;
        bottom: 15px;
        width: 60px;
        margin-left: 0px;
        }
    .nav-language {
        top: 18px;
        bottom: auto;
        right: 20px;
        width: 140px;
        font-size: 10px;
        }
    .nav-search {
        top: 12px;
        right: 4px;
        width: 16px;
        height: 16px;
        }
    .nav-search svg {
        width: 14px;
        padding: 1px;
        height: 14px;
        }
    #home-text{
        top: 100px;
        }
    #home-text > p{
        font-size: 13px;
        }
    #content-stage{
        top: 20px;
        bottom: 20px;
        }
    #content-button-close{
        top: 5px;
        }
     #content-stage-photo{
        height: 150px;
        }
    .slick-slide img {
        max-height: 150px;
        }
    #content-stage-text{
        top: 210px;
        right: 20px;
        left: 20px;
        padding: 20px;
        }
    #content-stage-text > h1{
        font-size: 18px;
        letter-spacing: 0px;
        margin-bottom: 10px;
        }
    #content-stage-text-content > *{
        font-size: 11px;
        margin-bottom: 10px;
        }
    #content-stage-text-content-extra > p{
        font-size: 11px;
        }
    .search-item-image{
        width: 80px;
        }
    .search-item-content{
        padding-left: 90px;
        }
    .search-item-content > p:nth-child(1){
        font-size: 13px;
        }
    .search-item-content > p:nth-child(2){
        font-size: 11px;
        }
    #post{
        position: fixed;
        top: 60px;
        left: 10px;
        right: 10px;
        bottom: 200px;
        }
    #post-img{
        bottom: 90px;
        }
    #post-description{
        height: 90px;
        }
    #post-description-title{
        padding: 10px;
        line-height: 120%;
        font-size: 12px;
        }
    #timeline{
        left: 0px;
        right: 0px;
        bottom: 40px;
        height: 160px;
        }
    .timeline-arrow{
        width: 40px;
        }
    .timeline-arrow > svg{
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 10px;
        margin-top: -10px;
        }
    #timeline-stage{
        position: absolute;
        left: 40px;
        right: 40px;
        }
    .timeline-stage-item{
        width: 120px;
        }
    .timeline-stage-item > p{
        font-size: 11px;
        }
    .timeline-stage-item-active > p{
        font-size: 12px;
        }
    .timeline-gradient{
        width: 100px;
        }
    #timeline-gradient-left{
        left: 40px;
        }
    #timeline-gradient-right{
        right: 40px;
        }
    #decadas-menu{
        height: 40px;
        }
    .decada-menu-item > p{
        margin-top: 10px;
        font-size: 9px;
        }
    .decada-menu-item > div{
        margin-left: -3px;
        width: 6px;
        height: 6px;
        }
    .decada-active > div{
        top: -5px;
        width: 10px;
        height: 10px;
        margin-left: -7px;
        border: 2px solid #F00;
        }
}
@media (max-width: 320px) {

}