#resultat {
    display: block;
    text-align: center;
    opacity: 1;
}

#resultat .classement {
    width: 100%;
    box-sizing: border-box;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#resultat .classement .item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: 0.5s;
}

#resultat .classement .item .classe {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #666;
    color: #FFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    font-family: open_sansbold, sans-serif;
    font-size: 18px;
}

#resultat .classement .item.Ap .classe {
    border-radius: 0 5px 5px 0;
    background: #00822C;
}

#resultat .classement .item.A .classe {
    background: #4b9833;
}

#resultat .classement .item.B .classe {
    background: #79b52e;
}

#resultat .classement .item.C .classe {
    background: #c8d228;
}

#resultat .classement .item.D .classe {
    background: #ffee31;
}

#resultat .classement .item.E .classe {
    background: #fccb2d;
}

#resultat .classement .item.F .classe {
    background: #f39939;
}

#resultat .classement .item.G .classe {
    border-radius: 5px 0 0 5px;
    background: #e44b23;
}


#resultat .color_test {
    color: #55aa09;
}

#resultat .color_test {
    color: #d11800;
}

#resultat .classement .item .label {
    color: #959595;
}

#resultat .classement .item.G .score,
#resultat .classement .item.G .label {
    margin-left: 32px;
}

#resultat .classement .item.G .score {
    margin-right: 27px;
}


#resultat .classement .item.max {
    transform: scale(1.5);
    z-index: 10;
}

#resultat .classement .item.max .classe {
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}


#resultat .classement .item .label {
    position: absolute;
    bottom: -15px;
    display: none;
    font-family: open_sansbold, sans-serif;
    text-transform: uppercase;
    font-size: 8px;
    text-align: center;
    white-space: nowrap;
}

#resultat .classement .item.max .label {
    display: block;
}

#resultat .classement .item .score {
    position: absolute;
    color: #959595;
    width: 100%;
    text-align: right;
    top: -10px;
    display: none;
    font-family: open_sansbold, sans-serif;
    font-size: 7px;
    box-sizing: border-box;
    padding-right: 5px;
    /*text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);*/
}

#resultat .classement .item.max .score {
    display: block;
}


#resultat .scores {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    position: relative;
    margin-top: 60px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    padding: 0 20px 0 20px;
    /*padding-right: 10px;*/
}


#resultat .scores .theme {
    position: relative;
    width: 100px;
    transition: 0.3s;
    cursor: pointer;
    margin: 10px 5px 5px 5px;
}

#resultat .scores .theme.small {
    transform : scale(0.5);
    position: relative;
    width: 50px;
    transition: 0.3s;
    cursor: pointer;
    margin: 5px 5px 5px 5px;
}

#resultat .scores .theme:hover {
    transform: scale(1.1);
}

#resultat .scores .theme .ball {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#resultat .scores .theme .ball svg {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 100%;
    height: 100%;*/
}

#resultat .scores .theme .ball .values_center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#resultat .scores .theme .ball .values_center .classe {
    font-family: open_sansbold, sans-serif;
    font-size: 35px;
    color: #9b9a9a;
}

#resultat .scores .theme .ball .values_center .value {
    font-family: open_sansregular, sans-serif;
    font-size: 10px;
    color: #979797;
    margin-top: -7px;
}




#resultat .scores .theme .titre {
    font-family: open_sansbold, sans-serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
    margin-top: 9px;
    color: #696969;
}



#resultat .scores #evolution .value {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    /*background: rgba(255,255,255,0.1);*/
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1s;
}


#resultat .scores #evolution .value img {
    width: 70px;
}


#resultat .theme_info {
    margin-top: 25px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-family: open_sansbold, sans-serif;
    font-size: 12px;
    color: #a7a7a7;
}

#resultat .theme_info img {
    width: 25px;
    margin-right: 5px;
    opacity: 0.6;
}


#resultat .scores_info {
    margin-top: 5px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-family: open_sansbold, sans-serif;
    font-size: 11px;
    color: #6c6c6c;
}


#resultat .theme_panel {
    width: 450px;
    display: inline-block;
    vertical-align: top;
    align-content: center;
    border-radius: 10px;
    opacity: 1;
    background: rgba(250, 250, 250, 0.9);
    align-items: center;
    color: #888888;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    padding-bottom: 20px;
    margin-bottom: 10px;
    text-align: left;
}

#resultat .double_panel {
    width: 900px;
    display: inline-block;
    vertical-align: top;
    align-content: center;
    border-radius: 10px;
    opacity: 1;
    background: rgba(250, 250, 250, 0.9);
    align-items: center;
    color: #888888;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    padding-bottom: 20px;
    margin-bottom: 10px;
    text-align: left;
}

