/*
THEME NAME: Tradesman Insurance
THEME URI: http://www.wppatrickk.com
DESCRIPTION: Custom Wordpress Theme
VERSION: 1.0
AUTHOR: <a href="http://www.wppatrickk.com">WPPatrickk</a>
AUTHOR URI: http://www.wppatrickk.com
*/

@import "reset.css";

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	background: #EBEBEB;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	color: #000000;
}

a {
	color: #8f8f8f;
	text-decoration: none;
}

a:hover {
    color: #0000ff;
	text-decoration: none;
}

strong {
	font-weight: 700;
}

em {
	font-style: italic;
}

hr {
	border: none 0;
	border-bottom: 1px solid #E0E0E0;
	height: 1px;
	margin: 10px 0;
}

blockquote {
	font-style: italic;
	background: url(images/quotes.gif) no-repeat top left;
	background-position: 12px 12px;
	color: #595959;
	margin: 5px 0;
	padding: 8px 15px 8px 60px;
}

#wrapper {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 10px 0;
}

.inner {
	width: 100%;
}

.clear {
	clear: both;
}

#header {
	background: #FFFFFF;
	width: 100%;
	padding: 10px;
	border: 1px solid #FFA54A;
	border-bottom: 0;
}

#logo {
	width: 94%;
	float: left;
}

#logo img {
	max-width: 100%;
	display: block;
	height: auto;
}

#logo-right {
	float: right;
	width: 6%;
	text-align: right;
}

#menu {
	background: #FFA54A;
	width: 100%;
}

#menu ul {
	width: 100%;
	display: table;
}

#menu ul li {
	display: table-cell;
	position: relative;
}

#menu ul li a {
	padding: 10px;
	color: #000000;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 13pt;
    font-style: normal;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
	display: block;
	border-right: 1px solid #FFFFFF;
	text-align: center;
}

#menu ul li:last-child a {
	border-right: 0;
}

#menu ul li:last-child a, #menu ul li:nth-child(5) a {
	background: #6F7074;
	color: #FFFFFF;
}

#menu ul li:last-child a:hover, #menu ul li:nth-child(5) a:hover {
	background: #FFA54A;
	color: #000000;
}

#menu ul li a:hover {
	background: #6F7074;
	color: #FFFFFF;
}

#menu ul li ul {
	width: 100%;
	position: absolute;
	display: none;
	top: auto;
	z-index: 99999;
	left: 0;
}

#menu ul li:hover > ul {
	display: block;
}

#menu ul li ul li {
	display: block;
	float: none;
	border-bottom: 2px solid #FFFFFF;
}

#menu ul li ul li:last-child {
	border-bottom: 0;
}

#menu ul li ul li a, #menu ul li:last-child ul li a, #menu ul li ul li:last-child a {
	background: #FFA54A;
	display: block;
	padding: 15px;
	border-right: 0;
	font-size: 14px;
	color: #000000;
}

#menu ul li ul li:last-child a:hover, #menu ul li ul li:nth-child(5) a:hover {
	background: #6F7074;
	color: #FFFFFF;
}

#menu ul li ul li a:hover {
	
}

#container {
	width: 100%;
	border: 1px solid #FFA54A;
	border-top: 0;
}

#content-wrap {
	display: table;
	width: 100%;
	table-layout: fixed;
}

#content {
	display: table-cell;
	background: #FFFFFF;
	width: 73.5%;
	padding: 10px;
	vertical-align: top;
}

.post {
	
}

.post-title {
	font-family: Arial, sans-serif;
}

.blog-left {
	width: 20%;
	float: left;
}

.blog-left img {
    display: block;
    height: auto;
    width: 100%;
}

.post-meta {
    font-weight: bold;
    margin-bottom: 15px;
}

.post-meta span {
    display: inline-block;
    padding: 0 6px;
}

.blog-right {
	width: 78%;
	float: right;
}

.read-more {
    display: block;
    font-weight: bold;
    margin-top: 20px;
}

.blog .post, .category .post {
    border-bottom: 1px solid #cccccc;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.post-title a {
	color: #333333;
}

.post-content h1, .post-content h2, .post-content h3 {
	font-family: Arial, sans-serif;
}

.post-content h2 {
	color: #FF8000;
}

