@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Quicksand:wght@300..700&display=swap");

body {
  font-family: "Quicksand", 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;
}

.title h2 {
  position: relative;
  font-size: 32px;
  padding: 10px 0;
  width: fit-content;
  margin: 0 auto;
  text-transform: uppercase;
}

.icon-title h2::before {
  content: "";
  background-image: url(/wp-content/uploads/hoai-anh-2.webp);
  width: 90px;
  height: 90px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: -55px;
  right: -50px;
}

.button {
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  border-radius: 5px;
  margin: 0;
}

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

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

#nav_menu-3 ul.sub-menu {
  display: block !important;
  margin: 0;
  border: 0;
}

#nav_menu-3 ul.menu > li + li {
  border: 0;
}

#nav_menu-3 ul.menu > li > a {
  color: var(--fs-color-primary);
  font-size: 16px;
  font-weight: 700;
}

#nav_menu-3 ul.menu > li li > a {
  font-size: 16px;
  font-weight: 500;
  color: #707070;
}

#nav_menu-3 ul.menu > li li.current-menu-item > a {
  font-weight: 600;
  color: var(--fs-color-primary);
}

#breadcrumbs {
  margin-bottom: 10px;
  font-weight: 500;
}

h1.category-title {
  text-align: center;
  margin-bottom: 15px;
}

.blog-wrapper > .row.row-small {
  padding: 15px 3px;
  background: #fff;
  border: 1px solid var(--fs-color-primary);
  border-radius: 10px;
  max-width: 1219px;
}

.widget .toggle:not(.accordion .toggle) {
  display: none;
}

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

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

div.entry-image,
h6.entry-category,
.entry-divider.is-divider {
  display: none;
}

.blog-single {
  background-color: #f8f8fa;
}

#detail-post {
  background: #fff;
  border-radius: 10px;
  padding: 30px 5px;
  background-size: auto;
  background-repeat: repeat-x;
  margin-left: 0;
  margin-right: 0;
}

#detail-post .post {
  margin-bottom: 0;
}

#detail-post .entry-meta {
  font-size: 16px;
  font-weight: 500;
}

#detail-post .entry-content {
  padding: 0;
}

#ftwp-container.ftwp-wrap #ftwp-contents,
#ftwp-container.ftwp-wrap #ftwp-list {
  height: auto !important;
}

#ftwp-container.ftwp-wrap #ftwp-contents {
  border: 0 !important;
}

#ftwp-container.ftwp-wrap #ftwp-header,
#ftwp-container.ftwp-wrap #ftwp-list {
  background: rgb(7, 76, 77, 10%) !important;
}

#ftwp-container #ftwp-list.ftwp-list-nest.ftwp-colexp-icon .ftwp-anchor {
  padding-left: 10px;
}

#ftwp-container #ftwp-list.ftwp-list-nest.ftwp-colexp .ftwp-icon-collapse,
#ftwp-container #ftwp-list.ftwp-list-nest.ftwp-colexp .ftwp-icon-expand {
  padding: 0;
  position: absolute;
  right: -8px;
  left: unset;
  top: 5px;
}

#ftwp-container.ftwp-wrap #ftwp-list .ftwp-text::before {
  background: rgb(7, 76, 77, 50%) !important;
}

#fixedtoc-2.ftwp-widget-fixed #ftwp-contents {
  top: 120px !important;
}

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

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

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

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

.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;
  font-weight: 600;
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.3;
}

.widget > img {
  border-radius: 6px;
}

.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;
}

.header-nav-top {
  justify-content: end;
  margin-bottom: 10px;
}

.header-nav-top input[type="search"] {
  border: 1px solid transparent !important;
  color: #333;
  padding: 3px 10px;
  height: 35px !important;
  width: 100%;
  min-width: 250px;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.76);
  border-radius: 5px !important;
  background-color: #fff;
}

@media screen and (min-width: 850px) {
  #detail-post .large-3 {
    flex-basis: 240px;
    max-width: 240px;
  }

  #detail-post .large-6 {
    flex-basis: calc(100% - 480px);
    max-width: calc(100% - 480px);
  }
}

