/*
 Theme Name:   Envisioned Child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Envisioned Child Theme
 Author:       Radley Sustaire and Rosie Leung
 Template:     Envisioned
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fifteen-child
*/

#top {
    background-color:  #1c1711 !important;
}

#logo {
	width: auto;
	height: auto;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.container {
	width: auto !important;
	max-width: 960px;
}

.home-top-content.container {
    width: auto;
    max-width: 1280px;
    padding: 0 50px;
	color: #a08564;
}

.home-top-content .hs-image {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.home-top-content h3.title {
	font-family: 'Bilbo Swash Caps', cursive;
    font-size: 48px;
	line-height: 1.2;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: none;
}

.home-top-content h3.title a {
	color: #fff;
	display: inline-block;
}

.home-top-content h3.title a:hover {
	color: #ffecd5;
	text-decoration: none;
}

.home-top-content p {
    font-size: 16px;
    line-height: 24px;
    text-shadow: none;
}

.home-top-content a.small-button {
    padding: 5px 20px;
    font-size: 14px;
    font-weight: 400;
    margin-top: 10px;
}

.home-top-content img {
    max-width: 100%;
    height: auto;
}

.home-top-content .hs-readmore a.small-button {
    margin: 1.3em 0 0;
    font-weight: 400 !important;
    color: #7e684e !important;
    text-shadow: none;

    background: transparent;
    box-shadow: none;

    border-radius: 0;
    border: 1px solid #7e684e;

    transition: color 0.1s linear, border 0.1s linear;
}

.home-top-content .hs-readmore a.small-button:hover {
    color: #fff !important;
    border-color: #fff;
}

.home-top-content .hs-readmore a.small-button:after {
    content: ' →';
    display: inline-block;
    line-height: 1;
    width: 0px;
    margin: 0 -5px 0 5px;
    text-align: right;
    overflow: hidden;
    transition: width 0.1s linear;
}

.home-top-content .hs-readmore a.small-button:hover:after {
    width: 18px;
}

/* Nav hover color */
ul#top-menu a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Testimonial */
.et-testimonial-box .et-testimonial {
    padding: 20px 10px 20px 20px;
}

.et-testimonial-box .et-testimonial,
.et-testimonial-box .et-testimonial p {
    line-height: 26px;
}

.et-testimonial-box .et-testimonial:before {
    position: static;
    display: inline-block;
    float: left;
    margin-bottom: 10px;
    margin-top: 6px;
    margin: 2px 10px 10px 0px;
    opacity: 0.5;
}

/* Front page services */
.service h3.title {
	font-size: 18px !important;
}

/* Front page testimonial */
.zm-testimonials {
}

.zm-testimonials.location-footer {
    margin-bottom: -37px;
    padding: 50px 0;
    background-color: #1c1711;
    background-image: 
        url(../Envisioned/images/red/bottom-light-bg.png),
        url(../Envisioned/images/red/top-wrapper-bg.jpg);
     background-position:
        bottom center,
        top center;
    background-repeat:
        no-repeat,
        no-repeat;
}

.zm-testimonials.location-footer h2 {
    text-shadow: none;

    font-family: 'Bilbo Swash Caps', cursive;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: none;
}

.zm-testimonials.location-footer .zm-testimonial-more a {
	background:url(../Envisioned/images/readmore.png) no-repeat right bottom;
	color:#1c2329;
	display:block;
	font-size:11px;
	height:24px;
	line-height:24px;
	padding-right:10px;
	text-shadow:1px 1px 1px #ffffff;
	display:block;
	float:right;
}

.zm-testimonials.location-footer .zm-testimonial-more a span {
	background:url(../Envisioned/images/readmore.png) no-repeat;
	display:block;
	height:24px; 
	padding-left: 12px; 
	padding-right: 2px; 
}

/* Main menu */
ul#top-menu a {
	font-size: 14px;
}

