/*
Theme Name: Designed by RealDev
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
  /* Màu chính */
  --primary: #34585a;
  --secondary: #9c9263;

  /* Màu chức năng */
  --success: #3a7d68;
  --alert: #b3683a;
  --error: #a13c3c;

  /* Màu chữ và liên kết */
  --headline: #1d3335;
  --text: #333333;
  --link: #245f61;
  --link-hover: #1a4446;

  /* Màu phụ trung gian */
  --primary-light: #688486;
  --secondary-light: #b7ae88;
  --primary-gray: #677c7d;
  --secondary-pale: #aea684;
  --secondary-very-light: #cfc8a7;

  /* Màu nền và viền */
  --background-light: #f5f5f5;
  --background-dark: #e5e5e5;
  --border-light: #dddddd;
  --border-dark: #bbbbbb;
}
.home-row-intro {
  background: url(https://o2skin.vn/wp-content/uploads/2024/05/background-ly-do-o2skin-ra-doi-update.png)
    no-repeat;
  background-size: cover;
  min-height: 500px;
  border-radius: 30px;
  overflow: hidden;
  padding-left: 50px;
}
.heading-dq .step-advanced-title {
  line-height: 1;
  font-size: 25px;
}
.home-col-intro {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-col-intro .col-inner {
  background: transparent !important;
}

.bg-white .col-inner {
  background-color: #fff !important;
  display: flex;
  height: 100%;
  padding: 1rem !important;
}
.color-white a,
.color-white span {
  color: #fff;
}
.bg-white .col-inner p {
  margin: 0;
}

.list-vertical .post-info {
  display: none;
}
.home-sec-csvc .flickity-slider > .row:not(.is-selected) {
  opacity: 1 !important;
}
.box-expert-post .post-title {
  font-size: 20px;
  font-weight: bold;
}
.home-sec-csvc .col-inner {
  padding: 0 !important;
  overflow: hidden;
}

.home-sec-csvc img {
  padding-top: 0;
}

.home-sec-csvc .icon-box-text {
  padding: 1rem;
}
.home-sec-news .row .col-inner p:last-child {
  margin-bottom: 20px;
}

.home-sec-news .text-end {
  text-align: end;
}

.home-sec-news .text-end .section-title {
  justify-content: flex-end;
}

.home-sec-news .section-title {
  border-bottom: 1px solid var(--primary);
  padding-bottom: 10px;
}
.home-expert-list .flickity-prev-next-button {
  opacity: 1;
  top: unset;
  bottom: -35px;
  background: var(--primary);
  color: #fff;
}
.home-expert-list .flickity-prev-next-button:hover * {
  fill: #fff !important;
}
.home-expert-list {
  margin-bottom: 50px;
}
.btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: max-content;
}
.home-expert-list .previous {
  left: unset;
  right: 90px;
}
.quote-intro {
  font-size: 20px;
  margin-bottom: 1rem;
}
/*
.quote-intro p:before {
  content: "\f10d";
  font-family: "FontAwesome";
  font-size: 5rem;
  margin-right: 10px;
  line-height: 1;
  color: var(--secondary);
}
*/
.count-number {
  color: var(--primary);
}
.header-nav .nav-top-link {
  font-size: 16px;
  color: #333;
}
.nav-dropdown-default .nav-column li > a,
.nav-dropdown.nav-dropdown-default > li > a {
  color: #333;
  font-size: 16px;
  font-family: "SVN-Gilroy";
}
.home-feature-slider .flickity-viewport,
.home-feature-slider .flickity-viewport img {
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  overflow: hidden;
}
.no-bg .col-inner {
  background: transparent !important;
}
.home-feature-slider .img-inner img {
  max-height: 570px;
}
.header-button .button {
  animation: heartbeat 1.5s ease-in-out 5s infinite both;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: var(--primary);
  color: #fff;
  min-width: 154px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.header-button .button:hover,
.home-form .wpcf7-submit:hover {
  border-color: var(--secondary);
}
.header-button .button::before,
.home-form .wpcf7-submit:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--secondary);
  transition: width 0.3s ease-out;
  z-index: 0;
}
.header-button .button span {
  position: relative;
  z-index: 1;
}
.header-button .button:hover::before,
.home-form .wpcf7-submit:hover::before {
  width: 100%;
}
.archive-page-header {
  padding-top: 30px;
}
.home-form .fields {
  max-width: 100%;
  flex-basis: 100%;
}.home-form {
    padding: 1rem;
}
.field-item .wpcf7-submit:hover {
  background: var(--secondary);
}
.home-form input,
.home-form select {
  margin: 0;
  flex: 1;
  border: none;
  font-size: 16px;
  padding: 0;
  color: #767676;
}
.home-form input:focus,
.home-form select:focus {
  padding: 5px !important;
  box-shadow: unset;
}
.home-form i {
  color: var(--secondary);
}
.home-form .label {
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 17px;
}

.home-form .field-item {
  width: 100%;    margin-bottom: 20px;
}

.field .wpcf7-form-control-wrap {
  flex: 1;
}

