/*
Theme Name:     BVCAP
Description:    BVCAP
Version:        1.37
Author:         Lawrence Zevon
Author URI:     http://www.zevonmedia.com/
Template:       enfold
License:        GPL v2
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url("../enfold/style.css");

/* Customizations Here */

/* Add space above and below header logo */
.logo {
    padding-top: 12px;
    padding-bottom: 12px;
    box-sizing: border-box;
}
#top #s { background: #ececec !important; }

.logo img,
.logo svg {
    max-height: 100%;
    width: auto;
}

sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}
sub { 
  top: 0.4em; 
}

h5.charitable-field-template-headline { display: none; } /* Did this to hide the mysterious About Us headline */

/* mobile menu */
#avia-menu .mobile-only.menu-item { display: none !important; }
@media only screen and (max-width:767px) {
  #top #wrap_all .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li a { font-size: 22px; }
}

.special_amp { color: inherit!important; font-family: inherit; font-size: inherit; font-style: inherit; }

@media only screen and (max-width: 767px) {
  #top #main p, #top #main ul li, #top #main th tr td  {
    font-size: 18px !important;
	line-height: 28px !important;
  }
}

@media only screen and (max-width: 767px) {
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul a * {
    color: #0668b3 !important;
  }

  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-item > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-item > a *,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current_page_item > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current_page_item > a *,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-ancestor > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-ancestor > a *,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-parent > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-parent > a *,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current_page_parent > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current_page_parent > a *,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current_page_ancestor > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current_page_ancestor > a * {
    color: #0668b3 !important;
  }

  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.av-menu-button-colored > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.av-menu-button-colored > a *,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul a.av-menu-button-colored,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul a.av-menu-button-colored * {
    color: #ffffff !important;
  }

  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li > a:hover,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li > a:hover *,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:hover > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:hover > a * {
    color: #ffffff !important;
  }
}

/* Add space between main menu button items */
#top #header .av-main-nav > li.av-menu-button {
    margin-left: 20px !important;
}

#top #header .av-main-nav > li.av-menu-button:last-child {
    margin-left: 15px;
}

.inset-half-hero img { border-radius: 20px !important; }
.promo-box-corners { border-radius: 20px !important; }
.promo-box-corners p { font-size: 18px; }
.promo-box-corners h3 { color: #ffffff; font-size: 30px; }
.col-imgs img { border-radius: 20px !important; }

/* Enfold masonry gallery images */
.av-masonry-gallery .av-masonry-image-container, .av-masonry-gallery .av-masonry-item {
    border-radius: 20px;
    overflow: hidden;
}

.main_color .container .av-inner-masonry-content { margin-top: 10px; padding-top: 10px; padding-bottom: 10px; background: #0668b3; color: #ffffff; border-radius: 0 0 20px 20px;}

.round-col-right { border-radius: 20px !important; }
#top .col-row-right-gap {
    padding-right: 50px !important;
    box-sizing: border-box !important;
}
.screen-back-half-hero {
    position: relative;
    box-shadow: inset 0 0 0 2000px rgba(255, 255, 255, 0.85) !important;
}

/* Enfold Animated Numbers - Left Align + More Spacing */

#top .avia-animated-number {
    text-align: left !important;
}

#top .avia-animated-number-title {
    text-align: left !important;
    justify-content: flex-start !important;
    display: flex !important;
    width: 100% !important;
}

#top .avia-animated-number-content {
    text-align: left !important;
    width: 100% !important;
    margin-top: 18px !important;
}

/* ==========================================
   BVCAP VERTICAL EXPANDING PULSE
   Anchor to the 3/4 COLUMN, not Code Block
   ========================================== */


/* 3/4 Enfold column becomes positioning parent */
.flex_column.av_three_fourth.el_after_av_one_half.el_before_av_one_fourth {
    position: relative !important;
    overflow: hidden !important;
}


/* ==========================================
   IMPORTANT:
   Prevent Enfold Code Block wrapper from
   becoming the positioning parent
   ========================================== */

