/*
Theme Name:     generatepress-child
Description:    
Author:         Dave Clark
Template:       generatepress

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* STANDARD STYLES */


.center {
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}

.right {
	text-align:right;
	float: right;
}

.left {
	text-align:left;
	float: left;
}

.width-100 {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.width-60 {
	width: 60%;
	padding-left: 0;
	padding-right: 0;
	margin-left:auto;
	margin-right:auto;
}

.bottom-space-0 {
	margin-bottom: 0px;
}

.bottom-space-10 {
	margin-bottom: 10px;
}

.bottom-space-15 {
	margin-bottom: 15px;
}

.bottom-space-20 {
	margin-bottom: 20px;
}

.top-space-0 {
	margin-bottom: 0px;
}

.top-space-5 {
	margin-top: 5px !important;
}

.top-space-10 {
	margin-top: 10px;
}

.top-space-15 {
	margin-top: 15px;
}

.top-space-20 {
	margin-top: 20px;
}

/* STANDARD STYLES END */

.site-header .header-image {
    width: 120px;
}

.header-widget {
    float: none;
    overflow: hidden;
    width: 100%;
    max-width: 1290px;
    position: absolute;
    padding-top: 40px;
}

#footer-boxes-container {
    padding: 3% 0px 2% 0px;
    margin: 20px auto 0 auto;
    text-align: center;
    background-color: #efefef;
    overflow: auto;
    background-image: url(https://www.ijhbuilders.co.uk/wp-content/uploads/2018/08/services-top.png);
    background-repeat: repeat-x;
}

.footer-boxes {
	width: 1340px;
	margin-left: auto;
	margin-right: auto;
}

.secondary-navigation {
    border-bottom: 1px solid #165535;
}

.top-bar {
    display: none;
}

.pswp__caption {
    bottom: 4%;
}

.pswp__caption__center {
    color: #000;
    max-width: 1200px;
    font-weight: bold;
    font-size: 15px;
}

.pswp__button--arrow--left, .pswp__button--arrow--right {
    background: transparent !important;
}

.entry-title {
    text-align: center;
}

.content-box {
    position: relative;
    height: 24vh;
    padding: 22px;
    background-attachment: inherit;
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: inherit;		
}

.groundworks {
    background-image: linear-gradient(rgba(0, 0, 0, 0.33), rgba(0, 0, 0, 0.33)), url(https://www.ijhbuilders.co.uk/wp-content/uploads/2018/08/groundworks-1.jpg);
}

.new-builds {
    background-image: linear-gradient(rgba(0, 0, 0, 0.33), rgba(0, 0, 0, 0.33)), url(https://www.ijhbuilders.co.uk/wp-content/uploads/2018/08/new-build-extensions-6.jpg);
}

.refurb {
    background-image: linear-gradient(rgba(0, 0, 0, 0.33), rgba(0, 0, 0, 0.33)), url(https://www.ijhbuilders.co.uk/wp-content/uploads/2018/08/refurbisment-4.jpg);
}

.content-box h2 {
	color:#FFFFFF;
	font-size: 26px;
	margin-bottom: 0px;
}

.content-box .border {
    border: 2px solid rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    width: 100%;
}

.wpcf7-submit {
    width: 100%;
	border-radius: 6px;
}

.entry-content, .entry-summary, .page-content {
    text-align: center;
}

#page a, a:visited {
    color: #165535;
    text-decoration: underline;
    font-weight: 600;
}

.g-recaptcha {
        display: inline-block;
}	

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

/* Shows the reCAPTCHA on the Contact page */
.page-id-38 .grecaptcha-badge {visibility: visible !important;}

@media (max-width: 1300px) {

.header-widget {
    width: 100%;
    max-width: 95%;
}

.footer-boxes {
	width: 100%;
}

}

@media (max-width: 768px) {

.top-bar {
    display: block;
}

.header-widget {
    display: none;
}

.secondary-navigation {
    display: none !important;
}

.psgal figure {
    width: 100% !important;
}

.width-60 {
	width: 100%;
}

.footer-boxes {
    width: 90%;
}

#footer-boxes-container {
    padding: 30px 0px 20px 0px;
}

}