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

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Sans-serif;
  font-weight: 500;
}

.button.main-button {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  background-color: #0067ff;
  padding: 5px 30px;
  border-radius: 5px;
}

.header-wrapper {
  border-bottom: 1px solid #eaeaea;
}

.header-main .nav > li {
  margin: 0 15px;
}

.header-main .nav > li > a {
  line-height: 16px;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 500;
}

.header-main li.current-dropdown > .nav-dropdown {
  padding: 0;
  border-top: 1px solid #005ee9;
}

.nav-dropdown-has-arrow li.has-dropdown:before,
.nav-dropdown-has-arrow li.has-dropdown:after {
  opacity: 0 !important;
}

.nav-dropdown > li > a {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: #364151;
  opacity: 1;
  font-weight: 500;
}

.nav-dropdown li.active > a {
  color: #005ee9;
}

.breadcrumbs-after-header {
  background-color: #eaeaea;
  padding: 10px 0;
}

.breadcrumbs-after-header .col {
  padding-bottom: 0;
}

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

.entry-header .entry-title {
  margin-top: 10px;
  font-weight: 600;
}

.entry-header .entry-divider {
  display: none;
}

.entry-header .entry-header-text {
  padding-bottom: 0;
}

.entry-header .entry-header-text p {
  margin-bottom: 0;
}

.blog-single #comments {
  display: none !important;
}

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

