﻿
body {
    font-family: "Gibson-SemiBold",Arial,Helvetica,sans-serif;
    font-size: 1.2em;
    height: 100%;
    margin: 0;
    position: relative;
    width: 100%;
    color: rgba(0, 0, 0, 0.8);
    background-image: url('../../Content/Images/fond.jpg');
    background-repeat: no-repeat;
    background-position: center 0;
    background-color: #fff;
}

h1 {
    color: #f5821e;
    font-size: 2.5em;
    font-family: "Gibson-SemiBold";
    margin: 0 0 .15em;
    font-weight: lighter;
}

h2 {
    color: #23527c;
    font-size: 2em;
    font-family: "Gibson-SemiBold";
    margin: 10px;
    padding: 10px;
    font-weight: lighter;
    text-align: left;
    border: 1px solid black;
}

a {
    cursor: pointer;
}

#banner .site-name a {
    font-family: "Gibson-SemiBold",Arial,Helvetica,sans-serif;
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    font-size: 2.8em;
    font-weight: bold;
}

#banner {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    border-bottom: .3125em solid #dadada;
}

#accueil {
    display: flex;
    flex-wrap: wrap;
}

#contenu {
    width: 980px;
    margin: auto;
    margin-bottom: 2em;
    background-color: white;
    box-sizing: border-box;
    box-shadow: 3px 3px 8px #cfcfcf;
}

#content {
    margin: 0 2em;
}

#footer {
    border-top: 1px solid #888;
    font: 1em "Gibson-SemiBold",Arial,Helvetica,sans-serif;
    padding: 5px 5px 15px;
    text-align: center;
    margin-top: 25px;
}

#fondselection {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 25px 0;
}

#rappel_requete {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

#fleche {
    display: flex;
    flex-wrap: nowrap;
    background-color: white;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #aaa;
    box-sizing: border-box;
    box-shadow: 3px 3px 8px #cfcfcf;
}

#fleche_a {
    text-decoration: none !important;
}

#france {
    width: 275px;
    height: 211px;
    background: url("/Content/Images/fond_gauche_france.png") no-repeat;
    padding: 10px 30px 0px 30px;
}

#renseignement {
    width: 275px;
    height: 211px;
    background: url("/Content/Images/fond_droit_capture.png") no-repeat;
    opacity: 0.3;
    padding: 10px 25px 0px 25px;
}

#rmel_com_suggest {
    background-color: white;
    max-height: 120px;
    border: 1px solid rgb(204, 204, 204);
    overflow-y: auto;
    overflow-x: hidden;
    cursor: pointer;
    display: none;
}

#taille {
    text-align: center;
}

.site-name-and-slogan {
    text-align: left;
}

.element:nth-child(2) {
    flex: 1;
}

.spacer {
    flex: 1;
}

.spacer_rappel {
    flex: 1;
}

.site-logo {
    margin: 10px;
}

.justify {
    text-align: justify;
}

.center {
    text-align: center;
}

.img_left {
    float: left;
    margin: 12px;
}

.select_commune {
    width: 215px;
    margin-top: 20px;
}

.msg_info {
    color: #039;
    font-style: italic;
    font-weight: bold;
}

.select_commune_texte {
    font-weight: bold;
}

    .select_commune_texte span {
        border-radius: 10px;
        color: white;
        background-color: black;
        border: solid 2px black;
    }

.msg_pdf {
    color: #039;
    font-style: italic;
    font-weight: bold;
}

    .msg_pdf:hover {
        text-decoration: none;
    }

.dropdown {
    cursor: pointer;
    width: 215px;
    background: url('/Content/Images/list_down.png') right top no-repeat rgb(255, 255, 255);
}

table.tab_commune {
    width: 100%;
    font-size: 14px;
}

th.tab_commune {
    background-color: #464646;
    color: #fff;
    padding: 3px;
}

td.tab_commune {
    border-bottom: 1px solid #EEEEEE;
    padding: 3px;
}

tr.tab_commune:nth-child(2n) {
    background-color: #d9afb3;
    color: white;
}

tr.tab_commune:nth-child(2n+1) {
    background-color: white;
}

tfoot.tab_commune {
    background-color: white;
}

