@charset "UTF-8";

/*
 * @autor : Christophe DUVERGER
 * @email : christophe.duverger@gmail.com
 * @date : 2013
 */

/* Organisation */
/*
 * 1 - Reset [ based on E.Meyer work ]
 * 2 - Styles basiques
 * 3 - Global
 ** 3-1 - Header
 ** 3-3 - Footer
 * 4 - Commentaires & Formulaires
 * 5 - Pagination
 */
 
@media (max-width: 640px) 
{
	/* passer tous les éléments de largeur fixe en largeur automatique */
	body, element1, element2
	{
	 width: auto;
	 margin: 0;
	 padding: 0;
	}
	
	/* fixer une largeur maximale  de 100 % aux éléments potentiellement problématiques */
	img, table, td, blockquote, code, pre, textarea, input, iframe, object, embed, video
	{
	 max-width: 100%;
	}
	/* conserver le ratio des images et empêcher les débordements de boîtes dûs aux border ou padding */
	img
	{
	 height: auto; width: auto;
	 -webkit-box-sizing: border-box;
	 -moz-box-sizing: border-box;
	 box-sizing: border-box;
	}
	
	/* gestion des mots longs */
	textarea, table, td, th, code, pre, samp
	{
	 word-wrap: break-word; /* passage à la ligne forcé */
	 -webkit-hyphens: auto; /* césure propre */
	 -moz-hyphens: auto;
	 hyphens: auto;
	}
	code, pre, samp
	{
	 white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
	}
	
	/* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */
	element1, element2
	{
	 float: none;
	 width: auto;
	}
	
	/* masquer les éléments superflus */
	.hide_mobile
	{
	 display: none !important;
	}
}

@media (max-device-width:768px) and (orientation: landscape)
{
  html
  {
   -webkit-text-size-adjust: 100%;
  }
}

/***************************************/
/* 1 - Reset [ based on E.Meyer work ] */
/***************************************/

