*{
	margin: 0px;
	padding: 0px;
}

a { color: #0EA2CC; text-decoration: none; }
a:visited, active {text-decoration: none;}
a:hover { text-decoration: underline; }

h1, h2, h3 {font-family:"Trebuchet MS", Verdana, sans-serif;}
h1 {font-size:26px;}
h2 {font-size:18px;}
h3 {font-size:16px;}
body {
	background:url(images/bg2.jpg) fixed center top;
	background-color:#ccc; 
	font:12px Verdana, Arial, Helvetica, sans-serif;
}

table{
    margin-left: 5px;
    font-size: 12px;
}

blockquote {
        width: 90%;
        color: #666;
        margin: 1em 1em;
        padding: 0 10px;
        border-left: 5px solid #bbb
}


pre, code {
        font-family: Lucida Console, Monaco, monospace;
        font-size: 90%;
}

pre {
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        background-color: #efefef;

        overflow: auto;
        width: 90%;
        margin: 1em 1em;
        padding: 5px 10px;

        /* fix overflow in IE */
        min-height: 40px;
        height: auto !important;
        height: 40px;
}

ul, li, ol { margin: 0; padding: 0 }

li {
	list-style: square;
}

/* === Form === */
form { margin: 1em 0 }

fieldset {
        margin: 0 0 1em 0;
        padding: .5em;
        border: #ddd solid 1px
}

legend {
        color: #666666;
        font-size: 80%;
        font-style: oblique
}

#container {
	margin-left: 15px;
}

input, textarea, select {
        padding: .2em;
        border: 1px solid #999;
        color: #222;
        background-color: #eee;
}

input:hover, input:focus, textarea:hover, textarea:focus {
        border: 1px solid #AA1111;
        background-color: #fff
}

textarea {
        font-size: 100%;
        font-family: 'Lucida Grande', 'Trebuchet MS', arial, Helvetica, sans-serif;
        width: 99%;
        margin-top: .1em;
        margin-bottom: 1em
}

img{
	border-style: none;
}


#wrap {width:950px; margin:5px auto 0 auto;}
#header {background:url(images/header.png) no-repeat; height:174px;}
#content {background:url(images/pagebg.png) repeat-y; padding:0 40px 0 40px;}

#right { float:right; width:610px;}
#right p {line-height:20px; margin-bottom:10px;}
h1 a, h2 a, h3 a, h4 a {text-decoration:none; border:none!important;}
h4 { margin-top: 16px; margin-bottom: 8px;}
.clear {clear:both;}
#sidebar {float:left; width:250px; background:url(images/sb2.jpg) left repeat-y;}
#sidebartop {background: url(images/sb1.jpg) left top no-repeat; height:10px;}
#sidebarbtm {background:url(images/sb3.jpg) left top no-repeat; height:9px;}
#sidebar ul {list-style:none; font:bold 14px "Trebuchet MS", Verdana, sans-serif; margin-bottom:15px;}
#sidebar li {display:block; height:36px; margin-bottom:2px;}
#sidebar a, #sidebar a:visited {
	display:block;
	background:url(images/menu1.jpg) right top no-repeat;
	padding: 10px 10px 0 40px;
	height: 26px;
	color:#999;
}
#right h2 {
	color:#014782; font:normal 18px "Trebuchet MS", Verdana, sans-serif;
}
#right h2 a {color:#014782}
#right h2 a:hover {color:#000; background:#ffffee; border:none;}
#sidebar a:hover {background:url(images/menu2.jpg) right top no-repeat; color:#333;}
#sidebar .active a{background:url(images/menu3.jpg) right top no-repeat; color:#000;}
#sidebar h2 {
	display:block;
	background:url(images/sidebarh2.jpg) no-repeat;
	height:40px;
	padding:14px 10px 0 40px;
	color: #186185;
	text-transform:uppercase;
}
#footer {background:url(images/footerbg.png) no-repeat; height:62px;}

#sitename {
	display:block;
	float:left;
	width:210px;
	padding:15px 0 0 40px;
	text-align:center;
	color: #FFFFFF;
	font: normal 32px "Trebuchet MS", Verdana, sans-serif;
}
#sitename a{color:#fff; }
.caption {
	display:block;
	font-style: italic;
	font: normal 12px Verdana, Arial, Helvetica, sans-serif;
	color: #ffffff;
	padding-top:25px;}