/* Fix boxes overlapping inside of images */
.et-shadow,
.entry blockquote {
    overflow: hidden;
    position: relative;
	margin-left: 0;
	margin-right: 0;
}

/* Fix ugly active nav effect */
html ul#top-menu > li.current_page_item > a,
html ul#top-menu a:hover {
    color: #fff !important;
    font-style: normal;
    text-decoration: none;
    font-family: inherit;
}

/* Simple banner */
#simple-banner {
    z-index: 1 !important;
}

#simple-banner .simple-banner-text {
    text-shadow: none;
}

@media ( min-width: 1024px ) {
	.home-top-content h3.title {
		font-size: 78px;
	}

	.home-top-content p {
		font-size: 18px;
		line-height: 1.5;
	}
	
	.home-top-content .hs-readmore a.small-button {
		font-size: 18px;
		line-height: 1.6;
	}
}

@media (max-width: 1440px) {
    .home-top-content .one_third { width: 34%; }
    .home-top-content .two_third { width: 62%; }
}

@media (max-width: 1200px) {
    .home-top-content .one_third { width: 42%; }
    .home-top-content .two_third { width: 54%; }
}

@media (max-width: 960px) {
	.home-top-content.container {
		padding: 0 10px;
	}
	.home-top-content p {
		line-height: 20px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
    .home-top-content .one_third, .home-top-content .two_third {
        width: 100%;
        padding: 10px 0;
    }
}

/* When using ACF we have more markup to play with */
.home-top-content.acf-content .h-section {
	padding-bottom: 4em;
}

.home-top-content.acf-content .h-section:first-child {
	padding-top: 4em;
}

@media ( min-width: 1024px ) {
	.home-top-content.acf-content .h-section {
		padding-bottom: 8em;
		
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
			-ms-flex-direction: row;
				flex-direction: row;
		-webkit-box-align: center;
			-ms-flex-align: center;
				align-items: center;
	}
	

	.home-top-content.acf-content .h-section:first-child {
		padding-top: 8em;
	}
}

#content {
	border-top: none !important;
}

#content-shadow:has(.dark-bg) {
    padding-top: 0;
}

.dark-bg {
	background:
		url(/wp-content/themes/Envisioned/images/red/top-wrapper-bg.jpg) no-repeat top center,
	  url(/wp-content/themes/Envisioned/images/red/bottom-light-bg.png) no-repeat bottom center,
	  url(/wp-content/themes/Envisioned/images/top-content-bg.png) repeat-x bottom center,
		#1c1711;
	color: #a08564;
    margin: 0;
}

#top ul.nav li ul {
	width: auto !important;
	background-size: 100% auto !important;
}

#left-area {
    max-width: 680px;
    width: auto;
}

.container {
	padding-left: 20px;
	padding-right: 20px;
}

@media ( max-width: 700px ) {
    html #menu-content {
        background: #61574f;
        background: linear-gradient( 180deg, #61574f, #4f443b 40%, #322a23);
        border-radius: 10px;
        padding: 0 10px;
        height: auto;
    }

    ul#top-menu {
        float: none;
        text-align: center;
    }

    ul#top-menu.nav li {
        float: none;
        display: inline-block;
    }
    
    html #menu, 
	html #menu-right {
        background: none;
        height: auto;
    }

    #top h1.category-title {
        padding: 20px 20px 0;
		margin: 0;
    }
	
	html #social-icons {
		margin: -22px 7px 0 0;
	}
	
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.zm-testimonials .one_third {
		width: auto !important;
		margin-right: 0 !important;
	}
}

@supports (display: grid) {
	#footer-widgets {
		display: grid;
    	width: 100%;
		grid-template-columns: 1fr;
		gap: 20px;
	}

	#footer-widgets > .footer-widget {
		width: auto;
		margin: 0;
		float: none;
		text-align: center;
	}
	
	@media ( min-width: 500px ) {
		#footer-widgets {
			grid-template-columns: 1fr 1fr 1fr;
		}
	}
}

.service {
	padding-left: 0;
}

