/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.wpcf7-form-control {
  max-width: 45%;
}

.wpcf7-form-control-wrap {
  margin-left: 3px;
}

textarea[name="register_area"] {
  max-width: 100%;
}

.banner {
  margin-top: var(--header-height);
}

.single__list {
  overflow-x: hidden;
}

.banner .single__list .single__list-item img {
  width: 100%;
  height: auto;
}

.banner .single__list .single__list-item {
  width: 100%;
}

.banner .single__list .slick-dots {
  bottom: 14px;
}

.banner .single__list .slick-dots li button {
  position: relative;
  background-color: var(--white-color);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  padding: 0;
}

.banner .single__list .slick-dots li button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: var(--black-color);
  opacity: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.banner .slick-dots li.slick-active button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: var(--black-color);
  opacity: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.banner .single__list .slick-dots li button:hover::before {
  opacity: 0.5;
}

/* system */
.system {
  margin-top: 30px;
}

.system__top {
  background: var(--black-color);
  height: 80px;
}

.system__top .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
}

.system__top .container a {
  font-size: 20px;
  color: var(--white-color);
  font-size: 20px;
  font-weight: 600;
  text-transform: capitalize;
  max-width: 49%;
  width: 100%;
  text-align: center;
}

.system__bottom {
  padding: 95px 0;
}

.system__bottom .wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 40px;
  padding: 0 25px;
}

.system__bottom-tab {
  background: #205C8D;
  font-size: 20px;
  font-weight: 600;
  line-height: 29px;
  color: var(--white-color) !important;
  padding: 25px 20px;
  border-radius: 10px;
  width: 50%;
  text-align: center;
  -webkit-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.system__bottom-tab:hover {
  background: var(--black-color);
  color: var(--white-color);
}

.system__bottom-tab.active {
  background: var(--black-color);
}

.system__bottom-tab.active:hover {
  background: #3088ce;
}

/* service */
.service {
  background: #f2f2f2;
  padding: 30px 0 40px 0;
}
.service__title {
  font-size: 48px;
  font-weight: 600;
  line-height: 65px;
  text-align: center;
  margin-bottom: 30px;
}

.service__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 30px;
}

.service__list-item {
  position: relative;
  padding-top: 19.927%;
  width: calc((100% - 60px) / 3);
  margin: 0 auto;
  overflow: hidden;
}

.service__list-item:nth-child(1),
.service__list-item:nth-child(2) {
  width: calc((100% - 30px) / 2);
}

.service__list-item .img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}

/* .service__list-item .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
} */

/* panorama */
.panorama {
  padding: 50px 0;
}

.panorama__title {
  font-size: 24px;
  line-height: 35px;
  font-weight: 600;
}
.panorama__iframe {
  width: 100%;
  height: 560px;
  margin-top: 40px;
}

.panorama__iframe iframe {
  width: 100%;
  height: 100%;
}

/* gallery */
.gallery .container {
  position: relative;
}

.gallery .slick-list {
  overflow: visible;
}

img .bottom {
  font-size: 70%;
  width: 70%;
  margin: 0 auto;
}

.gallery .slider .slider-item {
  overflow: hidden;
  bottom: 0;
  position: relative;
  padding-bottom: 40px;
}

.gallery .slider {
  padding-bottom: 46px;
}

.gallery .slider-next,
.gallery .slider-prev {
  position: absolute;
  width: 28px;
  height: 28px;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  cursor: pointer;
  top: 40%;
  left: 15%;
  -webkit-transform: translateY(-40%) rotate(-45deg);
  -ms-transform: translateY(-40%) rotate(-45deg);
  transform: translateY(-40%) rotate(-45deg);
  z-index: 1;
}

.gallery .slider-next {
  left: unset;
  right: 15%;
  -webkit-transform: translateY(-50%) rotate(135deg);
  -ms-transform: translateY(-50%) rotate(135deg);
  transform: translateY(-50%) rotate(135deg);
}

.center .slick-center .clip {
  -webkit-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
  opacity: 1;
  height: 100%;
}

.center .clip p {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
  letter-spacing: 1px;
}

.center .slick-center .clip .bottom {
  font-size: 90%;
  width: 90%;
}

.center .clip {
  opacity: 0.8;
  -webkit-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  bottom: 0;
  -webkit-transform: scale(0.85);
  -ms-transform: scale(0.85);
  transform: scale(0.85);
}

.gallery .slick-dots {
  bottom: 0;
}
.gallery .slick-dots li {
  width: 30px;
}

.gallery .slick-dots li button {
  width: 100%;
}

.gallery .slick-dots li button:before {
  content: "";
  background: var(--black-color);
  width: 100%;
  height: 2px;
}

/* info */
.info {
  padding-bottom: 228px;
}

.info .container {
  gap: 40px;
}

.info__item {
  width: 50%;
}

.info__right-timeline {
  padding: 30px 30px 10px;
  border: 1px solid var(--black-222);
}

.info__right-timeline .line .title {
  font-weight: 600;
}