#resultat .double_panel_a4 {
    width: 900px;
    max-height: 1400px;
    display: inline-block;
    vertical-align: top;
    align-content: center;
    border-radius: 10px;
    opacity: 1;
    background: rgba(250, 250, 250, 0.9);
    align-items: center;
    color: #888888;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    padding-bottom: 20px;
    margin-bottom: 10px;
    text-align: left;
}


#resultat .theme_panel.visible {
    opacity: 1;
}



#resultat .theme_panel .name {
    position: relative;
    margin-top: 45px;
    margin-left: 36px;
    font-family: open_sansbold, sans-serif;
    font-size: 30px;
    color: #1d406b;
    width: 100%;
}


#resultat .theme_panel .contributions {
    position: relative;
    margin-top: -5px;
    margin-left: 36px;
    font-family: open_sansregular, sans-serif;
    font-size: 12px;
    color: #808080;
    width: 100%;
}

#resultat .theme_panel .contributions .value {
    font-family: open_sansbold, sans-serif;
    font-size: 16px;
    color: #9b9b9b;
}


#resultat .theme_panel .title {
    position: relative;
    margin-top: 30px;
    width: 100%;
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    font-family: open_sansbold, sans-serif;
    color: #666666;
}


#resultat .theme_panel .content {
    position: relative;
    padding: 5px 30px 20px 30px;
    margin-top: 20px;
}

#resultat .theme_panel .content .question {
    position: relative;
    margin-top: 50px;
}

#resultat .theme_panel .content .question:first-child {
    margin-top: 0;
}


#resultat .theme_panel .content .question .line1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#resultat .theme_panel .content .question .line1 .text {
    font-family: open_sansregular, sans-serif;
    font-size: 14px;
    flex: 1;
    margin-right: 20px;
    color: #4c4c4c;
}


#resultat .theme_panel .content .question .scale {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

#resultat .theme_panel .content .question .scale .back {
    position: relative;
    width: 100%;
    height: 25px;
    background: #ebebeb;
    display: flex;
}


#resultat .theme_panel .content .question .scale .gauge {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 25px;
    flex: 1;
    transition: 1.5s;
}

#resultat .theme_panel .content .question .scale .gauge.off {
    width:0!important;
}

#resultat .theme_panel .content .question .scale .value {
    position: absolute;
    top: 0;
    left: 0;
    font-family: open_sansbold, sans-serif;
    font-size: 18px;
    color: #8a8a8a;
    transition: 1.5s;
}

#resultat .theme_panel .content .question .scale .value.off {
    left: 0!important;
}


#resultat .theme_panel .content .question .scale .index_line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#resultat .theme_panel .content .question .scale .index_line .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#resultat .theme_panel .content .question .scale .index_line .item .stroke {
    height: 25px;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
}


#resultat .theme_panel .content .question .scale .index_line .item .number {
    font-family: open_sansbold, sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.1);
}

#resultat .theme_panel .content .question .scale .labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 3px;
}

#resultat .theme_panel .content .question .scale .labels .item {
    font-family: open_sansbold, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    color: #909090;
}

#resultat .theme_panel .content .question.progression .line1 {
    width: 100%;
}

#resultat .theme_panel .content .question.progression .line1 .text {
    text-align: center;
    margin-right: 0;
    font-size: 15px;
}

#resultat .theme_panel .content .question.progression .scale {
    position: relative;
    margin-top: 20px;
    width: 100%;
    height: 30px;
    border-radius: 5px;
}

#resultat .theme_panel .content .question.progression .scale .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 53%;
    height: 30px;
    background: #fbfbf9;
}


#resultat .theme_panel .content .question.progression .scale .mask.mask_left {
    transform-origin: right bottom;
    transform: rotate(6deg);
    top: -8px;
    left: -3%;
}

#resultat .theme_panel .content .question.progression .scale .mask.mask_right {
    left: 50%;
    top: -8px;
    transform-origin: left bottom;
    transform: rotate(-6deg);
}

#resultat .theme_panel .content .question.progression .scale .back_left,
#resultat .theme_panel .content .question.progression .scale .back_right {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #e7e7e7;
    border-radius: 0 0 0 5px;
}


#resultat .theme_panel .content .question.progression .scale .back_right {
    left: 50%;
    border-radius: 0 0 5px 0;
}

#resultat .theme_panel .content .question.progression .scale .gauge {
    position: absolute;
    top: 0;
    height: 100%;
}

#resultat .theme_panel .content .question.progression .scale .value_evo {
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: open_sansbold, sans-serif;
    font-size: 25px;
    color: #707070;
    z-index: 1;
}


#resultat .theme_panel .content .question.progression .scale .gauge.red {
    background: #E11900;
}

