/*  
Theme Name: Petra v1
Theme URI: http://www.wpblogservices.com
Description: WordPress theme designed by <a href="http://www.wpblogservices.com">wpblogservices.com</a>.
Version: v1.0
Author: WP-Blog-Services
Author URI: http://www.wpblogservices.com
*/

body
{
	background: #666666 url('images/bodybg.jpg') repeat-x 0 0;
	font-size: 14px;
	color: #525252;

}

h2, a
{
	color: #194a8c;
}

pre, code {white-space: normal;}


#top
{

	text-align: right;
	height: 24px;
}

#top .menu
{
	padding-top: 3px;

}

#top .menu li
{
	display: inline;
	list-style-type: none;
	padding-right: 20px;
	
}

#top .menu a
{
	text-decoration: none;
	color: #fff;
	font-weight: bold;
}

#top .menu a:hover
{
	color: #000;
}

#contenttop
{

	background: transparent url('images/topbg.png') no-repeat 0 0;
	height: 17px;
}

#contentwrapper
{
	background: transparent url('images/contentbg.png') repeat-y 0 0;

}

#wufoform
{
	border: 1px #eeeeee solid;
	text-align: center;
	padding: 15px;
	width: 400px;
	margin: 0px auto 30px;
}

#header
{
	background: url('images/logo.jpg') no-repeat 12px 0px;
	height: 100px;

	
}

#header #title
{


}

#header #title .logo
{
	width: 222px;
	height: 10px;
	float: left;
	display: inline;

}

#header #title #blogtitle
{

}

#header #title h1
{
	font-size: 24px;
	font-weight: bold;
	color: #583026;
	margin-bottom: 5px;
}

#header #title h2
{
	font-size: 14px;
	color: #583026;

}


#header #searchbar h2
{
	font-family: "Trebuchet MS";
	padding-right: 20px;
	text-align: right;
	font-size: 15px;
	color: #723d2d;
	font-weight: bold;
	float:right;

}
#header #searchbar
{
	margin: 0px 20px 0px 0px;
	float:right;
}

#introcontainer
{
	margin-top: 10px;
}

#intro
{
	
	height: 200px;
	background: url('images/introbg.jpg') no-repeat 0 0;
	margin-left: 7px;
}


#intro #introtext
{
	float: left;
	height: 165px;
	margin: 10px auto auto 20px;
	overflow: hidden;
}


#intro #introtext h1
{
	font-size: 18px;
	color: #00599d;
	margin-bottom: 16px;
}

#intro #introtext p
{
	font-size: 16px;
}

#intro #introicon
{
}

.post
{
	
	background: #fafafa;
	margin: 0px 5px 0px 5px;	
	padding:10px 15px 0px 15px;	
	_padding: 7px;
}

.post .postheader .commentcount
{
	width: 27px;
	line-height: 12px;
	float: left;
	text-align: center;
	padding-right: 10px;
}

.post .postheader .commentcount a
{
	text-decoration: none;
	color: #4884bc;
}

.post .postheader .posttitle
{
	
	line-height: 20px;
}

h4
{
	font-family: Georgia, Times, "Times New Roman", serif;
	font-size: 16px;
	padding: 0px 0px 4px 0px;
	margin: 0;
}

.post .postheader .posttitle h2
{
	font-family: Georgia, Times, "Times New Roman", serif;
	font-size: 20px;
	padding: 0;
	margin: 0;
}

.post .postheader h2 a
{
	text-decoration: none;
}

.post .postheader .posttitle .postmeta
{
	font-family: Georgia, Times, "Times New Roman", serif;
	font-size: 11px;
}

.post .postcontent
{
	margin-top: 20px;
	line-height: 17px;
}

.post .postcontent p
{
	margin-bottom: 10px;
}

.post .posttags, .post .posttags a
{
	color: #959595;
	clear:both;
	margin-top: 20px;
	text-align: right;
}

.commentbox
{
	background: #fff;
	border: solid 1px #eeeeee;
	margin: 10px 5px 20px 5px;
	padding: 15px;
	_padding: 7px;
}

.commentmeta .avatar
{
	float: left;
	padding-right: 6px;
	_padding-right: 3px;
}

.commenttext
{
	clear: both;
	margin-top: 10px;
}

.commentform input
{
	padding: 0;
	margin: 0;
	line-height: 0;
}

#commentform .text {
	width: 300px;
    margin: 0 0 15px 0;
}

#commentform textarea
{
    width:450px;
    height:150px;
    margin:0;
    padding:5px;
}

.navlinks
{
	margin: 0px 5px 40px 5px;
		
}