@media ( max-width: 600px ) {
	.service {
		width: auto;
		margin: 0 0 2em;
	}
	.service:last-child {
		margin-bottom: 0;
	}
}

@supports ( display: grid ) {
	#services .container {
		display: grid;
		grid-template-columns: 1fr;
		gap: 4vw;
	}

	#services .container > .service {
		margin: 0;
		padding: 0;
		float: none;
		width: auto;
	}
	
	@media ( min-width: 700.1px ) {
		#services .container {
			grid-template-columns: 1fr 1fr 1fr;
		}
		
	}
}


/* Bigger fonts, more spacing */
h1, h2, h3, h4, h5, h6 {
    margin: 1em 0 0.3em;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0
}

body {
    font-size: 14px;
    line-height: 1.5;
}
/* END: Bigger fonts, more spacing */


/* Banner at the top of the page */
#j-banner {
    background: #eeeaed;
    color: #3e3e3e;
    font-weight: 700;
    text-align: center;
    padding: 10px;
}

#j-banner a {
    color: #d65a0b;
}

#j-banner > :first-child {
    margin-top: 0;
    padding-top: 0;
}

#j-banner > :last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
/* End: Banner */

/* Start: Block widgets */
/*        - Block widgets must be in a group with class "block-widgets" */
/*        - Each widget must be in a group with class "widget" */
.block-widgets {
    
}

.block-widgets > .wp-block-group__inner-container {
    
}

.block-widgets .widget {
    margin: 0 0 25px;
    padding: 20px;
    background: linear-gradient( 180deg, #fff, #f7f7f7);
    border-radius: 10px;
    box-shadow: inset 0 0 3px #0006;
}

.block-widgets .widget > .wp-block-group__inner-container {
    
}

.block-widgets .widget > .wp-block-group__inner-container > :first-child {
    margin-top: 0;
    padding-top: 0;
}

.block-widgets .widget > .wp-block-group__inner-container > :last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

@supports ( display: grid ) {
	@media ( min-width: 1000.1px ) {
		.block-widgets .widget.widget-awards .wp-block-group__inner-container {
			--widget-gap: 10px;
			--widget-cols: 2;
			display: flex;
			flex-direction: row;
			flex-wrap: wrap;
			gap: var( --widget-gap );
    		justify-content: center;
		}
		
		.block-widgets .widget.widget-awards .wp-block-group__inner-container > * {
			flex-basis: calc(50% - (var( --widget-gap ) / var(--widget-cols)) );
			margin: 0;
		}
	}
}

@media ( max-width: 1000px ) {
    #sidebar {
        float: none;
        clear: both;
        width: auto;
        margin: 0 -20px -37px;
        border-radius: 0;
    }
    
    .block-widgets > .wp-block-group__inner-container {
        width: auto;
        max-width: none;
        padding: 40px 10px;
        background: #ccc8;
        border-top: 1.5px solid #0002;
    }

    .block-widgets .widget {
        margin-bottom: 40px;
        max-width: 300px;
        margin: 0 auto 40px;
        box-shadow: 0 1px 2px #0005;
    }
    
    .block-widgets .widget:last-child {
        margin-bottom: 0;
    }
    
    .block-widgets .widget .wp-block-group__inner-container {
    }

    .block-widgets .widget.widget-awards {
        max-width: none;
        background: none;
        box-shadow: none;
        padding: 0;
    }

    .block-widgets .widget.widget-awards .wp-block-group__inner-container {
        max-width: none;
        display: flex;
        flex-wrap: nowrap;
        gap: 1.50vw;
        align-items: center;
        justify-content: center;
    }
    
    .block-widgets .widget.widget-awards .wp-block-group__inner-container > * {
        margin: 0;
        width: 50%;
        max-width: 120px;
        min-width: 75px;
    }
}
@media ( max-width: 600px ) {
    .block-widgets .widget.widget-awards .wp-block-group__inner-container {
        flex-wrap: wrap;
    }
}
/* End: Block widgets */