.courses {
  font-size: 14px;
  background: white;
  padding: 0;
  border-radius: 5px;
  margin-bottom: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  position: relative;
}
.courses .status {
  display: block;
  position: absolute;
  font-size: 11px;
  color: white;
  height: 20px;
  width: 96px;
  overflow: hidden;
  text-align: center;
  font-weight: 600;
  padding: 0px;
  border-radius: 0 0 5px 5px;
  margin-left: 34px;
  line-height: 20px;
}
.courses .row {
  display: flex;
}
.courses .row .col-sm-2 {
  min-height: 40px;
  display: flex;
}
.courses .row .col-xs-12 {
  padding-top: 15px;
  padding-bottom: 15px;
}
.courses .status span {
}
.courses .status.limited {
  background: #ff6600;
}
.courses .status.soldout {
  background: #d01818;
}

.courses .status.short span {
  width: 71px;
  top: 26px;
  left: -25px;
}
.courses .status.medium span {
  width: 88px;
  top: 19px;
  left: -34px;
}
.courses .status.long span {
  width: 142px;
  top: 61px;
  left: -60px;
}
.courses .date {
  font-size: 18px;
  color: #171718;
  font-weight: 700;
  margin-left: 30px;
  margin-top: 12px;
  padding-top: 15px;
}
.courseDetail .btn-primary {
  background: #247bc2;
  font-size: 14px;
  font-weight: 700;
  border: none;
  padding: 8px 21px;
  border-radius: 5px;
  border: solid 2px #247bc2;
}

.courseDetail .btn-primary.outline {
  border: solid 2px #247bc2;
  background: none;
  color: #247bc2;
}
.courses .btnBlock {
  display: flex;
  justify-content: space-between;
  padding-right: 15px;

  align-items: center;
}
.courses .btnBlock .priceblock {
  display: flex;
  align-items: center;
}
.courses .btnBlock span.btns {
  display: flex;
}
.courses .btnBlock span.btns button {
  margin-left: 10px;
}
.courses .btnBlock span.btns button:first-child {
  margin-left: 0px;
}
.courses .col1,
.courses .col2,
.courses .col3,
.courses .col4 {
  padding: 15px;
  position: relative;
}
.courses .col1 {
  width: 16%;
  padding: 0 0 0 15px;
  display: flex;
  flex: 1;
}
.courses .col2 {
  width: 20%;
  padding-left: 15px;
  padding-right: 15px;
}
.courses .col3 {
  width: 23%;
  position: relative;
  padding: 29px 15px 0 15px;
}
.courses .col3:before {
  content: "";
  position: absolute;
  border-left: solid 1px #e1e2e6;
  right: 0px;
  top: 15px;
  height: calc(100% - 30px);
}
.courses .col4 {
  width: 41%;
  padding-left: 15px;
  padding-right: 15px;
}
.courses .btnBlock .price {
  margin-left: 20px;
  font-size: 22px;
  font-weight: 700;
  min-width: 80px;
}
.courses .btnBlock .oldprice {
  padding-top: 6px;
  font-size: 17px;
  font-weight: 700;
  color: #8f8888;
  text-decoration: line-through;
}

.courses .seatinfo {
  margin-top: 10px;
  display: inline-block;
  background: #fde5ca;
  border-radius: 3px;
  font-size: 11px;
  line-height: 12px;
  padding: 3px 5px;
  color: #ff6600;
}
.courses .time {
  font-size: 14px;
  color: #4d4d52;
  margin-top: 13px;
  padding-left: 20px;
  background: url("/assets/themes/ofabee/img/time.png") no-repeat 0 4px;
}
.addressData {
  position: relative;
}
.addressData:after {
  content: "";
  height: calc(100% - 30px);
  border-right: solid 1px #e1e2e6;
  top: 15px;
  right: 0px;
  position: absolute;
}
.courses .city {
  margin-top: 0px;
  color: #4d4d52;
  font-weight: 600;
  padding-left: 20px;
  background: url("/assets/themes/ofabee/img/location.png") no-repeat 0 4px;
  margin-bottom: 8px;
}
.courses .street {
  color: #81818c;
  padding: 0px 0 8px 20;
  line-height: 22px;
}
.pageBanner {
  height: 326px;
  display: block;
  background-repeat: no-repeat, repeat-x;
  background-size: 100% 100%, cover;
  background-color: #333;
  background-position: 50%;
}
.pageBannerInner {
  display: flex;
  height: 100%;
  align-items: flex-end;
  color: white;
}
.pageBanner h3 {
  font-size: 25px;
  font-weight: 600;
  color: white;
  padding: 10px 0;
  clear: both;
  display: block;
}
.pageBanner h3 .starRate {
  float: right;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  margin-top: 10px;
}
.pageBanner h3 .starRate:after {
  display: block;
  position: absolute;
  left: -20px;
  content: "";
  background: url("/assets/themes/ofabee/img/star-rating-sprite.png") 0 100%;
  width: 16px;
  height: 16px;
  top: -1px;
}
.pageBanner p {
  padding: 10px 0 30px 0;
  font-size: 16px;
  line-height: 20px;
  color: #cbcbcb;
  clear: both;
  display: block;
}
.courseDetail .liveFilter {
  padding: 10px 0;
  height: 50px;
  float: right;
}
.courseDetail .liveFilter select {
  width: auto;
  font-size: 13px;
  color: #929292;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
  background: transparent;
  border: none;
  box-shadow: none;
  background-image: url("/assets/themes/ofabee/img/arrow-down.png");
  background-position: calc(100% - 10px) 50%;
  background-repeat: no-repeat;
}

