/* Ci-dessous : CSS media queries */

/* smartphone */
@media screen and (max-width: 871px) {
	body {
		font-size:0.75em;
	}
	
	#top {
		padding-top:95px;
	}
	
	#encart {
		top:25px;
	}
	
	#texte {
		width:100%;
	}
	
	#resume {
		width:calc(100% - 40px);
		/*padding:45px 20px 0 20px;*/
		padding:25px 20px 0 20px;
	}

	#plus {
		width:calc(100% - 80px);
		/*padding:45px 20px 0 60px;*/
		padding:25px 20px 0 60px;
	}
	
	#miniature {
		width : 100%;
		clear:both;
	}
	
	#detail_alpages,
	#detail_pfp,
	#detail_pointdev,
	#detail_aglog,
	#detail_astbtp	{
		width:calc(100% - 20px);
		padding-left: 20px;
	}
	

	
	.smartphone { display:block; }
	.smartphone_inline { display:inline; }
	.smartphone_td { display:table-cell; }
	.pc { display:none; }
	.pc_inline { display:none; }
	.pc_td { display:none; }
}

/* 3: PC */
@media screen and (min-width: 872px)  {
	body {
		font-size:0.85em;
	}
	
	#top {
		padding-top:72px;
	}
	
	#encart {
		top:22px;
	}
	
	#texte {
		width:calc(100% - 200px);
		max-width:620px;
	}
	
	#resume {
		width:40%;
		max-width:260px;
		/*padding:45px 20px 0 20px;*/
		padding:25px 20px 0 20px;
	}

	#plus {
		width:40%;
		max-width:260px;
		/*padding:45px 20px 0 60px;*/
		padding:25px 20px 0 60px;
	}
	
	#miniature {
		width : 160px;
		height: 320px;
		float : right;
	}
	
	#detail_alpages,
	#detail_pfp,
	#detail_pointdev,
	#detail_aglog,
	#detail_astbtp	{
		width:calc(100% - 340px);
		max-width:480px;
		padding-left: 380px;
	}
	

	
	.smartphone { display:block; }
	.smartphone_inline { display:inline; }
	.smartphone_td { display:table-cell; }
	.pc { display:none; }
	.pc_inline { display:none; }
	.pc_td { display:table-cell; }
}




.clear {
	clear:both;
}

* {
	padding:0;
	margin: 0;
}

img {border:0;
}

body {
	background-color: #e1e1e1;
	font-family:Verdana, Helvetica, sans-serif;
	/*font-size:12px;*/
	text-align:justify;
	color: #343434;
}

#page {
	position:relative;
	/*width : 872px;*/
	width:100%;
	max-width:872px;
	margin:auto;
}

#top {
	/*width : 835px;*/
	width:calc(100% - 28px);
	max-width:835px;
	margin:auto;
	padding-left:28px;
	/*padding-top:72px;*/
}

#encart {
	position:absolute;
	/*top:22px;*/
	left:0;
	/*background-image:url('../images/fd-contact.jpg');*/
	background-color:#17772d;
	color: #fff;
	font-size:18px;
	/*width:209px;*/
	width:auto;
	/*height:22px;*/
	height:auto;
	padding:0 10px;
	/*float: left;*/
	text-align:left;
	
}

#contact {
	position:absolute;
	top:0;
	right:0;
	background-image:url('../images/fd-contact.jpg');
	color: #fff;
	font-size:14px;
	width:209px;
	height:22px;
	/*float: right;*/
	text-align:center;
	
}

#menu {
	font-family:Verdana, Helvetica, sans-serif;
	font-variant:small-caps;
	/*font-size:16px;*/
	font-size:1.2em;
	float:left;
	/*padding-top: 92px;*/
	padding-top:20px;
	word-spacing: 5px;
}


#menu a {color:#343434; text-decoration:none;}
#menu a:hover {color:#fff; background-color:#17772c;text-decoration:none;}