.post-content p {
	line-height: 1.6;
	margin-bottom: 20px;
}

.post-content ul li {
	padding: 5px 0 5px 20px;
	list-style: disc inside none;
	line-height: 1.3;
}

.post-content ol li {
	padding: 5px 0 5px 20px;
	list-style: decimal inside none;
	line-height: 1.3;
}

hr {
	border-bottom: 2px solid #FFA54A;
}

.aligncenter {
	display: block;
	margin: 15px auto;
	max-width: 100%;
	height: auto;
}

.alignleft {
	float: left;
	margin: 0 30px 10px 0;
}

.alignright {
	float: right;
	margin: 0 0 10px 30px;
}

#sidebar {
	display: table-cell;
	background: #FFA54A;
	width: 26.6%;
	padding: 10px;
	line-height: 1.5;
	vertical-align: top;
}

#sidebar br {
	margin-bottom: 10px;
}

.sidepanel {
	margin-bottom: 30px;
}

.sidepanel h3 {
	border-bottom: 1px solid #d0d0d0;
	padding-bottom: 7px;
	margin-bottom: 15px;
}

.sidepanel ul li {
	padding: 0 0 5px;
	line-height: 1.2;
}

#footer {
	background: #6F7074;
	width: 100%;
	padding: 10px 30px;
	color: #D4D4D4;
}

#footer p {
	font-size: 10px;
	line-height: 1.3;
	margin-bottom: 8px;
}

#footer ul li.footer-widget .widget_black_studio_tinymce a {
	font-size: 10px;
}

#footer ul li a {
	color: #d4d4d4;
	font-size: 13px;
	text-decoration: underline;
}

.footer-widget {
	width: 22%;
	float: left;
	margin-right: 4%;
}

.footer-widget h3 {
	font-size: 13px;
}

.footer-widget ul li {
	padding-bottom: 6px;
}

.footer-widget.last {
	margin-right: 0;
}

.sep {
	color: #CCC;
	margin: 0 8px;
}

.ico-small {
	vertical-align: middle;
	margin: 0 5px 2px 0;
}

#mobile-slide {
	background: #6F7074;
	display: none;
	padding: 8px 20px;
	text-align: center;
}

#mobile-slide a {
	background: url('images/mobile-slide.png') no-repeat right center;
	color: #FFFFFF;
	display: block;
    font-size: 20px;
}

#mobile-menu {
	display: none;
}

#mobile-menu ul li a {
	display: block;
	padding: 10px;
	background: #FFFFFF;
	color: #6F7074;
	border-bottom: 1px solid #6F7074;
	position: relative;
}

#mobile-menu ul li ul {
	display:none;
}

#mobile-menu ul li.opened ul {
	display: block;
}

#mobile-menu ul li ul li a {
	padding-left: 20px;
}

#mobile-menu li.menu-item-has-children > a:after {
	content: '+';
	padding-left: 5px;
	font-weight: bold;
	font-size: large;
	line-height: 10px;
	position: absolute;
	right: 23px;
	top: 12px;
	font-size: 16px;
}

#mobile-menu li.menu-item-has-children.opened > a:after {
	content: '-';
}

@media screen and (max-width : 800px) {
	#menu ul {
		table-layout: fixed;
	}

	#menu ul li a {
		font-size: 14px;
	}

	.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
		width: 100% !important;
	}

	#wrapper {
		padding: 0;
	}
}

@media screen and (max-width : 736px) {
	#menu {
		display: none;
	}

	#mobile-slide {
		display: block;
	}

	#sidebar {
		display: none;
	}

	#content {
		display: block;
		width: 100%;
	}
}

@media screen and (max-width : 667px) {
	.footer-widget {
		width: 100%;
		margin-right: 0 !important;
		float: none;
		text-align: center;
		padding-bottom: 20px;
	}
}

@media screen and (max-width : 640px) {
	#logo {
		float: none;
		width: 100%;
	}

	#logo img {
		margin: 0 auto;
		padding: 10px 0;
	}

	#logo-right {
		display: none
	}

	#content img {
		max-width: 100%;
		display: block;
		margin: 0 auto;
		height: auto;
	}

	#content table img {
		display: none;
	}
}

@media screen and (max-width : 320px) {
	#logo-right a {
		padding: 0 5px;
	}
}