﻿@charset "utf-8";
/* CSS Document */

/************************************************ICOMOON**********************************************************************/


/********************************************************************************************************************

*/
ul.gevi-tab {
    border-bottom: 5px solid #257fb2;
    padding-bottom: 8px;
    margin-left: 0;
}

ul.gevi-tab li {
    padding: 0;
    display: inline-block;
    margin-right: 10px;
}

ul.gevi-tab li a {
    display: inline-block;
    padding: 10px 15px;
    background: #e7e7e7;
    color: #257fb2;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

ul.gevi-tab li a.active {
    background: #257fb2;
    color: #ffffff;
}

.tab-nominatifs,
.tab-suffrages {
    min-height: 600px;
}

/* The switch - the box around the slider */
.switch-checkbox {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 0 15px;
    vertical-align: middle;
}

/* Hide default HTML checkbox */
.switch-checkbox input {
    display: none;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #257fb2;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(28px);
    -ms-transform: translateX(28px);
    transform: translateX(28px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


/**********************************************************************************************************************

  _____________   ____________               _____      _____ __________
 /   _____/\   \ /   /  _____/              /     \    /  _  \\______   \
 \_____  \  \   Y   /   \  ___    ______   /  \ /  \  /  /_\  \|     ___/
 /        \  \     /\    \_\  \  /_____/  /    Y    \/    |    \    |
/_______  /   \___/  \______  /           \____|__  /\____|__  /____|
        \/                  \/                    \/         \/
/**************** SVG AND MAPS ***********************/


#gevi-map {}

#gevi-map svg {
    min-height: 600px;
    /** set height for IE. GC communes map */
}

#map-select {
    margin-top: 0;
}

#gevi-map-highlight

/* legend ou le nom de la commune s'affiche */
    {
    z-index: 1;
    margin: 0;
    padding: 5px 15px;
    text-align: left;
    background: white;
    border: 1px solid #efefef;
    font-size: 1.1em;
}

#gevi-map-highlight ul,
#gevi-map-highlight ul li {
    list-style: none;
    margin: 0;
    padding: 3px 0 0 5px;
    ;
}

#gevi-map-highlight ul li a {
    font-weight: normal;
}

#gevi-map-highlight a {
    text-decoration: none;
}

#gevi-map svg .communes

/* commune path element */
    {
    stroke-linejoin: round;
    stroke: #333333;
    stroke-linecap: round;
    stroke-miterlimit: 10;
    stroke-width: 0.35;
    fill: #ececec;
}

#gevi-map svg .communes.nontraite,
#gevi-map-legend .legend.nontraite::before {
    fill: #faf7f4;
    background: #faf7f4;
}

#gevi-map svg .communes.avancement_6,
#gevi-map-legend .legend.anticipes::before {
    /*fill: #dcd6d5;
        background: #dcd6d5;*/
    fill: #95cbe9;
    background: #95cbe9;
}

#gevi-map svg .communes.avancement_7,
#gevi-map-legend .legend.provisoires::before {
    /*fill: #b6b2b2;
        background: #b6b2b2;*/
    fill: #41a1d8;
    background: #41a1d8;
}

#gevi-map svg .communes.avancement_8,
#gevi-map-legend .legend.definitifs::before {
    /*fill: #656569;
        background: #656569;*/
    fill: #164c6a;
    background: #164c6a;
    stroke: #ffffff;
}

#gevi-map svg .communes.percent75,
#gevi-map-legend .legend.percent75::before {
    fill: #d7f0fe;
    background: #d7f0fe;
}

#gevi-map svg .communes.percent7590,
#gevi-map-legend .legend.percent7590::before {
    fill: #9fd7f7;
    background: #9fd7f7;
}

#gevi-map svg .communes.percent90110,
#gevi-map-legend .legend.percent90110::before {
    fill: #58baf2;
    background: #58baf2;
}

#gevi-map svg .communes.percent110125,
#gevi-map-legend .legend.percent110125::before {
    fill: #257fb2;
    background: #257fb2;
}

#gevi-map svg .communes.percent125,
#gevi-map-legend .legend.percent125::before {
    fill: #0d4c6f;
    background: #0d4c6f;
    stroke: #ffffff;
}

#gevi-map.gevi-navigation-map svg .communes {
    cursor: pointer;
}

#gevi-map.gevi-navigation-map svg g.group_selected {
    filter: drop-shadow(1px 1px 4px rgb(0 0 0 / 0.8));
}

#gevi-map.gevi-navigation-map svg path.group_commune {
    display: none;
}

