 /* CSS Document */

/*////////////////////////////////////////////////////////////////////////////////////////////////////////////                                        
/////                                                                                                    ///// 
/////                                           POLICES                                                  ///// 
/////                                                                                                    ///// 
////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

 h1 { 
	font-family: 'Giorgio-thin', 'Roboto', 'Cabin',  helvetica;
	font-weight: 200;
	font-size: 3em;
	color: #D31D31;
	text-align: center;
 }

 h2 { 
	font-family: 'Giorgio-thin', 'Roboto', Cabin,  helvetica;
	font-weight: 300;
	font-size: 1.5em;
	letter-spacing: -0.0em;
	color: rgba(0,0,0,0.6);
	text-align: center;
 }

 h3 { 
	margin: 0 0 30px 0;
	color: #31a7d2;
	text-align: center;
 }

 h4 { 
	font-family: 'Roboto', Cabin,  helvetica;
	font-weight: 300;
	font-size: 0.75em;
	letter-spacing: -0.05em;
	color: rgba(0,0,0,0.6);
	margin: 0px;
 }
		
 
 h5 { 
 	font-family: 'Roboto', Cabin,  helvetica;
	color: rgba(0,0,0,0.6);
	font-size: 12px;
	line-height: 14px;
	font-weight: normal;
	margin: 0;
	padding: 0;
 }
 		
 a { 
 	text-decoration: none; 
	border: none; 
	font-family: arial; 
	color: rgba(0,0,0,0.7);
}	

/* Définition des balises de textes */
 
 p {
	color:  rgba(0,0,0,0.6);
	text-align: center;
}
 
 * {
	font-family: 'Roboto', helvetica, Arial, sans-serif;  
 	margin: 0;
	padding: 0;
 	-webkit-box-sizing: border-box; -O-box-sizing: border-box; -ms-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;  
 
 }


/*////////////////////////////////////////////////////////////////////////////////////////////////////////////                                        
/////                                                                                                    ///// 
/////                                           PAGE                                                     ///// 
/////                                                                                                    ///// 
////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/*Mise en page*/

#page_occasions #site_location{
	margin-bottom: 8px;
}

#page_occasions #full_width1{
	box-shadow: none;
	padding-bottom: 0;
}

#page_occasions #full_width3{
	box-shadow: none;
	background-color: #FAFAFA;
}


#page_occasions h1{
	margin: 0;
	text-align: center;
}


#page_occasions h2 {
	color: #D31D31;
	margin: 20px 0 0 0;
}

#page_negoce h3 {
	text-align: center;
	margin: 0 0 15px 0;
	color: rgba(0,0,0,0.4);
}

.occasions_intro p {
	text-align: justify;
	font-size: 14px;
	color: rgba(0,0,0,0.6);
	line-height: 20px;
	font-weight: 100;
	font-family: helvetica;
	padding: 0 10px;
}

/*////////// Full Width 1 //////////*/

#top_box {
	width: 100%;
	height: 150px;
	border-radius: 0 0 10px 10px;
	overflow: hidden;
	border-top: solid 1px rgba(0,0,0,0.2);
	box-shadow: 0 0px 10px 0px rgba(0,0,0,0.1);
}

#top_left_box {
	display: inline-block;
	position: relative;
	width: 50%;
	height: 150px;
	padding: 50px 70px 0;
	background-color: rgba(0,0,0,0.02);
	box-shadow: inset -10px 0 10px -10px #FFF, 
				inset -20px 0 20px -20px #FFF, 
				inset -30px 0 30px -30px #FFF, 
				inset -40px 0 40px -40px #FFF, 
				inset -50px 0 50px -50px #FFF,  
				inset -60px 0 60px -60px #FFF,  
				inset -70px 0 70px -70px #FFF, 
				inset -80px 0 80px -80px #FFF,  
				inset -90px 0 90px -90px #FFF, 
				inset -100px 0 100px -100px #FFF;
	vertical-align: top;
	overflow: hidden;
}

#top_left_box p{
	color: #666;
	text-align: justify;
	font-size: 16px;
}


#top_right_box {
	display: inline-block;
	position: relative;
	width: 50%;
	height: 150px;
	margin-left: -4px;
	padding: 0px 20px;
	background-color: #FFF;
	overflow: hidden;
	box-shadow: inset 100px 0 100px -100px rgba(0,0,0,0.02) ;
}

#top_left_box #grey_arrow {
	display: none;
	position: absolute;
	top: 105px; right: -30px;
	width: 60px;
	height: 60px;
	background-color: #FFF;	
	
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
}

#top_right_box img {
	position: absolute;
	bottom: -10px; right: 170px;
	height: 80px;
	width: 100px;
	
	transform: rotate(5deg);
	-webkit-transform: rotate(5deg);
	-moz-transform: rotate(5deg);
	-ms-transform: rotate(5deg);
	-o-transform: rotate(5deg);
}

#top_right_box h1 {
	text-align: right;
	margin-top: 20px;
}

#top_right_box h3 {
	text-align: right;
}

/* Contenu */

#occasions_content {
	height: 70vh;
	background-color: #FFF;	
	border-radius: 10px 10px 0 0;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);	
}

