@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600');
html,body{
    font-size: 62.5%;
    color: #3C3554;
    font-weight: 300;
    font-family: "Source Sans Pro";
}

*{
    box-sizing: border-box;
}
#department-card{
    width: 80%;
    display: block;
    margin: auto;
}
.cls-1 {
    stroke: #ebebee;
    fill: #cecdd4;
    transition: all 1s; 
    cursor: pointer;
}

.isActived{
    fill: #a8a4b2;
}

.isSelected{
    fill: #FFD300;
}

.container{
    width: 630px;
    margin: auto;
}

.sticky-map{
    font-family: "Source Sans Pro";
    font-size: 13px;
    font-weight: 600;
    color: white;
    padding: 0 1rem;
    border-radius: 100px;
    background: rgba(60, 53, 84, .8)
}

.describe{
    margin-top: 7rem;
    opacity: 1;    
    transition: .5s all;
}

.describe--transition{
    opacity: 0;
}

.describe-title{
    font-family: "Source Sans Pro";
    font-weight: 300;
    font-size: 3rem;
    text-align: center;
    position: relative;
}

.describe-title:after{
    content: "";
    display: block;
    height: .3rem;
    width: 10rem;
    background: #FFD300;
    margin: 2rem auto 2rem auto;
}

.describe-subhead{
    font-family: "Source Sans Pro";
    font-size: 1.6rem;
    font-weight: 400;    
    text-align: center;
}

.describe-title__department{
    font-weight: 600;    
    text-transform: uppercase;
}

.wrapper{
    display: flex;
    font-family: "Source Sans Pro";
    margin-top: 3rem;
}

.wrapper li{
    list-style: none;
}

.wrapper__desc{
    width: 60%;
    padding-left: 2rem;
    overflow-Y: auto;
    height: 30rem
}

.wrapper__map{
    width: 40%;
    min-height: 15rem;
    display: flex;
    justify-content: center;
    padding-right: 2rem;
    border-right: .1rem solid rgba(60, 53, 84, .2)
}

.wrapper__map svg{
    width: 90%;
}

.circonscription{
    display: none;
}

.circonscription--active{
    display: block;
}

.list-candidate{
    padding: 0;
    font-size: 0;
}

.list-candidate li{
    display: block;
    border-bottom: solid .1rem rgba(60, 53, 84, .2);
    padding: 1rem 0;
    margin-bottom: 1rem;
    width: 100%;
}

.list-candidate div{
    display: inline-block;
    vertical-align: top;
}

.list-candidate__picture{
    width: 20%;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: solid .2rem #cecdd4;
}

.list-candidate__picture:before{
    content: "";
    padding-bottom: 100%;
    display:block;
}

.list-candidate__desc{
    width: 80%;
    padding-left: 2rem;
}

.list-candidate h1{
    padding: 0;
    margin: 0;
    font-size: 2rem; 
}

.list-candidate h2{
    padding: 0;
    margin: 0;
    font-size: 1.6rem; 
}

.list-candidate h6{
    padding: 0;
    margin: 0;
    font-size: 1.2rem; 
    text-transform: uppercase;
}

.list-candidate p{
    padding: 0;
    margin: 0;
    font-size: 1.2rem; 
}

.legend{
    font-size: 0;
    margin: 3rem 0;
}

.legend__block{
    font-size: 1.3rem;
    display: inline-block;
    width: 33.33333%;
    text-align: center;
    font-weight: 600;
}

.legend__block span{
    position: relative;
}


.legend__block--content span:before{
    content: "";
    height: .4rem;
    width: 1.5rem;
    display: block;
    background: #a8a4b2;
    position: absolute;
    top: 50%;
    left: -2rem;
    transform: translateY(-50%);    
}

.legend__block--isSelected span:before{
    content: "";
    height: .4rem;
    width: 1.5rem;
    display: block;
    background: #FFD300;
    position: absolute;
    top: 50%;
    left: -2rem;
    transform: translateY(-50%);    
}

.legend__block--nocontent span:before{
    content: "";
    height: .4rem;
    width: 1.5rem;
    display: block;
    background: #cecdd4;
    position: absolute;
    top: 50%;
    left: -2rem;
    transform: translateY(-50%);    
}