/* custom CSS for Priority Driving School */
body {
	font-family: 'Open Sans',Tahoma,Geneva,sans-serif;
	font-weight: 400;
	color: #4d4d4d;
}

a, a:visited, a:active {
	color: #0088cc;
	text-decoration: none;
	transition-property: color;
	transition-duration: 350ms;
}

a:hover, a:focus {
	color: #48c4ff;
}

hr {
	clear: both;
	height: 2px;
	background-color: #d7d7d7;
}

.clearfix {
	clear: both;
	content: ' ';
}

#page {
	background-image: url('../img/bg-page.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.content-area {
	margin-top: 1.5em;
}

.entry-content{
	margin-top: 0;
}

.entry-meta {
	margin: 10px 0;
}

.site-content h1, .site-content h2, .site-content h3, .site-content h4, #wpcr_postcomment {
	font-family: 'Roboto Condensed',Tahoma,Geneva,sans-serif;
	font-weight: 700;
	line-height: 1;
	background-image: url('../img/bullet-arrow-right.png');
	background-size: auto 60%;
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 20px;
	border-bottom: solid 2px #d7d7d7;
}

.site-content h1 {
	font-size: 2em;
	letter-spacing: -1px;
	margin-bottom: 24px;
}

.site-content h2, #wpcr_postcomment {
	font-size: 1.5em;
	margin-bottom: 12px;
}

.site-content h3 {
	font-size: 1.1em;
}

.site-content h4 {
	clear: none;
	border-bottom: none!important;
}

.site-content img.alignright, .site-content img.alignleft, img.attachment-thumbnail {
	border: solid 2px #fac107;
	margin-bottom: 1.5em;
}

.the-thumb {
	float: left;
	width: 23%;
	margin-right: 2%
}

img.attachment-thumbnail {
	max-width: 100%;
	height: auto;
}

.the-stuff {
	float: left;
	width: 75%;
}

span.next {
	float: right;
}

span.prev {
	float: left;
}

.next-prev-navigation {
	text-align: center;
}

.next-prev-navigation a {
	font-family: 'Roboto Condensed',Tahoma,Geneva,sans-serif;
	font-size: 1em;
	letter-spacing: -1px;
	font-weight: 700;
	text-align: center;
	line-height: 1;
	display: inline-block;
	padding: 2%;
	margin: 0 25px;
	background: #fac107;
	background-image: url('../img/bg-menu-active.jpg');
	background-size: 1px 100%;
	background-position: left top;
	background-repeat: repeat-x;
	color: #333;
	border-radius: 6px;
	transition-property: opacity;
	transition-duration: 350ms;
	opacity: 0.8;
}

.iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
    margin-bottom: 15px;
}
 
.iframe-container iframe,
.iframe-container object,
.iframe-container embed,
.iframe-container .wp-video,
.iframe-container .mejs-container,
.iframe-container video,
.iframe-container .mejs-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%!important;
    height: 100%!important;
}

.entry-meta {
	font-size: 0.7em;
}

.visual-form-builder .vfb-legend {
	color: #4d4d4d;
}

.visual-form-builder .vfb-legend h3 {
	padding-left: 20px;
	border-bottom: none;
}

p, ul, ol {
	font-size: 0.8em;
}

.site-header {
	background-color: #000;
	background-image: url('../img/bg-header.jpg');
	background-size: 1px 100%;
	background-position: left top;
	background-repeat: repeat-x;
}

.site-branding, .main-navigation, .site-content, .site-info {
	clear: both;
	float: none;
	width: 98%;
	max-width: 1170px;
	margin: 0 auto;
}

.site-content {
	background: #fff;
	background: rgba(255,255,255,0.8);
}

.site-title {
	display: inline;
}

.site-title a {
	text-indent: -9999px;
	clear: none;
	float: left;
	display: block;
	width: 568px;
	max-width: 100%;
	height: 77px;
	margin: 5px 0;
	background: url('../img/logo-2.png') center center no-repeat;
	background-size: 100% auto;
}

h3.site-contact {
	clear: none;
	float: right;
	display: inline;
	font-family: 'Roboto Condensed',Tahoma,Geneva,sans-serif;
	font-size: 2.2em;
	font-weight: 700;
	letter-spacing: -1px;
	line-height: 1;
	margin: 5px 0;
	background-image: url('../img/iphone.png');
	background-size: auto 95%;
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 40px;
}

h3.site-contact a {
	color: #fac107;
}

h3.site-social {
	clear: none;
	float: right;
	margin: 5px 0;
	font-family: 'Roboto Condensed',Tahoma,Geneva,sans-serif;
	font-size: 1.4em;
}

h3.site-social a {
	color: #fac107;
}

h3.site-social a:hover, h3.site-social a:focus {
	color: #fff;
}

h3.site-social a span {
	padding: 0 30px;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: auto 100%;
}

