/*
Theme Name: Elite Restoration
Author: iSimplifyMe
Author URI: http://isimplifyme.com/
Description: A custom theme for Elite Restoration.
Version: 1.0
License: GNU General Public License
License URI: license.txt


Pale Grey: #f1f2f2
Light Grey: #e6e7e8
Medium Grey: #bcbec0
Dark Grey: #404041
Elite Green: #4d9a47


** Bernina Sans Compressed Bold **
----------------------------------
font-family: jaf-bernina-sans-comp,sans-serif;
font-weight: 700;
font-style: normal;


** Objektiv Mk1 Regular **
--------------------------
font-family: objektiv-mk1, sans-serif;
font-weight: 400;
font-style: normal;


** Objektiv Mk1 Italic **
-------------------------
font-family: objektiv-mk1, sans-serif;
font-weight: 400;
font-style: italic;


** Objektiv Mk1 Medium **
-------------------------
font-family: objektiv-mk1, sans-serif;
font-weight: 500;
font-style: normal;


** Objektiv Mk1 Medium Italic **
--------------------------------
font-family: objektiv-mk1, sans-serif;
font-weight: 500;
font-style: italic;


** Objektiv Mk1 Bold **
-----------------------
font-family: objektiv-mk1, sans-serif;
font-weight: 700;
font-style: normal;


** Objektiv Mk1 Bold Italic **
------------------------------
font-family: objektiv-mk1, sans-serif;
font-weight: 700;
font-style: italic;


** Objektiv Mk1 XBold **
------------------------
font-family: objektiv-mk1, sans-serif;
font-weight: 800;
font-style: normal;


** Objektiv Mk1 XBold Italic **
-------------------------------
font-family: objektiv-mk1, sans-serif;
font-weight: 800;
font-style: italic;


*/


/* =@font-face
-------------------------------------------------------------- */

@font-face {
	font-family: 'Elite Restoration';
	src:  url('fonts/elite-restoration.eot?n24rsy');
	src:  url('fonts/elite-restoration.eot?n24rsy#iefix') format('embedded-opentype'),
		url('fonts/elite-restoration.woff2?n24rsy') format('woff2'),
		url('fonts/elite-restoration.ttf?n24rsy') format('truetype'),
		url('fonts/elite-restoration.woff?n24rsy') format('woff'),
		url('fonts/elite-restoration.svg?n24rsy#elite-restoration') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}


/* =Structure
-------------------------------------------------------------- */

