/**
* Theme Name:   Astra Child Theme
* Description:  An Astra child theme
* Author:       emBold
* Author URI:   https://embold.com
* Template:     astra
* Version:      1.3.0
*/

.hidden-visually {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

#primary-site-navigation .main-header-menu > li {
  display: inline-block;
  margin-right: 1rem;
}

#primary-site-navigation .main-header-menu a {
  font-weight: bold;
}

.ast-header-account
  .ast-header-account-wrap
  .ast-header-account-link:not(.ast-header-account-type-avatar) {
  align-items: center;
  background-color: #f7b500;
  border-radius: 60px;
  display: flex;
  justify-content: center;
  line-height: 1;
  padding: 14px 24px;
  transition: opacity 200ms ease-in-out;
}

.ast-header-account
  .ast-header-account-wrap
  .ast-header-account-link:not(.ast-header-account-type-avatar)
  span {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 0.82352941176471rem;
  font-weight: 600;
}

.ast-header-account
  .ast-header-account-wrap
  .ast-header-account-link:not(.ast-header-account-type-avatar):hover {
  opacity: 0.8;
}

body[class*="em-"]:not(.em-role-administrator) {
  margin-top: -32px;
}

body[class*="em-"]:not(.em-role-administrator) #wpadminbar {
  display: none;
}

footer.site-footer aside {
    padding: 2rem;
    width: 100%;
  }

footer.site-footer aside section {
      margin-bottom: 20px;
    }

footer.site-footer a {
    font-weight: bold;
  }

footer.site-footer .ast-builder-grid-row-container-inner,
  footer.site-footer .site-primary-footer-inner-wrap {
    width: 100%;
  }

footer.site-footer .ast-builder-grid-row-3-rheavy .ast-builder-grid-row {
    display: flex;
    flex-wrap: wrap;
    grid-column-gap: 0 !important;
  }

footer.site-footer form.wp-block-search .wp-block-search__label {
      display: none;
    }

footer.site-footer form.wp-block-search .wp-block-search__inside-wrapper {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

footer.site-footer form.wp-block-search .wp-block-search__inside-wrapper input {
        margin-bottom: 20px;
        width: 100%;
      }

footer.site-footer form.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button  {
        background: #1579e6;
        border-radius: 200px;
        border: none;
        color: #fff;
        font-family: "Poppins", sans-serif;
        font-size: 0.88235294117647rem;
        height: auto;
        line-height: 1;
        margin-left: auto;
        margin: 0;
        padding: 10px 20px;
      }

footer.site-footer form.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:hover {
          background: #f7b500;
          color: #fff;
        }

footer.site-footer .wpforms-form .wpforms-title {
      font-size: 22px;
      font-weight: bold;
    }

footer.site-footer .wpforms-form .wpforms-submit-container:last-child {
      text-align: right;
    }

footer.site-footer .wpforms-form .wpforms-submit {
      background: #1579e6;
      color: #fff;
    }

footer.site-footer .wpforms-form .wpforms-submit:hover {
        background: #f7b500;
        color: #fff;
      }

footer.site-footer .site-footer-primary-section-1,
  footer.site-footer .site-footer-primary-section-2 {
    width: 100%;
  }

@media screen and (min-width: 768px) {

footer.site-footer .site-footer-primary-section-1,
  footer.site-footer .site-footer-primary-section-2 {
      width: 50%
  }
    }

@media screen and (min-width: 992px) {

footer.site-footer .site-footer-primary-section-1,
  footer.site-footer .site-footer-primary-section-2 {
      width: 30%
  }
    }

footer.site-footer .site-footer-primary-section-3 {
    width: 100%;
  }

@media screen and (min-width: 992px) {

footer.site-footer .site-footer-primary-section-3 {
      width: 40%
  }
    }

#account-page #secondary,
#account-page #primary {
  margin: 1rem 0 3rem;
}

#account-page #primary {
  width: 70%;
}

/* sidebar ============================= */

#account-page #secondary {
  padding-left: 0;
  padding-right: 30px;
  width: 30%;
}

#account-page #secondary .widget {
    padding: 2em;
  }

#account-page #secondary .ld-profile-stats,
  #account-page #secondary .ld-item-list.ld-course-list {
    display: none !important;
  }

#account-page #secondary aside:first-child {
    margin-bottom: 0;
    padding-bottom: 1rem;
    padding-left: 2.35rem;
  }

#account-page #secondary aside:not(:first-child) {
    padding-bottom: 0;
    padding-top: 0;
  }

#account-page #secondary .ld-profile-summary {
    margin-bottom: 0;
  }

#account-page #secondary .ld-profile-card {
    align-items: flex-start;
    margin-bottom: 0;
  }

#account-page #secondary .ld-profile-edit-link {
    display: inline-block;
    text-align: center;
    width: 150px;
  }

#account-page #secondary #nav_menu-5 {
    padding-top: 0;
  }

