/********************************************
   AUTHOR: 		Erwin Aligam 
   WEBSITE:		http://www.styleshout.com/
   TEMPLATE NAME: 	SimpleBlog 1.0
   TEMPLATE CODE: 	S-0007
   VERSION:		1.0          	
 *******************************************/
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* Top Elements */
* {
	margin: 0;
	padding: 0;
}

body {
	background: #FFF;
	font: normal 70%/1.5em Verdana, Tahoma, Verdana, sans-serif;
	color: #333; 
	text-align: center;
}

/* links */
a {
	background: inherit;
	text-decoration: none;
	color: #667F99;	
}

a:hover {
	background: inherit;
	color: #996800; 
}

p {
	margin: 0;
	padding: 10px;		
}

/* headers */
h1, h2, h3 {
	margin: 0;
	padding: 2px;		
	font-family: Verdana, Tahoma, 'Trebuchet MS', Sans-serif;
	font-weight: bold; 		
}

h1 {
	font-size: 130%;
}

h2 {
	font-size: 120%;
	color: #007E80;
	margin-left: 10px;
/*	text-transform: uppercase; */
}

h3 {
	font-size: 110%;
	margin-left: 20px;
/*	text-transform: uppercase; */
}

table {
	width: 100%;
}

tr, th, td {
	font-family: Verdana, Tahoma, Verdana, sans-serif;
	font: normal;
	color: #333; 
	padding: 5px 2px 2px 2px;
}

th {
	background-color: #E3E3E3;
	text-align: center;
	vertical-align: center;
}

ul, ol {
	margin: 10px 20px;
	padding: 0 20px;
}

/* images */
img {
	border: 2px solid #CCC;
}

img.float-right {
	margin: 5px 0px 5px 10px;  
}

img.float-left {
	margin: 5px 10px 5px 0px;
}

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;  
}

acronym {
	cursor: help;
	border-bottom: 1px solid #777;
}

/* blockquote */
blockquote {
	margin: 10px;
 	padding: 0 0 0 28px;  
	border: 1px solid #f2f2f2; 
  	background: #FAFAFA url(../images/quote.gif) no-repeat 5px 5px;    
}

label {
	display: block;
	font-weight: bold;
	margin: 5px 0;
}

input {
	padding: 2px;
	border: 1px solid #eee;
	font: normal 1em Verdana, sans-serif;
	color: #777;
}

textarea {
	width: 400px;
	padding: 2px;
	font: normal 1em Verdana, sans-serif;
	border: 1px solid #eee;
	height: 100px;
	display: block;
	color: #777;
}

input.button { 
	margin: 0; 
	font: bolder 12px Arial, Sans-serif; 
	border: 1px solid #CCC; 
	padding: 2px 3px; 
	background: #FFF;
	color: #275F6C;
}

/* form elements */
form {
	margin:10px; padding: 0 5px;
	border: 1px solid #f2f2f2; 
	background-color: #FAFAFA; 
}

/* search form */
form.search {
	padding: 0; margin: 0; 
	vertical-align: bottom;
	border: none;
	background-color: transparent;
}

form.search input.textbox { 
	margin: 0; padding: 1px;
	width: 120px;
	border: 1px solid #CCC; 
	background: #FFF;
	color: #333; 
}

form.search input.button {
	height: 20px;
	padding: 1px 3px;
	width: 60px;
}

/********************************************
   LAYOUT
********************************************/ 
#wrap {
	width: 833px;
	background: url(../images/bg.jpg) repeat-y center top;
	margin: 0 auto;
	text-align: left;
}

#content-wrap {
	position: relative;
	width: 91%;
	margin: 0 auto;
	padding: 0;	
}

/* header */
#header {
	position: relative;
	width: 833px;
	height: 100px;
	background: #FFF url(../images/header.jpg) no-repeat center top;
	margin: 0;
	padding: 0;
	font-size: 14px;
	color: #FFF;
}

#header img {
	position: absolute;
	padding: 0;
	border: none;
	height: 80px;
	width: 130px;

	/* change the values of top and Left to adjust the position of the logo*/
	top: 15px; left: 38px;	
}

