:root {
  --tp-ff-body: 'Roboto', sans-serif;
  --tp-ff-heading: 'Roboto', sans-serif;
  --tp-ff-p: 'Roboto', sans-serif;
  --tp-ff-fontawesome: "Font Awesome 6 Pro";
  --tp-ff-eleganticons: "ElegantIcons";
  --tp-common-white: #ffffff;
  --tp-common-black: #000;
  --tp-heading-primary: #000f2f;
  --tp-grey-1: #f5f5f5;
  --tp-grey-2: #f5f7fb;
  --tp-text-body: #333f59;
  --tp-text-2: #7e8188;
  --tp-text-3: #949db1;
  --tp-text-4: #737383;
  --tp-theme-primary: #2c79ff;
  --tp-theme-secondary: #ffa423;
  --tp-theme-bg: #0e2d62;
  --tp-theme-bg-2: #020c2a;
  --tp-border-1: #000f2f;
  --tp-border-2: #eeeff0;
}

.live_main {
  background-color: #f5f5f5;
}

.grey-bg-2 {
  background: #f5f7fb;
}

.white-bg {
  background: #ffffff;
}

.w-img img {
  width: 100%;
}

.tp-courses-2__item {
  border-radius: 6px;
  overflow: hidden;
  font-size: 14px;
}

.tp-courses-2__thumb a {
  font-size: 14px;
  padding: 5px 14px;
  border-radius: 5px;
  background-color: #0A8DFF;
  color: #ffffff !important;
  position: absolute;
  right: 25px;
  top: 20px;
  display: none;
}

.tp-courses-2__thumb a:hover {
  background-color: var(--tp-theme-secondary);
  transition: all 0.3s ease-out 0s;
}

.tp-courses-2__item:hover .tp-courses-2__thumb a {
  display: block;
  cursor: pointer;
}

.tp-courses-2__item:hover .tp-courses-2__thumb img {
  transform: scale(1.05, 1.05) rotate(2deg);
}

.tp-courses-2__thumb img {
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

.tp-courses-2__cat a {
  padding: 3px 20px;
  border-radius: 4px;
  color: var(--tp-common-white);
  display: inline-block;
  background-color: var(--tp-theme-primary);
}

.tp-courses-2__cat.cat-color-1 a {
  background-color: rgba(177, 40, 255, 0.08);
  color: #b128ff;
}

.tp-courses-2__cat.cat-color-2 a {
  background-color: rgba(50, 112, 252, 0.08);
  color: var(--tp-theme-primary);
}

.tp-courses-2__cat.cat-color-3 a {
  background-color: rgba(48, 168, 32, 0.08);
  color: #30a820;
}

.tp-courses-2__content {
  padding-top: 15px;
  padding-bottom: -30px;
  box-shadow: 0px 1px 2px 0px rgba(34, 22, 56, 0.1);
}

.tp-courses-2__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
  padding-right: 15px;
  padding-left: 15px;
}

.tp-courses-2__title a:hover {
  color: var(--tp-theme-primary);
}

.tp-courses-2__price {
  font-size: 13px;
  font-weight: 700;
}

.tp-courses-2__xuefen {
  font-size: 14px;
  font-weight: 100;
}

.tp-courses-2__meta {
  margin-bottom: 15px;
  padding-right: 10px;
  padding-left: 10px;
}

@media (max-width: 575px),
only screen and (min-width: 576px) and (max-width: 767px) {
  .tp-courses-2__sub {
    margin-bottom: 0px;
  }
}

.tp-courses-2__sub i {
  margin-right: 8px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-courses-2__review {
    display: none;
  }
}

.tp-courses-2__bottom {
  padding: 15px;
  border-top: 1px solid var(--tp-border-2);
}

.tp-courses-2__review span i {
  color: var(--tp-theme-secondary);
}



.tp-event-2__item {
  padding: 15px 40px;
  box-shadow: 0px 30px 50px 0px rgba(4, 5, 60, 0.1);
  border-radius: 6px;
  background-color: var(--tp-common-white);
}

.tp-event-2__item:hover .tp-event-2__thumb img {
  transform: scale(1.05, 1.05) rotate(2deg);
}

@media (max-width: 575px),
only screen and (min-width: 576px) and (max-width: 767px) {
  .tp-event-2__item {
    padding: 30px 25px;
  }
}

.tp-event-2__item .tp-border-btn span {
  border-color: rgba(50, 112, 252, 0.08);
  color: #020c2a;
  padding: 4px 25px;
}

.tp-event-2__item .tp-border-btn:hover span {
  color: var(--tp-common-white);
}

@media (max-width: 575px),
only screen and (min-width: 576px) and (max-width: 767px),
only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-event-2__content {
    margin-bottom: 30px;
  }
}

.tp-event-2__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}

