/* 
Theme Name: Jersey Ice Cream Co Theme
Theme URI: http://www.inboundfound.com/jicc/
Description: This is the Jersey Ice Cream Co Theme created on the Genesis Framework.
Author: Jim Thornton
Author URI: http://www.inboundfound.com/
Template: genesis
Template Version: 2.2.2
Tags: jersey, ice cream, design, company, home design, clean, minimalistic, simple
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* # Table of Contents
- HTML5 Resette
	- Baseline Normalize
	- Box Sizing
	- Float Clearing
- Defaults
	- Typographical Elements
	- Headings
	- Objects
	- Gallery
	- Forms
	- Tables
	- Screen Reader Text
- Structure and Layout
	- Site Containers
	- Column Widths and Positions
	- Column Classes
- Common Classes
	- Avatar
	- Genesis
	- Search Form
	- Titles
	- WordPress
- Widgets
	- Featured Content
- Plugins
	- Genesis eNews Extended
	- Jetpack
- Site Header
	- Title Area
	- Widget Area
- Site Navigation
	- Accessible Menu
	- Site Header Navigation
	- Primary Navigation
	- Secondary Navigation
	- Skip Links
- Content Area
	- Entries
	- Entry Meta
	- Pagination
	- Comments
- Sidebars
- Footer Widgets
- Site Footer
- Media Queries
	- Retina Display
	- Max-width: 1200px
	- Max-width: 960px
	- Max-width: 800px
- Print Styles
*/

/* # HTML5 Reset
---------------------------------------------------------------------------------------------------- */

/* ## Baseline Normalize
--------------------------------------------- */
/* normalize.css v3.0.1 | MIT License | git.io/normalize */

html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#666}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}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-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

/* ## Box Sizing
--------------------------------------------- */

html,
input[type="search"]{
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}


/* ## Float Clearing
--------------------------------------------- */

.author-box:before,
.clearfix:before,
.entry:before,
.entry-content:before,
.footer-widgets:before,
.nav-primary:before,
.nav-secondary:before,
.pagination:before,
.site-container:before,
.site-footer:before,
.site-header:before,
.site-inner:before,
.wrap:before {
	content: " ";
	display: table;
}

.author-box:after,
.clearfix:after,
.entry:after,
.entry-content:after,
.footer-widgets:after,
.nav-primary:after,
.nav-secondary:after,
.pagination:after,
.site-container:after,
.site-footer:after,
.site-header:after,
.site-inner:after,
.wrap:after {
	clear: both;
	content: " ";
	display: table;
}


/* # Defaults
---------------------------------------------------------------------------------------------------- */

/* ## Typographical Elements
--------------------------------------------- */

html {
    font-size: 62.5%; /* 10px browser default */
}

/* Chrome fix */
body > div {
    font-size: 1.8rem;
}

body {
	background-color: #fff;
	color: #666;
	font-family: 'p22-underground', serif;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 300;
	line-height: 1.625;
	margin: 0;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.gallery img {
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition:    all 0.1s ease-in-out;
	-ms-transition:     all 0.1s ease-in-out;
	-o-transition:      all 0.1s ease-in-out;
	transition:         all 0.1s ease-in-out;
}

a {
	color: #d86d61;
	text-decoration: none;
}

a:hover {
	color: #c5665a;
	text-decoration: underline;
}

a:focus {
	color: #d86d61;
	text-decoration: none;
}

p {
	margin: 0 0 28px;
	padding: 0;
	font-size: 14px;
}

ol,
ul {
	margin: 0;
	padding: 0;
}

li {
	list-style-type: none;
}

hr {
	border: 0;
	border-collapse: collapse;
	border-top: 1px solid #ddd;
	clear: both;
	margin: 1em 0;
}

b,
strong {
	font-weight: 700;
}

blockquote,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 40px;
}

blockquote::before {
	content: "\201C";
	display: block;
	font-size: 30px;
	font-size: 3rem;
	height: 0;
	left: -20px;
	position: relative;
	top: -10px;
}


/* ## Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #666;
	font-family: 'Libre Baskerville', serif;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 10px;
}

h1 {
	font-size: 32px;
}

h2 {
	font-size: 28px;
	}

h3 {
	font-size: 22px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 14px;
}

h6 {
	font-size: 14px;
}

/* ## Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width: 100%;
}

img {
	height: auto;
}

.featured-content img,
.gallery img {
	width: auto;
}

/* ## Gallery
--------------------------------------------- */

.gallery {
	overflow: hidden;
}

.gallery-item {
	float: left;
	margin: 0 0 28px;
	text-align: center;
}

.gallery-columns-2 .gallery-item {
	width: 50%;
}

.gallery-columns-3 .gallery-item {
	width: 33%;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery-columns-5 .gallery-item {
	width: 20%;
}

.gallery-columns-6 .gallery-item {
	width: 16.6666%;
}

.gallery-columns-7 .gallery-item {
	width: 14.2857%;
}

.gallery-columns-8 .gallery-item {
	width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	width: 11.1111%;
}

.gallery img {
	border: 1px solid #ddd;
	height: auto;
	padding: 4px;
}

.gallery img:hover,
.gallery img:focus {
	border: 1px solid #999;
}

/* ## Forms
--------------------------------------------- */

input,
select,
textarea {
	background-color: #fff;
	border: 1px solid #ddd;
	color: #666;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 300;
	padding: 16px;
	width: 100%;
}

input:focus,
textarea:focus {
	border: 1px solid #999;
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

::-moz-placeholder {
	color: #666;
	font-weight: 300;
	opacity: 1;
}

::-webkit-input-placeholder {
	color: #666;
	font-weight: 300;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
	background-color: #d3c7b4;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 300;
	padding: 13px 30px;
	text-transform: uppercase;
	width: auto;
	letter-spacing:.21em;
	font-family: p22-underground, sans-serif;
	font-weight:500;
}

button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"],
.button:hover,
button:focus,
input:focus[type="button"],
input:focus[type="reset"],
input:focus[type="submit"],
.button:focus  {
	background-color: #c2b8a6; /* #27b4b2 */
	color: #fff;
}

.entry-content .button:hover,
.entry-content .button:focus {
	color: #fff;
}

.footer-widgets button,
.footer-widgets input[type="button"],
.footer-widgets input[type="reset"],
.footer-widgets input[type="submit"],
.footer-widgets .button {
	background-color: #27b4b2;
	color: #fff;
}

.footer-widgets button:hover,
.footer-widgets input:hover[type="button"],
.footer-widgets input:hover[type="reset"],
.footer-widgets input:hover[type="submit"],
.footer-widgets .button:hover,
.footer-widgets button:focus,
.footer-widgets input:focus[type="button"],
.footer-widgets input:focus[type="reset"],
.footer-widgets input:focus[type="submit"],
.footer-widgets .button:focus {
	background-color: #fff;
	color: #666;
}

.button {
	display: inline-block;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
	display: none;
}

/* ## Tables
--------------------------------------------- */

table {
	border-collapse: collapse;
	border-spacing: 0;
	line-height: 2;
	margin-bottom: 40px;
	width: 100%;
}

tbody {
	border-bottom: 1px solid #ddd;
}

td,
th {
	text-align: left;
}

td {
	border-top: 1px solid #ddd;
	padding: 6px 0;
}

th {
	font-weight: 400;
}

/* ## Screen Reader Text
--------------------------------------------- */

.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus,
.genesis-nav-menu .search input[type="submit"]:focus,
.widget_search input[type="submit"]:focus  {
	clip: auto !important;
	height: auto;
	width: auto;
	display: block;
	font-size: 1em;
	font-weight: bold;
	padding: 15px 23px 14px;
	color: #666;
	background: #fff;
	z-index: 100000; /* Above WP toolbar. */
	text-decoration: none;
	box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
}

.more-link {
    position: relative;
}


/* # Structure and Layout
---------------------------------------------------------------------------------------------------- */

/* ## Site Containers
--------------------------------------------- */

.site-inner,
.wrap {
	margin: 0 auto;
}

.site-inner {
	clear: both;
	padding-top: 40px;
}
.page .site-inner {
	padding-top: 0;
}

/* ## Column Widths and Positions
--------------------------------------------- */

/* ### Wrapping div for .content and .sidebar-primary */

.content-sidebar-sidebar .content-sidebar-wrap,
.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
	width: 980px;
}

.content-sidebar-sidebar .content-sidebar-wrap {
	float: left;
}

.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
	float: right;
}

/* ### Content */

.content {
	float: right;
	width: 800px;
}

.content-sidebar .content,
.content-sidebar-sidebar .content,
.sidebar-content-sidebar .content {
	float: left;
}

.content-sidebar-sidebar .content,
.sidebar-content-sidebar .content,
.sidebar-sidebar-content .content {
	width: 580px;
}

.full-width-content .content {
	width: 100%;
}

/* ### Primary Sidebar */

.sidebar-primary {
	float: right;
	width: 360px;
}

.sidebar-content .sidebar-primary,
.sidebar-sidebar-content .sidebar-primary {
	float: left;
}



aside .newsletter-signup form input.button {
	width: 220px;

}
aside .newsletter-signup {
    text-align: center;
    max-width: 220px; 
    margin: auto;
}

/* ### Secondary Sidebar */

.sidebar-secondary {
	float: left;
	width: 180px;
}

.content-sidebar-sidebar .sidebar-secondary {
	float: right;
}

/* ## Column Classes
--------------------------------------------- */
/* Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css */

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin-left: 2.564102564102564%;
}

.one-half,
.three-sixths,
.two-fourths {
	width: 48.717948717948715%;
}

.one-third,
.two-sixths {
	width: 31.623931623931625%;
}

.four-sixths,
.two-thirds {
	width: 65.81196581196582%;
}

.one-fourth {
	width: 23.076923076923077%;
}

.three-fourths {
	width: 74.35897435897436%;
}

.one-sixth {
	width: 14.52991452991453%;
}

.five-sixths {
	width: 82.90598290598291%;
}

.first {
	clear: both;
	margin-left: 0;
}


/* # Common Classes
---------------------------------------------------------------------------------------------------- */

/* ## Avatar
--------------------------------------------- */

.avatar {
	float: left;
}

.alignleft .avatar,
.author-box .avatar {
	margin-right: 24px;
}

.alignright .avatar {
	margin-left: 24px;
}

.comment .avatar {
	margin: 0 16px 24px 0;
}

/* ## Genesis
--------------------------------------------- */

.breadcrumb {
	margin-bottom: 20px;
}

.archive-description,
.author-box {
	background-color: #fff;
	font-size: 16px;
	font-size: 1.6rem;
	margin-bottom: 40px;
	padding: 40px;
}
body.archive .archive-description.date-archive-description.archive-date {
    padding: 0;
    border-bottom: 1px solid #ddd;
}
.author-box-title {
	font-size: 16px;
	font-size: 1.6rem;
	margin-bottom: 4px;
}

.archive-description p:last-child,
.author-box p:last-child {
	margin-bottom: 0;
}

/* ## Search Form
--------------------------------------------- */

.search-form {
	overflow: hidden;
}

.site-header .search-form {
	float: right;
	margin-top: 12px;
}

.entry-content .search-form,
.site-header .search-form {
	width: 50%;
}

