@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

body {
  font-family: "Open Sans", sans-serif;
}

.dark,
.dark p,
.dark td {
  color: #fff;
  line-height: 1.6;
}

.box-text a:not(.button),
.box-text h1,
.box-text h2,
.box-text h3,
.box-text h4,
.box-text h5,
.box-text h6,
.box-text p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
b,
strong {
  font-weight: 700;
}

.icon-box-img img,
.icon-box-img svg {
  padding: 0;
}

.flickity-page-dots .dot {
  background-color: #fff;
  opacity: 1;
}

.slider-nav-light .flickity-page-dots .dot.is-selected,
.slider-nav-light.slider-nav-dots-simple .flickity-page-dots .dot {
  background-color: var(--fs-color-primary);
  border-color: var(--fs-color-primary);
}

.button {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  border-radius: 5px;
  min-width: 180px;
}

.button.is-outline {
  border-width: 1px;
}

#masthead .nav > li {
  margin: 0 10px;
}

#masthead .nav > li > a {
  font-size: 16px;
  text-transform: none;
}

.header-breadcrumbs {
  padding: 8px 0;
  background-color: #f0f0f0;
}

.header-breadcrumbs * {
  font-size: 14px;
  color: rgba(33, 45, 51, 1);
}

.archive-page-header {
  display: none;
}

.slider.flickity-enabled button.flickity-prev-next-button {
  border-radius: 99px;
  width: 2.5rem;
  height: 2.5rem;
  top: 50%;
  bottom: unset;
  transform: translateY(-50%) !important;
  border: 0;
  border: 1px solid rgb(229, 231, 235);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  opacity: 1 !important;
  margin-top: unset;
  background-color: #fff;
}

.slider.flickity-enabled
  button.flickity-prev-next-button
  svg.flickity-button-icon {
  width: 2rem;
  height: 2rem;
  background-color: transparent !important;
  border-color: transparent !important;
  fill: #242424 !important;
}

.slider.flickity-enabled
  button.flickity-prev-next-button
  svg.flickity-button-icon
  path {
  fill: #242424 !important;
}

/* home */
.home2 {
  padding-top: 50px;
  padding-bottom: calc(50px - 30px);
}

.home2 h2 {
  text-transform: uppercase;
  margin-bottom: 30px;
}

.home2 h2:after {
  width: 40px;
  height: 4px;
  content: "";
  background-color: var(--fs-color-primary);
  position: absolute;
  left: 0;
  top: -15px;
}

.home2 iframe {
  border-radius: 15px;
  overflow: hidden;
}

.home3 {
  padding-top: 50px;
  padding-bottom: calc(50px - 30px);
}

.home4.course6 {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: var(--fs-color-primary);
}

.home4 .course-detail .box-detail__item .content {
  background-color: #f5f5f5;
}

.home4 .course-detail .box-detail__item .title h3 {
  background-color: #fff;
}

.home4 h2 {
  color: #fff;
}

.course6 .col-inner {
  height: 100%;
  background-color: #f5f5f5;
}

.course-detail .box-detail__item .content {
  padding: 15px;
}

.home5 {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #f5f5f5;
}

.home5 .container-slider {
  max-width: 1280px;
}

.home5 .slider .img-inner {
  margin: 0 15px;
}

.home5 .slider .img-inner img {
  border-radius: 15px;
}

.home5 .flickity-page-dots {
  bottom: -30px;
}

.home6 {
  background-color: #fff;
}

.home7 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.css-content table {
  border-spacing: 0;
  border-collapse: collapse;
  width: 100% !important;
  margin-bottom: 20px;
  display: inline-table;
  overflow: auto;
}

.css-content table td {
  font-size: 16px;
  color: #333333;
}

.css-content table tr:first-child {
  background: #d1232a !important;
  height: 50px !important;
}

.css-content table tr:first-child {
  height: 50px !important;
}

.css-content table td {
  padding: 10px 15px 0 15px;
  border: 1px solid #d6d8db;
}

.css-content table tr:first-child td {
  color: #fff;
}

.home9 {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #f5f5f5;
}

.home9 .wpcf7 p {
  display: flex;
  align-items: center;
}

.home9 .wpcf7 label {
  width: 100px;
}

.home9 .wpcf7 .wpcf7-form-control-wrap {
  width: calc(100% - 100px);
}

.home9 .wpcf7 input,
.home9 .wpcf7 select,
.home9 .wpcf7 textarea {
  box-shadow: none !important;
  border: 1px solid var(--fs-color-primary);
  border-radius: 5px;
}

.home9 .wpcf7 input.wpcf7-submit {
  margin: 0;
  background-color: var(--fs-color-primary) !important;
  font-size: 16px;
  width: 150px;
  text-align: center;
}

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

.home10 .video {
  border-radius: 16px;
  overflow: hidden;
}

/* course */
.page-header-excerpt {
  display: none;
}

.course2 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.course3,
.course5 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.course4,
.course6 {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #f5f5f5;
}

.course4 .row .col-inner {
  height: 100%;
}