html, body, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, a, span, blockquote, label, input, textarea, form, fieldset
{
	border: 0;
	font: inherit;
	font-size: inherit;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

input
{
	vertical-align: middle;
}

textarea
{
	width: 70%;
	max-width: 70%!important;
}

img
{
	border: none;
}



/***********************/
/* 2 - Styles basiques */
/***********************/

body
{
	background: url('../img/main_bg.jpg');
	color: black;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

h1, h2, h3, h4, h5, h6
{
	color: black;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-bottom:5px;
}

h1 {font-size: 1.75em; font-variant:small-caps}
h2 {font-size: 20px;}
h3 {font-size: 1.1em;}
h4 {font-size: 1em;}
h5 {font-size: 0.9em;}
h6 {font-size: 0.75em;}

a:link
{
	color: #777;
	text-decoration: none;
}

a:visited
{
	color: #777;
}

a:hover
{
	text-decoration: underline;
}

a:active, a:hover, a.active, .active a
{
	color: black;
}


/**************/
/* 3 - Global */
/**************/

.picture
{
	border: solid 10px #333;
	border-radius: 5px;
}

#header, #section, #footer
{
	margin: 0 auto;
}

#section
{
	border: none;
	text-align:left;
	width:auto;
	min-height:250px;
	margin-left: 0px;
}

#section:after
{
	content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.post-container
{
	padding:0 0 0 10px;
	width:auto
}

.post
{
	/*float: right;*/
	padding: 10px 0;
}

.post > h2, .static-content h2
{
	line-height: 1.5;
	border-bottom: dashed 1px #c9bba1;
	margin-top:0px;
}

.post img
{
	border: 1px solid #aaa;
	padding: 1px;
  transition: border-color .5s ease-out;
  -moz-transition: border-color .5s ease-out;
  -webkit-transition: border-color .5s ease-out;
  -o-transition: border-color .5s ease-out;
}
.post img:hover
{
	border-color: black;
}

.static-content
{
	font-size:12px;
}

p + h2
{
	margin-top:20px !important;
}
.art-topinfos, .art-infos, .feed-art-com, .feed-arts
{
	font-size: 0.9em;
	color:#756952;
	font-family: verdana, sans-serif;
}
.art-topinfos a, .art-infos a, .feed-art-com a, .feed-arts a
{
	color:#526068;
}
.art-topinfos a:hover, .art-infos a:hover, .feed-art-com a:hover, .feed-arts a:hover
{
	text-decoration: underline;
}
.art-chapo
{
	margin: 10px 0;
	font-size: 12px;
}

.art-infos
{
	margin: 0 0 10px 0;
	padding: 0 0 0px 0;
}

.post > h2, .post h2 + p, .art-topinfos, .art-chapo, .art-content, #footer p, .art-infos, .feed-art-com, .feed-arts, .static-content, .error-content
{
	padding-left: 20px;
	padding-right: 20px;
}

.author-infos
{
	background: #ffffff url('img/border.jpg') repeat-x bottom;
	margin: 0 20px;
	padding: 10px;
}

.more
{
	font-size: 0.9em;
	margin: 20px 0 0 0;
}
.more a
{
	color: #756952;
}
.more a:hover
{
	color: black;
}
.post ul, .post ol
{
	margin: 0 0 0 20px;
}
ul.files
{
	margin: 0 0 0 20px;
}
ul.files li
{
	line-height: 20px;
}
#article
{
	float: right;
	padding: 10px 0;
	width: auto;
}

#article > h2, .static-content h2
{
	line-height: 1.5;
	border-bottom: dashed 1px #c9bba1;
	margin-top:0px;
}

#article img
{
	border: 1px solid #aaa;
	padding: 1px;
  transition: border-color .5s ease-out;
  -moz-transition: border-color .5s ease-out;
  -webkit-transition: border-color .5s ease-out;
  -o-transition: border-color .5s ease-out;
}
#article img:hover
{
	border-color: black;
}

.static-content
{
	font-size:12px;
}

p + h2
{
	margin-top:20px !important;
}
.art-topinfos, .art-infos, .feed-art-com, .feed-arts
{
	font-size: 0.9em;
	color:#756952;
	font-family: verdana, sans-serif;
}
.art-topinfos a, .art-infos a, .feed-art-com a, .feed-arts a
{
	color:#526068;
}
.art-topinfos a:hover, .art-infos a:hover, .feed-art-com a:hover, .feed-arts a:hover
{
	text-decoration: underline;
}
.art-chapo
{
	margin: 10px 0;
	font-size: 12px;
}

.art-infos
{
	margin: 0 0 10px 0;
	padding: 0 0 0px 0;
}

#article > h2, #article h2 + p, .art-topinfos, .art-chapo, .art-content, #footer p, .art-infos, .feed-art-com, .feed-arts, .static-content, .error-content
{
	padding-left: 20px;
	padding-right: 20px;
}

.author-infos
{
	background: #ffffff url('../img/border.jpg') repeat-x bottom;
	margin: 0 20px;
	padding: 10px;
}

.more
{
	font-size: 0.9em;
	margin: 20px 0 0 0;
}
.more a
{
	color: #756952;
}
.more a:hover
{
	color: black;
}
#article ul, #article ol
{
	margin: 0 0 0 20px;
}
ul.files
{
	margin: 0 0 0 20px;
}
ul.files li
{
	line-height: 20px;
}
div#planning
{
	border: dashed 1px #aaa;
	margin: 20px;
	padding: 10px;
}
#planning-details
{
	height: 100px;
	display: none;
}
.planning-day
{
	float:left;
	height: 100px;
	width: 13.6%;
	border-radius: 5px;
	border: solid 1px #aaa;
	margin: 2px;
}
#planning-day1
{
	/*background: transparent url('img/error-icon.png') no-repeat center center;*/
}
.planningDayName
{
	background: #ddd;
	padding: 2px;
	text-align: center;
	height: 14px;
	/*letter-spacing: 2px;*/
	font-weight: bold;
}
.planningWarning
{
	background: transparent url('../img/error-icon.png') no-repeat center center;
}
.planningValid
{
	background: transparent url('../img/select-icon.png') no-repeat center center;
}
.planningText
{
	text-align: center;
	text-transform: uppercase;
	height: 86px;
}
.planningText div
{
	position: relative;
	font-size: 20px;
	padding: 5px;
}
.calendarDate
{
	letter-spacing: 1px;
	color: #777;
}
/******************/
/** 3-1 - Header **/
/******************/

#skip{
	background-color: #152F40;
	padding: 0  0 10px 0;
	}

#skip li{
	display: inline;
	margin: 0 15px 0 0;
	}

#skip li a{
	color: #FFFFFF;
	font-size: 0.8em;
	}