* {
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
html {
	height: 100%;
}
body {
	font-family: objektiv-mk1, sans-serif;
	height: 100%;
	margin: 0;
	color: #404041;
}
a {
	color: #404041;
	text-decoration: none;
}
a:hover {
	color: #4d9a47;
}
#page {
	display: block;
}
#primary {
	width: 100%;
}
#content {
}
#main .widget-area {
}
h1, h2, h3, h4, h5, h6 {
	font-family: jaf-bernina-sans-comp,sans-serif;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	line-height: 1;
}
.entry-header > h1 {
    margin: 80px auto 50px;
	width: 90%;
	max-width: 800px;
	font-size: 90px;
	font-size: 6.42vw;
	color: #4d9a47;
}
.entry-content > h1 {
    margin: 80px auto 30px;
	width: 90%;
	max-width: 800px;
	font-size: 60px;
}
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > h5,
.entry-content > h6 {
    margin: 80px auto 30px;
	width: 90%;
	max-width: 800px;
	color: #4d9a47;
}
.entry-content h2 {
	color: #4d9a47;
	margin: 0 auto 40px;
	font-size: 44px;
}
.entry-content h3 {
	color: #4d9a47;
	margin: 0 auto 30px;
	font-size: 34px;
}
.entry-content > p {
	width: 90%;
	max-width: 800px;
}
.entry-content p {
    line-height: 1.75;
	font-size: 22px;
	margin: 30px auto;
}
.entry-content > p a,
.entry-content > ul li a {
	text-decoration-color: #4d9a47 !important;
	text-decoration: underline;
	text-decoration-thickness: 4px;
	font-weight: bold;
}
.entry-content > ul {
	width: 90%;
    line-height: 1.75;
	max-width: 800px;
	margin: 30px auto;
	padding: 0;
	list-style: none;
}
.entry-content > ul > li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 20px;
	font-size: 20px;
}
.entry-content > ul > li:before {
	color: #4d9a47;
	content: '\e912';
	font-family: 'Elite Restoration';
	position: absolute;
	width: 20px;
	top: 0;
	left: 0;
	line-height: 35px;
	font-size: 10px;
}
a.button {
    display: inline-flex;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 20px;
    background-color: #4d9a47;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 20px;
    color: #FFF;
    line-height: 1;
}
a.button.button-white {
	background-color: #FFF;
	color: #404041;
}
a.button.button-white-alt {
	background-color: #FFF;
	color: #4d9a47;
}
a.button:after {
    font-family: 'Elite Restoration';
    content: '\e905';
    margin-left: 10px;
}
a.button.button-white:after {
    color: #4d9a47;
}
a.button.button-white-alt:after {
    color: #404041;
}
a.has-arrow {
    line-height: 1;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
	align-items: center;
}
a.has-arrow:after {
    content: '\e905';
    font-family: 'Elite Restoration';
    margin-left: 20px;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.page-banner {
    width: 100%;
    height: 80vh;
    position: relative;
}
#image-wrapper {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
#image-wrapper img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}
#page-banner-header-wrap {
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    padding: 20px 100px;
    padding: 1.42vw 7.14vw;
    position: relative;
    z-index: 1;
}
#page-banner-header {
    width: 75%;
    height: 100%;
	color: #FFF;
}
#page-banner-header h1 {
	font-size: 90px;
	font-size: 6.42vw;
	margin: 40px 0;
	margin: 2.85vw 0;
}
#page-banner-header p {
    font-size: 26px;
    font-size: 1.85vw;
	margin: 40px 0;
	margin: 2.85vw 0;
}
blockquote.wp-block-quote {
    max-width: 800px;
    margin: 60px auto;
    font-size: 30px;
    font-style: italic;
    padding-left: 40px;
    border-left: 4px solid #404041;
}
figure.wp-block-image {
	margin: 40px auto;
}
figure.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

@media only screen and (max-width : 1400px) {
	.entry-header > h1 {
		font-size: 90px;
	}
}
@media only screen and (max-width : 1000px) {
	.entry-header > h1 {
		font-size: 75px;
	}
	.entry-header > h1,
	.entry-content > p {
		width: 85%;
	}
	#page-banner-header p {
		font-size: 18px;
		margin: 30px 0;
	}
}
@media only screen and (max-width : 800px) {
	.entry-header > h1,
	.entry-content > p {
		width: 90%;
	}
}
@media only screen and (max-width : 700px) {
	#page-banner-header h1 {
		font-size: 50px;
	}
	#page-banner-header {
		width: auto;
	}
}
@media only screen and (max-width : 600px) {
	.entry-header > h1 {
		width: auto;
		font-size: 60px;
		margin: 30px 20px;
	}
	.entry-content > p {
		width: auto;
		margin: 0 20px 30px;
	}
}
@media only screen and (max-width : 500px) {
	.entry-header > h1,
	.entry-content > h1 {
		font-size: 50px;
	}
	a.button {
		font-size: 16px;
	}
}

/* =Header
-------------------------------------------------------------- */

#branding {
    padding: 20px;
    height: 120px;
}
#site-title {
	font-size: 2em;
	font-weight: bold;
	margin: 0;
	float: left;
}
#site-title img {
	display: block;
	height: 60px;
	width: auto;
	margin: 10px 0;
}

@media only screen and (max-width : 1340px) {
	#branding {
		padding: 15px 20px;
		height: 80px;
	}
	#site-title img {
		height: 40px;
		margin: 5px 0;
	}
}
@media only screen and (max-width : 925px) {
	#branding {
		padding: 15px 10px;
		height: 70px;
	}
	#site-title img {
		height: 30px;
	}
}

/* =Menu
-------------------------------------------------------------- */

