/* --------------------------------------------------------------- */
/*
/* HTML
/*
/* --------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Open Sans";
    font-size: 15px;
}

body {
    text-align: left;
}

#main {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    margin: 0 auto;
    text-align: left;
    color: #161616;
    background-color: #F4F4F4;
}


/* --------------------------------------------------------------- */
/*
/* Header
/*
/* --------------------------------------------------------------- */
#entete {
    position: relative;
    top: 0;
    left: 0;
}

#entete #entete_haut {
    position: relative;
    top: 0;
    left: 0;
    padding: 5px 0;

    font-size: 14px;
    color: #FFFFFF;
    background-color: #373536;
}

#entete #entete_haut i {
    font-size: 17px;
    margin-right: 7px;
}

#entete #entete_haut span, #entete #entete_haut a, #entete #entete_haut i {
    color: #98AE4E;
}

/*--
Entete bas
--*/
#entete_bas {
    position: relative;
    top: 0;
    left: 0;
    padding: 10px 0;
    background-color: #161616;
    color: #FFFFFF;
    z-index: 1000;
}

#entete #logo {
    position: relative;
    top: 0;
    left: 0;
}

#entete #logo img {
    max-width: 285px;
}

#entete #recherche_entete {
    position: relative;
    top: 0;
    left: 0;
}

#entete #recherche_entete form.recherche_entete {
    display: flex;
    padding-bottom: 1px;
    border-bottom: 1px solid #949494;
}

#entete #recherche_entete form.recherche_entete input[type="text"] {
    background-color: #161616;
    color: #FFFFFF;
    border: none;
    padding: 5px 25px;
}

#entete #recherche_entete form.recherche_entete input[type="text"]::placeholder {
    color: #FFFFFF;
    font-style: italic;
    opacity: 1;
}

#entete #recherche_entete form.recherche_entete input[type="text"]:focus {
    box-shadow: none;
}


#entete #recherche_entete form.recherche_entete .valid_recherche {
    border: none;
    background-color: #8BAE30;
    color: #FFFFFF;
    padding: 5px 15px;
    border-radius: 3px;
}


#depot_entete {
    display: flex;
    justify-content: flex-end;
}

#entete #depot_entete .bouton {
    background-color: #4A7707;
    padding-bottom: 6px;
    border-radius: 3px;
}

#entete #depot_entete a {
    position: relative;
    top: 0;
    left: 0;
    background-color: #8BAE30;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 15px 9px 15px;
    border-radius: 3px;

    display: flex;
    align-items: center;
}

#entete #depot_entete a i {
    font-size: 16px;
    display: inline-block;
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #FFFFFF;

}

#entete #depot_entete a:hover {
    text-decoration: none;
}


#entete #boutons_entete .bouton_entete {
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
    display: inline-block;
    padding: 10px 25px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
}

#entete #boutons_entete .bouton_entete i {
    font-size: 25px;
    color: #8BAE30;
    display: block;
    margin-bottom: 7px;
}


/* --------------------------------------------------------------- */
/*
/* Menu
/*
/* --------------------------------------------------------------- */


#menu {
    position: relative;
    top: 0px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid #D3D3D3;
    z-index: 100;
}

#menu ul {
    position: relative;
    top: 0;
    left: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

#menu ul li.level_one {
    margin: 0px;
    padding: 0;
    height: 78px;
    display: flex;
    align-items: stretch;
}

#menu ul li.level_one.orange {
    background: #D37112;
}

#menu ul li.level_one.orange a {
    color: #FFF;
}

#menu ul li.level_one.orange:hover a:after {
    background-color: #FFFFFF;
}

#menu ul li.level_one a {
    position: relative;
    top: 0;
    left: 0;
    text-decoration: none;
    padding: 15px 30px;
    color: #161616;
    font-family: "Oswald";
    font-size: 16px;
    text-align: center;

    display: flex;
    align-items: center;

    z-index: 5;
}

#menu ul li.level_one:hover a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #98AE4E;
}

#menu ul li.level_one .sous_menu {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #D3D3D3;

    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;

    z-index: 10;
    display: none;
}

#menu ul li.level_one:hover .sous_menu {
    display: block;
}

