/** GLOBAL **/

body{
	margin: auto;
	padding: 5px;
	font-family: 'Open Sans', sans-serif;
	font-weight: lighter;
}

.wrapper{
	max-width: 1340px;
	margin-left: auto;
    margin-right: auto;
}

a{
	text-decoration: none;
	color: #000;
}

a:visited{
	color: #000;
}

h1{
	font-size: 2em;
}

h2{
	font-size: 1.5em;
}

h3{
	font-size: 1.3em;
}

h4{
	font-size: 1.2em;
}

h1, h2, h3, h4{
	font-weight: bold;
}

/** ENTETE DE PAGE **/

#entete{
	display: flex;
	padding-top: 20px;
	margin-bottom: 20px;
}

#logo{
	width: 50%;
}

#entete img{
	display: flex;
	float: left;
	width: 15%;
}

#barre_nav{
	width: 40%;
	margin-top: 20px;
}

#barre_nav ul{
	display: flex;
	justify-content: flex-end;
}

#barre_nav li{
	margin-right: 30px;
}

#barre_nav li a:hover{
	color: #0065FC;
	border-top: solid #0065FC 1px;
	padding-top: 40px;
}

#sub{
	margin-top: 20px;
}

#sub a{
	color: #0065FC;
	font-weight: bold;
}

header h1{
	clear: both;
	margin-bottom: 10px;
	text-align: start;
}

header p{
	margin-bottom: 20px;
}


/** RECHERCHE **/

#recherche form{
	display: flex;
	height: 52px;
	border-radius: 15px;
	background-color: #F2F2F2;
	width: max-content;
	margin-bottom: 30px;
}

#recherche form label,h4{
	margin-bottom: auto;
    margin-top: auto;
}

#recherche form label{
	padding: 0 20px;
	text-align: center;
	font-size: 1.2em;
}


#ville{
	margin-top: 2px;
	height: 48px;
	border: #F2F2F2;
	text-align: center;
	font-size: 1.2em;
	font-weight: bold;
	vertical-align: middle;
}

#btnphone_search{
	display: none;
}

#btn_search{
	padding: 0 12px;
	height: 50px;
	background-color: #0065FC;
	color: #FFF;
	border: none;
	border-radius: 0 15px 15px 0;
	font-size: 1.2em;
}

#filter{
	display: flex;
	font-weight: bold;
	margin-top: auto;
	margin-bottom: auto;
}

#filter ul{
	display: flex;
	margin-top: auto;
	margin-bottom: auto;
}

#filter .familial i{
	padding: 15px 16px;
}

#filter h2{
	font-size: 1.2rem;
	padding-left: 10px;
	margin-right: 15px;
}

#filter i{
	padding: 15px;
	background-color: #DEEBFF;
	color: #0065FC;
	text-align: center;
	border-radius: 50px;
	margin-left: 15px;
	position: absolute;
}

@keyframes shake {
  0% { transform: translate(1px, 1px); }
  10% { transform: translate(-1px, -2px); }
  20% { transform: translate(-3px, 0px); }
  30% { transform: translate(3px, 2px); }
  40% { transform: translate(1px, -1px); }
  50% { transform: translate(-1px, 2px); }
  60% { transform: translate(-3px, 1px); }
  70% { transform: translate(3px, 1px); }
  80% { transform: translate(-1px, -1px); }
  90% { transform: translate(1px, 2px); }
  100% { transform: translate(1px, -2px); }
} 

#filter li:hover {
  animation: shake 1.5s;
}

#filter .text_search{
	height: 5px;
    margin-left: 15px;
    border: 1px solid #F2F2F2;
    border-radius: 50px;
    padding: 15px 15px 25px 55px;

}

#information{
    margin-top: 40px;
    margin-bottom: 40px;
}

#information i{
    border: 1px #f2f2f2 solid;
    border-radius: 25px;
    text-align: center;
    float: left;
    padding: 5px 10px;
    color: #0065FC;
}

#information p{
	padding-top: 8px;
    padding-left: 35px;
}


/** RESULTAT **/


#hebergement{
	display: flex;
}

#titre_heberg{
	display: none;
}

