/*
Theme Name: Aspira Theme
Theme URI: https://3moons.io/
Version: 1.0
Description: This is a customized theme that styles your website.
Author: Polus Digital
Author URI: https://polusdigital.com/
template: bb-theme
*/

.qtip {
    max-width: 280px;
    min-width: 50px;
    font-size: 13px !important;
    line-height: 18px;
    border-color: #0b6471 !important;
}
.qtip-content {
    background-color: #0b6471 !important;
    padding: 8px 10px !important;
}


/* Add your custom styles here... */

/*@font-face {
    font-family: 'Ravensara Serif';
    src: url('fonts/RavensaraSerifMedium.eot');
    src: url('fonts/RavensaraSerifMedium.eot?#iefix') format('embedded-opentype'),
        url('fonts/RavensaraSerifMedium.woff2') format('woff2'),
        url('fonts/RavensaraSerifMedium.woff') format('woff'),
        url('fonts/RavensaraSerifMedium.ttf') format('truetype'),
        url('fonts/RavensaraSerifMedium.svg#RavensaraSerifMedium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ravensara Serif';
    font-weight: 500;
    font-style: normal;
}*/
@font-face {
    font-family: 'Avenir LT Std';
    src: url('fonts/AvenirLTStd-Black.eot');
    src: url('fonts/AvenirLTStd-Black.eot?#iefix') format('embedded-opentype'),
        url('fonts/AvenirLTStd-Black.woff2') format('woff2'),
        url('fonts/AvenirLTStd-Black.woff') format('woff'),
        url('fonts/AvenirLTStd-Black.ttf') format('truetype'),
        url('fonts/AvenirLTStd-Black.svg#AvenirLTStd-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('fonts/AvenirLTStd-Roman.eot');
    src: url('fonts/AvenirLTStd-Roman.eot?#iefix') format('embedded-opentype'),
        url('fonts/AvenirLTStd-Roman.woff2') format('woff2'),
        url('fonts/AvenirLTStd-Roman.woff') format('woff'),
        url('fonts/AvenirLTStd-Roman.ttf') format('truetype'),
        url('fonts/AvenirLTStd-Roman.svg#AvenirLTStd-Roman') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('fonts/AvenirLTStd-Book.eot');
    src: url('fonts/AvenirLTStd-Book.eot?#iefix') format('embedded-opentype'),
        url('fonts/AvenirLTStd-Book.woff2') format('woff2'),
        url('fonts/AvenirLTStd-Book.woff') format('woff'),
        url('fonts/AvenirLTStd-Book.ttf') format('truetype'),
        url('fonts/AvenirLTStd-Book.svg#AvenirLTStd-Book') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Avenir LT Std';
    font-weight: 900;
    font-style: normal;
}
strong, b {
    font-family: 'Avenir LT Std';
    font-weight: 700;
    font-style: normal;
}
p, .fl-button-text, .fl-rich-text * {
    font-family: 'Avenir LT Std' !important;
    font-weight: 400;
    font-style: normal;
}


/* accessability css */
.fl-rich-text a {
  text-decoration: underline;
}
.fl-builder-content img {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.fl-builder-content a:hover img {
    opacity: 0.75;
}
/* helper classes */
.padding-large > .fl-row-content-wrap,
.padding-large .fl-callout-content {
  padding-top:  150px;
  padding-bottom: 150px;
}
.padding-medium > .fl-row-content-wrap,
.padding-medium .fl-callout-content {
  padding-top:  80px;
  padding-bottom: 80px;
}
.padding-small > .fl-row-content-wrap {
  padding-top:  40px;
  padding-bottom: 40px;
}

/* native full width video player */
.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
    width: 100% !important;
    height: 100% !important;
}
.mejs-container {
    padding-top: 56.25%;
}
.wp-video, video.wp-video-shortcode {
    max-width: 100% !important;
}
video.wp-video-shortcode {
    position: relative;
}
.mejs-mediaelement {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.mejs-controls {
    display: none;
}
.mejs-overlay-play {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto !important;
    height: auto !important;
}

/* fixing double buttons  */
.fl-node-78lu61pb9tow .uabb-horizontal .uabb-btn.uabb-btn-two {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}



/* flex children match height .give-children-equal-height */
/* put this class on the column   */
.fl-col-group-equal-height .give-children-equal-height .fl-col-content {
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}
.fl-col-group-equal-height .give-children-equal-height .fl-module-info-box {
    display: flex;
}
.fl-col-group-equal-height .give-children-equal-height .fl-module-info-box .fl-module-content {
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.fl-col-group-equal-height .give-children-equal-height .fl-module-info-box a {
    overflow-wrap: break-word;
    word-break: break-all;
}

@media only screen and (min-width: 768px) {
    .sticky {
        position: sticky; 
        position: -webkit-sticky; 
        top: 60px; 
    }
}


/* ==========================================================================
  Custom Global Styles
========================================================================== */
.fl-module-content #searchwp-form-2 .swp-input, 
.fl-module-content #searchwp-form-2 .swp-select,
.fl-module-content #searchwp-form-2 input[type=submit]{
    border-radius: 50px;
}
.fl-module-content #searchwp-form-2 .swp-input {
    border-color: #84c24a;
}


a,
header a *,
.woocommerce-page .woocommerce-MyAccount-navigation ul li a,
.woocommerce-page .woocommerce-MyAccount-navigation ul li a:after,
.fl-post-grid-image a:hover img,
footer a,
.mega-menu .uabb-info-list .uabb-info-list-wrapper li:hover .uabb-imgicon-wrap .uabb-icon i:before,
.mega-menu .uabb-info-list .uabb-info-list-wrapper li:hover .uabb-info-list-content .uabb-info-list-title,
body .fl-node-29pet0cz6nb5 .brex-mega-menu-desktop .brex-mega-menu > li > a {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}


 
/* mega menu */
.mega-menu .uabb-info-list .uabb-info-list-wrapper li:hover .uabb-imgicon-wrap .uabb-icon i:before,
.mega-menu .uabb-info-list .uabb-info-list-wrapper li:active  .uabb-imgicon-wrap .uabb-icon i:before,
.mega-menu .uabb-info-list .uabb-info-list-wrapper li:hover .uabb-info-list-content .uabb-info-list-title,
.mega-menu .uabb-info-list .uabb-info-list-wrapper li:active .uabb-info-list-content .uabb-info-list-title {
    color: #0b6471 !important;
}
header .brex-mega-menu>li.drop-down ul.drop-down-ul>li>a,
header .brex-mega-menu>li.drop-down ul.drop-down-ul>li {
	line-height: 1.2 !important;
}

/* Gravity Forms */
.with-background .gform_wrapper.gravity-theme .gfield_required,
.with-background .gform_wrapper.gravity-theme .gfield_error .gfield_repeater_cell label, 
.with-background .gform_wrapper.gravity-theme .gfield_error label, 
.with-background .gform_wrapper.gravity-theme .gfield_error legend, 
.with-background .gform_wrapper.gravity-theme .gfield_validation_message, 
.with-background .gform_wrapper.gravity-theme .validation_message, 
.with-background .gform_wrapper.gravity-theme [aria-invalid=true]+label, 
.with-background .gform_wrapper.gravity-theme label+[aria-invalid=true] {
    color: #ff9ab4 !important;
}
.with-background .gform_wrapper.gravity-theme .gfield_error [aria-invalid=true] {
    border: 1px solid #ff9ab4;
}
.gform_wrapper.gravity-theme .gform_footer input {
    border-radius: 50px;
    color: #fff;
    border-width: 0;
    padding: 10px 34px;
}
.gform-body legend {
    border-bottom-width: 0;
}
/* carousel */
.uabb-image-carousel .slick-track {
  display: flex;
  flex-wrap: wrap;
}
.uabb-image-carousel-item {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  align-self: center;
}


/* footer  */
@media only screen and (max-width: 767px) {
    footer .fl-search-form-fields {
/*        display: inline-flex;*/
        flex-wrap: wrap !important;
    }
    footer .fl-search-form-fields .fl-form-field,
    footer .fl-search-form-fields .fl-button-wrap {
        /*display: block;
        width: 100%;*/
        margin-top: 5px;
        width: 100%;
    }
    footer .fl-search-form-fields .fl-form-field {
        padding: 0;
    }
    footer .fl-search-form-fields .fl-button-wrap a {
        /*display: block;
        width: 100%;*/
        width: 100%;
    }
}


/* mega menu */
header .brex-mega-menu {
    flex-wrap: wrap;
}
.brex-mega-menu>li.drop-down ul.drop-down-ul>li {
    font-size: 16px;
}
.brex-mega-menu>li.drop-down ul.drop-down-ul {
    border-top: 3px solid #1cb5af;
    border-bottom: 3px solid #1cb5af;
    border-radius: 5px;
}
.brex-mega-menu>li.drop-down ul.drop-down-ul>li>a {
padding: 10px 20px;
}
/* little arrow connecting mega menu to trigger item */
ul.brex-mega-menu .mega-menu-saved-row-a,
ul.brex-mega-menu .drop-down > a {
    position:relative;
}
ul.brex-mega-menu .mega-menu-saved-row-a:hover:after,
ul.brex-mega-menu .mega-menu-saved-row-a:active:after,
ul.brex-mega-menu .drop-down > a:hover:after,
ul.brex-mega-menu .drop-down > a:active:after{
    content:"";
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #1cb5af;
    position:absolute; 
    left:40%; 
    bottom:-2px;
}
ul.brex-mega-menu .provider .mega-menu-saved-row-a:hover:after {
    border-bottom-color: #0b6471;
}

.background-hex-darkblue > .fl-row-content-wrap,
.background-hex-dark-blue > .fl-row-content-wrap {
    background-image: url(/wp-content/uploads/2024/06/awh-hexagon-pattern_layer-2_aqua_RGB.png);
    background-repeat: no-repeat;
    background-position: 20% 20%;
    background-attachment: scroll;
/*    background-size: contain;*/
    background-size: 130%;
}

.background-hex-lightblue > .fl-row-content-wrap,
.background-hex-light-blue > .fl-row-content-wrap {
    background-image: url(/wp-content/uploads/2024/06/awh-hexagon-pattern_layer-2_aqua_RGB.png);
    background-repeat: no-repeat;
    background-position: 20% 20%;
    background-attachment: scroll;
/*    background-size: contain;*/
    background-size: 120%;
}

.background-hex-white > .fl-row-content-wrap {
    background-image: url(/wp-content/uploads/2024/06/awh-hexagon-pattern_layer-2_white.png);
    background-repeat: no-repeat;
    background-position: 20% 20%;
    background-attachment: scroll;
/*    background-size: contain;*/
    background-size: 130%;
}

.photo-background-teal .fl-photo .fl-photo-content,
.photo-background-green .fl-photo .fl-photo-content {
    background-color: #006472;
}
.photo-background-aqua .fl-photo .fl-photo-content {
        background-color: #00b5af;
}
.photo-background-teal .fl-photo .fl-photo-content > img,
.photo-background-green .fl-photo .fl-photo-content > img,
.photo-background-aqua .fl-photo .fl-photo-content > img{
    margin-top: -15px;
    margin-left: 15px;
    margin-bottom: 15px; 
    margin-right: -15px;
}
.photo-background-teal .fl-photo,
.photo-background-green .fl-photo,
.photo-background-aqua .fl-photo{
    padding-right: 15px;
    padding-bottom: 15px; 
}
.fl-module-interactive-banner-2.photo-background-teal,
.fl-module-interactive-banner-2.photo-background-aqua{
    background-color: #006472;
    margin: 20px 40px 40px 20px;
}
.fl-module-interactive-banner-2.photo-background-aqua {
    background-color: #00b5af;
}
.fl-module-interactive-banner-2.photo-background-teal > .fl-module-content,
.fl-module-interactive-banner-2.photo-background-aqua > .fl-module-content{
    margin-right: -20px;
    margin-bottom: -20px;
}
.uabb-new-ib-desc > .uabb-new-ib-content > .fl-module > .fl-module-content {
    margin: 0;
}
.uabb-new-ib-desc > .uabb-new-ib-content > .fl-module > .fl-module-content * {
        color: #fff;
    font-size: 15px;
}

.single-post .wp-block-post-excerpt {
    display: none;
}

.fl-post-feed-post .fl-post-categories a {
    background-color: #78be20;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    margin-right: 10px;
    display: inline-block;
}
.fl-post-feed-post .fl-post-categories a:hover {
background-color: #1cb5af;
}
table.background-alt td,
table.background-alt th {
    text-align: center;
}
table.background-alt,
table.background-alt td {
    background-color: #f3fbfb;
}
table th {
 line-height: 1.1;   
}
table td.alt {
    background-color: #fff;
    font-size: 14px;
    
}
table td.alt p {
    color: #1cb5af;
    line-height: 1.1;
    margin-bottom:0;
}
table td.highlight {
/*     background-color: #00b5af; */
    background-color: rgba(131,194,74,0.42);
    /*border-right-color: #83c24a;
    border-top-color: rgba(255,255,255,0.15);
    border-bottom-color: rgba(255,255,255,0.15);*/
/*     color: #fff;*/
}

/* force mega menu alignment */
div.brex-mega-menu-desktop .fl-col-has-cols > div {
    justify-content: flex-start !important;
}


/* ==========================================================================
  Custom Page Styles
========================================================================== */


/* home */
@media only screen and (max-width: 767px) {
	.fl-row-bg-video .fl-bg-video video,
	.home .fl-row-bg-video .fl-bg-video video {
	 transform: translateX(calc((-40% - 100vw) / 2));
	}
}

/* Press Releases Feed */
.press-releases .fl-post-meta {
    color: #1cb5af;
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    text-transform: uppercase;
}
.press-releases .fl-post-title {
    color: #0b6471;
    font-size: 22px;
    line-height: 1.2;
    text-align: left;
}
.press-releases .fl-post-excerpt {
    font-size: 15px;
    text-align: left;
    margin-bottom: 20px;
}
.press-releases:not(.sidebar) .fl-post-more-link a {
        font-size: 14px;
    padding: 12px 24px;
    text-decoration: none;
        border-radius: 50px;
    line-height: 1.1;
    text-transform: uppercase;
        color: #fff;
    background-color: #00b5af;
}
.press-releases:not(.sidebar) .fl-post-more-link a:active,
.press-releases:not(.sidebar) .fl-post-more-link a:hover {
    background-color: #84c24a;
}
/* .post-type-archive-multimedia .fl-post-feed-post {
    border-color: rgba(255,255,255,0.3);
} */

.fl-builder-content[data-type="header"].fl-theme-builder-header-shrink .mega-menu-saved-row-container .fl-col-content {
    padding-top: 15px;
    padding-bottom: 15px;
}


.events .fl-post-feed .fl-post-feed-post {
    border-width: 0;
    padding: 20px 0 20px;
    display: flex; 
    align-content: center;
    background-color: #f5f5f5;
/*     align-items: center;*/
}
.events .fl-post-feed .column-left {
    margin-right: 30px;
    align-content: center !important;
}
.events .fl-post-feed .column-right .fl-post-title {
    color: #0b6471;
}
.events .fl-post-feed .column-left .fl-post-meta {
    font-size: 18px;
    text-align: center;
    padding: 20px;

}
.events .fl-post-feed .column-right {

}

.events .fl-post-feed .fl-event-link a {
    display: inline-block;
        padding: 8px 24px;
    color: #fff !important;
    background-color: #1cb5af;
    font-size: 14px;
    line-height: 1.1;
    text-transform: uppercase;
    border-style: none;
    border-width: 0px;
    border-color: initial;
    border-radius: 50px;
}
.events .fl-post-feed .fl-event-link a:hover,
.events .fl-post-feed .fl-event-link a:active {
    background-color: #0b6471;
}


.home .slick-track .uabb-post-thumbnail img {
    height: auto !important;
    width: 100% !important;
}


/* custom post types  */

@media only screen and (max-width: 767px) {
    .publication .column-left,
    .publication .column-right,
    .event .column-left,
    .event .column-right {
        width: 100%;
    }
    .publication .column-left .fl-post-meta {
        font-size: 16px;
    }        
    .publication .column-right .fl-post-title,
    .press-releases .fl-post-title,
    .event .fl-post-title {
        line-height: 1.1;
    }
    .events .fl-post-feed .fl-post-feed-post {
        display: block;
    }
    .events .fl-post-feed .column-left {
        margin-right: 0;
        align-content: left !important;
    }
    .events .fl-post-feed .column-left,
    .events .fl-post-feed .column-right {
        padding: 0 20px;
    }
    .events .fl-post-feed .column-left .fl-post-meta {
        padding: 10px 0;
        text-align: left;
    }
}



