body
{
    background: url('../images/fond.jpg');
    background-attachment: fixed;
    background-size: 100% 100%; /*cover*/
}

p
{
    margin: 0;
}

a, a:hover
{
    color: black;
}

.error
{
    font-weight: bold;
    color: red;
    text-align: center;
}

.valid
{
    font-weight: bold;
    color: green;
    text-align: center;
}

.container, .row
{
    margin: 0;
    padding: 0;
}

/*Header*/
#header
{
    width: 100%;
    min-height: 160px;
    /*background: #61615F;*/
}

#bandeau
{
    max-width: 1200px;
    height: 100%;
    margin: auto;
    background: url('../images/fond_bandeau.png');
    background-size: 100% 100%;
}

#lang
{
    width: 100%;
    height: 40px;
    border-bottom: 1px solid white;
    margin: 0 0 10px;
    background: white;
}

#lang img
{
    /*float: right;*/
    margin-left: 10px;
}

#divconn
{
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    height: 100%;
    padding: 0;
}

#divconng
{
    display: flex;
    align-items: center;
}

#divconnd p
{
    height: 100%;
    display: flex;
    align-items: center;
}

#divconnd #pdeco
{
    padding-right: 10px;
}

#divconnd #pdeco *
{
    margin: 0 2px;
}

#divconnd #pdeco a
{
    color: #337ab7;
}

#divconnd .a1
{
    text-decoration: none;
    position: relative;
}

#divconnd .a1 img
{
    width: 26px;
    margin: 0 10px;
}

#divconnd .a1 #divnbpan
{
    width: 20px;
    height: 20px;
    background: CornflowerBlue;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: 0;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
}

#divconnd .a2:after
{
    content: "\25BC";
}

#divconnd .a2:hover
{
    color: blue;
    text-decoration: none;
}

/*#divup
{
    position: relative;
}

#divsup
{
    display: none;
    background: white;
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 9999;
}

#divsup a
{
    display: block;
    padding: 20px;
}*/

#divconnd .ulder, #divconnd .ulsou
{
    list-style-type: none;
}

#divconnd .ulder:after
{
    content: "";
    display: table;
    clear: both;
}

#divconnd .ulsou
{
    display: none;
    background: white;
    padding: 10px 0 0;
}

#divconnd .lider:hover .ulsou
{
    display: block;
}

#divconnd .ulsou a
{
    display: block;
    padding: 5px;
    color: blue;
    font-size: 12px;
}

#bbas
{
    height: 130px;
}

#logo1
{
    padding-right: 0;
    margin-right: -15px;
}

#logo1 img
{
    width: 100%;
    height: 100%;
}

#logo2
{
    padding: 0;
    margin-right: -15px;
}

#logo2 img
{    
    margin: 10px auto;
    display: block;
}

#logo2 #logom
{
    width: 40%;
}

#logo2 #logou
{
    width: 85%;
}

#contact_h
{
    margin-top: 25px;
    padding-left: 0;
    text-align: center;
    padding-bottom: 20px;
}

#contact_h p
{
    margin-top: 5px;
}

#contact_h #c1
{
    font-size: 20px;
}

