/* GENERAL
******************************************************************************************/
body {
	background: #444 url(../img/bg.png);
	font-family: 'Lato', sans-serif;
}

#wrapper {

	width: 960px;
	margin: 10px auto;
	min-height: 500px;
}

/* HEADER
******************************************************************************************/
#header {
	height: 150px;
	width: 100%;
	float: left;
	border-bottom: 1px solid #AEA18A;
	background: url(../img/header-bg.png) no-repeat ; 
	-webkit-border-top-left-radius: 15px;
	-moz-border-top-left-radius: 15px;
	-ms-border-top-left-radius: 15px;
	border-top-left-radius: 15px;			
	-webkit-border-top-right-radius: 15px;
	-moz-border-top-right-radius: 15px;
	-ms-border-top-right-radius: 15px;
	border-top-right-radius: 15px;	
	text-indent: -9999px;
}

#m-accueil  {
	display: block;
	width: 300px;
	height: 100px;
	margin: 0 auto;
}


#m-anniversaire {
	display: block;
	position: relative;
	top:-130px;
	left: 830px;
	width: 130px;
	height: 100px;
}
/* NAVIGATION
******************************************************************************************/
#nav {
	width: 100%;
	height: 40px;
	float: left;
 	background: #bdab89; 
	background-image: -webkit-linear-gradient(#C7BBA5 0%, #b7a585 100%);
	background-image: -moz-linear-gradient(#C7BBA5 0%, #b7a585 100%);
	border-top:1px solid #DFD7CC;
  border-bottom: 1px solid #AEA18A;
}

/* ANIMATION MENU */
#nav {
    position: relative;
    top: 0px;
    width: 960px;
}

.fixed { 
   position: fixed !important; 
   zoom:1; /* This enables hasLayout, which is required for older IE browsers */
   top: 0px !important;
   -webkit-box-shadow: 0px 4px 6px #666;
   -moz-box-shadow: 0px 4px 6px #666;
   -ms-box-shadow: 0px 4px 6px #666;
   box-shadow: 0px 4px 6px #666;         
}

/*.fixed #n-avo {
	background: url(../img/n-avo.png) no-repeat;
	text-indent: -9999px;
}*/


#nav li {
	height: 40px;	
	display:block;
	float:left;
	cursor: pointer;
	margin: 0 5px;
}

#nav li:first-child,
.fixed #nav li:first-child{
	width: 60px;
}

#nav li:nth-child(1n+2),
.fixed #nav li:nth-child(1n+2){
	width: 138px;
}

#nav>li>a {
  height: 40px;
  width: 100%;
  display: block;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  text-decoration: none;
  color:#5F5133;
  text-shadow: 1px 1px 2px white;
  line-height: 2em;
}

/*#avo #m-avo a,*/
#association #m-association a,
/*#accueil #m-avo a,*/
#activites #m-activites a,
#fonds_archives #m-fonds_archives a,
#nouvelles #m-fonds_archives a,
#dossiers #m-dossiers a,
#liens #m-liens a,
#contact #m-contact a,
#nav>li>a:nth-child(1n+2):hover, #nav>li:nth-child(1n+2):hover>a {
	background: #A6011F;
	color:white;
  text-shadow: 1px 1px 2px #333;

}

/*.fixed #m-avo:hover #n-avo, #avo .fixed #m-avo a{
	background: url(../img/n-avo.png) no-repeat A6011F;
	text-indent: -9999px;
}*/

#nav li:first-child img,
.fixed #nav li:first-child img{
	margin-left: -40px;
}

/* SOUS MENU */
#nav  li ul {
  display:none;
  position:relative;
  width: 150px;
  top:0px;
  left:0;
  padding: 0;
  margin: 0;
  list-style-type:none;
  background:#A6011F;
  opacity: .85;

}


#nav  li.drop:hover ul {
  display:block;
  z-index:1;
}

#nav li ul li {
  float:none;
  height: auto;
  padding:0px 0;
  margin: 0;
  border:none;
  color:white;
  text-decoration: none;
  font-size: 12px;
  border-top: 1px solid white;
}

#nav li ul li a {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color:white;
  display: block;
  text-decoration: none;
  font-weight: 400;
  width: 140px;
  padding: 5px 5px;
  height: 24px;
  line-height: 1.5em;
  -webkit-transition: 0.4s all ease;  
  -moz-transition: 0.4s all ease;  
  -ms-transition: 0.4s all ease;  
  transition: 0.4s all ease;      
}

#nav li ul li a:hover {
  background: #222 !important;
  opacity: 1;
}

#nav #m-activites ul,
#nav #m-fonds_archives ul,
#nav #m-dossiers ul	{
	width: 200px;
}

#nav #m-activites ul li,
#nav #m-fonds_archives  ul li,
#nav #m-dossiers  ul li {
	width: 200px;
 }

#nav #m-activites ul li a,
#nav  #m-fonds_archives ul  li a,
#nav  #m-dossiers ul  li a  {
	width: 190px;
}

#nav #m-activites ul li a:hover,
#nav  #m-fonds_archives ul  li a:hover,
#nav  #m-dossiers ul  li a:hover {
  background: #222;
  opacity: 1;	
}

