/*
        Name:  ThemeEngine.LayoutGala 1.0
        Date:  2008.01.19
      Author:  Jesse Foster | jf26028 (http://www.gravitycube.net/)
 Description:  More experimentation with dynamic stylesheets in a single theme.  This time, the source for the
               structure is from the Layout Gala (http://blog.html.it/layoutgala/) which is a collection of 
               40 layouts based on the same html structure.  This theme is an evolution from ThemeEngine.NFL, 
               which can also be downloaded for free from http://www.gravitycube.net/.
     License:  BSD License - Copyright (c) 2008, http://www.gravitycube.net/.  See License.txt for full license.
     Credits:  Structure mostly taken from http://blog.html.it/layoutgala/.
*/
/* generic elements */
html { min-height: 100%; }	
* { margin: 0; padding: 0; }
a { }
a:hover { }
a img { border: none; }
body { font: normal 72.5% Tahoma, sans-serif; }
p, code, ul { padding-bottom: .8em; }
li { list-style: none; }
h1 { font: normal 1.5em Tahoma, sans-serif; }
h2 { font: bold 1.2em Tahoma, sans-serif; }
h3 { font: bold 1.0em Tahoma, sans-serif; }
h4 { font: bold 0.8em Tahoma, sans-serif; }
h5 { font: normal 0.6em Tahoma, sans-serif; }
form,input { margin: 0; padding: 0; display: inline; }
code { display: block; font: normal 1em Courier New, sans-serif; line-height: 1.6em; margin-bottom: 12px; padding: 8px 10px; white-space: pre; }
blockquote { display: block; font-weight: bold; padding-left: 28px; }
h1,h2,h3,h4,h5 { padding-top: 6px; margin-bottom: 4px; }
div { margin: 0; padding: 0; }