.bluestar{
	color: #0065FC;
	font-size: .8rem;
}

.greystar{
	color: #F2F2F2;
	font-size: .8rem;
}

#result_search h2{
	margin-bottom: 20px;
	margin-left: 15px;
}

#result_search{
	flex: 4;
    background-color: #f2f2f2;
    padding: 45px 10px;
    border-radius: 20px;
}

#first_line, #sec_line{
	display: flex;
	justify-content: center;
}

#first_line div, #sec_line div{
	margin: 10px 15px;
}

#result_search img{
	margin-bottom: 10px;
	border-radius: 10px 10px  0 0;
	width: 100%;
	height: 114px;
	object-fit: cover;
	object-position: center;
}

#result_search a{
	width: 100%;
}

.add{
	background-color: #FFF;
	border-radius: 10px;
	padding: 5px;
}

.add h4, .add p{
	padding-left: 15px;
	padding-bottom: 10px;
}

/** POPULAIRES **/

#populaire{
	flex: 1.5;
    position: relative;
    background-color: #f2f2f2;
    border-radius: 20px;
    margin-left: 40px;
    padding: 45px 40px 34px 35px;
}

#populaire h2{
	float: left;
}

#stat{
	float: right;
	font-size: 25px;
}

.popu:first-child{
	    margin-top: 55px;
}

.popu{
	position: relative;
	margin-top: 55px;
	margin-bottom: 16px;
	background-color: #FFF;
	border-radius: 10px;
}

#populaire img{
	width: 35%;
	height: 134px;
	object-fit: cover;
	object-position: center;
	padding: 5px;
	vertical-align: middle;
	border-radius: 10px 0 0 10px;
}

#populaire p, #populaire h4, #populaire .star{
	position: absolute;
	left: 40%;
}

#populaire h4{
	top: 10%;
	padding-right: 5px;
	text-align: start;
}

#populaire p{
	top: 60px;
}

#populaire .star{
	top: 114px;
}

#more{
	margin-left: 20px;
	font-weight: bold;
}


/** ACTIVITES **/

#activite{
	margin-top: 65px;
	margin-bottom: 25px;
}

#act_table, #act_table article{
	display: flex;
	margin-top: 25px;
}

#act_table article{
	flex: 1;
}

#activite article:first-child{
	margin-right: 3%;
}

#activite img{
	width: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 25px 25px 0 0;
}

#act1, #act2, #act3, #act4, #act5, #act6{
	border-radius: 25px;
	box-shadow: 5px 5px 20px #F2F2F2;	
}

.first_act{
	width: 90%;
	margin-right: 6%;
}

#act1, #act4{
		height: 450px;

}
#act1 img, #act4 img{
	height: 390px;
}

.second_act, .second_act2{
	height: 450px;
	width: 90%;
	display: flex;
    flex-direction: column;
}

#act2{
	height: 240px;
	margin-bottom: 13%;
}

#act2 img{
	height: 180px;
}

#act3{
	height: 170px;
}

#act3 img{
	height: 110px;
}

#act5{
	height: 195px;
	margin-bottom: 14%;
}

#act5 img{
height: 140px;
}

#act6{
	height: 210px;
}

#act6 img{
	height: 150px;
}

#activite h4{
	padding-left: 20px;
	padding-top: 20px;
}


/** PIED DE PAGE **/

footer{
	background-color: #F2F2F2;
	height: 200px;
	width: 100%
}

footer .wrapper {
	max-width: 1340px;
    display: flex;
    justify-content: space-around;
}

#propos , #nos_heberg , #assist{
	margin-top: 50px;
	margin-right: 15%;
}

#propos h3, #nos_heberg h3, #assist h3{
	margin-bottom: 20px;
}

#propos li, #nos_heberg li, #assist li{
	margin-bottom: 20px;
}


/** B-P 1195px **/

@media (max-width: 1195px)
{

	/** POPULAIRES **/

	#populaire .popu__para2{
		top: 75px;
	}


	/** ACTIVITES **/

	#act4 h4{
		padding-top: 3%;
	}

	#act5 h4{
		padding-top: 6%;
	}

}


