/********************************************
   AUTHOR:  			Erwin Aligam 
   WEBSITE:   			http://www.styleshout.com/
	TEMPLATE NAME: 	Stylevantage - blue
   TEMPLATE CODE: 	S-0001
   VERSION:          1.0          	
 *******************************************/
 
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */
* {
	margin: 0; padding: 0;
} 

body {
	margin: 0; padding: 0;
	font: 71%/1.5em  Verdana, 'Trebuchet MS', Arial, Sans-serif;
	background: url(../../../../graphics/headerbg-red2.gif) repeat-x;
	color: #666666;	
	text-align: center;		
}

/* links */
a {
	background: inherit;
	color: #3182C0; 
}

a:hover {
	background: inherit;
	color: #72A545;
}

/* headers */

FORM			{margin-top:0px; margin-bottom:0px;}
	UL              {list-style:square; margin-top:0px; margin-bottom:0px; margin-left: 25px;}	
	OL				{margin-top:0px; margin-bottom:0px; margin-left: 25px;}
	OL LI			{ margin-left: 5px;}
BLOCKQUOTE		{margin-top:0px; margin-bottom:0px;}

DIV             {color:#111144;}
P               {color:#111144;}
TD              {color:#111144;}

#main h1, #rightbar h1 {
	border-bottom: 1px solid #f2f2f2; 	
}	
#sidebar h1 {
	padding: 10px 0px 5px 30px;
	background: url(../../../../graphics/square_arrow.gif) no-repeat 2px 12px;
	margin: 0;
	text-transform: uppercase;	
}

h1
{
	margin: 10px 0px 10px 0px;
}

h2
{
	margin: 7px 0px 7px 0px;
}

h3
{
	margin: 4px 0px 4px 0px;
}



#sidebar ul, #sidebar ol {
	margin: 10px 30px;
	padding: 0 15px;	
	color: #3182C0;	
}

#sidebar  ul span, #sidebar ol span {
	color: #666666;
}

/* images */


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: 3px solid #3182C0;
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 15px;
 	padding: 0 0 0 32px;  	
  	background: #FAFAFA url(../../../../graphics/quote.gif) no-repeat 5px 10px !important; 
	background-position: 8px 10px;
	border: 1px solid #f2f2f2; 
	border-left: 3px solid #3182C0;  
	font-weight: bold; 
}


label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 4px;
	border:1px solid #eee;
	font: normal 1em/1.5em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:400px;
	padding:4px;
	font: normal 1em/1.5em 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: #333;	
}

/*****************/
/*    Layout     */
/*****************/
#wrap {
	margin: 0;
   	width: 100%;  	
	text-align: left;		
	background: #FFF;	
}

#content-wrap {
	clear:both;
    margin: 0; padding:0;
	width: 100%;	
}

/* header */
#header {
	background: url(../../../../graphics/headerbg-red2.gif) repeat-x;
	height: 84px;	
}

#header IMG {
	border-width: 0px;
	float: left;
}
#header h1#logo {
	position: absolute;
	margin: 0;
	padding: 0;
	font: bolder 4.1em 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	color: #CCC;
	text-transform: none;
	top: 0px;
	left: 136px;
	height: 31px;
}
#header h2#slogan {
	position: absolute;
	margin: 0; padding: 0;
	font: bold 1em 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	/*color: #C7A317;*/
	color: #A29146;
	/* change the values of top and Left to adjust the position of the slogan*/
	top: 49px; left:161px;		
}
#header .searchform {
	position: absolute;
	top: 214px;
	right: 3px;
	left: 101px;

}

/* main column */
#main {
	margin-left: 195px;
	padding: 0px 15px 10px 15px;
	border-left: 1px solid #f2f2f2;
	vertical-align: top;
}

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin-top: 20px;
	font-size: 95%;
}
.post-footer .date {
	background: url(../../../../graphics/clock.gif) no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url(../../../../graphics/comment.gif) no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url(../../../../graphics/page.gif) no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* sideabar */
#sidebar {
	float: left;
	width: 180px;
	margin: 0;	padding: 0; 
}

