/********************************************
	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(bg.jpg) repeat-x;
	text-align: center;
}

/* links */
a { 
	color: #4284B0;
	background-color: inherit;
	text-decoration: none;
}
a:hover {
	color: #9EC068;
	background-color: inherit;
}

/* headers */
h1, h2, h3 {
	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; }

h1 { font-weight: normal; }
b { font-weight: inherit; }

h2 a { color:#333; text-decoration: underline; }

p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;
/*	color: #4284B0;*/
}
ul span, ol span {
	color: #666666; 
}
.arbol, .arbol ul {
	margin-left: 10px;  
}
.arbol ul {
	margin-top: 5px;
	margin-right: 0px; 
}

/* images */
img {
	border: none;
	vertical-align: top;
}
img.no-border {
	border: none;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}
img.side-image {
	max-width: 185px;
}
.img-arbol {
	width: 20px; border: none; vertical-align: bottom; margin-right: 4px; 
}
a img {  
  border: none;
}
a:hover img {  
  border: 1px solid #CCC !important; /* IE fix*/
  border: 1px 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 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; 
}
hr { margin: 10px 100px; border: 1px solid #999; }

/* tables */
table { margin: 5px auto; border-collapse: collapse; border: 1px solid #bbb; width: 100%; }
table th, table td { border: 1px solid #bbb; padding: 1px 5px; }
table th {text-align: center; }

table.perfil { border: none; margin: 5px; }
table.perfil td, table.perfil th { border: none }

table.cadenas { }
table.cadenas th { }
table.cadenas td {  }
table.cadenas img { max-width: 350px; }

table.calculos { }
table.calculos th, table.calculos td { }

/* form elements */
form {
	margin:10px; padding: 0;
	border: 1px solid #DDD; 
	background-color: #EEE; 
}
label {
/*	display:block; */
	font-weight:normal;
	margin: 0;
	min-width: 147px;
	display: inline-block;
	text-align: right;
}
input {
	padding: 2px;
	border:1px solid #eee;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
input[type="image"] { padding: 0px; vertical-align: bottom; margin: 0px 3px; }
textarea {
	width:300px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:inline-block;
	color:#777;
	vertical-align: top;
	margin-top: 3px;
}
input.button { 
	margin: 0; 
	font: bold 1em Arial, Sans-serif; 
	border: 1px solid #CCC;
	background: #FFF; 
	padding: 2px 3px; 
	color: #4284B0;	
}
fieldset {
	border: none;
	margin: 5px 10px;
}
fieldset img {
	vertical-align: top;
	border: none;
	float: left;
}
legend {
	font-weight: bold;
	margin-left: 5px;
}
form ul {
	list-style-type: none;
	margin: 3px 10px;
	padding: 0px;
}
form li {
	margin-left: 0px;
}

/* login form */
form.login-form,
#header .login-data {
	background: transparent;
	border: none;
	margin: 0; padding: 0;
	position: absolute; right: 10px;
}
form.login-form input.textbox { 
	margin: 0; 
	width: 50px;
	border: 1px solid #9EC630; 
	background: #FFF;
	color: #333; 
	height: 14px;
	vertical-align: top;
}
form.login-form 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;
}
form.login-form label {
	min-width: 0px;
}

#header .login-data a {
   float:none;
   background: none;
   margin:0;
   padding:0 0 0 4px;
   text-decoration:none;
}
/***********************
	  LAYOUT
************************/
#wrap {
	background: #FFF;
	width: 1024px; height: 100%;
	margin: 0 auto;	
	text-align: left;
}
#content-wrap {
	clear: both;
	margin: 0; padding: 0;	
	background: #FFF;
}

/* header */
#header {
	position: relative;
	height: 91px;	
	background: #000 url(headerbg.jpg) repeat-x 0% 100%;	
}
#header h1#logo, #header div#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;	
	color: #6297BC;
}
#header h2#slogan, #header h1#slogan {
	position: absolute;	 
	top:37px; left: 55px;
	color: #666666;
	text-indent: 0px;
	font: bold 11px Tahoma, 'trebuchet MS', Sans-serif; 
	text-transform: none;	
}
#header form.login-form {
	position: absolute;
	top: 6px; right: 6px;	
}

/* main */
#main {
	float: left;
	margin-left: 15px;
	padding: 0;
	width: 54%;
}

#content { min-height: 400px; }