#gevi-map.gevi-navigation-map svg path.group_selected {
    display: block;
    fill: transparent;
    stroke: #ffffff;
    stroke-width: 2px;
    pointer-events: none;
}

#gevi-map.gevi-navigation-map svg #location {
    stroke: #ffffff;
    stroke-width: 2px;
    filter: drop-shadow(1px 1px 2px rgb(0 0 0 / 0.8));
    pointer-events: none;
}

#gevi-map-legend {
    padding-top: 150px;
}

#gevi-map-legend .legend {
    margin-bottom: 15px;
}

#gevi-map-legend .legend::before {
    content: " ";
    display: inline-block;
    width: 40px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
    border: 1px solid #333333;
}

@media (max-width: 970px) {
    #gevi-map-legend {
        padding-top: 30px;
    }
}

@media only screen and (max-width: 640px) {
    #tab-liste-commune {
        display: block !important;
    }

    .hist .cartouche-candidat.ce .bloc-candidat .info-candidat>.row {
        display: block !important;
    }

    #tab-suffrages tbody tr>td:nth-child(2) .totalBulletin {
        width: 250px;
    }
}

ul.liste_communeslocaux {
    -moz-column-count: 4;
    -webkit-column-count: 4;
    padding: 0;
    column-count: 4;
    column-gap: 85px;
}

ul.liste_communeslocaux.liste_2col {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}

ul.liste_communeslocaux.liste_1col {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
}

ul.liste_communeslocaux li,
.info_canton {
    list-style: none;
    font-size: 18px;
    margin: 0 10px 0 0;
    padding: 3px 0;
    border-bottom: 1px solid #b2b2b2;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

ul.liste_communeslocaux li .info_communelocal {
    font-weight: bold;
}

ul.liste_communeslocaux.liste_gd_espacement li {
    padding: 10px 0;
}

ul.liste_communeslocaux li a {
    font-weight: bold;
    text-decoration: none;
}

ul.liste_communeslocaux li a.selected,
.info_canton.selected {
    background: #addef7;
}

ul.liste_communeslocaux li ul,
ul.liste_communeslocaux li ul li {
    list-style: none;
    font-weight: normal;
    line-height: 20px;
    margin: 0;
    padding: 0;
    border: none;
}

ul.liste_communeslocaux li ul li a.info_communelocal {
    font-weight: normal;
    text-decoration: none;
}

/* screen-xs < 640 */
@media only screen and (max-width: 640px) {

    ul.liste_communeslocaux,
    ul.liste_communeslocaux.liste_2col {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}


/***********************************************************************************************************************
                                                  .__
  _________  ______      ________________  ______ |  |__   ______
 /  ___/\  \/ / ___\    / ___\_  __ \__  \ \____ \|  |  \ /  ___/
 \___ \  \   / /_/  >  / /_/  >  | \// __ \|  |_> >   Y  \\___ \
/____  >  \_/\___  /   \___  /|__|  (____  /   __/|___|  /____  >
     \/     /_____/   /_____/            \/|__|        \/     \/
 SVG GRAPHS*/

#canvas_container,
#canvas_container_hemicycle {
    margin-bottom: 70px;
}

#canvas_container .hemisector,
#canvas_container_hemicycle .hemisector {
    cursor: pointer;
    width: 100%;
    stroke: #ffffff;
    stroke-width: 3px;
}

#canvas_container svg,
#canvas_container_hemicycle svg {
    height: 100%;
    width: 100%;
}

/* Small Devices < 480 */
@media only screen and (max-width: 480px) {

    #canvas_container,
    #canvas_container_hemicycle {
        height: 300px;
        width: 100%;
    }

    #canvas_container text,
    #canvas_container_hemicycle text,
    #canvas_container rect,
    #canvas_container_hemicycle rect {
        display: none;
    }
}

/* screen-xs < 640 */
@media only screen and (min-width : 480px) and (max-width: 640px) {

    #canvas_container,
    #canvas_container_hemicycle {
        height: 340px;
        margin: auto;
    }

    #canvas_container text,
    #canvas_container_hemicycle text,
    #canvas_container rect,
    #canvas_container_hemicycle rect {
        display: none;
    }
}

/* screen-sm 640 - 970 */
@media only screen and (min-width : 640px) and (max-width: 970px) {

    #canvas_container,
    #canvas_container_hemicycle {
        width: 600px;
        height: 340px;
        margin: auto;
    }
}

/* screen-md 970 - 1170 */
@media only screen and (min-width : 970px) and (max-width: 1168px) {

    #canvas_container,
    #canvas_container_hemicycle {
        height: 400px;
    }
}

