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

/* =================================================*/
/*                      ADMIN                       */
/* =================================================*/                                             
                                             
.fl-responsive-preview-content .call-us-button { /* removes Call-us-button from display when testing */
	display: none !important; 
}

body .fl-builder-bar .fl-builder-bar-content { /* Change the main BB header to another colour */
	background-color: #f3db83 !important;
}

.uabb-creative-menu .uabb-off-canvas-menu.uabb-menu-left { /* Removes off-canvas menu for desktop - quick slide on desktops?? */
	display:none;
}

/* =================================================*/
/*   SINGLE POSTS - FULL WIDTH WITH BEAVER BUILDER  */
/* =================================================*/  
.single-post.fl-builder .fl-page-content .container{max-width:100%;width:100%;padding-left:0;padding-right:0;}
.single-post.fl-builder .fl-page-content .row{margin-left:0;margin-right:0;}
.single-post.fl-builder .fl-page-content .fl-content{padding-left:0;padding-right:0;margin:0;}

.single-post.fl-builder .fl-page-content .fl-post-header { /* removes Post title / header */
    display: none;
}

/* =================================================*/
/*        UNIQUE TO THIS WEBSITE                    */
/* =================================================*/ 




/* =================================================*/
/*        COMMON CSS Available for all websites     */
/* =================================================*/ 
hr {
	border-top: 1px solid #ccc;
}

blockquote {
	font-family:Georgia, "Times New Roman", Times, serif;
	position: relative;
	margin-top: 1.5em !important;
	margin-right: 0 !important;
	margin-bottom: 20px !important;
	margin-left: 0!important;
	padding-top: 0!important;
	padding-right: 70px!important;
	padding-bottom: 0px!important;
	padding-left: 70px!important;
	border:0;
	font-style:italic;
	color:#666;
	border-left:none !important;
}
blockquote:before
 {
	color: #666;
	content: "\201C";
	font-size: 6em;
	position: absolute;
	left: 5px;
	top: 0.3em;
	line-height: 0.1em;
}

blockquote:after
 {
   color: #666;
  content: "\201D";
  font-size: 6em;
  position:absolute;
  right:25px;
  bottom: -10px;
  line-height: 0.1em;
}

/*------- Makes a photo module full width and resizeable ------------- */
.full-width-photo .fl-photo .fl-photo-content, 
.full-width-photo .fl-photo .fl-photo-content img {
  width: 100%;
}
/*==================*/
/*     HEADER       */
/*==================*/
.header {
	position: relative;
	z-index: 99998;
}

/* Format Phone Number */
.fl-page-header-text {
	font-size:20px;
	font-weight:bold;
	padding-right: 15px;
}
/* add space for phone / menu */
.fl-page-nav .navbar-nav li > a {
	padding-top:30px;
}

.fb-phone {
	text-align: right;
}

.fb-phone img {
	margin-top: -10px;
	margin-right: 15px;
}

/* =================================================*/
/*                      MENU                       */
/* =================================================*/ 

/*---------------------------------------------------*/
/* Menu Red Underline */
.uabb-creative-menu .menu-item a span::after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s, -moz-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    transform: translateY(10px);
    pointer-events: none;
}

.uabb-creative-menu .menu-item a:hover span::after {
     opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
	color: #f00;
}

.uabb-creative-menu .menu-item a:hover span::after {
/* ------------ CHANGE MENU BORDER COLOUR ---------------- */
    background: #000000;
    height: 2px;
	/* display: none; Remove underline on hover */
}

/* Removes underline animation for submenus */
.uabb-creative-menu .menu-item .sub-menu>li a:hover span::after {
   background: transparent;
   height: 2px;
}

/*---------------------------------------------------*/

/* ----- Ultimate blog posts and default post formatiing -----*/
.uabb-blog-posts-shadow{
	border: thin;	
	border-style: solid;
	border-color: #ccc;
	margin-top: 10px;
}

.uabb-blog-posts-shadow:hover {
	box-shadow: 0px 0px 20px -2px rgba(0,0,0,0.5);
}