#contact_h #c2
{
    font-family: 'Arial Black';
    letter-spacing: -1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact_h #c2 img
{
    margin-right: 10px;
    height: 28px;
}

#contact_h #c2fr
{    
    font-size: 20px;
}

#contact_h #c2en
{    
    font-size: 15px;
}

#contact_h #c3
{
    font-size: 13px;
}

#cnews
{
    padding: 0;
}

#news
{
    height: 150px;
    background: white;
    cursor: pointer;
}

#news .inews, #news .tnews
{
    display: inline-block;
    vertical-align: top;
}

#news .inews
{
    width: 40%;
    height: 100%;
    padding: 2px;
}

#news .tnews
{
    width: 58%;
}

#news .dnews
{
    height: 115px;
    max-height: 115px;
    padding-top: 5px;
    overflow: hidden;
}

#news .anews
{
    width: 170px;
    height: 25px;
    display: block;
    margin-top: 5px;
    float: right;
}

/*Footer*/
#footer
{
    width: 100%;
    min-height: 150px;
    background: url('../images/fond_footer.png');
    background-size: 100% 100%;
}

#footer .barre_footer
{
    width: 1px;
    height: 70px;
    float: left;
    margin: 0 5px 0 0;
    background: #969595;
}

#piedpage
{
    max-width: 1200px;
    height: 100%;
    margin: auto;
    padding: 20px 10px 0;
}

#legal
{
    padding: 0;
    line-height: 14px;
}

#follow
{
    padding: 0;
}

#follow img
{
    width: 35px;
    height: 35px;
    margin: 10px 3px 0;
}

#coord, #horaire, #contact_f
{
    padding: 0;
    line-height: 16px;
    margin-bottom: 20px;
}

#coord img, #horaire img, #contact_f img
{
    width: 20px;
    height: 20px;
}

#coord p, #horaire p, #contact_f p
{
    margin-left: 28px;
}

#coord .pb, #horaire .pb, #contact_f .pb
{
    margin: 0;
    display: inline-block;
}

#coord #acoord
{
    width: 180px;
    height: 25px;
    display: block;
    margin: 10px auto 0;
}

/*Contenu*/
#bloc
{
    width: 100%;
    min-height: 650px;
    /*background: url('../images/fond.jpg');
    background-size: 100% 100%;*/
}

#contenu
{
    max-width: 1200px;
    min-height: 650px;
    height: 100%;
    margin: auto;
    position: relative;
    background: url('../images/fond_contenu.png') repeat-x white;
    background-size: 100%;
}

/*Menu*/
#nav
{
    width: 100%;
    margin: 10px 0;
}

#nav .barre_menu
{
    width: 1px;
    height: 40px;
    float: left;
    margin: 10px 0 0 -1px;
    background: white;
}

#nav .navbar-nav
{
    width: 100%;
}

#nav li
{
    width: 15.5%;
    min-width: 150px;
    height: 70px;
}

#nav #n_1
{
    width: 5%;   
    min-width: 60px;
}

#nav a
{    
    width: 100%;
    height: 100%;
    display: inline-block;
    padding: 0;
    line-height: 65px;
    font-size: 18px;
    text-align: center;
    color: white;
    text-decoration: none;
    background: url('../images/fond_menu_off.png') repeat-x;
    background-size: 100% 100%;
}

#nav #n_1 a
{
    background: url('../images/fond_accueil_off.png') repeat-x;
    background-size: 100% 100%;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 10px;
}

#nav a:hover, #nav .active
{
    background: url('../images/fond_menu_on.png') repeat-x;    
    background-size: 100% 100%;
}

#nav #n_1 a:hover
{
    background: url('../images/fond_accueil_on.png') repeat-x;
    background-size: 100% 100%;
}

#nav #n_8 a
{
    border-top-right-radius: 5px;
    border-bottom-right-radius: 10px;
}

/* Popup */
.modal-box
{
    display: none;
    position: absolute;
    z-index: 1000;
    width: 98%;
    background: white;
    border-bottom: 1px solid #aaa;
    border-radius: 4px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-clip: padding-box;
}

.modal-box header, .modal-box .modal-header
{
    padding: 1.25em 1.5em;
    border-bottom: 1px solid #ddd;
}

.modal-box header h3, .modal-box header h4, .modal-box .modal-header h3, .modal-box .modal-header h4
{
    margin: 0;
}

.modal-box .modal-body
{
    padding: 2em 1.5em;
}

.modal-box footer, .modal-box .modal-footer
{
    padding: 1em;
    border-top: 1px solid #ddd;
    background: rgba(0, 0, 0, 0.02);
    text-align: right;
}

.modal-overlay
{
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3) !important;
}

a.close
{
    line-height: 1;
    font-size: 1.5em;
    position: absolute;
    top: 5%;
    right: 2%;
    text-decoration: none;
    color: #bbb;
}

a.close:hover
{
    color: #222;
    -webkit-transition: color 1s ease;
    -moz-transition: color 1s ease;
    transition: color 1s ease;
}

.btnrouge
{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    color: white; 
    height: 50px; 
    font-size: 20px; 
    margin-top: 20px; 
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(212,0,34,1) 0%, rgba(112,0,11,1) 100%);
}

.btnrouge:hover
{
    background: linear-gradient(180deg, rgba(192,0,34,1) 0%, rgba(92,0,11,1) 100%);
    color: white;
    text-decoration: none; 
}

@media (min-width: 32em)
{
    .modal-box
    {
        width: 70%;
    }
}

@media (max-width: 768px)
{
    #nav li, #nav #n_1
    {
       width: 100%;
    }
    
    .affgd, #divconnd span:not(#divnbpan)
    {
        display: none;
    }
    
    #legal
    {
        margin-top: 30px;
    }
}