#skip li a:hover{
	text-decoration: underline;
	}

#header-container
{
	background: #1c201f url(../img/bandeau-texture.jpg) repeat-x;
	height: 132px;
}
#header
{
	height: 227px;
	text-align: center;
}

.feed ul
{
	float: right;
}

.feed ul li
{
	margin: -5px 0 0 10px!important;
}


/******************/
/** 3-3 - Footer **/
/******************/

#footer-container
{
	background: url(../img/footer-container.jpg) 50% 0 repeat-x;
	height: 150px;
}
#footer
{
	background: url(../img/footer.jpg) 50% 0 no-repeat;
	padding-top:40px;
}

#footer p
{
	text-align: right;
	color: #aaa;
	margin-top:30px;
	font-size:10px;
}

#footer a
{
	color: #aaa;
}
#footer a:hover
{
	color:white;
}


/************************/
/* 4 - Comments & Forms */
/************************/

#comments
{
	background: url('../img/border.jpg') repeat-x bottom;
}

#comments h2
{
	margin: 15px 0 0 0;
	padding-left: 20px;
	padding-right: 20px;
}

form
{
	margin: 0 20px;
	padding: 0 0 10px 0;
}

#form
{
	border: 1px solid #aaa;
	border-radius: 5px;
	padding: 10px 0 10px 0;
	margin-top: 30px;
	margin-right: 10px;
}

#form h2
{
	line-height: 1;
	padding: 5px 0 10px 20px;
}

blockquote
{
	margin: 15px 20px 20px 20px;
}

.num-com
{
	float: right;
	font-size: 0.8em;
}

.info_comment
{
	font-size: 0.8em;
}

.content_com
{
	padding: 15px 15px 15px 15px;
}

.type-normal
{
	background-color: #ffffff;
}

.type-admin
{
	background-color: #ebf1f4;
}

.feed-art-com
{
	margin: 0 0 10px 0;
	padding: 0 20px 15px 20px;
}

.com-alert
{
	color: #730E20;
	font-weight: bold;
	text-align: center;
}

label
{
	display: block;
	margin: 0 0 5px 0;
}

input[type=text], textarea
{
	border: 1px solid #DDDDDD;
	margin: 0 0 10px 0;
	padding: 10px;
	max-width: 70% !important;
	width:70%;
}

input[type=text]:hover, textarea:hover
{
	border: 1px solid #AAAAAA;
	cursor: pointer;
}

input[type=text]:focus, textarea:focus
{
	border: 1px solid #777777;
}

input[type=submit], input[type=submit] + p
{
	display: inline;
}

input[type=submit] + p
{
	margin: 0 0 -5px 10px;
}

input[type=submit]
{
	background-color: #EEEEEE;
	border: 1px solid #CCCCCC;
	padding: 10px;
	border-radius: 5px;
}

input[type=submit]:hover
{
	background-color: #152F40;
	color: #FFFFFF;
	cursor: pointer;
}

input[type=submit]:active
{
	background-color: #730E20;
}


/********************/
/** 5 - Pagination **/
/********************/

#pagination
{
	text-align:center;
	padding: 0 0 5px 0;
	font-size: 0.8em;
	margin: 20px 0 5px 20px;
}

#pagination span
{
	margin-right:5px;
}

#pagination .p_page
{
	border: 1px #DDDDDD solid;
	padding: 3px 5px;
}

#pagination .p_prev a, #pagination .p_first a, #pagination .p_last a, #pagination .p_next a
{
	border: 1px #DDDDDD solid;
	padding: 3px 5px;
}

#pagination span a
{
	transition: none;
  -moz-transition: none;
  -webkit-transition: none;
  -o-transition: none;
}
#pagination span a:hover
{
	background-color: #152F40;
	color: #FFFFFF;
	cursor: pointer;
	text-decoration: none;
}

#pagination span a:active
{
	background-color: #730E20;
}
