/*
Theme Name: Renovate Child
Theme URI: https://elementcabinetdesign.com
description: >-
  Renovate Child
Author: Element Cabinet Design
Author URI: https://elementcabinetdesign.com
Template: renovate
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: renovate-child
*/

/* Hides the reCAPTCHA on every page */
.grecaptcha-badge { 
	visibility: hidden; 
}

/* Fix issue with font enqueue */
p, ul, ol {
	color: #444;
	font-family: 'Raleway';
	font-size: 14px;
	line-height: 24px;
	margin-top: 24px;
	padding: 0;
}

.social-icons,
.header-top-bar .contact-details {
	margin-top: 0 !important;
}

li,
.entry-meta {
	font-family: 'Raleway';
}

p small {
	font-family: 'Raleway', sans-serif;
	font-size: 12px;
}

ol {
	list-style: decimal;
}

/* Fix issue where images are disappearing */
.blog .post-content > a > img, 
.blog.three-columns li > a > img, 
.post.single .post-image img, 
.services-list a > img, 
.team-box img, 
.projects-list a > img, 
.our-clients-list, 
.re-preload > img, .wpb_single_image img {
	display: block;
}

/* Fix issue where menu turns blue randomly */
.sf-menu li,
.sf-menu li:hover, 
.sf-menu li.sfHover, 
.sf-menu a:focus, 
.sf-menu a:hover, 
.sf-menu a:active {
	background: transparent;
}

.sf-menu {
	position: relative;
	z-index: 1001;
}

/* Footer Contact Info Bar */
.footer-contact-info-container {
	background: #f5f5f5;
	padding: 60px 0;
}

.footer-contact-info {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.footer-contact-info li {
	align-self: flex-start;
	flex-basis: 21%;
}

.footer-contact-info ul.contact-details {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-info ul.contact-details li {
	border: 0;
	color: #444;
	padding: 0;
	margin: 12px 0 0 30px;
	text-indent: -28px;
}

.footer-contact-info a,
.footer-contact-info a:visited,
.footer-contact-info .contact-details li a,
.footer-contact-info .contact-details li a:visited {
	color: #444;
	text-decoration: none;
}

.footer-contact-info a:active,
.footer-contact-info a:focus,
.footer-contact-info a:hover {
	text-decoration: underline;
}

.footer-contact-info .wpcf7-form input {
    width: 200px;
    max-width: 200px;
    padding: 6px 8px;
}

.wpcf7-form-control.wpcf7-submit {
	min-width: 218px;
}

.footer-contact-info p {
    line-height: 1.5;
    margin: 12px 0;
}

#custom_html-6 ul {
	margin: 12px 0;
	padding: 0;
}

#custom_html-6 ul li {
	margin: 12px 0;
	font-size: 14px;
}

.footer-contact-info li {
	font-family: Raleway, sans-serif;
}

@media screen and (max-width: 1200px) {
	.footer-contact-info li {
		flex-basis: 50%;
		margin-bottom: 50px;
	}
}

@media screen and (max-width: 600px) {
	.footer-contact-info li {
		flex-basis: 100%;
	}
}

/* Home page Slider CHanges */
.slider-content-box {
	padding-bottom: 15px !important;
	width: 400px;
}

.slider-content-box h2 {
	background: transparent;
	border-bottom: 0;
    font-size: 1.25em;
    font-weight: bold;
    margin: 0;
    padding: 15px;
}

.slider-content-box .more.simple {
	margin: 0 15px !important;
	padding: 5px 10px !important;
}

.home-hero-contact-form {
	background: rgba(38, 38, 40, 0.7);
	color: #ffffff;
	max-width: 100%;
	padding: 15px !important;
	position: absolute;
		top: 75px;
		right: 150px;
		z-index: 100;
	text-align: center;
	width: 400px !important;
}

.home-hero-contact-form p {
	margin: 16px 0;
}

.home-hero-contact-form .screen-reader-text {
	display: none;
}

.home-hero-contact-form input,
.home-hero-contact-form textarea {
	padding: 5px;
	width: 85%;
}

.home-hero-contact-form textarea {
	height: 50px;
}

.home-hero-contact-form h2 {
	color: #ffffff;
	font-size: 1.25em;
	line-height: 1;
	margin: 15px 0 0 0;
	text-align: center;
	text-transform: uppercase;
}

.home-hero-contact-form .wpcf7 .ajax-loader {
	position: absolute;
}

.home-hero-contact-form .wpcf7-submit {
	margin: 0 auto;
}

.wpcf7 form .wpcf7-response-output {
	font-family: Raleway, sans-serif;
	margin-top: 1em;
}

