body {
  padding-top: 0;
}

.rg-navbar-head,
.rg-navbar-mobile,
.rg-navbar-head .product-dropdown {
  background-color: transparent;
}

.page-content {
  position: relative;
}

.rg-section {
  padding: 70px 0;
}

.rg-title {
  font-size: 45px;
  color: #333333;
  font-weight: bold;
  padding-bottom: 20px;
  text-align: center;
}

@media (max-width: 1300px) {
  .rg-section {
    padding: 30px 0;
  }

  .rg-title {
    font-size: 30px;
  }
}

.rg-desc {
  font-size: 16px;
  color: #333333;
  padding-bottom: 50px;
  text-align: center;
}

.rg-product {
  background-color: #ffffff;
  padding-top: 50px;
  padding-bottom: 50px;
}

.rg-product .product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding-right: 15%;
  height: 100%;
}

.rg-product .product-desc {
  text-align: right;
  padding-left: 30%;
  padding-bottom: 30px;
}

@media (max-width: 1300px) {
  .rg-product {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .rg-product .rg-title {
    padding: 0;
  }

  .rg-product .product-info {
    padding: 0 0 15px;
    align-items: center;
  }

  .rg-product .product-desc {
    padding: 20px;
    text-align: center;
  }
}

.view-more {
  background-color: #007aff;
  width: 170px;
  height: 50px;
  border-radius: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.view-more:hover {
  text-decoration: none;
}

.view-more-text {
  font-size: 18px;
  line-height: 50px;
  color: #ffffff;
  margin-right: 10px;
}

.view-more .fa {
  font-size: 18px;
  color: #ffffff;
}

.rg-course .view-more {
  width: 200px;
}

.rg-pro .product-info {
  align-items: flex-start;
  padding-left: 15%;
  padding-right: 0;
}

.rg-pro .product-desc {
  text-align: left;
  padding-left: 0;
  padding-right: 30%;
}

@media (max-width: 1300px) {
  .rg-pro .product-info {
    padding: 0 0 15px;
    align-items: center;
  }

  .rg-pro .product-desc {
    padding: 20px;
    text-align: center;
  }
}

.course-sub-box {
  text-align: center;
}
.course-sub-title {
  display: inline-block;
  font-size: 20px;
  color: #333;
  text-align: center;
  padding-bottom: 15px;
  position: relative;
}
.course-sub-title:before {
  content: " ";
  width: 50px;
  height: 0;
  border-top: 1px solid #333;
  position: absolute;
  left: -60px;
  top: 15px;
}
.course-sub-title:after {
  content: " ";
  width: 50px;
  height: 0;
  border-top: 1px solid #333;
  position: absolute;
  right: -60px;
  top: 15px;
}
@media (max-width: 1300px) {
  .course-sub-title {
    font-size: 16px;
  }
  .course-sub-title:before {
    width: 20px;
    left: -30px;
    top: 12px;
  }
  .course-sub-title:after {
    width: 20px;
    right: -30px;
    top: 12px;
  }
}

.rg-video {
  padding-top: 30px;
}

@media (max-width: 1300px) {
  .rg-video {
    padding-top: 0;
  }
}

.news-horizontal {
  color: #333;
  border-bottom: 1px solid #ccc;
  padding-top: 20px;
  padding-bottom: 15px;
  text-decoration: none;
}

.news-horizontal:hover {
  color: #333;
  text-decoration: none;
}

.news-list .news-horizontal:last-child {
  border-bottom: 0;
}

.news-horizontal .news-title {
  font-size: 40px;
  font-weight: bold;
  color: #0068b7;
  line-height: 48px;
}

.news-horizontal .news-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.news-horizontal .news-logo img {
  width: 100px;
}

.news-horizontal .news-en-title {
  font-size: 24px;
  font-weight: bold;
  color: #0068b7;
  line-height: 30px;
}

.news-horizontal .news-sub-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.news-horizontal .news-desc {
  font-size: 14px;
  line-height: 24px;
}

.news-horizontal .news-image img {
  width: 100%;
}

.news-list .David .news-title {
  font-size: 30px;
}

.news-list .David .news-en-title {
  font-size: 16px;
}

@media (max-width: 1000px) {
  .news-list .news-horizontal:first-child {
    border-top: 1px solid #ccc;
  }

  .news-horizontal .news-title,
  .news-list .David .news-title {
    font-size: 20px;
    line-height: 30px;
  }

  .news-horizontal .news-desc {
    margin-bottom: 15px;
  }

  .news-horizontal .news-sub-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .news-horizontal .news-en-title,
  .news-list .David .news-en-title {
    font-size: 20px;
  }

  .news-horizontal .news-sub-title {
    font-size: 18px;
    margin-top: 10px;
  }
}

.contact .store-item {
  color: #333333;
  padding-bottom: 30px;
}

.contact .store-item a {
  color: #007bff;
  text-decoration: underline;
}

.contact .store-name {
  font-size: 16px;
  text-align: center;
}

.contact .rg-desc {
  font-size: 22px;
  padding-bottom: 20px;
}

.text-justify {
  text-align: justify !important;
}

.center-text {
  padding: 0 15%;
}

@media (max-width: 1000px) {
  .center-text {
    padding: 0;
  }
}