.navlinks a
{
	text-decoration: none;
}

.navlinks img
{
	margin-right: 5px;
}

#sidebar #wrapbox
{
	background: #fafafa;
	border: solid 1px #eeeeee;	
	padding: 10px;
	margin: 10px 5px 20px 5px;
	_margin: 10px 0px 20px 0px;

}

#sidebar .sidebarbox
{
	font-family: "Trebuchet MS";
	line-height: 20px;
	margin: 0px;
	padding: 0px 4px 0px 4px;

}

#sidebar .sidebarbox1
{
	padding: 0px;
	margin: 0px;
}

#sidebar .sidebarbox h3
{
	font-size: 14px;
	color: #e65a05;
	margin-bottom: 10px;
}

#sidebar .sidebarbox a, #sidebar .sidebarbox1 a
{
	text-decoration: none;
}

#sidebar .sidebarbox ul, #sidebar .sidebarbox1 ul
{
	list-style-type: none;
	margin-left: 0px;
	margin-right: 0px;
	padding: 0px;

}

#sidebar .sidebarbox .pages ul
{
	margin-left: 0px;

}

#sidebar .sidebarbox .pages ul li
{

	list-style-type: none;
	margin-left: 20px;
	font-weight: normal;

}
.pages li
{
	line-height: 160%;
}

.pages li a, .pages li a:active, .pages li a:visited
{

	font-weight: bold;
	color: #194a8c;

	font-size: 13px;
}

.pages li a:hover
{
	color: #583026;
}

.pages ul
{
	padding-bottom: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	margin-top: 0px;
}

.pages ul ul li
{
	padding-left: 20px;

}
#leftimage
{
	height: 110px;
	width: 190px;
	float: left;
	background: transparent url('images/sidebarbg.jpg') no-repeat 12px 0;
}

#sidebar  #wrapbox
{
	margin: 0px 0px 0px 0px;
	padding: 10px 0px 0px 0px;
}

#sidebar.sidebarbox1 .pages ul
{

	margin-left: 0px;
	margin: 0px;
	padding: 0px;
}

#footer
{
	height: 52px;
	background: url('images/bottombg.png') no-repeat;

}

.span-22
{

}



.searchform #searchbox
{
	float: left;
	background: #f1f1f1;
	border: solid 1px #e3e3e3;
	width: 120px;
	height: 14px;
	font-size: 11px;
}

.searchform #searchbutton
{
	height: 18px;
	width: 18px;
	margin-left: 6px;
	border: none;
	cursor: pointer;
	background: url('images/searchbutton.jpg') no-repeat 0 0;
}

/*** Wordpress ***/
.aligncenter,
div.aligncenter {
text-align: center;
float: none;
}

.alignleft {
   float: left;
   margin: 0 10px 10px 0;
}

.alignright {
   float: right;
   margin: 0 0 10px 10px;
}

.alignnone
{
	float: none;
	margin: 2px 5px 2px 5px;
}
.wp-caption {
   background: #fafafa;
   border: solid 1px #eeeeee;
   text-align: center;
   padding-top: 4px;
}

.wp-caption img {
   float: none;
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0px;
   margin: 0px;
}

.ngg-galleryoverview
{
	margin-bottom: 10px;
}












/* Generic FormBuilder Display Configuration */
form.formBuilderForm, div.formBuilderSuccess {
	text-align: left;
	padding: 10px;
 	clear: both;
}
.formBuilderForm div{
	margin: 0;
	padding: 0;
}
div.formBuilderSuccess h4 {
	margin: 0;
	padding: 0;
}


/* The div class around each form field*/
.formBuilderForm .formBuilderField {
	padding-bottom: 0px;
	margin: 0px;
	clear: both;

}

/* The div class around the error message, in the event that a required field is not filled in*/
.formBuilderForm .formBuilderError {
	font-weight: bold;
}

/* Generic Display Controls */
.formBuilderForm div.formBuilderComment {
	font-style: italic;
	padding: 1px;
	margin: 0px 0 0px 0;
	clear: both;
	float: left;
	width: 95%;
}
.formBuilderForm .formBuilderHidden {
	visibility: hidden;
	padding: 0;
	margin: 0;
	border: 0;
	position: absolute;
}
.formBuilderForm .formBuilderSubmit {
	clear: both;
	text-align: right;
}

/* Generic Label Controls */
.formBuilderForm .formBuilderLabel, .formBuilderForm .formBuilderLabelRequired {
	clear: left;
	float: left;
	vertical-align: top;
	width: 160px;
	margin-right: 10px;
	margin-bottom: 0px;

}
.formBuilderForm .formBuilderLabelRequired {
	font-weight: bold;
}




