/*
Theme Name: Lynch Construction
Author: Main St. Design
Author URI: http://www.mainstdesign.net
Version: 1.0.0
*/

* {
	box-sizing:border-box;
}
html,body {
	margin:0;padding:0;
	font-size:22px;
	font-family: 'mr-eaves-modern', sans-serif !important;
	font-weight: 400;
	font-style: normal;
	background-color:#FFF;
}
h2 {
	text-transform:uppercase;
	font-size:35px;
	font-weight:350;
	letter-spacing:5px;
	margin-top:0;
}
.btn, .readmore a {
	color:#FFF;
	text-decoration:none;
	border:1px solid #FFF;
	font-size:18px;
	font-weight:400;
	text-transform:uppercase;
	padding:10px 20px;
	margin-top:20px;
	display:inline-block;
	letter-spacing:normal;
	background-color:inherit;
}
.graybox .btn {
	margin:0 auto;
	background-color:#1F7C6F;
	
}
.btn:hover, .readmore a:hover {
	background-color:#FFF;
	color:#007A6E;
}
.graybox .btn:hover {
	border:1px solid #1F7C6F;
}
.inner {
	max-width:1000px;
	margin:0 auto;
}

#header {
	position:sticky;
	background-color:#FFF;
	height:165px;
	top:0; bottom:auto; z-index:999;
	box-shadow:1px 0 5px rgba(0,0,0,0.70);
	transition: all 0.2s linear;
}
#header.stuck {
	height:100px;
}
#header.stuck #logo {
	bottom:20px;
}
#header h1 {
	margin:0; padding:0;
}
#logo {
	background-image:url(images/logo.png);
	display:block;
	width:332px; height:67px;
	position:absolute;
	bottom:30px; left:50px;	
	transition: all 0.2s linear;
}
#logo span {
	display:none;
}
#toplinks {
	position:absolute;
	top:20px; right:50px;
}
#toplinks a {
	text-transform:uppercase;
	margin-left:10px;
	text-decoration:none;
	color:#707070;
	font-weight:400;
	font-size:14px;
}
#toplinks .phone {
	color:#FFF;
	background-color:#1F7C6F;
	border-radius:2px;
	padding:5px 15px;
	font-weight:bold;
}
#menu {
	position:absolute;
	bottom:30px; right:50px;
}
#menu ul, #menu ul li {
	list-style-type:none;
	display:inline-block;
	margin:0;padding:0;
}
#menu a {
	font-size:14px;
	font-weight:400;
	text-decoration:none;
	color:#707070;
	text-transform:uppercase;
	margin-left:10px;
	letter-spacing:1px;
}
#menu a:hover {
	text-decoration:underline;
	color:#1F7C6F;
}
#heroimage {
	height:600px;
	background-image:url(images/header.jpg);
	background-size:cover;
	background-position:center center;
	display:flex;
	align-items:center;
	justify-content: center;
}
#heroimage .overlay {
	display:inline-block;
	color:#FFF;
	text-align:center;
	background-color:rgba(31,124,111,0.82);
	max-width:430px;
	letter-spacing:5px;
	padding:50px;
	font-size:35px;
}

