/********************************************
   AUTHOR:  			Erwin Aligam 
   WEBSITE:   			http://www.styleshout.com/
   TEMPLATE NAME: 	Bright Side of Life
   TEMPLATE CODE: 	S-0005
   VERSION:          1.0          	
 *******************************************/ 
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */
* { padding: 0; margin: 0; }

body {
	margin: 0;
	padding: 0;
	font: .70em/1.5em  Verdana, Tahoma, Helvetica, sans-serif;
	color: #666666; 
	background: #A9BAC3 url(../images/design/bg.gif) repeat-x;
	text-align: center;
}


/* links */
a { 
	color: #4284B0;
	background-color: inherit;
	text-decoration: none;
}
a:hover {
	color: #9EC068;
	background-color: inherit;
}
a img {
	border: none;
}


/* headers */
h1, h2, h3 {
	font: bold 1em 'Trebuchet MS', Arial, Sans-serif;
	color: #333;	
}
h1 { font-size: 1.7em; color: #6297BC; } 
h2 { font-size: 1.6em; color: #6297BC; }
h3 { font-size: 1.3em; }

p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;
	color: #4284B0;
}
ul span, ol span {
	color: #666666; 
}

/* images */
/*img {
	border: 2px solid #CCC;
}
img.no-border {
	border: none;
}*/
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}
/*a img {  
  border: 2px solid #568EB6;
}
a:hover img {
  border: 2px solid #CCC !important; /* IE fix
  border: 2px solid #568EB6;
}*/

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
  border-left: 4px solid #4284B0; 
}
acronym {
  cursor: help;
  border-bottom: 1px dashed #777;
}
blockquote {
	margin: 15px;
 	padding: 0 0 0 20px;  	
  	background: #FAFAFA;
	border: 1px solid #f2f2f2; 
	border-left: 4px solid #4284B0;   
	color: #4284B0;
	font: bold 1.2em/1.5em Georgia, 'Bookman Old Style', Serif; 
}

/* form elements */
/*form {
	margin:10px; padding: 0;
	border: 1px solid #f2f2f2; 
	background-color: #FAFAFA; 
}*/
label {
/*
	font-weight:bold;
*/
	margin:5px 0;
}
input {
	margin: 1px;
	padding: 2px;
	border:1px solid #ccc;
	font: normal 1em Verdana, sans-serif;
	color:#777;
	background-color: #FAFAFA; 
}
textarea {
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #ccc;
	vertical-align:top;
	color:#777;
}
input.button { 
	margin: 0; 
	font: bold 1em Arial, Sans-serif; 
	border: 1px solid #CCC;
	background: #FFF; 
	padding: 2px 3px; 
	color: #4284B0;	
}

/* search form */
form.searchform {
	background: transparent;
	border: none;
	margin: 0; padding: 0;
}
form.searchform input.textbox { 
	margin: 0; 
	width: 120px;
	border: 1px solid #9EC630; 
	background: #FFF;
	color: #333; 
	height: 14px;
	vertical-align: top;
}
form.searchform input.button { 
	margin: 0; 
	padding: 2px 3px; 
	font: bold 12px Arial, Sans-serif; 
	background: #FAFAFA;
	border: 1px solid #f2f2f2;
	color: #777;	
	width: 60px;
	vertical-align: top;
}

/***********************
	  LAYOUT
************************/
#wrap {
	background: #FFF;
	width: 820px; height: 100%;
	margin: 0 auto;	
	text-align: left;
}
#content-wrap {
	clear: both;
	margin: 0; padding: 0;	
	background: #FFF;
}

/* header */
#header {
	position: relative;
	height: 85px;	
	background: #000 url(../images/design/headerbg.gif) repeat-x 0% 100%;	
}
#header h1#logo {
	position: absolute;
	margin: 0; padding: 0;
	font: bolder 4.1em 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	text-transform: lowercase;
	top: 0; left: 5px;	
}
#header h1#logo img {
	position: absolute;
	margin: 0; padding: 0;
	top: 5px; left: 390px;	
}

#header h2#slogan {
	position: absolute;	 
	top:43px; left: 150px;
	color: #666666;
	text-indent: 0px;
	font: bold 11px Tahoma, 'trebuchet MS', Sans-serif; 
	text-transform: none;	
}
#header form.searchform {
	position: absolute;
	top: 0; right: -12px;	
}

#div_banner {
	height:120px;
	width:100%;
	margin-bottom: 4px;
	background-color:#83ACCA;
}