#access {
    display: block;
    margin: 48px 0 0;
    float: right;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
    font-size: 0;
}
#access li {
	display: inline-block;
	position: relative;
	height: 30px;
	height: clamp(20px, 1.76vw, 30px);
	line-height: 30px;
	line-height: clamp(20px, 1.76vw, 30px);
	font-weight: bold;
	padding: 0 12px;
	padding: 0 clamp(4px, .7vw, 12px);
	margin-left: 20px;
	margin-left: clamp(8px, 1.17vw, 20px);
	font-size: 18px;
	font-size: clamp(8px, 1.05vw, 18px);
	text-transform: uppercase;
	border-radius: 2px;
}
#access a {
	display: block;
	line-height: 30px;
	text-decoration: none;
	color: #404041;
	transition: color .5s;
}
#access a:hover {
	color: #4d9a47;
}
#access li.standout {
	background-color: #4d9a47;
	transition: background-color .25s;
}
#access li.standout:hover {
	background-color: #404041;
}
#access li.standout a {
	display: block;
	line-height: 30px;
	line-height: clamp(20px, 1.76vw, 30px);
	text-decoration: none;
	color: #FFF;
	transition: none;
}
#access li.standout a:hover {
	color: #FFF;
}
#menu-open {
    display: none;
    font-family: 'Elite Restoration';
    color: #FFF;
    background-color: #4d9a47;
    padding: 10px;
    position: absolute;
    top: 20px;
    right: 10px;
    font-size: 10px;
    border-radius: 2px;
    cursor: pointer;
}
#mobile-access {
    display: none;
    position: fixed;
    background-color: #FFF;
    z-index: 1000;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin-left: 100%;
	transition: margin-left .5s;
}
#mobile-access.open {
	margin-left: 0;
}
#mobile-access-title {
	margin: 10px;
	float: left;
}
#mobile-access-title img {
	display: block;
	height: 30px;
	width: auto;
	margin: 10px 0;
}
#menu-close {
    display: block;
    font-family: 'Elite Restoration';
    color: #FFF;
    background-color: #4d9a47;
    padding: 10px;
    position: absolute;
    top: 20px;
    right: 10px;
    font-size: 10px;
    border-radius: 2px;
    cursor: pointer;
	width: 40px;
	text-align: center;
}
#mobile-access-outer {
    height: 100%;
    overflow-y: scroll;
	clear: both;
}
#mobile-access ul {
    list-style: none;
    margin: 0;
    padding: 0 20px 40px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 30px;
}
#mobile-access ul li {
    margin-top: 26px;
}
#mobile-access li.standout a {
    background-color: #4d9a47;
    color: #FFF;
    display: inline-block;
    line-height: 1;
    padding: 10px 20px;
    border-radius: 4px;
}



@media only screen and (max-width : 1420px) {
	#access {
		margin: 54px 0 0;
	}
	/*#access li {
		height: 24px;
		line-height: 24px;
		padding: 0 8px;
		margin-left: 16px;
		font-size: 14px;
	}
	#access li.standout a {
		line-height: 24px;
	}*/
}
@media only screen and (max-width : 1340px) {
	#access {
		margin: 28px 0 0;
	}
	/*#access li {
		height: 20px;
		line-height: 20px;
		padding: 0 4px;
		margin-left: 8px;
		font-size: 10px;
	}
	#access li.standout a {
		line-height: 20px;
	}*/
}
@media only screen and (max-width : 925px) {
	#access {
		display: none;
	}
	#menu-open,
	#mobile-access {
		display: block;
	}
}

/* =Content
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}

/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}

/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}

/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

/* =Footer
-------------------------------------------------------------- */

#colophon {
    clear: both;
    display: block;
    width: 100%;
    padding: 80px 100px 40px;
    margin: 0 auto;
}
#footer-columns {
    display: flex;
    padding-bottom: 40px;
}
.footer-column {
    flex: 1;
    margin-right: auto;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.5;
}
.footer-column#footer-col-newsletter {
	flex: none;
	order: 3;
	width: 500px;
	padding: 0;
	margin-left: auto;
	font-weight: normal;
	font-size: 18px;
}
.footer-column h6.widget-title {
    font-size: 34px;
    margin: 0 0 30px;
}
.footer-column h6.widget-title:after {
    content: '';
	border-top: solid 4px #4d9a47;
	display: block;
    margin-top: 20px;
	width: 82%;
}
.footer-column ul {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}
.footer-column p {
	margin: 30px 0;
}
.footer-column p:first-child {
	margin: 0 0 30px;
}
#footer-meta {
	display: flex;
}
#footer-info {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
	margin-top: auto;
}
#footer-info p {
	margin: 0;
}
#footer-info a {
	color: #4d9a47;
}
#footer-social {
    font-family: 'Elite Restoration';
    font-size: 30px;
    margin-top: auto;
    margin-left: auto;
	display: flex;
	align-content: flex-end;
}
#footer-social a {
	color: #4d9a47;
	margin-left: 20px;
}

