#season-timeline{
    display: block;    
    max-height: auto;
    text-align: center;        
}

#timeline-wrapper{
    display: inline-block;    
    position: relative;
    width: 100%;
    max-width: 600px;        
    padding: 30px 0px;
}


.timeline-queen{
    display: inline-block;
    position: absolute;
    width: 42px;
    height: 42px;
    top:0px;
    opacity: 0;
}


.timeline-queen:hover{
    z-index: 102;
}

.timeline-queen .imageWrapper{
    display: flex;
    margin: 0px;
    height:40px;
    width: 40px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background-color: #aa249c;    
    display: inline-block;
    border-radius: 50%;
    border:2px solid #f1efe8;
    -webkit-box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.5); 
    transition: width 2s, height 2s, border-color 1s, transform 2s;
    position: absolute;
    top:0px;
    left: 0px;
    z-index: 1;
}

.timeline-queen .imageWrapper img {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.timeline-queen img.crown {
    position: absolute;
    top: -7px;
    left: -14px;
    width: 25px;
    opacity: 0;  
    transition: opacity 1s, height 2s, border-color 1s, transform 2s;  
}

.timeline-queen .category{
    background-color: #f9ba00;
    color: #160e1f;
    padding: 5px 10px;
    border-radius: 10px;
    position: absolute;
    left:10px;
    top:10px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    z-index: 0;
    opacity: 0;
    font-size:12px;
    width:50px;
    -webkit-box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.5); 
}

.timeline-queen .background{
    position: absolute;
    width: 42px;
    height: 42px;
    top:0px;
    left:0px;    
    opacity: 0;
    transition: opacity 1s, height 2s, border-color 1s, transform 2s;  
    background-color: #f9bb00b0;
    border-radius: 50%;
}
.grid {
    width: 70px;
    height: 70px;
    margin-left: 5px;
    margin-top: 5px;
    position: absolute;
    top: -17px;
    left: -19px;
    border-radius: 50%;  
    overflow: hidden;      
}
.grid .el {    
    width:4px;
    height:4px;
    background-color: #f5f900;      
    margin: 0;
    padding: 0;    
    border-radius: 50%;
    display: inline-block;
    opacity: 0;
}


#timeline-episodes-wrapper{    
    width: 100%;
    overflow: hidden;
    border-radius: 20px;    
}

.timeline-episode {
    display: inline-block;  
    width: 96%;  
    color:#f1efe85f;
    padding: 5px 2%;    
    background-color: #18052f9b;    
    font-size: 12px;
    margin-bottom: 3px;
    height:30px;
    transition: background-color 1s, transform 2s;
    position: relative;  
}

.timeline-episode.active {
    background-color: #3911699b;
}

.timeline-episode span.number {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    float: right;   
    padding-top:5px; 
    color:#ff01de;
    text-align: center;
    height: 60%;
}

.timeline-episode b{
    font-weight: 100;
    opacity: 0.8;
    padding-top: 6px;
    display: inline-block;
    padding-bottom: 9px;
}

a.btn.restart {
    font-size: 20px;
    padding: 6px 14px;    
    cursor: pointer;
    transition: opacity 0.5s, height 2s, border-color 1s, transform 2s;     
}

a.btn.timeline-results{
    font-size: 20px;
    padding: 6px 14px;    
    cursor: pointer;
    transition: opacity 0.5s, height 2s, border-color 1s, transform 2s;     
}

a.btn.again {
    font-size: 20px;
    padding: 6px 14px;    
    cursor: pointer;
    transition: opacity 0.5s, height 2s, border-color 1s, transform 2s; 
    background-color: #aa249c;    
}

.timeline-footer{
    display: block;
    text-align: center;
}

.timeline-footer .btn {
    margin: 0px 5px;
}

.tabs {
    display: block;
    text-align: center;    
    padding-top: 20px;
    position: relative;
}

.tabs .tab {
    display: inline-block;
    padding: 3px 20px;
    color:#f1efe8;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 25px;    
    font-weight: 100;   
    cursor: pointer; 
    min-width:80px;
}

.tabs-content{
    position: relative;
    display: block;
    width: 100%;    
    transition: opacity 1s, height 1s, border-color 1s, transform 2s;     
    min-height: 400px;
}

