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

/* fix the spacing below logo */
.fl-page-header-container {
    padding-bottom: 15px;
    padding-top: 35px;
}

/* bigger font size in top bar */
.fl-page-bar {
    line-height: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    font-family: "Open Sans", Arial;
}

/* heading menu/social links split */
.fl-page-bar-container .text-left {
    width: 80%;
}

.fl-page-bar-container .text-right {
    width: 20%;
}

/* padding at bottom of pages */
.fl-page-content {
    padding-bottom: 30px;
}

/* temp fix - hide the unused nav */
.fl-page-nav-wrap {
    display: none;
}

/* temp fix - restrict logo width */
.fl-page-header-primary .fl-logo-img {
    max-width: 500px;
}

/* make accreditations smaller */
.fl-row-bg-photo span.fl-heading-text > span {
    font-size: 0.7em;
}

/* -start- general form styling to match site style */
input[type] {
    border: 1px solid #565656;
    background-color: transparent;
    border-radius: 0;
}

.home-contact-form input[type=submit] {
    color: white;
}

.home-contact-form input[type=submit] {
    background-color: #dcd6ca;
}

.home-contact-form input[type=submit]:hover {
    background-color: #c8c3b8;
}

.fl-contact-form textarea {
  min-height: 60px;
  border: 1px solid #565656;
  border-radius: 0;
}

.home-contact-form label {
  display: none !important;
}

label {
    font-weight: normal;
}
/* -end- general form styling to match site style */

/* contact area borders and spacing */

.home-contact-row {
  margin: 0px 20px 40px;
}

.home-contact-row .fl-row-content-wrap {
    border: 2px solid rgba(220,214,202,0.7);
}

.home-contact-row .fl-row-content-wrap .fl-row-content {
  border: 1px solid rgba(220,214,202,0.7);
  padding: 0;
}

.home-contact-row .fl-contact-form-submit, input[type=submit]:hover {
   border: 0;
}

.home-contact-area .wpcf7 p {
	margin: 0 0 5px;
}


/* contact form */
.wpcf7-form .your-message .wpcf7-textarea {
    height: 140px;
    border: 1px solid #565656;
}

.wpcf7 input.wpcf7-submit {
    background: #dcd6ca;
    border: 0;
    border-radius: 5px;
    color: white;
}

.wpcf7 input.wpcf7-submit:hover {
    background: #c78823;
}

div.wpcf7-validation-errors, div.wpcf7-mail-sent-ok {
    border: 2px solid #dca751;
}

/* home contact form */
.home-contact-area .your-message .wpcf7-textarea {
	height: 50px;
	border-radius: 0;
}

.home-contact-area .captcha-input {
	width: 80%;
	float: left;
}

.home-contact-area .captcha-image {
	width: 20%;
	float: left;
	text-align: center;
}

.home-contact-area .your-message .wpcf7-textarea:focus {
    border-color: #cccccc;
}

.home-contact-area .wpcf7 input.wpcf7-submit {
	border-radius: 0;
}

/* personalising call to actions on pages */

.page-cta {
  border: 2px solid rgba(220,214,202,0.7);
}

.page-cta .fl-module-content {
  border: 1px solid rgba(220,214,202,0.7);
  padding: 20px;
}

body h3.fl-cta-title {
  padding: 0 0 3px 0;
}

/* on home contact, adding border on left of details, between that and form */

.home-contact-right {
  margin-top: 10px;
}

.home-contact-right .fl-module-content {
  border-left: 1px solid #ababab;
  padding-left: 25px;
  margin-left: 10px;
  padding-bottom: 15px;
  margin-top: 20px;
}

/* improve paragraph spacing */
p {
    margin: 0 0 20px;
}

/* pricing page paragraph spacing */
.price-list .fl-rich-text p {
	margin: 20px 0 10px;
}

/* -start- small bar under headers, assign header-separator as class in builder */
.black-centered .fl-separator {
    border-top: 2px solid;
    color: #565656;
    max-width: 48px;
    margin: -8px auto 0 auto;
}

.black-left .fl-separator {
    border-top: 2px solid;
    color: #565656;
    max-width: 48px;
    text-align: left;
}
.black-left .fl-module-content, .black-centered .fl-module-content {
    margin-top: 0;
    margin-bottom: 0;
}
/* -end- small bar under headers, assign header-separator as class in builder */

/* -start- Home page changes/fixes */
.h1-home h1.fl-heading {
    font-size:1.4em;
}

.h3-home h3.fl-heading {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.4em;
}
/* -end- Home page changes/fixes */

/* footer changes */

.fl-page-footer-widgets, .fl-page-footer {
    background-color: transparent;
}


.fl-page-footer-wrap {
    background: #dcd6ca;
}

.fl-page-footer {
    border-top: none;
}

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

.footer-social .social-item, .footer-social .social-item i {
	color: #fff;
}

.footer-social .social-item {
	margin: 0px 10px;
}