.widget .widget-title {
  font-size: 1rem;
  font-weight: 600;
  font-family: "Playfair Display", serif;
  line-height: 1.23em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.recent-blog-posts-li .mr-half {
  display: none !important;
}

.section-intro .section-content {
  padding-top: 70px;
}

.section-intro .col-left ul li {
  font-size: 14px;
  text-transform: uppercase;
}

.section-intro .col-left h2 {
  font-family: "Playfair Display", Sans-serif;
  font-size: 66px;
  line-height: 1.4em;
}

.section-intro .col-left p {
  font-size: 20px;
}

.section-intro .col-left .button.main-button {
  margin-top: 30px;
}

.section-intro .col-right .col-inner {
  padding-left: 85px;
}

.section-intro .col-right .img img {
  border-radius: 10px;
}

.section-partner .col {
  padding-bottom: 0;
}

.section-partner .col h3 {
  font-size: 2.25rem;
  font-family: "Playfair Display", serif;
  line-height: 1.3em;
  margin: 0;
}

.section-partner .col .ux-logo,
.section-partner .col .ux-logo-link {
  padding: 0 !important;
}

.section-about .col-right h3 {
  font-family: "Playfair Display", Sans-serif;
  font-size: 50px;
  line-height: 1.3em;
}

.section-about .col-right-2 h3 {
  font-size: 2.25rem;
  font-family: "Playfair Display", serif;
  line-height: 1.3em;
}

.section-about .col-right-2 h4 {
  color: #0067ff;
  font-size: 1.5625rem;
  line-height: 1.2em;
  font-family: "Playfair Display", serif;
}

.section-about .col-right-2 .img img {
  border-radius: 100%;
}

.section-commit .col-title p {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

.section-commit .col-title h3 {
  font-family: "Playfair Display", Sans-serif;
  font-size: 50px;
  line-height: 1.3em;
}

.section-commit .col-box h4 {
  font-size: 2.25rem;
  font-family: "Playfair Display", serif;
  line-height: 1.3em;
}

.section-commit .col-list h3 {
  font-size: 2.25rem;
  font-family: "Playfair Display", serif;
  line-height: 1.3em;
}

.section-commit .col-box-text .col-inner {
  padding-right: 140px;
}

.section-commit .col-box-text h4 {
  margin: 0;
  font-size: 2.25rem;
  font-family: "Playfair Display", serif;
  line-height: 1.3em;
  margin-bottom: 20px;
}

.section-commit .col-box-text p {
  font-size: 16px;
}

.section-commit .section-title {
  margin-bottom: 40px;
}

.section-commit .section-title-main {
  font-size: 15px;
  line-height: 1;
  text-transform: none;
  font-weight: 400;
}

.section-commit .section-title b {
  background-color: #0067ff;
  display: block;
  flex: 1;
  height: 0.1px;
  opacity: 1;
}

.section-students h3 {
  font-family: "Playfair Display", Sans-serif;
  font-size: 44px;
  line-height: 1.3em;
}

.section-students .button.main-button {
  margin-top: 30px;
}

.section-students .col-parent .row .col {
  padding: 10px;
}

.section-students .col-parent .col img {
  border-radius: 10px;
}

.section-students .col-parent .col-1 {
  flex-basis: 23%;
  max-width: 23%;
}

.section-students .col-parent .col-2 {
  flex-basis: 50%;
  max-width: 50%;
}

.section-students .col-parent .col-3 {
  flex-basis: 27%;
  max-width: 27%;
}

.section-contact .col-left h1 {
  font-family: "Playfair Display", Sans-serif;
  font-size: 40px;
  line-height: 1.4em;
  color: #0f172a;
  font-weight: 600;
}

.section-contact .col-left h4 {
  font-size: 1.5625rem;
  line-height: 1.2em;
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.section-contact .col-left p a {
  color: #364151;
  margin-left: 30px;
}

.section-contact .col-left .box-map {
  box-shadow: 0px 20px 50px -10px rgba(0, 0, 0, 0.5);
}

.section-contact .col-left .col-inner {
  padding-right: 85px;
}

.section-contact .col-right .col {
  padding-bottom: 15px;
}

.section-contact .col-right .wpcf7 label {
  font-weight: 400;
}

.section-contact input[type="email"],
.section-contact input[type="number"],
.section-contact input[type="search"],
.section-contact input[type="tel"],
.section-contact input[type="text"],
.section-contact input[type="url"],
.section-contact textarea {
  margin: 0;
  box-shadow: none !important;
  background-color: #fafafa;
  height: 45px;
  border-radius: 5px;
}

.section-contact input[type="submit"] {
  margin: 0;
  height: 45px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  background-color: #1a7efb;
  text-transform: none;
}

.section-blogs .text-title h3 {
  font-size: 2.25rem;
  font-family: "Playfair Display", serif;
  line-height: 1.3em;
  margin-bottom: 30px;
}

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

.post-item .post-title {
  font-family: "Playfair Display", serif;
  display: none !important;
}

.post-item .post-title.title-show {
  display: block !important;
}

.post-item .post-subtitle {
  margin-bottom: 15px;
}

.post-item .box-text {
  font-size: 16px;
}

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

.related-posts-title {
  font-size: 1.25rem;
  text-transform: uppercase;
  font-weight: 600;
}

#post-list .post-item .box {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 6px 15px -2px rgba(16, 24, 40, 0.05);
}

.footer-form h3 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 1.5;
}

.footer-form p {
  margin-bottom: 30px;
}

.footer-form .wpcf7-form {
  display: flex;
  gap: 15px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.footer-form .wpcf7-form p {
  margin: 0;
  width: 50%;
}

.footer-form .wpcf7 form.invalid .wpcf7-response-output {
  position: absolute;
  bottom: -10px;
  margin: 0;
  right: 0;
  font-size: 10px;
}

.footer-form .wpcf7 input[type="email"] {
  margin: 0;
  box-shadow: none !important;
  background-color: #fafafa;
  height: 45px;
  border-radius: 5px;
}

.footer-form .wpcf7 input[type="submit"] {
  margin: 0;
  width: 100%;
  height: 45px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  background-color: #1a7efb;
  text-transform: none;
}

.footer-form .wpcf7-spinner {
  display: none;
}

.ux-box-reviews {
  color: #0f172a;
  font-weight: 600;
  line-height: 2;
}

.ux-review-rating {
  font-size: 69px;
  font-weight: 600;
  line-height: 1;
  color: #0f172a;
}

.ux-review-stars i {
  display: inline-block;
  position: relative;
  font-style: normal;
  cursor: default;
  color: #f0ad4e;
}

.ux-icon-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.ux-icon-list li.ux-icon-list-item {
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  line-height: 1;
  min-height: 38px;
}

.ux-icon-list li svg {
  width: 14px;
  fill: #0067ff;
  margin-right: 10px;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .section-intro .section-content {
    padding-top: 30px;
  }

  .section-intro .col-left h2 {
    font-size: 31px;
  }

  .section-intro .col-left p {
    font-size: 14px;
  }

  .section-intro .col-right .col-inner {
    padding: 0;
  }

  .section-partner .col h3 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .section-about .col-right-2 h3 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .section-commit .col-title h3 {
    font-size: 22px;
  }

  .section-commit .col-box h4 {
    font-size: 18px;
  }

  .section-commit .section-title-container {
    display: none;
  }

  .section-commit .col-list h3 {
    font-size: 22px;
  }

  .section-commit .col-box-text .col-inner {
    padding: 0;
  }

  .section-commit .col-box-text .box-vertical .box-image {
    width: 70% !important;
    margin: 0;
  }

  .section-commit .col-box-text h4 {
    font-size: 22px;
  }

  .section-commit .col-box-text:last-child {
    padding-bottom: 0;
  }

  .section-students .col-parent .row .col {
    padding: 0 15px 30px;
  }

  .section-students .col-parent .col-1 {
    flex-basis: 100%;
    max-width: 100%;
  }

  .section-students .col-parent .col-1 .img {
    width: 50% !important;
  }

  .section-students .col-parent .col-2 {
    flex-basis: 100%;
    max-width: 100%;
    padding-bottom: 0 !important;
  }

  .section-students .col-parent .col-3 {
    flex-basis: 100%;
    max-width: 100%;
  }

  .section-students .col-parent .col-3 .img {
    width: 50% !important;
    margin-left: 50%;
  }

  .footer-form .wpcf7-form {
    display: grid;
    padding: 0 15px;
  }

  .footer-form .wpcf7-form p {
    width: 100%;
  }

  .section-contact .col-left .col-inner {
    padding: 0;
  }

  .nav > li.has-icon > a > i.icon-menu {
    color: #0067ff;
    border: 1px solid;
    padding: 0 5px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .off-canvas-left .mfp-content {
    background-color: #e7f6ff;
  }

  .off-canvas .nav-vertical > li > a {
    color: #364151;
    font-family: "Playfair Display", serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
  }
}


/*  */
.col-bg > .col-inner {
  backdrop-filter: blur(0.5rem);
  background-color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0.75rem;
  padding-bottom: 0;
}

.col-bg > .col-inner > .row {
  margin-left: 0;
  margin-right: 0;
}

.col-bg .col {
  padding: 2.5rem;
}

.col-content h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: rgba(31, 41, 55);
}

.col-content ul li {
  font-size: 1rem;
  line-height: 1.5rem;
  color: rgba(55, 65, 81);
}

.col-form {
  background-color: #fff;
  border-bottom-right-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.form-group {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  font-variant: tabular-nums;
  line-height: 1.5715;
  list-style: none;
  font-feature-settings: "tnum";
  margin-bottom: 24px;
  vertical-align: top;
  position: relative;
}

.form-group .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.form-group label.radio-button {
  font-weight: 500;
}

.form-group .radio-button input {
  display: inline-block;
  width: auto;
  border-radius: 99px;
}

.form-group input,
.form-group select {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-variant: tabular-nums;
  list-style: none;
  font-feature-settings: "tnum";
  position: relative;
  display: inline-block;
  width: 100%;
  min-width: 0;
  padding: 4px 11px;
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  line-height: 1.5715;
  background-color: #fff;
  background-image: none;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  transition: all 0.3s;
  padding: 6.5px 11px;
  font-size: 16px;
  box-shadow: none !important;
}

.form-group input:hover,
.form-group select:hover {
  border-color: #40a9ff;
  border-right-width: 1px;
}

.form-group input:hover,
.form-group select:focus {
  border-color: #40a9ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2) !important;
  border-right-width: 1px;
  outline: 0;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
}

.form-group label.error {
  font-weight: 400;
  color: #ff4d4f;
  animation: fadeIn 0.3s forwards;
  position: absolute;
  margin: 0;
  bottom: -22px;
}

span.required {
  color: #ff4d4f;
  margin-right: 5px;
}

#prev-button {
  border: 1px solid;
  margin: 0;
  text-transform: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  color: rgba(0, 0, 0, 0.85);
  border-color: #d9d9d9;
}

#next-submit {
  color: #fff;
  border-color: #1890ff;
  background: #1890ff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
  margin: 0;
  text-transform: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
}

.flex-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.col-form .box-top {
  padding: 0.5rem;
  --tw-border-opacity: 1;
  border-color: rgba(254, 202, 202, var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgba(254, 242, 242, var(--tw-bg-opacity));
  border-radius: 0.375rem;
  border-width: 1px;
  margin-bottom: 1.25rem;
}

.col-form .box-top p {
  margin-bottom: 0;
}

#qrcccd {
  color: #fff;
  border-color: #1890ff;
  background: #1890ff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
  padding: 5px 15px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-bottom: 15px;
  font-size: 14px;
}

#camera-container {
  width: 100%;
  margin: auto;
  position: relative;
  padding-top: 100%;
}

#camera-container svg {
  position: absolute;
}

#video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#qr-result {
  margin-top: 10px;
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
}

.form-tab {
  display: none;
}

.form-tab.active {
  display: block;
}

