/*
 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
*/

/***Header***/


@media (max-width: 768px) {
    .top-bar .widget_custom_html {
        display: none !important;
        }
}

@media (max-width: 768px) {
    .site-logo {
        padding: 6px 12px;
        }
}

.nav-float-right .header-widget {
    display: inline-block;
    top: 0;
}
.nav-float-right .inside-header .main-navigation {
    clear: none;
}

/***Nagivation***/

.nav-float-right .inside-header .main-navigation {
    margin-top: 32px;
}

@media (max-width: 768px) {
    .nav-float-right .inside-header .main-navigation {
    margin: 10px auto;
}
	.inside-header {
    padding: 20px 0 0 0;
}
}

.main-navigation .main-nav ul li a {
    margin-left: 20px;
}

/***Page headers***/

.generate-page-header h2 {
	margin-bottom: 0;
	text-align: center;
}

@media (max-width: 768px) {
	.page-header-content-container h2 {
        font-size: 18px;
    }
}

/***Contact Form 7***/

#responsive-form{
	max-width:1200px /*-- change this to get your desired form width --*/;
	margin:0 auto;
        width:100%;
}
.form-row{
	width: 100%;
}
.column-half, .column-full{
	float: left;
	position: relative;
	padding: 0.65rem;
	width:100%;
	-webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
}

.column-one-third{
	width:33%; 
	float:left;
	position: relative;
	padding: 0.65rem;
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}


/**---------------- Media query ----------------**/
@media only screen and (min-width: 48em) { 
	.column-half{
		width: 50%;
	}
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	 -moz-box-sizing: border-box;
	      box-sizing: border-box
}
.wpcf7 input[type="text"]:focus{
	background: #fff;
}
.wpcf7-submit{
	float: right;
	background: #CA0002;
	color: #fff;
	text-transform: uppercase;
	border: none;
	padding: 8px 20px;
	cursor: pointer;
}
.wpcf7-submit:hover{
	background: #ff0000;
}
span.wpcf7-not-valid-tip{
	text-shadow: none;
	font-size: 12px;
	color: #fff;
	background: #ff0000;
	padding: 5px;
}
div.wpcf7-validation-errors { 
	text-shadow: none;
	border: transparent;
	background: #f9cd00;
	padding: 5px;
	color: #9C6533;
	text-align: center;
	margin: 0;
	font-size: 12px;
}
div.wpcf7-mail-sent-ok{
	text-align: center;
	text-shadow: none;
	padding: 5px;
	font-size: 12px;
	background: #59a80f;
	border-color: #59a80f;
	color: #fff;
	margin: 0;
}

/***Request call back***/

#wpcf7-f253-p2-o1 .wpcf7-submit {
	background: #fafafa;
	color: #888888;
}

/***ReCAPTCHA***/

.wpcf7-recaptcha {
	float: right;
}

/***Testimonials***/

.lae-testimonials-slider .lae-testimonial-user .lae-text {
	text-align: center;
}

/***Blog page***/

.blog .container.grid-container {
    margin-top: 30px;
}

.single-post .container.grid-container {
    margin-top: 30px;
}

/***Post slider***/

.lae-project-image  {
	max-height: 190px;
}

.lae-entry-info {
	display: none !important;
}
.lae-posts-carousel .lae-posts-carousel-item .lae-entry-text-wrap .entry-title {
	font-size: 14px !important;
}

/***Footer***/

.footer-widgets {
	text-align: center;
}