#menu ul li.level_one .sous_menu ul {
    display: block;
    padding: 15px;
}

#menu ul li.level_one .sous_menu .titre_sous_menu {
    font-size: 14px;
    font-family: "Open Sans";
    text-transform: uppercase;
    font-weight: 900;
    border-bottom: 1px solid #8BAE30;
    padding-bottom: 7px;
    margin-bottom: 4px;
}

#menu ul li.level_one .sous_menu a {
    padding: 3px 0;
    font-family: "Open Sans";
    font-size: 14px;
}

#menu ul li.level_one:hover .sous_menu a:after {
    display: none;
}


/* --------------------------------------------------------------- */
/*
/* Recherche avancée
/*
/* --------------------------------------------------------------- */
#entete_accueil {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    /*background      : url("../img/photo_accueil.jpg") no-repeat center center;*/
    background-color: #D37112;
    background-size: cover;
    padding: 25px 0;
    min-height: 200px;
    /*margin-bottom:75px;*/

    transition: all 0.3s ease;
    z-index: 10;
}

#entete_accueil.hide {
    height: 0;
    padding: 0px 0;
    margin-bottom: 0px;
    min-height: 0;
    visibility: hidden;

    transition: all 0.3s ease;

    pointer-events: none;
}

#entete_accueil.hide #recherche_avancee {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#page #entete_accueil .box_form {
    background-color: rgba(255, 255, 255, 0.85);
    margin: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.recherche_accueil #recherche_avancee {

    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#recherche_avancee {
    position: relative;
    top: 0px;
    left: 0;
    background-color: #fefefe;
    width: 100%;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px #494949;

    transition: all 0.3s ease;
}

#recherche_avancee .titre_recherche {
    font-family: "Oswald";
    font-size: 24px;
    padding-bottom: 7px;
    margin-bottom: 7px;
    border-bottom: 1px solid #FFF;
    text-align: center;
}

#form_recherche_avancee input[type="text"] {
    position: relative;
    top: 0;
    left: 0;
    padding-left: 35px;
}

#form_recherche_avancee .form-group {
    position: relative;
}

#form_recherche_avancee .form-group i {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: #727477;
}

#form_recherche_avancee .submit_recherche {
    background-color: #D37112;
    border-color: #D37112;
    color: #FFF;
    padding-left: 35px;
    padding-right: 35px;
}

#form_recherche_avancee .select2-selection__placeholder::before {
    content: "\f03a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 12px;
}

.select2 {
    width: 100% !important;
}


/* --------------------------------------------------------------- */
/*
/* Page
/*
/* --------------------------------------------------------------- */
#page {
    position: relative;
    top: 0;
    left: 0;
    min-height: calc(100vh - 367.5px);
}

#page #bandeau_haut_page {
    display: none;
}

#page a {
    text-decoration: none;
}

#page .padding_page {
    padding: 35px 0;
}

#page .helper {
    margin: 15px 0;
    padding: 7px 7px;
    border-radius: 5px;
    background-color: #EEEEEE;
    border: 1px solid #CCCCCC;
    font-size: 14px;
    font-style: italic;
}


/* -----
H1, h2...
------ */
#page h1 {
    position: relative;
    top: 0;
    left: 0;
    font-family: "Oswald";
    font-size: 29px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #8BAE30;
}

#page h2 {
    position: relative;
    top: 0;
    left: 0;
    font-family: "Oswald";
    font-size: 22px;
    padding-bottom: 7px;
    margin-bottom: 10px;
    border-bottom: 1px solid #8BAE30;
}


/* -----
Box form, depot, etc
------ */
#page .box_form {
    position: relative;
    top: 0;
    left: 0;
    background-color: #FFFFFF;
    margin: 35px 0;
    border-radius: 5px;
    box-shadow: 0px 0px 10px #999999;
    padding: 35px;
    width: 100%;
}

#page .box_form.pointer {
    cursor: pointer;
}

#page .box_form p {
    margin-bottom: 0;
}

#page .btn-login {
    width: 100%;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

#page .radio_container {
    position: relative;
    top: 0;
    left: 0;
    background-color: #FFFFFF;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 3px #888888;
    margin: 30px 0;
    cursor: pointer;
}

