

/*---------------------- Background title -----------------------*/

.resultscontainer.individual h6 {
    background: url('../img/resultsbox_individual_bg.png') repeat-x;
}

.resultscontainer.mountain h6 {
    background: #f6eeec url('../img/resultsbox_mountain_bg.png') right top no-repeat;
    height: 25px;
    margin-bottom: 3px;
}

.resultscontainer.sprint h6 {
    background: url('../img/resultsbox_sprint_bg.png') repeat-x;
}

.resultscontainer.team h6, a.hide_last_5_events, .resultscontainer.winner h6, .resultscontainer.competitive h6, .resultscontainer.bonification h6 {
    background: url('../img/resultsbox_team_bg.png') repeat-x;
}

.resultscontainer.youth h6, .resultscontainer.young h6, .resultscontainer.combined h6 {
    background: url('../img/resultsbox_combined_bg.png') repeat-x;
}
.resultscontainer.stageranking h6 {
    background: url('../img/resultsbox_team_bg.png') repeat-x;
}

.resultscontainer h6::before, a.hide_last_5_events::before {
    content: "";
    display: block;
    float: left;
    width: 16px;
    height: 26px;
    margin: -1px 0 0 -15px;
}

.resultscontainer.individual h6::before {
    background: url('../img/resultsbox_individual_before.png') no-repeat;
}

.resultscontainer.mountain h6::before {
    width: 37px;
    background: url('../img/resultsbox_mountain_before.png') no-repeat;
}

.resultscontainer.sprint h6::before {
    background: url('../img/resultsbox_sprint_before.png') no-repeat;
}

.resultscontainer.team h6::before, a.hide_last_5_events::before, .resultscontainer.winner h6::before, .resultscontainer.competitive h6::before, .resultscontainer.bonification h6::before {
    background: url('../img/resultsbox_team_before.png') no-repeat;
}

.resultscontainer.youth h6::before, .resultscontainer.young h6::before, .resultscontainer.combined h6::before {
    background: url('../img/resultsbox_combined_before.png') no-repeat;
}

.resultscontainer.stageranking h6::before {
    background: url('../img/resultsbox_team_before.png') no-repeat;
}

.resultscontainer h6::after, a.hide_last_5_events::after {
    content: "";
    display: block;
    float: right;
    width: 16px;
    height: 26px;
    margin: -1px -15px 0 0;
}
  a.hide_last_5_events::before, a.hide_last_5_events::after { margin-top: -3px; }

.resultscontainer.individual h6::after {
    background: url('../img/resultsbox_individual_after.png') no-repeat;
}

.resultscontainer.mountain h6::after {
    width: 36px;
    background: url('../img/resultsbox_mountain_after.png') no-repeat;
}

.resultscontainer.sprint h6::after {
    background: url('../img/resultsbox_sprint_after.png') no-repeat;
}

.resultscontainer.team h6::after, a.hide_last_5_events::after, .resultscontainer.winner h6::after, .resultscontainer.competitive h6::after, .resultscontainer.bonification h6::after {
    background: url('../img/resultsbox_team_after.png') no-repeat;
}

.resultscontainer.youth h6::after, .resultscontainer.young h6::after, .resultscontainer.combined h6::after {
    background: url('../img/resultsbox_combined_after.png') no-repeat;
}
.resultscontainer.stageranking h6::after {
    background: url('../img/resultsbox_team_after.png') no-repeat;
}

.resultscontainer.mountain .title {
    background: #423c72;
    background: -moz-linear-gradient(top, #423c72 0%, #262c66 100%);
    background: -webkit-linear-gradient(top, #423c72 0%, #262c66 100%);
    background: linear-gradient(to bottom, #423c72 0%, #262c66 100%);
}

#detail_Athlete_window .popup H2 {
    margin-left: 135px;
}


.overall .resultscontainer.top .athletePicture {
    background-position: 15px 0;
}

.resultscontainer.top .athletePicture, #detail_Athlete_window .athletePicture {
    bottom: 0;
}

section.stage section.overalltop .resultscontainer td.jersey {
    visibility: hidden;
}


@media (max-width: 670px) {

    #detail_Athlete_window .popup H2 {
        width: 100%;
        margin-top: 25px;
        display: inline;
        float: none;
    }
        #detail_Athlete_window .popup H2::before {
            display: block;
            content: "";
            height: 20px;
        }
    
    .overall .resultscontainer.top .athletePicture {
        background-position: 5px 0;
    }

    #detail_Athlete_window .popup .flag, #detail_Athlete_window .popup .bib, #detail_Athlete_window .popup .jersey {
      margin-left: 0;
  }

}

@media (max-width: 1000px) and (min-width: 670px) {

  .navStage .navLeft, .navStage .navRight {
      width: 4%;
  }
  
  .navStage .navLeft li.prev, .navStage .navRight li.next {
      width: 82%;
  }
  
  .navStage .navCurrent {
      width: 92%;
  }

  .overall .resultscontainer.top .athletePicture {
    background-position: 0 0;
}

}