/* Menu : choix de produits */

 #page_occasions  #materiel_occasion {
	position: relative;
	width: 100%;
	height: 150px;
	margin: 30px auto 0;
	border-radius: 10px 10px 0 0;
	background-color: rgba(0,0,0,0.05);
	overflow: hidden;
 }

 #materiel_occasion #table_container {
	position: relative;
	display: inline-block;
	width: 60%;
	margin: 0 0 10px 0;
	overflow-x: scroll;
	overflow-y: hidden;
	text-align: left;
	z-index: 1001;
}

 #materiel_occasion #rechercher_materiel {
	position: relative;
	display: inline-block;
	float: left;
	width: 250px;
	height: 200px;
	margin: 0 50px 0 0;
	padding: 10px 20px;
	background-color: #b94637;	
	text-align: center;
	z-index: 1000;
}

 #materiel_occasion #grey_arrow {
	position: absolute;
	top: 50px; left: 220px;
	width: 50px;
	height: 50px;
	background-color: #b94637;
	z-index: 999;
			
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
}

 #materiel_occasion #rechercher_materiel input[type=text] {
	font-family: Arial; 
	font-size: 12px; 
	color: rgba(0,0,0,0.6); 
	border: solid 1px rgba(0,0,0,0.2); 
	border-radius: 4px; 
	background-color: rgba(255,255,255,1);
	height: 40px; 
	width: 100%;
	margin: 15px 0 8px 0;
	padding: 0px 8px 0 8px;
 }
 
  #materiel_occasion #rechercher_materiel label {
	display: inline-block;
	font-family: giorgio-thin;
	color: #FFF;
	margin: 10px 0 0 0;
 }
 
 #materiel_occasion #rechercher_materiel a {
	color: #fff;
	margin: 0;
	font-size: 12px;
 }
 
 #materiel_occasion #occasions_table {
	display: inline-block;
	width: 680px;
	text-align: center;
	margin: 10px 0 0 0;
}


#materiel_occasion #occasions_table li{
	position: relative;
 	width: 120px;
	height: 120px;
	background-color: #FFF;
	margin: 0px 15px 20px -4px;
	padding: 20px;
	vertical-align: top;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	
}

#materiel_occasion #occasions_table li img{
 	width: 100%;
}

#materiel_occasion #occasions_table li h3{
 	position: absolute;
	bottom: 0; left: 0; right:0;
	height: 40px;
	line-height: 33px;
	margin: 0;
	border-radius: 0 0 10px 10px;
	background-color: #fff;
	color: #666;
	box-shadow: inset 0 5px 5px -5px #ccc;
}

/* Contenue principale de la page : filter  et afficher articles */

#occasions_content{
	
}

#filter_items{
	display: inline-block;
	width: 250px;
	height: 1000px;
	vertical-align: top;
	background-color: rgba(0,0,0,0.05);
	padding: 15px;
}

#filter_items form{
}

#filter_items h3{
	text-align: left;
	margin: 15px 0 5px;
	font-family: giorgio-thin;
	color: #D31D31;
}

#filter_items label{
	text-align: left;
	margin: 5px 0;
	color:#666;
}

#filter_items input[type=checkbox]{
	
}

#filter_items input[type=text]{
	margin: 5px 0;
	height: 40px;
	width: 100%;
	background-color: #FFF;
}

#filter_items select{
	width: 100%;
}

/* Vignettes d'affichage des articles */

#display_items{
	display: inline-block;
	width: 750px;
	text-align: center;
}

#display_items ul {
	width: 100%;
	text-align: left;
	margin: 0 0 0 20px;
}

#display_items ul li{
	position: relative;
	display: inline-block;
	width: 30%;
	height: 170px;
	margin: 15px 2% 15px 0;
	border-radius: 8px;
	box-shadow : 0 0 10px 0 #CCC;
	background-color: #Fafafa;
	overflow: hidden;
}

#display_items ul li .item_preview{
	position: absolute;
	bottom: 0; left: 0; right: 0;
	text-align: left;
	height: 60px;
	background-color: rgba(255,255,255,0.8);
	padding: 10px;
}

/* Bouton "+" */
#display_items ul li .item_preview h4{
	position: absolute;
	top: 10px; right: 10px;
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 18px;
	border-radius: 3px;
	background-color: #51AB51;
	color: #FFF;
}

#display_items ul li .item_preview h3{
	display: inline-block;
	color: #D31D31;
	font-family: giorgio;
	font-size: 16px;
	text-align: left;
	margin: 0;
}

#display_items ul li .item_preview p{
	display: none;
	text-align: left;
}

#display_items ul li .item_preview span{
	display: none;
}

/* Animation survol vignette */
#display_items ul li:hover .item_preview { height: 150px;}
#display_items ul li:hover .item_preview h4{display: none;}

#display_items ul li:hover .item_preview p{
	display: inline-block;
	color: #666;
}

#display_items ul li:hover .item_preview span{
	display: inline-block;
	width: 30%;
	height: 20px;
	margin: 15px 2% 15px 0;
	padding: 3px 8px;
	background-color: #51AB51;
	color: #FFF;
	overflow: hidden;
	text-align: center;
	border-radius: 2px;
}


