﻿body {
    margin: 0px;
    background-color: #dfdfdf;
}

#header {
    width: 99%;
    height: 105px;
    background: #006cb7 repeat-x;
}

#logo {
    float: right;
    border: none;
}

#menu {
    position: absolute;
    top: 105px;
    left: 9px;
    z-index: 1;
}

#content {
    top: 0px;
    width: 99%;
    height: 450px;
    border-left: 2px solid #ccc;
    background: #fff url(../images/bg_content_right.gif) repeat-y top right;
}

#contentRapport {
    top: 0px;
    width: 99%;
    border-left: 2px solid #ccc;
    background: #fff url(../images/bg_content_right.gif) repeat-y top right;
}

h1 {
    position: absolute;
    top: 35px;
    margin-top: 5px;
    left: 15px;
    z-index: 11;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #fff;
}

#footer {
    width: 99%;
    height: 100%;
    border-left: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    background: #fff url(../images/bg_content_right.gif) repeat-y top right;
    font: bold 13px Arial;
    text-align: center;
    color: #000000;
}

    #footer .cornerLeft {
        margin: -17px 0 0 -2px;
    }

    #footer .cornerRight {
        margin: -17px 1px 0 0;
    }

.tableau_candidat {
    margin: 5px;
}

.nom_candidat {
    float: left;
    font: bold 16px Arial;
    color: #000000;
}

.parti_politique {
    text-align: justify;
    font: bold 12px Arial;
    color: #000000;
}

.parti_politique_conseil {
    font: 10px Arial;
    color: #000000;
}

.conseiller_nom {
    font: 14px Arial;
    color: #000000;
}

.election_candidat {
    font: 16px Arial;
    color: #000000;
    text-align: right;
    padding-right: 5px;
}

.photo_candidat {
    border: 2px solid #2e5fa2;
}

.votes_candidat {
    background: #eeeeee;
    font: bold 16px Arial;
    color: #000000;
    text-align: right;
    padding-right: 5px;
}

.pourcentage_candidat {
    background: #eeeeee;
    font: 16px Arial;
    color: #000000;
    text-align: right;
    padding-right: 5px;
}

.bas {
    margin: 0 10px;
    padding-bottom: 5px;
}

.boutonGrand {
    height: 22px;
    width: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    color: #000000;
    text-align: center;
}

.boutonPetit {
    height: 22px;
    width: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    color: #000000;
    text-align: center;
}

.titrePave {
    background: #eeeeee;
    font: bold 12px Arial;
    height: 20px;
}

.textePave {
    font: 12px Arial;
}

.titreRapport {
    background: #eeeeee;
    font: bold 16px Arial;
    height: 30px;
}

.noscript {
    position: absolute;
    top: 0px;
    left: 0px;
    border: 2px solid Red;
    color: Red;
    text-align: center;
    text-align: center;
    font-size: 12pt;
    font-weight: bold;
    width: 100%;
    background-color: #FFFFFF;
    height: 25px;
}

.table_responsive {
    display: table;
    width: 99%;
    margin-top: 1%;
}

.table_responsive_row {
    display: table-row;
}

.theader {
    display: table-row;
}

.table_responsive_header:first-child {
    border-left: #ccc 1px solid;
    border-top-left-radius: 5px;
}

.table_responsive_header:last-child {
    border-right: #ccc 1px solid;
    border-top-right-radius: 5px;
}

.table_responsive_small {
    display: table-cell;
    text-align: right;
}

.table_responsive_row:last-child > .table_responsive_small:last-child > .table_responsive_cell:last-child {
    border-bottom-right-radius: 5px;
}

.table_responsive_row:last-child > .table_responsive_small:first-child > .table_responsive_cell:last-child {
    border-bottom-left-radius: 5px;
}

@media screen and (max-width: 900px) {
    .table_responsive {
        width: 100%
    }
}

@media screen and (max-width: 650px) {
    .table_responsive {
        display: block;
    }

    .table_responsive_row:nth-child(2n+3) {
        background: none;
    }

    .theader {
        display: none;
    }

    .table_responsive_small {
        display: table-cell;
        text-align: left;
    }

    .table_responsive_row > .table_responsive_small > .table_responsive_cell:nth-child(odd) {
        display: table-cell;
        width: 50%;
    }

    .table_responsive_row {
        display: table;
        width: 100%;
        text-align: center;
    }

        .table_responsive_row > .table_responsive_small:first-child > .table_responsive_cell:last-child {
            border-left: none;
        }

        .table_responsive_row > .table_responsive_small:last-child > .table_responsive_cell:first-child {
            border-right: none;
        }

        .table_responsive_row > .table_responsive_small:last-child > .table_responsive_cell:first-child {
            border-bottom-left-radius: 5px;
        }

        .table_responsive_row > .table_responsive_small:last-child > .table_responsive_cell:last-child {
            border-bottom-right-radius: 5px;
        }

    #menu {
        position: absolute;
        top: 82px;
        left: 9px;
        z-index: 10;
    }

    h1 {
        position: absolute;
        top: 35px;
        margin-top: 5px;
        left: 200px;
        z-index: 11;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #fff;
    }

    body {
        margin: 0px;
        background-color: #dfdfdf;
        width: fit-content;
    }

    .tableau_candidat {
        margin-left: -4px;
    }

    .nom_candidat {
        font-size: small;
    }

    .parti_politique {
        font-size: small;
    }

    .votes_candidat {
        font-size: small;
    }

    .pourcentage_candidat {
        font-size: small;
    }
}