.genesis-nav-menu .search input[type="submit"],
.widget_search input[type="submit"] {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* ## Titles
--------------------------------------------- */

.archive-title {
	font-size: 20px;
	font-size: 2rem;
}

.entry-title {
	font-size: 18px;
	text-transform: uppercase;
        letter-spacing: 2px;
}
.page h1.entry-title {
	text-align: center;
}

.entry-title a,
.sidebar .widget-title a,
.single-post h1.entry-title {
	text-decoration: none;
	color: #002742;
    font-size: 26px;
    line-height: 28px;
    letter-spacing: .02em;
    font-family: p22-mackinac-pro, serif;
    font-weight: 500;
}

.entry-title a:hover,
.entry-title a:focus {
	color: #d86d61;;
}

.widget-title {
	font-size: 18px;
	font-size: 1.8rem;
	margin-bottom: 20px;
}

.footer-widgets .widget-title {
	color: #fff;
}

/* ## WordPress
--------------------------------------------- */

a.aligncenter img {
	display: block;
	margin: 0 auto;
}

a.alignnone {
	display: inline-block;
}

.alignleft {
	float: left;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

a.alignleft,
a.alignnone,
a.alignright {
	max-width: 100%;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 24px;
}

img.alignnone,
.alignnone {
	margin-bottom: 12px;
}

a.alignleft,
img.alignleft,
.wp-caption.alignleft {
	margin: 0 24px 24px 0;
}

a.alignright,
img.alignright,
.wp-caption.alignright {
	margin: 0 0 24px 24px;
}

.wp-caption-text {
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: 700;
	text-align: center;
}

.entry-content p.wp-caption-text {
	margin-bottom: 0;
}

.sticky {
}

.entry-content .wp-audio-shortcode,
.entry-content .wp-playlist,
.entry-content .wp-video {
	margin: 0 0 28px;
}


/* # Widgets
---------------------------------------------------------------------------------------------------- */

.widget {
	word-wrap: break-word;
}

.widget ol > li {
	list-style-position: inside;
	list-style-type: decimal;
	padding-left: 20px;
	text-indent: -20px;
}

.widget li li {
	border: 0;
	margin: 0 0 0 30px;
	padding: 0;
}

.widget_calendar table {
	width: 100%;
}

.widget_calendar td,
.widget_calendar th {
	text-align: center;
}

/* ## Featured Content
--------------------------------------------- */

.featured-content .entry {
	border-bottom: 2px solid #f5f5f5;
	margin-bottom: 20px;
	padding: 0 0 24px;
}

.footer-widgets .entry {
	border-bottom: 1px dotted #666;
}

.featured-content .entry-title {
	font-size: 20px;
	font-size: 2rem;
}


/* # Plugins
---------------------------------------------------------------------------------------------------- */

/* ## Genesis eNews Extended
--------------------------------------------- */

.enews-widget,
.enews-widget .widget-title {
	color: #fff;
}

.sidebar .widget.enews-widget {
	background-color: #666;
}

.enews-widget input,
.enews-widget input:focus {
	border: 1px solid #666;
}

.enews-widget input {
	font-size: 16px;
	font-size: 1.6rem;
	margin-bottom: 16px;
}

.enews-widget input[type="submit"] {
	background-color: #27b4b2;
	color: #fff;
	margin: 0;
	width: 100%;
}

.enews-widget input:hover[type="submit"],
.enews-widget input:focus[type="submit"]  {
	background-color: #fff;
	color: #666;
}

.enews form + p {
	margin-top: 24px;
}

/* ## Jetpack
--------------------------------------------- */

#wpstats {
	display: none;
}


/* # Skip Links
---------------------------------------------------------------------------------------------------- */
.genesis-skip-link {
	margin: 0;
}

.genesis-skip-link li {
	height: 0;
	width: 0;
	list-style: none;
}

/* Display outline on focus */
:focus {
	color: #666;
	outline: #ccc solid 1px;
}


/* # Site Header
---------------------------------------------------------------------------------------------------- */

.site-header {
	
	min-height: 120px;
}

.site-header a {
	position:relative;
}

.site-header .wrap {
    padding: 80px 0 40px;
}

.site-header h1 {
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 20px;
    	margin-top: -90px;
}

.site-header h1 a {
	text-decoration: none;
	color: #666;
	letter-spacing: 4px;
	font-size: 22px;
}

.site-header h1 a:hover {
	color: #888;
}
.site-header .nav-primary li.nav-left {
    float: left;
}
.site-header .nav-primary li.nav-right {
    float: right;
	padding: 0 5px;
}

.site-header .nav-primary li:nth-of-type(1) a {padding-left: 0;}
.site-header .nav-primary li:nth-of-type(3) a {padding-right: 0;}



/* ## Title Area
--------------------------------------------- */

.title-area {
	float: left;
	padding: 10px 0;
	width: 360px;
}

.header-full-width .title-area {
	width: 100%;
}

.site-title {
	font-size: 32px;
	font-size: 3.2rem;
	font-weight: 400;
	line-height: 1.2;
}

.site-title a,
.site-title a:hover,
.site-title a:focus {
	color: #666;
}

.header-image .site-title > a {
	background: url(images/logo.png) no-repeat left;
	float: left;
	min-height: 60px;
	width: 100%;
}

.site-description {
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 300;
	line-height: 1.5;
}

.site-description,
.site-title {
	margin-bottom: 0;
}

.header-image .site-description,
.header-image .site-title {
	display: block;
	text-indent: -9999px;
}

img.header-logo {
    width: 140px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-top: -40px;
}

/* ## Widget Area
--------------------------------------------- */

.site-header .widget-area {
	float: right;
	text-align: right;
	width: 800px;
}

.home .site-inner {
	padding-top: 0;
	max-width: none;
}



.home #about-section, 
.home #featured-section,  
.home #posts-section {
    margin-bottom: 0px;
    position: relative;
}
.home #slider-section {
	margin-bottom: 0px;
}
.home .about-section h2 {
    text-align: center;
    padding-bottom: 10px;
    line-height: 1.2;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.home .about-section h2 span {
	font-size: 24px;
	letter-spacing: 1px;
	text-transform: none;
}
.home .slider-section {

    margin: 0 0 30px 0;
    margin-bottom:0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.home .slider-section svg#next, 
.home .slider-section svg#prev {
    	width: 25px;
	opacity: 0.5;
}
.home .slider-section div#next:hover svg#next, 
.home .slider-section div#prev:hover svg#prev {
	opacity: 0.9;
}
.home .slider-section svg#next {
	right: 10%;
} 
.home .slider-section svg#prev {
	left: 10%;
}

.home .slider-section #next,
.home .slider-section #prev {
	width: 50%;
	position: absolute;
}
.home .slider-section #next {
    right: 0;
   
}
.home .slider-section #prev {
	left: 0;
}
.home .featured-section h3,
.home .posts-section h2,
.page .press-page h1 {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    text-align: center;
}
.home .posts-section h2 {
	margin-bottom: 20px;
}

.page-template-page_blog .site-inner {
    padding-top: 40px;
}
div#press-page, div#before-after-page, .page-template-page_blog main.content {
    padding-bottom: 100px;
}
/* about popup */
.nav-primary .popup_box .exit-button {
    padding: 0;
    width: 12px;
    height: 12px;
    display: block;
    right: -6px;
    left: auto;
    position: absolute;
    top: -6px;
}
.exit-button:before, .exit-button::before {
    width: 12px;
    height: 12px;
    display: block;
    background: url(/wp-content/uploads/2015/10/x200.svg);
    background-size: cover;
    content: "";
    cursor: pointer;
}
/* lets see if we can't use this on the blog template .... */

.blog .featured-section h3 {
    color: #fff;
    border: 1px solid #fff;
    display: block;
    position: relative;
    max-width: 400px;
    margin: -215px auto 0;
}
.blog .featured-section h3 span,
.home .posts-section h2 span {
    font-size: 22px;
    font-style: italic;
    text-transform: none;
    letter-spacing: 1px;
}
.blog .featured-section .one-half {
	text-align: center;
}
.hblog .featured-section .one-half:after {
	background-size: 600px 48px;
	width: 600px;
	height: 48px;
	display: block;
	content: '';
	float: none;
    margin: auto;
}
.blog .featured-section .one-half:after {
	background-image: url("https://www.jerseyicecreamco.com/wp-content/uploads/2015/09/arrow-r.svg");
}
.blog .featured-section .one-half.first:after {
	background-image: url("https://www.jerseyicecreamco.com/wp-content/uploads/2015/09/arrow-l.svg");
}

.page-template-page_blog .newsletter-section h3 {
	text-align:center;
	margin-bottom:0px;
}

aside .newsletter-section span:after {
    content: "";
    display: table;
    border-bottom: solid 2px #002742;
    width: 30px;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 15px;
}

.home .featured-post.one-third:nth-of-type(1) {
	margin-left: 0;
	clear: both;
}
.home .featured-post h3 {
	margin-bottom: 0;
}
.home .featured-post h3 a {
	color: #666;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
    font-size: 18px;
}
.home .featured-post h3 a:hover,
.home .featured-post p a:hover {
	text-decoration: underline;
	color: #888;	
}
.home .featured-post p,
.home .featured-post p a {
	text-transform: uppercase;
	color: #888;
	text-decoration: none;
	font-style: italic;
    font-size: 14px;
}

.home .before-after-section, 
.home .design-projects-section {
	height:480px;
	margin-bottom:40px;
}
.home .before-after-compare {
	position: relative;
	display: block;
    height: 480px;
	overflow: hidden;
}

.home .before-after-compare a:nth-of-type(1), 
.home .design-projects-section a:nth-of-type(1) {
    position: relative;
    height: 480px;
    width: auto;
    display: block;
}
.home .before-after-section a.featured-button, 
.home .design-projects-section a.featured-button {
    color: #fff;
    border: 3px solid #fff;
    position: relative;
    margin: auto;
    padding: 20px 0;
    float: none;
    text-align: center;
    display: block;
    width: 500px;
    margin-top: -280px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 24px;
    text-decoration: none;
}

.home .before-after-section:hover a.featured-button,
.home .design-projects-section:hover a.featured-button {
	background: #fff;
	color: #666;
}





/* # Site Navigation
---------------------------------------------------------------------------------------------------- */

.genesis-nav-menu {
	clear: both;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1;
	width: 100%;
}

.genesis-nav-menu .menu-item {
	display: inline-block;
	text-align: left;
}

.genesis-nav-menu a {
	color: #666;
	text-decoration: none;
	display: block;
	text-transform: none;
	font-size: 12px;
    letter-spacing: 2px;
}
.nav-primary .genesis-nav-menu a {
	padding: 30px 18px;
	text-transform:uppercase;
}
.nav-secondary .genesis-nav-menu a {
    padding: 0px 18px;
}
.nav-secondary .fa-pinterest:before, .nav-secondary .fa-instagram:before {
	font-size: 15px;
}

.genesis-nav-menu a:hover,
.genesis-nav-menu a:focus,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover,
.genesis-nav-menu .sub-menu .current-menu-item > a:focus  {
	color: #27b4b2;
	text-decoration: underline;
}

.genesis-nav-menu .sub-menu {
	left: -9999px;
	opacity: 0;
	position: absolute;
	-webkit-transition: opacity .4s ease-in-out;
	-moz-transition:    opacity .4s ease-in-out;
	-ms-transition:     opacity .4s ease-in-out;
	-o-transition:      opacity .4s ease-in-out;
	transition:         opacity .4s ease-in-out;
	width: 200px;
	z-index: 99;
}

.genesis-nav-menu .sub-menu a {
	background-color: #fff;
	border: 1px solid #eee;
	border-top: 0;
	font-size: 14px;
	font-size: 1.4rem;
	padding: 20px;
	position: relative;
	width: 200px;
	word-wrap: break-word;
}

.genesis-nav-menu .sub-menu .sub-menu {
	margin: -55px 0 0 199px;
}

.genesis-nav-menu .menu-item:hover {
	position: static;
}

.genesis-nav-menu .menu-item:hover > .sub-menu {
	left: auto;
	opacity: 1;
}

.genesis-nav-menu > .first > a {
	padding-left: 0;
}

.genesis-nav-menu > .last > a {
	padding-right: 0;
}

.genesis-nav-menu > .right {
	color: #fff;
	float: right;
	list-style-type: none;
	padding: 30px 0;
}

.genesis-nav-menu > .right > a {
	display: inline;
	padding: 0;
}

.genesis-nav-menu > .rss > a {
	margin-left: 48px;
}

.genesis-nav-menu > .search {
	padding: 10px 0 0;
}

/* ## Accessible Menu
--------------------------------------------- */