/* main */
#main {
	float: left;
	margin-left: 15px;
	margin-top: 10px;
	padding: 0;
	width: 74%;
}

#main h1 img, #main h2 img, #main h3 img {
	vertical-align: middle;
}

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 20px 15px 0 15px;
	border: 1px solid #f2f2f2;
	font-size: 95%;	
}
.post-footer .date {
	background: url(clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url(comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url(page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* sidebar */
#sidebar {
	float: left;
	width: 23%;
	min-height:600px;
	margin: 0;	padding: 0;
	/*margin-top:20px;*/
	display: inline;		
}

li
{
	color:black;
}

#sidebar h2
{
	margin-top:20px;
	font-size: 1.5em;
}

#sidebar .logo
{
	text-align: center;
}

#sidebar ul.sidemenu {
	list-style:none;
	margin:10px 0 10px 15px;
	padding:0;		
}
#sidebar ul.sidemenu li {
	margin-bottom:1px;
	border: 1px solid #f2f2f2;
}
#sidebar ul.sidemenu a {
	display:block;
	font-weight:bold;
	color: #333;
	text-decoration:none;	
	padding:2px 5px 2px 10px;
	background: #f2f2f2;
	border-left:4px solid #CCC;	
	
	min-height:18px;
}

* html body #sidebar ul.sidemenu a { height: 18px; }

#sidebar ul.sidemenu a:hover {
	padding:2px 5px 2px 10px;
	background: #f2f2f2;
	color: #339900;
	border-left:4px solid #9EC630;
}

/* search form */
#sidebar form#menu-search-form
{
	margin:10px 0 10px 15px;
	padding:0;		
}



/* rightbar */
#rightbar {
	float: right;
	width: 23%;
	padding: 0; margin:0;		
}

/* Footer */
#footer { 
	clear: both; 
	color: #FFF; 
	background: #A9BAC3; 
	border-top: 5px solid #568EB6;
	margin: 0; padding: 0; 
	height: 50px;	  
	font-size: 95%;	
	text-align: center;
}
#footer a { 
	text-decoration: none; 
	font-weight: bold;	
	color: #FFF;
}
/*#footer .footer-left{
	float: left;
	width: 65%;
}
#footer .footer-right{
	float: right;
	width: 30%;
}*/

/* menu tabs */
#header ul {
	z-index: 999999;
	position: absolute;
   margin:0; padding: 0;
   list-style:none;
	right: 0; 
	bottom: 6px !important; bottom: 5px;
	font: bold 13px  Arial, 'Trebuchet MS', Tahoma, verdana,  sans-serif;	
}
#header li {
   display:inline;
   margin:0; padding:0;
}
#header a {
   float:left;
   background: url(../images/design/tableft.gif) no-repeat left top;
   margin:0;
   padding:0 0 0 4px;
   text-decoration:none;
}
#header a span {
   float:left;
   display:block;
   background: url(../images/design/tabright.gif) no-repeat right top;
   padding:6px 15px 3px 8px;
   color: #FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#header a span {float:none;}
/* End IE5-Mac hack */
#header a:hover span {
	color:#FFF;
}
#header a:hover {
   background-position:0% -42px;
}
#header a:hover span {
   background-position:100% -42px;
}
#header #current a {
   background-position:0% -42px;
	color: #FFF;
}
#header #current a span {
   background-position:100% -42px;
	color: #FFF;
}
/* end menu tabs */

/* alignment classes */
.float-left  { float: left; }
.float-right {	float: right; }
.align-left  {	text-align: left; }
.align-right {	text-align: right; }