@media only screen and (max-width : 1400px) {
	#colophon {
		max-width: 1240px;
	    padding: 80px 20px 40px;
	}
}
@media only screen and (max-width : 1000px) {
	#footer-columns {
		flex-wrap: wrap;
	}
	.footer-column#footer-col-newsletter {
		width: 100%;
		order: 0;
		margin: 0 0 80px;
	}
	.footer-column {
		margin: 20px 0 40px;
		text-align: center;
		padding: 0 10px;
	}
	.footer-column h6.widget-title:after {
		margin: 20px auto 0;
	}
	#footer-meta {
		flex-direction: column;
		text-align: center;
	}
	#footer-info {
		margin-top: 0;
		order: 1;
	}
	#footer-social {
		order: 0;
		align-content: unset;
		margin: 0 0 40px;
		text-align: center;
		justify-content: center;
	}
}
@media only screen and (max-width : 600px) {
	#footer-columns {
		display: block;
	}
}
@media only screen and (max-width : 500px) {
	.footer-column h6.widget-title:after {
		width: 100%;
	}
}


/* =Testimonial Banner
-------------------------------------------------------------- */

#testimonial-block {
    position: relative;
    text-align: center;
    color: #FFF;
    background-color: #bbbdbf;
    background-size: cover;
    background-position: center center;
}
#testimonial-block-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    width: 90%;
    margin: 0 auto;
    padding: 160px 0;
}
#testimonial-block-content p {
    font-size: 24px;
    line-height: 1.27;
    margin: 0 0 40px;
}
#testimonial-block-content p.testimonial-author {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.375;
    margin: 0;
}
#testimonial-block-image {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}
#testimonial-block-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
}

/* =Call to Action Banner
-------------------------------------------------------------- */

#cta-banner {
    position: relative;
    text-align: center;
    color: #FFF;
    background-color: #CCC;
}
#cta-banner-image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
	z-index: 0;
}
#cta-banner-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
}
#cta-banner-content {
    position: relative;
    padding: 100px 20px;
    font-size: 24px;
    margin: 0 auto;
    max-width: 800px;
}
#cta-contact-img {
    width: 150px;
    margin: 0 auto 40px;
}
#cta-contact-img img {
    display: block;
    width: 100%;
    height: auto;
}
#cta-banner-content h4 {
    font-size: 40px;
    margin: 0 auto 60px;
}
#cta-banner-content h4:after {
    content: '';
    display: block;
    width: 40%;
    height: 2px;
    margin: 60px auto 0;
    background-color: #FFF;
}
#cta-banner-content p {
    margin: 0 0 40px;
}
#cta-banner-content a {
    margin: 10px 0 0;
	display: inline-block;
	color: #FFF;
	font-size: 28px;
}

/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}
textarea,
input[type="text"],
input[type="email"],
input[type="button"],
input[type="submit"] {
     -webkit-appearance: none !important;
     border-radius: 0 !important;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}

