/* Custom Styles Start */

/* Utility Header Google Translate */
.skiptranslate.goog-te-gadget { color: #21548e!important; }

/* External Link Icons */
.external-link-icon::after { margin-left: 5px; }

/* Social Media Follow Icons */
.et_pb_social_media_follow li a { text-decoration: none!important; }
.et_pb_social_network_link span.external-link-icon { display: none; }

/* Responsive Facebook Live Videos */
.facebook-live-video { overflow:hidden; padding-bottom:90%; position:relative; height:0; }
.facebook-post { overflow:hidden; padding-bottom:calc(100% + 200px); position:relative; height:0; }
.facebook-live-video iframe, .facebook-post iframe { left:0; top:0; height:100%; width:100%; position:absolute; }

/* Gallery Module - Portrait orientation fix */
.et_pb_gallery_image.portrait {aspect-ratio: 400 / 516; overflow: hidden; display: flex; justify-content: center;}
.et_pb_gallery_grid .et_pb_gallery_item .et_pb_gallery_image.portrait img {width: auto; max-width: unset; height: 100%;}

/* Equalize aspect ratio for two column blurb images */
.two-column-image-align .et_pb_main_blurb_image img {aspect-ratio: 541/340; object-fit: cover;}
.three-column-image-align .et_pb_main_blurb_image img {aspect-ratio: 6/5; object-fit: cover; object-position: top;}

/* Square images */
.square-image img {aspect-ratio: 1/1; object-fit: cover; width: 100%!important;}
.obj-position-right img {object-position: right;}
.obj-position-left img {object-position: left;}
.obj-position-top img {object-position: top;}
.obj-position-bottom img {object-position: bottom;}

/* Adjust table color */
.entry-content table { background: #f1f8fb !important; border-radius: 10px !important; border: 0px solid #eee; }
.entry-content tr th { background: #066b99 !important; color: white; text-align: center; border-bottom: 5px solid #034e70; }

/* Fix background shap mask not displaying in Firefox */
.et_pb_section.section_has_divider.et_pb_top_divider .et_pb_top_inside_divider { background-image: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMHB4IiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMHB4Ij48ZyBmaWxsPSIjZmZmZmZmIj48cGF0aCBkPSJNMCAwdjEwMGMyMCAxNy4zIDQwIDI5LjUxIDgwIDI5LjUxIDUxLjc5IDAgNzQuNjktNDguNTcgMTUxLjc1LTQ4LjU3IDczLjcyIDAgOTEgNTQuODggMTkxLjU2IDU0Ljg4QzU0My45NSAxMzUuOCA1NTQgMTQgNjY1LjY5IDE0YzEwOS40NiAwIDk4Ljg1IDg3IDE4OC4yIDg3IDcwLjM3IDAgNjkuODEtMzMuNzMgMTE1LjYtMzMuNzMgNTUuODUgMCA2MiAzOS42MiAxMTUuNiAzOS42MiA1OC4wOCAwIDU3LjUyLTQ2LjU5IDExNS00Ni41OSAzOS44IDAgNjAgMjIuNDggNzkuODkgMzkuNjlWMHoiLz48L2c+PC9zdmc+)!important; }

/* Turn off shape mask background color on mobile */
@media (max-width: 980px){
  .et_pb_section_0.et_pb_section.et_pb_with_background { background: #fff!important; }
}

/* Fix z-index for events calendar */
.tribe-events .tribe-events-header { z-index: auto!important; }

/* Custom Styles End */
