/*
Theme Name: Torgan.net
Theme URI: http://www.torgan.net
Description: Theme de Torgan.net.
Version: 0.1
Author: Yannick "Torgan" Le Guédart
*/

/* Font */

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

@font-face {
  font-family: Ogirema;
  font-weight: bold;
  src: url('fonts/OgiremaBold.ttf');
}

@font-face {
  font-family: Ogirema;
  font-style: italic;
  src: url('fonts/OgiremaItalic.ttf');
}

/* HTML --------------------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Ogirema, "Lucida Grande", tahoma;
    background-color: black;
    color: #aaa;
    font-size: 1.0em;
}

ul {
    list-style-image:url(images/bullet-square.gif);
    padding-bottom: 0.4em;
    padding-left: 2.5em;
}

ol {
    padding-bottom: 0.4em;
    padding-left: 2.5em;
}

a {
    color: white;
    text-decoration:none;
}

img {
	border: none;
}

/* top ---------------------------------------------------------------------- */

#top  {
    float: left;
    position: relative;
    height: 82px;
    width: 100%;
    background-color: #2D2D35;
    border-bottom: 1px solid #7E8281;
}

#top span {
    display: none;
}

#top .soustitre {
    position: absolute;
    bottom: 1em;
    right: 1em;
    font-style: italic;
    color: #cc51a1;
}

/* Main --------------------------------------------------------------------- */

#main {
    width: 75%;
    float: left;
    padding-top: 10px;
    position: relative;
}

/* topNav --------------------------------------------------------------------- */

.navigation {
    height: 20px;
}

.navigation a {
    padding-right:10px;
    padding-left:10px;
    padding-top:10px;
	padding-bottom: 10px;
    color: white;
    text-decoration:none;
	font-weight: bold;
    text-shadow: 5px 5px 5px #000;

}

.navigation a:hover {
    background: url(images/header_bg2.jpg) repeat-x top;
    border-top: 2px solid white;
}

/* Content main   ----------------------------------------------------------- */

#content_main {
    float: left;
    width: 65%;
    position: relative;

}

#content_main .main_block {
    padding: 1%;
    margin: 1%;
    color: #ddd;
    overflow: none;
    background-color: #222;
    border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

#content_main .cartouche {
    width: 100%;
    float: left;
    text-align: right;
    margin-bottom: 20px;
}

#content_main .cartouche h2 {
    text-shadow: 5px 5px 5px #000;
    padding-bottom: 2em;

}

#content_main .texte h3 {
    padding-top: 1em;
    padding-bottom: 1em;
    font-style: italic;
    text-shadow: 5px 5px 5px #000;
}

#content_main .texte>p {
    text-align: justify;
    padding-bottom: 0.4em;
    text-indent: 1.6em;
}

#content_main .texte blockquote>p {
    text-align: left;
    margin-left: 2.4em;
    margin-top: 1.2em;
    margin-bottom: 1.2em;
    font-style: italic;
    background-color: #333;
    padding: 0.4em;
}

#content_main .textei>p:first-letter {
    font-weight: bold;
}

#content_main .texte>p:first-line {
}

#content_main .texte img {
    box-shadow: 4px 4px 7px #000;
    -moz-box-shadow: 4px 4px 7px #000;
    -webkit-box-shadow: 4px 4px 7px #000;
}

#content_main .texte>p.pagination {
    margin: auto;
}


#content_main .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
#content_main .gallery img {
	border: 2px solid #cfcfcf;
}
#content_main .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
#content_main .gallery dl {
	margin: 0;
}
#content_main .gallery img {
	border: 10px solid #f1f1f1;
}
#content_main .gallery br+br {
	display: none;
}

#content_main .alignleft,
#content_main img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
#content_main .alignright,
#content_main img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
#content_main .aligncenter,
#content_main img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#content_main img.alignleft,
#content_main img.alignright,
#content_main img.aligncenter {
	margin-bottom: 12px;
}
/* deuxième colonne -------------------------------------------------------- */

#content_side {
	clear: none;
    float: left;
    padding: 1%;
    margin: 0;
    width: 33%;
    position: relative;
	top: 0;
}

#content_side h3 {
    font-size: 1.4em;
    color: white;
    text-shadow: 5px 5px 5px #000;
    font-style: italic;
    padding-bottom: 1em;
}

#content_side fieldset {
    border: none;
}

#content_side label {
    line-height: 2em;
}

#content_side input, #content_side textarea {
    background-color: #222;
    color: #fff;
    border: none;
    width: 100%;
}

#content_side textarea {
    width: 100%;
    height: 300px;
}


#content_side .bouton {
    line-height: 2em;
    width: 50%;
    border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
    float: left;
}

#content_side .block {
    float: left;
    color: #ddd;
    overflow: auto;
    background-color: #777;
    border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
    position: relative;
    padding: 0.5em;
    margin: 0;
	width: 100%;
}

.arrow {
	width: 12px;
	height: 30px;
    background: url(images/arrow-left-gray.png) no-repeat top;
	top: 50px;
	left: 3px;
    position: absolute;
}

/* sidebar ------------------------------------------------------------------ */

#sidebar {
    float: left;
    width: 25%;
    overflow: hidden;
}

#sidebar .block {
    background-color: #222222;
    border: 2px solid #555555;
    padding: 16px;
    margin: 12px;
    border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

#sidebar .block h2 {
    font-size: 1.4em;
    color: white;
    text-shadow: 5px 5px 5px #000;
    font-style: italic;
    padding-bottom: 1em;
}

#sidebar .block ul {
    padding-left: 2em;
}

#sidebar #menu ul li {
    font-weight: bold;
}

#sidebar input {
    background-color: #555;
    color: #fff;
    border: none;
}

#sidebar .block select.postform {
	max-width: 100%;
    background-color: #555;
    color: #fff;
}

#sidebar #tag_cloud-3 div {
	text-align: center;
}

#sidebar #tag_cloud-3 div>a{
	padding-right: 0.6em;
}

/* footer ------------------------------------------------------------------- */

#footer {
    float: left;
    position: relative;
    height: 45px;
    width: 100%;
    background-color: #2D2D35;
    border-top: 1px solid #7E8281;
    text-align: center;
}

/* Classes générales -------------------------------------------------------- */

.clearfix {height:1%}
.clearfix:after {
	content:".";
	height:0;
	line-height:0;
	display:block;
	visibility:hidden;
	clear:both;
}

.date_du_jour {
	width: 49px;
	height: 54px;
    float: right;
	text-align: center;
	background-color: red;
	color: black;
	margin: 0;
    border: 1px solid blue;
	line-height: 16px;
}