/** B-P 1045px **/

@media (max-width: 1045px)
{

	/** POPULAIRES **/

	#stat{
		float: initial;
	}

	#populaire .popu__para2{
	    top: 92px;
	}


}

/** FORMAT TABLETTE **/

@media (max-width: 991px)
{
    

	/** GLOBAL **/ 

	body{
		padding: 0;
	}

	#stat{
		float: right;
	}


	/** ENTETE DE PAGE **/

	header{
		padding-left: 20px;
		padding-right: 20px;
	}

	#entete img{
		width: 30%;
	}

	#barre_nav{
		margin-top: 40px;
	}

	#sub {
    margin-top: 40px;
	}

	#barre_nav li a:active{
		padding-top: 55px;
	}

	/** RECHERCHE **/

	#recherche form{
		margin-left: auto;
	    margin-right: auto;
	}

	#btn_search{
		display: none;
	}

	#btnphone_search{
	    width: 18px;
	    display: inline;
	    background-color: #0065FC;
	    padding: 16px;
	    border-radius: 15px;
	}

	#filter h4{
		margin-left: 20px;
		padding-left: 0;
	}

	#information i{
		margin-left: 20px;
	    margin-right: 5px;
	}


	/** RESULTAT **/

	#result_search{
		width: auto;
		margin-bottom: 20px;
		border-radius: 20px;
	}

	.add h4{
		padding-bottom: 10px;
	}

	.add p{
		padding-bottom: 0;
	}

	/** HEBERGEMENTS **/

	#hebergement{
		flex-direction: column;
	}

	#first_line, #sec_line{
		flex-direction: column;
		width: max-content;
	}

	#first_line{
		float: left;
		width: 50%;
	}

	#sec_line{
		width: 50%;
	}

	#result_search img{
		width: 100%;
		height: 220px;
	}

	#more{
		position: relative;
    	top: 10px;
	}

	/** POPULAIRE **/

	#populaire{
		width: auto;
	    margin: 0;
	    padding: 20px;
	}

	#populaire img{
		width: 45%;
		height: 200px;
	}

	#populaire h4, #populaire p, #populaire .star{
		left: 50%;
	}

	#populaire .popu__para2 {
	    top: 60px;
	}

	.popu{
	    margin-left: auto;
	    margin-right: auto;
	}


	/** ACTIVITES **/
	#activite{
		margin-top: 0;
	}

	#activite h2{
		margin-bottom: 25px;
		margin-top: 15px;
		margin-left: 6%;
	}

	#activite h4{
		padding-bottom: 20px;
	}
	
	#act4 h4{
		padding-top: 20px;
	}

	#act1, #act2, #act3, #act4, #act5, #act6{
		margin-left: auto;
		margin-right: auto;
		margin-top: 10px;
		margin-bottom: 20px;
		height: auto;
	}

	.second_act, .second_act2 {
		margin-right: auto;
		margin-left: auto;
		height: auto;
	}

	#act_table{
		flex-direction: column;
	}

	#activite article:first-child {
    margin-right: auto;
	margin-bottom: 20px;
	}

	#act_table article {
		margin-top: 0;
		width: 100%;
		height: auto;
	}

	.first_act, .second_act{
		margin: 0 auto;
	}

	#act_table, #act_table article {
		flex-direction: column;
		margin-left: auto;
		margin-right: auto;
	}


	#activite img{
		height: 220px;
	}

	/** FOOTER **/

	footer{
		height: 350px;
	}

	footer .wrapper{
		justify-content: space-around;
	}

	#propos, #nos_heberg, #assist{
		margin-right: 0;
	}

	#propos li, #nos_heberg li, #assist li{
		margin-bottom: 10px;
	}
}


/** FORMAT MOBILE **/

