

body { background: #e1e1e1 url(../images/white_carbon.png) repeat;}

#container {
	-moz-box-shadow: 0 0 7px 5px #888;
	-webkit-box-shadow: 0 0 7px 5px #888;
	box-shadow: 0 0 7px 5px #888;
}

h1, h2 {color: #730202;}
h3, h4, h5 {color: #a60303;}

.header_logo_text .tagline {
    color: #0d0d0d;
    font-size: 1.5em; 
    font-weight: normal; 
    font-style: normal;
}

p {line-height: 21px; font-size: 14px;}

.tb-text-logo a:hover {color: #a60303 ;}

a {
    color: #a60303;
    text-decoration: none;
}

a:hover {
    color: #0d0d0d;
    text-decoration: none;
}

#top {padding: 0;}

.header_logo {float: left;}
.header_block_right_social {float: right; margin-right: 50px; margin-top: -5px; padding: 0; font-size: 24px;}
.social-media-images {list-style-type: none;}
.social-media-images li {display: inline;}


#header_content {background-color: #fff; height: 125px; padding: 0;}

#header_content .header_content-inner {padding: 15px 30px;}

#access {
    background-color: #730202;
    background-image: -moz-linear-gradient(center top , #a60303, #730202);
    background-image: -ms-linear-gradient(top, #a60303, #730202);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a60303), to(#730202));
	background-image: -webkit-linear-gradient(top, #a60303, #730202);
	background-image: -o-linear-gradient(top, #a60303, #730202);
	background-image: linear-gradient(top, #a60303, #730202);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a60303', endColorstr='#730202');
	-pie-background: linear-gradient(#a60303, #730202);
    background-repeat: repeat-x;
    border-radius: 0; 
    border-top: 1px solid #660000;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    padding-left: 30px;
    padding-right: 30px;
    height: 43px !important;
}

.access-content {border-left: 1px solid #660000;}

#primary-menu li li a:hover {
	background-color:#71B125;
}

#primary-menu > li {
    font-size: 13px;
    font-weight: bold;
    margin: 0;
    border-right: 1px solid #660000;
    padding-bottom: 3px;
}

#primary-menu li a {
    color: #f2f2f2;
}

#primary-menu > li > a { padding-right: 30px; padding-left: 30px;}

#primary-menu > li:hover {	padding-bottom: 0 !important;}
#primary-menu > li.current_page_item {	padding-bottom: 0 !important;}

#primary-menu > li.home {
    margin: 0 10px 0 0;}

#primary-menu > li > a:hover {
	box-shadow: inset 0px 0px 18px rgba(0,0,0,.8);
	background: none;
	border-bottom: #a40303 solid 0px;
	margin-bottom: 1px;
}

#primary-menu > li.current_page_item > a {
    box-shadow: inset 0px 0px 18px rgba(0,0,0,.8);
	background: none;
	border-bottom: #a40303 solid 3px;
}
#primary-menu li a .sf-sub-indicator {
    color: #f2f2f2;
}
#primary-menu ul {
    background: none repeat scroll 0 0 #730202;
    border: 1px solid #660000;
}
#primary-menu > li > ul {
    border-top: medium none;
    margin-left: -1px;
    margin-top: 0px;
    padding-top: 0px;
}
#primary-menu li li a:hover {background-color: #a60303;}

.standard-slider-wrapper .slides-wrapper {
    background: none repeat scroll 0 0 #F2F2F2;
    }