/* CONTENU
******************************************************************************************/
#content {
  float: left;
  width: 100%;
  padding: 0 0 50px 0;
  border-top:1px solid white;
  background: #EFE9E0;
}

#content .gutter {
	padding: 20px 40px;
}

div.img
  {
    padding: 6px 6px 1px 6px;
    background-color: white;
    border-bottom: 1px solid #999;
    border-right: 1px solid #999;   
    float:left;
    font-size: 11px;
    color:#666;
    font-family: Helvetica, Arial, sans;
    text-align: right;
  } 


/* ACCUEIL
******************************************************************************************/
#accueil .title {
	text-align: center;
	margin: 32px 0;
	font-size: 32px;
}

.home-item {
	width: 45%;
	padding: 10px;
	background: white;
	float: left;
	margin: 0 20px 20px 0;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;	
	-ms-border-radius:5px;	
	border-radius:5px;		
	min-height: 500px;
}

.home-item .right {
	float: right;
}

.more-info {
	float: right;
}

.portrait {
	width:200px;
	/*float: left;*/
}

/* FONDS
******************************************************************************************/
#fonds_archives .col { 
	width: 49%;
	float: left;
}

#fonds_archives h2.intitule {
	font-size: 24px;
	margin: 0 0 24px 0;

}

#fonds_archives p.title {
	  font-family: 'Lato', sans-serif;
	  font-size: 18px;
	  border-bottom: 1px solid #a78e57;
	  margin: 24px 0 24px;
	  	color:#A6011F;
}

.subtitle {
	font-weight: bold;
}

/* DOSSIERS
******************************************************************************************/
.folder-item {
	display: block;
	width:400px;
	height: 160px;
	overflow: hidden;
	margin: 0 25px 20px 0;
	float: left;
	border: 1px dotted red;
  background: #f0f0f0;
  padding: 5px;
  text-decoration: none;
  border: 2px solid #f0f0f0;
}

.folder-item:hover{
	  border: 2px solid #A6011F;
} 

.folder-item h3 {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  color: #A6011F;
  margin: 0;
  	    padding: 0;
}

.folder-item h4 {
		  font-family: 'Lato', sans-serif;
	  font-size: 14px;
	    margin: 0;
	    padding: 0;
}

.folder-item img {
	float: right;
  margin: 0 0 0 0%;
  height: 150px;
}

#dossiers .left-col, #dossiers .right-col {
	/*width:400px;*/
	margin: 0 25px 20px 0;
	/*float: left;*/
}

#dossiers .picture {
	width: 400px;
}

.folder-nav {
	text-align: center;
	margin: 20px 0;
	font-size: 14px;
}

.folder-nav>a {
	color:#A6011F;
}
	
.img_dossier
  {
    margin: 0 0 0px 10px;    
    padding: 6px 6px 1px 6px;
    background-color: white;
    border-bottom: 1px solid #999;
    border-right: 1px solid #999;  
    float:right;
        font-size: 8px;
    color:#666;
    font-family: Helvetica, Arial, sans;
    text-align: right;    
 
  } 
  
  
/* GALERIES
******************************************************************************************/  
  
#gallery-list tr, #gallery-list td
  {
    vertical-align: middle;
  }  
  
#gallery-list td
  {
    padding: 20px;
  }  
  
  #dossiers div.image
  {

    background: white;
    text-align: center;
    float:left;
    float:left;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border: 2px solid transparent;
/*     margin: 0 2px 2px 0 */
  }  
  
#dossiers div.portrait img
  {
	    margin: -20% 0px ;


  }  
  
#dossiers div.land img
  {
    margin:  0px 0% 0 -30% ;

  }         

#dossiers .thumb
  {
/*     width: 350px; */

/*
    float: left;
    text-align: center;
    margin:5px;
*/
  }
  
/*
#galerie div.img
  {
  
  padding-bottom: 6px;
  }  

.thumb {
	margin: 0 30px 30px 30px;
	float: left;

}

.thumb .img, #dossiers .img {
	  padding-bottom: 6px;
}

div.img {

}
div.img.portrait.galerie
  {
    margin: 0 60px;

  }  
  
 div.img.land.galerie
  {
    margin:  0px 0
  }         
*/



label
 {
	display: block;
	font-weight: bold;
	color: #990c3a;
	width: 10em;

  }  
  
.oErrorMessage
  {
	display: block;
	font-weight: bold;
	color: red;
	margin: 0 0 12px 0;
	font-size: 80%;

  }  

/* PIED DE PAGE
******************************************************************************************/
#footer {
  width: 100%;
  float:left;
	height: 20px;
	background: #b7a585;
	font-size: 12px;
	text-align: center;
	padding: 8px 0;
	  color:#433924;
}

#footer a {
	  color:#433924;
}
  
/* CONSTRUCTION
******************************************************************************************/
#en_construction {
	font-size: 50px;
	text-align: center;
	padding: 180px;
	font-family: 'Lato', sans-serif;
	  color:#5F5133;
  text-shadow: 1px 1px 2px white;
}  