.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: 20%;
	margin: 0;	padding: 0; padding-top: 20px; 
	display: inline;	
}
#sidebar ul.sidemenu, #rightbar ul.sidemenu {
	list-style:none;
	margin:10px 0 10px 15px;
	padding:0;		
}
#sidebar ul.sidemenu li, #rightbar ul.sidemenu li {
	margin-bottom:1px;
	border: 1px solid #f2f2f2;
}
#sidebar ul.sidemenu a, #rightbar 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, * html body #rightbar ul.sidemenu a { height: 18px; }

#sidebar ul.sidemenu a:hover, #rightbar ul.sidemenu a:hover {
	padding:2px 5px 2px 10px;
	background: #f2f2f2;
	color: #339900;
	border-left:4px solid #9EC630;
}

/* 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%;		
}
#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(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;
}

/* Share Bar */
.share-bar {
	margin: 5px 10px;
}
.share-bar a img, .share-bar a:hover,
.share-bar a:visited, .share-bar a:active {
	border: 2px solid transparent;
	margin: 0px 1px;
}

/* 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 */

/* DIRECTORIO DE ENLACES */
.directorio { margin: 0px; padding: 2px 3px; border: 1px solid #bbb; background-color: #eee; }
.directorio a { padding-left: 15px; background: url(openLink.png) left center no-repeat; }
.directorio h1 { font-size: 1.3em; font-weight: bold; display: inline; margin: 0px; }
.directorio ul { margin: 0px; padding: 0px; list-style: none; }
.directorio ul.categorias { margin-bottom: 10px; }
.directorio ul.categorias li { display: inline-block; margin-right: 0px; vertical-align: top; overflow: hidden; width: 100px; text-align: left; height:20px; } 
.directorio ul.subcategorias { margin-left: 10px; width: 266px; }
.directorio ul.subcategorias li { display: inline; }
.directorio ul.subcategorias a { background: none; padding-left: 0px; }
/* FIN DIRECTORIO DE ENLACES */

/* LISTA DE ENLACES */
.enlaces {}
.enlaces h1 {}
.enlaces h2 { margin: 2px 10px; font-size: 1.2em; } 
.enlaces h2 a { padding-left: 15px; background: url(openLink.png) left center no-repeat; }
.enlaces ul { margin: 0px; padding: 0px; list-style: none; }
.enlaces li { margin-bottom: 10px; border: 1px solid #bbb; border-radius: 10px; -moz-border-radius: 10px; min-height: 105px; }

img.thumbshot { float: left; clear: left; margin: 5px 15px; }

.enlaces h2 a.pagerank { background-image: none; }
/* FIN LISTA DE ENLACES */

/* CUADRO DE NAVEGACIÓN DE LA LISTA DE CADENAS */
ul#lista-cadenas { border: 1px solid #999; background-color: #DEDEDE; margin: 10px 15px;}
ul#lista-cadenas li { display: inline-block; width: 119px; overflow: hide; }
/* FIN CUADRO DE LA LISTA DE CADENAS */

/* PAGINADOR */
.pagination-control { float: left; width: 95%; padding: 1px 15px; border: 1px solid #bbb; margin: 10px 0px; }
/* FIN PAGINADOR */

/* ALIGNMENT CLASSES */
.float-left  { float: left; }
.float-right {	float: right; }
.align-left  {	text-align: left; }
.align-right {	text-align: right; }
.align-center { text-align: center; }

/* ETIQUETA DE PUBLICIDAD */
.ad-label-down-right { margin-top: 0px; padding: 0 4px; text-align: right; float: right; font-size: 0.8em }
.ad-label-down-right span { padding: 0 4px; display: inline-block; float: right; border: 1px solid #AAA; border-top: none; border-radius: 0px 0px 8px 8px; -moz-border-radius: 0px 0px 8px 8px; }
.ad-label-down-right a { color: #444 }
.ad-label-down-right a:hover { text-decoration: underline; }
/* FIN ETIQUETA DE PUBLICIDAD

/* additional classes */
.clear { clear: both; }
.green { color: #9EC630; }
.gray  { color: #BFBFBF; }

.msg-error {
	background-color: #FDF9C9;
	border: 2px solid #DE3B21;
	color: #DE3B21;
	margin: 5px 10px;
}

.label-error {
	color: #de3b21;
}

.code {
	font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
}

/* twitter button id */
#twitter-button {
	position: absolute;
	top: 100px;
	right: 140px;
}

/* delicious.com related */
.delicious-network-add {
	diplay: none;
}
.delicious-networkbadge {
	margin: 5px 10px;
}
.delicious-networkbadge img {
	border: none;
}

/* dojo related */
.login-form .dijitTextBox {
	width: 60px;
}

.RichTextEditable {
	border: 1px solid #8BA0BD;
	background-color: white;
}