/* additional classes */
.clear { clear: both; }
.green { color: #9EC630; }
.red { color: #C63035; }
.grayblue { color:#6297BC; }
.gray  { color: #BFBFBF; }

/* Images sans bords */
/*img {
  border: 0px;
}*/

/* Style des tables */
table
{
   border-collapse: collapse;
   table-layout: auto;
   empty-cells: show;
}

td, th /* Mettre une bordure sur les td ET les th */
{
   border: 1px solid gray;
   border-style: none;
   padding: 0px; /* Petite marge intérieure aux cellules pour éviter que le texte touche les bordures */
}


.spreadfirefox /* petits aménagements (marges) pour le bouton Firefox */
{
	margin-bottom: 30px;
}


/*****************************************
 * Admin misc
 */

a.admin_connect
{
	font-size:0.8em;
	font-weight: lighter;
	font-style: italic;
}

span.admin_disconnect
{
	padding:2px;
	background-color:#D06267;
}

a.admin_panel_link
{
	font-size:1em;
}

a.admin_logout
{
	font-size:0.8em;
}


p.admin_box, span.admin_boxtool
{
	float:right;
	display:block;
	padding: 2px;
	margin: 0px;
	
	background-color:#EDE2E1;
	border: 1px solid #FF9A9A;
}




/*****************************************
 * Formatage des boîtes d'informations (avertissement, info, échec...)
 */

div.info, div.success, div.warning, div.error
{
	border-style: solid;
	border-width:1px;
	border-left-width: 5px;
	
	margin: 5px;
	padding: 8px 6px 8px 32px;
	
	background-position: 3px 4px;
	background-repeat: no-repeat;
}

div.info
{
	border-color: #6297BC;
	background-color: #D2E2EC;
	color:#333333;
	
	background-image:url("../images/icons/info.png");
}

div.info a
{
	color:#213749;
}

div.info a:hover
{
	color:#DCEDFF;
	background-color:#3A4672;
}


div.success
{
	border-color: #62BC68;
	background-color: #BCE09D;
	color:#333333;
	
	background-image:url("../images/icons/success.png");
}

div.warning
{
	border-color: #E6E85C;
	background-color: #F6F79D;
	color:#333333;
	
	background-image:url("../images/icons/warning.png");
}

div.error
{
	border-width: 3px;
	border-left-width: 5px;
	
	border-color: red;
	background-color: #EA6158;
	color:white;
	font-weight:bold;
	
	background-image:url("../images/icons/error.png");
}

div.error a
{
	color:#8CBCDE;
}






p.disabled_feature
{
	margin: 20px;
	padding-left:20px;
	font-weight:bold;
	background:url("../images/icons/info_tiny.png") no-repeat 0px 0px;
}





/*****************************************
 *  Formatage du tableau des catégories
 */
table#categories_grid, table#categories_row
{
	width:90%;
	margin:auto;
	margin-top:10px;
	margin-bottom:10px;
}

table#categories_grid tr
{
	margin-bottom: 10px;
	background-color:red;
	border: 5px solid white;
	
}


table#categories_grid td
{
	width:170px;
	height:170px;
	
	margin:10px 0px 10px 0px;
	padding:0px;
	
	vertical-align:middle;
}

table#categories_row td
{
	width:50px;
	height:50px;
	
	margin:0px;
	padding:0px;
	
	vertical-align:middle;
}

table#categories_row td img
{
	max-height:60px;
	max-width:60px;
}

table#categories_row td a
{
	padding:2px;
}

td.cat_blue p, td.cat_green p
{
	margin:0px;
	padding:0px;
	text-align:center;
	font-weight:bold;
	font-size:1.1em;
}

td.cat_blue a, td.cat_green a
{
	display:block;
	color:#eeeeee;
	padding:3px;
}

td.cat_blue a:hover, td.cat_green a:hover
{
	color:#ffffff;
}


td.cat_blue
{
	background-color:#90B5CB;
}

td.cat_blue:hover
{
	background-color:#80A6BF;
}

td.cat_green
{
	background-color:#B2C185;
}

td.cat_green:hover
{
	background-color:#A6B57A;
}

td.cat_selected, td.cat_selected:hover
{
	background-color:#E0D3D2;
}


table#categories_row td
{
	opacity: 0.6;
}

table#categories_row td:hover, table#categories_row td.cat_selected
{
	opacity: 1.0;
}

/*****************************************
 * Formatage pour infos des auteurs
 */

table#author_list
{
	width: 90%;
	margin: auto;
	margin-bottom: 30px;

	border: 1px dotted gray;
	border-collapse:collapse;
}

table#author_list ul
{
	padding: 0px;
}

div#div_plugins_author
{
	margin:20px;
}


/*****************************************
 *  Formatage du tableau des catégories
 */

table#plugins_list
{
	margin:auto;
	width:99%;
	margin-top:10px;
	margin-bottom: 30px;
}

table#plugins_list p
{
	margin: 0px;
}



table#plugins_list th
{
	text-align:center;
	font-size:1.1em;
}

table#plugins_list th em, table#plugins_list th form
{
	font-weight:normal;
	text-align:left;
	font-size:1em;
}

table#plugins_list td.plugin_name a
{
	min-height:40px;
	display:block;
	margin:0px;
	padding:0px;
}

table#plugins_list td
{
	padding: 5px;
	border: 1px dotted gray;
}

table#plugins_list th.sortby
{
	background-color:#C1E0C3;
}

table#plugins_list td.plugin_download, table#plugins_list td.plugin_compatibility
{
	text-align:center;
}

table#plugins_list td.plugin_download
{
	width:18%;
}

table#plugins_list img
{
	vertical-align:middle;
}

table#plugins_list thead th
{
	font-size:1.05em;
	padding:5px;
	border: 1px solid gray;
}

table#plugins_list tr
{
	background-color:#DCE4E8;
}

table#plugins_list tr:hover
{
	background-color:#E1E9ED;
}

table#plugins_list th
{
	background-color:#C1D6E0;
}


/*****************************************
 *  Formatage de la fiche plugin
 */

div#plugin_downloads
{
	float:right;
	width: 30%;
	margin: 10px;
	
/*
	border: 1px solid gray;
*/
	background-color: #E2ECF3;
}

div#plugin_downloads p
{
	margin:5px;
	padding:0px;
	clear:both;
}

div#plugin_downloads p a
{
	display: block;
	min-height: 35px;
	padding:2px 10px 2px 2px;
	
	background-color:#C0D6E4;
	font-weight:bold;
	
	-moz-border-radius:50%;
}

div#plugin_downloads p.required_file_download
{
	margin-top:15px;
	font-weight: bold;
	text-align: center;
}

div#plugin_downloads p.required_file_download a
{
	background-color: #E4C4C0;
}


div#plugin_downloads p a img
{
	vertical-align: middle;
	margin: 2px;
	float:left;
}

p.dl_count
{
	padding-top: 10px;
	text-align: right;
}



p#plugin_authors
{
	font-style: italic;
	margin-bottom: 5px;
	font-size:1.1em;
}

p#plugin_description
{
	margin-top: 20px;
	margin-bottom: 40px;
	
	font-size:1.1em;
}

p#link img
{
	vertical-align:middle;
}

p#plugin_compatibility
{
	display:block;
	margin:10px;
	margin-top:30px;
	padding:5px;
	border:1px solid #BDDDBF;
	width:25%;
	text-align: center;
}

p#plugin_date
{
	font-style: italic;
}


hr.plugin_hr
{
	margin:auto;
	margin-top:40px;
	margin-bottom:40px;
	width:95%;
}




form#comment_form
{
	display:block;
}

span.admin_boxtool {
	display:block;
	text-align:right;
}


div#recaptcha_widget_div {
	padding-left: 13px;
}



/*****************************************
 *  Formatage pour Ajax
 */

div#loader
{
	display:none;
	border: 3px solid #899FAD;
	background-color: #DAE3E9;
	text-align:center;
	
	position: absolute;
	top:450px;
	margin-left:200px;
	
	width:100px;
	padding:5px;
	
	
	font-weight: bold;

	z-index:1;
}





/***************************
 * Formatage numérotation des pages
 */
div.PageBox
{
	width: 99%;
	text-align: center;
	margin: 30px 5px 30px 5px;
	font-size:1.1em;
}

div.PageBox a 
{
	margin:2px;
	padding:3px 5px 3px 5px;
	border: 1px solid gray;
}

div.PageBox a:hover, div.PageBox a.current_page
{
	background-color:#568EB6;
	color: #E1FFB3;
}

div.PageBox a.current_page
{
	font-weight: bold;
}


/************************
 * Commentaires
 */


table#plugin_comments
{
	margin:auto;
	margin-bottom: 30px;
	
	width: 95%;
}

tr.comment
{
	clear: both;
	margin-bottom: 10px;
}

td.comment_datetime
{
	width: 15%;
	padding: 0px;
	vertical-align: top;
}

td.comment_datetime p
{
	display: block;
	
	margin: 5px;
	margin-right: 0px;
	padding: 2px;
	
	text-align: center;
	
	border: 1px solid #E1E4E6;
	background-color: #EBEEF0;
}

span.comment_date, span.comment_time
{
	font-size:1.1em;
}

span.comment_year
{
	font-size:0.8em;
}

td.comment_message
{
	vertical-align: top;
}

p.comment_author
{
	margin: 5px 0px 10px 0px;
	padding: 1px 10px 1px 5px;
	
	font-size:1.1em;
	
	background-color: #EBEEF0;
	border-top: 1px solid #E1E4E6;
}