.menu .menu-item:focus {
	position: static;
}

.menu .menu-item > a:focus + ul.sub-menu,
.menu .menu-item.sfHover > ul.sub-menu {
	left: auto;
	opacity: 1;
}

/* ## Site Header Navigation
--------------------------------------------- */

.site-header .sub-menu {
	border-top: 1px solid #eee;
}

.site-header .sub-menu .sub-menu {
	margin-top: -56px;
}

.site-header .genesis-nav-menu li li {
	margin-left: 0;
}

.site-header .nav-primary {
	margin-top: -74px;
}
.site-header .nav-primary .wrap {
    padding: 0;
 /*   border-top: 1px solid #666; */
}


/* ## About Modal Popup
--------------------------------------------- */

.about-popup p {
	font-size: 15px;
    line-height: 28px;
    text-align: left;
    margin: 0;
    padding-top: 26px;
    letter-spacing: .02em;
}

.about-popup h4 {
    padding-bottom: 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .21em;
    font-family: 'p22-underground', sans-serif;
    font-weight: 500;
    color: #002742;
    margin-bottom: 0;
}
.about-popup .about-icons { padding: 0;
}
.about-popup .about-icons a {
	margin:auto;
	display:inline-block;
	padding: 0 20px;
}

.about-popup .email-us {
	text-transform:uppercase;
	font-size: 12px;
    padding: 22px 0 25px;
    margin: 0 auto;
    letter-spacing: .21em;
    color:#666;
    font-family: p22-underground, sans-serif;
    font-weight:500;
	
}



/* ## Primary Navigation
--------------------------------------------- */

.nav-primary, .nav-secondary {
    text-align: center;
}

.nav-primary .genesis-nav-menu a, .nav-secondary .genesis-nav-meny a {
	/*color: #002742;
	text-decoration: none;
	font-size:13px;
    letter-spacing: .08em;
	font-family: p22-mackinac-pro, serif;
	font-weight:700;*/
	
	font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .21em;
    line-height: 16px;
    font-family: 'p22-underground', sans-serif;
    font-weight: 500;
    color: #002742;
}


.nav-primary .genesis-nav-menu a:hover,
.nav-primary .genesis-nav-menu a:focus,
.nav-primary .genesis-nav-menu .current-menu-item > a,
.nav-secondary .genesis-nav-menu a:hover,
.nav-secondary .genesis-nav-menu a:focus,
.nav-secondary .genesis-nav-menu .current-menu-item > a {
	color: #888;
	text-decoration: none;
}

.nav-primary .genesis-nav-menu .sub-menu a,
.nav-secondary .genesis-nav-menu .sub-menu a {
	color: #666;
}

.nav-primary .genesis-nav-menu .sub-menu a:hover,
.nav-primary .genesis-nav-menu .sub-menu a:focus,
.nav-primary .genesis-nav-menu .sub-menu .current-menu-item > a,
.nav-secondary .genesis-nav-menu .sub-menu a:hover,
.nav-secondary .genesis-nav-menu .sub-menu a:focus,
.nav-secondary .genesis-nav-menu .sub-menu .current-menu-item > a {
	color: #27b4b2;
	text-decoration: underline;
}

/* # Content Area
---------------------------------------------------------------------------------------------------- */

/* ## Entries
--------------------------------------------- */

.entry {
	margin-bottom: 60px;
	padding: 0px;
}

.content .entry {
	background-color: #fff;
}

.entry-content ol,
.entry-content ul {
	margin-bottom: 28px;
	margin-left: 40px;
}

.entry-content ol > li {
	list-style-type: decimal;
}

.entry-content ul > li {
	list-style-type: disc;
}

.entry-content ol ol,
.entry-content ul ul {
	margin-bottom: 0;
}

.entry-content code {
	background-color: #666;
	color: #ddd;
}

/* ## Entry Meta
--------------------------------------------- */

p.entry-meta {
	font-size: 14px;
	margin-bottom: 0;
}

.entry-header .entry-meta {
	margin-bottom: 24px;
}

.entry-footer .entry-meta {
	border-top: 2px solid #f5f5f5;
	padding-top: 24px;
}

.entry-categories,
.entry-tags {
	display: block;
}

.entry-comments-link::before {
	content: "\2014";
	margin: 0 6px 0 2px;
}

/* ## Pagination
--------------------------------------------- */

.pagination {
	clear: both;
	margin: 40px 0;
}

.adjacent-entry-pagination {
	margin-bottom: 0;
}

.archive-pagination li {
	display: inline;
}

.archive-pagination li a {
	background-color: #d3c7b4;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 16px;
	font-size: 1.6rem;
	padding: 8px 12px;
	text-decoration: none;
}

.archive-pagination li a:hover,
.archive-pagination li a:focus,
.archive-pagination .active a {
	background-color: #d86d61;
	text-decoration: none;
}

/* ## Comments
--------------------------------------------- */

.comment-respond,
.entry-comments,
.entry-pings {
	background-color: #fff;
	margin-bottom: 40px;
}

.comment-respond,
.entry-pings {
	padding: 40px 40px 16px;
}

.entry-comments {
	padding: 40px;
}

.comment-header {
	font-size: 16px;
	font-size: 1.6rem;
}

li.comment {
	background-color: #f5f5f5;
	border: 2px solid #fff;
	border-right: 0;
}

.comment-content {
	clear: both;
	word-wrap: break-word;
}

.comment-list li {
	margin-top: 24px;
	padding: 32px;
}

.comment-list li li {
	margin-right: -32px;
}

.comment-respond input[type="email"],
.comment-respond input[type="text"],
.comment-respond input[type="url"] {
	width: 50%;
}

.comment-respond label {
	display: block;
	margin-right: 12px;
}

#respond {
	padding-top:20px;
}

.entry-comments .comment-author {
	margin-bottom: 0;
}

.entry-pings .reply {
	display: none;
}

.bypostauthor {
}

.form-allowed-tags {
	background-color: #f5f5f5;
	font-size: 16px;
	font-size: 1.6rem;
	padding: 24px;
}


/* # Sidebars
---------------------------------------------------------------------------------------------------- */

.sidebar {
	font-size: 16px;
	font-size: 1.6rem;
}

.sidebar li {
	border-bottom: 1px dotted #ddd;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.sidebar p:last-child,
.sidebar ul > li:last-child {
	margin-bottom: 0;
}

.sidebar .widget {
	background-color: #fff;
	margin-bottom: 0px;
	padding: 30px;
}

.sidebar .widget:nth-of-type(1) {
        padding-top: 0;

}




/* # Footer Widgets
---------------------------------------------------------------------------------------------------- */


.footer-widgets {
	clear: both;
	padding-top: 40px;
}

.footer-widgets,
.footer-widgets a {
	
}

.footer-widgets input {
	border: 1px solid #666;
}

.footer-widgets a.button,
.footer-widgets a:hover,
.footer-widgets a:focus {
	color: #fff;
}

.footer-widgets li {
	border-bottom: 1px dotted #666;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.footer-widgets .widget {
	margin-bottom: 40px;
}

.footer-widgets p:last-child {
	margin-bottom: 0;
}

.footer-widgets-1,
.footer-widgets-2,
.footer-widgets-3 {
	width: 340px;
}

.footer-widgets-1 {
	margin-right: 60px;
}

.footer-widgets-1,
.footer-widgets-2 {
	float: left;
}

.footer-widgets-3 {
	float: right;
}


/* # Site Footer
---------------------------------------------------------------------------------------------------- */
.footer-area {
	padding-top:10px;
	padding-botton:10px;
}

.footer-area .social-section {
	padding: 20px;
}
.footer-area {
    background-color: #fff5e9;
    position: relative;
    height: 90px;
    width: 100%;
    overflow: hidden;
}

.newsletter-section h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .21em;
    line-height: 16px;

    font-family: 'p22-underground', sans-serif;
    font-weight:500;
    color:#002742;

}
.newsletter-section h3 {
	text-align: center;
}
.footer-area .newsletter-section h3 {
	text-align: center;
}

aside.sidebar.sidebar-primary.widget-area .newsletter-section h3 {
	margin-bottom: 5px;
}
.newsletter-section h4 {
	text-transform: none;
	font-size: 20px;
	letter-spacing: 2px;
	line-height: 2.4;
}

.newsletter-section span, h3#reply-title, .entry-comments h3 {
	text-transform: uppercase;
	font-size: 25px;
	letter-spacing: .21em;
	line-height: 28px;
	color:#002742;
	font-family: 'p22-underground', sans-serif;
	font-weight:900;
	margin:auto;
	display:block;
	text-align:center;
}
h3#reply-title, .entry-comments h3 {text-align: left; }
.newsletter-section h4 {
	font-size:14px;
	text-align: center;
	letter-spacing: 1px;
}
.newsletter-signup form input.email {
    margin-top: 15px;
	font-size:14px;
	text-align:center;
	letter-spacing:.02em;
	color:#888;
	line-height:28px;
	font-weight:400;
	font-family: p22-mackinac-pro, serif;
	padding:10px;
}
.newsletter-signup form input.button {

    margin-top: 15px;
	font-size:12px;
    letter-spacing: .21em;
    background-color:#d86d61;
}

.newsletter-signup form input.button:hover {
    background-color:#c5665a;
}

.footer-area .social-section {
	border-left: 1px solid #888;
	position: relative;
}

.site-footer {
	background-color: #002742;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1;
	padding: 0px;
	text-align: center;
	height:30px;
}

.site-footer p {
	margin-bottom: 0;
	text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer .footer-credits p,
.site-footer .footer-credits a {
	font-size: 11px;
	color: #d3c7b4;
	font-family: 'p22-underground', sans-serif;
	padding: 2px 0px 0px;
	letter-spacing: 0.21em;
	
}



.footer-area .about-icons {
	float:right;
	width:15%;
	display:inline-block;
	margin-top:23px;
}

.footer-area .about-icons a {
	color:#002742;
	margin: 14px;
}

.footer-area .newsletter-section {
	width:800px;
	float:left;
	display:inline-block;
}

.footer-area .newsletter-title {
	width: 300px;
	display:inline-block;
}

.footer-area .newsletter-signup {
	width: 480px;
	display:inline-block;
}

.footer-area .newsletter-signup form input.button {
	width:160px;
}

.footer-area .newsletter-signup form input.email {
	width:60%;
	padding:6px;
	text-align:left;
	border:none;
	margin-left:3px;
	margin-right:10px;
}

.footer-area .newsletter-signup form input.button {
	background-color: #d3c7b4;
	padding:13px 30px;

}

.footer-area .newsletter-signup form input.button:hover, .footer-area .newsletter-signup form input.button:focus {
	background-color:#c2b8a6;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #888;
  padding-left:10px;
  font-size: 13px;
  letter-spacing: 0.04em
}
::-moz-placeholder { /* Firefox 19+ */
  	color: #888;
    padding-left:10px;
    font-size: 13px;
    letter-spacing: 0.04em
}
:-ms-input-placeholder { /* IE 10+ */
  	color: #888;
    padding-left:10px;
    font-size: 13px;
    letter-spacing: 0.04em
}
:-moz-placeholder { /* Firefox 18- */
  	color: #888;
    padding-left:10px;
    font-size: 13px;
    letter-spacing: 0.04em
}






/* SERVICES PAGE */

.services-page h2 {
    text-transform: uppercase;
}


.services-page .service-1 .service-image.one-half,
.services-page .service-3 .service-image.one-half {
	position: absolute;
	right: 0;
}
.services-page .service-2 .service-image.one-half {
	position: absolute;
	left: 0;
}

.services-page .service-1 .service-text.one-half,
.services-page .service-3 .service-text.one-half {
	position: relative;
	
}
.services-page .service-2 .service-text.one-half {
	position: relative;
}
.services-page h3 {
	padding-top: 60px;
	padding-bottom: 40px; 
	text-align: center;
	text-transform: uppercase;
    letter-spacing: .21em;
    color:#002742;
    font-size:16px;
	font-family: p22-underground, sans-serif;
	font-weight:500;
}

input#gform_submit_button_1 {
	margin:auto;
	display:block;
	margin-bottom:10px;
	background-color: #d86d61;
    color: #fff;
    padding: 13px 30px;
    max-width:160px;
}