/* screen-lg > 1170 */
@media only screen and (min-width : 1168px) {

    #canvas_container,
    #canvas_container_hemicycle {
        height: 450px;
    }

    .hist .cartouche-candidat.ce .bloc-candidat .info-candidat {
        padding-left: 30px;
    }
}

/*****************Legend **************************************************************************/
#canvas_legend {}

#canvas_legend .color {
    width: 12px;
    height: 12px;
    display: inline-block;
}

.canvas_legend .nbsieges {}

/*************** TOP 7 CE ***************************************************************************************************/
/*************** TOP 7 CE ***************************************************************************************************/
#top7 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

#top7 .top7-separator {
    border-right: 3px solid #257fb2;
}

#top7 .top7-fonction {
    width: 100%;
    text-align: center;
    font-size: 24px;
    padding: 5px 0 10px 0;
}

#top7 .top7-candidat {
    /*margin: 0 25px;*/
    text-align: center;
    -width: calc(14.28% - 30px);
    -width: -moz-calc(14.28% - 30px);
    -width: -webkit-calc(14.28% - 30px);
}

#top7 .top7-candidat {
    min-width: 230px;
    /*width: 35%;*/
}

#top7 .top7-candidat img {
    width: 100%;
}

#top7 .top7-candidat .content {
    padding: 20px;
    height: 100%;
}

#top7 .top7-candidat .flipper {
    transform: rotateY(180deg);
    backface-visibility: hidden;
}

#top7 .top7-candidat .flipper.flip {
    transform: rotateY(0);
    animation-duration: 500ms;
    animation-timing-function: ease-out;
    animation-name: flipAnimation;
}

#top7 .top7-candidat.elu .content {
    background-color: #dfecf4;
}

@keyframes flipAnimation {
    from {
        transform: rotateY(180deg);
    }

    to {
        transform: rotateY(0);
    }
}

#top7 .top7-candidat .position {
    font-weight: bold;
    color: #ffffff;
    line-height: 28px;
    background-color: #333333;
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-bottom: 10px;
}

#top7 .top7-candidat .suffrage {
    line-height: 1.1;
    margin-bottom: 20px;
}

#top7 .top7-candidat .big-number {
    font-size: 20px;
}

#top7 .top7-candidat .libelle-suffrages {
    text-transform: uppercase;
}



/*************** BARRE HORIZONTALE ***************************************************************************************************/

.graphicbar {
    background: #ededed;
    padding: 20px 30px 20px 30px;
    margin-top: 20px;
    margin-bottom: 50px;
    text-decoration: none;
}

@media (max-width: 480px) {
    .graphicbar {
        margin-bottom: 30px;
    }
}

a.graphicbar {
    color: inherit;
    display: block;
    text-decoration: none;
}

.graphicbar .response_oui,
.graphicbar .response_non {
    text-transform: uppercase;
}

.graphicbar .response_oui {
    color: #059966;
}

.graphicbar .response_non {
    color: #cc3300;
}


.graphicbar .bar_container {
    margin: 10px 0;
    padding: 0;
    width: 100%;
    background: none;
    position: relative;
    clear: both;
    height: 130px;
}

.graphicbar .bar_container .bar_sieges {
    height: 130px;
    line-height: 40px;
    width: 1px;
    color: #fff;
    padding: 20px 10px 20px 15px;
    font-size: 1.1em;
    font-weight: bold;
    float: left;
    border-right: solid 3px #ededed;
}

.graphicbar .bar_container .bar_sieges:last-child {
    border-right: 0;
}

.graphicbar .bar_container .bar_sieges div.desc {
    line-height: 25px;
    font-size: 0.9em;
    font-weight: normal;
}

.graphicbar .bar_container a.bar_sieges:hover {
    opacity: 0.9;
    text-decoration: none !important;
}

.graphicbar .bar_container .bar_oui {
    left: 0;
    text-align: left;
    background: #059966;
    transition: width 1s ease;
}

.graphicbar .bar_container .bar_non {
    right: 0;
    text-align: right;
    background: #cc3300;
    transition: width 1s ease;
}

.graphicbar .bar_container .bar_non .numbers {
    position: absolute;
    right: 20px;
    z-index: 1;
}

.graphicbar .bar_container .bar_oui .numbers {
    position: absolute;
    left: 20px;
    z-index: 1;
}



/*************** TOP 3 CC ***************************************************************************************************/
#top3 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

#top3 .top3-candidat {
    margin: 0 12px;
    text-align: center;
}

#top3 .top3-candidat {}

#top3 .top3-candidat .content {
    padding: 20px;
    height: 100%;
}