.fl-post-thumb { /* centers featured image in posts and adds top margin */
	text-align: center;
	margin-top: 25px;	
}
/* ----- Ultimate Photo Gallery - move CLOSE cross -----*/
button.mfp-close {
	margin-top: 100px !important;
	position: relative;
	z-index: 99999; /* So close button appears above header */
}

.mfp-close {
	font-size: 50px;
}
/* ----- Basic Slider using Content slider as per hints -----*/

.fl-content-slider .fl-slide-foreground {
    max-width: 100%;
}
.fl-slide-foreground .fl-slide-photo-img {
    width: 100%;
}

/* ----- Contact Form Dropdown select font colour -----*/
.fl-node-5bfb5a3157d19 .uabb-cf7-style select {
	color:#272C30 !important;
}


/*==================*/
/*     FOOTER       */
/*==================*/


/*--------------------------------------------------------------- */
/*           _____    _                                            
/*          |  __ \  | |                                           
/*  ______  | |__) | | |__     ___    _ __     ___   ___    ______ 
/* |______| |  ___/  | '_ \   / _ \  | '_ \   / _ \ / __|  |______|
/*          | |      | | | | | (_) | | | | | |  __/ \__ \          
/*          |_|      |_| |_|  \___/  |_| |_|  \___| |___/          
/*                                                                 
/*--------------------------------------------------------------- */
@media screen and (max-width: 992px) {
	
	.fl-col-small { /* Change all modules to 100% width and column gap on small devices */
		max-width: none;
		margin-bottom: 5px;
	}
	
	.header .tag-line p, .header .phone p { /* Centers Tag line */
		text-align: center !important;
	}
	
	/*-------- Mobile menu and Call Us button  ------------- */
	.uabb-creative-menu .uabb-off-canvas-menu.uabb-menu-left { /* Displays off-canvas menu - reverses dispay: none for desktops */
		display:block;
	}
	
	.fl-page { /* Adds space for MENU / CALL US row */
		padding-top: 50px;
	}
	
    .call-us-button {
        z-index: 99999;
        position: fixed;
		height: 50px;
        top: 0;
		right: 0;
        width: 50%;
		/* margin-top: 50px; So I can adjust in admin */
    }
	
	.call-us-button .fl-module-content {
		margin: 0px !important;
	}
	
	.mobile-menu {
		z-index: 99999;
		position: fixed;
		top: 0;
		left: 0;
		width: 50%;
	/* margin-top: 50px; So I can adjust in admin */
    }
	
	.uabb-creative-menu-mobile-toggle { /* Change background of MENU button on mobiles */
		background-color: #232323!important;
		width: 100%;
		height: 49px;
	}
	
	.mobile-menu .fl-module-content {
		margin: 0px !important;
	}
	
	.uabb-creative-menu.off-canvas .sub-menu li { /* Removes separtor line under each menu option on sub-menus */
    	border-bottom-style: none !important;
}
/*-----------------------------------------------------------*/
	
	.uabb-creative-menu .menu-item a:hover span::after { /* removes red underline on mobiles */
		display: none;
	}
	
	.uabb-creative-menu .uabb-off-canvas-menu.uabb-menu-left { /* Makes sure off-canvas is the correct opacity */
		background-color: rgba(15,15,15,0.90) !important;
	}
/*------------------------------------------------------ */
	
	.fl-slide-content-wrap { /* Basic slider using content slider for mobiles */
        display: none;
    }

} /* Finish Media Screen 992 */

/*------------------------------------------------------- */
/*          _____   _____               _____           
/*          |_   _| |  __ \      /\     |  __ \          
/*  ______    | |   | |__) |    /  \    | |  | |  ______ 
/* |______|   | |   |  ___/    / /\ \   | |  | | |______| Landscape + Small Screens between 992px - 1198px
/*           _| |_  | |       / ____ \  | |__| |         
/*          |_____| |_|      /_/    \_\ |_____/          
/*                                                       
/*-------------------------------------------------------- */
@media only screen and (max-width: 1198px) and (min-width: 992px){ /* Mainly Ipads */

	.fb-phone span {
		font-size: 18px !important;
	}
	
}