h3.site-social .facebook {
	background-image: url('../img/facebook.png');
}

h3.site-social .twitter {
	background-image: url('../img/twitter.png');
}

#secondary h3.site-contact {
	font-size: 2.6em;
	padding-left: 45px;
	letter-spacing: -2px;
	text-shadow: 1px 0 2px #292421;
	border-bottom: none;
}

.nav-menu {
	float: left;
	width: 100%;
	border-bottom: solid 4px #fac107;
}

.nav-menu a {
	font-family: 'Roboto Condensed',Tahoma,Geneva,sans-serif;
	font-weight: 400;
	font-size: 1.1em;
	padding: 0 6px;
	margin: 0 4px;
	background: #333;
	color: #fac107;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	transition-property: color;
	transition-duration: 350ms;
}

.nav-menu li.current-menu-item a {
	background: #fac107;
	background-image: url('../img/bg-menu-active.jpg');
	background-size: 1px 100%;
	background-position: left top;
	background-repeat: repeat-x;
	color: #333;
}

.nav-menu a:hover, .nav-menu a:focus {
	color: #fff;
}

a.cta {
	font-family: 'Roboto Condensed',Tahoma,Geneva,sans-serif;
	font-size: 2em;
	letter-spacing: -1px;
	font-weight: 700;
	text-align: center;
	line-height: 1;
	display: block;
	width: 96%;
	padding: 2%;
	background: #fac107;
	background-image: url('../img/bg-menu-active.jpg');
	background-size: 1px 100%;
	background-position: left top;
	background-repeat: repeat-x;
	color: #333;
	border-radius: 6px;
	transition-property: opacity;
	transition-duration: 350ms;
	opacity: 0.8;
}

a.cta:hover, a.cta:focus {
	opacity: 1;
}

.metaslider ul {
	border: solid 2px #fac107;
	border-radius: 8px;
	box-shadow: 0 0 20px #292421;
	margin-bottom: 24px!important;
}

#secondary img {
	text-align: center;
	width: 98%;
	max-width: 320px;
	margin: 1% auto;
}

.promo {
	background: #fac107;
	background-image: url('../img/bg-menu-active.jpg');
	background-size: 1px 100%;
	background-position: left top;
	background-repeat: repeat-x;
	color: #333;
	padding: 15px;
	border-radius: 4px;
}

.promo h2 {
	background-image: none;
	padding-left: 0;
	border-bottom: none;
}

.promo p {
	font-size: 1em;
}

blockquote {
	font-style: italic;
	font-size: 1.5em;
	letter-spacing: -1px;
	padding-left: 25px;
}
	
.site-footer {
	background-color: #000;
	background-image: url('../img/bg-header.jpg');
	background-size: 1px 100%;
	background-position: left top;
	background-repeat: repeat-x;
	border-top: solid 4px #fac107;
	padding: 10px 0;
}

.site-footer p.alignleft {
	clear: left;
	float: left;
	text-align: left;
	max-width: 50%;	
}

.site-footer p.alignright {
	clear: right;
	float: right;
	text-align: right;	
	max-width: 50%;
}

.site-footer p {
	font-family: 'Roboto Condensed',Tahoma,Geneva,sans-serif;
	font-size: 0.8em;
	line-height: 1.25;
	color: #fff;
	margin-bottom: 5px;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover, .site-footer a:focus {
	color: #fff;
	text-decoration: underline;
}

@media screen and (min-width: 960px) {
	
	#primary {
		float: left;
		width: 73%;
		min-width: 702px;
		padding: 0 1%
	}

	#secondary {
		float: left;
		width: 24%;
		min-width: 258px;
		padding: 0 1% 0 0;
	}

}

@media screen and (max-width: 1090px) {
	
	#menu-toggle {
		font-family: 'Roboto Condensed',Tahoma,Geneva,sans-serif;
		text-align: center;
		color: #fac107;
	}
	
	.nav-menu li {
		float: none;
	}
	
	.nav-menu a {
		border-radius: 4px;
	}
	
	.site-content {
		width: 96%;
		padding: 1%;
	}
	
} /* end max 1090 */

@media screen and (max-width: 479px) {
	
	.site-branding {
		text-align: center;
	}
	
	#site-title a {
		float: none;
		width: 100%;
		background-size: 100% auto;
	}
	
	h3.site-contact, h3.site-social {
		clear: both;
		float: none;
		font-size: 1.5em;
		margin: 0 auto;
		width: 100%;
		text-align: center;
		background-image: none;
		padding: 0;
	}
	
	.site-content img.alignright, .site-content img.alignleft {
		float: none;
		margin-left: auto;
		margin-right: auto;
		width: 98%;
	}	

	.site-footer p.alignleft, .site-footer p.alignright {
		clear: both;
		float: left;
		text-align: left;
		margin-left: 0;
		max-width: 98%;	
	}
	
} /* end max 479 */