/* ---------- GENERAL STYLES ---------- */

body {
	background-color: #444;
	color: #555;
	font: 80%/1.7em "Lucida sans unicode", Lucida, Tahoma, Arial, sans-serif;
}

#page {
	width: 85%;
	max-width: 1000px;
	margin: auto;
    background-color: rgb(173, 53, 37);
}

h1,
h2,
h3 {
	font-weight: normal;
}

a {
	color: rgb(173, 53, 37);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

ul li {
	list-style-type: square;
}

pre {
position: relative;
border: none;
border-left: 2px solid #ccc;
}

pre em.file {
position: absolute;
top: 0px;
font-style: normal;
background: #fff;
border: 1px solid #ccc;
border-top: none;
padding: 0 1em;
}

/* ---------- Images ---------- */

img.left {
float: left;
margin-right: 1em;
}

img.right {
float: right;
margin-left: 1em;
}

div.imgleft, div.imgright {
	border: 1px solid #ccc;
	padding: 0.5em;
	display: inline;
	background: #f0f0f0;
}

div.imgleft {
	float: left;
	margin-right: 1em;
}

div.imgright {
	float: right;
	margin-left: 1em;
}

div.imgleft p, div.imgright p {
text-align: center;
font-size: 0.75em;
margin: 0;
}

div.imgleft img, div.imgright img {
width: 100%;
border: 1px solid #ddd;
}

figure {
	border: 1px solid #ccc;
	padding: 0.5em;
	//display: inline;
	background: #f0f0f0;
	margin: 1em;	
}

figure.left {
	float: left;
	margin-left: 0;
}

figure.right {
	float: right;
	margin-right: 0;
}

figcaption {
	text-align: center;
	font-size: 0.75em;
	margin: 0;
}

figure img {
	width: 100%;
	border: 1px solid #ddd;	
}

/* ---------- NAV ---------- */

nav {
list-style: none;
display: block;
}

nav ul {
	margin: 0;
        padding: 0;
}

nav li {
	display: inline;
        color: #ccc;
}

nav li a {
display: block;
float: left;
font-size: 0.8em;
-webkit-transition: background-color .3s linear;
-moz-transition: background-color .3s linear;
-o-transition: background-color .3s linear;
transition: background-color .3s linear;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
padding: 1em 1.5em;
font-weight: 700;
text-transform: uppercase;
color: #ccc;
margin: 5px;
margin-bottom: 0;
}

nav li a:hover, nav li a.active {
    background-color: #444;
	color: #eee;
	text-decoration: none;
}

.nav-open, .nav-close {
display: none !important;
}

#nav {
       clear: both;
       border-top: 4px solid #444;
}

/* ---------- HEADER ---------- */

header {
	background-color: #e5e5e5;
 	color: #444;
	padding: 20px 50px;
	text-align: center;
}

header.banner {
background-image: url(../../../data/images/background/background_1.png);
height: 200px;
border-top: 3px solid #444;
border-bottom: 4px solid #444;
position: relative;
padding: 0;
}

header.banner div {
padding: 2em;
position: absolute;
bottom: 0;
}

body header h1 {
	font-size: 3em;
	line-height: 1;
}

header.banner h1 {
font-weight: bold;
font-style: italic;
text-shadow: 2px 2px 1px #222;
color: rgb(173, 53, 37);
}

header.banner h2 {
font-weight: bold;
font-style: italic;
color: #333;
}

header h1 a {
	color: rgb(173, 53, 37);
}

header h1 a:hover {
	text-decoration: none;
}

header h2 {
	font-size: 1em;
	margin: 0;
}

/* ---------- SECTION ---------- */

section {
	background-color: #e5e5e5;
	overflow: hidden;
}

#container {
	background-color: #fefefe;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 3px solid #ccc;
	margin: 20px 15px 50px;
	overflow: hidden;
	padding: 40px 20px;
}

.directory {
	margin: 0 0 50px 0;
}

.directory:first-letter{
	text-transform: uppercase;
}

/* ---------- ARTICLE / PAGE ---------- */

.width-sidebar {
	float: left;
	width: 70%;
}

.full-width {
	width:100%;
}

article {
        border-top: 1px solid #ccc;
        padding-top: 0.5em;
}

article header h1 {
	color: rgb(173, 53, 37);
	line-height: 1.1;
	margin: 0;
    font-size: 1.8em;
}

article header h1 a {
	color: rgb(173, 53, 37);
}

article header {
	background-color: transparent;
	color: inherit;
	padding: 0;
	text-align: left;
}

article header p {
	color: #777;
	font-size: 0.9em;
	font-style : italic;
	margin-bottom: 0;
}

article section {
	background-color: inherit;
	padding: 0;
}

article section p {
text-align: justify;
word-wrap: break-word;
}

article section figure {
	width: 50%;
}

article section table {
	margin: 1em auto;
	width: 45%;
}
article footer {
	background-color: inherit;
	color: #777;
	font-size: 0.9em;
	font-style : italic;
	margin-bottom: 50px;
	padding: 0;
	text-align: left;
        border-top: 1px solid #ccc;
}

article footer a,
article footer a:hover {
	color: rgb(173, 53, 37);
}

/* ---------- COMMENT ---------- */

#comments {
	margin-bottom: 50px;
}

