html {
    display: table;
    margin: auto;
}

body {
    font-family: 'Marianne', 'Open Sans', 'Arial';
    background-color: #F1F5FD;
    display: table-cell;
    vertical-align: middle;
}

.about, #electionChoice {
    text-align: center;
}

#electionChoice {
    margin-top: 50px;
}

#IDCardTable tr {
    margin: 0px;
    padding: 0px;
}

#IDCardTable td {
    margin: 0px;
    padding: 10px;
}

#IDCardTable i {
    margin-right: 10px;
}

#IDCardTable p {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
}

#ANCTIDCardTable {
    margin-top: 15px;
    margin-bottom: 15px;
}

#ANCTIDCardTable tr {
    margin: 0px;
    padding: 0px;
}

#ANCTIDCardTable td {
    margin: 0px;
    padding: 0px;
    text-align: center;
}

#ANCTIDCardTable i {
    margin-right: 10px;
}

#ANCTIDCardTable p {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    margin: 10px;
}

.container {
    background-color: #fff;
    box-shadow: 0 2px 6px 0 rgba(136, 148, 171, .2), 0 24px 20px -24px rgba(71, 82, 107, .1);
    border-radius: 24px;
    padding: 5px;
    display: table;
    table-layout: auto;
    margin: 10px 10px 0px 0px;
    margin-bottom: 10px;
    position: relative;
}

.feature {
    fill: rgb(201, 204, 204);
    stroke: black;
    stroke-width: 3px;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.tooltip {
    position: absolute;
    opacity: 0.8;
    z-index: 1000;
    text-align: left;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    padding: 8px;
    color: #fff;
    background-color: #000;
    font: 12px sans-serif;
    max-width: 300px;
}

.circoText {
    fill: #fff;
    font: 15px sans-serif;
    text-anchor: middle;
}

.pin {
    stroke: black;
    stroke-width: 2px;
}

.pinPrefecture {
    fill: white;
}

.pinSousPrefecture {
    fill: darkgrey;
}

.pinText {
    fill: white;
    font-size: 15px;
    stroke: black;
    stroke-width: 0.4px;
    font-weight: bold;
}

.pinFS,
.pinACV,
.pinPVD,
.pinAMM,
.pinAMI,
.pinJOP,
.pinTI,
.pinVA,
.pinHABINCLUS {
    font-family: 'FontAwesome';
    fill: white;
    cursor: pointer;
}

.vizListTitle {
    margin-top: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
}

#deputyListContainer {
    margin-top: 0px;
    border-top: 2px solid black;
}

#deputyList {
    list-style-type: none;
    padding: 10px;
    margin-top: 0px;
}

.deputyItem {
    list-style-type: none;
    padding-top: 5px;
}

#senatorListContainer {
    margin-top: 0px;
    border-top: 2px solid black;
}

#senatorList {
    list-style-type: none;
    padding: 5px;
    margin-top: 0px;
}

.senatorItem {
    list-style-type: none;
    padding-top: 5px;
}

.rectLegendText {
    font-weight: bold;
}

.dl_icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.5;
}

#department-select, #election-select {
    background-color: #fff;
    box-shadow: 0 2px 6px 0 rgba(136, 148, 171, .2), 0 24px 20px -24px rgba(71, 82, 107, .1);
    border: 0px;
    border-radius: 10px;
    padding: 10px;
    font-size: 15px;
    font-family: "Marianne";
}

#tableCities {
    text-align: center;
    padding: 5px;
}

.tablesCitiesHeader {
    text-transform: uppercase;
    border-bottom: 1px solid black;
    padding: 10px;
    letter-spacing: 1px;
}

#departmentChoice p, #electionChoice p {
    display: inline;
    margin-right: 10px;
}

#tableParrainsContainer,
#ElectionResultsContainer,
#ZRRMapContainer {
    text-align: center;
}

#tableParrainsContainer h3,
#ElectionResultsContainer h3,
#ZRRMapContainer h3 {
    margin-left: 10px;
}

#ElectionResultsGlobalTable td {
    border: 0px solid black;
}

#ElectionResultsGlobalTable h4 {
    padding: 0px;
    margin: 5px;
    margin-top: 10px;
    text-align: center;
}

#ElectionResultsGlobalTable h4 i {
    margin-left: 5px;
}

#ElectionResultsMapLegend h4 {
    display: inline;
    vertical-align: center;
}


#ElectionResultsTableContainer {
    overflow-y: scroll;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* 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: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Progress bar - Elections results */
.ElectionResultsWrapper {
    text-align: left;
}

.ElectionResultsProgressBar {
    width: 100%;
    background-color: #F3F4F6;
    padding: 0px;
    border-radius: 50px;
}

.ElectionResultsProgressBarFill {
    display: block;
    height: 8px;
    border-radius: 50px;
}

/* .ElectionResultsWrapper p {
    padding: 0px;
    margin: 0px;
} */

.ElectionResultsWrapper .candidat {
font-weight: bold;
font-size: 18px;
}
.ElectionResultsWrapper .etiquette {
font-size: 13px;
}
.ElectionResultsWrapper .scorePourcentage {
font-weight: bold;
font-size: 15px;
}

.subtitle1 {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 0px;
}
.subsubtitle {
    text-align: center;
    padding: 0px;
    margin: 0px;
    margin-bottom: 15px;
}

.tablesDotationHeader {
    text-transform: uppercase;
    border-bottom: 1px solid black;
    padding: 10px;
    letter-spacing: 1px;
}

.dotationLine td {
    padding-top: 5px;
    padding-bottom: 5px;
}
#DGFTableContainer, #AnalyseFinTableContainer, #AnalyseFinEPCITableContainer {
    max-height: 400px;
    overflow-y: auto;
    display: block;
}

#DGFTable, #AnalyseFinTable, #AnalyseFinEPCITable {
    text-align: center;
}
.tablesDGFHeader, .tablesAnalyseFinHeader, .tablesAnayliseFinEPCIHeader {
    text-transform: uppercase;
    border-bottom: 1px solid black;
    padding: 10px;
    letter-spacing: 1px;
}

#cover-spin {
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(255,255,255,0.8);
    z-index:9999;
    display:none;
}

@-webkit-keyframes spin {
	from {-webkit-transform:rotate(0deg);}
	to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
	from {transform:rotate(0deg);}
	to {transform:rotate(360deg);}
}

#cover-spin::after {
    content:'';
    display:block;
    position:absolute;
    left:48%;top:40%;
    width:40px;height:40px;
    border-style:solid;
    border-color:black;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

#AnalyseFinContainer h2 {
    text-align: center;
}

#DGFTable, #AnalyseFinTable, #AnalyseFinEPCITable {
    text-align: center;
}

.analyseFinMainEntry {
    text-align: center;
}