/* home */
.home2,
.home3 {
  padding: 50px 0;
}

.home2 .title {
  margin-bottom: 10px;
}

.home2 .box {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--fs-color-primary);
}

.home2 .box img {
  object-position: top;
  border-radius: 10px;
}

.home2 .box .box-text {
  padding: 0;
  padding-top: 15px;
}

.home2 .box .box-text h3 {
  font-size: 1.25rem;
}

.home2 .box .box-text .is-divider {
  display: inline-block;
  background-color: var(--fs-color-primary);
  margin-left: 5px;
  margin-right: 5px;
  position: relative;
  top: 20px;
}

.home3 .container .section {
  padding: 10px 12px !important;
  opacity: 1;
}

.home3 .row.row-collapse {
  box-shadow: 0 1px 6px 0 var(--fs-color-primary);
  border-radius: 10px;
  overflow: hidden;
}

.home3 .text-box {
  padding: 15px;
}

.home3 .text-box p {
  margin-bottom: 0;
}

.home3 .flickity-prev-next-button .arrow,
.home3 .flickity-prev-next-button svg {
  fill: var(--fs-color-primary);
  width: 16px;
  padding: 0;
}

.home3 .flickity-prev-next-button.previous {
  left: -20px;
}

.home3 .flickity-prev-next-button.next {
  right: -20px;
  left: unset;
}

.home4 {
  padding: 50px 0;
  background-color: rgb(7, 76, 77, 5%);
}

.home4 .box img {
  border-radius: 10px;
}

.home4 .flickity-prev-next-button {
  opacity: 1;
}

.home4 .flickity-prev-next-button svg {
  color: var(--fs-color-primary);
}

.home5 {
  padding: 50px 0;
}

.home5 .col-images img {
  height: 100%;
  width: auto;
  margin: 0 auto;
}

.box-author {
  border: 1px solid var(--fs-color-primary);
  border-radius: 15px;
  padding: 5px 15px;
  position: relative;
}

.box-author h3 {
  background: #fff;
  width: 100%;
  max-width: max-content;
  height: auto;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 15px;
  margin: 0;
  position: absolute;
  top: -24px;
  font-size: 24px;
}

.box-author .text-content {
  height: 200px;
  overflow: auto;
  padding: 10px 15px;
  margin-bottom: 30px;
  padding-top: 0 !important;
  text-align: justify !important;
  margin-top: 30px;
}

.box-author .text-content::-webkit-scrollbar {
  width: 5px;
}

.box-author .text-content::-webkit-scrollbar-thumb {
  background-color: var(--fs-color-primary);
  border-radius: 10px;
}

.box-author .text-content::-webkit-scrollbar-track {
  background-color: #0002;
}

.home5 .img-title {
  max-width: 478px;
  margin: 0 auto;
  margin-bottom: 30px !important;
}

.home6 .nav > li {
  margin: 0 5px;
}

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

.home6 .gallery-icon {
  border-radius: 10px;
  overflow: hidden;
}

.home7 {
  padding: 50px 0;
}

.home7 .blogs .post-item:first-child .post-title {
  font-size: 20px;
}

.home7 .blogs .post-item:not(:first-child) .box {
  display: flex;
}

.home7 .blogs .post-item:not(:first-child) .box-image {
  width: 30%;
}

.home7 .blogs .post-item:not(:first-child) .box-text {
  width: 70%;
  padding: 0;
  padding-left: 15px;
}

.home8 {
  padding: 50px 0;
}

.home8 .col-left .img {
  max-width: 380px;
  margin: 0 auto;
}

.box-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: 1px solid #074c4d;
  width: 100%;
  max-width: 350px;
  height: 50px;
  gap: 20px;
  padding: 10px;
  position: relative;
  margin: 40px auto 0;
}

.box-contact p {
  color: #074c4d;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  cursor: pointer;
  margin: 0;
}

.box-contact p a {
  color: #074c4d;
}

.box-contact p:first-child {
  border-right: 1px solid #074c4d;
  padding-right: 20px;
}

