/*******************************************

	styles.css 
	test_no1
	-> Bertrand Jousset
	Author : Franck Jousset
	
********************************************/

/******************* General ****************/

@font-face { 
	font-family: gothic; src: url('./fonts/gothic.ttf'); 
}
@font-face { 
	font-family: handwriting; src: url('./fonts/handwriting.ttf'); 
}
@font-face { 
	font-family: droid; src: url('./fonts/droid.ttf'); 
}
@font-face { 
	font-family: nexa-light; src: url('./fonts/nexa_light.otf'); 
}
@font-face { 
	font-family: 18cents; src: url('./fonts/18cents.ttf'); 
}

@font-face { 
	font-family: batang; src: url('./fonts/18cents.ttf'); 
}

html,body{
	margin:0;padding:0;
}

body{
	width: 100%; 
    
    background-position:center center;
	background: #191919 url("../img/Backgrounds/DarkWood/7.jpg") no-repeat fixed center top;
}

li{
	list-style-type: none;
}

a, a:visited {
	color: #ECD2C8;
	text-decoration: none;
}
a:hover, a:focus {
	color: #146CA9;
}

img {
	width: 100%;
	border:0;
}

h1,h2,h3,h4,h5,h6{
	font-family:gothic,sans-serif;
	font-weight:bold;
}

h1{
	margin-bottom:0.01em;
    margin-top: -0.01em;
	font-size:5.1em;
	line-height:1.2;
	padding-left:3%;
    text-align: center;
}
h2{
    margin-bottom:0.75em;
	font-size:3.6em;
	line-height:1.2;
	padding-left:3%;
}


h3{
    padding-left:55%;
	font-size:2.2rem;
	line-height:1;
	margin-bottom:0.75em;
    padding-right: 7%;
}

p{
	hyphens:auto;
	text-align:justify;
    font-family:gothic,sans-serif;
}

section {
	position: relative; 
	float: left;
	margin-top: 110px;
	margin-bottom: -45px;
} 
table {
    cellpadding:15px;
    border: 0;
    padding: 2%;
    border-spacing:10px;
}
th{
    font-size: 1.8em;
    text-align: center;
    width: 50%;
}
td{
    font-size:1.25em;
}
/********************** Navigation *********************/

nav ul{
	margin-top: 0px;
	padding: 0;
	position: relative;
	z-index: 98;
	
} 

nav ul li{
	width: 9em;
	display:inline-block;
	text-align:center;
}

ul#home li{
	font-family: lato;
	color:#ECD2C8;
	font-size: 3em;
	line-height: 60px;
	list-style: none;
	
}
ul#home li span {
	display:none;
	left:0;
}

nav ul#menu {
	font-family: 'Droid Sans', sans-serif; 
	font-weight: normal;
}
nav ul#menu {
	list-style:none;
	position:absolute;
	right: 0;
	top: 5px;
}
nav ul#menu li{
	float: left;
}
nav ul#menu li a {
	border-bottom:none; 
	background:none;
	font-size: .85em;
	padding: .9em .5em;
	text-decoration: none;
}
nav ul#menu li.last a {
	padding: .9em 0 .9em .4em;
}
nav ul#menu li a:hover, nav ul #menu li a:focus {
	background: none;
}
#background-menu{
	width: 100%;
	height: 4em;
	left:0;
	background-color: #1a1a1a;
}
/*AFFICHAGE <800 PIXELS*/
@media screen and (max-width: 800px){

	nav {
		max-width: 800px;
		margin-top: 0px;	
		padding-top:0em;
	}

	nav ul li{
		display:inline-block;
	}

	.smartphones-links{
		height: auto;
		margin-top: -3px;
		padding-top: 0px;
		background-color: #d9d8d7;
		position: absolute;
	}
	.block img {
	float: left;
	margin:0;
	width: 48%;
	}
}

/* ------------------------
:: Pixel Ratio
------------------------- */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5){
}

