.courses-hubdb {
  padding: 0;
  position: relative;
}
.courses-hubdb .top_banner {
  position: relative;
  background-size: cover;
  padding-top: 216px;
  padding-bottom: 216px;
  -webkit-background-position: center;
  background-position: center;
  background-repeat: no-repeat;
}
.courses-hubdb .top_banner h1 {
    margin: 0 0 8px;
}
.courses-hubdb .top_banner p {
    max-width: 432px;
}
.courses-hubdb .top_banner .bnr-cont > *:last-child {
    margin-bottom: 0;
}

.courses-hubdb .main-sec {
  position: relative;
  z-index: 1;
  margin-top: -64px;
}

.courses-hubdb .tablist {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #303236;
}
.courses-hubdb .course-itm a {
    text-decoration: none;
}

.courses-hubdb .course-card {
  position: relative;
  -webkit-transition: background 0.2s ease-in-out,-webkit-transform 0.1s ease-in-out;
  transition: background 0.2s ease-in-out,transform 0.1s ease-in-out;
  min-height: 192px;
  cursor: pointer;
  border-radius: 5px;
  background-color: #212226;
  padding: 24px;
  color: inherit;

}

.courses-hubdb .tablist-btn {
  margin-right: 24px;
  outline-offset: 2px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  border-bottom: 4px solid transparent;
  color: #8D939F;
  cursor: pointer;
  padding: 20px 8px 16px;
  font-weight: 700;

}
.courses-hubdb .tablist-btn:hover {
  color: #B0B5C0;
}
.courses-hubdb .tablist-btn.active {
  color: #FCFDFF;
  border-color: #0249D5;
}

.courses-hubdb .tab-panels .tabpanel {
    display: none;
}
.courses-hubdb .tab-panels {
  width: 100%;
}

.courses-hubdb .tabpanel-inner {
  width: 100%;
  padding: 0 0 24px;
}

.courses-hubdb .course-grp {
  width: 100%;
  margin: 64px 0;
}

.courses-hubdb .course-grp .course-ttl {
  margin: 0 0 24px;
}

.courses-hubdb .courses-list {
  margin: 0px;
  display: grid;
  grid-row-gap: 24px;
  grid-column-gap: 24px;
  grid-template-columns: 1fr;
}
.courses-hubdb .course-card {
  position: relative;
  -webkit-transition: background 0.2s ease-in-out,-webkit-transform 0.1s ease-in-out;
  transition: background 0.2s ease-in-out,transform 0.1s ease-in-out;
  min-height: 192px;
  cursor: pointer;
  border-radius: 5px;
  background-color: #212226;
  padding: 24px;
  color: inherit;
  color: #FCFCFF;
  overflow: hidden;
}

.courses-hubdb .course-card .card-title {
  color: inherit;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--chakra-line-clamp);
  --chakra-line-clamp: 2;
      font-weight: 400;

}

.courses-hubdb .course-card .card-text {
  margin: 0;
  font-weight: 400;
  line-height: 20px;
  color: #B0B5C0;
  margin-top: 4px;
  font-size: 12px;
  width: 75%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.courses-hubdb .course-card .card-image {
  border-radius: 50%;
  height: 120px;
  width: 120px;
  overflow: hidden;
  position: absolute;
  bottom: -20px;
  right: -32px;
}
.courses-hubdb .course-card .card-image img {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  color: transparent;
}
.courses-hubdb .course-card .card-subject {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 9px;
  text-transform: uppercase;
  line-height: 12px;
  font-weight: 700;
  letter-spacing: 0.012em;
  max-width: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
      letter-spacing: 1.08px;

}
.courses-hubdb .course-card .card-subject .text {
  color: #FCFDFF;
}
.courses-hubdb .course-card .card-subject span.dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: ;
  background: #0249D5;
}
.courses-hubdb .course-card .card-subject.world-language span.dot {
  background: #F69C49;
}
.courses-hubdb .course-card .card-subject.english-language-arts span.dot {
  background: #E45D3A;
}
.courses-hubdb .course-card .card-subject.science span.dot {
  background: #107B4B;
}
.courses-hubdb .course-card .card-subject.history--social-sciences span.dot {
  background: #6B4CC1;
}
.courses-hubdb .course-card .card-subject.electives span.dot {
    background: #000;
}
.courses-hubdb .course-card .card-subject.visual--performing-arts span.dot {
    background: #FCA9A9;
}