input#gform_submit_button_1:hover {
	background-color:#c5665a;
}

div#get-in-touch h3 {
    padding-top: 52px;
    padding-bottom:34px;
}

.services-page {
    padding-right: 150px;
    padding-left: 150px;
}

.service-3 {
	border-bottom:1px solid #ddd;
	padding-bottom: 20px;
}

/* Jersey Form */

.jersey input, .jersey textarea {
	border:none;
	border-bottom:1px solid #ddd;
	color:#666;
	font-weight:300;
}

.jersey input {
	padding:16px;
}

.jersey input#gform_browse_button_1_7 {
    color: #666;
    background-color: #ddd;
}

.jersey input#input_1_1, .jersey input#input_1_2, .jersey input#input_1_3, .jersey input#input_1_4, .jersey input#input_1_5, .jersey input#input_1_6 {
    padding: 16px;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .02em;
    color: #666;
    font-family: p22-mackinac-pro, serif;
    font-weight: 400;
}

.gform_wrapper textarea.small, .gform_wrapper span.gform_drop_instructions {
	font-size: 16px;
    line-height: 28px;
    letter-spacing: .02em;
    color: #666;
    font-family: p22-mackinac-pro, serif;
    font-weight: 400;
}

.gform_wrapper textarea.small {
	padding:16px;
}


div#gform_confirmation_message_1 {
    font-size: 14px;
    text-align: center;
    padding-bottom: 22px;
}

.jersey .gform_wrapper div.validation_error {
    color: #666;
    border-top: 2px solid #666;
    border-bottom: 2px solid #666;
}

.jersey li {
	font-size:18px;
	font-family:'Libre Bakersville', serif;
	color:#666;
	font-weight:300;
}

.jersey input.button {
	color:#fff;
}

.jersey .gform_wrapper .gform_fileupload_multifile .gform_drop_area {
	color:#666;
	background:none;
}

