/* utility */
.iframeWrapper {
position:relative;
padding-bottom: 56.25%;
padding-top: 35px;
height: 0;
overflow: hidden;
}
.iframeWrapper iframe {
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
}
.align-center {
text-align: center;
}
/* banner */
.view-mode-slider:before {
background: rgba(0, 0, 0, 0.33);
top: 0;
bottom: 0;
left: 0;
right: 0;
display: block;
content: '';
position: absolute;
width: 100%;
}
[data-block-internal-id="core_slider_fullscreen_motion"] .fullscreen-image-slider .orbit__bullets {
display: none;
}
@media print, screen and (min-width: 64em) {
[data-block-internal-id="core_slider_fullscreen_motion"] .fullscreen-image-slider .orbit__caption, [data-block-internal-id="core_slider_fullscreen_motion"] .half-screen-image-slider .orbit__caption {
width: 80%;
}
}
@media screen and (min-width: 40em) {
.block--logo .image__field--type-image img {
max-height: 85px;
padding: 0;
}
}
@media screen and (max-width: 39.938em) {
.block--logo .image__field--type-image img {
max-height: 70px;
}
}
.embedded-entity.align-left,
.embedded-entity.align-right{
flex: none;
float: none;
}
@media (min-width: 641px){
.embedded-entity.align-left{
float: left;
margin-right: 15px;
margin-bottom: 0;
}
.embedded-entity.align-right{
float: right;
margin-left: 15px;
margin-bottom: 0;
}
}
.card {
box-shadow: none;
flex-grow: unset;
}
/* team cards padding adjustment */
.team-member .card-divider {
padding-bottom: 0;
}
.team-member .card-section {
padding-top: 0;
}
@media (max-width: 1023px) {
#block-customheadertoplinks {
display: none;
}
.navbar-menu-block .vertical-align-flex-column.grid-y {
height: auto;
}
}
/*======================
NAVIGATION
=======================*/
/* submenu */
[data-block-internal-id="aw_core_visitormainmenu"] .is-dropdown-submenu {
border: none !important;
}
@media screen and (min-width: 64em){
[data-block-internal-id="aw_core_visitormainmenu"] .menu-item.is-dropdown-submenu-item > a {
white-space: nowrap;
color: black;
}
}
[data-block-internal-id="aw_core_visitormainmenu"] .menu.is-dropdown-submenu .menu-item > a.is-active,
[data-block-internal-id="aw_core_visitormainmenu"] .menu.is-dropdown-submenu .menu-item > a:hover {
background: #eee;
}
.sticky.is-stuck {
box-shadow: 0 2px 20px 0 rgba(161,170,183,.5);
}
[data-block-internal-id="core_slider_regular"] .page-top__static-caption h1 {
font-size: 1.75rem;
}
@media screen and (max-width: 640px) {
[data-block-internal-id="core_slider_regular"] h1,
[data-block-internal-id="core_slider_regular"] .page-top__static-caption h1 {
text-transform: none;
font-size: 1.5rem;
}
}
@media screen and (max-width: 500px) {
[data-block-internal-id="core_slider_regular"] .page-top__static-caption h1 {
text-overflow: unset;
overflow: visible;
white-space: normal;
font-size: 1.35rem;
text-transform: none!important;
}
}
@media (min-width: 768px) {
.blog--full .field--name-field-featured-image {
float: right;
width: 500px;
margin-left: 15px;
}
}
[data-block-internal-id="cta_3"] .block__content {
padding: 2rem 0;
}
.block-title {
font-size: 3rem!important;
color: black;
letter-spacing: 2px;
text-transform: none;
}
/* services block */
.products-services i {
font-size: 3rem;
margin-bottom: 12px;
display: block;
}
.products-services .media-object-section {
padding: 0!important;
margin: 0 0 3rem 0;
}
@media (max-width: 767px) {
#block-blog-01 h3 {
font-size: 1.35rem;
}
}
/* blog block */
.blog--imgtop-title-within .card-relative > .title-author-container {
position: relative;
width: 100%;
}
.blog.card {
box-shadow: none;
}
.blog--imgtop-title-within .card-relative > .title-author-container,
.blog--imgtop-title-within .card-section {
padding-left: 0;
padding-right: 0;
}
.blog--imgtop-title-within .card-relative > .title-author-container {
padding-bottom: 0;
}
/* INSIDE PAGE */
.not-front .products-services i {
text-align: left;
line-height: 1.3;
border-bottom: 2px solid;
}
/* team */
.team-member--imgside-full .main-section .field--name-field-biography p {
margin-top: 0;
}
.team-member--imgside-full .full-wrapper .main-section {
text-align: left;
}
/* footer */
#block-customfootergrid .block--request-a-meeting .block__content {
padding-top: 0!important;
}
[data-block-internal-id="footer"] h3 {
font-size: 2rem;
text-transform: none;
}
[data-block-internal-id="footer_motion"] {
background: url(https://integrityprivatewealthadvisors2.us1.advisor.ws/files/jomar-597917-unsplash_1.jpg)!important;
background-size: cover!important;
background-position: center!important;
position: relative;
}
[data-block-internal-id="footer_motion"]:before {
background: rgba(0, 0, 0, 0.5);
top: 0;
bottom: 0;
left: 0;
right: 0;
display: block;
content: '';
position: absolute;
width: 100%;
}
[data-block-internal-id="footer_motion"] .block__content {
position: relative;
background: transparent;
}
footer [type='text'], footer [type='password'], footer [type='date'], footer [type='datetime'], footer [type='datetime-local'], footer [type='month'], footer [type='week'], footer [type='email'], footer [type='number'], footer [type='search'], footer [type='tel'], footer [type='time'], footer [type='url'], footer [type='color'], footer textarea {
background-color: rgba(254, 254, 254, 0.6);
border: 1px solid transparent;
box-shadow: none;
font-size: 1rem;
font-weight: 300;
}
[data-block-internal-id="footer_motion"] .captcha {
opacity: 0.75;
}
.contact-message-contact-form .button {
border-color: white!important;
color: white!important;
}
.contact-info-container .field--name-field-company-phone,
.contact-info-container .field--name-field-company-email {
margin-bottom: 10px;
}
.social-media-icon {
font-size: 1.8em;
}
.not-front [data-block-internal-id="footer_motion"] {
margin-top: 3rem;
}
/* fix mobile header */
@media (max-width: 767px) {
.sticky.is-anchored {
position: static!important;
top: 0!important;
}
.fullscreen-image-slider .orbit__previous,
.fullscreen-image-slider .orbit__next,
.fullscreen-image-slider .orbit__bullets {
display: none;
}
}
/* fix card flex bug */
.ie .card {
display: block !important;
}
@media screen and (max-width: 500px) {
[data-block-internal-id="core_slider_regular"] .page-top__static-caption h1 {
text-overflow: unset;
overflow: visible;
white-space: normal;
font-size: 1.35rem;
text-transform: none!important;
}
}
.google-map-container {
padding: 0.5rem 0 3rem 0;
}
.page--page-title--contact .google-map-caption * {
text-align: center;
}
@media (max-width: 1023px) {
[data-block-internal-id="aw_core_visitormainmenu"] .menu .menu-item > a.is-active, [data-block-internal-id="aw_core_visitormainmenu"] .menu .is-submenu-parent-item > a.is-active {
color: white;
}
}
@media (max-width: 640px) {
.google-map-caption {
height: auto;
padding: 0 0 2rem 0;
}
.google-map-wrapper {
width: 100%;
min-height: 300px;
}
.not-front .aw-content .grid-container {
padding-left: 0;
padding-right: 0;
}
}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.css">
<script>
jQuery(".logo-section").removeClass("large-2").addClass("large-4");
jQuery('.navbar-menu-block .grid-y .cell').removeClass('show-for-medium');
//change services icons
jQuery("#block-products-services-motion .grid-x article:first-of-type .thumbnail").empty().append('<i class="icon-briefcase"></i>');
jQuery("#block-products-services-motion .grid-x article:nth-of-type(2) .thumbnail").empty().append('<i class="icon-people"></i>');
jQuery("#block-products-services-motion .grid-x article:nth-of-type(3) .thumbnail").empty().append('<i class="icon-umbrella"></i>');
//footer blocks order - address/contact-info/form
jQuery("[data-block-internal-id='footer_motion'] .grid-x").removeClass("align-stretch large-up-3");
jQuery("[data-block-internal-id='footer_motion'] section:first-of-type, [data-block-internal-id='footer_motion'] section:nth-of-type(2)").addClass("medium-6 large-3");
jQuery("[data-block-internal-id='footer_motion'] section:nth-of-type(3)").addClass("large-6");
// minimise textarea
jQuery( 'textarea' ).attr('rows','3');
// change order of contact form
var message = jQuery("#edit-message-wrapper");
message.next().insertBefore(message);
var subject = jQuery("#edit-subject-wrapper");
subject.next().insertBefore(subject);
message.next().insertBefore(message);
subject.next().insertBefore(subject);
// hide captcha unless someone clicks on form
jQuery( "footer form .g-recaptcha" ).hide();
jQuery( "footer form input, footer form textarea" ).click(function() {
jQuery( "footer form .g-recaptcha" ).fadeIn();
});
//smooth scroll
jQuery(function() {
var height = jQuery(".sticky-container").outerHeight();
jQuery('a[href*="#"]:not([href="#"])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = jQuery(this.hash);
target = target.length ? target : jQuery('[name=' + this.hash.slice(1) +']');
if (target.length) {
jQuery('html, body').animate({
scrollTop: target.offset().top - height
}, 1000);
return false;
}
}
});
if(window.location.hash) {
// smooth scroll to the anchor id
jQuery('html, body').animate({
scrollTop: jQuery(window.location.hash).offset().top - height
}, 1000);
}
});
//container
jQuery( "#block-aw-core-visitormainmenu .link--container > a:first-of-type" ).click(function() {
event.preventDefault();
});
</script>