@media screen and (max-width: 1100px) {
	.home-hero-contact-form {
		top: 40px;
		right: 40px;
		width: 300px !important;
	}
	
	.home-hero-contact-form input,
	.home-hero-contact-form textarea {
		width: 90%;
	}
	
	.home-hero-contact-form input,
	.home-hero-contact-form textarea {
		padding: 2px 5px;
	}
	
	.home-hero-contact-form h2 {
		margin: 0;
	}
}

@media screen and (max-width: 800px) {
	.home-hero-contact-form {
		position: relative;
		top: auto;
		right: auto;
		margin: 50px auto 0 auto;
	}
}

@media screen and (max-width: 767px) {
	.slider-content-box {
		padding: 10px !important;
	}
	
	.slider-content-box .more.simple {
		border: 1px solid #ffffff !important;
		display: inline-block !important;
		margin-left: 0 !important;
		margin-top: 8px !important;
	}

	.slider-content-box h2 {
		line-height: 1.25 !important;
	}
	
	.header .mobile-menu-switch {
		position: relative;
			right: -30px;
	}
}

/* Interior Hero */
.hero-image-container {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 400px;
	text-align: center;
}

.hero-image-container h1 {
	font-size: 3em;
	text-transform: none;
	background: rgba(38, 38, 40, 0.7);
	display: inline-block;
	top: 100px;
	position: relative;
	padding: 20px;
	max-width: 80%;
	margin: 0 auto;
	color: white;
}

.hero-form-container {
	background: #ffffff;
	box-shadow:	0 0 5px rgba(38, 38, 40, 0.3);
	margin: -150px auto 25px auto;
	max-width: calc(100% - 50px);
	padding: 20px;
	text-align: center;
	width: 800px;
}

.hero-form-container textarea {
	height: 75px;
}

.hero-form form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.hero-form form p {
	margin: 0;
	flex-basis: 33%;
}

.hero-form form input {
	padding: 5px;
	width: 90%;
}

.hero-form form textarea {
	padding: 5px;
	width: 97%;
}

.hero-form form p.hero-form-details {
	flex-basis: 100%;
}

.hero-form form p.hero-form-submit {
	flex-basis: 100%;
	margin: 16px 0 0 0;
	text-align: center;
}

.hero-form .ajax-loader {
	position: absolute;
}

.hero-form form p.hero-form-submit .wpcf7-form-control.wpcf7-submit {
	max-width: 218px;
}

@media screen and (max-width: 600px) {
	.hero-form form p {
		flex-basis: 100%;
	}
	
	.hero-form form textarea {
		width: 90%;
	}
}

/* general helpers */
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	        clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	        clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.wpcf7 form .wpcf7-response-output {
	margin-left: auto;
	margin-right: auto;
}

/* Photo Gallery Page */
.pp_pic_holder {
	font-family: 'Raleway', sans-serif;	
}

div.pp_default .pp_expand {
	display: none !important;
}

.photo-filters {
	margin-bottom: 30px;
	text-align: center;
}

.photo-filters li {
	display: inline-block;
	padding: 0 15px;
	margin-bottom: 15px;
}

.photo-filters button {
	background: transparent;
	border-bottom: 2px solid transparent;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	font-family: Raleway, sans-serif;
	padding: 0;
}

.photo-filters button:hover,
.photo-filters button.mixitup-control-active {
	border-bottom: 2px solid #569099;
}

.photo-gallery {
	-webkit-columns: 4;
	-moz-columns: 4;
	columns: 4;
	-webkit-column-gap: 10px;
	-moz-column-gap: 10px;
	column-gap: 10px;
}

.photo-gallery li {
	display: inline-block;
	margin-bottom: 10px;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

@media screen and (max-width: 1024px) {
	.photo-gallery {
		-webkit-columns: 3;
		-moz-columns: 3;
		columns: 3;
	}
}

@media screen and (max-width: 640px) {
	.photo-gallery {
		-webkit-columns: 2;
		-moz-columns: 2;
		columns: 2;
	}
}

/* Navigation Fixes */
ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {
	left: 15em;
}

@media screen and (max-width: 1300px) {
	.menu-container nav {
		margin-right: 100px;
	}
}

@media screen and (max-width: 767px) {
	.header-top-bar {
		width: 100% !important;
	}
	
	.contact-details {
		margin-left: 15px;
		margin-right: 15px;
	}
	
	.contact-details li {
		padding: 5px 15px !important;
	}
	
	.collapsible-mobile-submenus .menu-item-has-children .menu-item-has-children ul,
	.collapsible-mobile-submenus .menu-item-has-children ul {
		margin-top: 0 !important;
	}
}

.header-top-bar .search-form {
	z-index: 9999;
}