.box-contact:before {
  content: "";
  background-image: url(/wp-content/uploads/hoai-anh-2.webp);
  width: 60px;
  height: 60px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: -40px;
  right: -40px;
}

.home8 .form-box {
  width: 499.544px;
  height: 510px;
  position: relative;
}

.home8 .form-box .box-img {
  background-image: url(/wp-content/uploads/hoaianh-1.webp);
  background-color: transparent;
  padding: 0;
  background-size: 100% 100%;
  height: 100%;
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.home8 .form-box .img {
  max-width: 300px;
  margin-bottom: 15px;
}

.home8 .wpcf7 {
  max-width: 351px;
  margin-left: -25px;
}

.home8 .wpcf7 label {
  color: #074c4d;
  font-weight: 500;
  line-height: 1.25em;
  width: auto;
  font-size: 14px;
  text-align: left;
  display: block;
}

.home8 .wpcf7 input,
.home8 .wpcf7 textarea {
  margin-top: 5px;
  border-radius: 5px;
  box-shadow: none !important;
  border: 1px solid #108667;
}

.home8 .wpcf7 input.wpcf7-submit {
  margin: 0 auto;
  display: block;
}

.wpcf7-spinner {
  display: none;
}

.home8 form {
  margin-bottom: 0;
}

.home9 {
  padding: 50px 0;
  background-color: #fee6e8;
}

.home9 .flickity-prev-next-button svg {
  width: 30px;
  color: var(--fs-color-primary);
  fill: var(--fs-color-primary);
}

.scroll_y {
  overflow-y: scroll;
  overflow-x: hidden;
}

.scroll_y::-webkit-scrollbar-thumb {
  background: var(--fs-color-primary);
  border-radius: 5px;
}

.scroll_y::-webkit-scrollbar-track {
  background: #f2f2f2;
}

.scroll_y::-webkit-scrollbar {
  width: 5px;
}

/* about */
.about1 {
  padding: 40px 0;
  background-color: #f6f6f8;
}

.about1 .row {
  padding-top: 40px;
  padding-bottom: 40px;
  box-shadow: 0 1px 6px 0 var(--fs-color-primary);
  border-radius: 12px;
  overflow: hidden;
}

.about1 .row .col {
  padding-bottom: 0;
}

.about1 .text-box {
  overflow: auto;
  max-width: 100%;
  max-height: 290px;
}

.about2 {
  padding: 40px 0;
}

.about3 {
  padding: 50px 0 20px;
  background-color: #f6f6f8;
}

.about3 .icon-box {
  background-color: #fff;
  padding: 40px 20px;
  border-radius: 12px;
}

.about3 .icon-box h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

.about3 .icon-box h4 {
  margin-bottom: 10px;
}

.about3 .icon-box .scroll_y {
  text-align: justify;
  line-height: 24px;
  letter-spacing: 0.3px;
  border-top: 1px solid #ccc;
  padding-top: 16px;
  color: #333;
  max-height: 250px;
  overflow-y: auto;
}

.about3 .icon-box .scroll_y * {
  text-align: justify;
}

.about4 {
  padding: 40px;
  background: linear-gradient(
    180deg,
    #fddfeb 0,
    rgba(253, 223, 235, 0.62) 0.01%,
    rgba(228, 234, 255, 0.34) 100%
  );
}

.leader-title-wrapper {
  display: flex;
  background: var(--fs-color-primary);
  padding: 30px 0;
  position: relative;
  width: 1220px;
  margin: 0 auto;
  border-radius: 6px;
}

.leader-title-left {
  flex: 1;
}

.leader-title-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.leader-title-right h2 {
  font-size: 32px;
  color: #fff;
  margin: 0;
  text-align: center;
}

.leader-content {
  display: flex;
  align-items: flex-start;
}

.leader-image {
  flex: 1;
  position: relative;
  z-index: 2;
}

.leader-image img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
  position: relative;
  top: -85px;
}

.leader-image .img .img-inner {
  overflow: unset;
}

