/*
Theme Name: Plage de reve
Theme URI: http://plage-dereve.com/
Description: Les plus belles plages de la planete
Version: 1.0
Author: bEkZ
*/
/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
fieldset,img{border:0;}
html{height:100%;margin-bottom:1px;}
body{position:relative;}
ul{margin:0;padding:0; }
hr {margin:0;padding:0; color:#CCCCCC;}
ul li{margin:0;padding:0;list-style:none;}
ol{margin:0;padding:0;}
ol li{margin:0;padding:0;list-style:none;}

a:link, a:visited{color:#000;text-decoration:none;}
a:hover{color:#E76A10;text-decoration:underline;}

.alignleft {float:left;}
.alignright {float:right;}
.center {text-align:center;}
.clearer {clear:both;height:1px;overflow:hidden;margin-top:-1px;}
.strong {font-weight:bold;}
img.centered{display: block;margin-left: auto;margin-right: auto;}
img.alignleft{margin: 3px 10px 2px 0; }
img.alignright{ margin: 3px 0 2px 10px; }

h1{font-size:1.8em; color:#4D628F; margin-bottom:2px; }
h2{font-size:1.3em; color:#4D628F; margin-bottom:2px; }
h3{font-family: trebuchet ms, arial; font-size:1.2em; color:#4C4C4C; margin-top:25px; padding-left:15px; padding-top:3px; width:95%; height:30px;background:url("img/h3.png") repeat-x;}
h3 span {background-color:#FFF; padding: 0 5px;}

/* page setup */
body{font-family:arial,sans-serif;font-size:13px;color:#000;background:url("img/bg.jpg") repeat-x #E6DDCE;}

/* layout */
#page{width:980px; margin:0 auto;}
#header{width:970px; height:105px; padding:0 5px 0 0; background:url("img/bg-header.jpg");}
#promo{width:980px; height:90px;background-color:#FFB200;}
#body{width:980px; background:url("img/bg-body.png");}
#content{width:620px;float:left; padding:20px;margin-bottom:40px;}
#sidebar{width:300px; float:right; padding:10px;}
#footer{width:970px; height:18px; margin:2px auto; background-color:#FBC877; font-size:0.9em; clear:both;}

/* header */
#top{text-align:right;}
#logo{width:330px; height:85px; float:left; background:url("img/logo.jpg")}
#promo-head {width:640px; height:85px;float:right;}
#nav {width:970px; height:22px; background:url("img/bg-nav.png"); padding:5px 5px 0 5px;}
#nav li {display:inline; padding:0;}
#nav a:link,	#nav a:visited {color:#FFF;background:#9A0000; width:100%; padding:5px 40px 6px 40px;text-decoration:none; font:bold 1em Arial, Helvetica, sans-serif;}
#nav a:hover {color:#000;background:#FFB200;}	
#promo{text-align:center; padding-top:10px; padding-bottom:10px; background:url("img/bg-promo.png");}
#head-adsense {margin-left:430px; padding-top:33px;}

/* content */
#home{width:590px; height:130px; margin:auto; padding:15px; background:url("img/bg-home.png");}
.box{width:170px; float:left; height:230px;padding: 10px; margin:15px 8px 0 8px; background:url("img/bg-box.png");}
.box .meta {font-size:0.8em; color:#000; margin-bottom:5px;}
.box p {font-size:0.9em; text-align:justify; color:#6C6C6C;}
#dmcbloc img {display: none;}
#dmcbloc{display: block; width:205px; height:37px; margin-left:370px; background-image:url("img/ajouter.png");}
#dmcbloc:hover { background-image:url("img/ajouter-hover.png");}
#contentbox {margin-left:400px;color:#990000;font-weight:bold;} 
#flux{width:335px; float:left;}
#flux a {font-size:0.9em;}
.top {margin-bottom:8px; font-size:0.9em;color:#6C6C6C;}
.top a {color:#6C6C6C;}
#topvote {width:235px; float:right;}
.randombox{width:170px; height:130px; padding:10px; margin:5px auto; background-image:url("img/bg-randombox.png");}
#post-title {font-size:1.2em; color:#4D628F; font-weight:bold;text-decoration:none }

/* sidebar */
.sidebox{width:300px; margin:20px auto;}
#catbox {width:300px;}
#catbox li {list-style-type:none;}
.titre{text-align:center; color:#9A0000; font-size:1.5em; font-family: verdana;font-weight:bold;}

/*post*/
.post {overflow:hidden; width:580px;}
.post h1 {font-size:1.2em; color:#4D628F; margin-bottom:10px; }
#ratings{width:300px; margin-left:auto; margin-right:auto;}

/* Top plage */
.box-top {width:170px; float:left; height:190px;padding: 10px; margin:15px 8px 0 8px; background-image:url("img/bg-top-box.png"); }
.box-top p {margin-bottom:4px;}

/* searchbox */
#searchbox form {margin:5px;}
#searchbox form input {margin:0;}
#searchbox .text {width:230px;}
#searchbox .bouton {width:30px;}

/* formulaire */
#formulaire{width:520px; margin-left:auto; margin-right:auto;}

/* NextGEN Gallery */
/* ----------- Gallery style -------------*/

.ngg-galleryoverview {overflow: hidden;margin: 20px auto;text-align:center;width: 500px;clear:both;display:block !important;}
.ngg-gallery-thumbnail-box {float: left;}
.ngg-gallery-thumbnail {float: left;margin-right: 5px;text-align: center;}
.ngg-gallery-thumbnail img {background-color:#FFFFFF;border:1px solid #A9A9A9;display:block;margin:9px 10px 9px 5px;padding:4px;position:relative;}
.ngg-gallery-thumbnail img:hover {background-color: #A9A9A9;} 
.ngg-gallery-thumbnail span {/* Images description */font-size:90%;padding-left:5px;display:block;}
.ngg-clear {clear: both;}