.btn {
	behavior: url(../assets/pie/PIE.php); 
    background-color: #a60303;
    background-image: -moz-linear-gradient(center top , #a60303, #730202);
    background-image: -ms-linear-gradient(top, #a60303, #730202);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a60303), to(#730202));
	background-image: -webkit-linear-gradient(top, #a60303, #730202);
	background-image: -o-linear-gradient(top, #a60303, #730202);
	background-image: linear-gradient(top, #a60303, #730202);
	-pie-background: linear-gradient(#a60303, #730202);
	border-color: #660000;
	color: #f2f2f2;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75);
	
}

.btn:hover {background-color: #730202; color: #f2f2f2;}


#footer_sub_content {font-size: 12px; border-top: 1px solid #660000; padding: 12px 30px;  color: #f2f2f2; background: url(../images/sub-footer-bg.png) repeat-y; height: 50px;}
#footer_sub_content .copyright {width: 30%; clear: none; text-align: left; float: left;}
#footer_sub_content .footer-nav {width: 70%; clear: none; text-align: right; float: right;}
#footer_sub_content a {color: #f2f2f2;}
#footer_sub_content a:hover {text-decoration: underline;}

#bottom {
	padding: 0;
	}

.header_block_right {
    background-color: none;
    float: right;
}

.divider-dashed {
    border-top: 1px solid #f5f5f5;
}

/* =Optimized for Tablets
------------------------------------------------- */

@media (max-width: 768px) {
	#branding .header_logo {
    	float: left;
    	text-align: none;
	}
	.header_block_right_social {margin-top: 10px; margin-right: 0px; float: right; font-size: 24px; clear: right;}
	#access {
   	 	background-color: #730202;
    	background-image: none;
    	border-top: none;
    	height: auto !important;
    	padding: 0;
	}
	#primary-menu > li { margin: 0;}

	#primary-menu > li.home {margin: 0;}
	#primary-menu > li > a:hover {
		box-shadow: inset 0px 0px 18px rgba(0,0,0,.8);
		background: none;
		border-bottom: none;
	}
	#header_content {margin-bottom: 10px;}
	#footer_sub_content .copyright {width: 100%; clear: none; text-align: center; float: left;}
	.footer-nav {display: none;}
	
}

/* =Optimized for Mobile Devices
------------------------------------------------- */

@media (max-width: 640px) {
	
	/* Primary Structure */
	#container {
		/*padding: 0 5px;*/
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	
	/* Typography */
	h1 {
	  font-size: 24px;
	  line-height: 1.3em;
	}

	/* Builder - Slogan */
	.element-slogan .has_button .btn-large {
		display: block;
		float: none;
		margin: 0 0 10px 0;
	}
	.element-slogan .slogan .slogan-text { 
		display: block;
		font-size: 1.3em;
		text-align: center;
	}

	/* Builder - Divider */
	.divider-shadow {
		background-size:100%;
	}
	
	/* Posts */
	.attachment-small {
		width: 40%;
	}
	
	/* Comments */
	#comments {
		font-size: .85em;
	}
	#comments .comment-body {
		padding: 2px 10px;
	}
	#comments .comment-author,
	#comments .comment-meta {
		padding-left: 35px;
	}
	#comments .comment-body .avatar {
		top: 5px;
		left: 5px;
		width: 30px;
		height: 30px;
	}
	

	/*.header_block_right_social {margin-top: 5px; margin-right: 0px; float: none; font-size: 24px; text-align:center}*/

	.header_block_right_social ul {margin: 0;}

	#header_content {background: none;  margin-bottom: 10px; height: auto;}

	#access {
   	 	background-color: #730202;
    	background-image: none;
    	border-top: none;
    	height: auto !important;
    	padding: 0;
	}
	#primary-menu > li { margin: 0;}

	#primary-menu > li.home {margin: 0;}
	#primary-menu > li > a:hover {
		box-shadow: inset 0px 0px 18px rgba(0,0,0,.8);
		background: none;
		border-bottom: none;
	}
	.footer-nav {display: none;}
	/*#social-media {display: none;}*/
	#footer_sub_content .copyright {width: 100%; clear: none; text-align: center; float: left;}
}

@media (max-width: 529px) {

	div.header_block_right {
		text-align: center;
		width: 100%;
		font-size: 1em;
	}
	.header_block_right_social {clear: both; float: left; text-align: center; width: 100%; font-size: 2.5em; margin-left: 20px;}
}