#top3 .top3-candidat .flipper {
    transform: rotateY(180deg);
    backface-visibility: hidden;
}

#top3 .top3-candidat .flipper.flip {
    transform: rotateY(0);
    animation-duration: 500ms;
    animation-timing-function: ease-out;
    animation-name: flipAnimation;
}

#top3 .top3-candidat.elu .content {
    background-color: #dfecf4;
}

@keyframes flipAnimation {
    from {
        transform: rotateY(180deg);
    }

    to {
        transform: rotateY(0);
    }
}

#top3 .top3-candidat .position {
    font-weight: bold;
    color: #ffffff;
    line-height: 28px;
    background-color: #333333;
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-bottom: 10px;
}

#top3 .top3-candidat .suffrage {
    line-height: 1.1;
    margin-bottom: 20px;
}

#top3 .top3-candidat .big-number {
    font-size: 20px;
}

#top3 .top3-candidat .libelle-suffrages {
    text-transform: uppercase;
}

@media (max-width: 970px) {
    #top3 .top3-candidat {
        width: calc(25% - 30px);
        width: -moz-calc(25% - 30px);
        width: -webkit-calc(25% - 30px);
    }
}


/*************** CARTOUCHE ********************************************************************************************/
#gevi-cartouche {
    font-size: 18px;
    background-color: #f4f4f4;
    padding: 30px 15px;
    margin-bottom: 50px;
}

#gevi-cartouche .row1 {}

#gevi-cartouche .row1 .icon {
    font-size: 60px;
}

#gevi-cartouche .icon.icon-info {
    font-size: 21px;
}

#gevi-cartouche .row2 {
    border-top: 1px solid #d3d3d3;
    padding-top: 30px;
    margin-top: 30px;
}

#gevi-cartouche.cartouche-commune .col-sm-2 {
    width: 14.2857%;
}

#gevi-cartouche.cartouche-commune-gc .col-sm-2 {
    width: 12.5%;
}

#gevi-cartouche .data-row.data-big {
    font-size: 24px;
    text-align: center;
    border: none;
    font-weight: 400;
    background-position: center 25px;
    background-repeat: no-repeat;
}

#gevi-cartouche .data-row.data-big .big-number {
    font-size: 35px;
    line-height: 1.2;
}

#gevi-cartouche .data-geviweb {
    font-weight: bold;
    font-size: 24px;
}

@media (max-width: 480px) {
    #gevi-cartouche .data-row.data-big {
        font-size: 13px;
        line-height: 1.2;
    }

    #gevi-cartouche .data-row.data-big .big-number {
        font-size: 30px;
    }

    #gevi-cartouche .data-row {
        padding-bottom: 20px;
    }

    #gevi-cartouche .row1 .icon {
        font-size: 40px;
    }

    #gevi-cartouche .icon.icon-info {
        font-size: 21px;
    }
}


/*************** TABLE suffrages ***************************************************************************************/
.gevi-table-suffrages {
    width: 100%;
}

.gevi-table-suffrages th {
    vertical-align: top;
}

.gevi-table-suffrages td {
    padding: 10px;
    vertical-align: top;
}

.gevi-table-suffrages .totalBulletin {
    display: block;
    text-align: center;
    font-weight: bold;
}

.gevi-table-suffrages .bulletinCompacts {
    display: block;
    font-size: 0.9em;
    float: left;
    text-align: right;
    width: 45%;
}

.gevi-table-suffrages .bulletinModifies {
    display: block;
    font-size: 0.9em;
    float: right;
    text-align: left;
    width: 45%;
}

.gevi-table-suffrages .bulletinPanaches {
    font-weight: bold;
}

.gevi-table-suffrages .suffragePourcent {
    font-weight: bold;
}

.gevi-table-suffrages .ecartPourcent {
    font-weight: bold;
}

.gevi-table-suffrages .nbSieges {
    font-weight: bold;
}

#tab-suffrages tbody .ecart {
    font-size: 13px;
    display: inline;
}



/*************** résultats NOMINATIFS ***************************************************************************************/

.cartouche-candidat {
    margin-top: 10px;
}

.cartouche-candidat .bloc-candidat {
    margin-bottom: 6px;
    padding-top: 5px;
    background-color: #f4f4f4;
    min-height: 150px;
}

.cartouche-candidat .bloc-candidat .libelle-elu {
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
}

.cartouche-candidat .bloc-candidat .info-candidat {
    padding-left: 18px;
    margin-top: 6px;
}

.cartouche-candidat.ce .bloc-candidat .info-candidat {
    margin-top: 0;
}

.cartouche-candidat .bloc-candidat .big-number {
    font-size: 30px;
}

