/*
Theme Name: J & E Masonry
Theme URI: http://www.jemasonryinc.com/
Author: Josh Christopherson
Author URI: http://joshchristopherson.com/
Description: Custom Wordpress/CMS theme designed and built for use by J & E Masonry for their wordpress website
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom theme
Text Domain: jemasonryinc
*/

/* Add Custom Fonts */
@font-face {
    font-family: 'MuseoSlab';
    src: url('fonts/museoslab/Museo_Slab_500_2-webfont.eot');
    src: url('fonts/museoslab/Museo_Slab_500_2-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museoslab/Museo_Slab_500_2-webfont.woff') format('woff'),
         url('fonts/museoslab/Museo_Slab_500_2-webfont.ttf') format('truetype'),
         url('fonts/museoslab/Museo_Slab_500_2-webfont.svg#museo_slab500') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* Reset some browser-defined css initially */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clear {
	clear:both;
	display:block;
	float:none;
	height:0pt;
	margin:0pt;
	overflow:hidden;
	padding:0pt;
	width:0pt;
	line-height:0px;
	font-size:0px;
}


/* Begin Layout */
body {
	background: #242424;
}

#wrapper {
	max-width: 1200px;
	margin: 0px auto;
	width: 100%;
	background: #fff;
}

header {
	width: 100%;
	max-width: 960px;
	margin: 0px auto;
	height: 150px;
	overflow: hidden;
}

header h1 {
	width: 100%;
}

header h1 a {
	width: 100%;
	max-width: 320px;
	margin: 0px auto;
	display: block;
	text-indent: -999em;
	background: url(images/logo.png) 50% 50% no-repeat;
	background-size: 90%;
	height: 150px;
	clear: both;
}

.menu-toggle {
	width: 40%;
	height: 1.5em;
	line-height: 1.5em;
	max-width: 100px;
	margin: 0px auto;
	padding: .75em 1em;
	border-radius: 1.5em;
	-moz-border-radius: 1.5em;
	-webkit-border-radius: 1.5em;
	background: #eee;
	text-align: center;
	font-family: MuseoSlab, serif;
	font-size: 0.875em;
	cursor: pointer;
	color: #555;
	clear: both;
	float: none;
	-webkit-transition: background-color 500ms ease-out;
	-moz-transition: background-color 500ms ease-out;
	-ms-transition: background-color 500ms ease-out;
	transition: background-color 500ms ease-out;
}

.menu-toggle:hover {
	background: #f3f3f3;
	-webkit-transition: background-color 500ms ease-out;
	-moz-transition: background-color 500ms ease-out;
	-ms-transition: background-color 500ms ease-out;
	transition: background-color 500ms ease-out;
}

.menu-toggle:before {
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	text-decoration: inherit;
	-webkit-font-smoothing: antialiased;
	content: "\f0ca";
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	text-align: center;
	display: inline-block;
	font-size: 1em;
	color: #555;
	padding-right: 0.357em;
}

#menu-primary {
	float: right;
	margin-top: 82px;
}

#menu-primary li {
	float: left;
}

#menu-primary li a {
	color: #543019;
	font-size: 22px;
	font-family: MuseoSlab, serif;
	text-decoration: none;
	-webkit-transition: color 350ms ease-out;
	-moz-transition: color 350ms ease-out;
	-ms-transition: color 350ms ease-out;
	transition: color 350ms ease-out;
	line-height: 40px;
	padding: 0px 10px;
	border-left: 2px solid #333333;
}

#menu-primary li:first-child a {
	border-left: 0px;
}

#menu-primary li a:hover {
	color: #B5121B;
	-webkit-transition: color 350ms ease-out;
	-moz-transition: color 350ms ease-out;
	-ms-transition: color 350ms ease-out;
	transition: color 350ms ease-out;
}

#rotator {
	width: 100%;
}

.loader_bg.dark {
	width: 100%;
	background: url(images/loader-dark.gif) 50% 50% no-repeat;
}

#red_bar {
	height: 40px;
	width: 100%;
	margin-top: 50px;
	background: #b5121b; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I1MTIxYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5ZTEwMTgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, #b5121b 0%, #9e1018 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b5121b), color-stop(100%,#9e1018)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #b5121b 0%,#9e1018 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #b5121b 0%,#9e1018 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #b5121b 0%,#9e1018 100%); /* IE10+ */
	background: linear-gradient(to bottom, #b5121b 0%,#9e1018 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5121b', endColorstr='#9e1018',GradientType=0 ); /* IE6-8 */
}

#subpage_wrapper #red_bar {
	height: 10px;
}

#ctas {
	max-width: 960px;
	width: 100%;
	margin: 0px auto;
	padding: 50px 0px;
}

#ctas a {
	float: left;
	display: block;
}

#ctas a:first-child, #ctas a:first-of-type {
	margin-right: 10px;
}

#ctas a img {
	display: block;
}

#logos {
	max-width: 960px;
	width: 100%;
	margin: 0px auto;
	padding: 0px 0px 50px 0px;
}

#logos table td {
	vertical-align: middle;
}

#logos a img {
	display: block;
}

