Custom CSS Code:
.content-middle .service-links .links li
{width: 100px; vertical-align: bottom;}
.content-middle .service-links .links .service-links-facebook-like
{margin-top: 1px;}
.content-middle .service-links .links .service-links-twitter-widget
{margin-top: 2px;}
.content-middle .service-links .links .service-links-linkedin-share-button
{margin-top: 2px;}
.blog-featured-image {
max-width: 500px;
max-height: 200px;
}
.honeypot-textfield
{
display: none;
}
.page-videos #block-nodeblock-100497 {
background-image: url(/sites/default/files/users/brookhavenwealthmanagement/Videos%20Page%20101%20image.jpg) !important;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
height: 400px;
}
.section-videos div.media_embed iframe {
width: 80% !important;
height:80% !important;
}
#block-nodeblock-270324 {
margin:90px !important;
margin-top: 0px !important;
}
.pfp-widget.pfp-iframe > iframe {
border: none;
background: none;
height: 400px;
}
.pfp {
width: 30%;
margin-left: 35%;
}
.top-strip {
background-color:#ffffff;
}
#block-aw_custom-0 .navbar {
border-color: #ffffff !important;
}
@media only screen and (max-width: 768px) {
.pfp {
width: 100%;
margin-left: 0%; }
}
.srvctitle {
font-weight: 400;
font-size: 41px;
margin-bottom: -40px;
color: #25292c;
margin-top: -15px;
}
.bg.section-cta-wrapper {
margin-bottom: 0px;
}
#text-carousel .carousel-content h4 {
font-size: 18px;
}
.button.secondary, .button.primary {
font-size: 13px;
}
.extraspc {
margin-bottom: 50px;
}
.pfp {
margin-bottom: 20px;
}
#block-nodeblock-270324 {
margin-bottom: 0px !important;
}
#block-nodeblock-197483 {
padding-top: 0px !important;
padding-bottom: 50px !important;
}
.section-title .title, .section-title h2 {
text-transform: capitalize;
}
#block-nodeblock-126644 {
padding-bottom: 0px;
}
a.button.secondary {
margin-top: -80px;
}
div.media_embed {
padding-bottom: 59%;
}
.ie .powr-multi-slider {
margin-top: 50px;
}
.honeypot-textfield {
display:none !important;
}
.g-recaptcha {
transform:scale(0.80);
-webkit-transform:scale(0.80);
transform-origin:0 0;
-webkit-transform-origin:0 0;
}
.powr-multi-slider {
margin-top: 75px;
}
.footer-group {
background-image: url(/sites/default/files/users/brookhavenwealthmanagement/images/brook-map8.jpg) !important;
}
img.blog-featured-image {
display: block;
margin: auto;
}
#250894977339073_1743693008180 {
display: none;
}
Custom Script Code:
<meta name="google-site-verification" content="tFNwKWpnKe8jUDfUkHKQ0HkMOYS7fxrCcHh6yHsr7zI" />
<!--Custom Broker Check Script -->
<script>
$(document).ready(function() {
// Add BrokerCheck badge
$("body").append("<div class='custom-brokercheck'><a target='_blank' href='http://brokercheck.finra.org/'><img src='/sites/default/files/users/brookhavenwealthmanagement/images/BC_badge_color_small.png'></a></div>");
// Detect IE 9 or 11
if (/MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent)) {
$("body").addClass("ie");
}
// Detect Edge
if (/Edge\/\d./i.test(navigator.userAgent)) {
$("body").addClass("ie");
}
});
</script>
<!-- END Broker Script -->
<script>
$(document).ready(function(){
$('.carousel').carousel({
slideSpeed: 3000
})
$(".view-ind-team-member .views-row-1 a").attr("href", "/our-founder");
// check admin block and apply settings
// important for responsive sites use this class .page-admin-build-block-list-aw-responsive
if($('.page-admin-build-block').length > 0){
console.log('admin block page');
}else{
console.log('not admin block page');
// style all register logos
$('body :not(script,sup)').contents().filter(function() {
return this.nodeType === 3;
}).replaceWith(function() {
return this.nodeValue.replace(/[™®©]/g, '<sup>$&</sup>');
});
}
var iOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);
var isAndroid = /(android)/i.test(navigator.userAgent);
if (iOS || isAndroid) {
$(".homepage-video").addClass("no-video");
}
// the rest is for the video background
scaleVideoContainer();
// initBannerVideoSize('.video-container .poster img');
initBannerVideoSize('.video-container .filter');
initBannerVideoSize('.video-container video');
$(window).on('resize', function() {
scaleVideoContainer();
// scaleBannerVideoSize('.video-container .poster img');
scaleBannerVideoSize('.video-container .filter');
scaleBannerVideoSize('.video-container video');
});
});
function scaleVideoContainer() {
var height = $(window).height();
var unitHeight = parseInt(height) + 'px';
if ($(".homepage-video").hasClass("no-video")){
$('.homepage-video').css('height', "auto");
}
else{
$('.homepage-video').css('height',unitHeight);
}
}
function initBannerVideoSize(element){
$(element).each(function(){
$(this).data('height', $(this).height());
$(this).data('width', $(this).width());
});
scaleBannerVideoSize(element);
}
function scaleBannerVideoSize(element){
var windowWidth = $(window).width(),
windowHeight = $(window).height() + 5,
videoWidth,
videoHeight;
console.log(windowHeight);
$(element).each(function(){
var videoAspectRatio = $(this).data('height')/$(this).data('width');
$(this).width(windowWidth);
if(windowWidth < 1000){
videoHeight = windowHeight;
videoWidth = videoHeight / videoAspectRatio;
$(this).css({'margin-top' : 0, 'margin-left' : -(videoWidth - windowWidth) / 2 + 'px'});
$(this).width(videoWidth).height(videoHeight);
}
$('.homepage-video .video-container video').addClass('fadeIn animated');
});
};
</script>
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '752686838496998');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=752686838496998&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
<script>
const interval = setInterval(function () {
const iframe = document.getElementById("250894977339073_1743724784236");
if (iframe) {
iframe.remove();
clearInterval(interval); // stop checking once it's removed
}
}, 300); // check every 300ms
</script>
Custom Powered By AW Button:
White