#sidebar ul.sidemenu {
	list-style: none;
	text-align: left;
	margin: 0 0 8px 0;	
	padding-right: 0;		
	text-decoration: none;
}

#sidebar ul.sidemenu .selected 
{
	background-color: #DBDBDB;
	color: Black;
}

#sidebar ul.sidemenu .L1 {
	border-bottom: 1px solid #EFF0F1;
	background-repeat: no-repeat;
	background-image: url(../../../../graphics/arrow.gif);
	background-position:  5px 5px;
	padding: 2px 5px 2px 20px;	
}

#sidebar ul.sidemenu .L2
{
	border-bottom: 1px solid #EFF0F1;
	padding: 2px 5px 2px 26px;
	background-repeat: no-repeat;
	background-image: url(../../../../graphics/arrow.gif);
	background-position:  10px 5px;
}

* html body #sidebar ul.sidemenu li { height: 1%; }

#sidebar ul.sidemenu a {
	font-weight: bold;
	background-image: none;
	text-decoration: none;	
}



/* rightbar */
#rightbar {
	float: right;
	width: 21%;
	padding: 0;			
}

/* footer */
#footer {
	clear: both;
	background: #FFF url(../../../../graphics/footerbg.gif) repeat-x left top;
	border-top: 1px solid #F2F2F2;
	border-bottom: 1px solid #F2F2F2;
	text-align: center;	
	height: 40px;	
	margin-top: 20px;
}
#footer a {
	text-decoration: none;
	font-weight: bold;
}

/* menu */
#menu {
	clear: both;
	margin: 0; padding: 0;	
	
}
#menu ul {	
	position: relative; 
	bottom: 4px;
	margin: 0; padding: 0;	
	float: left;
	font: bold 1.4em 'Trebuchet MS', Tahoma, Arial, Sans-serif;
	width: 100%;/* 775px; */
	border: 1px solid #808080;
	border-width: 0 0 4px 0;	
	list-style: none;
}
#menu ul li{
	display: inline;	
}
#menu ul li a {	
	position: relative; bottom: -4px;
	float: left;
	color: #808080;
	padding: 0px 10px;
	text-decoration: none;
	background: white url(../../../../graphics/menudivide.gif) repeat-y right top; 
	border-bottom: 4px solid #808080; 	
}
#menu ul li a:hover{
	color: black;
	background-color: #F3F3F3; 
	border-bottom: 4px solid #7C2128;
}
#menu ul li#current a{
	color: #333;
	background-color: #F3F3F3; 
	border-bottom: 4px solid #7C2128;
}

