/********************************************
   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(../i/bg.gif) repeat-x;
	text-align: center;
}

/* links */
a { 
	color: #4284B0;
	background-color: inherit;
	text-decoration: none;
	outline:none;
}
a:hover {
	color: #9EC068;
	background-color: inherit;
}

/* headers */
h1, h2, h3, h4, h5, h6 {
	font: bold 1em 'Trebuchet MS', Arial, Sans-serif;
	color: #333;	
}
h1 { font-size: 1.5em; color: #6297BC;}
h2 { font-size: 1.4em; text-transform:uppercase;}
h3 { font-size: 1.3em; }
h4 { font-size: 1.5em; color: #6297BC;}
h5 { font-size: 1.3em; }
h6 { font-size: 1.3em; }

p, h1, h2, h3, h4, h5, h6 {
	margin: 10px 15px;
}
h1, h2, h3, h4, h5, h6 {clear:both;}
p {text-align:justify;}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;
	color: #4284B0;
}
ol {list-style-position:inside;color:#666;margin:0;text-align:justify;}
ol li {margin:20px 0 0;}
ul.abc {list-style-type:lower-alpha;margin:20px 5px 0;}
ul span, ol span {
	color: #666; 
}


/* 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;
}
.noborder {border: none;}
a:hover img.noborder {border: none !important;}
.center {display:block;margin:0 auto;}

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 solid #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;
	padding:10px;
}
label {
	display:block;
	font-weight:bold;
	margin:3px 0;
	float:left;
	width:110px;
	clear:both;
	text-align:left;
}
input.submit {clear:both;float:none;}
input, select {
	padding: 2px;
	border:1px solid #eee;
	font: normal 1em Verdana, sans-serif;
	color:#777;
	margin:3px 0;
	float:right;
	width:210px;
	outline:none;
}
select {width:216px;}
textarea {
	width:350px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	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: 1000px; 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(../i/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 h2#slogan {
	position: absolute;	 
	top:42px; left: 45px;
	color: #666;
	text-indent: 0px;
	font: bold 14px Tahoma, 'trebuchet MS', Sans-serif; 
	text-transform: none;	
}
#header form.searchform {
	position: absolute;
	top: 0; right: -12px;	
}

/* main */
#main {
	float: left;
	margin-left: 10px;
	padding: 0;
	width: 53%;
}

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 20px 15px 0 15px;
	border: 1px solid #f2f2f2;
	font-size: 95%;	
}
.post-footer .date {
	background: url(../i/clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url(../i/comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url(../i/page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* sidebar */
#sidebar {
	float: left;
	width: 23%;
	margin: 0;	padding: 0; 
	display: inline;		
}
#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 li.nolink {font: bold 1em 'Trebuchet MS', Arial, Sans-serif; font-size: 1.5em; color: #6297BC;border:none;}
#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, #sidebar ul.sidemenu a.sel {
	padding:2px 5px 2px 10px;
	background: #f2f2f2;
	color: #339900;
	border-left:4px solid #9EC630;
}

/* rightbar */
#rightbar {
	float: right;
	width: 23%;
	padding: 0; margin:0;		
}
#rightbar ul {margin:0;}

/* Footer */
#footer { 
	clear: both; 
	color: #FFF; 
	background: #A9BAC3; 
	border-top: 5px solid #568EB6;
	margin: 0; padding: 0; 
	height: 50px;	  
	font-size: 95%;		
}
#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: 2;
	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(../i/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(../i/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 a.sel {
   background-position:0% -42px;
	color: #FFF;
}
#header a.sel 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; }
.gray  {	color: #BFBFBF; }
.goaway {color:#f00; font-weight:bold;font-size:200%;}

.dcaptcha_no{
display: inline-block;
/*font-family: arial;
font-size: 10px;*/
color: #a00;
padding: 0;
background: #a00;
width:20px;height:20px;
margin:5px 125px 0 5px;
border:none;
}

.dcaptcha_yes{
display: inline-block;
/*font-family: arial;
font-size: 10px;*/
color: #a00;
padding: 0;
background: #fff;
width:20px;height:20px;
margin:5px 125px 0 5px;
border:none;
}
	
/*input.dcaptcha_no {width:20px;height:20px;background:url(../i/pencil.png) red;margin:5px 125px 0 5px;}
input.dcaptcha_yes {width:20px;height:20px;background:green;margin:5px 125px 0 5px;}*/

/*SEARCH*/
#search input {float:none;}
#search form {clear:none;}

/* form email */
#form_email {margin:10px auto 15px;width:490px;}
#form_email p {margin:0 0 2px;padding:0;}
#form_email label {float:left;font:12px/1 arial,sans-serif;padding:7px 0 0 25px;margin:2px 0 0;width:100px;}
#form_email .tema,
#form_email .name,
#form_email .email,
#form_email .cod {
  background:url(../i/pencil.png) 2px 1px no-repeat #fff;
  border:#999 1px solid;
  color:#777;
  float:right;
  margin:5px 5px 2px 0;
  padding:0 0 4px 22px;
  width:330px;
  height:15px;
}
#form_email .cod {width:200px;}
#form_email .tema,
#form_email .name,
#form_email .email,
#form_email .cod {padding:3px 0 4px 22px;height:12px;}
#form_email textarea {
  background:url(../i/pencil.png) 2px 1px no-repeat #fff;
  border:1px #999 solid;
  color:#777;
  float:right;
  margin:5px 5px 2px 0;
  padding:10px 0 0 22px;
  width:455px;
  height:265px;
}
#form_email img {
  border:none;
  float:right;
  margin:6px 2px 2px 0;
  width:120px;
  height:19px;
}
#form_email .submit,#form_email .search {
  background:#fff;
  border:#999 1px solid;
  color:#777;
  float:right;
  font:13px/1 arial,sans-serif;
  margin:0 5px 2px 0;
  width:479px;
  height:22px;
}
#form_email .search {width:70px;}
html:root #form_email .tema,
html:root #form_email .name,
html:root #form_email .email,
html:root #form_email .cod {padding:1px 0 0 22px;height:18px;}
/* end form email*/

