/*
Theme Name: Twentythirteen - Child Theme
Description: Twentythirteen child theme for MasterGrind
Author: Joel Colletti
Template: twentythirteen

*/

@import url("../twentythirteen/style.css");


/*-----------------------------------------------
  Body - All
-----------------------------------------------*/
html{
  min-height: 100%;
}
body {
  min-height: 100%;
  height: 100%;
}

body {
	background-color: rgb(255,255,255);
	background-image: url('../../uploads/2014/11/blue-grid-bg.png');
	background-repeat: repeat-x;
	background-attachment: fixed;
	background-position: top;
}
.site {
	background: none;
	border-left: none;
	border-right: none;
	margin: 0 auto;
	max-width: 1080px;
	width: 100%;
}

p{
}

blockquote {
	/*display: inline;*/
}
blockquote p:before {
	content:"\201C";
}
blockquote p:after {
	content:"\201D";
}
/*links*/
a{
}

a:hover{
}

a:visited{
}

/*headings*/
h1, h2, h3, h4, h5, h6{
	font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;
	font-weight: 400;
	color:rgb(57,181,74);
	margin-bottom: .25em;
}

h1{
	font-size: 200%;
}
h2{
	font-size: 175%;
	color: rgb(113,101,88);
}
h3{
	font-size: 150%;
}
h4{
	font-size: 125%;
	color: rgb(113,101,88);
}
h5{
	font-size: 112%;
}
h6{
	font-size: 100%;
	color: rgb(113,101,88);
}

/*-----------------------------------------------
  Header Section
  /wp-content/uploads/2014/11/faded-hex-bg.png
  /wp-content/uploads/2014/11/icon-solor-header-logo_200x160.png
-----------------------------------------------*/
.site-header{
	max-width: 1080px;
	margin: 0 auto;
	position: relative;
}
.site-header .home-link {
	display: block;
	width: 435px;
	height: 180px;
	min-height: 180px;
	background: url('../../uploads/2014/11/js-header-logo_435x180.png') no-repeat;
	padding: 0;
	margin: 20px 0;
	/*left: 0px;*/
	text-decoration: none;
}
.site-title {
	font-size: 100%;
	line-height: 0;
	margin: 0;
	padding: 0;
	text-indent: -9999px;
}
.site-description {
	display: none;
}
/*Header Social Networking Icons/Links*/
hgroup.social {
	display: inline-block;
	position: absolute;
	top: 20px;
	right: 0;
}
hgroup.social ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
hgroup.social ul li {
	float: left;
	display: block;
	width: 35px;
	height: 35px;
	margin-left: 10px;
}
hgroup.social ul li a {

}
hgroup.social ul li a img {
	width: 35px;
	height: 35px;
}
/*Header Call to Action Stuff*/
hgroup.info {
	display: inline-block;
	text-align: right;
	position: absolute;
	bottom: 60px;
	right: 0;
}
hgroup.info * {
	margin: 0;
	padding: 0;
	font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;
	font-weight: normal;
}
hgroup.info h3, hgroup.info h3 a:link, hgroup.info h3 a:active, hgroup.info h3 a:visited{
	color: rgb(0,113,188);
	text-decoration: none;
	font-size: 130% !important;
}
hgroup.info h3 a:hover {
	text-decoration: underline;
}
hgroup.info h4 {
	font-size: 130% !important;
	color: rgb(57,181,74);
}
/**
 * 4.2 Navigation
 * ----------------------------------------------------------------------------
 */

.main-navigation {
	clear: both;
	margin: 0 auto;
	max-width: 1080px;
	min-height: 45px;
	position: relative;
}