@media (max-width: 768px)
{

	h1{
		font-size: 1.5em;
		padding: 0 20px;
	}


	/** ENTETE DE PAGE **/

	header{
		padding: 0;
		margin-bottom: 30px;
	}

	#entete{
	    flex-direction: column;
	}

	#logo{
	    margin-bottom: 20px;
	    margin-left: 10px;
	}

	#entete img{
		width: 60%;
	}
	 
	#barre_nav{
		margin-top: 0;
	}
	#barre_nav, #sub{
	    font-size: 1.2em;
	}

	#barre_nav li{
	    border-bottom: 1px solid #F2F2F2;
	    padding: 10px;
	    margin: 0;
	    width: 50%;
	    text-align: center;
	}

	#barre_nav li:active{
	    border-bottom: 1px solid #0065FC;
	    color: #0065FC;
	    border-top: none;
	}

	#entete li a:hover{
		border-top: none;
	}

	#barre_nav{
		width: 100%;
	}

	#sub{
	    position: relative;
	    width: max-content;
	    left: 75%;
	    top: -90px;
	    margin: 0;
	}

	header p{
		padding: 0 20px;
	}


	/** RECHERCHE **/

	#recherche{
		padding: 0 20px;
	}

	#recherche form p{
		padding: 0;
	}

	#ville{
		width: 100%;
	}

	#btn_search{
		display: none;
	}

	#btnphone_search{
	    width: 18px;
	    display: flex;
	    background-color: #0065FC;
	    padding: 16px;
	    border-radius: 15px;
	}

	#filter{
		display: block;
	}

	#filter h4{
    	margin: 0;
	}

	#filter ul{
		margin-left: 0;
	}

	#filter .firstUl li{
		margin-right: 10px;
	}
	#filter ul:last-child{
		display: block;
	}

	#filter li{
		margin-top: 15px;
		width: max-content;
	}

	#filter .text_search, #filter li i{
		margin-left: 0;
		margin-right: 5px;
	}

	#information i{
		margin-left: 0;
		margin-right: 5px;
	}

	/** RESULTAT **/

	#hebergement{
		flex-direction: column-reverse;
	}

	#populaire{
		flex: 1;
		width: auto;
		margin: 0 0 20px 0;
		padding: 0;
    	border-radius: 0;
	}

	#populaire h2{
		padding: 10px 10px 10px 20px;
	}

	#populaire h4{
		font-size: 1em;
	}

	#populaire img{
		height: 200px;
	}

	#stat{
		float: right;
		padding: 10px 20px 10px 10px;
	}

	.popu{
	    width: 90%;
	    margin-left: auto;
	    margin-right: auto;
	}

	#populaire .popu__para2{
		top: 60px;
	}

	#result_search{
		flex: 1;
		border-radius: 0;
		background-color: #FFF;
		width: auto;
		padding: 20px 0;
	}

	#result_search img{
		width: 97%;
		height: 220px;
		padding: 5px;
	}

	#first_line, #sec_line{
		flex-direction: column;
	    width: auto;
	    margin-left: auto;
	    margin-right: auto;
	    float: initial;
	}

	#first_line .add, #sec_line .add{
		width: 90%;
		margin-left: auto;
		margin-right: auto;
		box-shadow: 2px 2px 10px #F2F2F2;
	}

	/** ACTIVITES **/

	#activite{
		margin-top: 0;
	}

	#activite h2{
		margin-bottom: 25px;

	}

	#activite img{
		height: 220px;
	}

	#activite h4{
		padding-bottom: 20px;
	}
	
	#act4 h4{
		padding-top: 20px;
	}

	#act1, #act2, #act3, #act4, #act5, #act6{
		margin-left: auto;
		margin-right: auto;
		margin-top: 10px;
		margin-bottom: 20px;
		height: auto;
	}

	.second_act, .second_act2 {
		margin-right: auto;
		margin-left: auto;
	}

	/** PIED DE PAGE **/

	footer{
		height: auto;
		line-height: 25px;
	}

	footer .wrapper{
		flex-direction: column;
	}

	#propos, #nos_heberg, #assist{
		margin: 20px 0 20px 20px;
	}
}


/** Petit Smartphone **/

@media (max-width: 414px){

	
	h1{
		margin-right: 1%;
	}

	#populaire img{
		height: 134px;
	}

	#result_search img{
		height: 114px;
	}

	#activite img{
		height: 135px;
	}

}

@media (max-width: 375px){


	#recherche form {
		width: 100%
	}

}