span.select {
	display: block;
	height: 50px;
	min-width: 100%;
	position: relative;
	vertical-align: top;
	margin-right: 50px;
}
span.select select {
	position: relative;
    opacity: 0;
    z-index: 1;
}
span.select-replace {
	border-radius: 4px;
	color: #404041;
	display: block;
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	box-sizing: border-box;
	outline: none;
	vertical-align: middle;
	zoom: 1;
	height: 50px;
	line-height: 50px;
    font-size: 20px;
	padding-left: 10px;
	background-color: #f1f2f2;
	z-index: 0;
}
span.select-replace .toggle {
	position: absolute;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background: #0055b7;
}
span.select-replace .toggle:before {
    font-family: 'Elite Restoration';
	content: '\e908';
	display: flex;
	position: absolute;
	width: 50px;
	height: 50px;
	font-size: 10px;
	top: 0;
	right: 0;
	align-content: center;
	justify-content: center;
	color: #404041;
}
span.select-replace-label {
	display: block;
	height: 100%;
	padding-right: 50px;
	overflow: hidden;
}
span.drop-replace {
	text-align: left;
	min-width: 100%;
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	background: #FFF;
	z-index: 5;
	max-height: 210px;
	overflow-y: scroll;
	border-radius: 4px;
	color: #0055b7;
	border: solid 2px #404041;
}
span.option-replace {
	display: block;
	padding: 0 10px;
	height: 30px;
	line-height: 30px;
	white-space: nowrap;
	cursor: pointer;
}
span.option-replace.selected {
	background: #0055b7;
	color: #FFF;
}
span.option-replace:hover {
	background: #000;
	color: #FFF;
}
span.checkbox {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	display: inline-block;
	position: relative;
	width: 30px;
	height: 30px;
	margin: 5px 0;
	vertical-align: middle;
}
span.checkbox-replace {
	display: block;
	position: absolute;
	text-align: center;
	top: 0px;
	left: 0px;
	z-index: 2;
	width: 30px;
	height: 30px;
	line-height: 26px;
	cursor: pointer;
	border: solid 8px #0055b7;
	border-radius: 4px;
	background-color: #0055b7;
}
span.checkbox-replace.checked {
	background-color: #fff;
}
span.checkbox input {
	position: absolute;
	z-index: 4;
	width: 30px;
	height: 30px;
	margin: 0;
	opacity: 0;
}

/* =Team Members
-------------------------------------------------------------- */

#team-members {
    margin: 100px auto;
    max-width: 1040px;
    padding: 0 20px;
}
.team-member:first-child {
	padding-top: 40px;
}
.team-member {
    padding: 100px 0 100px;
    border-bottom: double 10px #4d9a47;
}
.team-member:last-child {
    padding: 100px 0 40px;
    border-bottom: none;
}
.team-member header {
    display: flex;
    align-items: center;
	justify-content: center;
    margin-bottom: 60px;
}
.team-member-photo {
    border-radius: 100%;
    width: 250px;
    height: 250px;
    overflow: hidden;
    margin-right: 60px;
}
.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-member-meta h2 {
    margin: 0;
    font-size: 44px;
    color: #4d9a47;
}
.team-member-meta h3 {
    font-family: objektiv-mk1, sans-serif;
    font-weight: bold;
    font-size: 24px;
    margin: .2em 0 0;
}
.team-member-lic {
    font-size: 22px;
    margin-top: .2em;
}
.team-member-meta a {
    margin-top: 10px;
    color: #4d9a47;
}
.team-member-bio {
    margin: 0 0 30px;
    font-size: 18px;
    line-height: 2;
}
@media only screen and (max-width : 800px) {
	.team-member header {
		display: block;
		text-align: center;
	}
	.team-member-photo {
		margin: 0 auto 40px;
	}
}


/* =Reviews
-------------------------------------------------------------- */

