/*
Theme Name: S & G Agricultural Contractors 2014
Description: S & G Agricultural Contractors 2014
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;
/*	text-rendering:optimizeLegibility; */
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	height: 100%;
}
body {
	font:300 13px/1.4 Arial, sans-serif;
	color: #000000;
	height: 100%;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	display: table;
	height: 100%;
	width: 100%;
}
/* header */
.header {
	display: table-row;
}
.header_wrapper {
	background: url("/wp-content/themes/S-and-G-Agricultural-Contractors-2014/img/header-background.jpg") center top no-repeat;
	display: table-cell;
}
.header_content {
	margin: 0 auto;
	max-width: 960px;
	width: 100%;
}

/* logo */
.logo_wrapper {
	display: table;
	height: 160px;
	margin-top: 90px;
	width: 100%;
}
.header_logo {
	display: table-cell;
	width: 244px;
}
.header_tagline {
	color: #FFFFFF;
	display: table-cell;
	font-family: 'cgfuturamaxidemedium';
	font-size: 16px;
	padding-left: 125px;
	padding-top: 20px;
	text-shadow: -1px 1px 3px #2D2D2D;
	text-transform: capitalize;
	vertical-align: top;
}
.header_actionline {
	font-size: 24px;
	letter-spacing: 1px;
	margin-left: -5px;
	padding-top: 10px;
	text-transform: none;
}
.header_actionline .chunk {
	display: inline-block;
	line-height: 40px;
	padding-left: 5px;
}
.header_actionline .chunk a {
	color: #FFFFFF;
}
.header_actionline .facebook {
	display: none;
	padding: 0 25px;
	vertical-align: text-bottom;
}

/* mainnav */
.mainnav_wrapper {
	border-radius: 5px;
	display: table;
	margin-top: 15px;
	margin-bottom: 35px;
	width: 100%;
}
.mainnav_content {
	display: table-cell;
}
.mainnav_content nav ul {
	display: table;
	margin: 0;
	padding: 0;
	width: 100%;
}
.mainnav_content nav > ul > li {
	display: table-cell;
}
.mainnav_content nav a {
	background: #423B26;
	border-left: 1px solid #534C3A;
	border-right: 1px solid #3C3523;
	color: #FFFFFF;
	display: inline-block;
	font-family: 'cgfuturamaxidemedium';
	font-size: 19px;
	height: 35px;
	line-height: 40px;
	padding: 0 15px;
	text-align: center;
	width: 100%;
}
.mainnav_content nav a:hover {
	background: #E5EAE3;
	color: #423B26;
}
.mainnav_content nav > ul > li:first-child > a {
	border-left: none;
	border-radius: 5px 0 0 5px;
	padding-left: 30px;
}
.mainnav_content nav li ul {
	border: 1px solid #423B26;
	border-radius: 0 0 5px 5px;
	display: none;
	position: absolute;
	width: auto;
}
.mainnav_content nav li:hover ul {
	display: block;
}
.mainnav_content nav li li {
	display: block;
}
.mainnav_content nav li li a {
	background: #E5EAE3;
	border: none;
	border-radius: 0;
	color: #423B26;
	font-size: 14px;
	padding-left: 25px;
	text-align: left;
}
.mainnav_content nav li li a:hover {
	background: #423B26;
	color: #FFFFFF;
}
.mainnav_content nav > ul > li:first-child li a {
	padding-left: 40px;
}
.mainnav_content nav li li:last-child a {
	border-radius: 0 0 5px 5px;
}

.header_search {
	background: #423B26;
	border-left: 1px solid #534C3A;
	border-radius: 0 5px 5px 0;
	display: table-cell;
	padding: 5px 10px;
	text-align: center;
	vertical-align: top;
	width: 260px;
}
.header_search .search {
	position: relative;
	width: 100%;
}
.header_search .search-input {
	background: #FFFFFF;
	border: none;
	border-radius: 5px;
	font-size: 13px;
	height: 25px;
	padding: 0 30px 0 10px;
	width: 200px;
}
.header_search .search-submit {
	background: url("/wp-content/themes/S-and-G-Agricultural-Contractors-2014/img/spyglass.png") center center no-repeat;
	border: none;
	border-radius: 5px;
	height: 25px;
	position: absolute;
	right: 0;
	top: 0;
	width: 30px;
}

.boxes_wrapper {
	display: none;
	height: 230px;
}
.home-page .boxes_wrapper {
	display: block;
}
.boxes_wrapper .box {
	background: url("/wp-content/themes/S-and-G-Agricultural-Contractors-2014/img/translucent-white.png");
	border-radius: 13px;
	display: inline-block;
	padding: 8px;
}
.boxes_wrapper .box a {
	border-radius: 5px;
	color: #FFFFFF;
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	height: 195px;
	line-height: 37px;
	padding: 0 5px 0 10px;
	width: 300px;
}
.boxes_wrapper .box a:hover {
	background-color: #E5EAE3;
	color: #423B26;
}
.boxes_wrapper .box .box1 {
	background: #423B26 url("/wp-content/themes/S-and-G-Agricultural-Contractors-2014/img/box1-background.jpg") center 35px no-repeat;
}
.boxes_wrapper .box .box2 {
	background: #423B26 url("/wp-content/themes/S-and-G-Agricultural-Contractors-2014/img/box2-background2.jpg") center 35px no-repeat;
}
.boxes_wrapper .box .box3 {
	background: #423B26 url("/wp-content/themes/S-and-G-Agricultural-Contractors-2014/img/box3-background.jpg") center 35px no-repeat;
}
.boxes_wrapper .box a .box_readmore {
	color: #F2F2F2;
	float: right;
	font-size: 13px;
	font-weight: normal;
}
.boxes_wrapper .box a:hover .box_readmore {
	color: #423B26;
}
.boxes_wrapper .box a .box_readmore span {
	color: #999999;
}
.boxes_wrapper .box a:hover .box_readmore span {
	color: #666666;
}

