/*
Theme Name:     Balanced Energy Solutions Theme
Description:    Child theme of Twenty Twelve
Author:         Susan Langenes
Author URI:     http://susan.collagecreative.net/
Template:       twentytwelve
Version:        0.1.0
*/

@import url("http://balancedenergysolutions.net/wp-content/themes/twentytwelve/style.css");

/*.entry-meta,*/ .nav-single {display: none;}

body.custom-font-enabled  { /* font-family: SommetSlabRndHeavy; */ 
	font-family: 'open sans', helvetica, arial, sans-serif; 
}

body .site {
	margin: 0 auto;
	padding: 0;
	background: url('img/BackgroundTile_GreyNoise_256x256.jpg');

}

h1, h2, h3, h4, h5  {color: #E21F2E; font-family: SommetSlabRndHeavy; font-weight:normal; }

.entry-header .entry-title, .entry-content h2 {
	font-size: 30px;
	font-size: 2.125rem;
}
.entry-content {
	max-width: 960px;
}
.entry-content li {
	background: url(http://balancedenergysolutions.net/wp-content/uploads/2014/01/circle_arrow_red.png) left no-repeat;
	background-size: 15px;
	padding-left: 19px;
	margin: 0 20px 9px 4px;
	font-size: 1.2em;
	list-style-type: none;
	font-weight: bold;
	background-position-y: 7px;
}

.entry-content p, .entry-content li {color: #650034;}

.entry-content h2 {
	margin: 0;
}

.site {
	max-width: 100%;
}

header {
	color: white;
}

.floatleft {float: left; margin-right: 15px; margin-top: 24px;}
.floatright {float: right;}
.clearleft {clear: left;}
.clearright {clear: right;}
.clearme {clear: both;}


.textbox { width: 40%; }
.textbox:first-child { margin-right: 20px; }

img.header-image {
	box-shadow: 0 0 0 0;
	max-width: 320px;
	margin-top: 3em;
}

.sitewidth, #main, .nav-menu {
	max-width: 960px;
	margin: 0 auto;
	padding-top: 0;
}

#masthead {
	padding: 0;
	/*background: url(http://balancedenergysolutions.net/wp-content/uploads/2013/09/header-image.png) left no-repeat #ee2e24;
	background-position-y: -60px; */
		
}
.headWrap {
	background: url(http://balancedenergysolutions.net/wp-content/uploads/2014/01/header-image-scaled.png) left no-repeat #ee2e24;
	min-height: 175px;
	background-size: contain;
}
@media screen and (min-width: 1200px) {
	.headWrap {
		background: url(http://balancedenergysolutions.net/wp-content/uploads/2014/01/header-image-scaled-fixed.png) left no-repeat #ee2e24;
		min-height: 175px;
		background-size: contain;
	}
	img.header-image {
		opacity: 0;
	}
}
.tagline {
	font-size: 1.8em;
	padding: 14px 0 10px;
}

.shadow {
	background: url(http://balancedenergysolutions.net/wp-content/uploads/2013/09/image-shadow.png) no-repeat bottom;
	background-size: 100% auto;
}

.image {
	background: url(http://balancedenergysolutions.net/wp-content/uploads/2013/09/front-image.jpg) top no-repeat;
	background-size: 100% auto;
	border: white thick solid;
}

.image p {
	text-align: right;
	color: white;
	text-shadow: 0 0 8px black;
	font-size: 1.4em;
	padding: 382px 26px 0;
}

.shadow {
	background: url(http://balancedenergysolutions.net/wp-content/uploads/2013/09/image-shadow.png) no-repeat bottom;
	background-size: 100% auto;
	padding-bottom: 39px;
}

.pnumber {
	font-weight: bold;
	font-size: 1.3em;
	font-family: 'Exo 2', sans-serif;
	background: url(http://balancedenergysolutions.net/wp-content/uploads/2013/09/phonenumber.png) left no-repeat;
	background-size: 32px;
	letter-spacing: 1px;
	width: 66%;
	float: right;
	padding: 14px 0 10px 13px;
}

nav {
	background: #7b1c20; /* Old browsers */
	background: -moz-linear-gradient(top,  #7b1c20 0%, #b3282e 33%, #b4282e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7b1c20), color-stop(33%,#b3282e), color-stop(100%,#b4282e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #7b1c20 0%,#b3282e 33%,#b4282e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #7b1c20 0%,#b3282e 33%,#b4282e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #7b1c20 0%,#b3282e 33%,#b4282e 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #7b1c20 0%,#b3282e 33%,#b4282e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b1c20', endColorstr='#b4282e',GradientType=0 ); /* IE6-9 */
}
.menu-main-menu-container {
	max-width: 960px;
	margin: 0 auto;
}
.main-navigation {
	-webkit-box-shadow: 0px 10px 10px rgba(50, 50, 50, 0.4);
	-moz-box-shadow: 0px 10px 10px rgba(50, 50, 50, 0.4);
	box-shadow: 0px 10px 10px rgba(50, 50, 50, 0.4);
	margin-bottom: 24px;
	margin-top: 0;
}
.main-navigation li ul li a {
	background: #b4282e;
	color: white;
	border-bottom: none;
	display: block;
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
	padding: 8px 10px;
	padding: 0.571428571rem 0.714285714rem;
	width: 180px;
	width: 12.85714286rem;
	white-space: normal;
}
.main-navigation li ul li a:hover {
	background: #750D12;
	color: white;
}
.main-navigation li {margin: 0 10px 0 7px;}

.main-navigation li a {
	color: white;
	padding: 0 20px;
	margin: 0;
	font-weight: bold;
	text-transform: none;
}
.nav-single {
	background: transparent;
}
.current_page_item a {
	color: #ee2e24;
	background: linear-gradient(to bottom, #b0b1b5 0%,#dedfe1 20%,#fefefe 32%,#ffffff 100%);
}
.current_page_item .sub-menu a {
	background: #b4282e;
	color: white;
}
.current_page_ancestor a {
	background: linear-gradient(to bottom, #b0b1b5 0%,#dedfe1 20%,#fefefe 32%,#ffffff 100%);
	color: #ee2e24;
}
.current_page_item a, .main-navigation li a:hover {
	color: #ee2e24;
	background: #b0b1b5; /* Old browsers */
	background: -moz-linear-gradient(top,  #b0b1b5 0%, #dedfe1 20%, #fefefe 32%, #ffffff 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b0b1b5), color-stop(20%,#dedfe1), color-stop(32%,#fefefe), 
			color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #b0b1b5 0%,#dedfe1 20%,#fefefe 32%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #b0b1b5 0%,#dedfe1 20%,#fefefe 32%,#ffffff 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #b0b1b5 0%,#dedfe1 20%,#fefefe 32%,#ffffff 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #b0b1b5 0%,#dedfe1 20%,#fefefe 32%,#ffffff 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b0b1b5', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}


/*.main-navigation .current_page_ancestor > a {
	color: white;
}*/
.menu-item-28 a {
	color: #b4282e;
}
/*.main-navigation .current-menu-item > a, 
.main-navigation .current_page_item > a {
	color: #b4282e;
}*/
.main-navigation ul .sub-menu a {
	color: white;
	margin-left: -7px;
}
#menu-main-menu {
	border-bottom: none;
	border-top: none;
}
/* -- Footer widget styling -- */
footer {
	text-align: center;
}
footer img {
	display: inline;
	margin-right: 24px; 
	text-align: center;
	max-height: 48px;
}
footer .textwidget {
	max-width: 90%;
	margin: 0 auto;
	padding: 12px 0px;
	color: #CBCBCB;
	font-size: 1em;
	font-weight: normal;
	line-height: 1.8;
}
.footer-widgets .widget-title	{
	display: none;
}
.widget-title {
	color: #E21F2E;
	font-size: 1rem;
	font-weight: normal;
}
.widget img {
	box-shadow: none;
}
.footer-top {
	background: #4f5154; /* Old browsers */
	background: -moz-linear-gradient(top,  #4f5154 0%, #757679 27%, #757679 97%, #6e6f73 98%, #606165 99%, #606165 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4f5154), color-stop(27%,#757679), color-stop(97%,#757679), color-stop(98%,#6e6f73), 
	color-stop(99%,#606165), color-stop(100%,#606165)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #4f5154 0%,#757679 27%,#757679 97%,#6e6f73 98%,#606165 99%,#606165 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #4f5154 0%,#757679 27%,#757679 97%,#6e6f73 98%,#606165 99%,#606165 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #4f5154 0%,#757679 27%,#757679 97%,#6e6f73 98%,#606165 99%,#606165 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #4f5154 0%,#757679 27%,#757679 97%,#6e6f73 98%,#606165 99%,#606165 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f5154', endColorstr='#606165',GradientType=0 ); /* IE6-9 */
}
footer#colophon {
	background: #606165;
	max-width: 100%;
	margin-top: 0;
	padding: 0;
	line-height: 1;
}
aside#text-3 {
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0.17, #4D4C4D),
		color-stop(0.47, #777777)
	);
	background-image: -o-linear-gradient(bottom, #4D4C4D 17%, #777777 47%);
	background-image: -moz-linear-gradient(bottom, #4D4C4D 17%, #777777 47%);
	background-image: -webkit-linear-gradient(bottom, #4D4C4D 17%, #777777 47%);
	background-image: -ms-linear-gradient(bottom, #4D4C4D 17%, #777777 47%);
	background-image: linear-gradient(to bottom, #4D4C4D 17%, #777777 47%);
}
aside#text-3 a {
	float: right;
}
aside#text-3 img {
	max-height: 42px;
}
.footer-widgets#text-3 {
	padding-top: 18px;
	padding-bottom: 18px;
}
.site-header,
.wrapper { 
	padding: 0 24px;
	padding: 0 1.714285714rem;
}
.wrapper { background: url('img/BackgroundTile_GreyNoise_256x256.jpg'); min-height: 600px;}
.site-content article {
	border-bottom: none;
	margin-bottom: 0;
	min-height: 240px;
}
.home .entry-header { height: 0; margin: 0; }
.home .entry-title { text-indent: -9999px; }

/* header widgets */
.header-widgets { 
	float: right;
	text-align: right; 
	margin-top: 24px;
}

/* Slider Changes 11/15 -Salvatore */
.rsText {
	position: absolute;
	right: 3%;
	bottom: 4%;
	font-size: 1.3em;
	text-align: right;
}
p.line-1, p.line-2 {  
	margin: 0;
	color: white;
	text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
} 
.royalSlider {
	border: .5em solid #FFFFFF;
	-webkit-box-shadow: 0px 5px 5px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 5px 5px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 5px 5px rgba(50, 50, 50, 0.75);
}

.textbox p {
	font-weight: 200;
}
.page-template-page-templatespage-inquiries-php .widget-area {
	position: absolute;
	right: 10%;
	top: 285px;
	-webkit-hyphens: none;
  -moz-hyphens: none;
  hyphens: none;
}
#text-5 .widget-title {
	font-family: SommetSlabRndHeavy;
	text-transform: none;
	font-size: 1.4rem;
}
#text-5 .textwidget {
	color: #650034;
}
/* Adjustments for smaller screen sizes -Salvatore */
@media screen and (min-width: 1200px) and (max-width: 1700px) {
	/*#masthead {
		background: url(http://balancedenergysolutions.net/wp-content/uploads/2014/01/bes-header-image-combo.png) left no-repeat #ee2e24;
		background-position-y: -60px; 
	}
	img.header-image {
		box-shadow: 0 0 0 0;
		max-width: 320px;
		opacity: 0;
	}*/
}
@media screen and (max-width: 1100px) {
	.page-template-page-templatespage-inquiries-php .widget-area {
		position: absolute;
		right: 10%;
		top: 285px;
	}
}
@media screen and (max-width: 1024px) {
	.post-11 blockquote {
		max-width: 70%;
	}

}
@media screen and (max-width: 980px) {
	img.header-image {
		margin-left: 20px; 
	}
	#headWidgets {
		margin-right: 20px;
	}
}
@media screen and (max-width: 800px) {
	.floatleft {
		width: 100%;
	}
	.firstHalf {
		float: left;
		max-width: 90%;
	}
	.page-template-page-templatespage-inquiries-php .widget-area {
		position: relative;
		float: left;
	}
	.headWrap {
		background-size: cover;
	}
}
@media screen and (max-width: 600px) {
	#masthead { background-size: cover; }

	img.header-image {
		margin: 12px auto; 
	}
	.headWrap {
		text-align: center;
	}
	#headWidgets {
		margin: 0 0 0 20px;
	}
}

@media screen and (min-width: 601px) {
	/*.header-widgets {
		display: inline-block;*/
	}
}
@media screen and (max-width: 481px) {
	.service-content-class img {
		float: none;
		width: 100%;
		margin: 0;
	}
	/*.mobileTag {
		display: inline-block;
		float: left;
	}*/
}
/*.mobileTag {
	display: none;
}*/
/* Minimum height for lager screens */
@media and (min-height: 600px) {
	body .site {
		min-height: 850px;
	}
	#masthead {
		background-size: cover;
		background-position-x: inherit;
	}
}

@media screen and (min-width: 600px) {
	.main-navigation .current-menu-item > a, 
	.main-navigation .current-menu-ancestor > a, 
	.main-navigation .current_page_item > a, 
	.main-navigation .current_page_ancestor > a {
		color: #ee2e24;
		font-weight: bold;
	}
}
/* Team Member Styling 11/17 -Salvatore */
.team_member img, .service-image img {
	border: 7px solid #FFFFFF;
	-webkit-box-shadow: 0px 5px 5px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 5px 5px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 5px 5px rgba(50, 50, 50, 0.75);
}
.team_member:nth-child(1) {
	margin-right: 8%;
}
.team_member:nth-child(-n+2) {
	margin-top: 2%;
	margin-bottom: 2%;
	max-width: 46%;
	display: inline-block;
	float: left;
}
.team_member:nth-child(-n+2) img {
	float: left;
	width: 40%;
	margin: 0 10px 0 0;
}
.team_member:nth-child(n+3) {
	float: left;
	width: 23%;
	margin-right: 15%;
}
.team_member:last-child {
	margin-right: 0;
}
.team_member:nth-child(n+3) img {
	width: 90%;
	margin: 0;
}
/* Single Pages */
.single-team_member .team_member {
	max-width: 100%;
}
.single-team_member .team_member img {
	width: 25%;
}
.site-content {
	width: 100%;
}
/* Styling for Services page */
.service-header {
	margin-bottom: 5px;
	font-size: 2em;
}
.service-content-class p {
	color: #650034;
	width: 60%;
}
.single-team_member .nav-single {
	display: inline-block;
}
.service-content-class img {
	border: 7px solid #FFFFFF;
	float: right;
	width: 40%;
	margin-left: 1em;
	margin-bottom: 24px;
	-webkit-box-shadow: 0px 5px 5px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 5px 5px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 5px 5px rgba(50, 50, 50, 0.75);
	position: relative;
	top: -30px;
}
article .service {
	margin-bottom: 0;
}
/* -- Project gallery page styling */
.project-header {
	margin-bottom: 5px;
	font-size: 2em;
}
.project-content-class p {
	color: #650034;
	width: 60%;
}
.project-content-class img {
	border: 7px solid #FFFFFF;
	float: right;
	width: 40%;
	margin-left: 1em;
	margin-bottom: 24px;
	-webkit-box-shadow: 0px 5px 5px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 5px 5px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 5px 5px rgba(50, 50, 50, 0.75);
	position: relative;
	top: -30px;
}
article .project {
	margin-bottom: 0;
}
/*
.page-template-page-templatespage-project-php .entry-header {
	margin-bottom: 0;
}
.page-template-page-templatespage-project-php .site-content article {
	max-height: 240px;
	overflow: hidden;
}
div .project-content-class {
	float: left;
	max-width: 100%;
	margin: -20px 12px 0 0;
}
article .project {
	min-height: 260px;
}
.project {
	margin-top: 2%;
	max-width: 48%;
	margin-right: 2%;
	display: inline-block;
	float: left;
}
.project h1 {
	margin: 0;
	font-size: 1.6rem;
	position: relative;
	left: 189px;
	color: #b4282e;
}
.project p {
	color: #650034;
	line-height: 1.5;
	margin-top: 24px;
}*/
/* Gallery Styling */
/*
.gallery {
 	margin: 0 auto;
 	float: left;
}
.gallery-item {
	display: none;
	max-width: 200px;
	float: left;
}
div .gallery-size-thumbnail {
	max-height: 200px;
}
#gallery-1 .gallery-item { 
	width: 100%;
}
#gallery-2 .gallery-item {
	width: 100%;
}
#gallery-1 img {
	border: 8px solid #FFFFFF;
}
#gallery-2 img {
	border: 8px solid #FFFFFF;
}
.gallery .gallery-icon img {
  border: 8px solid #FFFFFF;
  padding: 0;
}
.gallery-caption {
	margin: 0;
}*/
.post-7 .textbox {
	width: 100%;
}
.post-7 img {
	border: .5em solid white;
	-webkit-box-shadow: 0px 5px 5px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 5px 5px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 5px 5px rgba(50, 50, 50, 0.75);
	max-width: 50%;
	margin-bottom: 48px;
}
.post-7 img:nth-child(2) {
	border: 0;
	margin: 0;
	z-index: 100;
	box-shadow: none;
	position: absolute;
	right: -50px;
	top: -15px;
}
#badgeWrap img {
	border: 0;
	margin: 0;
	z-index: 100;
	box-shadow: none;
	position: absolute;
	right: -50px;
	top: -15px;
}
.imgWrap {
	position: relative;
}
.site-content a {
	color: #E21F2E;
	text-decoration: none;
}
/* -- Testimonials styling -- */
.post-11 blockquote {
	max-width: 37%;
	min-height: 160px;
	float: left;
	padding: 0 24px 24px 0;
	font-style: normal;
}
.post-11 blockquote p {
	font-size: 1.1rem;
	color: #650034;
}
.post-11 img {
	margin: 0;
	box-shadow: none;
	float: right;
}
/* -- Rebates styling -- */
.post-15 p {
	max-width: 80%;
	float: left;
	color: #650034;
}
.post-15 p:first-child {
	max-width: 100%;
	color: #650034;
}
.post-15 img {
	float: right;
	max-width: 20%;
	box-shadow: none;
	margin-top: 5%;
	margin-bottom: 6%;
}
.post-15 .entry-header {
	margin-bottom: 0;
}
div .rebatewrap {
	max-width: 45%;
	min-height: 200px;
	margin: 0 5% 0 0;
	float: left;
}
.rebatewrap h3 {
	margin: 0;
	font-size: 1.4rem;
	color: #650034;
}
.tagline { font-family: SommetSlabRndHeavy; }
.pnumber { font-family: 'Exo 2', sans-serif; font-weight: bold; }
/* -- Inquiries page styling -- */
.firstHalf {
	max-width: 48%;
	float: left;
	margin-right: 2%;
	display: inline-block;
}
.secondHalf {
	max-width: 50%;
	float: left;
	display: inline-block;
}
@media screen and (max-width: 870px) {
	.project {
		max-width: 80%;
	}
}
/* -- Mobile Nav -- */
@media screen and (max-width: 600px) {
	.main-navigation ul.nav-menu,
	.main-navigation div.nav-menu > ul {
		border-bottom: 1px solid #ededed;
		border-top: 1px solid #ededed;
		display: inline-block !important;
		text-align: center;
		width: 100%;
	}
	.main-navigation ul {
		margin: 0;
		text-indent: 0;
		width: 100%;
	}
	.main-navigation li a,
	.main-navigation li {
		display: inline-block;
		text-decoration: none;
		width: 100%;
	}
	.main-navigation li a {
		border-bottom: 0;
		padding: 0;
		line-height: 3.692307692;
		text-transform: uppercase;
		text-align: center;
		white-space: nowrap;
	}
	.main-navigation li a:hover {
	}
	.main-navigation li {
		margin: 0;
		position: relative;
	}
	.main-navigation li ul {
		display: none;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 1;
	}
	.main-navigation li ul ul {
		top: 0;
		left: 100%;
	}
	.main-navigation ul li:hover > ul {
		border-left: 0;
		display: block;
	}
	.main-navigation li ul li a {
		border-bottom: 1px solid white;
		display: block;
		font-size: 11px;
		font-size: 0.785714286rem;
		line-height: 2.181818182;
		padding: 8px 10px;
		padding: 0.571428571rem 0.714285714rem;
		width: 180px;
		width: 12.85714286rem;
		white-space: normal;
	}
	.main-navigation ul.sub-menu a {
		text-align: center;
		width: 100%;
		background: #636363;
	}
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a,
	.main-navigation .current_page_item > a,
	.main-navigation .current_page_ancestor > a {
		font-weight: bold;
	}
	.main-navigation .current_page_item a {
		background: #ee2e24;
	}
	.menu-toggle {
		display: none;
	}
	.main-navigation ul .sub-menu a {
		color: white;
		margin: 0;
	}
	/* Header Widget */
	.header-widgets {
		float: left;
	}
	.tagline {
		text-align: left;
	}
	.pnumber {
		float: left;
		background-size: 32px;
	}
	.single-team_member .team_member img {
		width: 100%;
		margin-bottom: .5em;
		margin-top: .5em;
	}
}
@media screen and (max-width: 800px) {
	.post-11 blockquote {
		max-width: 80%;
	}
	.post-11 img {
		float: left;
	}
}
/* Fix for goofy hyphenation in Safari and Firefox */
input[type="submit"] {
	color: #650034;
}
#secondary.widget-area {
	display: none;
}
.page-id-17 #secondary.widget-area {
	display: block;
}
p {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  hyphens: none;
}
.textwidget {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
}