#reviews-layout {
    max-width: 1240px;
    margin: 0 auto 80px;
    padding: 0 20px;
    position: relative;
	display: flex;
	align-items: flex-start;
}
#reviews-column-left {
    flex: 1;
    position: sticky;
    top: 0;
}
#reviews-column-right {
    width: 620px;
    margin-left: 80px;
}
h1.reviews-title {
    color: #404041;
    font-size: 80px;
    margin: 80px 0 30px;
}
#average-rating {
    padding-top: 10px;
    font-size: 60px;
    line-height: 1;
    font-weight: 900;
}
#stars-outer {
	font-weight: normal;
    display: inline-block;
    font-size: 50px;
    position: relative;
    vertical-align: middle;
    margin: -10px 0 0 10px;
}
.stars {
    font-family: 'Elite Restoration';
}
#active-stars {
    color: #4d9a47;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
	background-color: #FFF;
}
#placeholder-stars {
	color: #e6e7e8;
    position: relative;
    z-index: 0;
}
#average-rating p {
	margin: 10px 0 0;
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
}
.reviews-page-content {
    margin: 40px 0;
    font-size: 22px;
    line-height: 2.1;
}
#reviews-dashboard {
    margin: 0 auto 50px;
}
#reviews-dashboard h2 {
    margin: 80px 0 0;
	font-size: 60px;
}
#reviews-dashboard p {
	margin: 0;
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1;
}
#reviews-snapshot {
    margin-top: 20px;
}
.snapshot-row {
    position: relative;
    padding: 10px 70px 10px 60px;
    font-size: 24px;
    height: 60px;
	color: #404041;
	cursor: pointer;
}
.snapshot-row:hover,
.snapshot-row.active:hover {
	background-color: #bcbec0;
	color: #404041;
}
.snapshot-row.active {
	background-color: #404041;
	color: #FFF;
}
.snapshot-stars-label {
    position: absolute;
    top: 0;
    left: 10px;
    height: 60px;
    line-height: 60px;
    font-weight: 500;
}
.snapshot-stars-label:after {
    content: '\e910';
    font-family: 'Elite Restoration';
    font-weight: normal;
    display: inline-block;
    font-size: .7em;
    margin: -6px 0 0 4px;
    vertical-align: middle;
}
.snapshot-reviews-label {
	font-size: 16px;
    width: 70px;
    height: 60px;
    line-height: 60px;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
}
.snapshot-ratings-bar {
    width: 100%;
    height: 100%;
    position: relative;
}
.snapshot-placeholder-bar {
    width: 100%;
    height: 100%;
    background-color: #e6e7e8;
	position: relative;
	z-index: 0;
}
.snapshot-row.active .snapshot-placeholder-bar {
	background-color: #FFF;
}
.snapshot-row.active:hover .snapshot-placeholder-bar {
	background-color: #e6e7e8; 
}
.snapshot-active-bar {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: #4d9a47;
}
#reviews-cta {
    padding-top: 60px;
    margin-top: 60px;
    border-top: solid 1px;
}
#reviews-cta h3 {
	color: #4d9a47;
    font-size: 30px;
    text-align: center;
}
#reviews-cta p {
    font-size: 20px;
    margin: 0 0 30px;
}
.single-review {
}
.single-review-content.single-review-reply {
    padding-left: 40px;
    border-left: solid 2px #4d9a47;
}
.single-review-content.single-review-reply h4 {
    font-weight: bold;
    margin: 0 0 10px;
    font-size: 22px;
}
header.single-review-header {
    border-bottom: solid 1px #e6e7e8;
    background-color: #f1f1f2;
}
h3.single-review-title {
    margin: 0;
    padding: 20px 10px;
	font-size: 22px;
	display: flex;
	align-items: center;
}
h3.single-review-title .stars {
    display: inline-block;
    font-size: 12px;
    vertical-align: middle;
	margin: 0 10px 0 0;
	color: #bcbec0;
}
h3.single-review-title .active {
    color: #4d9a47;
}
span.review-time {
    display: block;
    font-weight: normal;
    margin-left: auto;
	font-family : Objektiv Mk1;
	font-size : 14px;
	text-transform: none;
}
.single-review-content {
	margin-bottom: 50px;
}
.single-review-content:empty {
	margin-bottom: 0;
}
.single-review-content p {
    line-height: 1.5;
    margin: 30px 0;
	font-size: 18px;
}
.dynamic-review-list-controls {
    color: #FFF;
    background-color: #404041;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
}
.dynamic-review-list-controls:after {
	content: '';
	clear: both;
	display: block;
}
.drl-page-reviews,
.drl-total-reviews {
    display: inline-block;
}
.drl-pages {
    display: inline-block;
}
.drl-page-link {
    display: inline-block;
    margin-left: 20px;
}
.drl-arrow {
    font-family: 'Elite Restoration';
}
.drl-page-link {
    display: inline-block;
    margin-left: 10px;
    font-weight: normal;
    font-size: 10px;
    vertical-align: middle;
    background-color: #FFF;
    width: 20px;
    height: 20px;
    line-height: 20px;
    color: #4d9a47;
    text-align: center;
	border-radius: 4px;
	cursor: pointer;
}
.drl-page-link.disabled {
	color: #bcbec0;
	cursor: auto;
}
.drl-drop-wrapper {
	font-size: 0;
	float: right;
}
.drl-drop-outer {
    display: inline-block;
    margin-left: 20px;
    background-color: #FFF;
    color: #404041;
    border-radius: 2px;
	position: relative;
	text-align: left;
}
.drl-drop-current {
    position: relative;
    height: 20px;
    line-height: 20px;
    padding: 0 20px 0 5px;
	z-index: 0;
	font-size: 10px;
}
.drl-drop-current:after {
    font-family: 'Elite Restoration';
    font-weight: normal;
    content: '\e908';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    color: #4d9a47;
    text-align: center;
    font-size: 8px;
}
.drl-filter-drop-current {
    width: 45px;
}
.drl-sort-drop-current {
    width: 180px;
}
.drl-drop-outer select {
    position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
}
.reviews-cta {
    color: #FFF;
    background-color: #4d9a47;
	margin: 50px 0;
}
.reviews-cta-inner {
    display: flex;
    height: 310px;
    position: relative;
}
.reviews-cta-inner:before {
    content: '\e90b';
    font-family: 'Elite Restoration';
    display: flex;
    position: absolute;
    font-size: 260px;
    height: 100%;
    align-items: center;
    justify-content: center;
    right: 40px;
    color: #5da555;
	overflow: hidden;
}
.reviews-cta-content {
    width: 50%;
    padding: 40px 10px 40px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.reviews-cta-content h3 {
    font-size: 40px;
    margin: 0 0 10px;
}
.reviews-cta-content p.reviews-cta-button {
    margin: 20px 0 0;
    text-align: right;
}
p.reviews-cta-button a.button {
    font-size: 14px;
    height: 40px;
    padding: 0 10px;
}
.reviews-cta-img {
    width: 50%;
    margin: 0;
    height: 100%;
    position: relative;
    z-index: 1;
}
.reviews-cta-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

@media only screen and (max-width : 1000px) {
	#reviews-layout {
		max-width: 640px;
		padding: 0 20px;
		display: block;
	}
	#reviews-column-left {
		position: static;
	}
	#reviews-column-right {
		width: auto;
		margin: 0;
	}
	h1.reviews-title {
		font-size: 65px;		
	}
	#reviews-dashboard h2 {
		font-size: 50px;
	}
}
@media only screen and (max-width : 640px) {
	h1.reviews-title {
		font-size: 50px;		
	}
	#reviews-dashboard h2 {
		font-size: 40px;
	}
	.reviews-cta-inner {
		height: auto;
	}
	.reviews-cta-content {
		padding: 70px 10px 70px 20px;
	}
	.reviews-cta-content h3 {
		font-size: 26px;
	}
	.reviews-cta-img {
		height: auto;
	}
}
@media only screen and (max-width : 500px) {
	.dynamic-review-list-controls {
		text-align: center;
	}
	.drl-drop-wrapper {
		float: none;
		margin-bottom: 20px;
	}
	.drl-drop-outer {
		margin: 0 10px;
	}
	#average-rating {
		font-size: 40px;
	}
	#stars-outer {
		font-size: 35px;
	}
	.reviews-cta-inner {
		display: block;
	}
	.reviews-cta-content {
		padding: 40px 20px;
		width: 100%;
	}
	.reviews-cta-img {
		width: 100%;
		padding: 0 20px;
	}
	.reviews-cta-inner:before {
		right: 0;
		left: 0;
		font-size: 340px;
	}
}