#logo {
	width: 323px;
	height:42px;
	/*padding-top: 50px;*/
	float:right;
}

#ligne {
	/*padding-top:125px;*/
}

#ligne img {
	width:100%;
	height:13px;
}

#container {
	/*width : 872px;*/
	width:calc(100% - 14px);
	max-width:872px;
	margin:auto;
	/*padding-top:14px;*/
	margin-top:14px;
	
	border-left:solid 26px #17772d;
}

#colonne {
	width:26px;
	/*height:540px;*/
	height:100%;
	min-height:540px;
	float:left;
}
	
#fond {
	/*background-image:url('../images/fond.png');*/
	background-image:url('../images/fond_grand.png');
	background-position:bottom center;
	background-repeat:no-repeat;
	/*width:841px;
	height:550px;*/
	width:calc(100% - 31px);
	max-width:841px;
	height:auto;
	min-height:550px;
	
	float:left;
	margin-left: 5px;
}

#immeuble {
	width:calc(100% - 1px);
	padding-left:1px;
}

#immeuble img {
	width:100%;
}

#texte {
	/*width: 580px;*/
	/*width:620px;*/	
	float :left;
}

#situation {
	font-size:15px;
	padding:20px 20px 0 20px;
	/*padding:40px 20px 0 20px;*/
	line-height: 20px;
}

#resume {
	/*width:280px;*/
	line-height: 18px;
	float:left;
}

#plus {
	/*width:260px;*/
	color:#17772c;
	float:left;
	line-height: 18px;
}
	
#titre_plus {
	font-size:16px;
	margin-bottom:10px;
}

#miniature {
	/*width : 160px;
	height: 320px;
	float : right;*/
	padding:23px 20px 0 20px;
}

#escalier{
	padding-top : 10px;
	padding-bottom:10px;
}

#titre{
	font-family:Verdana, Helvetica, sans-serif;
	font-variant:small-caps;
	letter-spacing:1px;
	font-size:18px;
	color:#17772c;
	float:left;
	padding-left:40px;
	padding-top: 40px;
}

#liste_entreprises{
	width:calc(100% - 40px);
	max-width:240px;
	/*width:240px;*/
	min-height:235px;
	/*height:235px;*/
	float:left;
	padding-left:40px;
	padding-top: 20px;
}

#liste_entreprises a{color:#555; text-decoration:none;}
#liste_entreprises a:hover {color:#fff; text-decoration:none;}


.intitule_a {
	background-image:url('../images/menu-a.jpg');
	height:38px;
	padding-left:50px;
	padding-top:5px;
	margin-top:13px;
	font-size:9px;
	color:#555;
}

.intitule_a a {
	font-size:9px;
	color:#555;
}

.intitule_a .first-line, .intitule_a .first-line a, .intitule_p .first-line, .intitule_p .first-line a {
	font-size:13px;
	font-weight:bold;
	letter-spacing:-0.5px;
}

.intitule_a:hover, .intitule_p:hover {
	background-position:0% -43px;
	color:#fff;
}


.intitule_p {
	background-image:url('../images/menu-p.jpg');
	height:38px;
	padding-left:50px;
	padding-top:5px;
	margin-top:13px;
	font-size:9px;
	color:#555;
}

table{
	/*width:454px;
	height:260px;*/
	float:right;
	padding-right: 40px;
	padding-top: 30px;
	border:none;
}

#batiment1{
	background-image:url('../images/batiment_01.jpg');
	background-size:100% 100%;
	width: 227px;
	height:135px;
}

#batiment2{
	background-image:url('../images/batiment_02.jpg');
	background-size:100% 100%;
	width: 227px;
	height:135px;
}

#batiment3{
	background-image:url('../images/batiment_03.jpg');
	background-size:100% 100%;
	width: 227px;
	height:135px;
}

#batiment4{
	background-image:url('../images/batiment_04.jpg');
	background-size:100% 100%;
	width: 227px;
	height:135px;
}