/* base design */
body { }
a, a:link { text-decoration: none; color: #0072bc; }
a:hover { text-decoration: underline; color: #003471; }

div#container { border: solid 1px #b0bec7; }
div#wrapper { }

div#header .style { display: block; height: 93px; }
div#header .style h1#sitename { margin: 10px 0 0 10px; padding: 0; font-weight: bolder; font-size:20px; font-family:Lucida Sans Unicode,Verdana, Arial, Tahoma, Sans-serif; }
div#header .style h1#sitename a { text-decoration: none; }
div#header .style div#slogan { float: left; margin: 10px; padding-right: 10px; font-family:Tahoma ; width:150px;font-size:12px;font-weight:bold}
div#header .style div#layoutSelection { float: left; margin-left: 200px; position: relative; top: -20px; }
div#header .style div#layoutSelection .ddlThemeEngineSelection { font-size: 90%; }
div#header .style div#headerAd { float: right; position: relative; top:-30px; margin-top:0px;}

/* Menu */
#menu { clear: both; margin: 0 auto; padding: 0; background: url(images/menu.jpg) repeat-x 0 0; font: bold 12px/37px Verdana, Arial, Tahoma, Sans-serif; height: 37px;}
#menu ul { float: right; list-style: none; margin: 0; padding: 0; }
#menu ul li { display: inline; }
#menu ul li a { display: block; float: left; padding: 0 12px; color: #FFF; text-decoration: none; }
#menu ul li.last a { padding-right: 20px; }
#menu ul li a:hover { color: #D4E59F; }
#menu ul li#current a { color: #D4E59F; }
#menu ul li a.feed img { margin-right: 3px; margin-bottom: -2px; padding: 0px; border: 0px; background-color: Transparent; }

#menu table td a { display: block; float: left; padding: 0 12px; color: #FFF; text-decoration: none; }
#menu table td.last a { padding-right: 20px; }
#menu table td a:hover { color: #D4E59F; }
#menu table td#current a { color: #D4E59F; }
#menu div#loginStatus a {float:left;top:95px;position:absolute;margin-left:910px;color:white;font-size:smaller;}
/*
#searchform {margin: 0px ;float: left;top: 100px;position:absolute;margin-left:640px;
}*/


div#content div.post { border: solid 1px #b0bec7; margin: 2px 2px 10px 2px; }
div#content div.post h1.title { font-weight: bold; padding:5px 5px 0px 5px; font-size:14px;}
div#content div.post h1.title a { text-decoration: none; color: #88ac0b; }
div#content div.post h1.title a:hover { text-decoration:underline }
div#content div.post div.descr { border-bottom: solid 1px #b0bec7; padding: 0 0 3px 10px; }
div#content div.post p { margin: 10px 10px 10px 10px; }
div#content div.post div.rating { margin: 10px; }
div#content div.post div.info {background: #eeeeee; }
div#content div.post div.socialBookmarksContainer { margin: 10px; }
div#postPaging { margin: 2px 2px 10px 2px; padding: 2px 2px 10px 2px; }
div#postnavigation a { color: red; font-weight: bold; }
div#postnavigation a:hover { color: #88ac0b; }

div#sidebarOne div.box, 
div#sidebarTwo div.box  { border: solid 1px #b0bec7; margin: 2px 2px 2px 2px; padding: 5px; }
div#sidebarOne div.box h2, 
div#sidebarTwo div.box h2 { background: #f4f7fb; border-bottom: solid 1px #b0bec7; margin: -5px -5px 5px -5px; padding: 5px; }

/* search */
#searchbox { font-size: 11px; }
#searchbutton { height: 21px; font-size: 12px; }
#searchfield { width: 110px; }
#searchcomments { }

/* tag cloud */
div#tagcloud { margin-bottom: 10px; white-space: normal; }
#tagcloud li { display: inline; }
#tagcloud a { margin-right: 4px; display: inline; text-decoration: none; }
#tagcloud a:hover { }
#tagcloud a.biggest { font-size: 16px; }
#tagcloud a.big { font-size: 14px; }
#tagcloud a.medium { font-size: 12px; }
#tagcloud a.small { font-size: 10px; }
#tagcloud a.smallest { font-size: 9px; }

/* archive */
#archive { padding: 10px; }
#archive h1 { margin: 0; padding-bottom: 9px; }
#archive h2 { padding-bottom: 0px; font-size: 12px; margin-bottom: 0px; }
#archive h2 img { margin-right: 3px; }
#archive ul { list-style-type: square; margin: 0 10px; padding: 10px; }
#archive ul li { margin-right: 20px; }
#archive table { width: 100%; border-collapse: collapse; margin-bottom: 20px;}
#archive table td, #archive table th { text-align: left; }
#archive table td { text-align: left; padding: 2px 0; }
#archive .date { width: 90px; }
#archive .comments { width: 70px; text-align: center; }
#archive .rating { width: 70px; text-align: center; }

/* related posts */
#relatedPosts a { display: block; margin-top: 5px; margin-left: 15px; margin-bottom: 5px; font-size: 1.2em; }

/* comments */
.comment { border: solid 1px #b0bec7; padding: 5px; padding-right: 0px; margin: 2px 2px 5px 2px; }
.comment .date { text-align: left; margin: 0; padding: 3px 0px; }
.comment .author { margin: 0; text-align: left; padding-top: 3px; margin: 5px 0px 3px 0px; clear: both; }
.self { }
.comment .gravatar { float: right; width: 80px; margin: 5px 5px 5px 5px; }
.comment .gravatar img { height: 80px; width: 80px; }
.comment .content { float:left; min-height: 85px; width: 440px; margin: 5px 0 0 0px; }
.commentForm { padding: 5px; }
.commentForm label { float: left; display: block; width: 80px; }
.commentForm input { width: 130px; }
.commentForm textarea { width: 100%; height: 150px; }

#commentMenu{
	padding: 0;
	margin:0;
	clear:both;
}

#commentMenu li{
	float:left;
	border:1px solid silver;
	border-bottom: transparent;
	margin:0;
	list-style:none;
	margin-right:5px;
	padding: 3px 8px;	
	cursor:pointer;
	position:relative;
	top: 2px;
	background:#d8d8d8;
}

#commentMenu li.selected{
	background:white;
	border-bottom:1px solid white;
}

#commentPreview{
	display:none;
	clear:both;
	min-height: 150px;
}

.success {
	color: green;
	font-weight: bold;
}

.commentForm .bbcode {
    font-size:10px;
    float:right;
    position:relative;
    top:20px;
    padding: 3px;
}

.bbcode a {
    margin: 1px;
    padding: 1px 3px 1px 3px;
    background: #fff;
    border: 1px solid #ccc;
}