/* Adds */

.topadd {text-align:center;color:#000;width:500px;margin:10px auto;}
.topadd a {color:red;text-decoration:underline;font-weight:bold;}
.topadd a:hover {text-decoration:none;}

/* Gallery */

#gallery {width:100%; position:relative; margin-bottom:20px;}
#gallery a:hover img, #gallery a img, #gallery img {border:none !important;}

#gallery b.default {position:absolute; left:0; bottom:10px; width:100%; height:430px; text-align:center;}
#gallery b.default img {margin:0 auto 10px auto;}
#gallery b.default span {display:block; color:#000; font-family:verdana, arial, sans-serif; font-weight:normal; font-size:11px; width:100%; margin:0 auto;}

#gallery ul {list-style:none; padding:0; margin:450px auto 10px; width:100%;position:relative;}
#gallery ul li {display:inline; width:52px; height:52px; float:left; margin:0 5px 5px 0;display:block;}
#gallery ul li a {display:block; width:50px; height:50px; text-decoration:none;}
#gallery ul li a span {display:none;}
#gallery ul li a img {display:block; width:50px; height:50px;}

#gallery ul li a:hover {white-space:normal;background:#333;}

#gallery ul li a:hover b {position:absolute; bottom:10px; left:0; width:100%; height:430px; text-align:center; background:#fff; z-index:20;}
#gallery ul li a:hover img {margin:0 auto 10px auto; width:auto; height:auto;}
#gallery ul li a:hover span {display:block; color:#000; font-family:verdana, arial, sans-serif; font-weight:normal; font-size:11px; width:100%; margin:0 auto;}

*+html #gallery ul li a:hover b, *+html #gallery ul li a:active b {bottom:109px;}
*html #gallery ul li a:hover b, *html #gallery ul li a:active b {bottom:109px;}

#gallery ul li a:active, #gallery ul li a:focus {white-space:normal;background:#333;}
#gallery ul li a:active b, #gallery ul li a:focus b {position:absolute; bottom:10px; left:0; width:100%; height:430px; text-align:center; z-index:10; background:#fff;}
#gallery ul li a:active span, #gallery ul li a:focus span {display:block; color:#000; background:#fff; font-family:verdana, arial, sans-serif; font-weight:normal; font-size:11px; width:100%; margin:0 auto;}
#gallery ul li a:active img, #gallery ul li a:focus img{margin:0 auto 10px auto; width:auto; height:auto;}