/*
File:			custom.css
Description:	Custom styles for Thesis

BASIC USAGE:

If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag 
will be appended with the "custom" class, like so: <body class="custom">. You can use 
the "custom" class to override *any* CSS declarations contained in the style.css file.

For example, if you wish to change the default link color to green, you would add the 
following declarations to this file:

	.custom a, .custom a:visited { color: #090; }	<--- This makes links green
	.custom a:hover { color: #00f; }	<--- This makes links blue when you mouse over them

WHY THIS WORKS:

By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!

More information about styling your Thesis installation using this file can be found
in the User's Guide:
	http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/
*/
body.custom {
    background: url('images/BgroundFactor.gif') repeat;
}
.custom .alignleft,
img.alignleft {
	display: inline;
	float: left;
  margin-right: 1.5em;
}
.custom .alignright,
img.alignright {
	display: inline;
	float: right;
  margin-left: 1.5em;
}
.custom .aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.custom p {
     clear: both;
}
.custom .post_box{margin-right:10px;}
.custom .teasers_box{margin-right:10px; width:auto;}
.custom #comments {margin-right:10px; margin-left:11px;}

.custom #content .gallery .gallery-item {text-align:left;}
/*image float CSS clear*/
.custom .mceContentBody p {clear:both; margin: 0 20px 25px 0}
.custom	.mceContentBody p img {margin: 0 20px 25px 0}

/*.custom .entry-content { font-size:11pt;}*/

.custom .sidebar_list .widget h3 { font-variant: normal; padding:10px; color:#666;  letter-spacing:-0.015em; border-bottom: 1px dotted #ccc; }

.custom #page { -moz-border-radius: 20px; -webkit-border-radius: 20px; }

.custom .teaser {
   width: 100%;
   margin-top: 2em;
   padding-top: 2em;
   border-top: 1px dotted #bbb;
   text-align: justify;
}
.custom .teasers_box {
   padding-top: 0;
   padding-bottom:0;
   border-top: 0;}

.custom #cust_header_ad {
float:right;
position:absolute;
/*width:468px;
height:90px;*/
top:32px;
margin-left: 73.8em;
}

/* navig*/

.custom ul.menu li a {
  text-transform: none;
	letter-spacing: normal;
	color:#fff;
	padding-right: 20px;
	padding-left: 20px;
	font-size: 1.7em;
}
.custom .menu { background-image: url('images/nav1.gif'); background-repeat: repeat-x;  }

.custom .menu a { background-image: url('images/nav1.gif'); background-repeat: repeat-x; padding-top:7px; border-right: 1px solid #fff;}
.custom .menu a:hover { background-image: url('images/nav2.gif'); background-repeat: repeat-x; }
.custom .menu li.current a { background-image: url('images/nav2.gif'); background-repeat: repeat-x; }

.custom .menu li.tab-home a { background-image: url('images/nav1.gif'); background-repeat: repeat-x; padding-top:7px; border-right: 1px solid #fff;}

.custom .menu li.tab-home a:hover { background-image: url('images/nav2.gif'); background-repeat: repeat-x; }
.custom .menu li.tab-home.current a { background-image: url('images/nav2.gif'); background-repeat: repeat-x; }

/* sidebar*/
#cust_side_ad p{ text-align:center; }
.custom li.widget h3 {	letter-spacing: normal;  text-transform: none; text-align:center;}
.custom li.widget {margin-bottom:1em; margin-top:1em;}

/*FOOTER*/

#foot {
background: #585858;
/*border: 0.6em solid #212020; */
 color: #ddd;
/*font-size: 12px;*/
/*margin: 20px auto;*/
margin-top:20px;
margin-bottom:20px;
/*overflow: hidden;*/
padding: 1.5em;
height:200px;
padding-left:100px;
}
#foot { -moz-border-radius: 20px; -webkit-border-radius: 20px; }
#foot a { color:#ddd; text-decoration: underline; }

#foot a:hover { color: #fff; }

#foot span.cat, #foot h3 { /* controls all blue headings */
/*color: #23A2D7; font-size: 16px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; */}
#foot ul li.widget {float: left; width:25%;  list-style-type: none; margin: 0 auto; display:inline; height:200px; }

#foot h5 { font-size: 23px; }
#foot h3 { font-weight: bold; color:#fff; margin-bottom:15px; text-align:left;}
#foot ul li ul { list-style-type: none;  }
/*#foot ul li {text-align:center;}*/

#foot ul.sidebar_list { padding: 1.8em 30px 0 0; }

#foot li.widget .widget_box { background: none; border: 0; }

/*#foot .textwidget p { line-height: 22px; margin-bottom: 11px; }*/

#foot .col { float: left; list-style: none; width: 33.3%; }




.custom .post_image_link img.alignleft {   margin-bottom: 7px;}
.custom .teaser .format_teaser .post_image_link img.alignleft { margin-bottom: 7px;}