#resultat .theme_panel .content .question.progression .scale .gauge.green {
    background: #BAFF1A;
}

#resultat .theme_panel .content .question.progression .scale .back {
    background: linear-gradient(to right, rgb(234, 33, 0), #ab1800 50%, #72a500 50%, rgb(156, 225, 0));
    border-radius: 3px;
}


#resultat .theme_panel .content .question.progression .index_line {
    justify-content: center;
}

#resultat .theme_panel .content .question.progression .index_line .item .stroke {
    background: #FFF;
    width: 2px;
}


#resultat .theme_panel .content .question.progression .pointer {
    position: absolute;
    left: 0;
    top: -17px;
    width: 16px;
    transform: rotate(180deg);
}

#resultat .theme_panel .content .question.progression .labels {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}

#resultat .theme_panel .content .question.progression .labels .item {
    font-family: open_sansbold, sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    color: #707070;
}


#resultat a {
    text-decoration: none;
}

#resultat .buttons {
    margin-top: 0;
}

#resultat .buttons .subtitle {
    font-family: open_sansbold, sans-serif;
    font-size: 14px;
    margin-top: 25px;
    text-align: center;
}

#resultat .buttons .subtexte {
    font-size: 12px;
    padding: 0 20px 0 20px;
    color: #979797;
    margin-top: 3px;
    text-align: center;
}


#resultat .buttons .line {
    display: flex;
    justify-content: center;
    width: 100%;
}

#resultat .buttons .button {
    background: #333;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    border-radius: 5px;
    padding: 8px 15px 8px 15px;
    box-sizing: border-box;
    width: 50%;
    cursor: pointer;
    transition: 0.3s;
}

#resultat .buttons .button:hover {
    transform: scale(1.1);
}

/*
#resultat .buttons .button.carto {
    flex-direction: column;
}
 */

#resultat .button.carto {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #008bb5;
    border-radius: 5px;
    color: #FFF;
    padding: 5px 15px 5px 15px;

    .icon {
        width: 20px;
        margin-right: 10px;
    }
}

#resultat .button.opendata {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #344348;
    border-radius: 5px;
    color: #FFF;
    padding: 5px 15px 5px 15px;

    .icon {
        width: 20px;
        margin-right: 10px;
    }
}

#resultat .buttons .button.carto .icon {
    margin-right: 0;
    margin-bottom: 3px;
}

#resultat .buttons .button.opendata .icon {
    margin-right: 0;
    margin-bottom: 3px;
}


#resultat .buttons .button.synthese .label,
#resultat .buttons .button.rapports .label {
    font-size: 14px;
}

#resultat .buttons .button .icon {
    width: 30px;
    margin-right: 15px;
}

#resultat .buttons .button .label {
    font-family: open_sansbold, sans-serif;
    font-size: 13px;
    text-align: center;
}

#resultat .buttons .button.carto {
    background: #186179;
}

#resultat .buttons .button.synthese {
    background: #642d7a;
}

#resultat .buttons .button.download {
    background: #a46e35;
}

#resultat .buttons .button.rapports {
    background: #495b7b;
}


#resultat .theme_panel#evolution_panel .content {
    /*margin-top: 65px;*/
    width: 100%;
    box-sizing: border-box;
}


#resultat .theme_panel#evolution_panel .content .title {
    margin-top: 30px;
    margin-bottom: 5px;
}

#resultat .theme_panel#evolution_panel .content .title:first-child {
    margin-top: 0;
}

#resultat .theme_panel#evolution_panel .content .question {
    margin-top: 20px;
}

#evolution_panel .bars {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

#evolution_panel .bars .item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
    margin-top: 10px;
}

#evolution_panel .bars .item .bar {
    width: 40px;
    border-radius: 3px 3px 0 0;
}

#evolution_panel .bars .item .year {
    font-family: open_sansbold, sans-serif;
    margin-top: 3px;
}

#evolution_panel .bars .item .label {
    font-family: open_sansbold, sans-serif;
}

#evolution_panel .question.evol_scores_years {
    margin-top: 50px!important;
}

#evolution_panel .question.evol_scores_years .labels .item {
    font-family: open_sansbold, sans-serif!important;
    font-size: 13px!important;

}

#evolution .ball .value {
    font-family: open_sansbold, sans-serif!important;
    font-size: 24px;
}

#evolution .ball .value .per_cent {
    font-family: open_sansregular, sans-serif!important;
    font-size: 17px;
    padding-bottom: 3px;
}



body.mobile #resultat {
    transform: scale(1);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

body.mobile #resultat .theme_panel {
    border-radius: 0;
    background: rgb(250,250,250);
}

body.mobile #resultat .theme_panel .classement {
    transform: scale(0.9);
}

