/*
Theme Name: Beactivehs Child
Template: beactivehs
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* All theme styles you will find in LESS files. Please check 'less' directory. */
/* Fix mobile header */
@media only screen and (max-width: 991px){
	#pe-main-menu #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block {
		background: transparent !important;
		color: #292562 !important;
	}
	#mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block:focus {
     	outline: none !important;
	}
	#pe-bar-in #pe-bar-left {
		position: relative;
		z-index: 999;
		padding-top: 36px;
	}
}
@media only screen and (max-width: 354px){
	#pe-logo img{
		width: 220px !important;
	}
}

/* Start WCAG top bar colouring*/
#pe-wcag .pe-wcag-settings li a {
    color: #444444 !important;
}
#pe-wcag .pe-wcag-settings li a:hover,
#pe-wcag .pe-wcag-settings li a:focus {
	color:white !important;
	background:#444444 !important;
}
#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast {
    background: #000 !important;
    color: #fff !important;
}

#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast:hover,
#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast:focus {
	background:#fff !important;
	color:#000 !important;
}
#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast2 {
	background:#000 !important;
	color:#ff0 !important;
}

#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast2:hover,
#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast2:focus {
background:#ff0;color:#000}#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast3 {
	background:#ff0 !important;
	color:#000 !important;
}
#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast3:hover,
#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast3:focus {
	background:#000 !important;
	color:#ff0 !important;
}
#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast2 {
	background:#000 !important;
	color:#ff0 !important;
}
#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast2:hover,
#pe-wcag .pe-wcag-settings .contrast .pe-highcontrast2:focus {
	background:#ff0 !important;
	color:#000 !important;
}
/* End WCAG top bar colouring*/

/* Start Mega Menu changes */
#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-flyout ul.mega-sub-menu {
    width: 300px;
}
/* End Mega Menu changes */

#pe-footer-mod {
    text-align: right !important;
}

/* Callouts */
.callouts {
  display: inline-block;
  /* Real styles */
  position: relative;
	width: auto;
	height: auto;
  padding: 15px;
	background-color: #fff;
  border: 1px solid #c1c1c1;
	border-radius: 4px;
	box-shadow: 0 0 10px #c1c1c1;
}
/* Callouts bottom */
.callouts--bottom:before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	right: 23px;
	bottom: -42px;
  border: 10px solid transparent;
  border-top: 32px solid rgb(193,193,193); /* IE8 Fallback */
  border-top: 32px solid rgba(193,193,193,0.5);
  z-index: 2;
}
.callouts--bottom:after {
  content: "";
	position: absolute;
	width: 0;
	height: 0;
	right: 25px;
	bottom: -31px;
  border: 8px solid transparent;
  border-top: 24px solid #fff;
  z-index: 3;
}

div.front-latest-awards.wpb_column.vc_column_container.vc_col-sm-4 > div > div {
	border-left: thin double #DCDCDC;
    border-left-width: 3px;
    padding-left: 30px;
}

.home .vc_separator .vc_sep_holder {
    border-top: 2px double #DCDCDC;
}

/* Front page thank you for your feedback */
.vc_general.vc_pagination .vc_pagination-item {
    float: right;
}
.wpb-js-composer .vc_tta-tabs.vc_tta-has-pagination.vc_tta-tabs-position-bottom {
    padding-top: 0px !important;
    margin-top: -20px !important;
}
.wpb-js-composer .vc_tta-tabs.vc_tta-has-pagination .vc_pagination {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

/*Front page email sign up */
.home input[type="text"] {
	width: 240px;
	padding: 5px;
}
.home input[type="submit"] {
	width: 240px;
	padding: 5px;
}

/* Start front page Post Slider */
.custom-front-post-slider .flexslider .slides img {
    width: auto;
	float: left;
}
.custom-front-post-slider .flexslider {
    background: none;
    border: none;
    -o-box-shadow: none;
    box-shadow: none;
	
}
.custom-front-post-slider .flex-caption {
    background-color: transparent !important;
	margin-left: 200px;
}
.custom-front-post-slider li.flex-active-slide > div {
	padding-top: 0;
    margin-top: -24px;
}
.custom-front-post-slider li > div {
	padding-top: 0;
    margin-top: -24px;
}
/* End front page Post Slider */

h1, h2, h3, h4, h5, h6 {
	font-family: Montserrat, Arial, sans-serif !important;
}

/* Start custom classes */
.front-3col-heading a {
	font-weight: bold;
}
.front-3col-heading {
	margin-top: 0px;
}
.front-arrow-heading {
	color: #e07e27;
    text-align: left;
    font-family: Abril Fatface;
    font-weight: 400;
    font-style: normal;
    font-size: smaller;
}
.front-arrow-heading a:hover {
	text-decoration: none;
}
.front-rectangle-button {
	text-align: center;
	background-color: #E07E27;
	padding: 20px;
}
.front-rectangle-button > img {
	height: 50px;
}
.front-rectangle-button-heading {
	color: white;
	text-decoration: none;
	text-transform: uppercase;
}
.front-rectangle-button-heading a {
	color: white;
	text-decoration: none;
}
.front-testimonials-link-under {
	color: #444444;
}
.front-testimonials-link-under a {
	text-decoration: none;
}
/* End custom classes */



/* Top Bar */
#pe-top-bar {
    background: white;
}
#custom-top-bar-make-a-referral-button {
	background-color: #3a4a54 !important;
	color: white;
	text-transform: uppercase;
	padding: 4px;
	margin-left: 25px;
}
#custom-top-bar-make-a-referral-button > img {
	height: 15px;
}

/* Top Bar Under */
#pe-top-bar-under {
	background-color: #3d404e;
	padding-bottom:10px;
	padding-top:10px;
}
#pe-top-bar-under-holder {
	float: right;
}
#pe-top-bar-under-holder a {
	text-decoration: none;
}


/* Jeremy Start Peoplestreme CSS */

td.ps_highlight > a  {
  	line-height: 140% !important;
}

td.ps_highlight a{
        font-weight: bold;
        /* color: #72aeb7; */
}

#peoplestreme_iFrame_div {
    width: 100%;
    height: 2800px;
    overflow : hidden;
    position : relative;
}

#peoplestreme_iFrame {
    position : absolute;
    /*top: -202px;*/
  	/*top: -182px;*/
    width: 100%;
    height: 2800px;
}
/* Jeremy End Peoplestreme CSS */



/* only above 812px */
@media only screen and (min-device-width: 812px) { 

	.flexslider .slides img {
    	height: 135px;
	}
	#storelocator-nearby {
		visibility: hidden;
		margin-left: -100px;
	}
}


/* only under 812px */
@media only screen and (max-device-width: 812px) { 

	.wpb_posts_slider .flex-caption, .wpb_posts_slider .nivo-caption {
    	display: inline;
	}
	
	#custom-top-bar-make-a-referral-button {
		display: block;
	}



}

#sendpress-content sendpress-content type-page status-publish hentry entry h1 {
	padding-left: 30px;
}

#pe-bar-left {
	padding: 30px 0;
}

/* Styling to fix ul list style icons on word wrap */

#pe-maincontent ul:not([class]) li:before, #pe-maincontent ul.pe-dark li:before, #pe-maincontent ul.pe-light li:before {
    position: absolute;
    top: 5px;
    left: 0;
}

#pe-maincontent ul:not([class]) li, #pe-maincontent ul.pe-dark li, #pe-maincontent ul.pe-light li {
	padding-left: 20px;
}

/* END */

.services-anchor {
	position: relative;
	display:block;
	visibility: hidden;
	top: -300px;
}