.cartouche-candidat .bloc-candidat .libelle-suffrages {
    text-transform: uppercase;
}

.cartouche-candidat .histo-candidat {
    border: 1px solid #b2b2b2;
}

.cartouche-candidat .histo-candidat .histo-longueur {
    height: 11px;
    background-color: #b2b2b2;
}

.cartouche-candidat.elu .bloc-candidat {
    background-color: #dfecf4;
}

.liste_candidat_CN .cartouche-candidat .bloc-candidat {
    border-bottom: 5px solid #b2b2b2;
}

.liste_candidat_CN .cartouche-candidat.elu .bloc-candidat {
    border-bottom: 5px solid #257fb2;
}

.liste_candidat_CN .cartouche-candidat.egalite .bloc-candidat {
    border: none;
    background: #f4f4f4 url(../strip_border.png) bottom left repeat-x;
}

.cartouche-candidat.elu .histo-candidat {
    border-color: #257fb2;
}

.cartouche-candidat.elu .histo-candidat .histo-longueur {
    background-color: #257fb2;
}


@media (max-width: 480px) {
    .cartouche-candidat .bloc-candidat .info-candidat {
        margin-top: 0;
    }

    .cartouche-candidat .bloc-candidat .big-number {
        font-size: 20px;
    }
}


/*************** FOOTER ***************************************************************************************/
.footer {
    margin-top: 80px;
    background: #333;
    color: #fff
}

.footer .nav {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    -moz-column-gap: 25px;
    -webkit-column-gap: 25px;
    column-gap: 25px;
    padding: 0
}

.footer .nav>li {
    display: inline-block;
    width: 100%;
    word-wrap: break-word;
    -moz-page-break-after: always;
    -webkit-column-break-after: always;
    break-after: always;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
    color: #fff
}

.footer .nav>li a {
    padding: 10px 0;
    color: #fff;
    border-bottom: 1px solid #999;
    background: none;
    -webkit-transition: all;
    -o-transition: all;
    transition: all;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms
}

.footer .nav>li a:hover,
.footer .nav>li a:focus,
.footer .nav>li a.active {
    color: #b2b2b2
}

.footer .nav>li a:before {
    content: '\e900';
    margin-right: 10px;
    font-family: 'icomoon';
    font-size: 10px
}

.footer .footer_haut {
    padding-top: 44px;
    padding-bottom: 44px;
    background: #ededed;
    color: #333
}

.footer .footer_bas {
    padding-top: 44px;
    padding-bottom: 44px;
    background: #333;
    clear: both
}

@media (max-width: 970px) {
    .footer .footer_bas .region-footer-bas {
        padding-bottom: 22px
    }

    .footer .nav {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1
    }
}

.footer-logo {
    display: block;
    width: 128px;
    height: 100px;
    text-indent: -9999em;
    background: url("../footer-logo.svg") no-repeat center;
    -moz-background-size: contain;
    -o-background-size: contain;
    -webkit-background-size: contain;
    background-size: contain
}

@media (max-width: 970px) {
    .footer-logo {
        margin: auto
    }
}


/************************************* SIDEDRAWER ******************************************/
#gevi-sidedrawer {
    position: fixed;
    right: -450px;
    top: 0;
    background-color: #575757;
    height: 100%;
    width: 450px;
}


#gevi-sidedrawer.active {
    right: -450px;
    animation-duration: 200ms;
    animation-name: slideout;
}

#gevi-sidedrawer.active.opened {
    right: 0;
    animation-duration: 300ms;
    animation-name: slidein;
}


@keyframes slidein {
    from {
        right: -450px;
    }

    to {
        right: 0;
    }
}

@keyframes slideout {
    from {
        right: 0;
    }

    to {
        right: -450px;
    }
}

#gevi-sidedrawer #gevi-sidedrawer-drawer {
    position: absolute;
    top: 50%;
    width: 350px;
    text-align: center;
    cursor: pointer;
    visibility: hidden;
}

#gevi-sidedrawer #gevi-sidedrawer-drawer span {
    color: #ffffff;
    display: block;
    padding: 10px;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: translate(-196px, 0) rotate(-90deg);
    background-color: #6c6c6c;
    visibility: visible;
}

#gevi-sidedrawer #gevi-sidedrawer-content {
    font-size: 14px;
    color: #ffffff;
    background-color: #575757;
}

#gevi-sidedrawer #gevi-sidedrawer-content a {
    color: #ffffff;
}

#gevi-sidedrawer #gevi-sidedrawer-content h3 {
    font-size: 20px;
    font-weight: normal;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    padding: 27px 45px;
    background-color: #454545;
    line-height: 35px;
}