.button_commune {
    font-size: 16px;
    font-weight: bold;
}

div.valider {
    padding-bottom: 35px;
    padding-top: 15px;
    text-align: center;
    width: 100%;
}

table.rappel {
    display: block;
    border-radius: 10px;
    border: 1px solid #aaa;
    padding: 10px;
    margin: 5px;
    box-sizing: border-box;
    box-shadow: 3px 3px 8px #cfcfcf;
}

tr.rappel {
}

td.rappel, tr.rappel, th.rappel {
    padding: 5px;
}

.info {
    color: #2b5821;
    font-size: 1.5em;
    font-family: "Gibson-SemiBold";
    margin: 10px;
    padding: 10px;
    font-weight: lighter;
    text-align: center;
    border: 1px solid black;
}

/* styles for validation helpers */

.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}


select.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}
/* fin styles for validation helpers */

.fleche_titre {
    font-weight: bold;
    font-size: small;
}

.fleche_corps {
    font-size: smaller;
}

.fleche {
    margin: 0 0 0 5px;
}

@media all and (max-width: 1024px) {
    #contenu {
        width: auto;
        margin: 0 2em;
    }
}

@media all and (max-width: 805px) {
    #contenu {
        width: auto;
        margin: auto;
        padding: 0 2em;
    }

    .site-name-and-slogan {
        width: 100%;
        text-align: center;
    }

    .site-logo {
        width: 100%;
        text-align: center;
    }

    .element:nth-child(1) {
        width: 100%;
    }

    .element:nth-child(2) {
        display: none;
    }

    #rappel_requete {
        justify-content: center;
        align-items: center;
    }

    .spacer_rappel {
        display: none;
    }
}

@media all and (max-width: 645px) {
    #contenu {
        width: auto;
        margin: auto;
        padding: 0 2em;
    }

    #fondselection {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #france {
        background-image: url("/Content/Images/fond_seul_france.png");
        margin-bottom: .3125em;
    }

    #renseignement {
        background-image: url("/Content/Images/fond_seul_capture.png");
    }

    .spacer {
        display: none;
    }
}

@media all and (max-width: 560px) {

    tr.tab_commune, td.tab_commune {
        display: block;
    }

    thead.tab_commune {
        display: none;
    }

    tr.tab_commune {
        border-radius: 10px;
        border: 1px solid #aaa;
        margin: 10px 20px;
        box-sizing: border-box;
        box-shadow: 3px 3px 8px #cfcfcf;
    }

    table.tab_commune, td.tab_commune {
        border-width: 0px !important;
    }

        td.tab_commune:nth-child(1):before {
            content: 'Section : ';
        }

        td.tab_commune:nth-child(2):before {
            content: 'Parcelle : ';
        }

        td.tab_commune:nth-child(3):before {
            content: 'Commentaire : ';
        }

        td.tab_commune:nth-child(4):before {
            content: 'Action : ';
        }

    #contenu {
        padding: 0;
    }

    #content {
        margin: 0;
    }
}


.button {
    background-color: #f2f2f2;
    background-image: linear-gradient(to bottom, #f2f2f2, #f2f2f2);
    border: 1px solid #bfbfbf;
    box-shadow: inset 0 1px 0 white, inset 0 -1px 0 #d9d9d9, inset 0 0 0 1px #f2f2f2, 0 2px 4px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    padding: 9px 16px 9px;
    margin: 16px 0 0 16px;
    transition: all 20ms ease-out;
    vertical-align: top;
    font-variant: small-caps;
    font-weight: bold;
}

    .button:hover, .button:focus {
        background: #f2f2f2;
        border-color: #8c8c8c;
        box-shadow: inset 0 1px 0 white, inset 0 -1px 0 #d9d9d9, inset 0 0 0 1px #f2f2f2;
    }

    .button:active {
        background: #f2f2f2;
        box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.2);
    }

    .button .fa {
        color: #bfbfbf;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .button .fa {
        float: left;
        font-size: 14px;
        line-height: 20px;
        margin: -1px 8px 0 -4px;
        vertical-align: top;
    }

#scrollUp {
    position: fixed;
    bottom: 10px;
    right: -100px;
    opacity: 0.5;
}