#experience {
	background-image:url(images/half-green.png);
	background-repeat:no-repeat;
	background-size:100% 100%;
	background-position:center center;
	text-align:center;
	padding:80px 20px;
}
#services {
	max-width:850px;
	margin:0 auto;
}
#services img {
	margin-left:10px; margin-bottom:10px;
	transition:all 0.15s ease;
	-webkit-font-smoothing: subpixel-antialiased;
}
#services a:hover img {	
	transform:scale(1.012);
	box-shadow:0 0 10px rgba(0,0,0,0.85);
	filter:saturate(150%);
}
#media {
	display:flex;
	max-width:1000px;
	margin:0 auto;
	padding:80px 20px;
}
#media iframe {
	flex-shrink:0;
	margin-right:50px;
}
#media h2 {
	background-image:url(images/logo-small.png);
	background-position:center top;
	background-repeat:no-repeat;
	padding-top:70px;
	margin-bottom:10px;
}
#testimonials {
	background-image:url(images/testimonials.jpg);
	background-position:center center;
	background-size:cover;
	padding:80px 20px;
	color:#FFF;
	text-align:center;
	position:relative;
}
#testimonials:before {
	content:url(images/chat-boxes.png);
	position:absolute;
	top:10px; right:20px;
}
#testimonials .inner {
	max-width:800px;
}
#testimonials .inner p {
	text-align:left;
}
#testimonials .inner p:before, .testimonial-content p:before {
	content: "\201C";
	font-size:20px;
}
#testimonials .inner p:after, .testimonial-content p:after {
	content: "\201D";
	font-size:20px;
}
#testimonials .testimonial-client {
	text-align:right;
}
#footer {
	background-color:#4D4C4C;
	color:#FFF;
	padding:80px 20px;
}
#footer .inner  {
	display:flex;
}
#footer .socials img {
	width:30px;height:30px;
	margin-left:10px;
}
#footer .inner > div {
	width:100%;
}
#footer .inner .socials {
	text-align:right;
}
#footer .inner .address {
	align-self:flex-end;
}
#logos {
	padding:40px 20px;
	text-align:center;
}
#logos img {
	vertical-align:middle;
	margin-right:40px;
}
#logos a {
	vertical-align:middle;
	margin-right:40px;	
}
#logos img:last-child {
	margin-right:0;
}
#logos a:last-child {
	margin-right:0;	
}
#copyright {
	font-size:14px;
	text-align:center;
	padding:20px;
}
.clear {
	clear:both;
}
.ab-accordion-title {
	cursor:pointer;
}
#gallery-1 .gallery-item {
	margin-bottom:0;	
}
#gallery-1 img {
	height:auto;
}
/* =Pages
-------------------------------------------------------------- */
#topper {
	background-image:url(images/half-green-alt.png);
	background-repeat:no-repeat;
	background-size:100% 100%;
	background-position:center center;
	text-align:center;
	padding:80px 20px;
}
#topper h1 {
	font-size:55px;
	color:#1F7C6F;
	font-weight:350;
	letter-spacing:8px;
	margin:0;
	margin-bottom:10px;
	text-transform:uppercase;
}
#topper .inner {
	position:relative;
	max-width:850px;
}
#topper .inner p {
	line-height:25px;
	margin-top:0;
}
#topper .inner:after {
	content:'';
	background-image:url(images/logo-small.png);
	background-size:cover;
	display:block;
	position:absolute;
	height:32px; width:66px;
	bottom:-50px; left:calc(50% - 33px);
}
#bottom {
	height:400px;
	background-position:center center;
	background-size:cover;
	background-repeat:no-repeat;
}
.graybox {
	background-color:#F4F4F4;
	padding:50px 20px;
}
.graybox h2 {
	color:#1F7C6F;
	letter-spacing:5px;
	margin:0 0 10px 0;
	font-weight:350;
	font-size:43px;
	text-align:center;
}
.page-template-default .graybox h3 {
	font-size:22px;
	font-weight:400;
	font-style:italic;
	color:#FFAD05;
	text-transform:uppercase;
	text-align:center;
	margin-top:0;
}
.graybox hr {
	border:none;
	height:1px; 
	background-color:#C3C3C3;
	margin-bottom:50px;
}
.graybox p {
	line-height:30px;
}
#content > h2 {
	font-size:43px;
	font-weight:350;
	color:#ADADAD;	
	text-transform:uppercase;
	display:block;
	transform:rotate(90deg);
	margin:0;padding:0;
	position:absolute;
	left: -30px;
	top:0;
	transform-origin: left bottom 0;
	letter-spacing:5px;
}
#buttons {
	max-width:810px;
	padding-left:30px;
	border-left:1px solid #FFAD05;
}
#content {
	max-width:900px;
	margin:0 auto;
	position:relative;
	padding:50px 20px;
}
#content .inner {
	padding-left:30px;
	border-left:1px solid #FFAD05;
}
#content .inner p {
	margin-top:0;
}
#content .inner h2 {
	color:#1F7C6F;
	letter-spacing:5px;
	margin:0 0 10px 0;
	font-weight:700;
	font-size:24px;
}
.page-template-default #content .inner h3 {
	font-size:24px;
	font-weight:400;
	font-style:italic;
	color:#FFAD05;
	margin-top:0;	
}
.page-id-10 #content { /*=About Us */
	max-width:650px;
}

