/*
 Theme Name:   BusinessBuilder Child
 Theme URI:    https://bruntwoodequestrian.co.nz
 Description:  BusinessBuilder Child Theme
 Author:       Saul Boyd
 Author URI:   https://organicdesign.nz/User:Saul
 Template:     businessbuilder
 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:  business-builder-child
*/

body{
	overflow-x: hidden;
}

.container {
	width: 1400px !important;/* Minor edit here, changed from: 900px */
	max-width: 90% !important; /* Added this line */
}

/* CSS for the Prices page. */
.rates{
	width: 39.8%;
	margin: 5%;
	display: inline-block;
	padding: 30px;
	background-color: #f2f2f2;
	min-width:250px;
	box-sizing: border-box;
	text-align: left;
	vertical-align: top;
}

@media screen and (max-width: 800px) {
	.rates{
		width: 92% !important;
	}
}

.ratesContainer{
	text-align:center;
}

.ratesPrice{
	float: right;
}

/* CSS for the Gallery page. */
.galleryElement{
	display: inline-block;
	width: auto;
	height: 250px;
	background-color: #f2f2f2;
}

.galleryElement > *{
	height: 100%;
	width: auto;
}

/* CSS for the Contact page. */
.contactBoxMap{
	padding: 30px 5px !important;
}

.contactBoxText{
	padding: 0px 25px !important;
	margin-bottom: 47px !important;
}

.contactBox{
	width: 39.8%;
	margin: 5%;
	display: inline-block;
	padding: 30px;
	background-color: #f2f2f2;
	min-width:250px;
	box-sizing: border-box;
	text-align: left;
	vertical-align: top;
	padding-bottom: 0px !important;
}

.contactContainer{
	text-align:center;
	display: flex;
	box-sizing: border-box;
}

@media screen and (max-width: 1450px) {
	.contactBox{
		width: 92% !important;
	}
	
	.contactContainer{
		display: block;
	}
}

.gMaps{
	width: 100% !important;
	height: 85% !important;
	min-height: 500px;
}

.contactImgContainer{
	width: 100%;
	display: flex;
}

.roseImg{
	width: 55% !important;
	text-align: center;
	display: inline-block;
}

.flissImg{
	width: 45% !important;
	text-align: center;
	display: inline-block;
}

.flissImg > img, .roseImg > img{
	height: 90% !important;
}

@media screen and (max-width: 600px) {
	.roseImg, .flissImg, .contactImgContainer{
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.roseImg > img, .flissImg > img{
		width: 80% !important;
		height: auto !important;
	}
}

/* CSS for the Contact page form. */
.wpcf7-form > p > label, .wpcf7-form-control{
	max-width: 100% !important;
	width: 100% !important;
}

.wpcf7-submit{
	display: block !important;
	clear:both;
	width: auto !important;
}

.wpcf7-textarea{
	height: 210px;/*ensure the boxes are the same size*/
}

#verification{
	clear: both; /*fix for this overlapping other fields*/
	margin: 10px 0;
}


@media screen and (max-width: 450px) {
	#verification{
		transform:scale(0.8); /*fix for verification size on smaller screens*/
		transform-origin:0 0;
	}
}

@media screen and (max-width: 350px) {
	#verification{
		transform:scale(0.7); /*fix for verification size on smaller screens*/
		transform-origin:0 0;
	}
}

.contactSendContainer > .wpcf7-form-control-wrap{
	display: inline-block; /*fix for verification somehow blocking all input fields*/
}

/* CSS for the footer */

body .site{
  display: flex !important;
  min-height: 100vh !important;
  flex-direction: column !important;
}

#content{
  flex: 1 !important;
}

/* CSS for the nav menu */
.current-menu-item{
	background-color: #2b2f3b;
	pointer-events: none;
	cursor: default;
}

.menu li{
	margin: 0px !important;
}

.menu li:hover{
	background-color: #2b2f3b;
}


.menu li a{
	padding: 0px 20px !important;
}