/********************************************
   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: #d5d5d5 url(bg.gif) repeat-x;
	text-align: center;
}

/* links */
a { 
	color: #4284B0;
	background-color: inherit;
	text-decoration: none;
}
a:hover {
	color: #990000;
	background-color: inherit;
}

/* headers */
h1, h2, h3, h4 {
	font: bold 1em 'Trebuchet MS', Arial, Sans-serif;
	color: #333;	
}
h1 { font-size: 1.5em; color: #990000; } 
h2 { font-size: 1.4em; text-transform:uppercase;}
h3 { font-size: 1.3em; }
h4 { font-size: 1.4em; }

p, h1, h2, h3, h4 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;
	color: #990000;
}

ul.color_gray, ol {
	margin: 10px 30px;
	padding: 0 15px;
	color: #666666;
}

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 img.no-border {
	border: none;
}

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 #990000; 
}
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; 

}
input {
	padding: 2px;
	border:1px solid #AAA;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:300px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	height:100px;
	display:block;
	color:#777;
	border-top:1px solid #7c7c7c;
	border-left:1px solid #c3c3c3;
	border-right:1px solid #c3c3c3;
	border-bottom:1px solid #ddd;
	background:#fff url(../images/fieldbg.gif) repeat-x top;
	
	
}
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 #CCCCCC; 
	background: #FFF;
	color: #333; 
	height: 14px;
	vertical-align: top;
	
}
form.searchform input.button { 
    margin: 0; 
	padding: 1px 3px; 
	font: bold 12px Arial, Sans-serif; 
	width: 60px;
	height: 21px;	
	vertical-align: bottom;
	cursor:pointer;
	border:outset 1px #ccc;
	background:#999;
	color:#666;
	font-weight:bold;
	padding: 1px 3px;
	background:url(formbg.gif) repeat-x left top;	
}

#contacto input.textbox { 
    margin: 0; 
	padding: 1px 3px; 
	width: 190px;
	height: 15px;	
	vertical-align: bottom;
	border:1px #B0B9F4;
	color:#666;
}
#contacto input.valuebox { 
    margin: 0; 
	padding: 1px 3px; 
	height: 15px;	
	vertical-align: bottom;
	border:1px #B0B9F4;
	color:#666;
}

#contacto textarea.textbox { 
    margin: 0; 
	padding: 1px 3px; 
	width: 230px;
	vertical-align: bottom;
	border:1px #B0B9F4;
}
#contacto select.textbox { 
    margin: 0; 
	padding: 1px 3px; 
	width: 200px;
	vertical-align: bottom;
	border:1px #B0B9F4;
}


#contacto input.button { 
    margin: 0; 
	padding: 1px 3px; 
	font: bold 12px Arial, Sans-serif; 
	width: 100px;
	height: 21px;	
	vertical-align: bottom;
	cursor:pointer;
	border:outset 1px #ccc;
	background:#999;
	color:#666;
	font-weight:bold;
	padding: 1px 3px;
	background:url(formbg.gif) repeat-x left top;	
}
#contacto input.checkbox, input.radio{
	display:block;
	line-height:1.5em;
	margin:.6em 0 0 3px;
	width:13px;
	height:13px;
}


/***********************
	  LAYOUT
************************/
#wrap {
	background: #FFF;
	width: 820px; height: 100%;
	margin: 0 auto;	
	text-align: left;
}
#content-wrap {
	clear: both;
	width: 100%; 
	margin: 0; padding: 0;	
	background: #FFF;
}

/* header */
#header {
	position: relative;
	height: 85px;	
	background: #000 url(headerbg.gif) repeat-x 0% 100%;	
}

#header-bar {
	position: relative;
	clear: both;
	margin: 0px auto;
	height: 34px;
	width: 820px;
	background: #fff url(top_bar.gif) no-repeat center center;
}

#header h1#logo {
	position: absolute;
	margin: 0; padding: 0;
	top: 100px; left: 600px;	
}
#header h2#slogan {
	position: absolute;	 
	top:37px; left: 95px;
	color: #666666;
	text-indent: 0px;
	font: bold 11px Tahoma, 'trebuchet MS', Sans-serif; 
	text-transform: none;	
}
#header form.searchform {
	position: absolute;
	top: 6px; right: 10px;	
}

/* main */
#main {
	float: left;
	margin-left: 15px;
	padding: 0;
	width: 52%;		
}

/* 
for leading - use CSS 'line-height'
for kearning - 'letter-spacing'
p {line-height: 130%; letter-spacing:-1px;}
you can use percentages, ems, px, etc. 
 */

#main p, h1, h2, h3 { margin: 10px 15px; text-align:justify;}
#main .float-left   { float: left; }
#main .float-right  { float: right; }
#main .align-left   { text-align: left; }
#main .align-right  { text-align: right; }