.info__right-timeline .line .button {
  background-color: var(--white-color);
  color: var(--black-222);
  outline: none;
  border: 2px solid var(--black-222);
  padding: 8px 15px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

.info__right-timeline .line p {
  font-size: 14px;
}

.info__right-timeline .line + .line {
  margin-top: 20px;
}

.info__right-brochure {
  margin-top: 30px;
  cursor: pointer;
}

/* ====== popup chỉnh sửa layout ====== */
@keyframes zoom-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-detail {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-align: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  z-index: 9999;
  user-select: none;
}

.popup-detail.active {
  opacity: 1;
  visibility: visible;
}

.popup-detail .content .item {
  flex-direction: column;
  align-items: center;
  display: none;
  width: 100%;
}

.popup-detail .content .item.zoom.active {
  animation: zoom-in 0.2s forwards;
}

.popup-detail.active .content .item.active {
  display: flex;
  visibility: visible;
}

.popup-detail .content .item .item-close {
  width: max-content;
  margin-left: auto;
  border: none;
  outline: none;
  background-color: transparent;
  color: #b8b8b8;
  font-size: 30px;
  cursor: zoom-out;
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  transform: scale(1.2);
  border: 1px solid transparent;
  border-radius: 50%;
  transition: all 0.5s;
}

.popup-detail .content .item .desc {
  color: #fff;
}

.popup-detail .content .item .item-close:hover {
  transform: rotate(180deg) scale(1);
  border-color: #fff;
}

.popup-detail .iframe-wrap {
  background-color: #000;
  height: max-content;
  display: flex;
}

.popup-detail .content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  /* width: 100vw; */
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

.popup-detail .icon {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  --gap: 30px;
  z-index: 3;
}

.popup-detail .icon.prev {
  left: var(--gap);
}

.popup-detail .icon.next {
  right: var(--gap);
}

.popup-detail .icon svg {
  filter: invert(87%) sepia(12%) saturate(0%) hue-rotate(221deg) brightness(84%)
    contrast(89%);
  width: 36px;
}

.popup-detail .content img {
  width: 100%;
  max-width: 800px;
  max-height: 87vh;
}

.popup-detail .content-slider .item iframe {
  width: 900px;
  height: 506px;
}

.popup-detail .overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  cursor: zoom-out;
}

@media only screen and (max-width: 1109px) {
  .popup-detail .content-slider .item iframe {
    width: 700px;
  }
}

@media only screen and (max-width: 934px) {
  .popup-detail .content-slider .item iframe {
    width: 607px;
    height: 450px;
  }
}

@media only screen and (max-width: 786px) {
  .popup-detail .content-slider .item iframe {
    width: 500px;
    height: 300px;
  }
}

@media only screen and (max-width: 576px) {
  .popup-detail .content-slider .item iframe {
    width: 300px;
    height: 300px;
  }

  input[type="submit"].wpcf7-form-control {
    max-width: 100%;
  }
}

/* ================== */

.popup .content .img {
  max-width: 517px;
  width: 100%;
}

.info__left .script p + p {
  margin-top: 20px;
}

.info__left .register {
  margin-top: 20px;
  display: none;
}

.info__left .register .title {
  font-size: 24px;
  line-height: 35px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.info__left .register p + p {
  margin-top: 15px;
}

.register__form {
  margin-top: 40px;
}

.consult-form .wpcf7-form-control {
  max-width: 100%;
}

.register__form-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  position: relative;
}

.register__form-line .note {
  height: max-content;
  position: relative;
}
.register__form-line .note:hover::after,
.register__form-line .note:hover::before,
.register__form-line .note:hover .tooltip-line {
  display: block;
}

.register__form-line .tooltip-line {
  position: absolute;
  left: calc(100% + 15px);
  background-color: #ffffa3;
  border: 2px solid #f1d031;
  color: #555;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  box-shadow: 0 0 5px #aaa;
  width: 281px;
  font-size: 10.5px;
  line-height: 12px;
  min-width: 50px;
  padding: 8px;
  display: none;
}

.register__form-line .note::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid #f1d031;
  background: #ffffa3;
  position: absolute;
  top: 50%;
  left: 117%;
  transform: translateY(-50%) rotate(45deg);
  display: none;
}

.register__form-line .note::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #ffffa3;
  position: absolute;
  top: 50%;
  left: 121.8%;
  transform: translateY(-50%) rotate(45deg);
  z-index: 3;
  display: none;
}

input[type="checkbox"] {
  -webkit-appearance: auto !important;
  appearance: auto !important;
  opacity: 1;
}

input[name="area"]:checked ~ .checkbox-box {
  background-color: var(--black-color);
  border-color: var(--black-color);
}
input[name="consult_time"],
input[name="consult_date"] {
  height: 27px;
}

.checkbox-box {
  width: 16px;
  height: 16px;
  border: 1px solid #9f9f9f;
  cursor: pointer;
  border-radius: 4px;
  position: relative;
}