#floatingnav{
	position:fixed;
	top:0px;
	z-index:999;
	display:block;
	clear:both;
	margin-left:auto;
	margin-right:auto;
	overflow: hidden;
	float: left;
	width: 100%;
}


/* ------------------------
:: 768
------------------------- */
@media only screen and (min-width: 1090px){

	/* -- nav - */
	nav ul#menu li a {
		border-bottom: none;
		padding: .9em;
		text-decoration: none;
	}

	nav ul#menu li a:hover, nav ul#menu li a:focus {
		background: none;
	}

	ul#home li span {
		display:inline-block; 
		}
}

/* ------------------------
:: 480
------------------------- */
@media only screen and (min-width: 645px){

	section h1 {
		font-size: 4em;
	}
    section h2 {
        font-size: 2.8em;
    }
    section h3 {
        font-size: 2em;
    }
	nav ul#menu li a {
		border-bottom: none;
        font-size: 1em;
        padding: .8em;
        text-decoration: none;
	}
	nav ul#menu li.last a {
		padding: .9em 0 .9em .8em;
	}
	nav ul#menu li a:hover, nav ul#menu li a:focus {
		background: none;
	}
}

/***************** Sections ****************/ 

section#home-logo{
	Width:100%;
	/*min-height:.5em;*/
	/*height:auto;*/
	max-height:50em;
	margin-top:5px;	
    
}

section#home-logo img{
	width:50%;
	height:auto;
	display:block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 4em;
     
}

#text-banner{
    z-index: 0;
    color: white;
    font-size: 1.2em;
    float: right;
    padding-top: 5%;
    padding-right: 3%;
    margin-left: -20%;
    position: relative;
    /*font-family: 'Indie Flower', cursive;*/
    font-family:gothic,sans-serif;
}

section#presentation{
	margin-top: 2.7em;
	background:#ECECEC;
    width: 100%;
	
}
section#activites{
	margin-top: 2.7em;
	background:white;
    width: 100%;
}

section#qui-suis-je{
    margin-top: 2.7em;
	background:#ECECEC;
    width: 100%;
}
section#quand-faire-appel{
    margin-top: 2.7em;
	background:white;
    width: 100%;
}
section#contact{
	margin-top: 2.5em;
	background:#ECECEC;
     width: 100%;
}

.content-master{
	width: 100%;
}

.block {
    
	float: left;
	margin-bottom:3%;
	width:100%;
	max-width: 1200px;
	padding-left:1%;
	position: relative;


}
.block img {
    padding-top: 10%;
	float :left;
	width:35%;
	margin: 0 0 15px 0;
	padding-left:10%;
}

.block p {
	float: right;
	width: 43%;
    margin-right: 8%;
}

div.block-first{
    margin-top: 3em;
    margin-bottom:3%;
}
div.block-first p{
    margin: 0 auto; 
    width: 60%;  
}
div.block-qui{
    float: left;
	margin-bottom:3%;
	width:100%;
	max-width: 1200px;
	padding-left:1%;
	position: relative;
}
div.block-qui img{
    width: 20em;;
    height: 20em:;
    float :left;
    padding-right: 2%;
	margin: 0 0 15px 0;
	padding-left:10%;
}
/*************** Quand faire appel à moi ********************/

.quandfaire{
    width: 90%;
    margin: auto;
}

table.contenu{
    table-layout: fixed;
     font-size: 1em;
}
table.contenu.td{
    width: 50%;
}
table.contenu{
    font-family:gothic,sans-serif;
}

.quandfaire p{

}

/****************** Contact ****************/

#contact a{
    color: #191919;
}

/******************** Footer **************/
footer {
	background: #222; 
	float:left;
	clear:both;
	/*font-size: .9em;*/
	/*padding:30px 0 40px;*/
	width:100%;}


.footer{
	width:100%;
	
	background:#1a1a1a;
}

#footer p{
	font-size:2em;
	float:left;
	padding-left:25px;
	padding-top:25px;
}

#footer{
	width;90%;
	color:grey;
	font-family:droid;
	max-width: 1200px;
	margin:0 auto;
	
}



