/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

.home-form, .wpcf7-list-item-label, wpcf7-list-item  {
    color: #fff;
    font-weight: 400;
}

.contact-page-7, .wpcf7-list-item-label, wpcf7-list-item  {
    color: #fff;
    font-weight: 400;
}

.enquiry-box{
    
    width:100%!important;
}

.header-top-bar .fl-html {
	font-size: 12px;
}

/* slanted buttons */
.slanted-button .fl-button {
	transform: skewX(-10deg);
}

.slanted-button .fl-button .fl-button-text {
    transform: skewX(10deg);
	display: block;
}

/* contact form changes */
.background-contact-form .wpcf7 p {
    float: left;
    width: 33%;
}

.background-contact-form .wpcf7 form p:nth-child(2) {
	margin-right: 0.5%;
}

.background-contact-form .wpcf7 form p:nth-child(4) {
	margin-left: 0.5%;
}

.background-contact-form .wpcf7 form p:nth-child(5), .background-contact-form .wpcf7 form p:nth-child(5) label, .background-contact-form .wpcf7 form p:nth-child(6) {
	float: none;
	width: 100%;
}

.background-contact-form .wpcf7 form p:nth-child(5) label textarea, footer .wpcf7 form p label textarea {
	height: 100px;
}

.background-contact-form .wpcf7 input.wpcf7-submit {
	background: #f1f1f1;
	color:#222222;
	text-transform: uppercase;
	border: none;
	float:right;
	font-weight: bold;
	padding: 10px 20px;
}

footer .wpcf7 input.wpcf7-submit {
    border: none;
    width: 100%;
    border-radius: 0;
	text-transform: uppercase;
}
	
.background-contact-form .wpcf7 input, .background-contact-form .wpcf7 textarea {
	border-radius: 0;
}

.background-contact-form input.wpcf7-form-control, .background-contact-form .wpcf7 textarea {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
	border: 1px solid #8e8e8e;
}

/* styling placeholder on fancy backgrounded contact form. See also IE/Edge rules below, they have to BE KEPT SEPARATE */
.background-contact-form input.wpcf7-form-control::placeholder, .background-contact-form .wpcf7 textarea::placeholder {
	color: #ccc;
	font-weight: normal;
}

.background-contact-form .wpcf7 input:-ms-input-placeholder {
	color: #ccc;
	font-weight: normal;
}

.background-contact-form .wpcf7 textarea:-ms-input-placeholder {
	color: #ccc;
	font-weight: normal;
}

.background-contact-form .wpcf7 input::-ms-input-placeholder {
	color: #ccc;
	font-weight: normal;
}

.background-contact-form .wpcf7 textarea::-ms-input-placeholder {
	color: #ccc;
	font-weight: normal;
}

/* removing image animation on interactive banners as was moving the image too far to the left */
.uabb-ib-effect-style1 img {
	transform: none;
	-webkit-transform: none;
    -moz-transform: none;
}

/* limit height of interactive banners */
.uabb-ib-effect-style1 {
	max-height: 350px;
}

/* uabb photo gallery captions  */
.uabb-photo-gallery-caption {
	white-space: normal;
}

h3.uabb-photo-gallery-caption.uabb-photo-gallery-caption-below {
    margin-top: 0;
    min-height: 137px;
}

/* limiting height of uabb gallery pics */
.fl-module-photo-gallery .uabb-photo-gallery-link a {
	max-height: 165px;
}

/* breadcrumb stuff */
.custom-breadcrumb p {
	font-size: 90%;
}

/* adjusting space after paragraphs */
.fl-rich-text p {
	margin-bottom: 25px;
}

@media screen and (min-width: 769px) {
/* removing tiny gap between menu items */
	header #menu-main-menu li.menu-item { margin-right: -1px; }
/* adding slanted red bg on menu hover/active item */
	header #menu-main-menu li.menu-item:hover, header #menu-main-menu li.menu-item:active, header #menu-main-menu li.menu-item:focus, header #menu-main-menu li.current-menu-item { background: #fa1d35; transform: skewX(-10deg); }
	header #menu-main-menu li.menu-item:hover a, header #menu-main-menu li.menu-item:active a, header #menu-main-menu li.menu-item:focus a, header #menu-main-menu li.current-menu-item a { transform: skewX(10deg); }
	header #menu-main-menu li.menu-item a:active, header #menu-main-menu li.menu-item a:focus, header #menu-main-menu li.menu-item a:hover { color: #303030; }
}

@media screen and (max-width: 768px) { 
	header #menu-main-menu li.menu-item:hover a, header #menu-main-menu li.menu-item:active a, header #menu-main-menu li.menu-item:focus a, header #menu-main-menu li.current-menu-item a { background: #fa1c35; padding: 20px !important; }
	header #menu-main-menu li.menu-item a { padding: 20px !important; }
	.background-contact-form .wpcf7 p { float: none; width: 100%; margin: 0 !important; }
	.background-contact-form .wpcf7 p label { width: 100%; }
	h1.fl-heading .fl-heading-text { font-size: 35px; }
	.fl-col-small { max-width: 100%; }
	footer .wpcf7-form { max-width: 350px; }

	header .fl-menu .fl-menu-mobile-toggle.fl-active, header .fl-menu .fl-menu-mobile-toggle:hover, header .fl-menu .fl-menu-mobile-toggle.fl-active:hover  { color: #333; }
}


@media screen and (min-width: 500px) and (max-width: 768px) {
	header .fl-photo-content img { max-width: 450px; }
}

@media screen and (max-width: 500px) { 
/* hide gallery captions on mobile */
	h3.uabb-photo-gallery-caption.uabb-photo-gallery-caption-below { display: none; }
}

.uabb-photo-gallery-caption {
    font-size: 13px;
    line-height: 18px;
    overflow: visible!important;
    white-space: normal!important;
}