/*
Theme Name: Divi Child Theme
Template: Divi
Author: Jonathan Carone
*/
/* Theme customization starts here */

/*HEADER SHADOW*/

.et_pb_section_first:not(.et_pb_section_video) {
    padding-top: 0!important;
}

#main-header {
    box-shadow: none !important;
}
/*Footer*/
.cd-footer a,
.cd-footer p {
    color: #fff;
    font-size: 14px !important;
}

/*HEADINGS*/
h1, h2, h3, h4, h5, h6 {
    overflow-wrap: normal;
}

/*Menu*/


@media only screen and (min-width: 981px) {
   #logo {
 margin-top: -15px;
 max-height: 85% !important;
}
}

@media (max-width: 960px) {
    #logo {
        max-height: 85% !important;
        margin-top: -15px;
    }
    
#et_search_icon:hover, .mobile_menu_bar:before, .mobile_menu_bar:after, .et_toggle_slide_menu:after, .et-social-icon a:hover, .et_pb_sum, .et_pb_pricing li a, .et_pb_pricing_table_button, .et_overlay:before, .entry-summary p.price ins, .et_pb_member_social_links a:hover, .et_pb_widget li a:hover, .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active, .et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active, .et_pb_gallery .et_pb_gallery_pagination ul li a.active, .wp-pagenavi span.current, .wp-pagenavi a:hover, .nav-single a, .tagged_as a, .posted_in a  {
        color: #ffffff !important;
    }
    
     #main-header .et_mobile_menu {
        background-color: #8fa586 !important;
    }
}

/*Menu CTA Button*/
.cta-menu a {
  font-weight: 700 !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    font-weight: 700; 
    letter-spacing: 1px !important;
    background-color: #1c6141;
    color: #fff !important;
    border: 2px solid #1c6141;
    border-radius: 0px !important;
    
}

.et-fixed-header #top-menu .cta-menu a  {
     color: #fff !important;
}

.et_fixed_nav #et-top-navigation .cta-menu a {
    color: #ffffff !important;
}

#top-menu {
    margin-top: -10px !important;
    margin-bottom: 8px;
}




/*CHANGE COLUMN ORDER MOBILE*/
@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}

 
}





/*VERTICAL ALIGN*/

.vertical-align {
    margin-top: auto;
    margin-bottom: auto;
}

.ds-vertical-align { 
display: flex; 
flex-direction: column; 
justify-content: center;
}



/*INLINE BUTTONS*/

.btn-inline .et_pb_column {
    text-align:center;
}

.btn-inline .et_pb_button_module_wrapper {
    display: inline-block !important;
    margin: 5px;
    text-align: center;
}


.btn-inline2 .et_pb_column {
    text-align:left;
}

.btn-inline2 .et_pb_button_module_wrapper {
    display: inline-block !important;
    margin: 5px;
    text-align: center;
border: 3px
}

/*BUTTON HOVER*/

.et_pb_button {
transition: all 0.3s ease-in-out 0s, opacity 500ms ease 0s, transform 500ms ease 0s  !important;
opacity: 1;
transform: translateX(0px) translateY(0px) translateZ(0px);
display: block;
box-shadow: 0 10px 20px 0 rgba(54,54,57,.1) !important;
    
}
    
    .et_pb_button:hover{
transition: all 0.3s ease-in-out 0s, opacity 500ms ease 0s, transform 500ms ease 0s;
    opacity: 1;
    transform: translateX(0px) translateY(-5px) translateZ(0px);
    box-shadow: 0 10px 20px 0 rgba(54,54,57,.25) !important;
}

/* SUB MENU SCROLL */


.scroll a {
padding-right: 15px;
}

.scroll { 
        letter-spacing: 1px; 
        text-align: center !important;
}

article .et_mobile_nav_menu {
  display: none !important;
}
article .fullwidth-menu-nav {
  padding-right: 40px;
}

article .fullwidth-menu-nav ul {
  flex-wrap: nowrap !important;
}

.scroll,
.scroll .et_pb_fullwidth_menu {
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

@media all and (min-width: 981px) {
  article .fullwidth-menu-nav,
  article .fullwidth-menu-nav ul {
    /* display: block !important; */
    display: flex !important;
  }
}
@media all and (max-width: 980px) {
  article .fullwidth-menu-nav,
  article .fullwidth-menu-nav ul {
    /* display: block !important;
    float: left !important; */
    display: flex !important;
  }

  .et_pb_fullwidth_menu .et_pb_menu__menu {
    display: flex !important;
  }
}

.scroll
  .menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item
  a {
  border-bottom: 2px solid #fff !important;
}
.scroll li {
  padding-right: 30px;
}

/*EVENTON CUSTOM*/

#evcal_list {
    background: #ffffff !important;
}

.eventon_events_list .eventon_list_event .desc_trig:hover {
    background-color: #ffffff !important;
}

.evcal_list_month .eventon_events_list {
    background-color: #ffffff !important;
}

.evo_metarow_directimg, .evcal_evdata_row {
    background-color: #ffffff !important;
}

#evcal_list .eventon_list_event .desc_trig, .evcal_evdata_img, .event_description .evcal_close, .evcal_btn, .evo_sort_btn, .calendar_header  .evcal_arrows, .desc_trig, .ajde_evcal_calendar.boxy .eventon_list_event.hasbgimg::after, .evcal_desc .evcal_desc3 em.evocmd_button, .evo_metarow_socialmedia a.evo_ss, .evo_metarow_socialmedia a.evo_ss i{
    background-color: #ffffff;
}







/*INTERIOR PAGE SECTION BORDERS*/

@media (min-width: 981px) {
    .left_column {
padding-right: 50px;
padding-top: 50px;
padding-bottom: 50px;
border-right: 3px solid #424b54;
}

 .left_column h1 {
    font-size: 30px !important;
 }
    
    .left_column_dark h1 {
    font-size: 30px !important;
    }

    .left_column_dark {
padding-right: 50px;
padding-top: 50px;
padding-bottom: 50px;
border-right: 3px solid #fff;
}
}


/*PAGE HEADER*/
@media all and (max-width: 980px) {
    div.et_pb_section.et_pb_section_1 {
    padding-top: 20% !important;
}
}

.et_pb_section.et_pb_section_0.et_section_regular.et_pb_section_first:not(.et_pb_section_video){
    padding-top: 0!important;
}





/*Underline*/
.ul-1,
.ul-2,
.ul-3,
.ul-4 {
    display:inline-block;
    position:relative;
    z-index: 2;
}

.ul-1:before {
    max-width:0;
}

.ul-1:before {
    position:absolute;
    height:25px;
    width: 100%;
    max-width: 100%;
    bottom:0px;
    display:block;
    content:'';
    transition: max-width 0.2s ease-in-out;
    transition-delay:5s;
    z-index: -1 !important;
}

.ul-2:before,
.ul-3:before,
.ul-4:before {
    position:absolute;
    height:25px;
    width: 100%;
    max-width: 100%;
    bottom:-8px;
    display:block;
    content:'';
    transition: max-width 0.2s ease-in-out;
    transition-delay:5s;
    z-index: -1 !important;
}

@media (max-width:980px) {
    .ul-1:before,
    .ul-2:before,
    .ul-3:before,
    .ul-4:before {
        height: 20px;
    }
}

.ul-1:before {
    background-color: #1C6141;
}
.ul-2:before {
    background-color: rgba(143,165,134,1.0);
}
.ul-3:before {
    background-color: rgba(143,165,134,1.0);
}
.ul-4:before {
    background-color: rgba(143,165,134,1.0);
}