#buttons img {
	margin-left:10px; margin-bottom:10px;
	transition:all 0.15s ease;
	-webkit-font-smoothing: subpixel-antialiased;
}
#buttons a:hover img {	
	transform:scale(1.012);
	box-shadow:0 0 10px rgba(0,0,0,0.85);
	filter:saturate(150%);
}
#service {
	padding:50px 20px;
}
#service .inner > h1 {
	color:#1F7C6F;
	font-weight:350;
	font-size:43px;
	letter-spacing:5px;
	text-transform:uppercase;
	margin:0;
	text-align:center;
}
.parent {
	font-weight:22px;
	color:#FFAD05;
	font-style:italic;
	font-weight:400;
	text-transform:uppercase;
	text-align:center;
	border-bottom:1px solid #C3C3C3;
	padding-bottom:30px;
	margin-bottom:10px;
}
.breadcrumb {
	text-transform:capitalize;
	margin-bottom:20px;
}
.breadcrumb a {
	color:#000;
	text-decoration:none;
}
.page-template-template-service h3 {
	color:#1F7C6F;
	margin:0;
	font-size:20px;
	font-weight:700;
	letter-spacing:normal;
}
.page-template-template-service p {
	margin-top:0;
}
.page-template-template-service ul {
	margin-top:0;
}
#service p {
	margin-top:0;
}
.service_icon {
	display:block;
	margin:0 auto;
}
.featured .inner {
	max-width:800px;
}

/* =Tabs */
.tab-container {
	max-width:800px;
	margin:0 auto;
	padding:50px;
	background-color:#F4F4F4;
	color:#000;
	border:1px solid #E1EEEC;
}
.tab-icons {
	max-width:800px;
	text-align:center;
	margin:0 auto;
}
.tab-item {
	position:relative;
	display:inline-block;
	width:30%;
}
.tab-icons a {
	margin:0 20px 30px 20px;
	display:inline-block;
}
.tab-icons a img {
	filter:grayscale(100%);
	border: 1px solid Transparent;
	border-radius:500px;
	padding:8px;
	width:100%;
}
/* .tab-icons a:before {	 */
	/* content: ""; */
	/* border-radius:500px; */
	/* display: block; */
	/* position: absolute;	 */
	/* top:8px; left:33px; */
	/* width:168px; height:168px; */
	/* background: rgba(0,74,81, 0.7); */
	/* transition: all .3s linear; */
	/* z-index:10; */
/* } */
/* .tab-icons a.active:before { */
	/* background:none; */
/* } */
.tab-icons a:hover img {
	filter:grayscale(50%);
}
.tab-icons a.active:after {
	content: '';
    width: 0;
    height: 0;
    border-left: 23px solid transparent;
    border-right: 23px solid transparent;
    border-bottom: 26px solid #FFAD05;
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -23px;
}
.tab-icons a.active img {
	filter:grayscale(0%);
	border: 1px solid #FFAD05;
}
.tab-container > div {
	display:none;
}
.tab-container > div.active {
	display:block;
}


/* =Responsive
-------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {
	#heroimage {
		height:400px;
	}
    #media {
		display:block;
	}
	#media iframe {
		margin:0 auto 20px auto;
		display:block;
		width:100%;
		height:300px;
	}
	#footer .inner {
		display:block;
		text-align:center;
	}
	#footer .inner .address {
		margin:20px auto;
	}
	#footer .inner .socials {
		text-align:center;
	}
	#logos {
		display:none;
	}
	.graybox img {
		float:none;
		width:100%;
	}
	#service img {
		float:none;
		width:100%;
		height:auto;
	}
	.service_icon {
		width:auto!important;
	}
	#content h2 {
		font-size:43px;
		font-weight:350;
		color:#ADADAD;	
		text-transform:uppercase;
		display:block;
		transform:none;
		margin:0;padding:0;
		position:static;
		left: -15px;
		top:0;
		transform-origin: left top 0;
		letter-spacing:5px;
	}
	#content .inner {
		padding-left:0;
		border-left:none;
		padding-top:30px;
		border-top:1px solid #FFAD05;
	}
	#buttons {		
		padding-left:0;
		border-left:none;
		padding-top:20px;
		border-top:1px solid #FFAD05;
	}
	.tab-container {
		padding:20px;
	}
	.tab-icons a:before {
		display:none;
	}
	.tab-icons a {
		margin:0 5px 30px 3px;
	}
}

@media only screen and (max-width: 600px) {
	#buttons img {
		width:100%;
		margin-left:0;
	}
	#services img {
		width:100%;
		margin-left:0;
	}
}


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 50px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}


/* Page Builder */
body.fl-builder #content {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}
body.fl-builder #content .inner {
	padding: 0;
	border: 0;
	max-width: 100%;
}