.jersey .gform_wrapper li.gfield.gfield_error {
	background-color: rgba(250,250,250,1.8);
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.if-page.jersey input[type="button"], 
.if-page.jersey input[type="submit"], 
.if-page.jersey .button {
	background-color:#d3c7b4;
	font-family:"Libre Bakersville";
	padding: 13px 30px;
}

.jersey textarea#input_1_6 {

    background-image: -webkit-linear-gradient(left, white 10px, transparent 10px), 
    				-webkit-linear-gradient(right, white 10px, transparent 10px), 
    				-webkit-linear-gradient(white 50px, #ccc 50px, #ccc 51px, white 51px);
    background-image: -moz-linear-gradient(left, white 10px, transparent 10px), 
    				-moz-linear-gradient(right, white 10px, transparent 10px), 
    				-moz-linear-gradient(white 50px, #ccc 50px, #ccc 51px, white 51px);
    background-image: -ms-linear-gradient(left, white 10px, transparent 10px), 
    				-ms-linear-gradient(right, white 10px, transparent 10px), 
    				-ms-linear-gradient(white 50px, #ccc 50px, #ccc 51px, white 51px);
    background-image: -o-linear-gradient(left, white 10px, transparent 10px), 
    				-o-linear-gradient(right, white 10px, transparent 10px), 
					-o-linear-gradient(white 50px, #ccc 50px, #ccc 51px, white 51px);
    background-image: linear-gradient(left, white 10px, transparent 10px), 
    				linear-gradient(right, white 10px, transparent 10px), 
    				linear-gradient(white 50px, #ccc 50px, #ccc 51px, white 51px);
    background-size: 100% 100%, 100% 100%, 100% 60px;
    border: none;
    line-height: 56px;
    padding: 0 0 0 10px;
    height: 128px;
    width: 102%;
    left: -1%;
	margin-top: 5px;
}

/*.jersey .gform_wrapper .gform_fileupload_multifile .gform_drop_area {
	text-align:left;
	padding:0px;
}*/

.jersey .gform_wrapper ul li.gfield, .jersey .gform_wrapper .top_label div.ginput_container {
	margin-top:0px;
}

/*.jersey input#gform_submit_button_5 {
	float: right;
    	margin: -86px 372px;
}*/

/* -----------------
  # PROJECTS PAGE 
------------------ */

.arrows {
    font-size: 14px;
    font-style: italic;
}

.project-gallery .arrow.prev,
.project-gallery .arrow.next {
	  position: absolute;
	  top: 50%;
	  -webkit-touch-callout: none;
	  -webkit-user-select: none;
	  -khtml-user-select: none;
	  -moz-user-select: none;
	  -ms-user-select: none;
	  user-select: none;
	  cursor: pointer;
 }
.project-gallery .arrow.prev {
    left: -8%;
}
.project-gallery .arrow.next {
    right: -8%;
}
.project-gallery {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
	position: relative; 
	overflow: visible !important; 
	height: 600px; 
	width:960px;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.project-gallery ul { 
	position:absolute; 
	top:0; left: 0; 
	width:960px; 
	height: 600px;
}
.project-gallery ul li { 
	list-style: none; 
	display: inline-block;
	position:absolute; 
	top:0; 
	left: 0; 
	width:960px; 
	height: 600px;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
}
.dots li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  text-indent: -999em;
  border: 2px solid #fff;
  border-radius: 6px;
  cursor: pointer;
  opacity: .4;
  -webkit-transition: background .5s, opacity .5s;
  -moz-transition: background .5s, opacity .5s;
  transition: background .5s, opacity .5s;
}
.dots li.active {
  background: #fff;
  opacity: 1;
}

.projects-page .project-title {
	text-align: center;

	margin-top: 30px;
	margin-bottom: 50px;

	font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .21em;
    line-height: 16px;
    font-family: 'p22-underground', sans-serif;
    font-weight: 500;
    color: #002742;
}



.unslider-arrow.prev, .unslider-arrow.next {
    color: #888;
    size: 13px;
    letter-spacing: .04em;
	font-family: p22-mackinac-pro, serif;
    font-weight: 500;
}

/* Responsive Menu
--------------------------------------------- */

.responsive-menu-icon {
	cursor: pointer;
	display: none;
	margin-bottom: 0px;
    text-align: center;
    margin-top: 40px;
}
.responsive-menu-icon .icon-only:before, .responsive-menu-icon .icon-only::before {
	color: #666;
	content: "+";
	font-size: 26px;
	margin: 0 auto;
}
.responsive-menu-icon .icon-only {
	transition: transform .25s;
	-webkit-transition: transform .25s;
}
.responsive-menu-icon .icon-only.menu-open {
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}
.responsive-menu-icon::before, .responsive-menu-icon:before {
	/*color: #666;
	content: "+";
	font-size: 26px;
	margin: 0 auto;*/
}
.nav-secondary .responsive-menu-icon {
	margin: 10px auto 0;
}
span.wpcf7-form-control-wrap.your-start-date, 
span.wpcf7-form-control-wrap.your-email, 
span.wpcf7-form-control-wrap file-932, 
span.wpcf7-form-control-wrap.your-subject {
	position: relative;
	float: right;
	width: 48%;
}
span.wpcf7-form-control-wrap.your-name, 
span.wpcf7-form-control-wrap.your-job, 
span.wpcf7-form-control-wrap.your-location {
	position: relative;
	float: left;
	width: 48%;
}

input.wpcf7-form-control {
	border: none;
	border-bottom: 1px solid #ddd;
	font-size: 14px;
}

div.wpcf7-mail-sent-ok {
	font-size:14px;
	text-align: center;
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #ddd;
}

textarea.wpcf7-form-control.wpcf7-textarea {
font-size: 14px;
margin-top: 25px;

}
/* this creates our lines in the contact form for the "message" area */
textarea.wpcf7-form-control.wpcf7-textarea {
    background-image: -webkit-linear-gradient(left, white 10px, transparent 10px), 
    				-webkit-linear-gradient(right, white 10px, transparent 10px), 
    				-webkit-linear-gradient(white 50px, #ccc 50px, #ccc 51px, white 51px);
    background-image: -moz-linear-gradient(left, white 10px, transparent 10px), 
    				-moz-linear-gradient(right, white 10px, transparent 10px), 
    				-moz-linear-gradient(white 50px, #ccc 50px, #ccc 51px, white 51px);
    background-image: -ms-linear-gradient(left, white 10px, transparent 10px), 
    				-ms-linear-gradient(right, white 10px, transparent 10px), 
    				-ms-linear-gradient(white 50px, #ccc 50px, #ccc 51px, white 51px);
    background-image: -o-linear-gradient(left, white 10px, transparent 10px), 
    				-o-linear-gradient(right, white 10px, transparent 10px), 
					-o-linear-gradient(white 50px, #ccc 50px, #ccc 51px, white 51px);
    background-image: linear-gradient(left, white 10px, transparent 10px), 
    				linear-gradient(right, white 10px, transparent 10px), 
    				linear-gradient(white 50px, #ccc 50px, #ccc 51px, white 51px);
    background-size: 100% 100%, 100% 100%, 100% 60px;
    border: none;
    line-height: 56px;
    padding: 0 0 0 10px;
    height: 180px;
    width: 102%;
    left: -1%;
	margin-top: 5px;
}
textarea.wpcf7-form-control.wpcf7-textarea:focus {
    outline: none;
}
/*
#popup_box { 
	display:none;
	position:fixed;  
	_position:absolute;
	height:300px;  
	width:600px;  
	background:#FFFFFF;  
	left: 300px;
	top: 150px;
	z-index:100;
	margin-left: 15px;  
	border:2px solid #ff0000;  	
	padding:15px;  
	font-size:15px;  
	-moz-box-shadow: 0 0 5px #ff0000;
	-webkit-box-shadow: 0 0 5px #ff0000;
	box-shadow: 0 0 5px #ff0000;
}
*/
#popupBoxClose {
	font-size:20px;  
	line-height:15px;  
	right:5px;  
	top:5px;  
	position:absolute;  
	color:#6fa5e2;  
	font-weight:500;  	
}
a.sidebar-1 {
    color: #002742;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 20px;
    font-size: 18px;
}
section#text-9 {
	padding-top:10px;
}

.sidebar-social {
	text-align:center;
}
a.archives {
    color: #666;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .02em;
    padding: 10px;
    font-size: 15px;
    font-weight:400;
	font-family: 'p22-mackinac-pro', serif;
}
.archive-box {
	border-left: 1px solid #ddd;
	padding-left: 30px;
}
a.archives:hover, a.sidebar-1:hover {
	color:#888;
}
.archive-title {
	text-transform: uppercase;
	color: #002742;
    letter-spacing: .21em;
    font-size: 12px;
    font-family: 'p22-underground';
    font-weight: 500;
}
.page .entry-title, .press-page h1 {display: none;}

.page-template-page_blog .entry-title, .page-template-page_blog-php .entry-title {
	display: block;
} 
body.post-type-archive-projects .site-container {
	overflow: hidden;
}
.page-id-10 .site-inner {
	text-align: center;
}
.project .project-title > .title-plus {
	color: #666;
	text-decoration: none;
    	cursor: pointer;
}
.popup_box {
	display: none;
    position: absolute;
    background: #fff;
    left: 50%;
    top: 50%;
    z-index: 100;
    padding: 40px 75px;
    font-size: 15px;
    border: 1px solid #ccc;
    margin: auto;
    height: 670px;
    width: 720px;
    transform: translate(0,-50%);
    -webkit-transform: translate(0,-50%);
}
#menu-main-1 .popup_box {
	padding: 30px 50px;
}
.mobile-app-ref .popup_box {
	width: 80%;
	margin: 0px auto;
}
.popup_box.showPopup {
	display: block;
}
.popup_box .modal-content {
	overflow-y: auto;
	height: 100%;
}

/* -------------------
 # SERVICES CONTACT FORM
-----------------------*/
.mfs-container {
	position:relative; 
	width:100%;
	font-family:'Libre Baskerville', serif; 
	font-size:14px;
}
.mfs-container select {display:none;}
.mfs-options {
	position:absolute; 
	width:100%; padding:0; margin:0; 
	list-style-type:none; 
	background:#ffffff; 
	border:1px solid #ddd; 
	z-index:10;
}
.mfs-options li a {
    display: block;
    padding: 9px 5px 9px 20px;
    text-decoration: none;
    height: 40px;
    vertical-align: middle;
    color: #666;
}
.mfs-optgroup-option {}
.mfs-options li.mfs-optgroup {padding:4px 5px; color:#999999;}
.mfs-options li.selected {background-color:#eee;}
.mfs-options li.selected a {background-color: #eee;}
.mfs-options li.active {background-color:#eee; }
a.mfs-selected-option {
    display: block;
    padding: 14px;
    text-decoration: none;
    background: #fff;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}
ul.mfs-options { margin-left: 0; }
a.mfs-selected-option span {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    border-radius: 0px;
}
span.file-932 {
    position:relative;  
	display: block;
	cursor: pointer;
}
.file-932 input[type="file"]{
    -webkit-appearance:none; 
    position:absolute;
    left: 110px;
    opacity: 0;
    width: 92px;
	cursor: pointer;
}
.wpcf7-form-control-wrap.file-932 {
	cursor:pointer;
}
span.wpcf7-form-control-wrap.file-932:before {
    content: "UPLOAD";
    padding: 14px 12px;
    background: #ddd;
    position: absolute;
    left: 110px;
	cursor: pointer;
}
span.wpcf7-form-control-wrap.file-932:hover:before {
	background: #eee;
	cursor: pointer;
}

.gform_wrapper.gf_browser_chrome input.button.gform_button_select_files {
	padding:13px 30px!important;
	min-width:160px;
}
/* -------------------
 # FOOTER SOCIAL SECTION
-----------------------*/
.jr-insta-thumb ul.thumbnails li img {
    max-width: 130% !important;
}
.jr-insta-thumb ul.thumbnails li a {
    display: block;
    height: 130px;
    width: 130px;
    overflow: hidden;
}
.instagram.social-box, .pinterest.social-box {
    position: absolute;
    display: inline-block;
    height: 160px;
    width: 160px;
    background: #fff;
    z-index: 15;
    color: #666;
    overflow: hidden;
}
.instagram.social-box {
    left: 10px;
    top: 10px;
}
.pinterest.social-box {
	bottom: 40px;
	right: 30px;
}
.instagram.social-box a {
    color: #666;
    font-size: 12px;
    text-decoration: none;
}
.instagram.social-box a span {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.instagram.social-box a i, 
.pinterest.social-box a i { 
	color: #666; 
	margin-left: 68px; 
}
.instagram.social-box a i {
    font-size: 50px;
    margin-top: 68px;
}
.pinterest.social-box a i {
    font-size: 50px;
    margin-top: 45px;
}
.instagram.social-box a i:hover, 
.pinterest.social-box a i:hover,
.instagram.social-box a:hover  {
	color: #888;
}	

/* -------------------
 ORIGINALLY MAX-WIDTH 1200px MEDIA QUERIES
-----------------------*/
.site-inner,
.wrap {
	max-width: 960px;
}

.content-sidebar-sidebar .content-sidebar-wrap,
.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
	width: 740px;
}

.content,
.site-header .widget-area {
	width: 620px;
}

.sidebar-content-sidebar .content,
.sidebar-sidebar-content .content,
.content-sidebar-sidebar .content {
	width: 400px;
}

.sidebar-primary,
.title-area {
	width: 300px;
}

.footer-widgets-1,
.footer-widgets-2,
.footer-widgets-3,
.sidebar-primary,
.title-area {
	width: 300px;
}

.header-image .site-title > a {
	background-position: center top;
}
	
.footer-widgets-1 {
	margin-right: 0;
}

/* ---------------------
	# PRESS PAGE #
------------------------ */

body.post-type-archive-press .site-inner {
	padding-top: 22px;
}
.press-piece a {
    position: relative;
    display: block;
}
a.press-link {
    height: 350px;
}
.press-piece img {
    width: 350px;
    height: 350px;
    position: absolute;
    top: 0;
    left: 0;
}
.press-piece img.lighter {
	opacity: 0.5;
}
.press-piece a:hover img.lighter {
	opacity: 0.7;
}
.press-piece a:hover span {
	opacity: 1;
}
.press-piece img {
   	width: 280px;
	height: 280px;
}
a.press-link {
	height: 280px;
}
.press-piece {
    width: 280px;
    height: 280px;
    margin: 30px 30px 40px;
    float: left;
    position: relative;
    display: block;
    background: #666;
}
.press-piece:nth-of-type(3n-2) {
    margin-left: 0;
}
.press-piece:nth-of-type(3n) {
    margin-right: 0;
    float: right;
}
a.press-title {
    margin-top: 10px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    line-height:19px;
    letter-spacing:.04em;
    font-family: 'p22-mackinac-pro', serif;
    font-weight:500;
}
a.press-title:hover {
	text-decoration: underline;
	color: #888;
}
.press-piece a span {
    position: absolute;
    margin: auto;
    bottom: 20px;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    font-size: 12px;
    letter-spacing: 2px;
}

body.post-type-archive-projects .project-gallery.has-arrows, 
body.post-type-archive-projects .project-gallery .arrows {
	min-width: 960px;
}

/* ---------------------
  # BEFORE + AFTER PAGE #
------------------------ */

.before-after-piece {
    margin-bottom: 40px;
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.before-after-piece .before-img {
    clear: both;
    margin-left: 0;
    position: relative;
    overflow: hidden;
    display: block;
}
.landscape {
    height: 525px;
}
/* Portrait photos to be 50-50 side by side and 712px (natural) height */
.portrait {
	height: 712px;
}
img.after-photo.portrait, 
img.before-photo.portrait {
	width:460px;
}
.before-img.portrait {
	float: left;
}
.after-img.portrait {
	float: right;
}
.portrait {
    width: 342px;
    margin-right: 0;
    margin-left: 0;
    height: auto
}
.before-after-piece.portrait:before {content: "\f0da"; 	padding: 12px 23px; top: 45%;}
.after-img.landscape:before {content: "\f0d7"; top: 50%; padding: 12px 20px;}
.before-after-piece.portrait:before, 
.after-img.landscape:before {
	 	font-family: fontawesome;
	  	display: block;
	  	z-index: 2;
	   	border-radius: 50%;
	   	background: #fff;
}
.after-img.landscape:before {
	   	height: 50px;
	   	width: 50px;
	   	position: relative;
	   	float: none;
	   	margin: -32px auto -18px;
}
.before-after-piece.portrait:before {
    position: absolute;
    top: 48%;
    margin: auto;
    left: 0;
    right: 0;
    width: 50px;
}
.portrait,
.landscape {
	height: auto;
}
.landscape {
	width: 700px;
}
.landscape {
	width: 700px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	min-width: 700px;
	max-width: 700px;
}
.before-after-piece { margin-bottom: 40px; margin-left: 0; }
.before-after-piece.portrait,
.before-after-piece.landscape {
	width: 700px;
}
.before-img.landscape {
    margin-bottom: 7px;
}

body.page-template-archive-before-after .before-after-page .wrap {
		max-width: 700px;
}
.featured-pages-area a.featured-button {
    position: absolute;
    width: 90%;
    height: 82%;
    border: 2px solid #fff;
    top: 8%;
    bottom: auto;
    left: 5%;
    right: 5%;
    display: block;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 2px;
    text-align: center;
    padding-top: 23%;
}
.featured-pages-area .one-half .projects-page-featured,
.featured-pages-area .one-half .before-after-featured,
.featured-pages-area .one-half .blog-page-featured,
.featured-pages-area .one-half .services-page-featured {
	position: relative;
}
.featured-pages-area img.homepage-featured {
	background:#666;
	opacity:0.9;
}
.featured-pages-area .one-half .projects-page-featured:hover img.homepage-featured,
.featured-pages-area .one-half .before-after-featured:hover img.homepage-featured,
.featured-pages-area .one-half .blog-page-featured:hover img.homepage-featured,
.featured-pages-area .one-half .services-page-featured:hover img.homepage-featured {
	opacity: 1;
}
.featured-pages-area .one-half.first {
	margin-bottom: 15px;
}

p {
    font-size: 14px;
    line-height: 28px;
    letter-spacing: .02em;
    color: #666;
    font-family: p22-mackinac-pro, serif;
    font-weight: 400;
}

.page-id-20 .site-inner {
    margin-top: 42px;
}

.page-id-20 .site-inner .services-page {
	padding: 10px 130px;
}

.page-id-14 .site-inner {
    padding-top: 40px;
}

/*
.home .site-inner {
    padding-top: 0;
    max-width: none;
    position: absolute;
    width: 100%;
    top: 155px;
    bottom: 120px;
}
.site-footer {
    background-color: #002742;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1;
    padding: 0px;
    text-align: center;
    height: 30px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.footer-area {
    background-color: #fff5e9;
    height: 90px;
    position: absolute;
    width: 100%;
    bottom: 30px;
}

.home .slider-section {
    min-height: none;
    margin: 0 0 30px 0;
    margin-bottom: 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    height: auto;
    top: 0;
    bottom: 0;
    height: 100vh;
    position:absolute;
     
}
*/


/* New Page */

.site-inner .wp-block-group.housecall {
	border: 1px solid #ccc;
    max-width: 800px;
    margin-top: 42px;
}

.entry-content .wp-block-group.housecall  {
	padding: 10px 130px;
	margin-left: auto;
    margin-right: auto;
}

.wp-block-group.housecall h3 {
	padding-top: 60px;
    text-align:center;
    text-transform: uppercase;
    letter-spacing: .21em;
    color: #002742;
    font-size: 16px;
    font-family: p22-underground, sans-serif;
    font-weight: 500;
}

.wp-block-group.housecall h4 {
    text-transforM: uppercase;
    letter-spacing: .21em;
    font-size: 12px;
    text-align:center;
    margin-bottom:30px;
}

.wp-block-group.housecall h6 {
	font-size: 12px;
    letter-spacing: .21em;
}

.wp-block-group.housecall a.wp-block-button__link.has-background.no-border-radius {
	font-size: 12px;
    letter-spacing: .21em;
    margin-bottom: 10px;
    color: #fff;
    padding: 13px 30px;
}

.wp-block-group.plaster-form {
	margin-top:-30px;
}

.wp-block-group.plaster-form input#input_4_1 {
	padding: 10px;
    width: 40%;
    font-size: 14px;
    /* text-align: center; */
    letter-spacing: .02em;
    color: #888;
    line-height: 28px;
    font-weight: 400;
    font-family: p22-mackinac-pro, serif;
}

div#gform_confirmation_message_4 {
    margin: 60px 0px;
    /* font-size: 16px; */
    font-size: 14px;
    line-height: 28px;
    letter-spacing: .02em;
    color: #d86d61;
    font-family: p22-mackinac-pro, serif;
    font-weight: 500;
}

input#gform_submit_button_4 {
    background-color: #d86d61;
}



/* About page shown on mobile */
.page.about-page .entry-content {
	padding-right: 150px;
    padding-left: 150px;
}    
.page.about-page h1.entry-title {
    padding-top: 60px;
    padding-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #002742;
    font-size: 16px;
    font-family: p22-underground, sans-serif;display: block;
    font-weight: 500;
}

.page.about-page .email-us {
    text-transform: uppercase;
    font-size: 12px;
    padding: 22px 0 25px;
    margin: 0 auto;
    letter-spacing: .21em;
    color: #666;
    font-family: p22-underground, sans-serif;
    font-weight: 500;
}


.quote-section {
	position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: auto;
}
#quote {
	text-align: center;
    padding: 0;
}

#quote p {
    padding: 40px 0;
    margin: 0 auto;
}

#quote p span {
	display: block;
	margin-left: 150px;
}


.site-header .nav-primary {
    margin-top: -90px;
}


.site-header {
			position: relative;

    min-height: 70px;
    overflow: visible;
    z-index: 999;
}

.site-header .wrap {
    padding: 55px 0 0px;
    margin-bottom: 0px;
}

img.header-logo {
    width: 96px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-top: -28px;
}

.site-header .nav-primary {
    margin-top: -90px;
}

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

	.page.about-page .entry-content {
	    padding-right: 75px;
	    padding-left: 75px;
	}
	
	
}

@media only screen and (max-height: 901px) {
	.home .site-inner, 
	.home #slider-section, 
	.home .slider-section #next, 
	.home .slider-section #prev {
		height: 650px;
	}
	.home #slider-section {
		width: 100%;
	}
}

@media only screen and (min-height: 900px) {
	
	/* fixed to bottom footer for homepage */
	
	.home .site-header {
		position: relative;
		z-index: 2;
		background: #fff;
	}
	
	.home.jicc-home .footer-area {
	    position: absolute;
	    width: 100%;
	    bottom: 30px;
	}
	
	.home .slider-section, .home .site-inner {
		    position: absolute;
	    bottom: 0;
	    width: 100%;
	        top: 0;
	        bottom: 0;
	}
	.home .slider-section #next, .home .slider-section #prev {
		height: 100%;
		top: 0;
		bottom: 0;
	}
	.home .site-inner {
		margin-top: 150px;
		padding-top: 0;
	    max-width: none;
	    margin-bottom:100px;
	}
	
	.home .site-footer {
	    position: absolute;
	    width: 100%;
	    bottom: 0;
	}


}


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

	.home .site-inner, 
	.home #slider-section, 
	.home .slider-section #next, 
	.home .slider-section #prev {
		height: 480px;
	}
	.home #slider-section {
		width: 100%;
	}
}