/**** Field Type Specific Display Controls ****/

.formBuilderForm .small_text_area .formBuilderLabel
{
	width: auto;
	clear: both;
}
.formBuilderForm .small_text_area textarea
{
	width: 98%;
}
.formBuilderForm .large_text_area .formBuilderLabel
{
	width: auto;
	clear: both;
}
.formBuilderForm .large_text_area textarea
{
	width: 98%;
}
.formBuilderForm .checkbox
{
	float: left;
	width: 100%;
	display: block;
	position: relative;
	padding-left: 0;
	padding: 0px;
	margin: 0px;
}

.formBuilderForm .radio_buttons
{
	position: relative;
}
.formBuilderForm .radio_buttons .formBuilderRadio
{
	display: block;
	position: relative;
	margin-left: 170px;
	padding-left: 0;
}
div.formBuilderFailure {
	border: 1px solid red;
	background-color: #FFEBEB;
	margin: 2px;
	padding: 4px;
}
div.formBuilderFailure h4, div.formBuilderFailure p {
	margin: 0 0 4px 0;
	padding: 0;
}

div.formBuilderCaptcha {
	display: block;
	width: 120px;
	float: left;
}
div.formBuilderCaptcha input {
	width: 120px;
}

div.formBuilderPageBreak {
	text-align: right;
}



table.jCalendar {
	border: 1px solid #000;
	background: #aaa;
    border-collapse: separate;
    border-spacing: 2px;
}
table.jCalendar th {
	background: #333;
	color: #fff;
	font-weight: bold;
	padding: 3px 5px;
}

table.jCalendar td {
	background: #ccc;
	color: #000;
	padding: 3px 5px;
	text-align: center;
}
table.jCalendar td.other-month {
	background: #ddd;
	color: #aaa;
}
table.jCalendar td.today {
	background: #666;
	color: #fff;
}
table.jCalendar td.selected {
	background: #f66;
	color: #fff;
}
table.jCalendar td.selected.dp-hover {
	background: #f33;
	color: #fff;
}
table.jCalendar td.dp-hover,
table.jCalendar tr.activeWeekHover td {
	background: #fff;
	color: #000;
}
table.jCalendar tr.selectedWeek td {
	background: #f66;
	color: #fff;
}
table.jCalendar td.disabled, table.jCalendar td.disabled.dp-hover {
	background: #bbb;
	color: #888;
}
table.jCalendar td.unselectable,
table.jCalendar td.unselectable:hover,
table.jCalendar td.unselectable.dp-hover {
	background: #bbb;
	color: #888;
}

/* For the popup */

/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */

div.dp-popup {
	position: relative;
	background: #ccc;
	font-size: 10px;
	font-family: arial, sans-serif;
	padding: 2px;
	width: 171px;
	line-height: 1.2em;
}
div#dp-popup {
	position: absolute;
	z-index: 199;
}
div.dp-popup h2 {
	font-size: 12px;
	text-align: center;
	margin: 2px 0;
	padding: 0;
}
a#dp-close {
	font-size: 11px;
	padding: 4px 0;
	text-align: center;
	display: block;
}
a#dp-close:hover {
	text-decoration: underline;
}
div.dp-popup a {
	color: #000;
	text-decoration: none;
	padding: 3px 2px 0;
}
div.dp-popup div.dp-nav-prev {
	position: absolute;
	top: 2px;
	left: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-prev a {
	float: left;
}
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
	cursor: pointer;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
	cursor: default;
}
div.dp-popup div.dp-nav-next {
	position: absolute;
	top: 2px;
	right: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-next a {
	float: right;
}
div.dp-popup a.disabled {
	cursor: default;
	color: #aaa;
}
div.dp-popup td {
	cursor: pointer;
}
div.dp-popup td.disabled {
	cursor: default;
}

a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url(images/calendar.png) no-repeat; 
}
a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}
/* makes the input field shorter once the date picker code
 * has run (to allow space for the calendar icon
 */
input.dp-applied {
	width: 140px;
	float: left;
}


.tabside
{
	border:none; 
	border:0px; 
	display:scroll;
	position:fixed;
	top:30%;
	right:-12px;
}
.tabside:hover
{
	right:-1px;
	border: 0px;

}

.tabside-left
{
	border:none; 
	border:0px; 
	display:scroll;
	position:fixed;
	top:30%;
	left:-12px;
}
.tabside-left:hover
{
	left:-1px;
	border: 0px;

}