#header h1#logo {
	position: absolute;
	margin: 0;
	padding: 0;
	font: bold 42px 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	color: #FFF;
	text-transform: none;
	
	/* change the values of top and Left to adjust the position of the logo*/
	top: 19px; left: 173px;	
}

#header h2#slogan {
	position: absolute;
	z-index: 99;
	margin: 0;
	padding: 0;
	font: bold 12px 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	color: #FFF;
	
	/* change the values of top and Left to adjust the position of the slogan*/
	top: 65px; left:195px;			
}

#header #searchform {
	float: right;
	padding: 45px 40px 0 0;
	display: inline;
}

/* infobar */
#infobar {
	clear: both;
	width: 833px;
	height: 26px;
	background: #FFF url(../images/infobarbg.jpg) repeat-y;
	margin: 0;
	font: bolder 12px/26px Tahoma, Verdana, Arial, Sans-Serif;
}

#infobar h2#info {
	position: relative;
	text-align: center;
	z-index: 99;
	margin: 0;
	padding: 2px;
	font: bold 14px 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	color: #FFF;
}

/* top dropdown menu */
#menu {
	clear: both;
	width: 833px;
	height: 26px;
	background: #FFF url(../images/menubg.jpg) repeat-y;
	margin: 0;
	font: bolder 12px/26px Tahoma, Verdana, Arial, Sans-Serif;			
}

#menu ul {
	margin: 0;
	padding: 0 0 0 35px;
}

#menu ul li {
	float: left;
	list-style: none;		
}

#menu ul li:hover {
	width: auto;
}

/* Spacing between menu elements */
#menu ul li a {
	display: block;
	text-decoration: none;	
	padding: 0 10px;
	color: #FFF;
}

/* Highlight in white with charcoal text */
#menu ul li a:hover {
	background: #FFF; 
	color: #333;  
}
/* Ensure current selected doesn't change */
#menu ul li.current a {	
	background: #30899F; 
	color: #FFF;	
}
/* First level dropdown */
#menu ul li ul {
	clear: both;
	visibility: hidden;
	position: absolute;
	list-style: none;
	height: 0;
	padding: 0;
	overflow: hidden;
	text-align: left;
	text-decoration: none;
	z-index: 100;
}

#menu ul li:hover ul,
#menu ul li a:hover ul {
	visibility: visible;
	position: absolute;
	background: #F6F6F6;
 	border:1px solid #2C7D95;
	overflow: visible;
	height: auto;
	width: 152px; 
}

#menu ul li ul li {
	background: #F6F6F6 url(../images/bullet.gif) no-repeat 2px 3px ;
	border-bottom: 1px solid #EFF0F1;
	padding: 2px 0 2px 25px;
	margin: 0 2px;			 
}
* html body #menu ul li ul li { width: 1%; }

#menu ul li:hover ul li a,
#menu ul li a:hover ul li a{
	display: block;
	background: transparent;
	color: #2C7D95;
	line-height: 15px;
	padding: 5px 10px;
	height: auto;
	text-decoration: none;
}

#menu ul li:hover ul li:hover a,
#menu ul li a:hover ul li a:hover {
	background: #2C7D95;
	color: #F6F6F6;
}

/* sidebar */
#sidebar {
	clear: both;
	float: left;
	width: 26%;
	padding: 0;
	margin: 0;		
}	

#sidebar h1 {
	margin: 10px 0 0 0; 
	padding: 3px 10px; 
	font: bold 120% Tahoma, Verdana, Sans-Serif;	
	color: #FFF;	
	background: #B6B8BB;	
}

#sidebar ul {
	list-style: none;
	text-align: left;
	margin: 3px 0px 8px 0;
	padding: 0;
	text-decoration: none;
}

#sidebar ul li {
	border-bottom: 1px solid #EFF0F1;
	background: url(../images/bullet.gif) no-repeat 2px 3px ;
	padding: 2px 0 2px 25px;
	margin: 0 2px;			 
}

* html body #sidebar ul li { height: 1%; }