.separator_bar {
	background: url("/wp-content/themes/S-and-G-Agricultural-Contractors-2014/img/header-background.jpg") center bottom no-repeat;
	height: 5px;
}

/* main content */
.content {
	display: table-row;
}
.content_wrapper {
	background: url("/wp-content/themes/S-and-G-Agricultural-Contractors-2014/img/content-background.png") center top no-repeat;
	display: table-cell;
	height: 100%;
}
.content_limiter {
	max-width: 960px;
	margin: 0 auto;
}
.content_content {
	display: table;
	height: 100%;
	width: 100%;
}
section[role=main] {
	display: table-cell;
	padding: 0 10px 20px 0;
}
h1 {
	font-size: 20px;
}
section[role=main] h3 {
	margin-top: 20px;
	font-style: italic;
}
/* sidebar */
.sidebar {
	background: #E5EAE3;
	display: table-cell;
	padding: 5px 10px;
	width: 325px;
}
.sg_youtube_channel {
	padding-bottom: 30px;
}
.sg_youtube_channel h3 {
	color: #000000;
	font-size: 20px;
	margin: 10px 0 0 0;
}
.sg_youtube_channel h3.ytc_title {
	font-size: 16px;
	margin: 0;
}
.sg_youtube_channel .ytc_video_container {
	height: 0;
	margin-bottom: 50px;
	padding-bottom: 56.25%;
	padding-top: 25px;
	position: relative;
}
.sg_youtube_channel .ytc_video_container iframe {
	height: 100%;
	left: 0;
	position: absolute;
	top: 50px;
	width: 100%;
}

/* footer */
.footer {
	background: #2D2D2D;
	display: table-row;
}
.footer_wrapper {
	display: table-cell;
}
.footer_content {
	color: #90928F;
	margin: 0 auto;
	max-width: 960px;
	min-height: 195px;
	padding-bottom: 10px;
	width: 100%;
}
.footer_details {
	display: table;
	width: 100%;
}
.footer_logo {
	display: table-cell;
	padding: 15px 0 30px 0;
	width: 186px;
}
.footer_tagline {
	display: table-cell;
	font-size: 16px;
	padding: 25px 50px 0 50px;
	text-transform: capitalize;
	vertical-align: top;
}
.footer_actionline {
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.5px;
	margin-left: -5px;
	text-transform: none;
}
.footer_actionline .chunk {
	display: inline-block;
	line-height: 40px;
	padding-left: 5px;
}
.footer_content .copyright {
	float: left;
	padding: 0 10px 0 0;
}
.footer_content .credits {
	float: right;
	margin-bottom: 10px;
	padding: 0 0 0 10px;
}
.footer_content a {
	color: #90928F;
}
.footer_content a:hover {
	color: #FBBF18;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.gform_body input,
.gform_body textarea {
	border: 1px solid #000000;
}
.gform_body input:focus,
.gform_body textarea:focus {
	border: 1px solid #04A4CC;
}

.contact_us_form input[type="submit"] {
	background: #423B26;
	border: 1px solid #423B26;
	border-radius: 5px;
	color: #FFFFFF;
	font-weight: bold;
	margin-left: 80px;
	padding: 10px 20px;
}
.contact_us_form input[type="submit"]:hover {
	background: #E5EAE3;
	color: #423B26;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family: 'cgfuturamaxidemedium';
	src: url('/wp-content/themes/S-and-G-Agricultural-Contractors-2014/fonts/cgfuturamaxide-webfont.eot');
	src: url('/wp-content/themes/S-and-G-Agricultural-Contractors-2014/fonts/cgfuturamaxide-webfont.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/themes/S-and-G-Agricultural-Contractors-2014/fonts/cgfuturamaxide-webfont.woff') format('woff'),
		url('/wp-content/themes/S-and-G-Agricultural-Contractors-2014/fonts/cgfuturamaxide-webfont.ttf') format('truetype'),
		url('/wp-content/themes/S-and-G-Agricultural-Contractors-2014/fonts/cgfuturamaxide-webfont.svg#cgfuturamaxidemedium') 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("/wp-content/themes/S-and-G-Agricultural-Contractors-2014/img/logo-white.png") center top no-repeat;
	padding-top: 157px;
}

.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 (max-width:1820px) {
	.content_wrapper {
		background-position: left top;
	}
}

@media only screen and (max-width:980px) {
	.home-page .boxes_wrapper {
		display: none;
	}
	.logo_wrapper {
		margin-top: 20px;
	}
	.header_logo {
		display: block;
		margin: 0 auto;
	}
	.header_tagline {
		display: block;
		padding: 10px;
	}
	.header_actionline {
		text-align: center;
	}

	section[role=main] {
		display: block;
		padding-left: 10px;
	}
	section[role=main] img {
		width: 100%;
	}

	#main_content_area .gallery br {
		display: none;
	}

	#main_content_area dl.gallery-item {
		display: inline-block;
		float: none;
		padding: 0 10px;
		vertical-align: top;
		width: auto;
	}

	.sidebar {
		display: block;
		width: 100%;
	}
	.footer_logo {
		display: block;
		margin: 0 auto;
		padding: 15px 0;
		text-align: center;
	}
	.footer_tagline {
		display: block;
		padding: 0 50px 15px 50px;
	}
	.footer_content .copyright {
		padding-left: 10px;
	}
	.footer_content .credits {
		padding-right: 10px;
	}
}

@media only screen and (max-width:325px) {
	.sidebar {
		padding: 5px;
	}
}



@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;
	}
}
.ytc_error {
  display: none;
}