#sitename a .blue {
	color:#0F9EC8;
	font-style: italic;
}
#sitename a:hover {color:#0f9ec8;}
#sitename a:hover .blue{color:#9c6; font-weight:normal;}

#icons {float: left; width: 660px; padding:0 0 0 0; text-align:right; line-height: 30px; }

#nav {float:left; width:670px; padding:0 0 0 0;}

#breadcrumb {
	float:left;
	margin-left: 35px;
	background:url(images/breadcrumb.jpg) center bottom no-repeat;
	padding:7px 10px 5px ;
	height: 18px;
	color:#999999; text-transform:uppercase;
	font: bold 16px"Trebuchet MS", Verdana, sans-serif;} 
#breadcrumb a.active {color:#000!important;}
#breadcrumb a{text-decoration:none; color:#999;}
#breadcrumb a:visited, breadcrumb a:active {color:#999;}
#breadcrumb a:hover {color:#333;}
#loginmotd {
	padding:2px 4px 5px ;
	float: right;
	margin-right: 35px;

}

#search{
	float: left;
	width: 660px;
	text-align: right;
	margin-bottom: 5px;
}

#search .keyword{
	background: transparent url(images/search.png) no-repeat;
	height: 30px;
	width: 132px;
	padding: 5px 10px 0 10px;
	font-size: 12px;
	color: #999;
	border:none;
	overflow:hidden;
}


#header form {padding:0; margin:0;}
#topmenu {height:51px; font:bold 14px "Trebuchet MS", Verdana, sans-serif; text-transform:uppercase; padding-top:12px; padding-left: 15px;}
#topmenu ul {list-style:none; padding-left:3px;}
#topmenu li {display:block; float:left; padding-left: 0px;}
#topmenu a, #topmenu a:visited {display:block; float:left; background:url(images/nav2.png) repeat-x; text-align:center; padding:5px 10px 0 10px; height:25px; color:#999999;}
#topmenu .active a {background:url(images/nav1.png) repeat-x; color:#333;}
#topmenu .active a:hover {background:url(images/nav4.png) repeat-x; color:#333;}
#topmenu a:hover {background:url(images/nav3.png) repeat-x; color:#fff;}


#featured {
	background:url(images/ftrdbox.jpg) no-repeat;
	height:150px;
	color:#00CCFF;
	margin-bottom:15px;
}
#featured div {
	padding:25px 10px 0 50px;
	height: 90px;
	font:normal 16px "Palatino Linotype", "Book Antiqua", Palatino, serif;

}
.ftd_btm {display:block; height:20px; padding:15px 5px 0 35px; background:url(images/ftrdlink.png)8px 12px no-repeat}
#featured a {color:#fff; border-bottom:none;}
#featured a:visited, #featured a:active{color:#E3F7FD;}
#featured a:hover { text-decoration:underline; color:#fff !important;}
.postbottom {background:url(images/postbttm.png) no-repeat; height:26px; margin-bottom:20px;}
.postbottom ul {list-style:none;}
.postbottom li {display:inline; margin:0!important; padding:0!important;}
.postbottom a, .postbottom a:visited, .postbottom a:active{color:#fff; border:none!important; display:block; float:left; height:20px; padding:6px 5px 0 30px;}
.postbottom a:hover {color:#000;}
.permalink a, .permalink a:visited, .permalink a:active {background:url(images/ico_more.png)5px 5px no-repeat;}
.cats a{background:url(images/ico_cat.png)5px 5px no-repeat;}
.auth a{background:url(images/ico_usr.png)5px 5px no-repeat;}
.date a{background:url(images/ico_date.png) 5px 5px no-repeat;}
.comnts a{background:url(images/comment.png)5px 5px no-repeat;}

p {
	padding: 0;
	margin: 0;
}
.post h2 {display:block; margin-bottom:15px;}
.post h3 {margin-bottom:10px;}
.post .description {display:block; font-size:12px; color:#999;}

.post blockquote {padding:8px 8px 8px 8px; margin-bottom: 16px; font:normal 12px "Trebuchet MS", Verdana, sans-serif; display:block; border: solid 1px #ddd; }
.post blockquote span { padding-left: 40px;}

.post .extract { float:left; margin-right:10px; width:250px;}

.post ul {margin-left:25px; margin-bottom: 15px;}
.post ol {margin-left:25px; margin-bottom: 15px;}
.post li {padding:3px;}
.post .leftalign {display:block; padding:5px; background:#eee; margin:8px; float:left; border:solid 1px #ddd;}
.post .rightalign {display:block; padding:5px; background:#eee; margin:8px; float:right;border:solid 1px #ddd;}

#alert { padding: 2px; margin: 3px; color: red; border-color: #ccc; border-width: 1px; border-style: dotted; }
#alert #msg_err {color: red; }
#alert #msg_ok {color: green; }

#module {
	font-size: 12px;
	float:left;
	width: 100%;
	background-color: #E3F6FF;
	border: solid 1px #0075A4; 
}

#module #head {
	background-color: #0075A4;
	color:#8ADBFF;
	font: bold 16px "Trebuchet MS", Verdana, sans-serif;
	padding: 4px;
	margin-bottom: 4px;
}

#module #item {
	position:relative;
	font: 12px "Trebuchet MS", Verdana, sans-serif;
	float: left;
	width: 100%;
}

#module ul {
	font-size: 12px;
	float: left;
	padding: 4px;
	margin: 0px;
}

#module ul li {
	display:block;
}

#module ol li {
	display:block;
	float: left;
}

