/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.inside-header.grid-container {
    padding: 20px 40px;
    /* padding: 0px 40px; */
}
.current-menu-item:after {
    content: '';
    display: block;
    height: 3px;
    background: #158f36;
    width: 100%;
    position: absolute;
    bottom: 3px;
    margin: 0 auto;
    text-align: center;
    left: 0px;
    right: 0px;
}
.has-small-font-size {
    font-size: 14px !important;
}

h1.no-underline:after {
    display: none;
}
h1:after {
    content: '';
    width: 40px;
    height: 3px;
    background: #139034;
    display: block;
    margin-top: 3px;
}
button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.wp-block-button__link:not(.has-background) {
    color: #ffffff;
    background-color: #158f36;
    border-radius: 0px;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    padding: 10px 30px;
}
.flex {
    display: flex;
}
.wrap {
    flex-wrap: wrap;
}
.accent {
    color: var(--accent);
}
header#masthead {
    box-shadow: 0 1px 3px rgb(0 0 0 / 11%);
}

.inside-site-info {
    padding: 15px;
}
.wp-block-group__inner-container {
    max-width: 1200px !important;
}

.footer-bar-align-center .footer-bar,
.inside-site-info p {
    margin: 0px;
}
.site-content {
       flex-wrap: wrap;
}
/* page-template-page-projects */
.page-template-page-projects .single-project{
    align-items: center;
}

.archive-projects-wrapper {
    width: 100%;
}
.archive-project {
    display: block;
    border: solid #f5f5f5 3px;
    padding: 30px;
    margin-bottom: 30px;
}
.archive-project a {
    text-decoration: none;
    color: black;
}
.page-template-page-projects .image {
    max-width: 450px;
    overflow: hidden;
}
.page-template-page-projects .image img {
    object-fit: cover;
    object-position: center;
    max-height: 230px;
    height: 100%;
}

/* home blocks */
.home-blocks .wp-block-image {
    height: 270px;
    overflow: hidden;
}
.home-blocks .wp-block-image img {
    object-fit: cover;
    object-position: center;
    height: 295px;
}
.home-blocks p {
    min-height: 100px;
}
.header-contact {
    display: flex;
    align-items: center;
    font-size: 14px;
	justify-content: center;
    color: black;
}
.header-contact svg {
    max-width: 17px;
    margin-right: 6px;
    display: flex;
    align-items: center;
}

.header-contact a {
	    color:black;
    display: flex;
    align-items: center;
    min-width: 120px;
	text-decoration: none;
}
.header-contact a:hover {
text-decoration: underline;
}
/* Individual project pages */
.single-project {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.map {
    width: 100%;
}
.single-project .map iframe{
    width: 100%;
    height: 400px;
}
.page-template-page-projects .details,
.single-project-details {
    font-size: .9em;
}
/* Contact Form */
.wpcf7 {
    max-width: 650px;
    margin: 0 auto;
}

.wpcf7 .flex{
    gap: 15px;
}

.wpcf7 .flex > div {
    flex: 1 1 300px;
}
input.wpcf7-form-control {
    width: 100%;
}
textarea.wpcf7-form-control.wpcf7-textarea {
    margin-top: 15px;
    margin-bottom: 10px;
    height: 200px;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffffff;
}

/* Testimonials */
.testimonials .quote {
font-size: 210px;
    font-family: serif;
    line-height: 0.7;
    height: 60px;
    width: 90px;
}
.testimonials .single {
    background: #f5f5f5;
    margin-top: 15px;
    border-left: solid #179037 4px;
    padding: 30px 30px;
    display: flex;
	flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
.testimonials .name {
    width: 100%;
font-size: 13px;
	font-style: italic;align-content
}
.testimonial {
    font-size: 15px;
    margin-bottom: 5px;
}
.testimonial p {
    margin-bottom: 5px;
}

.upper-form p {
    margin-bottom: 0;
}

.upper-form textarea.wpcf7-form-control.wpcf7-textarea {
    margin: 0;
    height: 100px;
    resize: none;
}
.upper-form input,
.upper-form textarea{font-size: 15px;margin-bottom: 5px;}
.page-id-379 h1:after{display:none;}
.page-id-379 input.wpcf7-form-control.wpcf7-submit {background: var(--accent);}

.page-id-479 .footer-widget-1,
.page-id-460 .footer-widget-1,
.page-id-379 .footer-widget-1{display:none;}

.site-footer a{text-decoration:none;}
ul.wp-block-list.li-space li {
    margin-bottom: 15px;
}

.no-after:after{display:none;}
@media screen and (min-width: 750px){
	.testimonials .single {
 
	flex-wrap: nowrap;
}
    .single-project > div {
        flex: 1 1 45%;
    }
    .current-menu-item:after {
        width: 70%;
    }
    h1.has-text-align-center.no-underline.has-x-large-font-size {
        font-size: 88px !important;
    }
	

}

@media screen and (max-width: 750px){
	ul.wp-block-list.li-space {
    list-style: none;
    padding: 0;
    margin: 0;
}
	ul.wp-block-list.li-space strong{display:block;}
	.hide-mobile{display:none;}
	.no-mobile-pl{padding-left:0;margin-left:20px;}
}