/*
 Theme Name:     We All Go As One (Divi Child Theme)
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

body, html {
    overflow-x: hidden;
}

/* Type */
h1, h2, h3, h4, h5, h6, .tab p, .accordion-header {
    font-family: nimbus-sans-extended, sans-serif;
    font-weight: 900;
    font-style: normal;
}

p, small, span, ul, li {
    font-family: acumin-pro, sans-serif;
    font-style: normal;
}

strong {
    font-weight: 900;
}

#menu-main li {
    padding-left: 15px;
    padding-right: 15px;
}

#menu-main li a {
    transition: 0.3s ease-in-out all;
    font-family: nimbus-sans-extended, sans-serif;
}

#menu-main li a:hover {
    transform: scale(.975);
    opacity: 1;
}

#menu-main li:after {
    content: '/';
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: 900;
    right: -3px;
}

.et_pb_menu_0_tb_header .mobile_menu_bar:after, .et_mobile_menu li a {
    font-family: nimbus-sans-extended, sans-serif;
}

.et_pb_menu .et_mobile_nav_menu {
    padding: 10px;
}

.et_pb_menu_0_tb_header .mobile_menu_bar:before {
    display: none!important;
}

.et_pb_menu_0_tb_header .mobile_menu_bar:after {
    content: 'Menu';
    position: relative;
    text-transform: uppercase;
    color: white;
    font-weight: 900;
    cursor: pointer;
}

@media (min-width: 592px) and (max-width: 992px) {
    .et_pb_menu .et_pb_menu__menu{
        display: flex !important;
    }
    .et_mobile_nav_menu {
        display: none!important;
    }
}

@media (max-width: 592px) {
    .et_pb_row_0_tb_header.et_pb_row {
        width: 100%;
    }
    .et_pb_menu .et_mobile_menu {
        margin-top: 10px;
    }
}

#menu-main li:last-child:after {
    display: none;
}

@media (min-width: 768px) {
    .summit-image {
        flex: 0 0 70%;
        padding-left: 5%;
    }
    
    .summit-container {
        display: flex;
        flex-direction: row-reverse;
    }
}

.summit-copy p {
    margin: 10px 0 35px 0;
}

.summit-copy .btn-red {
    margin: 0 auto;
}

.btn-red {
    color: #ce3a38!important;
    border: 4px solid #ce3a38!important;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 800!important;
    padding: 5px 35px;
    text-transform: uppercase!important;
}

.et_pb_button_module_wrapper>a, .btn-red {
    transition: 0.3s ease-in-out all;
    font-family: nimbus-sans-extended, sans-serif;
}

.et_pb_button_module_wrapper>a:hover, .btn-red:hover {
    transform: scale(0.95);
    background-color: transparent!important;
}

.et_pb_text {
    position: relative;
}

.tab {
    min-width: 185px;
}

.tab a, .tab p {
    color: inherit;
    text-align: center;
    transition: 0.3s ease-in-out all;
}

.tab a:hover {
    transform: scale(0.95);
    background-color: transparent!important;
}

.content-row {
    min-height: 375px;
}

/* --- */
/* Featured Summits */
/* --- */
#featured-summit-row:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(206,58,56,1) 0%, rgba(206,58,56,1) 40%, rgba(206,58,56,0) 100%);
}
@media (min-width: 592px) and (max-width: 1192px) {
    .featured-summit h2 {
        font-size: 26px!important;
    }
}

.featured-summit {
    transition: 0.3s all;;
}
.featured-summit:hover {
    transform: scale(0.975);
    box-shadow: 0px 2px 18px 0px rgb(5 5 5 / 50%);
}
@media (max-width: 591px) {
    .featured-summit h2 {
        font-size: 22px!important;
    }
}
#weallgoasone-header h1 {
    line-height: 1.5;
}
#weallgoasone-header span {
    font-size: 64px;
    margin-bottom: 20px;
}

@media (max-width: 592px) {
    #weallgoasone-header span {
        font-size: 36px;
    }
}

#presents-container > div {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 18px;
}
#presents-image {
    display: inline;
    width: 325px;
    margin: 0!important;
}