/* star rating 
.rating p { display: inline; position: relative; top: 14px; left: 55px; }
.star-rating { position: relative; width: 125px; height: 25px; overflow: hidden; list-style: none; margin: 0 0 20px 0; padding: 0; background-position: left top; }
.star-rating li { display: inline; }
.star-rating a, .star-rating .current-rating { position: absolute; top: 0; left: 0; text-indent: -1000em; height: 25px; line-height: 25px; outline: none; overflow: hidden; border: none; }
.star-rating a:hover, .star-rating a:active, .star-rating a:focus { background-position: left bottom; }
.star-rating a.one-star { width: 20%; z-index: 6; }
.star-rating a.two-stars { width: 40%; z-index: 5; }
.star-rating a.three-stars { width: 60%; z-index: 4; }
.star-rating a.four-stars { width: 80%; z-index: 3; }
.star-rating a.five-stars { width: 100%; z-index: 2; }
.star-rating .current-rating { z-index: 1; background-position: left center; margin: 0px; }
*/
/* smaller star 
.small-star { width: 50px; height: 10px; }
.small-star, .small-star a:hover, .small-star a:active, .small-star a:focus, .small-star .current-rating { background-image: url(../../../pics/star_small.gif); line-height: 10px; height: 10px; }
*/
/* star rating */
.rating p { display: inline; position: relative; top: 14px; left: 55px; }
.star-rating { position: relative; width: 125px; height: 25px; overflow: hidden; list-style: none; margin: 0 0 20px 0; padding: 0; background-position: left top; }
.star-rating li { display: inline; }
.star-rating a, .star-rating .current-rating { position: absolute; top: 0; left: 0; text-indent: -1000em; height: 25px; line-height: 25px; outline: none; overflow: hidden; border: none; }
.star-rating a:hover, .star-rating a:active, .star-rating a:focus { background-position: left bottom; }
.star-rating a.one-star { width: 20%; z-index: 6; }
.star-rating a.two-stars { width: 40%; z-index: 5; }
.star-rating a.three-stars { width: 60%; z-index: 4; }
.star-rating a.four-stars { width: 80%; z-index: 3; }
.star-rating a.five-stars { width: 100%; z-index: 2; }
.star-rating .current-rating { z-index: 1; background-position: left center; margin: 0px; }

/* smaller star */
.small-star { width: 50px; height: 10px; }
.small-star, .small-star a:hover, .small-star a:active, .small-star a:focus, .small-star .current-rating { background-image: url(../../pics/star_small.gif); line-height: 10px; height: 10px; }


/* Search page */
.searchresult { margin-bottom: 20px; }
.searchresult a { font-weight: bold; }
.searchresult span.text { clear: both; display: block; margin: 3px 0; }
.searchresult span.type { display: block; }
.searchresult span.url { }
.searchpage { padding: 2px; }
.searchpage ul.paging { list-style-type: none; margin:0px; margin-bottom: 20px; padding:0px; }
.searchpage ul.paging li { display: inline; margin-right: 5px; }
.searchpage ul.paging li a { padding: 5px 8px; }
.searchpage ul.paging li.active { }

/* contact */
#contact { padding: 10px; }
#contact h1 { margin-top: 0; }
#contact label { display: block; padding-top: 5px; }
#contact input.field { width: 200px; }
#contact textarea { display: block; overflow: auto; width: 75%; height: 150px; margin: 0; }

/* page */
#page { padding: 10px; }
#page h1 { margin-top: 0; }

/* code styles for CodeFormatter Extension*/
.csharpcode, .csharpcode pre { background-color: #ffffff; /*white-space: pre;*/ }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; }
.csharpcode .lnum { color: #606060; }

/* syntax highlighter */
.code { color: black; background-color: #F1F1F1; }
.code .rem { color: #008000; }
.code .kwrd { color: #0000ff; }
.code .str { color: #006080; }
.code .op { color: #0000c0; }
.code .preproc { color: #0000ff; }
.code .asp { background-color: #ffff00; }
.code .html { color: #800000; }
.code .attr { color: #ff0000; }
.code .alt { background-color: #f4f4f4; }
.code .lnum { color: #606060;}

div#footer { background: #b0bec7; padding: 5px 0px 5px 0px; text-align: center; }

#searchform {margin: 0px ;float: left;top: 100px;position:absolute;margin-left:640px;
}

/* Widget */

div#widgetzone { padding: 0; background: none; }
div#widgetzone .clear { clear: left; }

div.widget { background: transparent; border: 0px; padding: 3px 3px; margin-bottom: 10px; z-index: 1; min-width: 1px; }
div.widget .content { line-height: 16px; color: #666666; }
div.widget h4 { font-size: 11px; text-transform: uppercase; font-weight: bold; border-bottom: #ccc 5px solid; margin: 0 0 10px; padding: 5px 0; color: #88ac0b;}
div.widget a.edit { font-size: 10px; font-weight: normal; float: right; z-index: 1; }
div.widget a.delete { font-weight: bold; color: #999999; float: right; margin-left: 5px; z-index: 1; text-decoration: none; }
div.widget a.delete:hover { color: black; }

#widgetzone .widget ul { list-style-type: none; margin: 0; padding: 0; text-transform: capitalize; }
#widgetzone .widget ul li { margin-bottom: 3px; }
#widgetzone .widget ul li.year { border-bottom: none; }
#widgetzone div.search { background: none; border: none; padding-left: 10px; }
#widgetzone img.rssButton { margin-right: 3px; }

.GridViewHeaderRowStyle
{
	text-align:center;
	background-color:#36648B;
	color:White;
	font-weight:bolder;
	font-size:x-small;
}

.IE8Fix 
{ 
    z-index: 1000; 

}

/* UpDown */

