/****** HOME PAGE STYLING *******/
/****** BANNER *******/
.home-banner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 30vh;
  min-height: 250px;
  color: #ffffff;
  overflow: hidden;
  margin: 0 -30px;
  background: var(--ODBUyellow);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0% 100%);
}

.home-banner .image {
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
  background-color: #8d8d8d;
  background-blend-mode: multiply;
  min-height: inherit;
  max-height: inherit;
  height: inherit;
  position: absolute;
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 98%);
}

.home-banner .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 1200px;
  align-items: center;
  align-content: center;
  z-index: 2;
  padding: 2em;
  margin: 0 auto;
  width: 100%;
}

.home-banner .content h1 {
  margin-bottom: 5px;
  text-transform: uppercase;
  display: block;
  width: 100%;
}

.home-banner .content p,
.home-banner .content h2,
.home-banner .content h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.home-banner a {
  display: block;
  width: 100%;
}

.home-banner button {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
  font-weight: 600;
}

.home-banner button:hover {
  color: var(--ODBUblack);
}

/****** CONTENT *******/
.mobile {
  display: none;
}

.has-sidebar:not(.profile-sidebar, .group-sidebar, .activate) #primary,
body.buddypress.has-sidebar:not(.profile-sidebar, .group-sidebar, .activate) #page #primary {
  max-width: 100%;
}

.site-main .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.middle {
  width: 75%;
  padding: 10px;
}

.logged-in .middle {
  width: 50%;
  padding: 10px;
  overflow: scroll;
}

.middle.wrapper.title-wrapper.entry-title {
  font-size: 1.4em;
}

.home-page-list li {
  padding-left: 5px;
}

.home-page-list li::marker {
  content: "\e875";
  font-family: bb-icons;
  font-style: normal;
  font-size: 1.5em;
  font-weight: 300;
  color: var(--ODBUblue);
  display: block;
  speak: never;
  text-decoration: inherit;
  width: 1em;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home-page-video .wp-block-embed__wrapper {
  /* margin: 25px auto; */
  /* max-width: 600px; */
  /* border: 2px solid var(--ODBUyellow); */
  border-radius: var(--bb-block-radius);
  overflow: hidden;
}

.bb-course-items.list-view .bb-course-cover {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 160px;
  flex: 0 0 160px;
}

/****** SIDEBARS *******/
body:not(.page-template-page-fullscreen) .site {
  overflow-x: unset;
}
.homepage_left_side_widget,
.homepage_right_side_widget {
  width: 25%;
  padding: 10px;
  position: -webkit-sticky;
  position: sticky;
}

.homepage_left_side_widget .sidebar,
.homepage_right_side_widget .sidebar {
  min-height: 200px;
  overflow: auto;
  position: -webkit-sticky;
  position: sticky;
}

.homepage_right_side_widget {
  margin-top: -150px;
}

.logged-in .homepage_right_side_widget {
  margin-top: 0;
}

.profile_completion_wrap .pc_progress_wrap {
  min-width: 160px;
}

.wp-caption-text {
  color: var(--bb-headings-color);
}

@media (max-width: 999px) {
  .logged-in .middle {
    order: 2;
    width: 70%;
  }
  .middle {
    order: 1;
    width: 100%;
  }
  .logged-in .homepage_right_side_widget {
    order: 3;
    width: 100%;
  }
  .homepage_right_side_widget {
    order: 2;
    width: 100%;
    margin-top: 0;
  }
  .logged-in .homepage_left_side_widget {
    order: 1;
    width: 30%;
  }
  .home-page-list {
    margin-top: 1em;
  }
}

@media (max-width: 799px) {
  .home-banner {
    margin: 0 -10px;
  }
}

@media (max-width: 767px) {
  .mobile {
    display: block;
  }
  .desktop {
    display: none;
  }
  .logged-in .middle {
    order: 1;
    width: 100%;
  }
  .logged-in .homepage_right_side_widget {
    order: 3;
    width: 100%;
  }
  .logged-in .homepage_left_side_widget {
    order: 2;
    width: 100%;
    margin-top: 1.25rem;
  }
  .profile_completion_wrap .pc_progress_wrap {
    min-width: 240px !important;
  }
  .homepage_left_side_widget {
    margin-top: 0;
  }
}

@media (max-width: 500px) {
  .home-banner {
    height: 60vh;
    max-height: 500px;
  }
  .grid-view .bb-list .bb-cover-list-item a {
    display: flow-root;
  }
  .bb-course-items.list-view .bb-cover-wrap {
    padding-top: 40%;
  }
}