.tab-content {
    position: absolute;
    display: block;
    top:0px;
    left: 0px;    
    opacity: 0;
    transition: opacity 0.2s, height 2s, border-color 1s, transform 2s; 
    width: 100%;
    z-index: 1;
    padding-bottom:20px;
}

.tab-content.active{    
    opacity: 1;
    z-index: 2;
}

.tabs .tab.active {
    border-bottom: 3px solid #ff01de;
    font-weight: bold;    
}

.tab#results {
    display: none;
}

#season-results{
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
    text-align: center;
}

#results-content{
    display: none;    
}

.results-queen{     
    width: 42px;
    height: 42px;    
    float: left;
    margin-right: 5px;
}

.results-queen .imageWrapper{
    display: flex;
    margin: 0px;
    height:40px;
    width: 40px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background-color: #aa249c;    
    display: inline-block;
    border-radius: 50%;
    border:2px solid #f1efe8;
    -webkit-box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.5); 
    transition: width 2s, height 2s, border-color 1s, transform 2s;   
}

.results-queen .imageWrapper img {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit:cover;
}

#results-queens .position{    
    width: 30px;
    height: 30px;    
    padding: 4px;  
    float: left; 
    margin-top: 2px;   
}



#results-queens .position img{
    display: inline-block;
    width: 100%;
    height: 100%;
}

.resutls-queen-row {
    display: block;
    padding: 5px;
    border-radius: 20px;
}

.resutls-queen-row:hover{
    opacity: 0.9;
}

.resutls-queen-row.even {
    background-color:#160e1f;
}

.resutls-queen-row.odd {
    background-color:#420f7dbc;
}

.position_refs {    
    padding: 10px;
    text-align: center;
    background-color: #160e1f;
    margin: 10px 0px;
    display: inline-block;
    width: 100%;
}

.position_ref{
    display: inline-block;
    width: 100px;
    height: 20px;
    padding: 5px;
    color:#f1efe8;
    text-align: left;
}

.position_ref img {
    float: left;
    width: 20px;
    height: 20px;
}

.position_ref span {
    display: inline-block;
    padding-left: 5px;
}

#episodesHeader {    
    padding-left: 54px;
    text-align: left;
}

#episodesHeader span {
    color:#f1efe8;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 20px; 
    width: 38px;
    text-align: center;
    display: inline-block;
}

#resultsWrapper {
    width: 600px;
    display: inline-block;
}

#timeline-footer .btn.timeline-back{
    margin: 10px 0px;
}

#episode-details-container{
    position: absolute;    
    display: inline-block;        
    width: 94%;
    max-width: 600px;        
    padding: 3% 0px;
    z-index: 10;
    opacity:0;
    transition: top 0.5s, left 0.5s, opacity 0.5s, transform 0.5s;    
}

.episode-details{
    display: flex;            
    width: 96%;
    max-width: 500px;  
    background-color: #811263cc;
    border-radius: 10px;      
    height: 53px;           
    position:absolute;
    z-index: 1000;
    padding: 2%;   
    box-shadow: 5px 5px 29px -21px rgba(0,0,0,0.75); 
}

.episode-details div:last-child {
    margin-left: auto;
}

.lipsnycassassin{
    display: flex;        
    padding: 5px 0px;    
    text-align: left;
    padding-left: 10px;         
}

.lipsnycassassin .title {
    display: inline-block;
    height: 40px;
    padding-left: 10px;
    padding-top: 6px;
    color:#f1efe8b9;
    font-size: 12px;
    line-height: 19px;
}

.lipsyncsong{
    padding-top: 10px;
    text-align: right;
    padding-right: 10px;
    color:#f1efe8b9;
    font-size: 12px;
    line-height: 19px;
}

.lipsyncsong .name, .lipsnycassassin .title .name{
    color:#FFF;
    font-weight: 400;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 16px; 
}

.assassin-queen {
    display: inline-block;    
    width: 42px;
    height: 42px;        
}



.assassin-queen .imageWrapper{
    display: flex;
    margin: 0px;
    height:40px;
    width: 40px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background-color: #aa249c;    
    display: inline-block;
    border-radius: 50%;
    border:2px solid #f1efe8;
    -webkit-box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.5); 
    transition: width 2s, height 2s, border-color 1s, transform 2s;    
}

.assassin-queen .imageWrapper img{
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit:cover;
}

#timeline-btns{
    display: none;
    opacity: 0;
    transition: opacity 1s, transform 1s; 
}