.flex_column.av_three_fourth.el_after_av_one_half.el_before_av_one_fourth
.avia_codeblock,
.flex_column.av_three_fourth.el_after_av_one_half.el_before_av_one_fourth
.avia_codeblock_section,
.flex_column.av_three_fourth.el_after_av_one_half.el_before_av_one_fourth
.avia_codeblock_element {
    position: static !important;
}


/* ==========================================
   SVG IMAGE
   ========================================== */

.flex_column.av_three_fourth.el_after_av_one_half.el_before_av_one_fourth
.bvcap-pulse-bg {

    position: absolute !important;

    width: 700px !important;
    height: auto !important;
    max-width: none !important;

    /*
     * These now reference the 3/4 column
     */
    left: 50% !important;
    bottom: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    z-index: 1 !important;
    pointer-events: none !important;

    opacity: 0;

    animation: bvcap-vertical-pulse 6.5s linear infinite !important;

    /*
     * Grow from bottom-center
     */
    transform-origin: 50% 100% !important;

    will-change: transform, opacity;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* ==========================================
   KEEP NORMAL COLUMN CONTENT ABOVE SVG
   ========================================== */

.flex_column.av_three_fourth.el_after_av_one_half.el_before_av_one_fourth
> * {
    position: relative;
    z-index: 2;
}

/*
 * But don't re-position the Code Block,
 * otherwise it becomes the containing block again
 */
.flex_column.av_three_fourth.el_after_av_one_half.el_before_av_one_fourth
.avia_codeblock,
.flex_column.av_three_fourth.el_after_av_one_half.el_before_av_one_fourth
.avia_codeblock_section,
.flex_column.av_three_fourth.el_after_av_one_half.el_before_av_one_fourth
.avia_codeblock_element {
    position: static !important;
    z-index: auto !important;
}


/* ==========================================
   VERTICAL EXPANDING PULSE
   ========================================== */

@keyframes bvcap-vertical-pulse {

    /* Hidden at very bottom */
    0% {
        opacity: 0;

        transform:
            translate3d(-50%, 80%, 0)
            scale(0.25);
    }

    /* Begin emerging */
    4% {
        opacity: 0.20;

        transform:
            translate3d(-50%, 60%, 0)
            scale(0.35);
    }

    /* Fade in */
    8% {
        opacity: 0.65;

        transform:
            translate3d(-50%, 35%, 0)
            scale(0.50);
    }

    /* Entering column */
    13% {
        opacity: 0.85;

        transform:
            translate3d(-50%, 5%, 0)
            scale(0.75);
    }

    /* Grow upward */
    18% {
        opacity: 0.80;

        transform:
            translate3d(-50%, -20%, 0)
            scale(1.05);
    }

    /* Large toward upper portion */
    22% {
        opacity: 0.55;

        transform:
            translate3d(-50%, -45%, 0)
            scale(1.40);
    }

    /* Fade completely */
    25% {
        opacity: 0;

        transform:
            translate3d(-50%, -70%, 0)
            scale(1.75);
    }

    /* Stay hidden for ~5 seconds */
    25.1%,
    100% {
        opacity: 0;

        transform:
            translate3d(-50%, -70%, 0)
            scale(1.75);
    }
}


/* ==========================================
   TABLET
   ========================================== */

@media only screen and (max-width: 989px) {

    .flex_column.av_three_fourth.el_after_av_one_half.el_before_av_one_fourth
    .bvcap-pulse-bg {

        width: 600px !important;
    }
}


/* ==========================================
   MOBILE
   ========================================== */

@media only screen and (max-width: 767px) {

    .flex_column.av_three_fourth.el_after_av_one_half.el_before_av_one_fourth
    .bvcap-pulse-bg {

        width: 450px !important;
    }
}

div.avia-animated-number, .animate-ctr, .animate-ctr p { text-align: center !important; }
#top .avia-animated-number .avia-animated-number-title {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* News */
h3.slide-entry-title.entry-title { font-size: 1.45em; }
time.slide-meta-time.updated { display: none; }
.avia-content-slider a.slide-image { border-radius: 20px !important; }