.checkbox-box::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(315deg);
  width: 10px;
  height: 5px;
  border: 2px solid var(--white-color);
  border-color: transparent transparent var(--white-color) var(--white-color);
}

.register__form-line + .register__form-line {
  margin-top: 25px;
}

.register__form-line .line {
  display: -webkit-box;
  display: -ms-flexbox;
  /* display: flex; */
  gap: 30px;
  border-bottom: 1px solid #bdbdbd;
  padding-bottom: 30px;
  width: 100%;
  position: relative;
}

.register__form-line .line label.error {
  position: absolute;
  bottom: 0;
  left: 0;
  font-style: italic;
  color: red;
  font-size: 15px;
}

.register__form-line .line.one-item {
  max-width: 100%;
  width: 100%;
}
.register__form-line span {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-size: 15px;
  line-height: 24px;
}
.register__form-line textarea,
.register__form-line input {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  line-height: 23px;
}
.register__form-line textarea {
  height: 30px;
  width: 150%;
}

.register__form-line .checkbox input {
  width: unset;
  -webkit-box-flex: 0;
  -ms-flex: 0;
  flex: 0;
}
.register__form-line .checkbox label {
  gap: 15px;
}
.register__form-line .checkbox label span {
  font-size: 17px;
  line-height: 27px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.register__form-line .area_register {
  display: flex;
}
.register__form-line .area_register span {
  flex: 1;
}
.checkbox-margin {
  margin-top: 20px;
}

.cta-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  margin-top: 60px;
}

.cta-form .button {
  font-size: 15px;
  line-height: 23px;
  font-weight: 600;
  outline: none;
  border: none;
  padding: 16px 46px;
  width: 50%;
  background: transparent;
  cursor: pointer;
  border: 1px solid var(--black-222);
  color: var(--black-222);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-transform: uppercase;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.cta-form .button:hover {
  background: var(--black-222);
  color: var(--white-color);
}
.ui-datepicker-year,
.ui-datepicker-month {
  outline: none;
}

.register-btn {
  border: 1px solid var(--black-222);
  padding: 20px 45px;
  background-color: var(--white-color);
  width: 100%;
  /* margin-top: 25px; */
  font-size: 15px;
  font-weight: 600;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  color: var(--black-222);
}

.register-btn:hover {
  background: var(--black-222);
  color: var(--white-color);
}

.info-block a:hover {
  text-decoration: underline;
}
.wpcf7-response-output {
  display: none;
}

@media only screen and (min-width: 1900px) {
  .banner {
    margin-top: var(--header-height-large);
  }
}

@media only screen and (max-width: 992px) {
  .panorama__iframe {
    height: 322px;
  }
  .gallery .slider-next {
    right: 12%;
  }
  .gallery .slider-prev {
    left: 12%;
  }

  .center .slick-center .clip {
    -webkit-transform: scale(0.99);
    -ms-transform: scale(0.99);
    transform: scale(0.99);
    opacity: 1;
    height: 100%;
  }

  .center .clip {
    -webkit-transform: scale(0.85);
    -ms-transform: scale(0.85);
    transform: scale(0.85);
  }

  .gallery .slick-slide {
    width: 70vw;
  }
  .gallery .slider .slider-item {
    padding-bottom: 0px;
  }
}
@media only screen and (max-width: 768px) {
  body.overflow {
    overflow: hidden;
    height: 100vh;
  }

  .info__left .register .title {
    text-align: center;
  }

  .system__top .container a {
    font-size: 16px;
    line-height: 24px;
  }

  .system__bottom .wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 35px;
  }

  .system__bottom-tab {
    width: 100%;
    font-size: 16px;
    line-height: 23px;
    padding: 20px;
  }

  .service__list-item:nth-child(n + 3) {
    padding-top: 0%;
    width: 395px;
    height: 255px;
  }

  .service__list-item:nth-child(1),
  .service__list-item:nth-child(2) {
    width: 100%;
    padding-top: 41.05%;
    height: 0;
  }

  .panorama__iframe {
    height: 300px;
  }

  .gallery .slick-slide {
    width: 60vw;
  }
  .gallery .slider-prev {
    left: 17%;
  }
  .gallery .slider-next {
    right: 17%;
  }
  .info {
    padding-bottom: 50px;
  }
  .info__item {
    width: 100%;
  }

  .info__right-timeline {
    background: #f2f2f2;
  }
  .info__right-timeline .line .title {
    font-size: 14px;
    line-height: 25px;
  }
  .register__form-line {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@media only screen and (max-width: 576px) {
  .gallery .slick-dots,
  .gallery .slider-next,
  .gallery .slider-prev {
    display: none !important;
    opacity: 0;
    visibility: hidden;
  }

  .center .clip {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
  .gallery .slick-slide {
    width: 100vw;
  }

  .cta-form {
    gap: 12px;
  }

  .cta-form .button {
    width: 100%;
  }

  .service__list-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media only screen and (max-width: 440px) {
  .service__list-item:nth-child(n + 3) {
    padding-top: 64.1%;
    width: 100%;
    height: 0;
  }
}