#projects-page section.project {
	position:relative;
}
#projects-page section.project .exit-button {
    position: absolute;
    top: -6px;
    right: -6px;
}

.project .popup_box {
	position: absolute;
	height: 460px;
	width: 800px;
	top: 80px;
	left: 80px;
	padding: 60px 110px;
	transform: none;
	-webkit-transform: none;
}

.project-gallery, .project-gallery ul li {
	height:620px;
	
}

.project .popup_box .modal-content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: auto;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    width: 100%;
}
.project .popup_box .modal-content {
    overflow-y: auto;
    height: 100%;
    position: relative;
}

.project .popup_box .modal-content-wrap p:last-of-type {
	margin-bottom: 0;
}



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

	.page.about-page .entry-content {
	    padding-right: 75px;
	    padding-left: 75px;
	}
	
	.project .popup_box .modal-content-wrap {
	    position: relative;
	    left: auto;
	    top: auto;
	    transform: none;
	    -webkit-transform: none;
	}
	
	.project .popup_box {
	    height: auto;
	    width: 80%;
	    top: 0;
	    left: 10%;
	    padding: 45px;
	}
	.project .popup_box .modal-content {
    	overflow-y: visible;
    }
	
	
}
@media only screen and (max-width: 800px) {

	.project .popup_box {
	    width: 100%;
	    left: 0;
	    padding: 45px;
	}

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

	.project .popup_box {
	    width: 90%;
	    top: -10px;
	    left: 5px;
	}

}
.genesis-nav-menu .menu-item :focus {
	outline: none;
}



.project .popup_box.too-long {
	height: auto;
}

.project .popup_box.too-long .modal-content {
	overflow-y: visible;
}
.project .popup_box.too-long .modal-content-wrap {
	position:relative;
	left:auto;
	top:auto;
	transform: none;
	-webkit-transform: none;
}
input#gform_submit_button_1,
input#gform_browse_button_1_1, 
.gform_wrapper, input.button.gform_button_select_files,
button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"], 
.button,
.gform_wrapper .gform_footer input.button, 
.gform_wrapper .gform_footer input[type="submit"] {
	font-size: 12px;
    font-size: 1.2rem;
}

@media only screen and (min-width: 641px) {
	
	.gform_wrapper .gform_footer input.button, 
	.gform_wrapper .gform_footer input[type="submit"] {
		font-size: 12px;
	    font-size: 1.2rem;
	}
	
}

@media only screen and (max-width: 641px) {
	
	.gform_wrapper .gform_footer input.button, 
	.gform_wrapper .gform_footer input[type="submit"] {
		font-size: 12px;
	    font-size: 1.2rem;
	}
	
.page-id-20 .site-inner .services-page, .entry-content .wp-block-group.housecall {
    padding: 10px 30px;
    border:none;
    margin-top:0;
    }
    
    .page-id-20 .site-inner {
	    border:none;
	    margin-top:0;
    }
	
}


@media only screen and (min-width: 960px) {
	.nav-secondary .genesis-nav-menu a {
	    display: inline;
	}
}
@media only screen and (max-width: 1140px) {
	
	.project-gallery img {
	    width: auto;
	    height: 400px;
	}
	.project-direction a {
	    display: block;
	    color: #666;
	    text-decoration: none;
	    letter-spacing: 3px;
	    font-size: 16px;
	    position: relative;
	}
	.project-gallery {
	    display: table-cell;
	    text-align: center;
	    vertical-align: middle;
	}
	.project-gallery {position: relative; overflow: visible !important; height: 400px; width:640px;
		    -webkit-touch-callout: none;
			-webkit-user-select: none;
			-khtml-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
			height: 400px !important;
	        margin: auto;
			text-align: center;
			position: relative;
			display: block;
	}
	.project-gallery ul { position:absolute; top:0; left: 0; width:640px; height: 400px;}
	.project-gallery li { list-style: none; display: inline-block;}
	.project-gallery ul li { position:absolute; top:0; left: 0; width:640px; height: 400px;}
	
	.project-gallery .arrow.prev {
		left: 5%;
	}
		.project-gallery .arrow.next {
		right: 5%;
	}
	
} 

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


	/* JIMS METHOD FOR FOOTER HERE */
	
	.footer-area .newsletter-section {
	    width: 100%;
	    float: none;
	    display: block;
	    margin: 14px auto 0;
	}
	
	.footer-area .newsletter-title {
		float: left;
		padding: 12px 10px 0 0;
	    text-align: center;
	    display: block;
		width: 40%;
	}

	
	.footer-area .newsletter-signup {
	    float: right;
	    height: 60px;

	}
	
	.footer-area .newsletter-signup form input.email,
	.footer-area .newsletter-signup form input.button {
		margin-top: 0;
	}
	.footer-area .newsletter-signup form input.email {
		width: 56%;
		margin-right: 2%;
	}
	.footer-area .newsletter-signup form input.button {
		width: 40%;
	}
	.footer-area .about-icons {
	    float: none;
	    display: block;
	    margin: 20px auto;
	    width: auto;
	}
	
	.footer-area .about-icons a {
		margin:5px;
	}
	

}
@media only screen and (max-width: 960px) {
	.site-footer {
		height: auto;
	}
	.site-footer .footer-credits p {
	    line-height: 1.4;
	    padding: 10px 0 5px;
	}
	
	.footer-area {
		padding: 0;
		height: auto;
	}
	.footer-area .newsletter-section {
		overflow: hidden;
		clear: both;
		margin-top: 20px;
	}
	.footer-area .newsletter-signup,
	.footer-area .newsletter-title {
	    height: auto;
	    margin-bottom: 0;
	}
	
	.newsletter-signup {
		max-width: none;
	}
/*	
	.footer-area .newsletter-signup form input.email {
	    width: 250px;
	}
*/	
	.footer-area .about-icons a {
	    margin: 14px;
	}
	.footer-area .about-icons {
		width: 100%;
		text-align: center;
		line-height: 1;
	}
	
	.footer-credits p span:nth-of-type(3) {
	    opacity: 0;
	    clear: both;
	    display: block;
	    height: 0;
	}
	.footer-credits p a {
		margin: 0;
	}
	
	
	
	img.header-logo {
		margin-top: 20px;
	}
	.site-header .nav-primary {
    		margin-top: -20px;
	}
	.site-header h1 {
	    margin-bottom: 0px;
	    margin-top: 20px;
	}
	.site-inner,
	.wrap {
		max-width: 800px;
	}
	.site-header .wrap {
		padding: 20px 5%;
	}
	.content,
	.content-sidebar-sidebar .content,
	.content-sidebar-sidebar .content-sidebar-wrap,
	.sidebar-content-sidebar .content,
	.sidebar-content-sidebar .content-sidebar-wrap,
	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3,
	.sidebar-primary,
	.sidebar-secondary,
	.sidebar-sidebar-content .content,
	.sidebar-sidebar-content .content-sidebar-wrap,
	.site-header .widget-area,
	.title-area {
		width: 100%;
	}
	.genesis-nav-menu li,
	.site-header ul.genesis-nav-menu,
	.site-header .search-form {
		float: none;
	}

	.genesis-nav-menu,
	.site-description,
	.site-header .title-area,
	.site-header .search-form,
	.site-title {
		text-align: center;
	}
	.genesis-nav-menu a,
	.genesis-nav-menu > .first > a,
	.genesis-nav-menu > .last > a {
		padding: 30px 14px;
	}
	.site-header .search-form {
		margin: 16px auto;
	}
	.genesis-nav-menu li.right {
		display: none;
	}
	.genesis-nav-menu.responsive-menu {
		display: none;
		float: none;
		padding-bottom: 20px;
	}
	.genesis-nav-menu.responsive-menu .menu-item,
	.responsive-menu-icon {
		display: block;
	}
	.genesis-nav-menu.responsive-menu .menu-item:hover {
		position: static;
	}
	.genesis-nav-menu.responsive-menu li.current-menu-item > a,
	.genesis-nav-menu.responsive-menu .sub-menu li.current-menu-item > a:hover,
	.genesis-nav-menu.responsive-menu li a,
	.genesis-nav-menu.responsive-menu li a:hover {
		background: none;
		border: none;
		display: block;
		padding: 10px 0;
		text-transform: none;
	}

	.genesis-nav-menu.responsive-menu .menu-item-has-children {
		cursor: pointer;	
	}

	.genesis-nav-menu.responsive-menu .menu-item-has-children > a {
		margin-right: 60px;
	}

	.genesis-nav-menu.responsive-menu > .menu-item-has-children:before {
		content: "+";
		float: none;
		height: 20px;
		padding: 7px 20px;
		margin: auto;
		text-align: center;
		z-index: 9999;
	}

	.genesis-nav-menu.responsive-menu .menu-open.menu-item-has-children:before {
		content: "X";
	}

	.genesis-nav-menu.responsive-menu > .menu-item > .sub-menu {
		display: none;
	}

	.genesis-nav-menu.responsive-menu .sub-menu {
		background-color: #e2e2e2;
		left: auto;
		opacity: 1;
		position: relative;
		-moz-transition:    opacity .4s ease-in-out;
		-ms-transition:     opacity .4s ease-in-out;
		-o-transition:      opacity .4s ease-in-out;
		-webkit-transition: opacity .4s ease-in-out;
		transition:         opacity .4s ease-in-out;
		width: 100%;
		z-index: 99;
	}

	.genesis-nav-menu.responsive-menu .sub-menu .sub-menu {
		background-color: transparent;
		margin: 0;
		padding-left: 25px;
	}

	.genesis-nav-menu.responsive-menu .sub-menu li a,
	.genesis-nav-menu.responsive-menu .sub-menu li a:hover {
		padding: 10px 0;
		position: relative;
		text-transform: none;
		width: 100%;
	}

	.genesis-nav-menu.responsive-menu .current-menu-item > a,
	.genesis-nav-menu.responsive-menu .sub-menu .current-menu-item > a:hover,
	.genesis-nav-menu.responsive-menu > li.menu-item-has-children:hover > a,
	.genesis-nav-menu.responsive-menu a:hover {
		background: none;
	}

	.nav-primary .genesis-nav-menu.responsive-menu .current-menu-item > a,
	.nav-primary .genesis-nav-menu.responsive-menu .sub-menu li a,
	.nav-primary .genesis-nav-menu.responsive-menu .sub-menu li a:hover,
	.nav-primary .genesis-nav-menu.responsive-menu .sub-menu,
	.nav-primary .genesis-nav-menu.responsive-menu > .menu-item-has-children:before,
	.nav-primary .genesis-nav-menu.responsive-menu > li:hover > a,
	.nav-primary .genesis-nav-menu.responsive-menu a:hover {
		color: #666;
	}
	.site-header .nav-primary li.nav-right,
	.site-header .nav-primary li.nav-left {
		float: none;
		text-align: center;
	}
	.nav-primary {
	    margin-top: 80px;
	}
	.nav-secondary .genesis-nav-menu .menu-item {
    	display: block;
		text-align: center;
		max-width: 400px;
		float: none;
		margin: 0 auto 10px;
	}
	.home .before-after-section, .home .design-projects-section {
		height: 420px;
	}

	.home .before-after-section a.featured-button, 
	.home .design-projects-section a.featured-button {
    	margin-top: -320px;
    }
	.newsletter-section h3 {
    		line-height: 1.5;
	}

	.press-piece {
		width: 360px;
		height: 360px;
	    margin: 30px 30px 50px;
	}
	.press-piece img {
	    width: 360px;
	    height: 360px;
	}
	.press-piece:nth-of-type(2n-1) {
	    margin-left: 0;
		float: left;
	}
	.press-piece:nth-of-type(2n) {
	    margin-right: 0;
		float: right;
	}
	a.press-link {
	    height: 360px;
	}
	.press-piece a span {
		bottom: 30px;
	}
	.services-page {
    		padding-right: 75px;
    		padding-left: 75px;
	}
	.footer-area .social-section {
    	border-left: none;
		text-align: center;
	}
	
	
	.instagram.social-box a span,
	.jr-insta-thumb {
		display: none;
	}
	.footer-area .social-section {
   		 border-left: none;

	}
	/* original footer code
	
		.newsletter-signup {
    		max-width: 320px;
    		float: none;
    		margin: auto;
    		margin-bottom: 40px;
	}
	.footer-area {
    		padding: 0 0 40px;
	}
	
	*/
	.footer-area .newsletter-section.one-third.first, 
	.footer-area .social-section.two-thirds {
		margin: 0;
		width: 100%;
	}

	div#sb_instagram {
		height: 390px !important;
	}
	.instagram.social-box { height: 200px; width: 200px;} 
	.instagram.social-box a i { margin-top:90px; margin-left: 30px; }
	body.post-type-archive-projects .project-gallery.has-arrows, 
	body.post-type-archive-projects .project-gallery .arrows {
		min-width: 800px;
	}
	.nav-secondary ul#menu-main-1 li a.connect-with-us {
    	padding-top: 10px;
	}
	
	aside .newsletter-signup {
	    max-width: 300px;
	    margin: auto;
	}
	
	aside .archive-title {
		text-align: center; 
		border-bottom: 1px solid #ddd;
		padding-bottom: 20px;
		margin-bottom: 20px;
	}
	
	aside a.archives {
		display: inline;
		float: none;
	}
	aside .archive-box br {
		display: none;
	}
	aside .archive-box {
	    border-left: none;
	        text-align: center;
	        margin-bottom: 40px;
	        padding-left: 0;
	}

} 

