/* Move down content because we have a fixed navbar that is 50px tall */
html, body{
    height: 100%;
    background: white;
}
body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-family: arial;
}
*{
    font-family: arial !important;
}
#wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -118px;
    padding: 0 0 118px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: Arial,sans-serif;
    font-weight: bold;
    line-height: 1.1;
    color: inherit;
}

/* HEADER */
.navbar-fixed-top .navbar-toggle {
    border-color: rgb(136,89,21);
}
.navbar-fixed-top .navbar-toggle .icon-bar {
    background-color: rgb(136,89,21);
}
.navbar-fixed-top .navbar-toggle:hover {
    background-color: rgb(238,231,223);
    border-color: rgb(136,89,21);
}

.navbar-fixed-top .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background-color: rgb(238,231,223);
}

.navbar-fixed-top .navbar-toggle:hover .icon-bar {
background-color: #000;
}


#logo1{
    padding:0 15px;
    top:0;
    position:absolute;
    z-index:999;
    /*height:140px;*/
    overflow: hidden;
}

.navbar{
    background-color: rgb(203,177,140);
    height:90px;/*270px;62px;*/
    padding-top:10px;
}
p.textLogin{
    margin:auto;
    height:40px;
    line-height:30px;
    width:300px;
    padding:4px 6px;
/*    border: rgb(136,89,21) 1px solid;*/
    -moz-box-shadow: 0px 2px 5px 0px rgb(136,89,21);
    -webkit-box-shadow: 0px 2px 5px 0px rgb(136,89,21);
    -o-box-shadow: 0px 2px 5px 0px rgb(136,89,21);
    box-shadow: 0px 2px 5px 0px rgb(136,89,21);
    filter:progid:DXImageTransform.Microsoft.Shadow(color=rgb(136,89,21), Direction=180, Strength=5);    
    border-radius: 10px;
    background-color: rgb(238,231,223); 
}
p.textLogin a{
    float:right;
    margin-right:10px;
}


#form_search{
    /*height: 59px;*/
    height: 80px;
}
.searchBox{
    padding:4px 6px;
/*    border: rgb(136,89,21) 1px solid;*/
    -moz-box-shadow: 0px 2px 5px 0px rgb(136,89,21);
    -webkit-box-shadow: 0px 2px 5px 0px rgb(136,89,21);
    -o-box-shadow: 0px 2px 5px 0px rgb(136,89,21);
    box-shadow: 0px 2px 5px 0px rgb(136,89,21);
    filter:progid:DXImageTransform.Microsoft.Shadow(color=rgb(136,89,21), Direction=180, Strength=5);    
    border-radius: 10px;
    background-color: rgb(238,231,223);
}

.searchBox > div{
    padding-bottom:3px;
}

.searchBox label{
    margin:0;
    width:120px;
}

.searchBox input{
    height:22px;
    width:170px;
    background-color: rgb(215,196,168);
    border: rgb(203,177,140) 1px solid;
    border:none;
    border-radius: 0;
}

.searchBox select{
    height:22px;
    width:170px;    
    background-color: rgb(215,196,168);
    border: rgb(203,177,140) 1px solid;
    border:none;
    border-radius: 0;
}

.searchBox button{
    height:22px;
    width:30px;
    font-size:12px;
    font-weight: bold;
    padding:0;
    background-color: rgb(203,177,140);
    border: rgb(136,89,21) 1px solid;
    border-radius: 5px;
    color:#000;
}

#search{
    padding:3px 12px;
}

#avanced_search p{
    margin-top:5px;
    font-size: 10px;
    text-align: right;

}

#avanced_search div{
    
    width:310px;
    position:absolute;
    z-index: 9999;
    background:rgba(255,255,255,0.9);
    margin:0 0 0 29px;
    /*margin-top:-30px;*/
    font-size:10px;
    padding:5px;
    /*display:none;*/
}

#avanced_search div h2{
    margin:0 0 0 10px;
    padding:0;
    font-size: 12px;
    color: rgb(136,89,21);
}
#avanced_search div  ul:after{
    content: '';
    display: block;
    clear:left;
}