.summit-video-thumbnail .et_pb_image_wrap:after {
    content: url('/wp-content/uploads/2022/02/play-video.svg')!important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 50px;
    height: 50px;
    z-index: 10;
    transition: 0.3s ease-in-out all;
}
.summit-video-thumbnail .et_pb_image_wrap:hover:after {
    width: 55px;
    height: 55px;
    cursor: pointer;
}
.featured-summit {
    min-height: 235px!important;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-summit .wagao-small {
    margin: 0 auto;
}
.featured-summit .wagao-small img {
    max-width: 115px;
}
.featured-summit h2 {
    padding-bottom: 0;
}
.featured-summit-date {
    margin-left: 25px;
    width: fit-content!important;
}
.featured-summit-date p {
    font-weight: 900;
}
.featured-summit-logo img {
    width: 75px!important;
    right: 22.5px;
    top: 12.5px;
}

/* --- */
/* Upcoming Summits */
/* --- */
.upcoming-summits-header:after {
    content: '';
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    height: 2px;
    width: 100%;
    background-color: #CE3A38;
}

.accordion {
    font-size: 1rem;
    margin: 0 auto;
    border-radius: 5px;
  }

  .accordion-header {
    display: flex!important;
    align-items: center;
    justify-content: space-between;
    padding-left: 35px!important;
    transition: 0.3s ease-in-out all;
  }

  .accordion-header:hover {
      background-color: rgba(206, 58, 56, 0.1);
  }

  .accordion-date {
      text-align: right;
      min-width: 200px;
  }

    @media (max-width: 592px) {
        .accordion-header {
            padding: 24px 10px 24px 35px!important;
            align-items: start;
            flex-direction: column;
        }
        .accordion-date {
            min-width: auto;
            padding-left: 0!important;
            padding-bottom: 0!important;
        }
    } 
      
  .accordion-header, .accordion-date {
    padding: 16px 10px;
    color: #CE3A38;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: .1em;
    transition: all .3s;
    text-transform: uppercase;
    display: block;
  }
  
  .accordion__item {
      border-bottom: 2px solid #CE3A38;
  }
  
  .accordion-header:hover {
    position: relative;
    z-index: 5;
  }
  
  .accordion-body {
    display: none;
  }
  
  .accordion-body__contents {
    padding: 0 0 24px 0;
    font-size: .85em;
    color: #CE3A38;
    font-weight: 600;
  }
  
  .accordion__item.active:last-child .accordion-header {
    border-radius: none;
  }
  
  .accordion:first-child > .accordion__item > .accordion-header {
    border-bottom: 1px solid transparent;
  }
  
  .accordion__item .accordion-header:before {
    content: url('/wp-content/uploads/2022/02/Asset-3.png');
    width: 20px;
    left: 0;
    position: absolute;
    transition: .3s all;
    transform: rotate(0deg);
  }
  
  .accordion__item.active .accordion-header:before {
    /* transform: rotate(360deg); */
    content: url('/wp-content/uploads/2022/02/Asset-2.png');
  }
  
  .accordion__item.active {
  }

/* --- */
/* About */
/* --- */
.about-header:after {
    content: '';
    position: absolute;
    bottom: -5px;
    height: 12.5px;
    width: 100%;
    background-color: #E6D7C7;
}

.featured-speakers-container {
    display: flex;
    justify-content: space-between;
}
.featured-speaker {
    position: relative;
    margin: 0 3.5%;
    width: 50%;
}
.featured-speaker p {
    color: white;
}
.featured-speaker img {
    border-radius: 50%;
    border: 4px solid #E6D7C7;
}
.featured-speaker img:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #E6D7C7;
    opacity: .4;
    z-index: 12;
}
.featured-speaker .speaker-name {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
    margin-top: 12px;
    padding-bottom: 3px;
}
.featured-speaker .position-title {
    font-style: italic;
}
.position-title:after {
    content: '';
    position: absolute;
    bottom: -20px;
    height: 12.5px;
    left: 0;
    right: 0;
    background-color: #E6D7C7;
}

@media (max-width: 592px) {
    .featured-speaker:first-child {
        margin-left: 0;
    }
    .featured-speaker:last-child {
        margin-right: 0;
    }
} 

/* --- */
/* Presenters */
/* --- */
.presenters-row .presenters-row-image img {
    max-height: 65px!important;
    transition: 0.3s ease-in-out all;
}

.presenters-row .presenters-row-image img:hover {
    transform: scale(0.975);
}

/* --- */
/* Register */
/* --- */
.regional-events-header h5 {
    padding-bottom: 0;
}
.regional-events-container .et_pb_button_module_wrapper>a {
    width: 100%;
    display: flex;
    justify-content: center;
}

.regional-events-container .et_pb_button_module_wrapper>a:hover:after {
    display: none;
}

footer p {
    font-family: nimbus-sans-extended, sans-serif;
}