/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
sup {
    vertical-align: super;
    font-size: smaller;
} 
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body{
	font-size: 14px;
	background-color: #e6e6e6;
	font-family: 'Open Sans', sans-serif;
}

a{
	text-decoration: none;
}

strong{
	font-weight: bold;
}

h1, h2, h3{
	color: #f68b1f;
	font-weight: 700;
	text-transform: uppercase;
	clear:both;
	margin-top:20px;
}

h1{
	font-size: 2.5em;
}

h2{
	font-size: 1.7em;
}

h3{
	font-size: 1.5em;
	margin-bottom:8px;
}

p{
	line-height:20px;
}
ul li{
	line-height:20px;
}

table{
	width:90%;
	margin:auto;
}

table tr:nth-child(even){
	background-color:#1C6AAF;
}

table tr:nth-child(odd){
	background-color:#10487B;
}

table tr td,table tr th{
	padding:8px;
}

table tr th{
	background:#F68B1F;
	text-align: left;
	font-weight: bold;
}

td.prix, th.prix{
	text-align: center;
}

.page-content ul li{
	list-style-type: disc;
	margin-left:30px;
}

.logo{
	height:170px;
	float:left;
	padding-top:15px;
	padding-left:15px;
}

.main{
	margin: 0 auto;
}

.clear{
	clear: both;
}

.hidden, .show-on-mobile{
	display: none;
}

/*HEADER*/

#header div.main{
	position: relative;
	height: 200px;
	background: url(img/fond-header.jpg) no-repeat right top;
	background-color: #fff;
}

#header div.main > a{
	float: left;
	margin-right: 10px;
}

#header div.main > img{
	max-width : 285px;
}

#tel-header, #baseline{
	font-size: 2em;
	font-weight: 700;
	color: #f68b1f;
}

#tel-header:before{
	content: url(img/phone-picto.jpg);
	margin-right: 10px;
}

#baseline{
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 10px 1.9%;
	background: rgba(255,255,255,0.9);
	text-align: right;
	display:block;
}

#menu-container{
	background: #f68b1f;
	position: relative;
	z-index: 100;
}


nav li{
	display: inline-block;
	width: 24.6%;
	text-align: center;
	background: url(img/fond-button-nav.png) no-repeat right center;
}

nav li:last-child{
	background: none;
}

nav li a{
	
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	font-weight: 700;
	line-height: 50px;
}

nav li a.active{
	color:#10487B;
}


nav li a:hover{
	color:#10487B;
}


/*STRUCTURE*/

section{

	background-color: #fff;
	background: #1e70b8; 
}

.page-content{

	width: 63.6%; /*650/1024*/
	float: left;
	
}

.page-content > div, .page-content > article > div, .page-content > article > h2, .page-content h1, #footer{
	padding-left: 3.07%;/*20/650*/
	padding-right: 7.6%;/*50/650*/
}

.page-content > div, .page-content > article > div, #footer{
	padding-top: 20px;
	padding-bottom: 20px;
}

.page-content h1{

	padding: 50px 0;
	background: url(img/fond-titre-section.png) no-repeat 20px center #fff;
	padding-left: 7.6%;/*50/650*/
	text-transform: none;
}

.page-content h1 span{

	color: #10487b;
}

.page-content h2{

	padding: 20px 0;
	background-color: #10487b;
}

.page-content article, .page-content div{
	color: #fff;
}

.page-content ul li{

}

#titre-consultations:before{
	content: url(img/picto-clinique.png);
	margin-right: 10px;
}


#titre-visite:before{
	content: url(img/picto-visites-domicile.png);
	margin-right: 10px;
}


/*SIDEBAR*/

#sidebar{	
	
	width: 36.4%; /*374/1024*/
	float: left;
	color: #10487b;
	box-shadow: -5px -5px 10px rgba(0,0,0,0.2);
	position: relative;
	z-index: 10px;
	background-color: #fff;

}	

#sidebar article{
	padding: 20px 0;
	padding-right: 5.3%;/*20/374*/
	padding-left: 13.3%;/*50/374*/
	position: relative;
}