#account-page #secondary a {
    color: #000;
    cursor: pointer;
  }

@media screen and (max-width: 921px) {
  #account-page #secondary,
  #account-page #secondary .sidebar-main > :last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  #account-page #primary,
  #account-page #secondary {
    margin-top: 0;
    padding-top: 0;
    width: 100%;
  }
}

/* logout button on sidebar */

#account-page #menu-account-nav li {
  margin-bottom: 2px;
}

#account-page #menu-account-nav li > a {
  border-radius: 60px;
  cursor: pointer;
  display: block;
  height: 40px;
  padding: 4px 10px;
}

#account-page #menu-account-nav li > a:hover {
  background: #e9e9e9;
}

#account-page #secondary .ast-article-single-logout-button a::before {
  background: #cacaca;
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: -20px;
}

#account-page #secondary .ast-article-single-logout-button a {
  align-items: center;
  background-color: #f7b500;
  border-radius: 60px;
  color: #fff;
  display: flex;
  justify-content: center;
  line-height: 1;
  margin-top: 30px;
  padding: 14px 24px;
  position: relative;
  transition: opacity 200ms ease-in-out;
}

#account-page #secondary .ast-article-single-logout-button a:hover {
  opacity: 0.8;
}

/* main ================================ */

#account-page main {
  padding: 4rem 2rem;
}

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

#account-page main {
    padding: 4rem 0
}
  }

#account-page main .ld-profile-summary {
    margin-top: 0;
  }

#account-page main .learndash-wrapper {
    padding: 1rem 0;
  }

#account-page main h2.custom-learndash-section-heading {
    padding-top: 1rem;
  }

#account-page main .learndash-wrapper .ld-item-list {
    position: relative;
    margin-top: 3rem;
  }

#account-page main .learndash-wrapper .ld-item-list::before {
    background: #d4d4d4;
    content: '';
    height: 1px;
    left: 1rem;
    position: absolute;
    right: 1rem;
    top: -1rem;
  }

#account-page main .ld-section-heading {
    justify-content: flex-end;
  }

#account-page main .learndash-wrapper h3 {
    display: none;
  }

#account-page main section {
    margin-bottom: 3rem;
    position: relative;
  }

#account-page main section:not(:last-child)::after {
    background: #d4d4d4;
    bottom: -2rem;
    content: '';
    height: 5px;
    left: 1rem;
    position: absolute;
    right: 1rem;
  }

#account-page main h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }

#account-page main h3 {
    margin: 1rem 0;
    font-size: 1.5rem;
  }

/* employee resources */

#account-page .employee-links {
  display: flex;
  flex-wrap: wrap;
}

#account-page .employee-links .employee-link {
    padding: 1rem;
    width: 100%;
  }

#account-page .employee-links .employee-link img {
    height: auto;
    width: 100%;
  }

@media screen and (min-width: 600px) {
    #account-page .employee-links .employee-link {
      width: 50%;
    }
  }

@media screen and (min-width: 900px) {
    #account-page .employee-links .employee-link {
      width: 33.3333%;
    }
  }

#account-page .employee-links .employee-link > a {
    display: block;
  }

#account-page .employee-links .employee-link > a:hover {
    opacity: 0.7;
  }

/* events */

#account-page .events-wrapper {
  padding: 1rem;
}

#account-page .events-wrapper h1  {
    border-bottom: 2px dotted #888;
    font-size: 2.5rem;
    padding: 0 0 1.5rem;
  }

#account-page .events-wrapper h2  {
    padding: 0;
  }

#account-page .events-wrapper .event-wrapper {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
  }

#account-page .events-wrapper .event-wrapper:not(:last-child) {
      border-bottom: 2px dotted #888;
    }

#account-page .events-wrapper .event-wrapper h3 {
      margin-top: 0.2rem;
    }

#account-page .events-wrapper .event-wrapper > p {
      margin-bottom: 0;
    }

#account-page .events-wrapper .event-wrapper .event-link {
      color: var(--ast-global-color-3);
      font-weight: bold;
    }

/* learndash */

#account-page #primary .ld-profile-card {
  display: none;
}

#account-page #primary .ld-profile-stats {
  justify-content: flex-start;
}

#account-page #primary .ld-course-list {
  padding: 0 1rem;
}

/* edit profile ======================== */

#edit_profile {
  background: #1579e6;
  color: #fff;
}

#edit_profile:hover {
    background: #f7b500;
    color: #fff;
  }

#account-page .tribe_events,
#account-page .tribe-events-single-section {
  max-width: 100%;
  min-width: 100%;
  padding: 0;
}

#account-page .tribe-events-single h2 {
  padding: 0;
}

#account-page .tribe-events-schedule {
  margin: 0;
}

.tribe-events-c-subscribe-dropdown__button {
  border-color: #1579e6;
  color: #1579e6;
}

.tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #1579e6;
  }

.tribe-events-c-subscribe-dropdown__button:hover button {
      color: #fff !important;
    }
