/*
Theme Name: Bach
Theme URI: 
Description: Custom theme for Jason Bach
Author: 2nd Street Creative
Version: 1.0
Tags: custom
*/
/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}
html, button, input, select, textarea {font-family: 'courier-prime', Georgia, Times, serif; color: #808285;}
body { margin: 0; font-size: 1em; line-height: 1.4;  text-align: center; }


::-moz-selection { background: #666; color: #fff; text-shadow: none; }
::selection { background: #666; color: #fff; text-shadow: none; }

a {text-decoration: none; outline: 0;}
p {margin:0; }
b, strong, h1, h2, h3, h4, h5, h6 {margin:0; padding:0; font-size: 100%; font-weight: normal;}
abbr[title] { border-bottom: 1px dotted; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin:0; padding:0; list-style: none; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

@font-face {
    font-family: 'magesta';
    src: url('fonts/magestascriptlight-webfont.eot');
    src: url('fonts/magestascriptlight-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/magestascriptlight-webfont.woff2') format('woff2'),
         url('fonts/magestascriptlight-webfont.woff') format('woff'),
         url('fonts/magestascriptlight-webfont.ttf') format('truetype'),
         url('fonts/magestascriptlight-webfont.svg#magesta_script_lightregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


/*----------TYPOGRAPHY-----------*/

.sans {font-family: 'trumpgothicpro', Helvetica, sans-serif;} /* 400, 700 */
.serif {font-family: 'courier-prime', Georgia, Times, serif;} /* 400, 700 */
.serif2 {font-family: 'english', Georgia, Times, serif; font-weight: 400;}
.scripted {font-family: 'magesta', Georgia, Times, serif; font-weight: 400;}


.space1 {letter-spacing: .05em;}
.space2 {letter-spacing: .1em;}
.space3 {letter-spacing: .25em;}

.italic { font-style: italic;}
.normal { font-weight: normal;}
.bold, strong, b {font-weight: 700;}
.upper { text-transform: uppercase;}
.lower { text-transform: lowercase;}
.space { letter-spacing: .05em;}
.alignleft {text-align: left;}
.alignright {text-align: right;}
.aligncenter {text-align: center;}
.pageText p {margin-bottom: 1em;}
div#preload { display: none; }
.tshow, .pshow {display: none;}

.sectionHeading {
    background: url("images/body-bg.png") repeat scroll center top rgba(0, 0, 0, 0);
    display: inline-block;
    top: -14px;
}
.sectionHeading div:nth-child(1) span{top:-5px; position: relative;}
.sectionHeading div:nth-child(2) span{top:-7px; position: relative;}

.fs50 {font-size: 50%;}
.fs55 {font-size: 55%;}
.fs60 {font-size: 60%;}
.fs65 {font-size: 65%;}
.fs70 {font-size: 70%;}
.fs75 {font-size: 75%;}
.fs80 {font-size: 80%;}
.fs90 {font-size: 90%;}
.fs150 {font-size: 150%;}
.fs180 {font-size: 180%;}
.fs240 {font-size: 240%;}
.fs300 {font-size: 300%;}
.fs500 {font-size: 500%;}
.fs600 {font-size: 600%;}

.lh1 {line-height: 1em;}
.lh18 {line-height: 1.8em;}
.lh25 {line-height: 2.5em;}

/*----------LINKS & COLORS-----------*/
a, a img, a svg, .fade {
-moz-transform: rotate(0); 
-webkit-backface-visibility: hidden;
-moz-backface-visibility:hidden;
backface-visibility: hidden;
-webkit-transition:all 0.5s ease 0s;
-moz-transition:all 0.5s ease 0s; 
transition:all 0.5s ease 0s; 
}

.ltGrey, a.ltGrey:link, a.ltGrey:visited {color: #BCBEC0;}
a.mdGrey:link, a.mdGrey:visited, .mdGrey {color:#A7A9AC;}
a.dkGrey:link, a.dkGrey:visited, .dkGrey {color: #58595B;}

.white, a.white:link, a.white:visited {color: #FFF;}

a:link,
a:visited,
.mdBlue {color:#1D3844;}

.dkBlue {color:#414042;}

.gold {color:#B28550;}

a:hover,
a:active,
a.mdBlue:hover,
a.mdBlue:active	{color: #677F87;}

a:hover img,
a:hover svg,
a.ltGrey:hover,
a.ltGrey:active,
a.mdGrey:hover,
a.mdGrey:active,
a.dkGrey:hover,
a.dkGrey:active,
a.white:hover,
a.navToggle:hover,
a.navToggle:active,
a.white:active {opacity: .6;}


/*----------LAYOUT-----------*/
* {box-sizing:border-box; -moz-box-sizing:border-box; /* Firefox */ -webkit-box-sizing:border-box; /* Safari */}
.mtop10 {margin-top: 10px;}
.mtop20 {margin-top: 20px;}
.mtop15 {margin-top: 15px;}
.mtop30 {margin-top: 30px;}
.mtop40 {margin-top: 40px;}
.mtop60 {margin-top: 60px;}
.mtop80 {margin-top: 80px;}
.mtop100 {margin-top: 100px;}
.mbottom10 {margin-bottom: 10px;}
.mbottom40 {margin-bottom: 40px;}
.mbottom60 {margin-bottom: 60px;}
.mtb20 { margin: 20px auto;}
.mtb40 { margin: 40px auto;}
.mtb60 {margin: 60px auto;}

.p10 {padding:10px;}
.p30 {padding:30px;}
.ptop50 {padding-top: 50px;}
.ptop100 {padding-top: 100px;}
.pbottom10 {padding-bottom: 10px;}
.pbottom30 {padding-bottom: 30px;}
.ptb8 {padding-top: 8px; padding-bottom: 8px;}
.ptb60 {padding-top: 60px; padding-bottom: 60px;}

.fleft { float: left;}
.fright { float: right; }
.centered {margin-right: auto; margin-left: auto; display: block;}
.clear {clear:both;}
.rel {position: relative;}
.fullWidth{width:100%; overflow: hidden;}
.maxWidth {max-width: 1100px; width: 100%;}
.inline {display: inline-block; float: left;}

img.full, .pageText img {width:100%; height: auto; margin-left:auto; margin-right: auto;}
.pageText img {margin-bottom: 0.7%;}

.col964 {margin-left: auto; margin-right:auto; max-width:964px; position: relative; width:100%; display: block;}
.col816 {margin-left: auto; margin-right:auto; max-width:816px; position: relative; width:100%; display: block;}
.blog .col816, .single .col816 {width:74.181818181%; float: right;}
.col700 {margin-left: auto; margin-right:auto; max-width:700px; position: relative; width:100%; display: block;}
.col495 {max-width: 495px; width: 45%; float: left; display: block; padding:60px;}
.col605 {max-width: 605px; width: 55%; float: right; display: block; padding:60px; }

/*----------TEXTURES & BORDERS-----------*/
.lineWrap {background: url(images/line.svg) repeat-x left top, url(images/line.svg) repeat-x left bottom;}
.whiteDotted {left:3px; border:1px dotted #C8CBCE; -webkit-box-shadow: 0 0 0px 3px #FFF; box-shadow: 0 0 0px 3px #FFF; line-height: 1em; padding:2px 15px;}
.brownDotted {left:3px; border:1px dotted #FFF; -webkit-box-shadow: 0 0 0px 3px rgba(26,25,12,.8); box-shadow: 0 0 0px 3px rgba(26,25,12,.8); line-height: 1em; padding:2px 15px;}
.goldDotted {left:3px; background-color: #B28550; border:1px dotted #FFF; -webkit-box-shadow: 0 0 0px 3px rgb(178,133,80); box-shadow: 0 0 0px 3px rgb(178,133,80); line-height: 1em; padding:2px 15px;}
.border4 {border: 4px solid #FFF;}
.border6 {border: 6px solid #FFF;}
.shadow {-webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, .1); box-shadow: 0px 1px 1px rgba(0, 0, 0, .1); }
.vertLines {background: url(images/line-vert.svg) repeat-y left top, url(images/line-vert.svg) repeat-y right bottom;}
.vertStars:after {content:''; width:8px; height: 64px; display: block; position: absolute; top:40px; left:-3px; background: url(images/star.svg) repeat-y left top; }
.col816.vertStars:after {top:50%;}


.postList li:first-child:after,
.postList li:last-child:after, 
.goldDotted:after,
.greyHashes:after,
footer:after,
.single .wrap:after, 
.blog .wrap:after,
#gform_1 .gform_footer:after { 
	content:''; width:730px; height: 16px; display: block; position: absolute; background: url(images/hashes.svg) repeat-x left top;  z-index: 3333; opacity:.2;}

.postList li:first-child:after {bottom:25px; left:-15px; }
.postList li:last-child:after {bottom:-10px; right:-10px;}
.goldDotted:after {width:400px; bottom:5px; left:100px; height: 10px;}
#gform_1 .gform_footer:after {width:400px; bottom:5px; left:70px; height: 10px; opacity: .7;}
.greyHashes span {z-index: 4444; position: relative;}
.greyHashes:after {width:110%; height:25px; left:-14px; top:-6px; opacity:1;}
footer:after {bottom:0; right:0; height: 10px;}

.single .wrap:after, 
.blog .wrap:after {left:-50%; top:80%;
	-ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
    width:100%;
    z-index: 0;
}

.greyBg {background: url(images/grey-bg.png) repeat center top; }
.greyBgHalf {background: url(images/grey-bg.png) repeat-x center top; }
.dkGreyBg {background: url(images/dk-grey-bg.png) repeat center top;}
.dkBlueBg { background-image: url(images/dk-blue-bg.png); background-color:rgba(255,255,255,.6);}
.goldBg {background: url(images/gold-bg.png) repeat center top;  }
.blackBg {background-color: rgba(0, 0, 0, 0.02);}
.brownBg {background-color:rgba(26,25,12,.8);}
.whiteBg {background-color: #FFF;}


/*----------PAGES-----------*/
html, body { height: 100%;}
body { background: url(images/body-bg.png) repeat center top; }
/*
.wrap { width:100%; margin:0 auto; min-height: 100%; margin-bottom: -60px; }
.wrap:after {content: ""; display: block;}
footer, .wrap:after {min-height: 60px;}
*/
footer {background: url(images/line-double.svg) repeat-x center top; padding-top: 5px;}
a.footerHomeLink {margin-right: 20px; display: block; text-indent: -9999px; background: url(images/jason-bach-logo-footer.png) no-repeat center center; width: 42px; height: 47px;}
.col	{padding:35px 55px; max-width: 366px; width: 100%;}
.col.last, .col.middle {float: right;}

.phone {line-height: .7em; display:inline-block; margin-left: 10px;}
.phone em {font-style: normal; font-size: 75%; display: block;  line-height: .8em;}

header {position:relative; margin:0 auto; width:100%;}
a.logo {width: 100%; height: 180px; display: block; text-indent: -9999px; background: url(images/jason-bach-logo.png) no-repeat center center; position: absolute; top:-52px; z-index: 5555;}
a.logo:hover {opacity: 1;}






.intro {width:315px; margin:20px 0 0 30px;}
span.scriptTitle {position: absolute; left:-120px; bottom:8px; text-transform: capitalize; letter-spacing: normal;}

.galleryList li {background-image: url(images/body-bg.png); position: relative; float: left; overflow: hidden;}
.blogList li {position: relative; float: left; overflow: hidden;}

.galleryList li.lrg, .blogList li.lrg  {
	width: 50%; /* Fallback */
	width: -webkit-calc(100% / 2);
	width: calc(100% / 2);
}

.galleryList li.sml, .blogList li.sml {
	width: 33.333333333%; /* Fallback */
	width: -webkit-calc(100% / 3);
	width: calc(100% / 3);
}

.galleryList li:first-child {
	width: 66.666666666%;
	background: transparent;
	padding:50px;
	overflow: hidden;
}


ul.details li {width:33.333333333%; max-width: 161px; float:left; display: inline-block; padding-right: 30px;}
.backButton {display: inline-block; float: right; }
.backButton a {top: -11px; position: relative; padding:0 5px;}








/* HOME */
.home h1 {background: url(images/line.svg) no-repeat center bottom; position:relative; margin-bottom: 25px; padding-bottom: 18px; }
.home h1:after {content:''; width:64px; height: 8px; position:absolute; margin-left: -130px; bottom:-3px; background: url(images/star.svg) repeat-x left top}
.bannerWrap {padding:5px 0; display: block; position: relative; top:-70px; z-index: 6666; background-color: rgba(255,255,255,.1);}
.banner {height: 65px; display: block; padding-top: 16px;}
.featureLinks a {position: relative; z-index: 7777; height: 65px; width:200px; display: inline-block;}
.featureLinks a:first-child { margin-right: 180px;}
.featureLinks a:last-child { margin-left: 180px;}

.grid li {
	position: relative;
	float: left;
	overflow: hidden;
	width: 50%; /* Fallback */
	width: -webkit-calc(100% / 2);
	width: calc(100% / 2);
}

.flexr {
	position: absolute;
	left: 20px;
	top: 20px;
	right: 20px;
	bottom: 20px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
    align-items: center;
    text-align: center;
    opacity: 0;
}

a:hover .flexr { opacity: 1;}
.flexr h3 {display: inline-block; margin:0 auto; padding: 5px 15px 3px; position: relative;}
.flexr h3:after {content:''; width:64px; height: 8px; display: block; position: absolute; bottom:-4px; left:30px; background: url(images/star.svg) repeat-x left top; }

.blog .flexr, .single .flexr, .blog a:hover .flexr, .single a:hover .flexr {opacity: 1;}


@media screen and (max-width: 320px) {
	.grid li { width: 100%;}
}


.postList {max-width: 964px; width:100%; }
.postList li {max-width:308px; width:31.9502%; float: left; margin:13px 2.0746% 10px 0; }
.postList li:nth-child(3n) {margin-right: 0;}
.postList a {z-index: 4444;}







/*----------BLOG-----------*/
#navBelow { position: relative; width: 100%;}
.navNext a, .navPrevious a {color: #A7A9AC; display: block; margin-bottom: 40px;}
.navNext a {float:right;}
.navPrevious a {float:left;}


/* !SOCIAL LINKS -----------*/
.socialNav {background: url(images/line.svg) repeat-x left top; padding-top: 20px; margin-top: 20px;}
.socialShare {max-width: 284px; width:25.818181818%; float: left; padding:50px 40px;}
/*
.tshow .socialNav {background: none; padding-top: 0; margin-top: 0; display: block;}
.tshow .socialNav a {text-indent: -9999px; width:40px; padding-left: 0;}
*/

.socialShare svg {height: 12px; width:auto; position: absolute; float:left; padding-left: 2px; line-height: 12px;}
.socialNav svg {position: absolute;}
.socialShare a {display:block; font-size: 60%; letter-spacing: .25em; background: url(images/line.svg) repeat-x left top; padding: 12px 0 8px 25px; color:#a7a9ac; position: relative;}
.socialNav a { width: 128px; height:40px; line-height:40px; display:block; float: left; color:#A7A9AC; letter-spacing: .25em; font-size: 60%; padding: 0 0 0 45px; position: relative;}
.socialNav a:nth-child(even) {float: right;}

.socialShare path { fill: #B28550;}

a.facebook svg {left:0px;}
a.twitter svg,
a.pinterest svg,
a.comments svg,
a.instagram svg {left:0px;}
a.comments path { fill: #a7a9ac;}

.socialShare a:hover, .socialNav a:hover {color: #BCBEC0;}


/* !COMMENTS - - - */
.comment-form p {position: relative; margin:0 0 10px;}
.comment-form {margin-top: 0;}
textarea#comment { height: 150px; resize: none; }
h3.comment-reply-title {position:relative; margin:0; padding:0; font-family: 'trumpgothicpro', Helvetica, sans-serif; text-transform: uppercase; letter-spacing:.05em; font-size: 180%; }
ol.commentlist { list-style: none; padding: 0; }
ol.commentlist li { padding:20px 0; clear:both;}
.comment-info {width:20%; float:left; clear: left; letter-spacing: .05em; text-transform: uppercase;}
.comment-author {letter-spacing: .05em; text-transform: uppercase; font-size: 60%; color: #B28550;}
.comment-meta { font-size: 70%;}
.comment-body { float:right; width:75%; font-size: 70%; padding-left:15px;}
.comment-awaiting-moderation {float:left; letter-spacing: .05em; font-size: 70%; text-transform: uppercase; margin: 30px 0; display:inline-block; color: #B28550;}
.comment-respond {clear:both; margin-top:60px;}
textarea#comment {line-height: 1.4em; padding-top: 12px;}




/*----------CONTACT-----------*/

ul.gform_fields { list-style: none; margin: 0; padding:0;}

ul.gform_fields li {margin-bottom: 15px;}
#gform_2 ul.gform_fields li {margin-bottom: 10px;}

ul.gform_fields li {text-align: left; position: relative;}

#gform_1 input.medium, #gform_1 textarea.medium, input#author, input#email, input#url, textarea#comment {border:1px solid #e7e7e7; background: #FFF; color:#A7A9AC; padding: 6px 12px; margin: 0; width: 100%; font-size:75%;}

#gform_2 input.medium {border:0; background: transparent url(images/line.svg) repeat-x left bottom; color:#A7A9AC; padding: 6px 0; margin: 0; width: 100%; font-size:65%; }

li.gform-left, li.gform-right { width:49%; }
li.gform-left {float:left;}
li.gform-right {float:right;}

.gform_body label, .comment-form label  {position:absolute; display: block; font-weight:normal; color:#A7A9AC; letter-spacing: .175em; padding:9px 0 0 12px; font-size: 60%; text-transform: uppercase; min-height: 25px;}

#gform_2 .gform_body label {text-transform: capitalize; font-style: italic; padding-left: 0;}

.gform_description {font-size: 65%; line-height: 1.4em; display: block; background: transparent url(images/line.svg) repeat-x left bottom; padding-bottom: 10px; margin-bottom: 10px;}
.gfield_required, .required {color: #B28550; }
.validation_error, .validation_message, .gform_confirmation_message {color: #B28550; text-transform: uppercase; font-style: italic; font-size: 60%; letter-spacing: .1em; line-height: 1.8em; text-align: left; }
#gform_1 .validation_error, #gform_1 .validation_message, #gform_1 .gform_confirmation_message {color:#BCBEC0;}

.validation_error { padding: 10px 0 20px 0;}

li.gform_validation_container {display:none;}

.gform_footer {padding-top: 10px;}


/*----------BUTTONS-----------*/
input.gform_button,
#commentform #submit,
.button {
text-transform: uppercase; 
display:block; 
letter-spacing: .2em;
float: left;
font-size: 70%;
transition: all 0.25s ease 0s; -moz-transition:all 0.25s ease 0s; -webkit-transition:all 0.25s ease 0s; 
}



#gform_2 input.gform_button,
#commentform #submit,
.button {
padding: 7px 7px 3px 10px;
margin:0;
color: #58595B;
border: 1px solid #e7e7e7;
background: none; 
}

#gform_1 input.gform_button{background:#414042; left:3px; border:1px dotted #C8CBCE; -webkit-box-shadow: 0 0 0px 3px #414042; box-shadow: 0 0 0px 3px #414042; line-height: 1em; padding:2px 15px; position: relative;}

#gform_1 input.gform_button{color:#B28550;}
#gform_1 input.gform_button:hover {color:#d1b696;}

#gform_2 input.gform_button:hover,
#commentform #submit:hover,
.button:hover {color: #bfbfbf; border: 1px solid #efefef;}

@-moz-document url-prefix() { 
#gform_2 input.gform_button,
#gform_1 input.gform_button,
 #commentform #submit,
.button {
     padding-top:4px;
  }
}


.pinterest-button {
    overflow: hidden;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    width: auto;
    max-width: 100%;
    position: relative;
}

.pinterest-button img {
    display: block; margin: 0 auto;
}
.pinterest-button a.pin-it {
    display: block;
    width: 83px;
    height: 23px;
    background: url('images/pinit.svg') rgba(255,255,255,0.58);
    z-index: 5555;
    top: 66px;
    left: 0;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    transition: all .25s ease;

}
    
.pinterest-button:hover a.pin-it {
	visibility: visible;
    opacity: 1;
}

span.pinterest-button img { margin: 0 auto;}

a.pin-it { display: block !important;}


/*----------SLIDERS-----------*/
.flexslider  {position:relative; display:block; overflow: hidden; }
.flexslider:hover ul.flex-direction-nav a {opacity: 1;}


ul.flex-direction-nav a {position: absolute; width: 40px; top:0; z-index: 6666; text-indent: -9999px; cursor: pointer; height: 100%; opacity: 0;}
#imageCycle ul.flex-direction-nav a.flex-prev {left:0; background: url(images/arrow-light-prev.png) no-repeat right 50%;}
#imageCycle ul.flex-direction-nav a.flex-next {right:0; background: url(images/arrow-light-next.png) no-repeat left 50%;}

.home #imageCycle ul.flex-direction-nav a {margin-top: -75px;}
.home #imageCycle ul.flex-direction-nav a.flex-prev {background-position: right 50%;}
.home #imageCycle ul.flex-direction-nav a.flex-next {background-position: left 50%;}



/*----------NAVIGATION-----------*/

.stickHeader {
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 7777;
  display: block;
  width: 100%;
 }

.home .stickHeader { display: none;}

.stickHeader a.homeLink {
  background: url(images/jason-bach-logo-horiz.png) no-repeat left center;
  width: 304px;
  height: 46px;
  display: block;
  text-indent: -9999px;
  float: left;
  margin:2px 0 0 0;
  }


.toggleWrap {display: block; position: fixed; z-index: 9999; right:0; top:0;}
a.navToggle { cursor: pointer; padding: 10px 35px 16px 0px; }
a.navToggle span, a.navToggle span:before, a.navToggle span:after {
  cursor: pointer;
  height: 2px;
  width: 15px;
  background: white;
  position: absolute;
  display: block;
  content: '';
}
a.navToggle span:before {
  top: -5px; 
}
a.navToggle span:after {
  bottom: -5px;
}

a.navToggle span, a.navToggle span:before, a.navToggle span:after {
  transition: all 250ms ease-in-out;
}
a.navToggle.open span {
  background-color: transparent;
}
a.navToggle.open span:before, a.navToggle.open span:after {
  top: 0;
}
a.navToggle.open span:before {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);  height: 3px;
}
a.navToggle.open span:after {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);  height: 3px;
}

.mobile-nav-wrap {
  display: none;
  font-size: 80%;
  position: fixed;
  right:0;
  height:100%;
  top:0;
  z-index: 8888;
  border-left:5px solid #fff;
   }




/* Primary Nav */
nav ul {list-style: none; width:360px; margin:0; padding:0;}
nav ul li {position:relative; display: block; }
nav ul li:first-child {height: 50px; line-height: 50px; padding-left: 20px;}
nav a:link, nav a:visited   { padding:2px 20px; color:#CECECE; display: block;}
nav a:hover, nav a:active {opacity: .6;}
nav li#current>a,
.single-post li.blogNav>a,
.single-still li.stillNav>a,
.single-film li.filmNav>a,
body.blog li.blogNav>a,
body.archive li.blogNav>a
{color:#FFF; }

.toggleView {width:46px; height: 16px; background: url(images/toggle-view.svg) no-repeat left top;  margin:140px 0 20px 20px;}
.toggleView#gridview {background-position: left -19px;}
.toggleView a {width:22px; height: 16px; text-indent: -9999px; display: block; float: left;}

/* !Retina Images  */
@media	only screen and (min-device-pixel-ratio: 1.3),
only screen and (-webkit-min-device-pixel-ratio: 1.3),
only screen and (-o-min-device-pixel-ratio: 13/10),
only screen and (min-resolution: 120dpi){

	body, .sectionHeading, .galleryList li  { background-image: url(images/body-bg@2x.png); background-size: 102px 102px;}
	a.footerHomeLink { background-image: url(images/jason-bach-logo-footer@2x.png); background-size: 42px 47px;}
	a.logo { background-image: url(images/jason-bach-logo@2x.png); background-size: 265px 180px;}
	.stickHeader a.homeLink { background-image: url(images/jason-bach-logo-horiz@2x.png); background-size: 304px 46px;}
	.greyBg { background-image: url(images/grey-bg@2x.png); background-size: 353px 348px;}
	.dkGreyBg { background-image: url(images/dk-grey-bg@2x.png); background-size: 353px 348px;}
	.dkBlueBg { background-image: url(images/dk-blue-bg@2x.png); background-size: 353px 348px;}
	.goldBg { background-image: url(images/gold-bg@2x.png); background-size: 353px 348px;}
}

@media (max-width: 1100px) {
.col {max-width:50%; width:50%; float: left;}
.col.last {padding-left: 0;}
.col.middle {display: none;}
.socialNav a,
.socialNav a:nth-child(even) {float: left;}
.socialNav a:nth-child(3) {clear: both;}


}

@media (max-width: 769px) {
.thide {display: none;}
.tshow {display: block;}
.home .stickHeader { display: block;}
.home #imageCycle ul.flex-direction-nav a {margin-top: 20px;}

.postList {max-width: 636px; }
.postList li {width:48.4276%;}
.postList li:nth-child(odd), .postList li:nth-child(3n) {margin-right: 3.1446%;}
.postList li:nth-child(even) {margin-right: 0;}
.postList li:first-child:after, .postList li:last-child:after {display:none;}

}


@media (max-width: 699px) {
	.col700 {max-width: 100%; width:100%;}
	.mpad, ul.flex-direction-nav {
	padding-left:15px; padding-right: 15px;
	-webkit-transition:all 0.25s ease 0s;
	   -moz-transition:all 0.25s ease 0s; 
	       transition: all 0.25s ease 0s; 
	}
	.mbreak {clear:both; display: block;}
	.pageText p {padding:15px;}
	.col, .col.last {max-width: 100%; width:100%; padding:35px 20px;}
}
@media only screen and (max-width: 560px) {
.imageText {position: relative; max-width: 100%; text-align: center;}
.counter {position: relative; display: block; text-align: center; padding-top: 0; padding-bottom: 20px;}
ul.flex-direction-nav {	float: none; margin:0; position: absolute; top:0; height: 100%; width:100%; }
ul.flex-direction-nav li {display: block;}
ul.flex-direction-nav a {
	width: 40px;
	top:0; 
	margin:0;
	background: #000;
	height: 100%;
	position: absolute;
	text-indent: -9999px;
}
ul.flex-direction-nav a:hover {opacity: .6;}
.home ul.flex-direction-nav a.flex-prev {left:0; background: url(images/arrow-left.svg) no-repeat 50% 42%;}
.home ul.flex-direction-nav a.flex-next {right:0; background: url(images/arrow-right.svg) no-repeat 50% 42%;}
ul.flex-direction-nav a.flex-prev {left:0; background: url(images/arrow-left.svg) no-repeat 50% 50%;}
ul.flex-direction-nav a.flex-next {right:0; background: url(images/arrow-right.svg) no-repeat 50% 50%;}
ul.flex-direction-nav li:first-child:after {display: none;}

.col400,
.col270,
.memberList li,
.memberList li:nth-child(even) {float: none; clear: both; margin-left: auto; margin-right: auto;}
.memberList li {max-width:100%; width:100%; }
.postFooter {margin:0 auto; text-align: center;}
.socialShare a{text-indent: -9999px; margin-left: 30px; width:10px;}
.socialShare svg {float: right;}
}


@media only screen and (max-width: 420px) {

.home #imageCycle, .home #imageCycle img {height: 200px; min-height: 200px; width:auto;}
.home #imageCycle img {margin-left: -106px;}
.stickHeader a.homeLink { width: 168px;}
nav ul {min-width:200px; width:100%;}

.galleryList li,
.galleryList li:nth-child(3n), 
.pressList li,
.pressList.print li,
.pressList li:nth-child(4n)  {width:49.5%; margin-right:0;}

.galleryList li:nth-child(even), 
.pressList li:nth-child(even),
.pressList.print li:nth-child(even) {float: right;}
.comment-info {width:100%; float:none; clear:none;}
.comment-body {clear:both; float:none; width:100%; font-size: 75%; padding-left:0; margin-top: 10px;}

}

@media only screen and (max-width: 320px) {
.col400 {max-width:270px; width:100%; }
.col270 {max-width: 270px; width:100%; padding-bottom: 10px;}
.reviewList li {margin-left: 0;}


ul.gform_fields li {margin-bottom: 15px;}
li.gform-right, li.gform-left {width: 100%; clear:both;}
}


/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */



/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  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: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  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; }
}