.courses-hubdb .course-card:hover {
  background-color: #303236;
}

{# Popup Style #}

.courses-hubdb .item-popup {
  display: none;
}

.courses-hubdb .popup-overlay {
  background: rgba(0,0,0,.48);
  cursor: pointer;
  height: 100vh;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1300;
  visibility: hidden;
}

.courses-hubdb .popup-content {
  display: flex;
  flex-direction: column;
  outline: transparent solid 2px;
  outline-offset: 2px;
  z-index: 1400;
  max-height: 100vh;
  color: inherit;
  background: #1A1B1F;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-width: 480px;
  position: fixed;
  right: 0px;
  top: 0px;
  bottom: 0px;
  width: 100%;
  transform: translateX(100%);
  transition: all .3s;
  overflow-y: auto;
} 



.courses-hubdb .popup-close-btn {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 999;
  color: #FCFDFF;
  font-size: 0.625rem;
  cursor: pointer;

}
.courses-hubdb .popup-close-btn svg {
  width: 10px;
  height: 10px;
}

.courses-hubdb .popup-content .media-grp {
  padding: 64px 24px 24px;
}
.courses-hubdb .popup-content .media-inner {
  overflow: hidden;
  border-radius: 8px;
}
.courses-hubdb .popup-content .media-holder {
  position: relative;
}
.courses-hubdb .popup-content .media-holder:before {
  height: 0px;
  content: "";
  display: block;
  padding-bottom: 56.1869%;
}
.courses-hubdb .popup-content .media-holder img {
  overflow: hidden;
  position: absolute;
  inset: 0px;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.courses-hubdb .popup-content .detail-body {
  padding: 24px;
}
.courses-hubdb .popup-content .detail-bio {
  padding: 0 0 32px;
  margin: 0 0 32px;
  border-bottom: 1px solid #303236;
}
.courses-hubdb .popup-content .detail-name {
  margin: 0 0 8px;
  font-family: Suisse Intl Book,sans-serif;
}
.courses-hubdb .popup-content .detail-text {
  margin: 0 ;
  font-size: 14px;
  line-height: 20px;
}
.courses-hubdb .popup-content .button-grp {
    margin: 32px 0 0;
}
.courses-hubdb .popup-content .detail-desc {
  font-size: 14px;
  line-height: 20px;
}
.courses-hubdb .popup-content .detail-desc h5 {
    margin: 0 0 8px;
}

.courses-hubdb .popup-content .react-player {
  position: relative;
}
.courses-hubdb .popup-content .react-player:before {
  height: 0px;
  content: "";
  display: block;
  padding-bottom: 56.1869%;
}
.courses-hubdb .popup-content .react-player iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.courses-hubdb .item-popup.active-tab {
  opacity: 1;
  visibility: visible;
  display: block;
}

.courses-hubdb .item-popup.active-tab .popup-overlay {
  opacity: 1;
  visibility: visible;
}
.courses-hubdb .item-popup.active-tab.show .popup-content {
  transform: translateX(0);
}

@media screen and (min-width: 768px) {
  .courses-hubdb .courses-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .courses-hubdb .courses-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1360px) {

  .courses-hubdb .courses-list {
    grid-template-columns: repeat(4, 1fr);
  }
}


@media screen and (max-width: 767px) {
.courses-hubdb .tablist-btn {
    flex: 1 1 0%;
}
}