#gevi-sidedrawer #gevi-sidedrawer-content .taux-participation {
    font-weight: bold;
    padding: 5px 15px;
    margin-left: 15px;
    background-color: #c90000;
    border-radius: 20px;
}

#gevi-sidedrawer #gevi-sidedrawer-content .message {
    padding: 20px 45px;
}

#gevi-sidedrawer #gevi-sidedrawer-content .content {
    padding: 45px;
}

#gevi-sidedrawer #gevi-sidedrawer-content ul {
    padding: 0;
    font-weight: bold;
}

#gevi-sidedrawer #gevi-sidedrawer-content ul li {
    padding: 12px 0;
    border-bottom: 1px solid #818181;
    list-style: none;
}

#gevi-sidedrawer #gevi-sidedrawer-content .twitter-cha {
    bottom: 0;
    text-transform: uppercase;
    padding: 45px;
    margin-top: auto;
}

#gevi-sidedrawer #gevi-sidedrawer-content .twitter-cha .icon-twitter {
    vertical-align: middle;
}


@media (max-width: 480px) {
    #gevi-sidedrawer {
        position: relative;
        top: auto;
        right: 0;
        bottom: -2px;
        height: 45px;
        width: 100%;
    }

    #gevi-sidedrawer.active {
        top: auto;
        right: 0;
        bottom: -2px;
        height: 45px;
    }

    #gevi-sidedrawer.active.opened {
        top: 0;
        right: 0;
        height: 100%;
    }

    #gevi-sidedrawer #gevi-sidedrawer-drawer {
        position: fixed;
        top: auto;
        bottom: 0;
        width: 100%;
    }

    #gevi-sidedrawer.active.opened #gevi-sidedrawer-drawer {
        position: relative;
    }

    #gevi-sidedrawer #gevi-sidedrawer-drawer span {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: translate(0, 0) rotate(0deg);
    }

    #gevi-sidedrawer #gevi-sidedrawer-content {
        display: none;
        position: relative;
    }

    #gevi-sidedrawer.active.opened #gevi-sidedrawer-content {
        display: block;
        position: relative;
    }


    @keyframes slidein {
        from {
            right: 0;
            height: 45px;
        }

        to {
            right: 0;
            height: 100%;
        }
    }

    @keyframes slideout {
        from {
            right: 0;
            height: 100%;
        }

        to {
            right: 0;
            height: 45px;
        }
    }
}

/************************************ ANIMATIONS ************************************************/
.animations .status {
    text-align: center;
    padding: 10px;
    font-size: 20px;
    background: #257fb2;
    color: #ffffff;
    width: 100%;
    font-weight: bold;
}

.animation .legend {
    font-size: 25px;
}

.animations h1 {
    text-align: center;
    margin-bottom: 80px;
}

.animations #top7 {
    margin-top: 40px;
}

.animations #canvas_container_hemicycle {
    width: 1000px;
    height: 600px;
    margin-bottom: 25px;
}

.animations #canvas_legend {
    padding: 0 40px 0 10px;
}

.animations #canvas_legend .color {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-top: -4px;
    margin-right: 5px;
}

.animations #canvas_legend table td {
    padding: 0;
    text-transform: uppercase;
    line-height: 45px;
}


.animations #canvas_legend tr {
    opacity: 0;
}

.animations #canvas_legend tr.flip {
    opacity: 1;
    transition: opacity 1s ease-in-out;
    border-bottom: 1px solid #656569;
}

.animations #canvas_legend tr.flip:first-child {
    border-top: 1px solid #656569;
}

.animations .logo {
    position: fixed;
    bottom: 20px;
    right: 40px;
}

.animations .container.barre {
    width: 100%;
}

.animations .bar_sieges {
    opacity: 0;
}

.animations .bar_sieges.show {
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.animations .barre {
    margin-bottom: 40px;
}


/*Refonte CDE top*/

#top7 {
    min-height: 650px;
    margin-bottom: 0;
    margin-top: 20px;
}


#top7 .top7-candidat {
    /*margin: 0 30px;*/
    margin-bottom: 40px;
}

#top7 .top7-candidat .content {
    padding: 0px;
    position: relative;
}

.top7-candidat.elu * {
    color: white !important;
}

#top7 .top7-candidat.elu .content {
    background-image: linear-gradient(rgba(2, 103, 161, 0), rgba(2, 103, 161, 1));
}

#top7 .top7-candidat .content {
    background-image: linear-gradient(#FFFFFF, #E1EEF4, #579AC1);
}