.kearning1 {text-align:justify; letter-spacing:-1px;}
.kearning2 {text-align:justify; letter-spacing:0px;}
.kearning3 {text-align:justify; letter-spacing:1px;}
.kearning4 {text-align:justify; letter-spacing:2px;}

#mainfull {
	float: left;
	margin-left: 15px;
	padding: 0;
	width: 75%;		
}

#mainfull p, h1, h2, h3 { margin: 10px 15px; text-align:justify;}
#mainfull .float-left   { float: left; }
#mainfull .float-right  { float: right; }
#mainfull .align-left   { text-align: left; }
#mainfull .align-right  { text-align: right; }


.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%;
	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 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: #990000;
	border-left:4px solid #990000;
}

/* Language*/
#language {
	margin: 20px;
	width: 90%;	
}

#language  a {
	color: #4284B0;	
}

#language a:hover {
	color: #990000;	
}

#language img {
  border:none;
}

#language a:hover img {  
  border: none !important; /* IE fix*/
  border: none;
}

/* rightbar */
#rightbar {
	float: left;
	width: 20%;
	margin: 0;	padding: 1px; 
	display: inline;		
	background: #ffffff;	
}

#side_right_bar {
	float: left;
	margin: 0;	padding: 0; 
	width: 110%;
	background: #ededed;
	border-bottom: 1px solid #d9d9d9;			
	border-left: 1px solid #d9d9d9;				
}

#side_right_bar a { 
	color: #004477;
	background-color: inherit;
}
#side_right_bar a:hover {
	color: #004477;
	background-color: inherit;
	text-decoration: underline;	
}

/* Footer */
#footer { 
	clear: both; 
	color: #FFF; 
	background: #A9BAC3; 
	border-top: 5px solid #999999;
	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%;
}

#footer ul.secondary li {
	padding: 0 0 0 0px;
			}
#footer li.secondary-favorite {
	background: url(/images/bookmark.gif) no-repeat 4px 0;
	}    

/* menu tabs */
#header ul {
	z-index: 1;
	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(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(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; }
.gray  {	color: #BFBFBF; }


/* gallery container */

.gallerycontainer{
position: relative;
left: 15px;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
  border: none !important; /* IE fix*/
  border: none;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
  border: none !important; /* IE fix*/
  border: none;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 150px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

/*CSS Mapa del Sitio */
#mapa {
    width:95%;
	border: 0px;	
}

#mapa td {
	height:23px;
    overflow:hidden;
    white-space:nowrap;
	text-align:left;
	vertical-align:bottom;
}

#mapa div {
height:23px;
overflow:hidden;
}

/*CSS Formas */
#tablas table {
	border-collapse: inherit;
	font: 11px/1.75em Verdana, Tahoma, arial, sans-serif;	
}
#tablas th {
	font: bold 1.2em 'Trebuchet MS', Arial, Sans-serif;
	height: 29px;
	padding-left: 12px;
	padding-right: 12px;	
	text-align: Center;
	border-left: 1px solid #f4f4f4;
	border-bottom: solid 2px #fff;
	color: #333;
}
#tablas tr {
	height: 30px;
}
#tablas td {
	padding-left: 11px;
	padding-right: 11px;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
#tablas td.first,th.first {
	border-left: 0px;
}
#tablas tr.row-a {
	background: #F8F8F8;
}
#tablas tr.row-b {
	background: #EFEFEF;		
}

/* Slider thanks to: http://www.serie3.info/s3slider/ */ 

#s3slider { 
   width: 820px; /* important to be same as image width */ 
   height: 250px; /* important to be same as image height */
   position: relative; /* important */
   overflow: hidden; /* important */
}

#s3sliderContent {
   width: 820px; /* important to be same as image width or wider */
   position: absolute; /* important */
   top: 0; /* important */
   margin: 0px;  /* important */
   left:0px;  /* important */
   padding: 0px;  /* important */
   margin-left: 0; /* important */
}

.s3sliderImage {
   float: left; /* important */
   position: relative; /* important */
   display: none; /* important */
}

.s3sliderImage span {
   position: absolute; /* important */
   left: 0;
   font: 10px/15px Arial, Helvetica, sans-serif;
   padding: 10px 13px;
   width: 820px;
   background-color: #000;
   filter: alpha(opacity=0); /* here you can set the opacity of box with text */
   -moz-opacity: 0.0; /* here you can set the opacity of box with text */
   -khtml-opacity: 0.0; /* here you can set the opacity of box with text */
   opacity: 0.0; /* here you can set the opacity of box with text */
   color: #fff;
   display: none; /* important */
   bottom: 0;

   /*
       if you put
       top: 0; -> the box with text will be shown at the top of the image 
       if you put
       bottom: 0; -> the box with text will be shown at the bottom of the image
   */
}

.clear {
   clear: both;
}

