/*******************
 *  Main Structure *
 ******************/
.timeline-container, .swiper-container{
    width: 100%;
    max-width: 1440px;
    min-width: 1000px;
    height: 550px;
    z-index: 0;
    /*margin-top: 70px;*/
}
.timeline{
    background-size: cover;
    position: absolute;
    overflow: hidden;
    width: 100%;
    min-width: 1000px;
    height: 550px;
    margin: auto; 
    z-index: 0;
}

#timeline-slider{
    position: relative;
    left: 0px;
    width: 5000px;
    display: table;
    margin-top: 100px;
    height: 300px;
    z-index: 0;
}
#timeline-dates-line{
    width: 100%;
    height: 1px;
    top: 10px;
    background-color: #b0aaa6;
    position: relative;
    opacity: 0.9;
    margin-top: 30px;
    z-index: 0;
}
#timeline-dates-container{
    overflow: hidden;
    width: 600px;
    margin: 0 auto;
    height: 100px;
}



/*********************************
   General Timeline Items
**********************************/
.timeline-item{
    /*float: left;
    margin-left: 20px;*/
    border: 1px solid #666;
    box-shadow: 1px 4px 5px #333;
    border-radius: 15px;
    position: relative;
}

.timeline-item span.fundo{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('../imgs/eventoSombra.png') repeat-x bottom;
}
.timeline-item .timeline-item-content{
    width: 130px;
    position: absolute;
    top: 126px;
    left: 10px;
}
.timeline-item.active .timeline-item-content{
    width: 166px;
    position: absolute;
    top: 120px;
    left: 10px;
}
.timeline-item .timeline-item-content p{
    width: 100%;
    float: left;
    font-family: 'thesansrio2016bold';
    color: #ffffff;
    font-size: 1.12em;
    text-align: left;
}

.timeline-item.active .timeline-item-content p{
    width: 100%;
    float: left;
    font-family: 'thesansrio2016bold';
    color: #ffffff;
    font-size: 1.5em;
    text-align: left;
}
.timeline-item-content-img-cont{
    width: 100%;
    height: 92%;
    overflow: hidden;
}
.timeline-item .timeline-date-content{
    position: absolute;
    top: 139px;
    right: 0px;
    width: 80px;
}
.timeline-item.active .timeline-date-content{
    position: absolute;
    top: 139px;
    right: 10px;
    width: 110px;
}
.timeline-item .timeline-date-content .pData{
    width: 30px;
    float: left;
}
.timeline-item.active .timeline-date-content .pData{
    width: 40px;
    float: left;
}
.timeline-item .timeline-date-content p.tdcDia{
    display: block;
    float: left;
    width: 30px;
    font-family: 'thesansrio2016light';
    color: #ffffff;
    font-size: 2em;
    text-align: left;    
    margin: 0;
    padding: 0;
    line-height: 41px;
}
.timeline-item.active .timeline-date-content p.tdcDia{
    display: block;
    float: left;
    width: 30px;
    font-family: 'thesansrio2016light';
    color: #ffffff;
    font-size: 3em;
    text-align: left;    
    margin: 0;
    padding: 0;
    line-height: 41px;
}
.timeline-item .timeline-date-content p.tdcMes{
    display: block;
    float: left;
    width: 40px;
    font-family: 'thesansrio2016bold';
    color: #ffffff;
    font-size: 0.68em;
    text-align: left; 
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}
.timeline-item.active .timeline-date-content p.tdcMes{
    display: block;
    float: left;
    width: 40px;
    font-family: 'thesansrio2016bold';
    color: #ffffff;
    font-size: 0.9em;
    text-align: left; 
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}
.timeline-item .timeline-date-content p.tdcMenos{
    display: block;
    float: left;
    width: 15px;
    font-family: 'thesansrio2016light';
    color: #ffffff;
    font-size: 2em;
    text-align: center;
    line-height: 40px;
    margin: 0px;  
}
.timeline-item.active .timeline-date-content p.tdcMenos{
    display: block;
    float: left;
    width: 10px;
    font-family: 'thesansrio2016light';
    color: #ffffff;
    font-size: 3em;
    text-align: center;
    line-height: 40px;
    margin: 0 10px;  
}

/* item image */
.item-image{
    height: 210px;
    width: 393px;
    opacity: 0.9;
    overflow: hidden;
}
.item-image.active {
    width: 562px !important;
    height: 300px !important;
    margin-top: -50px;
}
@media screen and (max-width: 960px){
    .item-image {
        width: 320px !important;
    }
    .item-image.active {
        width: 320px !important;
    }   
}

.item-image.active .timeline-item-content{
    top: 206px;
    width: 400px;
}
.item-image.active .timeline-date-content{
    top: 219px;
}
.item-image .title{
    width: 100%;
    float: left;
    font-family: 'thesansrio2016light';
    color: #ffffff;
    font-size: 0.68em;
    text-align: left;
    text-transform: uppercase;
}
.item-image.active span.fundo{
    width: 100%;
    height: 100%;
    background-position: bottom;
}
.timeline-item .timeline-item-content p{
    width: 100%;
    float: left;
    font-family: 'thesansrio2016bold';
    color: #ffffff;
    font-size: 1.12em;
    text-align: left;
}

.timeline-item.active .timeline-item-content p{
    width: 100%;
    float: left;
    font-family: 'thesansrio2016bold';
    color: #ffffff;
    font-size: 1.5em;
    text-align: left;
}
.item-image img{
    height: 100%;
    width: 100%;
}
.item-image .timeline-item-content{
    text-align: center;
     width: 400px;
}


/*********************************
   Dates
**********************************/
#timeline-dates{
    height: 50px;
    line-height: 30px;
    position: relative;
    z-index: 1; 
}
.date-container{
    float: left;
    display: table;
    height: 50px;
    color: black;
}
#timeline-dates li:hover{
    cursor: pointer;
}
.pointer-date{
    float: left;
    height: 20px;
    width: 6px;
    position: relative;
}

.pointer-date-separator{
    float: left;
    height: 16px;
    width: 20px;
}
.date{
    float: left;
    width: 20px;
    margin-left: -20px;
    cursor: pointer;
    font-size: 1.12em;
    color: #ffffff;
    text-decoration: none;
    font-family: 'thesansrio2016bold';
}
.date:hover{
    color: #ffd941;
    text-decoration: none;
}
.date-focus{
    color: #ffd941;
    text-decoration: none;
}

/***************************************/
.arrow{
    position: relative;
    width: 60px;
    opacity: 0.4;
    z-index: 5;
    height: 100%;
    line-height: 100%;
}
.arrow span{
    display: block;
    margin-top: 200px;
    font-size: 50px;
    color: black;
}
.arrow:hover{
    opacity: 0.7;
    cursor: pointer;
}
#backward.arrow{
    position: absolute;
    top: 0px;
    left: 20px;
    background: url('../imgs/setaCalL.png') no-repeat center center;
    opacity: 0.6;
}
#backward.arrow:hover{
    opacity: 1;
}
#forward.arrow{
    position: absolute;
    top: 0px;
    right: 20px;
    background: url('../imgs/setaCalR.png') no-repeat center center;
    opacity: 0.6;
}
#forward.arrow:hover{
    opacity: 1;
}
#middle{
    height: 1px;
    width: 1px;
    /*margin: auto;*/
    position: absolute;
    color: yellow;
}
