/*
 Theme Name:     bgclubcva
 Theme URI:      http://bgclubcva.org/
 Description:    Child Theme for Customizing Divi
 Author:         Ben Eppard
 Author URI:     http://www.burwind.com
 Template:       Divi
 Version:        2.5
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* SPACE WHEN LOADING */

.sub-menu.hide { display: none!important; }
.sub-menu.visible { display: block!important; }
.et_mobile_menu .menu-item-has-children > a:after {
content: '+';
position: absolute;
right: 20px;
}

/* SECONDARY MENU */

#et-secondary-nav {
    display: none;
}

/* DONATION TAB */

#donate-now {
    position: absolute;
    z-index: 99999999;
    color: #fff;
    top: 0px;
    right: 0px;
    font-weight: bold;
    font-size: 16px;
    background-color: #ff8f1c;
    padding: 6px 20px 6px 20px;
    border-radius: 0px 0px 10px 10px;
    -webkit-box-shadow: rgba(0,0,0,0.8) 0px 0 10px;
    -moz-box-shadow: rgba(0,0,0,0.8) 0 0 10px;
    box-shadow: rgba(0,0,0,0.8) 0 0 10px;
}

#donate-now a {
    color: #ffffff ;
}

#donate-now a:hover {
    color: #cccccc ;
}

/* header shadow */
.home #main-header {
-webkit-box-shadow: 0px 2px 3px 0px rgba(170,170,170,1);
-moz-box-shadow: 0px 2px 3px 0px rgba(170,170,170,1);
box-shadow: 0px 2px 3px 0px rgba(170,170,170,1);
}

/* PRIMARY MENU */
#top-menu li {
    padding-right: 12px;
}

/* Slider */

.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
}

/* Programs link in homepage mission & news */
#mission h2 a {
 color:#0092cf;
 border-bottom:solid;
}
#mission h2 a:hover {
 color:#2daadf;
}
#news h2 a {
 color:#0092cf;
 border-bottom:solid;
}
#news h2 a:hover {
 color:#2daadf;
}

/* Popup overlay */
.pum-theme-621 {background-color: rgba( 255, 255, 255, .9 );}

/*Remove Footer bullets*/
.footer-widget li:before {
    border-width:0px !important;
}

/*Fix spacing of anchor links*/

.anchor{
  display: block;
  height: 115px; /*same height as header*/
  margin-top: -115px; /*same height as header*/
  visibility: hidden;
}

/* reduce size of font on staff page for email links */
#post-298 a {
    font-size: 14px;
}

#footer-widgets .footer-widget li {
    position: relative;
    padding-left: 0px;
}

.et_pb_widget a {
    color: #555;
    text-decoration: none;
}

.et_pb_widget a:hover {
    color: #777777;
    text-decoration: none;
}

#footer-widgets .footer-widget li a:hover {
    color: #777;
    text-decoration: none;
}

#et-secondary-menu .et-social-icons {
    margin-right: 36px;
}

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

#et-secondary-menu .et-social-icons {
    margin-right: 15px;
}

#et-secondary-nav, #et-secondary-menu {
display: block !important;}
#et-secondary-menu {
    margin: auto;
    float: none;}
#et-secondary-menu {
    text-align: center;
}
#donate-now {
display:none;
}

#top-menu-nav, #top-menu {
display:none; }

#et_mobile_nav_menu, .et_mobile_nav_menu {
display: block !important; }

.mobile_menu_bar {
 margin-top:-30px;
 padding-top:0px;
}

.mobile_menu_bar:before {
    color:#fff;
    font-size:60px;
}

#main-image {
    height: 500px;
}

.et_fixed_nav #main-header {
position: absolute;}
 }

@media only screen and (max-width:980px){
#et-secondary-nav, #et-secondary-menu {
display: block !important;}
#et-secondary-menu {
    margin: auto;
    float: none;}
#et-secondary-menu {
    text-align: center;
}
#donate-now {
display:none;
}
.mobile_menu_bar {
 margin-top:0px;
 padding-top:0px;
}
.et_secondary_nav_only_menu #top-header {
    display: block;}
#main-header {
    margin-top: 0px !important;
}
#top-header .container {
    padding-top: 0.75em;
    font-weight: 600;
}
}

@media only screen and (max-width:957px){
#slogan {
padding-top:0px;
padding-bottom:0px;
}
#et-secondary-nav, #et-secondary-menu {
display: block !important;}
#et-secondary-menu {
    margin: auto;
    float: none;}
#et-secondary-menu {
    text-align: center;}
#donate-now {
display:none;}
}