#avanced_search div  ul li{
    float:left;
    width:115px;
    margin:5px;
    overflow: hidden;

}
#avanced_search div  ul li label{
}

.jumbotron{
    padding:0;
    background-color: rgb(238,231,223);    
    height:110px;/*214px;*/
    margin-bottom:0;
}

.jumbotron .container{
    background-color: rgb(203,177,140);
    height:110px;/*214px;*/
    padding:0;
}

.jumbotron .container img{
    width:100%;
    height: 110px;
}
.menu{
   padding:0;
   background-color: rgb(238,231,223);   
}

.menu .container{

}

.menu > div > div > ul > li{
    text-transform: uppercase;

}

.menu > div > div > ul > li > a{
    text-transform: uppercase;
    color:#000;
    font-weight: bold;
}
.menu > div > div > ul > li:first-child > a{
    background: url('imgs/icon_environment.png') no-repeat 60px center;
}
.menu > div > div > ul > li:nth-child(2) > a{
    background: url('imgs/icon_hygiene.png') no-repeat 30px center;
}
.menu > div > div > ul > li:nth-child(3) > a{
    background: url('imgs/icon_securite.png') no-repeat 5px center;
}
.menu > div > div > ul > li:nth-child(4) > a{
    background: url('imgs/icon_bio.png') no-repeat 20px center;
}

.menu.noicon > div > div > ul > li > a{
    background-image: none;
} 

.menu > div > div > ul > li a{
    color:#000;
}
.menu > div > div > ul > li.active > a, .menu > div > div > ul > li > a:hover, .menu > div > div > ul > li > a:focus{
    background-color: rgb(203,177,140);
    /*background-color: #a89375;*/
    /*background-color: #000;*/
    color:#000;
}
/*.menu > div > div > ul > li > a:hover, .menu > div > div > ul > li > a:focus{
    background-color: #FFF;#61a3d3;
}*/
.menu > div > div > ul > li.open > a, .menu > div > div > ul > li.open > a:hover, .menu > div > div > ul > li.open > a:focus{
    background-color: #FFF;/*#61a3d3;/*rgb(203,177,140);*/
    color:#000;    
}

.menu > div > div > ul > li.open:first-child > a{
    -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.18);
    -moz-box-shadow:    0px 0px 12px 0px rgba(0, 0, 0, 0.18);
    box-shadow:         0px 0px 12px 0px rgba(0, 0, 0, 0.18);  
    border-left: rgb(238,231,223) 2px solid;  
}

.menu > div > div > ul > li.open:last-child > a{
    -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.18);
    -moz-box-shadow:    0px 0px 12px 0px rgba(0, 0, 0, 0.18);
    box-shadow:         0px 0px 12px 0px rgba(0, 0, 0, 0.18);  
    border-right: rgb(238,231,223) 2px solid;  
}

.menu .dropdown-menu {
    border: rgb(238,231,223) 2px solid;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin:0;
}
.menu .dropdown-menu *{
    background-color: #fff;
}
.menu .dropdown-menu > li .row{
    margin:0;
}
.menu .dropdown-menu > li ul{
    padding:0;
    margin:0;
    list-style: none;
/*    vertical-align: top;
    float:left;
    display: inline-block;
    background-color: #fff;
    min-height:100px;
    width:33%;
    margin-top:10px;*/
}

.menu ul.dropdown-menu li a:hover, .menu ul.dropdown-menu li a:focus{
    background-color: #fff;
}