#footer {
	border-top: 10px solid #EEEEEE;
	height: 141px;
	margin-top: -150px;
	max-width: 1200px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#footer_wrapper {
	width: 100%;
	max-width: 960px;
	margin: 0px auto;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333333;
	line-height: 18px;
}

#footer_left {
	float: left;
	margin-top: 30px;
}

#footer_nav {
	margin-bottom: 10px;
}

#footer_nav ul {
	list-style: none;
	margin: 0px;
}

#footer_nav ul li {
	float: left;
}

#footer_nav ul li a {
	float: left;
	display: block;
	line-height: 21px;
	font-size: 14px;
	font-family: MuseoSlab, serif;
	color: #333;
	padding: 0px 15px;
	text-decoration: none;
	-webkit-transition: color 350ms ease-out;
	-moz-transition: color 350ms ease-out;
	-ms-transition: color 350ms ease-out;
	transition: color 350ms ease-out;
}

#footer_nav ul li a:hover {
	color: #B5121B;
	-webkit-transition: color 350ms ease-out;
	-moz-transition: color 350ms ease-out;
	-ms-transition: color 350ms ease-out;
	transition: color 350ms ease-out;
}

#copyright {
	padding-left: 15px;
}

#logo {
	float: right;
	margin-top: 30px;
}

#logo a {
	display: block;
	float: right;
	width: 59px;
	height: 50px;
	text-indent: -9999em;
	background: url(images/josh.png) top left no-repeat;
}



@media screen and (min-width: 600px) {
html, body {
	height: 100%;
}

#wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

.push {
	height: 150px;
}

header h1 {
	width: 320px;
	float: left;
}

header h1 a {
	width: 320px;
	background-position: left;
	float: left;
	clear: none;
}

.menu-toggle {
	clear: none;
	margin: 0px;
	display: none;
}
}

/************************
 * Sub Page Styles
 ************************/

#hero_image {
	width: 960px;
	margin-bottom: 20px; 
	height: 638px;
	background: #222 url(images/noise_texture.png) top left repeat;
	z-index: 100;
	float: right;
}

.alt #hero_image {
	width: 450px;
	margin-bottom: 5px;
	margin-left: 20px;
	height: 300px;
	background: #222 url(images/noise_texture.png) top left repeat;
	z-index: 100;
	float: right;
	margin-top: 10px;
}

#subpage_wrapper #page {
	margin-top: 100px;
	padding: 0px;
	max-width: 960px;
	position: relative;
	margin: 0px auto;
}

.entry-title {
	font-family: MuseoSlab, serif;
	font-size: 42px;
	color: #333;
	line-height: 54px;
	margin-bottom: 25px;
	text-align: left;
}

#page  {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 30px;
	color: #444;
}

#content {
	float: left;
	width: 960px;
}

#page p {
	margin-bottom: 2em;
}

#content a {
	color: #B5121B;
	text-decoration: none;
}

#content h2 {
	font-family: MuseoSlab, serif;
	font-size: 24px;
	color: #333;
	line-height: 30px;
	margin-bottom: 5px;
	text-align: left;
}

#page a:hover {
	text-decoration: underline;
}

.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignleft {
	margin: 12px 24px 12px 0;
	margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
}
img.alignright {
	margin: 12px 0 12px 24px;
	margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
}
img.aligncenter {
	margin-top: 12px;
	margin-top: 0.857142857rem;
	margin-bottom: 12px;
	margin-bottom: 0.857142857rem;
}

#sidebar {
	float: right;
	width: 250px;
}

#portfolio_category_wrapper {
	margin-bottom: 37px;
}

.portfolio_box {
	width: 230px;
	height: 230px;
	float: left;
	margin-left: 13px;
	margin-bottom: 13px;
	display: block;
}

.portfolio_box:first-child {
	margin-left: 0px;
}

.portfolio_box a {
	width: 230px;
	height: 230px;
	float: left;
	position: relative;
	display: block;
	text-decoration: none;
	-webkit-transition: all 350ms ease-out;
	-moz-transition: all 350ms ease-out;
	-ms-transition: all 350ms ease-out;
	transition: all 350ms ease-out;
}

#page .portfolio_box a:hover {
	text-decoration: none;
}

.portfolio_box a .title {
	background: rgba(0,0,0,0.65);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
	line-height: 50px;
	position: absolute;
	width: 100%;
	bottom: 0;
	color: #fff;
	display: block;
	text-align: center;
	font-family: MuseoSlab;
	font-size: 22px;
	font-weight: 700;
	-webkit-transition: all 350ms ease-out;
	-moz-transition: all 350ms ease-out;
	-ms-transition: all 350ms ease-out;
	transition: all 350ms ease-out;
}

.portfolio_box a:hover .title {
	background: rgba(0,0,0,0.85);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9000000', endColorstr='#d9000000',GradientType=0 ); /* IE6-9 */
}

.portfolio_featured_projects {
	margin-bottom: 50px;
}

#content .portfolio_featured_projects h2 {
	margin-bottom: 20px;
}

.portfolio_featured_projects #feature_wrapper {
	background: #f3f3f3 url(images/feature_loader.gif) 50% 50% no-repeat;
	height: 425px;
	margin-bottom: 50px;
	width: 960px;
}

