/*
 * Theme Name: iloth
 * Theme URI: http://iloth.net
 * Description: Iloth
 * Version: 1.1
 * Author: iloth
 * Author URI: http://iloth.net
 * Tags: blue, full-width, simple
 *
 *     */

strong{
	font-weight: bold;
	color:orangered;
}
a{
	text-decoration:none;
	color:#428bca;
}

h3{
	padding-top:1em;
}

article hr{
	height:1px;
	color:red;
	border:1px dashed grey;
	margin-top:2em;
	margin-bottom:2em;
}

* {
	font-family:'Open Sans';
	padding: 0;
	margin: 0;
}
html{
	overflow-y: scroll;
}

input[type=text], textarea{
	outline:none;
	border-radius: 0.3em;
	border:1px solid #ddd;
}

input[type=text]:hover, textarea:hover{
	box-shadow: 0 0 0.1em #207fb3;
}

input[type=text]:focus, textarea:focus{
	box-shadow: 0 0 0.5em #207fb3;
}

ul{
	padding-left:1.5em;
}

#page{
	display:flex;
	display:-webkit-flex;
	margin-left:auto;
	margin-right:auto;
	margin-top: 2em;
	background:white;
	box-shadow:0 0 2em #ddd;
	max-width: 70em;
}

/* PARTIE GAUCHE */

nav{
	background:#207fb3;
	min-width:10em;
	max-width:10em;
}
nav hr{
	margin-bottom: 0.2em;
	margin-top: 0.2em;
	border:0;
	height:1px;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), white, rgba(0, 0, 0, 0));
}

#logo{
	height:100px;
	padding:0.5em;
	background:white;
	background-image:url(iloth_mini.png);
	background-repeat:no-repeat;
	background-size:contain;
	display:block;
}

#menu a{
	display: block;
	height:2.5em;
	padding-top:1.25em;
	text-align:center;
	text-decoration:none;
	font-size:1.2em;
	color:#eee;
}

#menu a:hover{
	text-shadow:0 0 1em black;
	background:rgba(0,0,0,0.2);
	color:white;
}


.bloc{
/*	background:rgba(0,0,0,0.2);*/
	margin:0.4em;
	padding-left:0.2em;
	padding-top:2em;
	padding-bottom:0.5em;
	font-size:0.8em;
	text-align:justify;
	color:white;
	line-height:1.7em;
}

.bloc h2{
	margin-bottom:1em;
	color:white;
	font-size:1.2em;
}

.bloc a{
	color:#207fb3;
	background: white;
	border-radius:0.3em;
}
.bloc a:hover{
	box-shadow:0 0 1em black;
}

/* PARTIE CENTRALE */

#articles{
	text-align:justify;
	padding:2em;
	color:#444;
	width: calc(100% - 14em);
}

#articles p{
	margin-top:0.5em;
}

#presentation{
	margin-bottom:2em;
}

/* News */
article{
	box-shadow: 0 4px 4px -4px #666;
	margin-bottom:2em;
	padding-bottom:2em;
}

#articles h1{
	font-size:3em;
	text-align: left;
	color:#ff5b2b;
	margin-bottom:0.8em;
}
#articles h2{
	color:#428bca;
	color:#ff5b2b;
	margin-top:0.8em;
	text-align:center;
}
#articles h4{
	margin-top:1em;
}
#articles img{
	max-width:100%;
}
.culture{
	border:1px solid #eee;
	box-shadow:0 0.1em 1em 0.2em #eee;
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom: 1em;
}

/* Commentaires */

.comments-link {
	text-align:right;
}
.post-info{
	text-align:right;
	font-size:small;
	color:#666;
}

.comment-body p{
	margin-left:1em;
	margin-right:1em;
}

/*Comment Output*/

.comment-list .reply {
/*        margin: 24px 10px;*/
        padding: 0;
        text-align: right;
}
.comment-list .comment-metadata a { color:#eee;}

.comments-area article {
        padding: 0;
	border: 1px solid #207fb3;
}
.comments-area article footer {
	overflow: hidden;
	position: relative;
	background-color:#207fb3;
	color:#FFFFFF;
	padding: 0.3em;
}

.comment-form-url { display:none; }
.form-allowed-tags { display:none;} 

.bouton, input[type=submit]{
	background:linear-gradient(to top,#428bca,#539cdb);
	color:white;
	padding:0.5em;
	border-radius: 0.8em;
	border: 1px solid #64adce;
	box-shadow:0 0 0.3em #666;
}

.bouton:hover ,input[type=submit]:hover{
	text-shadow:0 0 4px black;
	box-shadow:0.2em 0.2em 0.3em #666;
}

#footer{
	font-size:small;
	text-align:center;
	color:#666;
}
.anecdote{
	border: linen 1px solid;
	border-radius:0.4em;
	background-color:cornsilk;
	color:#777;
	margin: 0.4em;
	padding: 0.3em;
}

/* fonts */
@font-face{
	font-family: 'Open Sans'; src: local('Open Sans'),local('opensans'), url('opensans_regular.woff') format('woff');
	 }
/*
@media (max-width: 40em){
*/
@media (max-device-width: 500px) , (max-width: 40em){
	#page{
		flex-flow:column;
		margin-top: 0;
	}

	nav{
		min-width: 100%;
		max-width: 100%;
		font-size:1.5em;
	}

	.bloc{
		display: inline-block;
		font-size:1.5em;
	}

	#menu a{
		display: inline-block;
		border:1px solid #428bca;
		padding-left: 0.5em;
		padding-right: 0.5em;
		font-size:1.9em;
	}

	#articles{
		width: calc(100% - 4em);
		font-size:2em;
	}

}
@viewport{
	zoom:1.0;
	width:extend-to-zoom;
}