/* Navbar */
.navbar {
	margin: 0 auto;
	max-width: 1600px;
	width: 100%;
	border-radius: 10px;
	border: 1px solid rgb(113,101,88);
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(113,101,88,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(113,101,88,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(113,101,88,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(113,101,88,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(113,101,88,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(113,101,88,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#716558',GradientType=0 ); /* IE6-8 */
}

ul.nav-menu,
div.nav-menu > ul {
	margin: 0;
	padding: 0 40px 0 0;
}

.nav-menu li {
	display: inline-block;
	position: relative;
}

.nav-menu li a {
	color: rgb(78,64,48);
	display: block;
	font-size: 18px;
	font-weight: 500;
	line-height: 18px;
	padding: 13px 15px 10px 15px;
	text-decoration: none;
	text-transform: uppercase;
}

.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background: none;
	color: #fff;
	text-shadow: 2px 1px 2px rgba(100, 100, 100, 1);
}

.nav-menu .sub-menu,
.nav-menu .children {
	background: rgb(175,175,175);
	background: rgba(113,101,88,0.9);
	border: 1px solid rgb(113,101,88);
	border-top: 0;
	margin-top: 0px; /*Push the submenu down 1px to compensate for were the top border is missing and prevent overlap over navbar*/
	padding: 0;
	position: absolute;
	left: -2px;
	z-index: 99999;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	border-radius: 0px 0px 10px 10px;
}

.nav-menu .sub-menu ul,
.nav-menu .children ul {
	border-left: 0;
	left: 100%;
	top: 0;
}

ul.nav-menu ul a,
.nav-menu ul ul a {
	color: rgb(255,255,255);
	margin: 0;
	width: 300px;
}

ul.nav-menu ul a:last-of-type,
.nav-menu ul ul a:last-of-type {
	border-radius: 10px;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: rgb(78,64,48);
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul,
ul.nav-menu .focus > ul,
.nav-menu .focus > ul {
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
	color: rgb(0,113,188);
	font-style: normal;
}
/*current submenu links*/
.nav-menu .current_page_item > a,
.nav-menu .current-menu-item > a {
	font-style: normal;
}

.menu-toggle {
	display: none;
}
h3.menu-toggle {
	color: rgb(255,255,255);
}
.toggled-on .nav-menu li {
	display: block;
}

 /*skip-link*/
.site-header .search-form {
	position: absolute;
	right: 20px;
	top: 1px;
}

.site-header .search-field {
	background-color: transparent;
	background-image: url(images/search-icon.png);
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 24px 24px;
	border: none;
	cursor: pointer;
	height: 37px;
	margin: 3px 0;
	padding: 0 0 0 34px;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 0;
	border-radius: 20px;
}

.site-header .search-field:focus {
	background-color: #fff;
	border: 2px solid #c3c0ab;
	cursor: text;
	outline: 0;
	width: 230px;
}
/*media break points for topnav toggled on "small menu"*/
@media (max-width: 643px) {
	.menu-toggle {
		display: block;
	}
	.toggled-on .nav-menu li a:hover, .toggled-on .nav-menu ul a:hover {
	 background: none; 
	}
}

/**
 * 5.0 Content
 * ----------------------------------------------------------------------------
 */
.hentry {
	margin-top: 0;
	padding-top: 0;
}
.entry-content {
	padding: 20px;
	margin: 20px 0;
	color: rgb(50,50,50);
	border-radius: 10px;
	background: rgb(255,255,255);
	border: 1px solid rgb(50,50,50);
	-webkit-box-shadow: 0px 2px 3px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 2px 3px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 2px 3px 0px rgba(50, 50, 50, 0.75);
}

.entry-header,
.entry-content,
.entry-summary,
.entry-meta {
	margin: 0 auto;
	max-width: 100%;
	width: 100%;
}

.sidebar .entry-header,
.sidebar .entry-content,
.sidebar .entry-summary,
.sidebar .entry-meta {
	max-width: 1080px;
	padding: 0 376px 0 60px;
}
.entry-header {
	margin: 20px 0px 20px 0px;
}
/*Page Title*/
.entry-header h1 {
	color: rgb(57,181,74);
	font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;
}
/*Post Title Link*/
.entry-title a:link, .entry-title a:visited, .entry-title a:active {
	color: rgb(0,113,188);
	text-decoration: none;
}
.entry-title a:hover {
	text-decoration: underline;
}
/*Post Meta Links*/
.entry-meta a:link, .entry-meta a:visited, .entry-meta a:active {
	color:rgb(255,255,255);
}
.entry-meta a:hover {

}
/* -------------------- Embedded Content Images*/
.entry-content img {
	background: #FFF;
	border: 1px solid #DDD;
	box-shadow: 0 4px 5px #A5A5A5;
	padding: 4px;
	border-radius: 5px;
}
.entry-content img.alignleft, .entry-content .wp-caption.alignleft {
	margin-left: -60px;
	margin: 5px 20px 5px 0;
}
.entry-content img.alignright, .entry-content .wp-caption.alignright {
	margin-right: -60px;
	margin: 5px 0 5px 20px;
}
/*-----------------------------------------------
  Footer Section
-----------------------------------------------*/
.site-footer {
	max-width: 1080px;
	margin: 0px auto 20px auto;
	border-radius: 10px;
	background: rgba(113,101,88, .9);
	color:rgb(255,255,255);
	padding: 0 20px;
}
.site-footer p {
	margin-bottom: 0;
}

.site-footer a:link, .site-footer a:active, .site-footer a:visited {
	color:rgb(255,255,255);
	font-weight: normal;
}
.site-footer a:hover {
	text-decoration: underline;
	color:rgb(255,255,255);
}
/* footer menu links */
.site-info {
	padding: 20px 0;
}
.site-info li{
	display: inline;
}

.site-info li + li:before{
	content: " | ";
	padding: 0 10px;
}

.site-info .menu{
	margin: 0;
	padding: 0;
}

/*-----------------------------------------------
  Page Specific Styles
-----------------------------------------------*/

/* --------------------------- Homepage Content*/
 .soliloquy-container {
 	margin-top: 15px;
 }
.soliloquy-item img {
	border-radius: 10px;
	border: 1px solid rgb(55,55,55);
	/*undue the global image treatment styles*/
	background: none;
	padding: 0;
	-webkit-box-shadow: 0px 2px 3px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 2px 3px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 2px 3px 0px rgba(50, 50, 50, 0.75);
}

article.featured *, article.callouts * {
	padding: 0;
	margin: 0;
	border: 0;
	box-sizing: border-box;
}
article {
	position: relative;
	overflow: hidden;
}
article.featured p, article.callouts p {
	font-size: 90%;
	line-height: 1.5;
}
/*Row 2 : 4 Featured Items*/
article.featured section {
	position: relative;
	overflow: hidden;
	float:left;
	width:24%;
	width: calc(25% - 15px);
	text-align: left;
	border-radius: 10px;
	padding: 10px 10px 50px 10px;
	margin: 20px 20px 5px 0;
	color: rgb(0,0,0);
	border: 1px solid rgb(55,55,55);
	min-height: 300px;
	background: rgb(255,255,255);
	background: rgba(255,255,255,0.9);
	-webkit-box-shadow: 0px 2px 3px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 2px 3px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 2px 3px 0px rgba(50, 50, 50, 0.75);
}
article.featured section:last-of-type {
	/*width: 25%;*/
	margin-right: 0;
}
/*Callout Internal Styles*/
article.featured section h5 {
	text-align: center;
	color: rgb(0,113,188);
	border-radius: 8px;
	font-size: 150%;
	padding: .25em;
	margin-bottom: .5em;
}
article.featured section p {

}

p.link {
	display: block;
	position: absolute;
	bottom: 20px;
	line-height: 1.5;
	width: 100%;
	left: 0;
	text-align: center;
	margin: 0 !important;
}
p.link a:link, p.link a:visited {
	padding: .25em 1.25em;
	background-color: rgb(0,113,188);
	color: rgb(255,255,255)!important;
	text-decoration: none !important;
	border-radius: 15px;
}
p.link a:hover {
	background-color: rgb(57,181,74) !important;
	color: rgb(255,255,255)!important;
	text-decoration: none !important;
	box-shadow: 0px 1px 2px rgba(100, 100, 100, 1);
}
/*Row 3 : Big Callouts*/
article.callouts section {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	min-height: 360px;
	border: 1px solid rgb(55,55,55);
	width: 49%;
	width: calc(50% - 10px);
	padding: 25px 25px 50px 25px;
	margin-top: 15px;
	float: left;
	background: rgb(255,255,255);
	background: rgba(255,255,255,0.9);
	-webkit-box-shadow: 0px 2px 3px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 2px 3px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 2px 3px 0px rgba(50, 50, 50, 0.75);
	margin-bottom: 5px;
}
article.callouts section:last-of-type{
	margin-left: 20px;
}
article.callouts section h4{
	color: rgb(57,181,74);
	border-radius: 8px;
	font-size: 150%;
	padding: .25em;
	margin-bottom: .5em;
}
article.callouts section p {
	margin-bottom: 1em;
}
article.callouts section p.center {
	margin-bottom: 0;
	text-align: center;
}
article.callouts section ul {
	margin: .5em 0;
}
article.callouts section ul li {
	list-style-type: disc;
	margin-left: 1em;
	color: rgb(57,181,74);
	font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;
	font-size: 112%;
}

/* --------------------------------- Contact Page */

/*Full Width Google Map*/
section.gmap {
	width: 100%;
	height: 55%;
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid rgb(55,55,55);
	margin: 20px 0;
}
section.gmap iframe {
	width: 100%;
	height: 55%;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}
p.contact-info {
	overflow: hidden;
}
p.contact-info strong {
	font-weight: normal;
	display: inline-block;
	width: 100px
}
p.contact-info em {
	font-style: normal;
}
/*Contact 7 Form Styles*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 input[type="file"],
.vresp input[type="text"]
{
	border: 1px solid rgba(150,150,150, 0.8);
	background: rgba(255,255,255, 0.5);
	border-radius: 8px;
	padding: .5em;
	margin: 5px;
	width: 98%;
	box-sizing: border-box;
}
.wpcf7 input[type="text"]:hover,
.vresp input[type="text"]:hover,
.wpcf7 input[type="email"]:hover,
.wpcf7 input[type="tel"]:hover,
.wpcf7 textarea:hover,
.wpcf7 input[type="file"]:hover
{
	border: 1px solid rgba(55,55,55, 1);
	background: rgba(255,255,255, 0.8);
}
.wpcf7 input[type="file"]{
	color: rgb(255,255,255);
}
.wpcf7 button, .wpcf7 input[type="submit"], .wpcf7 input[type="button"], .wpcf7 input[type="reset"],
.vresp button, .vresp input[type="submit"], .vresp input[type="button"], .vresp input[type="reset"]{
	border-radius: 10px;
}
.half{
	width: 50%;
	float: left;
	box-sizing: border-box;
	padding: 0 10px;
}
a.email-btn {
	box-shadow: #000 1px 1px 5px;
	border-radius: 15px;
  	color: #fff;
  	display: block;
  	padding: 10px;
  	width: 100%;
  	text-align: center;
  	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(113,101,88,1)));
  	background: -webkit-linear-gradient(top, (0, 173, 238, 1) 0%,rgba(0, 108, 161, 1) 100%);
  	background: -o-linear-gradient(top, rgba(0, 173, 238, 1) 0%,rgba(0, 108, 161, 1) 100%);
  	background: -ms-linear-gradient(top, rgba(0, 173, 238, 1) 0%,rgba(0, 108, 161, 1) 100%);
  	background: linear-gradient(to bottom, rgba(0, 173, 238, 1) 0%,rgba(0, 108, 161, 1) 100%);
}
a.email-btn:hover {
  color: #000;
  text-decoration: none;
  box-shadow: #000 2px 2px 5px;
}
/*-----------------------------------------------
  Media Queries
-----------------------------------------------*/
/* ------- media break points for homepage stuff */
@media (max-width: 1000px) {
	article.callouts section, article.callouts section:last-of-type {
		position: relative;
		overflow: hidden;
		width: 49%;
		width:calc(50% - 20px);
		min-height: inherit;
	}
} 


@media (max-width: 855px) {
	.site-header .home-link {
		margin: 10px auto;
	}
	.site-description, hgroup.info {
		display: block;
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		text-align: center;
	}

	hgroup.info h3:after {
		content:"\00a0";
	}

	hgroup.info h3, hgroup.info h4 {
		display: block;
	}
	hgroup.info h4 {
		margin-bottom: 1em;
	}

	article.featured section{
		width: 46%;
		min-height: 280px;
	}
}
@media (max-width: 800px) {
	article.callouts section, article.callouts section:last-of-type, article.row2 section.vid, article.row2 section.info {
		position: relative;
		overflow: hidden;
		float: none;
		width: 100%;
		margin: 20px 0px 0px 0px;
		min-height: auto;
	}
	article.row2 section.vid {
		margin-top: 0;
	}
	.site {
		padding: 0 20px;
	}
}

@media (max-width : 643px) {
	.half{
		width: 100%;
		float: none;
	}

	article.featured section{
		width: 100%;
		min-height: 0;
	}

	ul.nav-menu li:hover > ul,
	.nav-menu ul li:hover > ul,
	ul.nav-menu .focus > ul,
	.nav-menu .focus > ul {
		border: 0;
	}
	
}