

/*---------------------- Background title -----------------------*/

.resultscontainer.individual h6 {
    background: url('../img/resultsbox_individual_bg.png') repeat-x;
}

.resultscontainer.mountain h6 {
    color: #282828 !important;
    height: 25px;
    margin-bottom: 3px;
    background: url('../img/resultsbox_mountain_bg.png') repeat-x;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#c50668+0,271b1f+35,271b1f+65,0592ac+100 */
   
}

.resultscontainer.mountain h6 a {
    color: #282828;
}

.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 {
    background: url('../img/resultsbox_youth_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 {
    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 {
    background: url('../img/resultsbox_youth_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 {
    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 {
    background: url('../img/resultsbox_youth_after.png') no-repeat;
}
.resultscontainer.stageranking h6::after {
    background: url('../img/resultsbox_team_after.png') no-repeat;
}


.resultscontainer.mountain .title {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#d1006a+0,b7005d+100 */
    background: #f73449; /* Old browsers */
    background: -moz-linear-gradient(to bottom, #f73449, #f82b3f, #f82135, #f8162a, #f7041e); /* FF3.6-15 */
    background: -webkit-linear-gradient(to bottom, #f73449, #f82b3f, #f82135, #f8162a, #f7041e); /* Chrome10-25,Safari5.1-6 */
    background:  linear-gradient(to bottom, #f73449, #f82b3f, #f82135, #f8162a, #f7041e);/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}


#detail_Athlete_window .popup .athletePicture {
    display: none;
}

#detail_Athlete_window .popup H2 {
    margin-left: 0;
}

section.stage .resultscontainer.top table {
    width: 80%;
    margin: 10px auto;
}

.overall .resultscontainer.top .athletePicture {
    background-position: 15px 0;
}

.side .resultscontainer .titre.mountain td:first-of-type span, .side .resultscontainer td.titre.mountain span {
    border-left: 8px solid #d1006a;
}

@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;
    }


}