.info_comment {
	color: #777;
	font-size: 0.9em;
	font-style : italic;
}

.comment {
	background-image: url(../img/user.png);
	background-repeat: no-repeat;
        background-position: 10px 10px;
	margin-bottom: 20px;
        padding: 1em;
	padding-left: 60px;
        background-color: #fafafa;
}

.com-alert {
	color: #db2020;
	font-weight: bold;
}

/* ---------- PAGINATION ---------- */

#pagination {
	margin-bottom: 50px;
	text-align: center;
}

#pagination span {
	border: 1px solid #ccc;
	display: inline-block;
	margin: 0 .1em;
	background-color: rgba(220,220,220,0.3);
	padding: 8px 5px;
	border-radius: 5px;
}

/*#pagination span,
#pagination a {
	padding: 5px;
}*/

#pagination .p_current {
	background-color: rgb(173, 53, 37);
	color: #eee;
}

#pagination a:hover {
	/*background-color: #444;
	color: #eee;*/
	text-decoration: none;
}

#pagination span:first-letter,
#pagination a:first-letter {
	text-transform: uppercase;
}

/* ---------- SIDEBAR ---------- */

aside {
	float: right;
	width: 28%;
	background-color: #fafafa;
	padding: 2.5em 1.5em;
	border: 1px solid #ccc;
	font-size: 0.9em;
}

aside h3 {
	color: rgb(173, 53, 37);
	font-size: 1.2em;
	margin: 0 0 15px 0;
    border-bottom: 1px solid rgb(173, 53, 37);
    padding-bottom: 0.5em;
}

aside a {
	color: #555;
}

aside h3 a  {
color: rgb(173, 53, 37);
}

aside h3 a:hover {
text-decoration: none;
}

aside ul {
	margin: 0 0 50px 0;
}

aside li:first-letter {
	text-transform: uppercase;
}

.rss {
	background-image: url(../img/rss.png);
	background-repeat: no-repeat;
	line-height: 1;
	margin: 10px 0;
	padding-left: 20px;
}


/* ---------- TAG ---------- */

.tag {
	display: inline-block;
	margin: 0;
	padding-right: 10px;
}

.tag-size-1 {
	font-size: 1em;
}

.tag-size-2 {
	font-size: 1.1em;
}

.tag-size-3 {
	font-size: 1.2em;
}

.tag-size-4 {
	font-size: 1.3em;
}

.tag-size-5 {
	font-size: 1.4em;
}

.tag-size-6 {
	font-size: 1.5em;
}

.tag-size-7 {
	font-size: 1.6em;
}

.tag-size-8 {
	font-size: 1.7em;
}

.tag-size-9 {
	font-size: 1.8em
}

.tag-size-10 {
	font-size: 1.9em;
}

.tag-size-max {
	font-size: 2em;
}

/* ---------- FOOTER ---------- */

footer {
	background-color: #444;
	clear: both;
	color: #ccc;
	padding: 20px;
	text-align: center;
}

footer p {
	margin: 0;
}

footer a {
	color: #ccc;
}

footer a:hover {
	color: #eee;
}

/* ---------- FORM ---------- */

#form h2 {
	margin: 0;
}

label {
	display:block;
}

input,
select,
textarea {
	border: 1px solid #bbb;
	color: #555;
        width: 80%;
}

button,
input[type=submit],
input[type=reset] {
	background-color: rgb(173, 53, 37);
	border: 1px solid rgb(173, 53, 37);
	color: #eee;
}

button:hover,
input[type=submit]:hover,
input[type=reset]:hover {
	background-color: #444;
	border: 1px solid #444;
}

.capcha-letter,
.capcha-word {
	font-weight: bold;
}

/* ---------- TABLE ---------- */
table, th, td {
	//border: 1px solid #999
}

table.parcours {
	width: 40%;
	float: right;
	margin-top: 2em;
}
div.parcours {
	width: 60%;
	padding-right: 1em;
}

/* ---------- artPS ------------ */
// #artPS {border-top: 1px solid #CCC; padding: 10px; margin-top: 10px;}
#artPS:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
#artPS p {display: inline; font-weight: bold;}
#artPS a, #artPS p {display: block;}
#artPS p {width: 50%;}
#artPS p.pre {float: left;}
#artPS p.pre a:before { display: block; line-height: 1.5em; float: left; content:"\25C0"; padding-right: 10px; font-size: 1.5em;}
#artPS p.next {float: right; text-align: right;}
#artPS p.next a:before { display: block; line-height: 1.5em; float: right; content:"\25B6"; margin-left: 10px; font-size: 1.5em;}
#artPS p a span {display: block; font-weight: normal;}

.social-buttons {
	// text-align:right !important;
        display: block;
        float: right;
}

/* ---------- RESPONSIVE DESIGN ---------- */

@media screen and (max-width:800px) {

	nav {
		padding: 5px 20px;
		text-align: center;
	}

	nav li {
		display: block;
		margin: 10px 0;
	}

	header {
		padding-left: 20px;
		padding-right: 20px;
	}

	#container {
		margin: 0 20px 20px 20px;
		padding: 20px;
	}

	.width-sidebar,
	aside {
		width: 100%;
	}

	button,
	input,
	select,
	textarea {
		max-width: 100%;
}

	aside {
		margin-top: 50px;
	}

}