/* 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;	}
.align-justify { text-align: justify; }

/* display classes */
.clear { clear: both; }
.block { display: block; }
.hide  { display: none; }	
.blue  {	color: #3791D7; }
/*.red  {	color: #CDBE70; }*/
.red  {	color: #7C2128; }
.gold  {	color: #A29146; }

.mainTable #center
{
	vertical-align: top;
	width: 100%;
}

.mainTable #right
{
	vertical-align: top;
	padding-left: 10px;
	padding-right: 10px;
	width: 200px;
}

.mainTable #right IMG
{
	border-width: 0px;
}


/* Top Drop Down Menu Styles */
	/* These styles are used globally by the top drop down menu. Colour specifc styles are defined else where.

		/* style for the containing div for the menu */
		/* note, the font size of 83% gives a very similar font-size in IE and Mozilla. feel free to change it, but appreciate the impact cross-browser */
		div#topdropmenu 
		{
			z-index:99;
			
		}
		
		/* default ul tag style for this menu - you probably won't need to change this */
		div#topdropmenu ul 
		{
			list-style:none;
			margin:0px;
			padding:0px;
		}
		
		/* style for the actual menu links. display and height are important to the operation of the menu. change the others if you like (note:colour changes should probably go in the colour style sheets */
		div#topdropmenu a {
			display:block;
			margin:0px;
			height:100%;
			text-decoration:none;
		}

		/* default li tag style for this menu - you probably won't need to change this */
		/* the postion:relative and float:left are critical to the correct operation of the menu */
		div#topdropmenu ul li	{position:relative; float:left; margin:0px;}
		
		/* this style is essential to the correct operation of the menu. it ensures correct positioning of the "leaves". */
		div#topdropmenu ul ul {
			position:absolute;
		}

		/* The following 2 groups of styles handle making the menu leaves appear and disappear on mouseover*/
		/* if want extra levels of drop downs, you need to add extra styles here for each level*/
		/* There are sufficient styles here for a 3 level menu. for a 4th level add a new css selector with an additional*/
		/* ul tag before the li:hover. eg div#topdropmenu ul ul ul ul li:hover ul ul/*
		/* please read the ImmSample documentation for more details */
		div#topdropmenu ul ul, 
		div#topdropmenu ul li:hover ul ul,
		div#topdropmenu ul ul li:hover ul ul,			
		div#topdropmenu ul ul ul li:hover ul ul
		{
			display:none;
		}
		
		div#topdropmenu ul li:hover ul,
		div#topdropmenu ul ul li:hover ul,
		div#topdropmenu ul ul ul li:hover ul,
		div#topdropmenu ul ul ul ul li:hover ul
		{
			display:block;
			clear: left;
		}
		
		div#topdropmenu ul ul li
		{
			clear: left;
		}
		
		/* This next block of styles controls the appearance of the top menu bar and also contains styles to override the level 0 styles for lowers levels where necessary */
	/* it is this section which really differentiates the top drop down menu from a side flyout menu */

	/* We have found that using px units (rather than say em units) is more reliable across different browsers implementations of the CSS2 box model.*/
	/* CSS2 is seriouly flawed in how it handles dimensions of content elements, but we're stuck with it until CSS3 is widely adopted */
	
	/* This section defines the width of the menu items at different levels */
	div#topdropmenu ul.L0		{} /* defines the total width of the top menu */
	div#topdropmenu ul.L1		{} /* width of level 1 leaves */
	div#topdropmenu ul.L2		{} /* width of level 2 leaves */
	
	/* defines position of drop down leaves */
	div#topdropmenu ul.L0 ul	{top:24px; left:0;} /* position of first leaf */
	div#topdropmenu ul.L1 ul	{top:-1px; left:100%;} /* position of second leaf */
	div#topdropmenu ul.L2 ul	{top:-1px; left:100%;} /* position of third leaf - if there is one*/

	/* defines width of menu items */
	div#topdropmenu ul.L0 li	{} /* level 0 items */
	div#topdropmenu ul.L1 li	{width:170px;} /* level 1 items */
	div#topdropmenu ul.L2 li	{width:170px;} /* level 2 items */
	
	/* defines height and width of a tags within the above li tags*/
	/* note that padding-left, padding-right and width must add up to the values above. mozilla seems to have a bit of problem in the sample site here in the for the top level only, we had to add 4 more pixels in order to get the borders to show properly on the menu */
	/* padding-top and padding bottom styles are useful for netscape which doesn't seem to handle "filling" the LI tag to 100% height */
	/* change the padding styles, but exercise some caution with different browsers*/
	div#topdropmenu ul.L0 li a	{height:19px; font-size:110%; font-weight:bold; padding-top:3px; padding-left:8px; padding-right:15px;}
	div#topdropmenu ul.L1 li a	{width:150px; height:auto; font-size:100%; font-weight:normal; padding-left:5px; padding-right:15px; padding-top:.23em; padding-bottom:.33em;}
	div#topdropmenu ul.L2 li a	{width:150px; height:auto; font-size:100%; font-weight:normal; padding-left:5px; padding-right:15px; padding-top:.23em; padding-bottom:.33em;}
	
	/* end top menu bar*/
	
	/* Page Counter Styles */
	#PageCounter	{text-align:right; clear:both; width:300px;}
	.PageCounter	{text-align:left; font-size:x-small; color:#000070;}
	HR.PageCounter	{color:#000070; height:1px;}
	.PageCounterTxtBox {width:40px;}