.container ul,
.container ol {
  padding-left: 20px;
}

blockquote {
  background: #ededed;
  margin-left: 20px;
  margin-right: 20px;
  padding: 10px;
  border-left: 5px solid var(--fs-color-primary);
  margin-left: 0;
}

.course-detail .box-detail__item .title {
  position: relative;
}

.course-detail .box-detail__item .title:before {
  width: 63px;
  height: 50px;
  background-position: -83px -75px;
  position: absolute;
  top: -15px;
  left: 3px;
  content: "";
  background-image: url(/wp-content/uploads/ico-fonts2.png);
  background-repeat: no-repeat;
}

.course-detail .box-detail__item .title h3 {
  background: rgb(24, 93, 150, 0.2);
  color: var(--fs-color-primary);
  padding: 7px 10px 7px 60px;
  font-weight: bold;
  font-size: 14px;
  margin: 0;
}

.course-detail .box-detail__item .content {
  min-height: 220px;
  padding-bottom: 20px;
  background-color: #fff;
}

.course-detail .box-detail__item .content ul {
  padding: 7px 0;
  list-style: none;
  margin-bottom: 0;
}

.course-detail .box-detail__item .content ul li {
  line-height: 23px;
  padding: 8px 10px 8px 30px;
  position: relative;
  margin: 0;
}

.course-detail .box-detail__item .content ul li:before {
  content: "";
  position: absolute;
  background-image: url(/wp-content/uploads/ico-fonts2.png);
  width: 30px;
  height: 15px;
  background-position: -13px -114px;
  left: 0;
  background-repeat: no-repeat;
}

.home11 .gallery-col .box-image img {
  height: 100px;
  object-fit: contain;
  transform: scale(1.1);
  width: 100%;
}

.doctor-row .box-image {
	z-index: 2;
}

.doctor-row .box-text {
  background-color: #ffffff;
  padding-top: 50px;
  top: -30px;
  z-index: 1;
  border-radius: 4px;
}

.doctor-row .box-text h4 {
  margin-bottom: 10px;
}

.course7 {
  background-color: #f5f5f5;
}

/* khoahoc-item */
.khoahoc-item .box {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
}

.khoahoc-item .box-text {
  padding: 15px;
  font-size: 100%;
}

.khoahoc-item .box-text .post-title {
  margin-bottom: 7.5px;
}

.khoahoc-item .box-text .post-excerpt {
  font-size: 16px;
  line-height: 22px;
  color: #636363;
  max-height: 130px;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  display: -webkit-box;
}

.khoahoc-item .box-text .button {
  width: 100%;
  border-radius: 99px;
}

.khoahoc-item.hidden-item {
  display: none;
}

#toggle-khoahoc {
  background-color: #fff;
  color: var(--fs-color-primary);
  border-radius: 99px;
  font-weight: 700;
  margin-top: 30px;
}

/* post-item */
.post-item .box {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid #e5e5e5;
  gap: 15px;
}

.post-item .box-image {
  width: 35%;
}

.post-item .box-image img {
  border-radius: 8px;
}

.post-item .box-text {
  width: 65%;
  padding: 0;
}

.post-item .post-title {
  margin-bottom: 10px;
}

.post-item .post-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-item .from_the_blog_excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box-blog-post .is-divider {
  display: none;
}

span.widget-title {
  background: var(--primary-color);
  display: block;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-weight: 500;
  text-transform: uppercase;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.post_comments,
.widget .is-divider {
  display: none;
}

.recent-blog-posts-li .badge,
.recent-blog-posts-li .badge-inner {
  width: 100px;
  height: 70px;
  border-radius: 5px;
}

.recent-blog-posts-li .flex-col.flex-grow {
  max-width: calc(100% - 100px);
}

.widget ul {
  padding: 0 8px;
  border: 1px solid var(--fs-color-primary);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.widget ul .mr-half {
  margin-right: 10px;
}

.recent-blog-posts a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.nav-pagination > li > a,
.nav-pagination > li > span {
  height: 38px;
  width: 38px;
  line-height: 32px;
  border-radius: 4px;
}

.contact-1 .col {
  padding-bottom: 0;
}

.contact-1 .row-main > .col:first-child > .col-inner {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
}

.contact-1 .col input[type="email"],
.contact-1 .col input[type="number"],
.contact-1 .col input[type="tel"],
.contact-1 .col input[type="text"],
.contact-1 .col textarea {
  box-shadow: unset !important;
  border-radius: 8px !important;
  height: 45px !important;
  margin-bottom: 30px;
}

.contact-1 input[type="submit"] {
  margin: 0;
  font-size: 16px;
  text-transform: none;
  font-weight: 600;
  border-radius: 8px;
}

#footer {
  background-color: var(--fs-color-primary);
  color: #fff;
  padding-top: 30px;
}

.absolute-footer.dark {
  display: none !important;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .post-item .box-image {
    width: 35% !important;
  }

  .post-item .box-image .image-cover {
    padding-top: 80% !important;
  }
}