#sidebar article:before{
	padding: 20px 0;
	position: absolute;
	top: 0;
	left: 0;
	margin-left: -28px;
}

#domaines:before{
	content: url(img/picto-domaines.png);
}
#competences:before{
	content: url(img/picto-competences.png);
}
#engagements:before{
	content: url(img/picto-enguagements.png);
}

#sidebar h3{

	margin-bottom: 10px;
}

article#horaires p{

	font-size: 1.25em;
	line-height: 1.5em;
	padding: 5px 0 0 15px;
	font-weight: 700;
	margin-bottom: 10px;
	background: url(img/fond-strong.png) no-repeat #fff;
}

#sidebar article li{
	margin: 15px 0;
	padding-left: 20px;
	background: url(img/puces-sidebar.png) no-repeat left 2px;
}

.alphabet{
	background:#fff;
	margin-top: -20px
}

.alphabet p a{
	display:block;
	float:left;
	width:3.8%;
	text-align: center;
	color:#1E70B8;
}
.alphabet p a.active{
	background:#E3E8F5;
}

.alphabet p a:hover{
	background:#E3E8F5;
}

/*FOOTER*/

#footer{

	background-color: #fff;
	position: relative;
	z-index: 1000;
}

#footer img, #footer p#contact{

	float: left;
	margin-right: 15px;
}

#contact{
	padding-left: 15px;
	border-left: 1px solid #10487b;
	color: #10487b;
}

@media screen and (max-width: 1024px){

	.main{
		width: 100%;
	}

	/*nav ul{

		padding-left : 1.9%;
	}*/

	nav li a{
		font-size: 1em;
	}

}

@media screen and (max-width: 950px){
	#header div.main{
		background:#fff;
		height:auto;
	}

	#baseline{
		position:relative;
	}

	.logo{
		width:518px;
		margin:auto;
		float:none;
		max-width:100%;
		padding-left:0;
	}
}

@media screen and (max-width: 850px){


	#header div.main > a{
		float: none;
		display: block;
		width: 150px;
	}

	#header div.main > a img{
		width: 70%;
		display: block;
		margin: 0 auto; 
	}

	#header div.main > img{
		display: block;
		width: 150px;
	}

	#tel-header{
		position: relative;
		z-index: 2000;
		font-size: 1.25em;
		margin-top: 10px;
	}

	#tel-header:before{
		display: none;
	}

	#sidebar, .page-content{
		float: none;
	}

	#sidebar{
		width: 100%;
		display: none;
	}

	#sidebar article {
		padding-left: 3.07%;
		padding-right: 7.6%;
	}

	#sidebar article:before{
		position: relative;
		left: 0;
		margin-left: 0;
		display: inline-block;
		float: left;
		margin-right: 15px;
	}

	#sidebar article ul{
		clear: both;
	}

	#content-home #sidebar{
		display: block;
	}

	.page-content{
		width: 100%;
	}

}

@media screen and (max-width: 650px){

	nav li{
		width: 49%;
	}
}

@media screen and (max-width: 600px){

	.show-on-mobile{
		display: block;
	}

	h1{
		font-size: 2em;
	}

	h2{
		font-size: 1.25em;
	}
	
	h3{
		font-size: 1em;
	}
	
	#header div.main{
		background: none;
		height: auto;
		background: #fff;
	}

	/*#baseline, #header div.main > img, #tel-header{
		display: none;
	}*/

	.page-content h1 {
		padding-top: 35px;	
		padding-bottom: 35px;
	}

}

@media screen and (max-width: 520px){
	
	.logo{
		height:auto;
	}

	.logo img{
		width:95%;
	}

	nav li{
		width:100%;
		border-bottom: 1px solid #fff;
		background-image: none;
	}*
	#baseline{
		font-weight: normal;
		font-size:15px;
	}
}


@media screen and (min-width: 1024px){

	.main{
		min-width: 1024px;
		max-width: 1200px;
		width: 80%;
	}

}