/* =Gallery Landing Page
-------------------------------------------------------------- */

#gallery-list {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
	flex-wrap: wrap;
    padding: 80px 0;
}
.gallery-list-item {
    width: calc(50% - 80px);
    margin: 40px;
    border-top: 10px solid #4d9a47;
    background-color: #f1f1f2;
    padding: 30px;
	font-size: 18px;
	display: flex;
    flex-direction: column;
}
.gallery-list-item-featured-outer {
    position: relative;
    padding-top: 64%;
}
.gallery-list-item-featured-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.gallery-list-item-featured-inner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-list-item h3 {
    color: #4d9a47;
    margin: 30px 0;
    font-size: 34px;
}
.gallery-list-item p {
    margin: 0 0 30px;
}
.gallery-list-item p.gallery-list-item-cta {
	text-align: right;
	margin: auto 0 0;
}
.gallery-list-item-cta a.button:after {
	color: #404041;
}

@media only screen and (max-width : 1200px) {
	.gallery-list-item {
		width: calc(50% - 40px);
		margin: 20px;
	}
	.gallery-list-item-cta a.button {
		font-size: 14px;
		padding: 10px;
	}
}
@media only screen and (max-width : 800px) {
	#gallery-list {
		display: block;
		padding: 80px 20px;
	}
	.gallery-list-item {
		width: auto;
		margin: 40px 0;
	}
}
@media only screen and (max-width : 400px) {
	.gallery-list-item {
		padding: 20px;
	}
	.gallery-list-item-cta a.button {
		font-size: 10px;
	}
}