.home-form .wpcf7-submit {
  margin: 0;
  padding: 8px;
  text-transform: capitalize;
  animation: heartbeat 1.5s ease-in-out 5s infinite both;
  color: #fff;
}

@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

.header-button .button span:after {
  content: "\f178";
  font-family: "Font Awesome 6 Free";
  margin-left: 5px;
}
.header-nav .nav-top-link i {
  font-size: 11px;
}
.booking-expert .site-logo {
  text-align: center;
  margin: 15px auto;
}

.booking-expert .header-logo {
  max-width: 200px;
  height: auto;
}
.expert-booking a {
  flex: 1;
  font-weight: normal;
}
.booking-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: var(--primary);
  background: #fff;
  width: max-content;
  margin: 0 auto 2rem;
  padding: 0 20px;
  border-radius: 30px;
}
.booking-fields p.label {
  display: none;
}
.field-item .wpcf7-submit {
  margin: 15px auto 0;
  display: block;
  border-radius: 10px;
  max-width: 12rem;
	font-size: 16px;
}
#booking-expert {
  background: url(/wp-content/uploads/spa-background.jpg) no-repeat center
    center;
  background-size: cover;
  width: 100%;
  min-height: 100%;
}

#booking-expert input,
#booking-expert select,
#booking-expert textarea {
  border: none;
}
.term-intro-content .col-inner,
.taxonomy-description .col-inner {
  background: #fff;
  padding: 1rem !important;
  border-radius: 10px;
}

.term-intro-content p:last-child,
.taxonomy-description .col p:last-child {
  margin-bottom: 0;
}
.archive h1.page-title {
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 0;
  width: max-content;
}
.archive-insights {
  color: var(--primary);
  font-size: 16px;
}
.blog-post-inner .post-info i {
  margin-right: 5px;
}
.nav-pagination > li > a,
.nav-pagination > li > span {
  border: none;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: unset !important;
  font-size: 20px;
  height: unset;
  width: unset;
  min-width: unset;
}

ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-pagination > li i {
  font-size: 20px;
  position: relative;
  top: 1px;
}

.nav-pagination > li > .current,
.nav-pagination > li > a:hover,
.nav-pagination > li > span:hover {
  color: var(--secondary);
}
.vertical-feature .post-info {
  display: none;
}

.vertical-feature .box-text {
  padding: 0 10px;
}
.archive-insights .tooltip {
  cursor: pointer;
}
.article-meta .author-title {
  font-size: 13px;
  color: #6e7480;
  font-weight: 500;
}

.article-meta .author-detail {
  line-height: 1.2;
}

.article-meta .last-updated {
  margin-bottom: 10px;
  font-size: 16px;
}

.article-meta .last-updated time {
  display: flex;
  align-items: center;
  gap: 5px;
}
.article-meta .author-name a {
  font-size: 16px;
  font-weight: bold;
}
.single-post #main,
.single-post #wrapper,
.single-post {
  background: #fff;
}

.single-post .entry-title {
  font-size: 52px;
  line-height: 1.2;
}
.contents-fact-check svg {
  width: 25px;
}

.contents-fact-check a span {
  font-size: 16px;
  line-height: 1.2;
}
#statement-commit .site-name {
  margin: 0;
  font-size: 16px;
}

#statement-commit .procedure {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  color: var(--primary);
  line-height: 1;
}
#statement-commit .row {
  max-height: 550px;
  overflow-y: scroll;
  border-top-right-radius: 150px;
}
#statement-commit .icon-box {
  margin-bottom: 20px;
}
.mfp-ready .mfp-close {
  opacity: 1 !important;
}
#statement-commit .row {
  font-size: 16px;
}

#statement-commit .content-standard {
  padding: 8px 8px 8px 30px;
  position: relative;
  margin-bottom: 20px;
}

#statement-commit .content-standard:after {
  height: 100%;
  background-color: var(--primary);
  position: absolute;
  content: "";
  width: 6px;
  left: 0;
  top: 0;
  border-radius: 5px;
}

#statement-commit .content-standard p:last-child {
  margin: 0;
}

#statement-commit .content-fact-checks-steps li {
  list-style: none;
  margin-left: 0;
  display: flex;
  gap: 10px;
}

#statement-commit .content-fact-checks-steps li:before {
  content: "\f058";
  font-family: "FontAwesome";
  position: relative;
  top: 8px;
  color: var(--primary);
}

#statement-commit .content-fact-checks-steps ul,
#statement-commit .content-fact-checks-steps li:last-child,
.article-pillar-hightlight ul,
.article-pillar-hightlight li:last-child {
  margin-bottom: 0;
}
.single-post .entry-content img {
  display: block;
  margin: auto;
  min-width: 80%;
  border-radius: 5px;
}
.related-post .box-vertical {
  border: 1px solid #f1f1f1;
  border-radius: 6px;
  background: #fff;
}
.related-post .related-title {
  font-size: 2rem;
}