/* Show more */
/* e6e7ea */
.showmore {
  position: relative;
  text-align: center;
  padding: 15px 0;
}
.showmore:before,
.showmore:after {
  display: block;
  position: absolute;
  width: calc(50% - 85px);
  height: 1px;
  border-top: solid 1px #e6e7ea;
  content: "";

  top: 35px;
}
.showmore:before {
  left: 0px;
}
.showmore:after {
  right: 0px;
}

.courseDetail .contentBox {
  display: block;
  background: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
  padding: 23px;
  margin-bottom: 25px;
}
.courseDetail .contentBox h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
  color: #171718;
  padding-bottom: 10px;
}
.courseDetail .contentBox p {
  color: #505050;
  font-size: 14px;
  line-height: 18px;
  padding: 6px 0;
}
.courseDetail .contentBox ul {
  margin: 0 0 20px 20px;
}
.courseDetail .contentBox ul li {
  padding: 5px 0;
  line-height: 18px;
}
.courseDetail .contentBox h4 {
  font-size: 14px;
  font-weight: 600;
  color: #171718;
  margin: 10px 0;
}


/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
  .pageBanner {
    /* border: solid 10px red; */
  }
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
  .pageBanner {
    /* border: solid 10px blue; */
  }
  .courses .row {
    display: flex;
    flex-direction: column;
  }
  .courses .col1 {
    width: 150px;
    padding: 15px 0 0 15px;
    margin: 0px;
    float: left;
  }

  .courses .status {
    display: none;
  }

  .courses .date {
    padding: 0 0 0 15px;
    margin: 0px;
  }

  .courses .col3 {
    width: 100%;

    clear: both;
    margin-left: 33px;
    padding: 2px 0 0 0;
  }
  .courses .col3:after {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    height: 40px;
    width: 1px;
  }
  /* Column 2 */
  .courses .col2 {
    width: 300px;
    margin: 0px;
    padding: 9px 0 0 0;
    float: left;
  }

  .courses .seatinfo {
    float: left;
    margin-left: 6px;
    margin-top: 11px;
  }
  .courses .time {
    float: left;
  }
  .courses .btnBlock {
    margin-left: 15px;
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
  .pageBanner {
    /* border: solid 10px green; */
  }
  .courses .col3 {
    padding: 10px 30px;
    margin: 0px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
  .pageBanner {
    /* border: solid 10px black; */
  }
  .courses .status.limited {
    position: absolute;
    display: block;
    top: 0px;
    left: -4px;
  }
  .courses .col1 {
    padding-top: 24px;
    order: 2;
  }
  .courses .col2 .time {
    margin-top: 0px;
    margin-left: 20px;
    background: none;
    padding-left: 0px;
  }
  .courses .seatinfo {
    margin-left: 0px;
  }
  .courseDetail .liveFilter {
    width: 100%;
  }
  .courseDetail .liveFilter select {
    width: 100%;
  }
  .courses .col2 {
    display: none;
    padding-top: 0px;
  }
  .courses .col4 {
    position: static;
    width: 100%;
    padding: 0px;
    order: 5;
  }
  .courses .btnBlock .oldprice {
    position: absolute;
    top: 21px;
    left: 150px;
  }
  .courses .col4 div.price {
    position: absolute;
    top: 20px;
    left: 200px;
  }

  .courses .street {
    display: none;
  }
  .courses .col3 {
    padding-top: 0px;
    order: 3;
    padding-bottom: 0px;
  }
  .courses .btnBlock {
    display: block;
  }
  .courses .row .col4 button {
    float: left;
    display: none;
    margin-left: 34px;
    margin-bottom: 10px;
  }
  .moblink {
    display: block;
    width: 30px;
    height: 30px;
    background: url(/assets/themes/ofabee/img/arrowdown.png) no-repeat 50%;
    background-size: 12px;
    right: 10px;
    top: 20px;
    position: absolute;
    z-index: 999;
    order: 1;
  }
  .courses.mobileOpen .moblink {
    transform: rotate(180deg);
  }
  .courses.mobileOpen .street {
    display: block;
  }
  .courses.mobileOpen .col2 {
    display: block;
    order: 4;
    padding-left: 29px;
  }
  .courses.mobileOpen .col4 button {
    display: block;
    margin-top: 10px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {
  .pageBanner {
    border: none;
    /* border-top: solid 10px pink; */
  }
  .courseDetail .liveFilter select {
    width: 100%;
  }
}

.courseDetail .showmore#load-more-activities-btn .btn-primary {
  border: solid 2px #e27f7f;
  color: #e27f7f;
  background: unset;
}