/*
Theme Name: Michael Wood Associates 2015
Description: Michael Wood Associates 2015
Author: NTech Media
Author URI: http://ntechmedia.com


	Base Theme Name: HTML5 Blank
	Base Theme URI: http://html5blank.com
	Base Description: HTML5 Blank WordPress Theme
	Base Version: 1.4.2
	Base Author: Todd Motto (@toddmotto)
	Base Author URI: http://toddmotto.com
	Base Tags: Blank, HTML5, CSS3
	
	Base License: MIT
	Base License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
/* Disabling due to issues, and because HTML5 Boilerplate made the same change */
/* for similar reasons 4 years ago and still hasn't added it back in yet */
/* https://github.com/h5bp/html5-boilerplate/commit/0d7f8d775ab4ab171c6372f992d506088ca5d3ed */
/* http://aestheticallyloyal.com/public/optimize-legibility/ */
/*	text-rendering:optimizeLegibility; */
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font: 14px/1.4 "Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	height: auto;
	vertical-align:bottom;
}
a {
	color:#81bee4;
}
a:hover {
	color:#81bee4;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

body {
	background: url(img/bg_repeat.png) repeat-x top;
}

/* wrapper */
.wrapper {
	display: block;
	margin: 0 auto;
	position: relative;
	width: 100%;
	background: url(img/bg.png) no-repeat top center;
}
/* header */
.header {
	display: block;
}
/* logo */
.logo {
	max-width: 486px;
	height: 185px;
	padding: 30px;
	margin: 0px auto;
}
.logo-img {
	
}
/* nav */
.nav {
	background: #73be67;
	height: 60px;
}

.nav ul {
	padding: 0px;
	display: table;
	width: 100%;
	height: 60px;
	max-width: 1100px;
	margin: 0px auto;
}

.nav li {
	display: table-cell;
	background: url(img/nav_sep.png) left center no-repeat;
}

.nav li:first-child {
	background: none;
}

.nav li a {
	display: block;
	height: 60px;
	line-height: 60px;
	text-align: center;
	font-size: 20px;
	color: #FFFFFF;
	text-decoration: none;
}

.nav li a:hover,
.nav li.current_page_item a {
	background: url(img/nav_on.png) center bottom 8px no-repeat;
}



/* main content */

.body_wrap {
	display: block;
	margin: 0px auto;
	width: 100%;
	max-width: 1100px;
	background: url(img/panel.png);
	padding: 45px;
}

@media only screen and (max-width:980px) {
	.body_wrap {
		background: #FFFFFF;
	}
}

@media only screen and (max-width:480px) {
	.body_wrap {
		padding: 15px;
	}
}

section[role=main] {
	display: block;
}
/* sidebar */
.sidebar {
	display: none;
}
/* footer */
.footer {
	display: block;
	background: #4a953e;
	color: #FFFFFF;
}

.footer a {
	color: #FFFFFF;
}

.footer_wrap {
	display: table;
	width: 100%;
	max-width: 1010px;
	margin: 0px auto;
}

.footer_col {
	display: table-cell;
	vertical-align: top;
}

.footer_logo {
	background: url(img/footer_logo.png) no-repeat center center;
	display: block;
	width: 364px;
	height: 111px;
	margin: 20px 0px;
}

.footer_nav {
	padding-top: 45px;
	padding-right: 30px;
}

.footer_nav ul {
	margin: 0px;
	padding: 0px;
	border-right: 2px solid #98c391;
}

.footer_nav nav li {
	padding-left: 10px;
	margin-bottom: 5px;
}

.footer_nav nav li:hover,
.footer_nav nav li.current_page_item {
	background: url(img/footer_nav.png) no-repeat left center;
}

.footer_nav nav li a {
	text-decoration: none;
}

.footer_contact {
	padding-top: 45px;
	max-width: 370px;
	width: 370px;
}

.footer_contact h3 {
	margin-top: 0px;
}

.footer .gform_wrapper .top_label .gfield_label {
	width: 110px;
	margin-top: 8px;
}

.footer div.ginput_container {
	width: 250px;
	display: inline-block;
	vertical-align: top;
}

.footer .gform_wrapper .top_label input.medium,
.footer .gform_wrapper textarea.medium {
	width: 250px;
}

.footer .gform_wrapper textarea.medium {
	height: 75px;
}

.footer .gform_wrapper .gform_footer {
	text-align: right;
	padding-top: 0px;
}

.footer .gform_wrapper .gform_footer input[type="submit"] {
	background: #febf01;
	border: 1px solid #be8f00;
	color: #444444;
	width: 105px;
	height: 30px;
	line-height: 30px;
	font-size: 14px;
}

.footer .gform_wrapper ul.gform_fields li.gfield {
	padding-right: 0px;
}

@media only screen and (max-width:900px) {
	.copyright {
		display: block;
	}
	
	.footer_logo,
	.copyright div {
		vertical-align: middle;
		display: inline-block;
		width: 50%;
	}
	
	.copyright div {
		text-align: center;
	}
	
	.footer_nav,
	.footer_contact {
		vertical-align: top;
		display: inline-block;
		width: 50%;
	}
	
	.footer_nav {
		padding: 15px 30px 15px 15px;
	}
	
	.footer_contact {
		padding-top: 15px;
	}
	
}

@media only screen and (max-width:750px) {
	.footer .gform_wrapper .top_label .gfield_label {
		display: block;
	}

	.footer_logo {
		background-size: 100%;
	}
	
}

@media only screen and (max-width:500px) {
	.footer_col,
	.footer_logo,
	.copyright div {
		display: block;
		width: 100%;
		margin: 0px auto;
	}
	
	.footer_nav ul {
		border: none;
	}
	
	.footer .gform_wrapper .top_label .gfield_label {
		display: inline-block;
	}
	
	.footer_logo {
		background-size: auto 80%;
		margin-top: 15px;
	}
	
	.footer .gform_wrapper ul {
		width: 250px;
		margin: 0px auto !important;
	}

}

/*------------------------------------*\
    SLIDER
\*------------------------------------*/

.body_wrap .flexslider  {
	border: none;
	margin: 0px;
}

.slides {
	background: #febf01;
}

.slides li {
	height: 100%;
	position: relative;
}

.slider_text {
	width: 790px;
	height: 50px; /* 100px for excerpt */
	background: url(img/slide_arrows.png) no-repeat center center #febf01;
	border: 1px solid #be8f00;
	padding: 5px 60px;
	color: #FFFFFF;
	position: absolute;
	right: 0px;
	bottom: 25px;
	display: none;
}



.slider_text p {
	margin: 0px;
}

.slider_text h3 {
	margin-top: 5px;
	margin-bottom: 5px;
}

.slider_text h3 a {
	color: #444444;
	text-decoration: none;
	font-weight: normal;
	font-size: 20px;
}

.flex-direction-nav {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
}

.flex-control-paging {
	display: none;
}

.flexslider .flex-nav-prev {
	position: absolute;
	right: 735px;
	bottom: 30px;
	width: 40px;
	height: 40px;
}

.flexslider .flex-nav-next {
	position: absolute;
	right: 14px;
	bottom: 30px;
	width: 40px;
	height: 40px;
}

.flexslider .slides {
	height: 375px;
}

.flexslider .flex-direction-nav a,
.body_wrap .flexslider:hover .flex-direction-nav a,
.body_wrap .flexslider:hover .flex-direction-nav .flex-prev:hover,
.body_wrap .flexslider:hover .flex-direction-nav .flex-next:hover {
	opacity: 0;
	margin: 0px;
}

.flexslider .flex-direction-nav .flex-prev,
.body_wrap .flexslider:hover .flex-direction-nav .flex-prev {
	top: 0px;
	left: 0px;
}

.flexslider .flex-direction-nav .flex-next,
.flexslider:hover .flex-direction-nav .flex-next {
	top: 0px;
	left: 0px;
}

@media only screen and (max-width:900px) {
	.slider_text {
		width: 100%;
		height: auto;
		bottom: 0px;
		background: #febf01;
		border: none;
	}
	
	.slider_text div {
		display: none;
	}
	
	.flexslider .flex-nav-prev {
		background: url(img/slide_left.png) no-repeat center center;
		left: 5px;
		right: auto;
		bottom: 5px;
	}
	
	.flexslider .flex-nav-next {
		background: url(img/slide_right.png) no-repeat center center;
		right: 5px;
		bottom: 5px;
	}

}

@media only screen and (max-width:500px) {

	.slider_text h3 a {
		font-size: 14px;
	}
	
	.slider_text {
		min-height: 90px;
		position: relative;
	}


}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

h1 {
	color: #73be67;
	font-size: 24px;
	font-weight: normal;
}

h2 {
	color: #ED7D31;
	font-size: 18px;
	font-weight: normal;
}

h3 {
	font-size: 16px;
	font-weight: normal;
}

.contact-us td {
	vertical-align: top;
}

@media only screen and (max-width:700px) {
	.contact-us td {
		display: inline-block;
		width: 290px;
	}
}

.home article ul {
	padding: 0px;
	margin: 0px;
	list-style: none;
	clear: both;
	text-align: center;
}

.home article ul li {
	display: inline-block;
	vertical-align: bottom;
	max-width: 320px;
	width: 100%;
	position: relative;
	min-height: 230px;
	margin: 20px 40px;
	overflow: hidden;
	z-index: 0;
}

.home article ul li img {
	margin: 0px;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 1;
}

.home article ul li strong {
	position: absolute;
	display: block;
	bottom: 0px;
	z-index: 2;
	width: 100%;
	background: #FEBF01;
	height: 24px;
	line-height: 24px;
	color: #444444;
	font-size: 16px;
}

@media only screen and (max-width:900px) {
	.home article ul li {
		margin: 10px;
	}
}

@media only screen and (max-width:370px) {
	.home article ul li {
		max-width: 300px;
		margin: 10px 0px;
	}
}


.testimonials blockquote {
/*	border-bottom: 3px solid #FEBF01;*/
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
  position: relative;
}

.testimonials blockquote:before {
  color: #FEBF01;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

.testimonials blockquote p {
  display: inline;
}

.testimonials article ul {
	margin: 10px 0px;
	padding: 0px;
	text-align: right;
	list-style: none;
}

.testimonials article ul li {
	text-align: left;
	font-style: italic;
	display: inline-block;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

div.shiftnav-wrap {
	line-height: 1.4; /* Fixes ShiftNav setting an em based line height when we want a unitless multiplier. */
}

.shiftnav-inner {
	background: url() center top no-repeat; /* Specify the site logo you want to appear in the mobile menu. */
	padding-top: 0px; /* Set to however tall the site logo is. */
}

.shiftnav ul.shiftnav-menu ul.sub-menu li.menu-item > .shiftnav-target,
.shiftnav ul.shiftnav-menu ul.sub-menu li.shiftnav-retract > .shiftnav-target {
	line-height: 100%;
	padding: 15px 25px 15px 35px;
}

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
   
/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
   
.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {
	
}
.bypostauthor {
	
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