.menu ul.dropdown-menu ul li a{
    text-transform: none;
}
.menu ul.dropdown-menu li.title{
    margin:10px 0 0 0;
    color: rgb(136,89,21);/*rgb(203,177,140)*/;
    text-transform: uppercase;
    font-weight: bold;
}
.menu ul.dropdown-menu li.title a{
    margin:0;
    padding:0;    
    display: inline;
    color: rgb(136,89,21);/*rgb(203,177,140)*/;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

.menu ul.dropdown-menu li.title a.speRub{
    background-color:#61a3d3;
    color:#FFF;
    padding:2px 3px;
}

.navbar-collapse.collapse.yamm > .container{
    padding:0;
}



.breadcrumb{
  height:30px;
  line-height:15px;
  margin-bottom:0;
  padding-bottom:0;
  background: #FFF;  
}
.breadcrumb ul{
    list-style: none;
    background: none;
    margin:0;
    padding:0;
}
.breadcrumb ul li{
    display: inline;
    font-size:12px;
    color: rgb(0,0,0);
    margin:0;
}
.breadcrumb ul li a{
    color: rgb(0,0,0);
}
.breadcrumb ul li:not(:first-child):before{
    content: '>';
    margin:0 2px;
}

/* END HEADER */

.mainContent .body{
    margin-top:170px;/*260px;*/
}
/*
.spinneret .body{
    margin-top:320px;
}
*/

/* BODY */

.body{
    padding:0 20px 0 0;
}

h1{
    margin:5px 0;
    background: url('imgs/bodyH2.png') no-repeat;
    font-size: 18px;
    padding-left:86px;
    height:49px;
    line-height:24px;
    text-transform: uppercase;    
}

.body h2{
    background: url('imgs/bodyH2.png') no-repeat;
    font-size: 18px;
    padding-left:86px;
    height:49px;
    line-height:49px;
    text-transform: uppercase;
}
.body h3{
    font-size: 13px;
    text-align: justify;    
}

.body h3 span{
    border-bottom: rgb(136, 89, 21) solid 3px;
    padding-bottom:5px;
    padding-right:30px;
}

h4{
    font-size: 14px;
    font-weight: normal;
}

.body .miniText{
    background: #ebf0f4;
    padding: 5px;
/*    border-radius: 5px;
    border: #61a3d3 1px solid;*/
    font-size: 12px;
}
.body .spinneretMiniText{
    margin-top: 5px;
    background: #ebf0f4;
    padding: 5px;
/*    border-radius: 5px;
    border: #61a3d3 1px solid;*/
    font-size: 12px;
    width:400px;
}

.body p, .body ul li{
    font-size: 12px;
    text-align: justify;
}

.body form.formPage > div > div{
    margin:10px;
}
.body form.formPage > div > div ul{
    float: right;
    color: red;
    list-style: none;
}

.body form.formPage label{
    display:inline-block;
    min-width: 200px;
}
.body form.formPage input[type=text],.body form.formPage input[type=email],.body form.formPage input[type=password], .body form.formPage input[type=url] , .body form.formPage select {
    width:350px;
    border:1px solid #ccc;
}
.body form.formPage textarea{
    width:350px;
    height:150px;
    border:1px solid #ccc;    
}


/*-- HOME --*/
ul.spinneretList{
    list-style: none;
    padding-left:0px;
    margin-left:0px;
}

ul.spinneretList:after{
    content: '';
    display:block;
    clear:left;
    
}

ul.spinneretList li >a >img{
    width:198px;
    height:166px;
}
ul.spinneretList li{
    position:relative;
    width:198px;
    height:166px;
    float:left;
    margin:15px;
}
.home p{
    margin-bottom: 2px;
}
ul.spinneretList li{
    margin:5px 5px;
}
ul.spinneretList li p{
    width:100%;/*165px*/
    height:30px;
    line-height:30px;
    margin:0;
    padding-left:10px;
    position:absolute;
    bottom:0;
    background: rgba(0,0,0, 0.5);
    color: rgb(255,255,255);
    font-size:12px;
    text-align:left;
}
ul.spinneretList li p a{
    margin-right:5px;
    text-decoration: none;
    color:#FFF;
    font-weight: bold;
    font-size: 13px;    
}
ul.spinneretList li p a img{
    margin-top:2px;

}


.list_docs_accueil{
    list-style: none;
    margin:30px 0 0 0;
    padding:0;
}

.list_docs_accueil > li{
    min-width: 100%;
    display: block;
    min-height:88px;
}

.list_docs_accueil > li:nth-child(odd){
    background-color: rgb(238,231,223);
}
.list_docs_accueil > li > a{
    /*width:10%;*/
}

.list_docs_accueil div{
    /*width:90%;*/
    /*display: inline-block;*/
    vertical-align: top;
    padding: 0;/*10px 10px 10px 35px;*/
}

.list_docs_accueil > li > div:first-child {
    vertical-align: middle;
    text-align: center;
    padding:10px;
}
.list_docs_accueil > li:last-child{
    margin-bottom: 20px;    
}


.list_docs_accueil div .date{
    font-size: 13px;
    text-align: justify;    
    font-weight: bold;
}

.list_docs_accueil div h3{
    margin:0 0 5px 0;
}
.list_docs_accueil div h3 span{
    border:none;
    padding:0;
}
.list_docs_accueil div p span:not(:last-child):after{
    content: ' / ';
}
.list_docs_accueil div h4{
    color: rgb(59,133,187);
    font-weight: bold;
    display: inline;
}
.list_docs_accueil div h4 a{
    color: rgb(59,133,187);
    text-decoration: underline;
}

.list_docs_accueil div ul.breadcrumbsDocument{
    list-style: none;
    margin:0 0 5px 0;
    padding:0;
}
.list_docs_accueil div ul.breadcrumbsDocument li{
    margin:0;
    padding:0;    
    display: inline-block;
    font-weight: bold;
}
.list_docs_accueil ul.breadcrumbsDocument li:not(:first-child):before{
    content: ' > ';
}


.list_docs_accueil li:after{
    content:'';
    clear: left;
    display: block;
}
.list_docs_accueil img{
    width: 20px;
    vertical-align: baseline;
}
/*-- END HOME --*/

/*-- spinneretList --*/

.list_docs{
    list-style: none;
    margin:30px 0 0 0;
    padding:0;
}

.list_docs > li{
    min-width: 100%;
    display: block;
    min-height:88px;
}

.list_docs > li:nth-child(odd){
    background-color: rgb(238,231,223);
}
.list_docs > li > a{
    width:10%;
}
.list_docs > li > a img{
    vertical-align: middle;
    margin:20px;
}
.list_docs > li:last-child{
    margin-bottom: 20px;    
}


.list_docs div{
    width:90%;
    display: inline-block;
    vertical-align: middle;
    padding:10px 10px 10px 0;
}
.list_docs div h4{
    color: rgb(59,133,187);
    font-weight: bold;
    display: inline;
}
.list_docs div h4 a{
    color: rgb(59,133,187);
    text-decoration: underline;
}

.list_docs div p{
    display: inline;
}

.list_docs div ul.breadcrumbsDocument{
    list-style: none;
    margin:0 0 5px 0;
    padding:0;
}
.list_docs div ul.breadcrumbsDocument li{
    margin:0;
    padding:0;    
    display: inline-block;
    font-weight: bold;
}
.list_docs ul.breadcrumbsDocument li:not(:first-child):before{
    content: ' > ';
}


.list_docs li:after{
    content:'';
    clear: left;
    display: block;
}
/*-- end spinneretList --*/


/* END BODY */

/* ASIDE */

.aside{
    margin-top:5px;
    padding:0;
    
}

.aside .block{
    margin-bottom:15px;
    background: rgb(235,240,244);
}


.aside h2{
    margin-top:0;
    background: rgb(59,133,187);
    /*border-left: rgb(62,90,130) solid 2px;*/
    border-bottom: rgb(62,90,130) solid 2px;
    color:#FFF;
    font-size: 18px;
    padding-left:15px;
    height:32px;
    line-height:32px;
}
.aside h2 a{
    color:#FFF;
}

.aside .block.speciale.mises_a_jour_mensuelles h2{
  background: #fabc22; 
  border-bottom: #885915 solid 2px;
    
  color: #000;
} 

.aside .block.speciale.mises_a_jour_mensuelles h2 a{
  color: #000;  
}

.aside ul{
    list-style: none;
    margin:0; 
    padding:0; 
} 

.aside h3{
    font-size: 14px;
    font-weight: normal;
    text-align: left;
    color: rgb(136, 89, 21);
    margin:15px 15px 0 15px; 
    /*border-bottom: rgb(136, 89, 21) solid 1px;*/
}
.aside h4{
    min-height:35px;
    font-size: 14px;
    font-weight: normal;
    text-align: left;
    color: rgb(59, 133, 187);
    margin:5px 15px 0 15px; 
}
.aside h4 img{
    margin-right:10px;
    float:left;
}


.aside h4 a{
    text-decoration: underline;
}
.aside p{
    font-size: 12px;
    font-weight: normal;
    text-align: justify;
    color: rgb(136, 89, 21);
    margin: 0 0 0 35px;/*5px 15px 5px 15px;*/
}

.aside p span{
    color: rgb(0,0,0);
}
.aside h3 a span{
    font-size: 75%;
}
.header-last-publication{
    border-bottom: rgb(136, 89, 21) solid 1px;
}
.header-last-publication + div{
    border-bottom: rgb(136, 89, 21) solid 1px;
}
/* END ASIDE */

/* FOOTER */
footer {
    min-height: 118px;
    background-color: rgb(215,196,168);
}

footer p{
    margin:0;
}

footer ul{
    list-style: none;
    margin:0;
}
footer ul li{
    display: inline-block;
}

footer .footer1{
    min-height:78px;
    line-height:78px;
}

footer .footer1 ul.links li a{
    font-size: 14px;
    text-transform: uppercase;
    color:#000;
}

footer .footer1 ul.links li:not(:last-child):after{
    content: '|';
    margin:0px 10px 0px 10px;
}

footer .footer1 .logoList ul li{
    float:left;
    margin-right:20px;
}

footer .footer2{
    background-color: rgb(59,133,187);
    min-height:40px;
    line-height:40px;
}
footer .footer2 p{
    text-align: center;
}
/* END FOOTER */

/* LOGIN PAGE */
.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  background-color: #FFF;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}

.alert-error {
background-color: #f2dede;
border-color: #ebccd1;
color: #a94442;
}

.btn-primary {
color: #fff;
background-color: #3b85bb;
border-color: #357ebd;
}

p.lostPasword{
    margin:10px 0 0;
    text-align: center;
}

/* END LOGIN PAGE */


/**************** medium desktop *****************/
@media (max-width: 990px) {
    /* HEADER */
    .navbar{
        height:202px;
    }
    .jumbotron{
        height:136px;
    }
    .jumbotron .container{
        height:136px;
    }
    
    .menu > div > div > ul > li{
        font-size:10px;
    }
    /* END HEADER */
    
    /* BODY */
    .mainContent .body{
        margin-top:180px;
    }
    .spinneret .body{
        margin-top:240px;
    }    
    /* END BODY */
    
    /* FOOTER */
    footer ul.links li a{
        font-size:12px !important;
    }
    /* END FOOTER */
} 
/**************** medium desktop end *****************/

/**************** mobile *****************/
@media (max-width: 768px) { 
    
    /* HEADER */
    .navbar {
        height: 160px;
    }    
    .navbar{
        min-height:150px;
    }
    
    .navbar .navbar-collapse{
        background-color: rgb(203,177,140);
    }
    .navbar > .container:first-child{
        min-height:150px;
    }
    .jumbotron{
        display:none;
    }
    
/*    .jumbotron .container{
        min-height:136px;
    }*/
    
    .searchBox{
       margin-top:100px; 
    }
    
    #avanced_search div{
        background:rgb(255,255,255);
    }    
    
    .breadcrumb ul li{
        display: inline;
        font-size:9px;
        color: rgb(0,0,0);
        margin:0;
    }    
    /* END HEADER */
    
    /* BODY */
    .mainContent .body{
        margin-top:165px;
    }
    .spinneret .body{
        margin-top:190px;
    }       
    h1{
        font-size: 16px;
        padding-left:86px;
        height:49px;
        line-height:49px;
    }

    .body h2{
        font-size: 16px;
        padding-left:86px;
        height:49px;
        line-height:49px;
    }    
    /* END BODY */
    
    /* FOOTER */
    footer .footer1{
        min-height:78px;
        line-height:30px;
    }    
    footer ul.links{
        margin-top:15px;
    }
    footer ul.links li{
        height:12px;
    }
    footer ul.links li:after{
        content:'' !important;
    }
    
    footer ul.links li a{
        font-size:10px !important;
    }
    
    footer .footer2{
        min-height:40px;
        line-height:20px;
    }    
    
    /* END FOOTER */
    
}
/**************** mobile end *****************/

@media (max-height:800px){
    .yamm .dropdown-menu{
        font-size:10px;
    }
}