#page .radio_container.custom-control {
    padding-left: 35px;
}

#page label.required:after {
    content: " *";
    color: #FF0000;
}


#page #communaute {
    position: relative;
    top: 0;
    left: 0;
    max-width: 250px;
    margin: 0 auto;
}

#page #communaute #liens_communaute {
    position: absolute;
    top: 145px;
    left: 0;
    width: 100%;
    text-align: center;
}

#page #communaute #liens_communaute a {
    color: #FFF;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 7px 0;
}

#page #communaute #liens_communaute a i {
    font-weight: normal;
    margin-right: 7px;
    font-size: 25px;
    color: #8BAE30;
}

#page #pagination {
    margin-top: 25px;
}

/* --------------------------------------------------------------- */
/*
/* Pied
/*
/* --------------------------------------------------------------- */
#pied {
    position: relative;
    top: 0;
    left: 0;
    text-align: center;

}

#pied a {
    text-decoration: none;
}

#pied #footer_bas {
    position: relative;
    top: 0;
    left: 0;
    text-align: left;
    background-color: #161616;
    padding: 25px 0;
}

#pied #footer_bas h4 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    color: #A5C92E;
    padding-bottom: 5px;
    border-bottom: 1px solid #3B3B3B;
}

#pied #footer_bas ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#pied #footer_bas ul li a {
    font-size: 12px;
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
}

#pied #footer_bas ul li a:before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    color: #A5C92E;
    display: inline-block;
    margin-right: 5px;
}

#pied #logo_reseaux_footer {
    text-align: right;
}

#pied #logo_reseaux_footer img {
    max-width: 200px;
}

#pied #logo_reseaux_footer .reseaux {
    display: flex;
    justify-content: flex-end;
}

#pied #logo_reseaux_footer .reseaux a {
    color: #FFFFFF;
    text-decoration: none;
    background-color: #A5C92E;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    margin-left: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
}


/* --------------------------------------------------------------- */
/*
/* Général
/*
/* --------------------------------------------------------------- */
a img {
    border: none;
}

/* --------------------------------------------------------------- */
/*
/* RESPONSIVE
/*
/* --------------------------------------------------------------- */

/* desactivation collapse footer */
@media screen and (min-width: 768px) {
    #pied .box_pied .collapse,
    #pied .box_pied .collapsing,
    #pied .box_pied .collapse.show {
        display: block !important;
        height: auto !important;
    }
}

@media screen and (max-width: 1199px) {

    #entete {
        position: sticky;
        z-index: 10000;
    }

    #recherche_entete {
        max-width: 200px;
    }

    #entete_bas {
        height: 85px;
        display: flex;
        align-items: center;
    }

    #pied #logo_reseaux_footer .reseaux {
        justify-content: center;
    }

    #pied #logo_reseaux_footer {
        text-align: center;
    }

    a img.logo {
        max-width: 100%;
    }


}

@media screen and (max-width: 991px) {
    #entete_accueil .box_form {
        border-radius: 5px 5px 0px 0px !important;
    }

    #page .box_form {
        border-radius: 5px !important;
    }
}

@media screen and (max-width: 767px) {
    #entete #entete_bas #logo img {
        max-width: 100%;
    }

    #entete #depot_entete .bouton span {
        display: none;
    }

    #entete #depot_entete a i {
        padding-right: 0px;
        margin-right: 0px;
        border-right: 0px solid #FFFFFF;

    }

    #entete #depot_entete a {
        padding: 10px 15px;
    }


    #page #encart_haut,
    #page .encart_pub_liste,
    #page .pub {
        overflow-x: auto;
    }


    #pied .box_pied .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0;
        margin-bottom: 0;
        border-bottom: 1px solid #3B3B3B;
    }

    #pied .box_pied .header .icone {
        color: #A5C92E;
        transform: rotate(0);
        transition: 0.4s;
    }

    #pied .box_pied .header:not(.collapsed) .icone {
        transform: rotate(180deg);
    }

    #pied #footer_bas h4 {
        margin-bottom: 0;
        border-bottom: none;
        padding: 0;
    }
}