.article-pillar-hightlight,
.author-description {
  background: #f2f9ff;
  padding: 24px;
  border-radius: 25px;
}
.pillar-hightlight-list li {
  list-style: none;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pillar-hightlight-list li:before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--primary);
  display: inline-block;
  border-radius: 50%;
  position: relative;
  top: 8px;
}

.pillar-hightlight-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}
.col-share {
  max-width: 8%;
  flex-basis: 8%;
}

.post-content {
  max-width: 70%;
  flex-basis: 70%;
}
.post-sidebar {
  max-width: 22%;
  flex-basis: 22%;
}
.col-share .share-icons {
  display: flex;
  flex-direction: column;
}

.col-share a.icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dfe5f2;
  border: none;
  color: #929bae;
}

.col-share p {
  font-size: 18px;
  font-weight: bold;
}
.author,
.author #main,
.author #wrapper {
  background: #fff;
}
.author-details .author-avatar img {
  border-radius: 6px;
  margin-bottom: 10px;
}
.author-socials a.icon {
  border: none;
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-lists li {
  list-style: none;
  margin-bottom: 0;
}
.author .box {
  border: 1px solid #f1f1f1;
  border-radius: 6px;
}
.author-socials .social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-description {
  font-size: 16px;
  margin-bottom: 20px;
}

.author-description p:last-child {
  margin: 0;
}
.author-team-section {
  margin: 2rem auto;
}

.author-team-section .section-title {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  background: var(--secondary);
  padding: 20px;
  font-size: 22px;
  color: #fff;
  line-height: 1;
}

.author-team-content {
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  background: var(--secondary);
  padding: 20px;
  color: #fff;
}

.author-team-content .social-icons {
  display: flex;
}

.author-team-content .social-icons .icon {
  color: #fff;
}

.author-team-content .social-icons svg path {
  fill: #fff;
}
.box-feature-author {
  display: flex;
  gap: 20px;
  align-items: center;
}

.box-feature-author img {
  border-radius: 50%;
  border: 2px solid #fff;
}
.medical-disclaimer {
  background: var(--primary);
  color: #fff;
  padding: 1rem;
}
.author-team-content {
  font-size: 16px;
  display: flex;
  gap: 20px;
}
.author-team-content author-name {
  line-height: 1;
}
.author-team-content .author-info {
  margin-top: 1rem;
}
.sec-footer {
  background: var(--secondary);
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  color: #fff;
  padding: 0 !important;
}

.sec-footer .col-two {
  background: var(--primary);
  border-bottom-left-radius: 50px;
}

.sec-footer .col-two .col-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.sec-footer .col-two .footer-title {
  font-size: 20px;
}

.sec-footer .col-two .footer-title p {
  margin-bottom: 10px;
}

.references-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid;
  margin-bottom: 1rem;
}

.references-header .references-title,
.current-post-faq .faq-title {
  width: max-content;
  font-size: 32px;
}

.references-list {
  padding-left: 20px;
  font-size: 16px;
}

.references-numbers {
  font-size: 16px;
}

.references {
  margin: 3rem auto;
}
.footer-search {
  max-width: 500px;
  margin: auto;
}

.footer-search input {
  min-height: 3rem;
  background: #fff !important;
}

.footer-search button i {
  color: var(--primary) !important;
}

.footer-verify img {
  max-width: 150px;
  max-height: 3rem;
}

.footer-wrapper a {
  color: #fff;
}

.footer-wrapper a:hover,
.footer-wrapper a:hover span {
  color: #fff;
  text-decoration: underline;
}
.footer-wrapper .icon-inner img {
  border-radius: 10px;
}
.sec-footer .col-two:after {
  content: "";
  height: 100%;
  width: 2550px;
  background: var(--primary);
  display: block;
  position: absolute;
  top: 0;
  right: -2500px;
}

.sec-footer {
  overflow: hidden;
}
.copyright-footer a {
  color: var(--primary);
}
@media (min-width: 551px) {
  .home-sec-faq .accordion-inner {
    position: absolute;
    right: -616px;
    top: 4px;
    max-width: 600px;
    background: #f8f8f8;
    border-radius: 10px;
  }

  .home-sec-faq .circle {
    border-radius: unset !important;
  }
}
@media (max-width: 551px) {
  .article-meta-detail {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }
.home h1 .section-title-main {
    font-size: 40px !important;
}
  .article-meta .author-name a {
    font-size: 13px;
  }

  .article-meta .author-title {
    font-size: 12px;
  }

  .article-meta img {
    width: 33px;
  }
  .single-post .entry-title {
    font-size: 28px;
  }
  .blog-single {
    padding-top: 0;
  }
  .col-share {
    order: 2;
  }
  .post-content,
  .col-share,
  .post-sidebar,
  .home-form .fields {
    max-width: 100%;
    flex-basis: 100%;
  }
  .col-share .share-icons {
    flex-direction: row;
  }
  .vertical-feature .box-vertical {
    display: flex;
    align-items: center;
  }
  .home-form {
    flex-wrap: wrap;
  }
  .author-team-content {
    flex-direction: column;
  }
}