#top7 .top7-candidat .big-number {
    letter-spacing: 1px;
    font-size: 28pt;
}

#top7 .top7-candidat .libelle-suffrages {
    text-transform: lowercase;
    font-size: 12pt;
}


#top7 .label_candidat {
    font-size: 22pt;
    color: black;
}

#top7 .icon-tick {
    font-size: 270px;
    position: absolute;
    bottom: -50px;
    right: -90px;

}

#top7 .medium {
    margin-bottom: 20px;
}

.icon-tick::before {
    color: rgba(255, 255, 255, 0.15);
}

#top7 .top7-candidat .position {
    font-weight: bolder;
    color: rgba(255, 255, 255, 0.8);
    font-size: 80pt;
    position: absolute;
    bottom: 0;
    left: 10px;
    line-height: 60px;
    height: 60px;
    background-color: initial;

}

#top7 .libelle-elu {
    text-transform: uppercase;
    font-size: 27pt;
}

/*Page CDE Bottom*/

.cartouche-candidat * {
    color: black;
}

.hist {
    margin-top: 15px;
}

.hist .cartouche-candidat * {

    font-size: 15px;
}

.hist .cartouche-candidat .bloc-candidat {
    background-color: #dfecf4;
}

.hist .cartouche-candidat .histo-candidat .histo-longueur {
    height: 3px;
    background-color: #257fb2;
}

.hist .cartouche-candidat.elu .bloc-candidat {
    background-image: linear-gradient(#6DA8C9, rgba(2, 103, 161, 1));
}

.hist .cartouche-candidat.elu .bloc-candidat * {
    color: white;
}

.hist .cartouche-candidat.elu .histo-candidat {
    border: 0px solid rgb(2 71 111);
    background-color: rgba(2, 103, 161, 1);
}

.hist .cartouche-candidat .histo-candidat {
    border: 0px solid #b2b2b2;
    background-color: #dfecf4;
    width: calc(100% - 130px);
    left: 130px;
    top: -3px;
    position: relative;
}

.hist .cartouche-candidat.elu .histo-candidat .histo-longueur {
    height: 3px;
    background-color: rgb(2 71 111)
}

.hist .cartouche-candidat .bloc-candidat {
    margin-bottom: 0;
    padding-top: 0;
    height: 130px;
    min-height: 95px;
    position: relative;
    overflow: hidden;
    display: flex;
}

.hist .cartouche-candidat .bloc-candidat div:nth-child(3) {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.hist .cartouche-candidat .bloc-candidat div:nth-child(3) div {
    text-align: center;
    line-height: 15px;
}

.hist .cartouche-candidat .bloc-candidat>div:first-child {
    padding-left: 0;
}

.hist .cartouche-candidat .bloc-candidat img {
    height: 130px;
    min-width: 130px;
}

.hist .cartouche-candidat .bloc-candidat .big-label {
    font-size: 24px;
    font-weight: 400;
}

.hist .cartouche-candidat .bloc-candidat .big-number {
    font-size: 30px;
}

.hist .cartouche-candidat.ce .bloc-candidat .info-candidat {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.hist .cartouche-candidat.ce .bloc-candidat .info-candidat>.row {
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
    align-items: center;
    display: flex;
}

.hist .cartouche-candidat .bloc-candidat .libelle-suffrages {
    height: 12px;
    line-height: 0px;
    text-transform: lowercase;
}

.hist .cartouche-candidat .bloc-candidat .libelle-elu {
    position: absolute;
    height: 150px;
    bottom: 0;
    right: -50px;
}

.hist .cartouche-candidat .bloc-candidat .libelle-elu .icon {
    font-size: 170px;
}

.hist .cartouche-candidat .bloc-candidat .libelle-elu .label-elu {
    position: absolute;
    font-size: 21px;
    bottom: 37px;
    right: 75px;
}

.hist .cartouche-candidat .bloc-candidat .info-candidat .info-suffrage {
    text-align: center;
}

@media (max-width: 576px) {
    .hist .cartouche-candidat .bloc-candidat .big-label {
        font-size: 16px;
    }

    .hist .cartouche-candidat * {
        font-size: 13px;
    }

    .hist .cartouche-candidat .bloc-candidat .libelle-elu .label-elu {
        right: 55px;
    }
}

@media (max-width: 639px) {

    /*.hist .cartouche-candidat.ce .bloc-candidat .first-col {
        width: inherit;
    }*/
    .hist .cartouche-candidat .bloc-candidat .info-candidat .info-suffrage {
        text-align: left;
    }

}




/*Refonte Election CN*/

.graphicbar {
    background-color: initial;
    padding: 0;
}

.graphicbar .bar_container .bar_sieges {
    border-right: 3px solid #fff;
    padding: 30px 0px 20px 0px !important;
    height: 150px;
}

.graphicbar .bar_container .bar_sieges .results_sieges {
    font-size: 20px !important;
}

.graphicbar .bar_container .bar_sieges .results_sieges .number {
    font-weight: bold;
}

.graphicbar .bar_container .bar_sieges .results_percentage {
    font-size: 16px !important;
    font-weight: bolder !important;
}

.graphicbar .bar_container .bar_sieges .results_title {
    margin-top: 10px;
    font-size: 22px !important;
}

#tab-suffrages .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #F4FBFE !important;
}

#tab-suffrages .table-striped>tbody>tr:hover {
    background-color: #e5f2f8 !important;
}

#tab-suffrages tbody * {
    font-size: 21px;
}