#sidebar ul a {
	font-weight: bold;
	padding: 2px 0; 		
	background: none;
}

#sidebar ul li ul {
	visibility: hidden;
	position: absolute;
	height: 0;
	overflow: hidden;
	text-decoration: none;
}

#sidebar ul li:hover ul,
#sidebar ul li a:hover ul {
	visibility: visible;
	position: absolute;
	left: 65px;
	height: auto;
 	border:1px solid #2C7D95;
	background: #F6F6F6;
	overflow: visible;
}

#sidebar ul li:hover ul li a,
#sidebar ul li a:hover ul li a{
	display: block;
	background: transparent;
	color: #2C7D95;
	line-height: 15px;
	padding: 5px 10px;
	height: auto;
	text-decoration: none;
}

#sidebar ul li:hover ul li:hover a,
#sidebar ul li a:hover ul li a:hover {
	background: #2C7D95;
	color: #F6F6F6;
}

/*
#sidebar ul li:hover ul li ul,
#sidebar ul li a:hover ul li a ul {
	visibility:hidden;
	position:absolute;
	height:0;
	overflow:hidden;
	top:0;
	left:85px;
}

#sidebar ul li:hover ul li:hover ul,
#sidebar ul li a:hover ul li a:hover ul {
	visibility:visible;
	position:absolute;
	height:auto;
	color:#000;
	padding:0;
	border:1px solid #069;
	list-style-type:none;
	background:#069;
}

#sidebar ul li:hover ul li:hover ul li a,
#sidebar ul li a:hover ul li a:hover ul li a {
	display:block;
	background:transparent;
	color:#ff0;
}

#sidebar ul li:hover ul li:hover ul li:hover a,
#sidebar ul li a:hover ul li a:hover ul li a:hover {
	background:#eee;
	color:#000;
}
*/

/* Main */
#main {
	float: right;	
	width: 72%;
/*	max-height: 625px; */
	padding: 0;
	margin: 0;	
	overflow: auto;
/*	background: #FFF url(../images/bcdlgrn.gif); */
}

/*
#main table {
	border: 2px solid;
	width: 100%;
}

#main tr,td,th {
	vertical-align: top;
	padding: 0;
	border: 2px solid;
}
*/

#main h1 {
	color: #667F99; 
	border-bottom: 1px solid #CCCCCC;
	background: #F6F6F6 url(../images/arrow.gif) no-repeat 5px 50%;	
	padding: 3px 0 3px 20px;	
	margin: 10px 0 0 0;
}

#main h2 {
	border-bottom: 1px solid #CCCCCC;
}

#main p {
	margin-left: 10px;
}

/* pre-footer */
#prefooter {
	clear: both;
	color: #FFF;
	/* color: #66737B; */
	/* font: bolder 12px/26px Tahoma, Verdana, Arial, Sans-Serif; */
	font: bolder 90% Tahoma, Verdana, Arial, sans-serif;
	/* background: #FFF url(../images/preftrbg.jpg) repeat-y center top; */
	background: #FFF url(../images/preftrbg.jpg) repeat-y;
	width: 833px;
	height: 26px;
	text-align: center;
	padding: 0 0 8px 0;
	/* margin: 0 auto; */	
}

#prefooter a {
	text-decoration: none;
	color: #333;
}

/* alignment classes */
/* footer */
#footer {
	clear: both;
	color: #66737B;
	font: normal 90% Verdana, Tahoma, sans-serif;
	background: #FFF url(../images/footerbg.jpg) no-repeat center top;	
	width: 833px;
	height: 60px;
	text-align: center;
	padding: 8px 0 0 0;
	margin: 0 auto;	
}

#footer a { text-decoration: none; }

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

.shift-left  { margin-left: 10px; }

/* additional classes */
.clear { clear: both; }
.gray { color: #CCC; }
.center { text-align: center; }

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 20px 10px 0 10px;
	border: 1px solid #f2f2f2;
	font-size: 95%;	
}

.post-footer .date {
	background: url(../images/clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

.post-footer .comments {
	background: url(../images/comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

.post-footer .readmore {
	background: url(../images/page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}