/* =Single Gallery
-------------------------------------------------------------- */

.erc-gallery {
    max-width: 1240px;
    margin: 60px auto;
	display: flex;
	flex-wrap: wrap;
}
.erc-gallery-link {
    width: calc(25% - 40px);
    margin: 20px;
}
.erc-gallery-img-outer {
	padding-top: 64%;
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.erc-gallery-img-outer div {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
.erc-gallery-img-outer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#lightbox {
	background-color: rgba(255,255,255,.9);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
	display: none;
}
#lightbox a {
	color: #404041;
	text-decoration: none;
}
#lightbox-close {
	font-family: 'Elite Restoration';
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
	font-size: 20px;
}
#lightbox-prev,
#lightbox-next {
	font-family: 'Elite Restoration';
	position: absolute;
    top: 48%;
    font-size: 60px;
}
#lightbox-prev img,
#lightbox-next img {
    height: 30px;
    width: auto;
    display: block;
}
#lightbox-prev {
	left: 20px;
}
#lightbox-next {
	right: 20px;
}
#lightbox-close:hover,
#lightbox-prev:hover,
#lightbox-next:hover {
	opacity: 1;
}
#lightbox-img {
    width: 90%;
    margin: 0 auto;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
@media only screen and (max-width : 1000px) {
	.erc-gallery-link {
		width: calc(33.33% - 40px);
	}
}
@media only screen and (max-width : 800px) {
	.erc-gallery-link {
	    width: calc(50% - 40px);
	}
}
@media only screen and (max-width : 600px) {
	.erc-gallery-link {
		width: 100%;
	}
}

/* =404 Page
-------------------------------------------------------------- */

#page.page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #4d9a47;
	background-image: url('img/elite-restoration-404.jpg');
	background-size: cover;
	background-position: center center;
}
.page-404 #branding {
    width: 100%;
    text-align: center;
}
#site-title-404 img {
    height: 80px;
    width: auto;
}
.page-404 #main {
    text-align: center;
    color: #FFF;
}
.page-404 h1 {
    color: #FFF;
}
.page-404 a.button {
    text-decoration: none;
}


/* =Roofing Calculator
-------------------------------------------------------------- */
.roof-calc {
    padding: 40px 20px;
    background-color: #4d9a47;
    border-radius: 4px;
    text-align: center;
    max-width: 600px;
    margin: 60px auto;
}
.roof-calc h3 {
    font-size: 36px;
}
.roof-calc h3,
.roof-calc p {
    margin: 0 0 20px;
	color: #FFF;
}
.sqft-controls {
    display: flex;
}
.sqft-input,
.sqft-button {
    -webkit-appearance: none;
	font-family: jaf-bernina-sans-comp,sans-serif;
	font-weight: 700;
    height: 40px;
    display: block;
    text-align: center;
    padding: 0 10px;
    line-height: 40px;
}
.sqft-input {
    margin-right: 20px;
    flex: 1;
    color: #404041;
    border: none;
    font-size: 18px;
    outline: none;
}
.sqft-input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #bcbec0;
  opacity: 1; /* Firefox */
}
.sqft-input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #bcbec0;
}
.sqft-input::-ms-input-placeholder { /* Microsoft Edge */
  color: #bcbec0;
}
.sqft-button {
    color: #FFF;
    background-color: #404041;
    border: none;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    outline: none;
    cursor: pointer;
	padding: 0 20px;
}
.roof-calc-results:empty {
	display: none;
}
.roof-calc-results {
    margin-top: 30px;
}
.roof-calc-results ul {
    margin: 20px;
    padding: 0;
    list-style: none;
    line-height: 1.5;
	margin-bottom: -15px;
}
.roof-calc-results ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 15px;
	color: #FFF;
}
.roof-calc-results ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
	color: #FFF;
    font-size: 1.25em;
    line-height: 1.2;
}
p.re-calc-error {
    margin: 0;
    color: #FFF;
}
.roof-calc-results ul {
    text-align: left;
}