.tp-event-2__title a:hover {
  color: var(--tp-theme-primary);
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tp-event-2__title {
    font-size: 22px;
  }
}

.tp-event-2__info span {
  color: var(--tp-text-3);
}

@media (max-width: 575px),
only screen and (min-width: 576px) and (max-width: 767px) {
  .tp-event-2__info {
    margin-bottom: 30px;
  }
}

.tp-event-2__date span {
  border-right: 1px solid;
  display: inline-block;
  padding-right: 30px;
  border-color: rgba(0, 15, 47, 0.1);
}

@media (max-width: 575px),
only screen and (min-width: 576px) and (max-width: 767px) {
  .tp-event-2__date span {
    border: 0;
  }
}

.tp-event-2__date span b {
  display: block;
  font-size: 40px;
  line-height: 1.2;
}

@media (max-width: 575px),
only screen and (min-width: 576px) and (max-width: 767px) {
  .tp-event-2__date {
    margin-bottom: 30px;
  }
}

.tp-courses-2__sub img {
  margin-right: 2px;
  margin-bottom: 3px;
  width: 14px;
}

.tp-event-2__meta img {
  margin-right: 2px;
  margin-bottom: 3px;
  width: 28px;
}

.tp-event-2__time {
  border-radius: 8px;
  overflow: hidden;
  display: inline-block;
}

@media (max-width: 575px),
only screen and (min-width: 576px) and (max-width: 767px) {
  .tp-event-2__time {
    margin-bottom: 20px;
  }
}

.tp-event-2__time span {
  background-color: rgba(50, 112, 252, 0.06);
  padding: 2px 15px;
  display: inline-block;
  border-radius: 8px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tp-event-2__time span {
    padding: 5px 15px;
    margin-right: 0;
  }
}

@media (max-width: 575px),
only screen and (min-width: 576px) and (max-width: 767px),
only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-event-2__time span {
    padding: 5px 10px;
    margin-right: 0;
  }
}

.tp-event-2__time.color-1 {
  background-color: rgba(50, 112, 252, 0.06);
  color: #3270fc;
}

.tp-event-2__time.color-2 {
  background-color: rgba(177, 40, 255, 0.06);
  color: #b128ff;
}

.tp-event-2__time.color-3 {
  background-color: rgba(48, 168, 32, 0.06);
  color: #30a820;
}

.tp-event-2__time.color-4 {
  background-color: rgba(255, 138, 0, 0.06);
  color: #ff8a00;
}

.tp-event-2__shapes-1 {
  position: absolute;
  top: 110px;
  left: 50%;
  animation: tp-float-1 6s infinite alternate;
}

@media (max-width: 575px),
only screen and (min-width: 576px) and (max-width: 767px),
only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-event-2__shapes-1 {
    top: 50px;
  }
}

.tp-event-2__shapes-2 {
  position: absolute;
  top: 60%;
  left: 5%;
  animation: tp-float-2 8s infinite alternate;
}

@media only screen and (min-width: 992px) and (max-width: 1199px),
(max-width: 575px),
only screen and (min-width: 576px) and (max-width: 767px),
only screen and (min-width: 768px) and (max-width: 991px),
only screen and (min-width: 1200px) and (max-width: 1399px) {
  .tp-event-2__shapes-2 {
    display: none;
  }
}

.tp-event-2__shapes-3 {
  position: absolute;
  top: 50%;
  right: 0;
  animation: tpswing 1s ease-in-out 1s forwards infinite alternate;
  transform-origin: top bottom;
}

.mb-30 {
  margin-bottom: 15px;
}

.list_fy {
  text-align: center;
}

.d-flex {
  display: flex !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.mt-1 {
  margin-top: 3px;
}

@media (max-width: 567px) {
  .tp-courses-2__meta {
    margin-bottom: 10px;
  }

  .tp-courses-2__title {
    margin-bottom: 5px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 14px;
  }

  .tp-courses-2__bottom {
    padding: 5px;
    font-size: 12px;
  }
}

dialog .modal-dialog {
  max-width: 768px;
  margin: 0 auto;
}

.modal-dialog .modal-content .modal-body .palyer {
  width: calc(50vw - 20px - 2rem);
}

.play-video {
  width: 100%;
  height: 395px;
  max-width: 800px;
}

@media (max-width: 992px) {
  .play-video {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .play-video {
    height: 200px;
  }
}

@media (max-width: 567px) {
  .modal-dialog .modal-content .modal-body .palyer {
    width: calc(87vw - 20px - 1.6rem);
  }

  .course__tab-inner {
    margin-left: -7.5px;
    margin-right: -7.5px;
  }

  .modal-header {
    padding: 0.5rem 0.7rem;
  }

  .modal-title {
    font-size: 16px;
  }

  .play-video {
    height: 176px;
  }

  .modal-body {
    padding: 0.7rem;
  }
}