* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
    width: 100%;
  font-family: 'Oxygen', sans-serif;
}

h3 {
    text-transform: uppercase;
    display:block;
    width: auto;
    color:#000;
    margin-right:1%;
}



.background {
  fill: none;
  pointer-events: all;
}

.infobulle {
    border-color: #ececec;
    border-radius: 6%;
    width: 90%;
    height:auto;
    position:absolute;
    top:35%;
    background-color: rgba(255, 255, 255, .9);;
    opacity: 0.2;
    font-family: Arial;
    pointer-events:none;
    text-align:center;
}

#trombi_candidat{
  width: 100%;
}

#trombi_candidat ul{
  width: 100%;
  display:flex;
  flex-wrap:wrap;
  justify-content: center;
  list-style-type:none;
}

#trombi_candidat li{
  height: 20%;
  width: 20%;
  margin-right: 5%;
  margin-bottom: 5%;
}

.photo_trombi{
  width:100%;
  border-radius: 50%;
}

.tville {
          width: 100%;
          height: 2%;
          margin-left:2%;
          font-family:sans-serif;
          color: #000;
}

.consigne{
  margin-left:2%;
}

.tliste {

          margin-top: 10%;
          width: 100%;
          height: 2%;
          text-align: center;
          font-family:Arial;
          color: #000;
          pointer-events: none;
}

.sortant{
  text-align: center;
}



#container {
  width: 100%;
  height: 100%;
  position:absolute;
}

#petit_cont{
 width:100%;
 height:6%;
 position:relative;
}


  #grand_cont{
   width:100%;
   height: 0;
   padding-bottom: 172%;
   position: relative;
  }



 #lcandidats{
    padding-left: 2%;
    padding-right: 2%;
    width: 90%;
    max-height: 100%;
    overflow:auto;
    margin-left: 5%;
    position: absolute;
    background-color: #fff;
    opacity:1;
    z-index: 2;
}

  br {
        line-height: 10%;
     }

  #lcandidats ul{
    pointer-events: none;
    padding: 0.5%;
    list-style-type:none;
  }

  #lcandidats li{
    width: 100%;
    position: relative;
    border-top: 4px;
    border-bottom:0;
    border-right: .15px;
    border-left: 0;
    border-style: solid;
    padding-bottom: 2%;
  }


  .c_circo{
    width: 90%;
    text-align:center;
    height: auto;
    font-style: italic;
    margin-left: 5%;
    padding-top: 3%;
  }



  .nom_nuance{
    width:100%;
    display:flex;
    justify-content:space-between;
  }

  .nom_c{
    text-align: center;
    padding-left:6%;
  }

    .nuance_candidat {
      padding-right:2%;
      position: relative;
      text-align: right;
    }


  .d_candidat{
    width:100%;
    margin-top:2%;
    display:flex;
    justify-content:space-around;
    align-content:flex-start;
    position:relative;

  }
    .photo_candidat{
      width: 30%;
      height: auto;
      border-radius:100%;
      margin-left: 5%;
      margin-right: 5%;
      margin-bottom:4%;
    }


      .infos{
        display:flex;
        flex-direction:column;
        justify-content: center;
        margin-top: -2.5%;
        text-align: center;
        pointer-events: none;
      }

   #lcandidats::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
  }

  #lcandidats::-webkit-scrollbar
      {
        width: 12px;
        background-color: #F5F5F5;
}

#lcandidats::-webkit-scrollbar-thumb{
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #555;
}

   #fermer{
      width: 9%;
      height: 5%;
      z-index: 2;
      border-radius: 10%;
      text-align: center;
      padding-top: 1%;
      padding-bottom: 1%;
      background-color: #585858;
      color:#fff;
      opacity:1;
      position: fixed;
      margin-left: 75%;
      margin-top: 2%;
      cursor:pointer;
  }

  #fermer:hover{
    background-color: #cecece;

  }

  #fermer:text{
    pointer-events: none;
  }




    #t_circo{
             font-weight: bold;
             font-family:Arial;
    }


 #carte{
    width: 100%;
    position: relative;
}



    .depts{
        fill:none;
        stroke:#fff;
        stroke-width:.25%;
    }

    .circos {
        stroke: #fff;
        stroke-width:.15%;
        stroke-opacity:.9;
    }

    .circos.grey {
        fill:#c0c0c0;
        }

    .circoms {
        opacity:0;
        stroke: #fff;
        stroke-width:.1%;
        stroke-opacity:.9;
    }

    .circoms.active {
       opacity:1;
   }

    .circoms:hover,
    .circoms.circoms--hover {
        cursor: pointer;
        opacity:.65;
    }


.circos.grey {
    fill:#c0c0c0;
    }

#cont_source{
  width:100%;
  position:relative;
}

#source {
    margin-left: 4%;
    width:100%;
    position:relative;
}


.ville {
  background: none repeat scroll 0 0 white;
  fill: #494949;;
  font-family: Arial;
  fill-opacity: 1;
  text-anchor: middle;
  text-anchor: middle;
  letter-spacing: .1em;
  text-shadow: -1.5px 0 #fff, 0 1.5px #fff, 1.5px 0 #fff, 0 -1.5px #fff;
  pointer-events: none;
}


@media screen and (min-width: 1200px) {
    .tliste {
      font-size: 2.2em;
    }

    .nuance_binome{
      font-size: 2em;
    }

     .d_candidat p, .sortant {
        font-size: 1.4em;
     }

     #fermer{
         font-size: .1.1em;
     }


    .text {
        font-size: 1em;
     }

     .ville, .consigne, #source {
        font-size: .97em;
     }

}

@media screen and (min-width: 1000px) and (max-width: 1199px) {
  h3 {
      font-size: 3.2em;
   }

    .tliste, .nuance_candidat, .nom_c  {
      font-size:1.75em;
    }

     .d_candidat p,  .sortant, .c_circo, .ville, #source {
        font-size: 1.65em;
     }

     #fermer, .consigne{
         font-size: 1.45em;
     }

}

@media screen and (min-width: 700px) and (max-width: 999px) {
  h3, .tliste {
      font-size: 2em;
   }

    .sortant, .nuance_candidat, .nom_c, .ville, #source  {
      font-size:1.5em;
    }

     .d_candidat p,  .c_circo, .ville, #source {
        font-size: 1.4em;
     }

     #fermer, .consigne{
         font-size: 1.15em;
     }


}

@media screen and (min-width: 500px) and (max-width: 699px) {
  h3 {
      font-size: .8em;
   }

    .tliste, .nuance_candidat, .nom_c  {
      font-size:.95em;
    }

     .d_candidat p,  .sortant, .c_circo {
        font-size: .9em;
     }

     #fermer, .consigne{
         font-size: .69em;
     }

     .ville, #source {
        font-size: .75em;
     }
}

@media screen and (max-width: 499px) {
  h3 {
      font-size: .8em;
   }

    .tliste, .nuance_candidat, .nom_c  {
      font-size:.95em;
    }

     .d_candidat p,  .sortant, .c_circo {
        font-size: .9em;
     }

     #fermer, .consigne{
         font-size: .69em;
     }

     .ville, #source {
        font-size: .75em;
     }

}

@media screen and (max-width: 399px) {
  h3 {
      font-size: .82em;
   }

    .tliste, .nuance_candidat, .nom_c  {
      font-size:.72em;
    }

     .d_candidat p,  .sortant, .c_circo {
        font-size: .66em;
     }

     #fermer, .consigne{
         font-size: .53em;
     }

     .ville, #source {
        font-size: .6em;
     }
}