.portfolio_featured_projects .pager .thumb {
	width: 75px;
	height: 50px;
	float: left;
	margin-right: 10px;
	background-color: #fff;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.portfolio_featured_projects .pager .thumb.active {
	border: 2px solid #333;
	padding: 2px;
	margin-top: -4px;
	margin-right: 6px;
	margin-left: -4px;
	margin-bottom: -4px;
	position: relative;
}

#content .portfolio_nonfeatured_projects h2 {
	border-bottom: 5px solid #333;
	line-height: 50px;
	margin-bottom: 0px;
}

.portfolio_nonfeatured_projects .projects_list {
	width: 620px;
	margin-right: 20px;
	float: left;
}

.portfolio_nonfeatured_projects .partners_list_wrapper {
	width: 320px;
	float: left;
}

#content .portfolio_nonfeatured_projects .partners_list_wrapper h2 {
	font-size: 14px;
}

#content .portfolio_nonfeatured_projects .list_item {
	line-height: 45px;
	color: #666;
	background-color: #EEEEEE;
	border-bottom: 5px solid #fff;
	font-family: MuseoSlab;
	font-weight: 500;
	font-size: 14px;
	display: block;
	padding: 0px 10px;
}

#content .portfolio_nonfeatured_projects .list_item.alt {
	background: #F6F6F6;
}

.portfolio_nonfeatured_projects .partners_list {
	background: #EEE;
}

.portfolio_nonfeatured_projects .partners_list .partners_wrapper {
	background: #EEE;
	margin: 10px;
	font-family: MuseoSlab;
	font-weight: 500;
	font-size: 14px;
	line-height: 30px;
	color: #666;
	max-height: 420px;
	overflow: hidden;
}

.portfolio_nonfeatured_projects .partners_list ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

.meta_wrapper {
	background: #F6F6F6;
	width: 320px;
	float: right;
	height: 425px;
}

#content .meta_wrapper .title h2 {
	padding: 10px;
	margin: 0px;
	font-size: 20px;
	border-bottom: 5px solid #fff;
}

#content .meta_wrapper .meta {
	line-height: 25px;
	color: #666;
	border-bottom: 5px solid #fff;
	font-family: MuseoSlab;
	font-weight: 500;
	font-size: 14px;
	display: block;
	padding: 10px;
}

#content .meta_wrapper .meta strong {
	font-weight: 700;
}

#content .meta_wrapper .meta.alt {
	background-color: #EEEEEE;
}

#content .meta_wrapper .view_btn {
	line-height: 25px;
	color: #666;
	font-family: MuseoSlab;
	font-weight: 500;
	font-size: 14px;
	display: block;
	padding: 10px;
}

#content .project_gallery {
	width: 640px;
	float: left;
	height: 425px;
	overflow: hidden;
}

#content .project_gallery img {
	display: block;
}

.paging_wrapper {
	width: 640px;
	position: relative;
}

.paging_container {
	position: absolute;
	margin-top: -40px;
	width: 640px;
	z-index: 300;
}

.paging {
	float: right;
	padding-right: 20px;
}

.paging a {
	text-indent: -999em;
	display: block;
	float: left;
	height: 16px;
	width: 16px;
	background: -moz-linear-gradient(top, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.5) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.5)), color-stop(100%,rgba(255,255,255,0.5)));
	background: -webkit-linear-gradient(top, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.5) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.5) 100%);
	background: -ms-linear-gradient(top, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.5) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.5) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80ffffff', endColorstr='#80ffffff',GradientType=0 );
	-moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    margin-right: 9px;
}

.paging a.activeSlide {
	background: #fff;
}

#content .project_description {
	margin-top: 30px;
}



input {
	padding: 10px;
	border: 2px solid #e6e6e6;
}

textarea {
	padding: 10px;
	border: 2px solid #e6e6e6;
}

input.button {
  border: 0px none;
  background: #B5121B;
  color: #fff;
}

input.button:hover {
    cursor: pointer;
}

input.wpcf7-submit {
  border: 0px none;
  background: #B5121B;
  color: #fff;
}

input.wpcf7-submit:hover {
    cursor: pointer;
}

.contact-form .clear-form { clear: both; }
.contact-form input[type='text'], .contact-form input[type='email'] { width: 440px; max-width: 98%; margin-bottom: 13px; }
.contact-form select { margin-bottom: 13px; }
.contact-form textarea { height: 200px; width: 936px; float: none; margin-bottom: 13px; }
.contact-form input[type='radio'], .contact-form input[type='checkbox'] { float: none; margin-bottom: 13px; }
.contact-form label { margin-bottom: 3px; float: none; font-weight: bold; display: block; }
.contact-form label.checkbox, .contact-form label.radio { margin-bottom: 3px; float: none; font-weight: bold; display: inline-block; }
.contact-form label span { color: #AAA; margin-left: 4px; font-weight: normal; }
.form-errors .form-error-message { color: red; }
.textwidget input[type='text'], .textwidget input[type='email'], .textwidget textarea { width: 250px; max-width: 98%; }