@media only screen and (max-width: 800px) {
	
	.home .wrap, .home .site-inner {
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}
	.home .before-after-section, 
	.home .design-projects-section {
		position: relative;
		float: none;
		margin:auto;
		display:block;
		margin-bottom: 40px;
	}
    	.home .before-after-section, 
    	.home .design-projects-section,
    	.home .design-projects-featured,
    	.home .before-after-compare,
    	.home .before-after-compare a:nth-of-type(1), 
    	.home .design-projects-section a:nth-of-type(1) {
    		height: auto;
    		position: relative;
	}
	.home .before-after-section a.featured-button, 
	.home .design-projects-section a.featured-button,
	.home .before-after-section:hover a.featured-button, 
	.home .design-projects-section:hover a.featured-button {
		position: absolute;
		display: inline;
		left: 0;
		right: 0;
		margin: auto;
		top: 0;
		bottom: 0;
		height: 20%;
	}
    
	
	.home .before-after-compare {
		overflow: visible;
	}
	.featured-pages-area .one-half .projects-page-featured, .featured-pages-area .one-half .before-after-featured, .featured-pages-area .one-half .blog-page-featured, .featured-pages-area .one-half .services-page-featured {
    	float: none;
    	margin-left: auto;
    	margin-right: auto;
    	max-width: 600px;
    	margin-bottom: 30px;
    	height: auto;
	}
	.featured-pages-area .one-half, .featured-pages-area .one-half.first {
		margin-bottom: 0;
	}
	body.page-template-archive-before-after .site-inner,
	body.page-template-archive-before-after .wrap {
		padding-left: 0;
		padding-right: 0;
		max-width: 680px;
	}
	
	body {
		background-color: #fff;
		font-size: 16px;
		font-size: 1.6rem;
	}

	.site-inner,
	.wrap {
		padding-left: 5%;
		padding-right: 5%;
	}
	.home .site-inner {
		padding-left: 0;
		padding-right: 0; 
	}

	.archive-description,
	.author-box,
	.comment-respond,
	.entry,
	.entry-comments,
	.entry-pings,
	.sidebar .widget,
	.site-header {
		padding: 0;
	}
	.sidebar .widget {
		margin-bottom: 40px;
	}
	.archive-pagination li a {
		margin-bottom: 4px;
	}

	.five-sixths,
	.four-sixths,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fourths,
	.three-sixths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		margin: 0;
		width: 100%;
	}

	.sidebar .widget.enews-widget {
		padding: 40px;
	}
	/* .press-piece {
		width: 400px;
		height: 400px;
		margin: 20px auto 70px;
		float: none;
	}
	.press-piece img {
    		width: 400px;
		height: 400px;
	}
	a.press-link {
	   	 height: 400px;
	} */
	.press-piece:nth-of-type(2n-1), .press-piece:nth-of-type(2n) {
    		margin-left: auto;
		margin-right: auto;
    		float: none;
	}
	.press-piece:nth-of-type(3n) {
		margin-right: auto;
	}
	.press-piece {
		margin: 30px 30px 70px;
	}
	.footer-credits p a {
		margin: 0;
	}
	.footer-credits p span {
		display: none;
	}
	.footer-credits p span:last-of-type {
		display: inline;
	}
	.project-gallery img {
	    width: auto;
	    height: 400px;
	}
	.project-gallery {
	    	display: table-cell;
	    	text-align: center;
	    	vertical-align: middle;
		position: relative; 
	    	-webkit-touch-callout: none;
		-webkit-user-select: none;
    		-khtml-user-select: none;
    		-moz-user-select: none;
    		-ms-user-select: none;
    		user-select: none;
        	margin: auto;
		text-align: center;
		position: relative;
		display: block;
	}
	.project-gallery ul { position:absolute; top:0; left: 0; width:640px; height: 400px;}
	.project-gallery li { list-style: none; display: inline-block;}
	.project-gallery ul li { position:absolute; top:0; left: 0; max-width:680px !important; height: 400px;}
	
	.project-gallery .arrow.prev {
		left: 5%;
	}
	.project-gallery .arrow.next {
		right: 5%;
	}
	
	body.post-type-archive-projects .project-gallery.has-arrows, 
	body.post-type-archive-projects .project-gallery .arrows {
		min-width: 680px;
	}
	
	body.post-type-archive-projects .site-inner, 
	body.post-type-archive-projects .wrap {
   		padding: 0;
   		max-width: 680px;
   		margin: auto;
   		float: none;
   		text-align: center;
	}
	body.post-type-archive-projects .site-header .wrap {
    	padding: 20px 5%;
	}
	.arrow.prev:before, .arrow.next:before {
    	content: "";
		display: block;
		position: absolute;
		font-style: normal;		
		height: 50px;
		width: 30px;
		display: block;
		top: 0;
		bottom: 0;
		margin: auto;
	}
	.arrow.prev:before {
		
		background: url('https://jerseyicecream.staging.wpengine.com/wp-content/uploads/2017/05/prev.svg') no-repeat;
		left: 0px;
	}
	.arrow.next:before {
		background: url('https://jerseyicecream.staging.wpengine.com/wp-content/uploads/2017/05/next.svg') no-repeat;
		right: 0px;
	}
	.unslider-arrow.next, 
	.unslider-arrow.prev {
    		display: none;
	}
	
	.before-after-piece.portrait, .before-after-piece.landscape {
    	width: 680px;
	}
	.landscape {
	    width: 680px;
	    min-width: 680px;
	    max-width: 680px;
	}
	.portrait {
    	width: 332px;
    }
    body.page-template-archive-before-after .before-after-page .wrap {
	    max-width: 680px;
    }
	div#social-section {
	    display: none;
	}
	

}



@media only screen and (max-width: 800px) {
	
	.page .footer-area .wrap,
	.home .footer-area .wrap {
		padding-left: 5%;
		padding-right: 5%;
	}
	
	.page .footer-area .newsletter-signup form input.email,
	.page .footer-area .newsletter-signup form input.button,
	.home .footer-area .newsletter-signup form input.email,
	.home .footer-area .newsletter-signup form input.button {
		margin-top: 25px;
	}
	
	.site-footer {
		height: auto;
	}
	
	.site-footer .footer-credits p {
		line-height: 1.4;
		padding: 10px 0 5px;
	}
	.footer-area {
		padding: 0;
	}
	.footer-area,
	.footer-area .newsletter-signup {
		height: auto;
	}
	
	.footer-area .newsletter-section {
		margin-top: 28px;
	}
	
	.footer-area .about-icons {
    	margin: 30px auto 40px;
    	
    }

	
	.footer-area .newsletter-title {
		width:100%;
		margin:auto;
		display:block;
		text-align:center;
	}
	
	.footer-area .newsletter-signup {
		width:100%;
		margin: auto;
		display: block;
		margin-bottom:10px;
	}
	

	.footer-area .newsletter-signup form input.email {
		width: 320px;
		margin:auto;
		display:block;
	}
	
	.footer-area .newsletter-signup form input.button {
		margin: auto;
	    display: block;
	    margin-top: 10px;
	    width: 160px;
    }
    
    .newsletter-section h3 {
	    text-align: center;
    }

}