.fl-page-footer-widgets .textwidget .footer-social a:hover {
	color: #fff;
	text-decoration: none;
}

.fl-page-footer-widgets-container {
    padding-top: 20px;
}

.fl-page-footer-widgets-row .fl-widget {
    margin-bottom: 20px;
}

.fl-page-footer .fl-page-footer-text, .fl-page-footer .fl-page-footer-text a {
    /*color: #FFDBA6;*/
}

.page-sub-heading p {
    font-family: 'Open Sans', arial;
}


.home-columns-whitetext {
    text-align: center;
    background: white;
    padding: 5px;
    text-transform: uppercase;
    font-family: 'Open Sans';
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    width: 50%;
    margin: 0 auto;
}

.fl-module-rich-text .home-columns-whitetext a {
	color: #565656;
}

/* admin only fix when testing the mobile menu */
#click-menu.admin-bar-showing {
    margin-top: 37px !important;
}
#responsive-menu.admin-bar-showing {
    padding-top: 46px !important;
}

/* line height for list on About page */
.choose-list {
	line-height: 1.9em;
}

/* borders on peels */
.peels-box .fl-module-content.fl-node-content, .peels-col {
	border: 2px solid rgba(221,153,51,0.7);
}

/* lightbox controls */
.pp_content .pp_fade .pp_hoverContainer, .pp_content .pp_fade .pp_gallery {
	display: none !important;
}

/* GLOW system items general changes */
.glow-list span.first-letter {
	font-size: 28px !important;
	font-weight: bold;
}

.glow-list h3 {
	margin-top: 12px;
	text-transform: uppercase;
	font-family: sans-serif;
	font-size: 20px;
}

span.after-glow-item {
	text-transform: none;
	font-size: 16px;
}

.before-after-row .fl-rich-text p {
	text-align: center;
}

.peels-row .peels-box .fl-module-content.fl-node-content {
	max-width: 570px;
	margin: 20px auto;
}

.fl-col-group .peels-col {
	width: auto !important;
	max-width: 570px;
	margin: 20px auto;
	float: none;
}

.fl-page-bar-nav > li > a { 
	padding: 2px 6px; 
}

table.price-table {
	float: left;
	width: 100%;
}

.price-table tr {
	border-bottom: solid 1px #cfcfcf;
}

.price-table tr td:last-of-type,
.price-table tr th:last-of-type {
	width: 100px;
	text-align: right;
}

.price-table tr td,
.price-table tr th {
	width: calc(100% - 100px);
	padding: 16px 4px;
}

/*******************************/
/***** MOBILE FIXES BELOW *****/
/*****************************/

@media (min-width: 1024px) and (max-width: 1200px) {
  .bg-bar-mainheader > .fl-module-content {
	margin-top:14px;
  } 
}

@media (max-width: 900px) {
.fl-row-bg-photo .fl-row-content-wrap { background-image: none; }
}

@media (min-width: 967px) and (max-width: 1200px) {
	.skin-first-image { margin-bottom: 30px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
	.bg-bar-mainheader > .fl-module-content { margin-top:5px; }
	.bg-bar-mainheader h1 { font-size: 26px; }
	.fl-module-content-slider .fl-slide-bg-photo { background-size: contain; }
}

@media (min-width: 768px) and (max-width: 800px) {
	div.bg-bar-subheader { margin-top: -7px; }
	.fl-page-bar { line-height: 46px; }
	#click-menu { left: 5%; }
}

@media (min-width: 992px)  {
.fl-page-footer-container { padding: 5px 0 0; }
.fl-page { box-shadow: 1px 1px 20px #CBD0D1; }
}

@media (min-width: 768px) {
 .fl-page-bar-nav > li > ul.sub-menu li a {
    display: block;
    padding: 7px 0;
 }
}

@media (max-width: 800px) {
	#menu-main-top-menu { display: none; }
	.home-contact-right .fl-module-content { border: 0; }
}

@media (max-width: 768px) {
	.fl-page-bar-container .text-left, .fl-page-bar-container .text-right { width: 100%; }
	#menu-main-top-menu .menu-item { display: block; }
	.fl-page-header-primary .fl-logo-img { max-width: 100%; }
	.home-contact-row .fl-row-content-wrap .fl-row-content, .home-contact-row .fl-row-content-wrap { border: none; }
	.home-contact-right h4 { font-size: 14px; }
	.footer-social .social-item { margin: 0px 20px; }
	.fl-row-bg-photo .fl-row-content-wrap { background-image: none; } 
	.fl-builder-content .fl-module-content-slider .fl-slide .fl-slide-content { padding: 0; }
	.text-right { padding: 15px 0; }
}

@media (max-width: 480px) {
	.contact-page-details h4 { font-size: 15px; }
}

@media (min-width: 400px)  and (max-width: 550px) {
	.page-id-72 .fl-rich-text img { width: 100%; }
}