#tab-suffrages tbody tr>td p {
    font-size: 16px;

}

#tab-suffrages tbody tr>td:nth-child(2) .totalBulletin {
    height: 30px;

}

#tab-suffrages tbody tr>td:nth-child(2) .bulletinCompacts *,
#tab-suffrages tbody tr>td:nth-child(2) .bulletinModifies * {
    font-size: 15px;
}

.gevi-table-suffrages .bulletinPanaches,
#tab-suffrages tbody tr>td:nth-child(2) p {
    font-size: 13px !important;
    font-weight: initial;
}

#tab-suffrages tbody tr>td:nth-child(2) div {
    float: right;
    font-size: 13px;
    text-align: left;
    width: 45%;
}

.gevi-table-suffrages .bulletinPanaches {
    text-align: left;
}

.gevi-table-suffrages .bulletinCompacts {
    text-align: center !important;
}

#tab-suffrages .suffrages {
    font-size: 18px;
    display: block;
}

#tab-suffrages .table>thead>tr>th {
    border: 0;
}

#tab-suffrages .table>tbody>tr>td {
    border: 0;

}

#tab-suffrages .table>tbody>tr>td:first-child {
    padding-left: 16px;
}

/*
#canvas_legend .legend > td:first-child{
    word-break: break-all;
}*/

/*Page candidats*/
#listeCandidats.liste_candidat_CN .display-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
    margin-left: -7.5px;
    margin-right: -7.5px;
    margin-top: 10px;
}


#listeCandidats.liste_candidat_CN .cartouche-candidat.elu .bloc-candidat {
    background-image: linear-gradient(#73ABCB, rgba(2, 103, 161, 1));
}

#listeCandidats.liste_candidat_CN .cartouche-candidat .bloc-candidat {
    background-image: linear-gradient(#E1EEF4, #95C0D8);
}

#listeCandidats.liste_candidat_CN .cartouche-candidat {
    margin-bottom: 20px;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat .bloc-candidat {
    min-height: 110px !important;
    max-height: 110px !important;
    margin-bottom: 0;
    padding-top: 0px;
    overflow: hidden;
    position: relative;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat {
    padding: 0;
    padding-left: 7.5px;
    padding-right: 7.5px;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat .bloc-candidat {
    border: 0 !important;
    border-bottom: 0 !important;
    width: 100%;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat .info-candidat>p:first-child {
    font-weight: 500;
    margin: 0;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat .info-candidat>p:nth-child(2) {
    height: 12px;
    font-size: 13px;
    line-height: 12px;
    margin-bottom: 0px;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat .info-candidat>p:nth-child(3) {
    font-size: 11px;
    position: absolute;
    width: calc(100% - 142px);
    bottom: 0;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat .info-candidat>p:nth-child(3) strong {
    font-size: 19px;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat .icon-position {
    position: absolute;
    right: -50px;
    bottom: 0;
}



#listeCandidats.liste_candidat_CN .cartouche-candidat .bloc-candidat .libelle-elu {
    margin-bottom: 0;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat .bloc-candidat .libelle-elu .icon {
    FONT-SIZE: 170px;
    line-height: 150px;
    height: 150px;
    display: block;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat .bloc-candidat .label-elu {
    FONT-SIZE: 16px;
    position: absolute;
    text-transform: uppercase;
    font-weight: 500;
    bottom: 0;
    right: 0px;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat.elu .bloc-candidat * {
    color: white;
}

#listeCandidats.liste_candidat_CN .cartouche-candidat .bloc-candidat * {
    color: black;
    line-height: 16px;
}

.cartouche-candidat .bloc-candidat .info-candidat {
    margin-top: 10px;
    padding-right: 10px;
}

@media (max-width: 970px) {
    #listeCandidats .display-flex {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}