#details {
	width:calc(100% - 20px);
	/*max-width:480px;*/
	float:left;
}

#detail_alpages{
	/*width:480px;*/
	float:left;
	/*padding-left: 380px;*/
	padding-top: 20px;
	font-size:11px;
	text-align:left;
}

#detail_alpages a {color:#17772c; text-decoration:none;}
#detail_alpages a:visited {color:#17772c; text-decoration:none;}

#detail_pfp{
	/*width:480px;*/
	float:left;
	/*padding-left: 380px;*/
	padding-top: 20px;
	font-size:11px;
	display:none;
	text-align:left;
}

#detail_pfp a {color:#17772c; text-decoration:none;}
#detail_pfp a:visited {color:#17772c; text-decoration:none;}

#detail_pointdev{
	/*width:480px;*/
	float:left;
	/*padding-left: 380px;*/
	padding-top: 20px;
	font-size:11px;
	display:none;
	text-align:left;
}

#detail_pointdev a {color:#17772c; text-decoration:none;}
#detail_pointdev a:visited {color:#17772c; text-decoration:none;}

#detail_aglog{
	/*width:480px;*/
	float:left;
	/*padding-left: 380px;*/
	padding-top: 20px;
	font-size:11px;
	display:none;
	text-align:left;
}

#detail_aglog a {color:#17772c; text-decoration:none;}
#detail_aglog a:visited {color:#17772c; text-decoration:none;}

#detail_astbtp{
	/*width:480px;*/
	float:left;
	/*padding-left: 380px;*/
	padding-top: 20px;
	font-size:11px;
	display:none;
	text-align:left;
}

#trait {
	width:1px;
	height:82px;
	float:left;
	padding-top:20px;
}

.logo{
	width:180px;
	float:left;
	padding-left:20px;
}

.coordonnees{
	width:calc(100% - 20px);
	max-width:240px;
	/*width:240px;*/
	color:#17772c;
	float:left;
	padding-top: 9px;
	padding-left:20px;
	text-align:left;

}

#totem{
	width:calc(100% - 55px);
	max-width:250px;
	/*width: 250px;*/
	height: 420px;
	float:left;
	padding-left:55px;
	padding-top:15px;
}

#totem img {
	width:100%;
}

#plan{
	width:calc(100% - 40px);
	max-width:415px;
	height:270px;
	float:right;
	padding-right: 40px;
	padding-top: 30px;
	border:none;
}

#plan img {
	width:100%;
}

#renseignement{
	width:100%;
	max-width: 400px;
	float:right;
	padding-top: 0px;
}

#tel{
	width:calc(100% - 21px);
	max-width: 300px;
	/*width: 300px;*/
	float:left;
	padding-top: 20px;
	margin-left:20px;
	text-align:left;
}

#tel a {color:#343434; text-decoration:none;}

#tel:first-line{
	font-size:16px;
}

#referencement {
	position:relative;
	
	text-align:center;
	padding-top:20px;
	/*
	width: 600px;
	padding-left: 150px;
	*/
	width:100%;
}

#picto {
	width:70px;
	/*float:right;
	padding-right: 15px;*/
	position:absolute;
	top:0;
	right:15px;
}

#carte {
	position:relative;
	margin:20px auto 0 auto;
	width:90%;
	height:300px;
}



/***********/
/* COOKIES */
/***********/
#RGPD {
	display:block;
	position:fixed;
	margin:0;
	padding:10px;
	bottom:10px;
	left:50%;
	transform: translate(-50%, 0);
	color:#FFFFFF;
	background:rgba(0,0,0,0.85);
	border-radius: 5px;
	z-index:200;
	/*text-align:justify;*/
}

#RGPD a {
	text-decoration:underline;
	color:#ffffff;
}

#RGPD a.bouton_RGPD {
	text-align:center;
	text-decoration:none;
	padding:5px 10px;
	border-radius: 5px;
	background:#ffffff;
	color:#000000;
}