@media only screen and (max-width: 680px) {
	
	.page.about-page .entry-content {
   		padding: 0px;
	}
	
	.site-header h1 a {
		font-size: 22px;
	}

    .nav-primary {
    	margin-top: 50px;
	}
    ul.no-bullet.thumbnails.jr_col_4 > li:nth-of-type(-n + 4) {
	    display: none;
    }
    .footer-area .social-section {
    	border-left: 0;
	}
	.newsletter-signup form {
		max-width: 320px;
		float: none;
		margin: 20px auto 0;
	}
	.services-page {
    		border: none;
    		padding: 0px;
	}
	.before-after-piece.portrait:before {content: "\f0da"; 	padding: 12px 23px; top: 45%;}
	/* .before-after-piece.landscape:before {content: "\f0d7"; top: 0; bottom: 0; padding: 12px 20px;} */
	.before-after-piece.landscape .landscape { height: auto; }

	body.page-template-archive-before-after .site-inner,
	body.page-template-archive-before-after .wrap {
		max-width: 500px;
	}
	.before-after-piece.portrait, 
	.after-img.portrait, 
	.before-img.portrait { 
		height: auto; 
	}
	img.after-photo.portrait, 
	img.before-photo.portrait { 
		width: 332px; 
		height: auto; 
	}
	.before-after-piece.portrait,
	.before-img.portrait,
	img.before-photo.portrait,
	.after-img.portrait,
	img.after-photo.portrait,
	.before-after-piece.landscape,
	.before-img.landscape,
	.after-img.landscape,
	img.after-photo.landscape {
		height: auto;
	}
	.before-after-piece.landscape,
	.before-img.landscape,
	.after-img.landscape {
		width: 500px;
	}
	img.before-photo.landscape,
	img.after-photo.landscape {
		width: 500px;
		height: auto;
		min-width: 500px;
		max-width: 500px;
	}
	.before-after-piece { margin-bottom: 40px; }
	img.before-photo.landscape {
    		max-height: 340px;
	}
	
	.before-img.portrait, .after-img.portrait {
 	   width: 242px;
 	   float: left;
	}
	.before-img.portrait { margin-right: 16px; }
	.landscape {
    	width: 500px;
		min-width: 500px;
		max-width: 500px;
	}
	.before-after-piece.portrait, .before-after-piece.landscape {
    	width: 500px;
	}
	body.page-template-archive-before-after .before-after-page .wrap {
		max-width: 500px; 
	}
	.home .design-projects-section a.featured-button,
	.home .before-after-section a.featured-button,
	.home .before-after-section:hover a.featured-button, 
	.home .design-projects-section:hover a.featured-button {
		height: 80px;
		border: 3px solid #fff;
	}
	.home #about-section {
    	margin-bottom: 35px;
	}
	.home .design-projects-section {
		margin-bottom: 20px;
	}
	.footer-area .social-section {
    	padding: 0;
	}
	
	body.post-type-archive-projects .project-gallery.has-arrows, 
	body.post-type-archive-projects .project-gallery .arrows {
		min-width: 100%;
		width: 100%;
	}
	body.post-type-archive-projects .site-inner, 
	body.post-type-archive-projects .wrap {
   		padding: 0;
   		max-width: 100%;
   		width: 100%;
   		margin: auto;
   		float: none;
   		text-align: center;
	}
	.projects-page .project-title { font-size: 14px;}
	.project-gallery img {
   	 	max-height: 620px;
   	 	height: auto;
    		max-width: 100%;
	}
	.project-gallery.has-arrows,
	.project-gallery ul,
	.project-gallery ul li {
		height: auto;
		max-height:400px;
		width: 100%;
	}
	.project-gallery ul li {
		overflow: hidden;
	}
	.project-gallery {
    		width: 100% !important;
		position: relative;
		overflow: auto;
	}

	.project-gallery ul {
		margin: 0;
		padding: 0;
	}

	.project-gallery ul li {
		float: left;
	}
	.project-gallery .arrow.prev, .project-gallery .arrow.next {    
		height: 100%;
		position: absolute;
		top: 0;
		width: 25%;
	}
	.project-gallery .arrow.prev {
		left: 0;
	}
	.project-gallery .arrow.next {
		right: 0;
	}
	.project-gallery .arrow.prev:before, .project-gallery .arrow.next:before {
		height: 25px;
		width: 15px;
	}
	.project-gallery .arrow.prev:before {
		left: 15px;
	}
	.project-gallery .arrow.next:before {
		right: 15px;
	}
	.banner img {
    		width: 100%;
	}
	.project-gallery.has-arrows {
		height: auto !important;
	}
	
	.site-footer {
		height:auto;
	}
	
}

@media only screen and (max-width: 600px) {
	.project-gallery.has-arrows,
	.project-gallery ul,
	.project-gallery ul li {
		height: auto;
		max-height:380px;
		width: 100%;
	}
	.project-gallery img {
    	max-height: none;
	}
	
	#quote p span {
		margin-left: 40px;
	}
	

}
@media only screen and (max-width: 550px) {
	.project-gallery.has-arrows,
	.project-gallery ul,
	.project-gallery ul li {
		height: auto;
		max-height:356px;
		width: 100%;
	}
	
	.footer-credits p span, .footer-credits p span:last-of-type {
	    opacity: 0;
	    clear: both;
	    display: block;
	    height: 0;
	}
	
	
}
@media only screen and (max-width: 500px) {
	.home .design-projects-section a.featured-button,
	.home .before-after-section a.featured-button,
	.home .before-after-section:hover a.featured-button, 
	.home .design-projects-section:hover a.featured-button {
		height: 50px;
		border: 2px solid #fff;
		padding: 10px 0;
		width: 300px;
		font-size: 16px;
		
	}
		
	textarea.wpcf7-form-control.wpcf7-textarea {
    	background-image: none;
		border: none;
		line-height: 30px;
		width: 90%;
		left: 0;
    	margin-top: 5px;
		right: 0;
		margin: auto;
    	display: block;
		border: 1px solid #ddd;
	}
	a.mfs-selected-option span {
		right: 40px;
	}
	a.mfs-selected-option {
    	width: 90%;
		display: block;
		margin: auto;
		border: 1px solid #ddd;
	}
	input.wpcf7-form-control {
    	width: 90%;
		margin: auto;
		float: none;
		position: relative;
		display: block;
	}
	span.wpcf7-form-control-wrap.your-start-date, 
	span.wpcf7-form-control-wrap.your-email, 
	span.wpcf7-form-control-wrap file-932, 
	span.wpcf7-form-control-wrap.your-subject,
	span.wpcf7-form-control-wrap.your-name, 
	span.wpcf7-form-control-wrap.your-job, 
	span.wpcf7-form-control-wrap.your-location, 
	wpcf7-form-control-wrap textarea-69 {
    	position: relative;
		float: none;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	
	.before-after-piece.portrait:before,
	.after-img.landscape:before {
		content: "\f0d7"; 
		top: 0; 
		bottom: 0; 
		padding: 12px 20px; 
		height: 50px;
		width: 50px;
	}

	.before-after-piece.landscape .after-img.landscape, .before-after-piece.portrait {
    		height: auto;
    		width: 100%;
	}
	body.page-template-archive-before-after .site-inner,
	body.page-template-archive-before-after .wrap {
		max-width: 94%;
		margin-left:3%;
		margin-right:3%;
		
	}
	img.after-photo.portrait, img.before-photo.portrait {
    		width: 100%;
	}
	.before-after-piece.landscape,
	.before-img.landscape,
	.after-img.landscape, 
	img.before-photo.landscape,
	img.after-photo.landscape {
		width: 100%;
		min-width: 100%;
		max-width: 100%;
	}
	.before-after-piece { 
		margin-bottom: 30px; 
	}
	img.before-photo.landscape {
    	max-height: none;
	}
	.after-img.portrait {
		width: 100%;
		height: auto;
	}
	.after-img.portrait,
	.before-img.portrait {
		width: 100%;
		height: auto;
		max-width: 100%;
		min-width: 100%;
	}

	.site-header h1 a {
    	font-size: 18px;
	}

	.press-piece {
		width: 260px;
		height: 260px;
		margin: 20px auto 70px;
		float: none;
	}
	.press-piece img {
    		width: 260px;
		height: 260px;
	}
	a.press-link {
		height: 260px;
	}
	.newsletter-section h3 span, .newsletter-section h4 {
    		line-height: 1.4;
    		letter-spacing: 2px;
    		padding-bottom:5px;
	}


	img.header-logo {
		margin-top: 0;
	}
	.project-gallery.has-arrows,
	.project-gallery ul,
	.project-gallery ul li {
		height: auto;
		max-height:324px;
		width: 100%;
	}

	body.post-type-archive-projects .project-gallery .arrows {
	    position: absolute;
	    top: 0;
	    bottom: 0;
	    margin: auto;
	  
	}
	.project-gallery img {
		width: 100%;
		height: auto;
	}
	.project-gallery ul, .project-gallery ul li {
		
	}
}
@media only screen and (max-width: 460px) {
	.project-gallery.has-arrows,
	.project-gallery ul,
	.project-gallery ul li {
		height: auto;
		max-height: 295px;
		width: 100%;
	}
	

	
}
@media only screen and (max-width: 420px) {
	.site-header h1 a {
	    letter-spacing: 2px;
	}
	.project-gallery.has-arrows,
	.project-gallery ul,
	.project-gallery ul li {
		height: auto;
		max-height:260px;
		width: 100%;
	}
	
}
@media only screen and (max-width: 380px) {
	.site-header h1 a {
	    letter-spacing: 2px;
	}
	.project-gallery.has-arrows,
	.project-gallery ul,
	.project-gallery ul li {
		height: auto;
		max-height:239px;
		width: 100%;
	}
	
	.popup_box {
    	height: 90%;
		width: 96%;
		left: 2%; right: 2%; top: 5%; bottom: 5%;
		z-index: 100;
		padding: 20px 10px;
		margin: auto;
	}
	.exit-button:before, .exit-button::before {
		width: 20px; height: 20px;
		top: -10px;
    	right: 0;
    	left: 0;
    	margin: auto;
	
	}
	
}
@media only screen and (max-width: 340px) {
	.site-header h1 a {
	    letter-spacing: 2px;
	}
	.project-gallery.has-arrows,
	.project-gallery ul,
	.project-gallery ul li {
		height: auto;
		max-height:239px;
		width: 100%;
	}
	
}
@media only screen and (max-width: 320px) {
	.site-header h1 a {
	    letter-spacing: 2px;
	}
	.project-gallery.has-arrows,
	.project-gallery ul,
	.project-gallery ul li {
		height: auto;
		max-height:200px;
		width: 100%;
	}
	
}

@media only screen and (max-height: 740px) {
	
	.popup_box {
	    top: 50px;
	    transform: translate(-50%, 0);
	    -webkit-transform: translate(-50%, 0);
	}
}

@media only screen and (max-width: 740px) {
	.popup_box {
	    position: absolute;
	    background: #fff;
	    left: 20px;
	    top: 20px;
	    z-index: 100;
	    padding: 40px 75px;
	    font-size: 15px;
	    border: 1px solid #ccc;
	    margin: auto;
	    min-width: 90%;
	    bottom: auto;
	    right: 20px;
	    transform: none;
	    -webkit-transform: none;
	    height: auto;
		width: auto;
	}
	.popup_box .modal-content {
	    overflow-y: inherit;
	    height: 100%;
	}
}

@media only screen and (max-width: 550px) {
	.popup_box {
		    padding: 40px 50px;
	}
}

/* # Print Styles
---------------------------------------------------------------------------------------------------- */

@media print {

	*,
	*:before,
	*:after {
		background: transparent !important;
		box-shadow: none !important;
		color: #000 !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	a[href^="javascript:"]:after,
	a[href^="#"]:after,
	.site-title > a:after {
		content: "";
	}

	thead {
		display: table-header-group;
	}

	img,
	tr {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 2cm 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	blockquote,
	pre {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	.content,
	.content-sidebar {
		width: 100%;
	}

	button,
	input,
	select,
	textarea,
	.breadcrumb,
	.comment-edit-link,
	.comment-form,
	.comment-list .reply a,
	.comment-reply-title,
	.edit-link,
	.entry-comments-link,
	.entry-footer,
	.genesis-box,
	.header-widget-area,
	.hidden-print,
	.home-top,
	.nav-primary,
	.nav-secondary,
	.post-edit-link,
	.sidebar {
		display: none !important;
	}

	.title-area {
		text-align: center;
		width: 100%;
	}

	.site-title > a {
		margin: 0;
		text-decoration: none;
		text-indent: 0;
	}

	.site-inner {
		padding-top: 0;
		position: relative;
		top: -100px;
	}

	.author-box {
		margin-bottom: 0;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		orphans: 3;
		page-break-after: avoid;
		page-break-inside: avoid;
		widows: 3;
	}


	img {
		page-break-after: avoid;
		page-break-inside: avoid;
	}

	blockquote,
	pre,
	table {
		page-break-inside: avoid;
	}

	dl,
	ol,
	ul {
		page-break-before: avoid;
	}

}