.leader-text {
  flex: 1;
  padding-left: 30px;
  padding-top: 30px;
  text-align: justify;
}

.leader-sign {
  text-align: right;
  margin-top: 20px;
  font-style: italic;
}

.about5 {
  padding: 40px 0;
  background-color: #f6f6f8;
}

.about5 .col-inner {
  box-shadow: 0 1px 6px 0 var(--fs-color-primary);
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 20px !important;
  background-color: #fff;
  padding: 15px;
}

.about5 .col-inner .img {
  border-radius: 12px;
  overflow: hidden;
}

.about5 .col-inner .button {
  margin: 0 auto;
  display: block;
  width: fit-content;
}

.about6 {
  padding: 40px 0;
}

.about6 .flickity-prev-next-button,
.about7 .flickity-prev-next-button {
  opacity: 1;
}

.about6 .flickity-prev-next-button .arrow,
.about6 .flickity-prev-next-button svg,
.about7 .flickity-prev-next-button svg {
  color: var(--fs-color-primary);
}

.about7 {
  padding: 40px 0;
  background-color: #f6f6f8;
}

.about7 .col-inner {
  background-color: var(--fs-color-primary);
  border-radius: 12px;
  overflow: hidden;
}

.about7 .col-inner h3,
.about7 .col-inner p {
  color: #fff;
}

.about8 {
  padding: 0 !important;
  padding-top: 30px !important;
  background-image: url(/wp-content/uploads/Group-1.png);
  background-repeat: no-repeat;
  position: relative;
  background-size: cover;
}

.about8 input {
  border-color: var(--v2-second-color) !important;
  color: var(--v2-second-color) !important;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  background: rgba(255, 255, 255, 0.95) !important;
  border-width: 1px 1px 1px 3px !important;
  border-style: solid !important;
  border-radius: 5px !important;
  font-size: 14px !important;
  padding: 0 10px !important;
  height: 48px !important;
  box-shadow: none !important;
}

.about8 input.wpcf7-submit {
  max-width: 200px;
  margin: 0 auto;
  display: block;
  background-color: var(--fs-color-primary) !important;
  color: #fff !important;
}

/* post-item */
.post-item .box-image img {
  border-radius: 10px;
}

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

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

.post-item .post-title a {
  min-height: 43.5px;
  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: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}

.post-item .box-text {
  padding: 0;
  padding-top: 10px;
}

.post-item .box-text .button {
  padding: 0;
  margin: 0;
  border: 0;
  min-height: unset;
  font-size: 14px;
  color: var(--fs-color-primary);
}

.box-chinhanh {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
}

.box-chinhanh > h3 {
  margin: 0;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}

.box-chinhanh2 {
  max-height: 300px;
  padding: 10px 15px;
}

.chinhanh-box {
  margin-bottom: 20px;
}

.chinhanh-box h3 {
  font-size: 16px;
  margin-bottom: 0;
}

.chinhanh-box p {
  margin-bottom: 0;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .title h2 {
    font-size: 28px;
  }

  .slider-wrapper .flickity-prev-next-button {
    display: block;
    opacity: 1;
  }

  .home2 .box {
    padding: 10px;
  }

  .home2 .box .box-text .button {
    font-size: 10px;
    padding: 0 5px;
  }

  .home2 .box .box-text .is-divider {
    height: 20px !important;
    top: 12px;
    margin: 0;
  }

  .home3 .row.row-collapse .col:last-child {
    order: -2;
  }

  .home5 .col-images {
    display: none;
  }

  .home5 .large-7 > .col-inner {
    display: flex;
    flex-wrap: wrap;
  }

  .home5 .large-7 > .col-inner .row {
    width: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }

  .home5 .large-7 > .col-inner .row.rowSlider2 {
    order: -2;
    margin: 0 auto 30px;
  }

  .rowSlider2 .img img {
    width: auto;
    height: 100%;
    margin: 0 auto;
    border-radius: 0;
  }

  .rowSlider2 .col .col-inner {
    background-color: transparent;
    border: 0;
    border-radius: 0;
  }
}