#module ol {
	font-size: 12px;
	list-style:none;
	float: left;
	padding: 4px;
	margin: 0px;
}

#module blockquote {
	color: #777777;
	padding:4px 4px 4px 4px;
	margin: 4px 4px 4px 4px;
	float: right;
	width: 310px;
	border: solid 1px #D7D7D7; 
}

#module #modtable {
   float: left;
   width: 20%;
   margin: 4px;
   font-size: 12px;
}

#module #comment {
	font-style: italic;
	padding: 4px;
	margin: 4px;
}

#module #footbut {
	float: right;
	margin: 6px;

}


/*tables and Forms */

#right table {
	width:90%;
	border-top: 1px solid #0075A4;
	border-left: 1px solid #0075A4;
	margin-bottom:20px;
	background: #E3F6FF;
	margin-top: 15px;
}
#right th {
	background:#0075A4;
	padding:5px 15px 5px 15px;
	color:#8ADBFF;
	text-align:center;
	border-bottom:1px solid #000000;
	font: bold 12px "Trebuchet MS", Verdana, sans-serif;
	text-transform: uppercase;
}
#right td {	
	border-bottom:1px solid #0075A4;
	padding:5px 15px 5px 15px;
	border-right:1px solid #0075A4;
}


.tdcenter {
	text-align: center;
}

.textfield {
	display: block;
	width:50%;
	margin:3px 3px 3px 30px;
	padding:3px;
	border: 1px solid #CBE0E7;
	background: #E9F2F5;
}
.button {
	display: block;
	padding:0px;
	margin:3px;
	border: 1px solid #9DC6D2;
	color:#000000;
	background: #E9F2F5;
}
.textfield:hover {
	background:#FFFFCC;
}
.textfield:focus {
	background:#ffffff;
	border: 1px solid #3A2C1B;
}
.hide {display:none;}
#bottom {padding:20px; background:url(images/bottombg.png) repeat-x; margin-top:15px;}
#bottom p {display:block; padding:3px; text-align:center;}
#credits {text-align:right; font-size:10px; padding:5px 40px 0 40px; }
.pagenavi { height:22px; padding: 5px 5px 0 5px; background: #eee; border: solid 1px #ddd; margin:25px 0 15px 0;}
.pagenavi .alignleft {display:block; text-align:left;}
.pagenavi .alignright {display:block; float:right;}
.pagenavi a, .pagenavi a :visited, .pagenavi a :active {color:#000; font-weight:bold; text-decoration:none; border:none!important;}
.pagenavi a:hover {color:#0099CC!important;}


#contrspam { font-weight: bold; }
#querylink { text-align: right; padding-right: 16px;}
#tdcenter { text-align: center; }

#adbanner {
	width: 480px;
	padding: 20px;
	margin: 0 auto;
}

#imgdoc {
	border: 1px solid #aaaaaa;
	width: 500px;
	margin: 5px;
}
