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

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
  --vh: 100vh;
}
body {
  font-family: "iCielSilka-Regular", sans-serif;
  font-weight: 300;
  color: #fff;
  font-size: 16px;
}
.col,
.columns,
.gallery-item {
  margin: 0;
  padding: 0 15px 0px;
  position: relative;
  width: 100%;
}
/*  */

body {
  /* text-align: center; */
  background: #fff;
  font-family: "iCielSilka-Regular", sans-serif;
}

#wrapper .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background: linear-gradient(
    90deg,
    rgba(72, 116, 53, 0.85) 0%,
    rgba(89, 136, 63, 0.85) 100%
  );
}

.header-main .nav > li > a {
  color: #eee;

  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 10px;
  text-decoration: none;
}

.contactHead {
}
.contactHead a {
  color: #eee;
  text-align: center;
  padding-block: 8.75px;
  background-color: #487435;
  border-radius: 96px;
  width: 154px;
  display: block;
  font-size: 20px;
}

.ftLogo {
}
.ftLogo img {
  width: auto;
}
.ftInfo {
}
.ftInfo ul {
}
.ftInfo ul li {
  font-weight: 300;
  color: #fff;
  font-size: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 1.5rem !important;
}
.ftInfo ul li strong {
  font-size: 18px;
  font-weight: 600;
  display: block;
}
.ftInfo h3 {
  font-weight: 500;
  line-height: 1.2;
}

.ftForm {
}

.ftForm .wpcf7-form-control::placeholder {
  color: white;
}
.ftForm .wpcf7-form-control {
  background-color: #487435 !important;
  border: 0;
  border-bottom: 1px solid white;
  color: white;
  padding: 7px 14px;
  font-size: 18px;
  font-weight: 400;
  width: 100%;
  box-shadow: none;
  line-height: unset;
  outline: none;
}
.ftForm .wpcf7-submit {
  width: 100%;
  background-color: white !important;
  color: #487435 !important;
  font-weight: bold;
  font-size: 18px;
  padding: 8px;
  border: none;
  border-radius: 0.25rem;
  min-height: unset;
  height: auto;
  line-height: unset;
  opacity: 1 !important;
}
.ftForm .wpcf7-submit span {
}

#main,
#wrapper {
  background-color: #fff;
  position: relative;
  height: 100%;
}
/* .section,
.section > .section-container,
.section > section {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
} */

.section {
  background-size: cover;
}
/* .fp-table {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.fp-section {
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
  display: block;
} */
.wpcf7-spinner {
  display: none;
}
.wpcf7 form .wpcf7-response-output {
  margin: 10px 0;
  padding: 0.2em 1em;
  border: 2px solid #00a0d2;
}

.scroll-to-bullets {
  right: 17px;
}
.scroll-to-bullets a {
  display: block;
  /* position: relative; */
  /* z-index: 1; */
  /* width: 10px; */
  /* height: 10px; */
  /* cursor: pointer; */
  /* text-decoration: none; */
  /* pointer-events: all; */
  /* border: none; */
  /* box-shadow: none; */
  width: auto;
  background: transparent;
  position: relative;
  box-shadow: none;
  border-radius: 0;
  border: none;
  /* margin-left: 0; */
  margin: 10px 0;
  text-align: right;
}

.scroll-to-bullets a:before {
  content: "";
  display: block;
  height: 2px;
  width: 20px;
  background-color: #fff;
  position: absolute;
  right: -4px;
  top: -7px;
  transition: width 0.5s ease;
  z-index: 999999;
}
.scroll-to-bullets a.active {
  background: transparent;
  border: none;
  box-shadow: none;
  height: auto;
  width: 60px;
  right: 0;
}
.scroll-to-bullets a.active strong {
  background: white;
}
.scroll-to-bullets a strong {
  display: block;
  position: absolute;
  z-index: 1;
  width: 10px;
  height: 10px;
  cursor: pointer;
  text-decoration: none;
  pointer-events: all;
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 50%;
  box-shadow: none;
  border: 1px solid white;
  right: 0;
}

.scroll-to-bullets a.active,
.scroll-to-bullets a:hover {
  background-color: transparent;
  opacity: 1;
}

.scroll-to-bullets a.active:before {
  width: 60px;
}
.scroll-to-bullets {
  height: 200px;
}
.headingDefault {
}
.headingDefault h2 {
  font-family: "1FTV-VIP-MELFORINE";
  font-size: 46px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}
.tongquanItem {
}
.tongquanItem .icon-box-text {
  display: flex;
  width: 100%;
  color: white;
  padding-top: 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.tongquanItem .icon-box-text h3 {
  width: 35%;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
  padding: 0;
  font-family: "icielsilka-regular";
}
.tongquanItem .icon-box-text .tongquanSubText {
  width: 70%;
  font-size: 17px;
  font-style: normal;
  font-weight: bold;
  margin: 0;
  padding: 0;
}
.headingDefault2 h2 {
  color: #fff;
  text-align: center;
  font-size: 29px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  gap: 11px;
  align-items: center;
  font-family: "1FTV-VIP-MELFORINE";
}
.headingDefault2 h2 span {
  color: #fff;
  text-align: center;
  font-family: "1FTV-VIP-BENGODA";
  font-size: 56px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
  text-transform: none;
}
.Subtitle h3 {
  font-size: 18px;
  font-family: "1FTV-VIP-MELFORINE";
  text-align: center;
  color: white;
  font-weight: 400;
}
.giaodienContent {
}
.giaodienContent p {
  font-family: "iCielSilka-Regular", sans-serif;
  font-weight: 300;
  color: #fff;
  font-size: 15px;
}
.main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  line-height: 1;
}
.sub-text {
  font-size: 18px;
  color: #4a7c59;
  font-weight: 400;
}
.primary-text {
  font-size: 46px;
  color: #2d6a4f;
  font-weight: 400;
  font-family: "1FTV-VIP-MELFORINE", serif;
}
.cursive-text {
  font-size: 56px;
  font-family: "1FTV-VIP-BENGODA", serif;
}
.secondary-text {
  font-size: 46px;
  color: #2d6a4f;
  font-weight: 400;
  position: relative;
}
.small-text {
  font-size: 20px;
  font-weight: 400;
}
.leaf-icon {
  width: 60px;
  height: auto;
  position: absolute;
  right: -55px;
  top: -20px;
  zoom: 1.6;
}
.description p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0;
  font-family: "iCielSilka-Regular", sans-serif;
}

.tabs-container {
  margin: 10px auto 0;
  position: relative;
  font-size: 18px;
  font-family: "iCielSilka-Regular", sans-serif;
}

.tabs {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e0e0e0;
}

.tab {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  flex: 1;
}

@media screen and (max-width: 480px) {
  .tab {
    padding: 8px 20px;
    font-size: 15px;
  }
}

.tab.active {
  color: #2d6a4f;
  font-weight: 600;
}

.tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 3px;
  width: 50%;
  background-color: #2d6a4f;
  transition: all 0.3s ease;
}

.owl-carousel .owl-item:not(.active) {
  opacity: 0.5;
  /* transform: scale(0.9); */
  transition: opacity 0.3s ease, transform 0.3s ease;
  /* filter: brightness(0.7); */
}

.owl-stage {
  contain: none;
}

.owl-carousel .owl-stage {
  display: flex;
  align-items: flex-end;
}

.owl-carousel .owl-item {
}
.owl-carousel .item {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.project-carousel {
  position: relative;
}

.project-carousel .item img {
  position: relative;
  height: 425px !important;
  /* transition: height 0.5s ease-in-out; */
}

.project-carousel .owl-item.active img {
  position: relative;
  height: 489px !important;
  width: 872px;
  object-fit: cover;
}

.project-carousel .owl-item:not(.active) .carousel-caption {
  display: none;
}

.project-carousel .carousel-caption {
  border-radius: 13px;
  height: 40px;
  padding: 10px 16px;
  position: absolute;
  transform: translate(-50%, 0px);
  bottom: 20px;
  left: 50%;
  right: auto;
  background: rgba(255, 255, 255, 0.9);
  color: #45603b;
  text-align: center;
  font-size: 20px;
  line-height: 1.1;
  font-weight: bold;
  text-shadow: unset;
}

.owl-theme .owl-nav {
  margin-top: 0;
  position: absolute;
  left: 0;
  top: 38%;
  z-index: 999;
  width: 100%;
}
.owl-theme .owl-nav .owl-prev {
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 20px;
}
.owl-theme .owl-nav .owl-next {
  position: absolute;
  top: 0;
  right: 0;
  padding-right: 20px;
}
.owl-theme .owl-nav [class*="owl-"] span {
  color: white;
  font-size: 35px;
  background: #830209;
  padding: 5px 10px;
}
.owl-theme .owl-nav [class*="owl-"] {
  overflow: hidden;
  background: transparent !important;
}
.owl-theme .owl-nav {
  position: absolute;
  top: 50%;
  width: 65%;
  transform: translate(-50%, 50%);
  left: 50%;
}

@media screen and (max-width: 768px) {
  .owl-carousel-news .owl-nav {
    max-width: 99vw;
    padding: 0 20px;
  }
  .project-carousel .carousel-caption {
    padding: 5px 10px;
    font-size: 13px;
    line-height: 1.1;
    height: unset;
    margin-bottom: -8px;
    word-break: keep-all;
    white-space: nowrap;
  }
  .news__img {
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
    object-fit: cover;
  }
  .news__img {
    width: 100% !important;
    height: auto !important;
    min-height: 180px;
  }
  .news__card {
    width: 100% !important;
    max-width: 288px !important;
  }
}

.prev-arrow,
.next-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  color: #006400;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
}

.prev-arrow {
  left: 10px;
}

.next-arrow {
  right: 10px;
}

.contact-content h1 {
  font-size: 46px;
  font-family: "1FTV-VIP-Melforine";
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 0px;
  color: #f5f5f5;
}
.contact-content h2 {
  font-size: 46px;
  font-family: "1FTV-VIP-Melforine";
  font-weight: 300;
  margin-bottom: 27px;
  color: white;
}
.contact-content h3 {
  text-align: left;
  font-size: 32px;
  font-family: "IcielSilka-Regular";
  font-weight: bold;
  margin: 0;
  padding: 0;
  margin-bottom: 25px;
  color: white;
}
.contact-content .description_ p {
  font-size: 16px;
  line-height: 1.5;

  max-width: 800px;
  color: white;
}

.contact-content .wpcf7 > form > p {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 20px;
}
.contact-content .wpcf7 > form > p > .wpcf7-form-control-wrap {
  max-width: 340px;
}

.contact-content input {
  width: 340px;
  height: 68px;
  width: 100%;
  padding: 10px 19px;
  border: 1px solid #fff;
  border-radius: 36px;
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}
.contact-content input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.contact-content input:focus {
  background-color: rgba(255, 255, 255, 0.2);
}
.contact-content .wpcf7-submit {
  width: 237px;
  height: 68px;
  padding: 15px 40px;
  border: none;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #435f3a;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin: 0;
}
.wpcf7 form .wpcf7-response-output {
  margin: 10px 0;
  background: white;
}

canvas {
  /*border: 2px solid black;*/
  background: url("images/tmb-011.png") no-repeat center center;
  background-size: contain;
}

canvas#landMap {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  background-size: contain;
}

canvas#landMap {
  box-sizing: border-box;
  overflow: hidden;
}
.map-wrapper {
  width: 100%;
  min-height: 300px;
}

.san-pham .section-title {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: #45603b;
}

.modal-dialog.modal-xl {
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: auto;
}

.modal {
  position: fixed;
  z-index: 1050 !important;
}

.modal-backdrop {
  z-index: 1040 !important;
}

.modal-content .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  z-index: 9999;
  cursor: pointer;
  padding: 0 5px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  column-gap: 32px;
  row-gap: 20px;
  align-items: center;
  height: var(--vh);
}
.section-titlex h2 {
  color: #fff;
  text-align: center;
  font-family: "1FTV-VIP-MELFORINE";
  font-size: 46px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 50px;
}
.section-titlex h2 {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 15px 10px;
  color: white;
}
@media screen and (max-width: 768px) {
  canvas#landMap {
    margin-bottom: 25px;
    margin-top: -65px;
  }

  .san-pham .section-title {
    position: relative;
    top: unset;
  }
}

.thuvienItem {
}
.thuvienItem .box-image {
}
.thuvienItem .box-image img {
      transition: transform 0.3s ease;
}
.thuvienItem:hover .box-image img{
    transform: scale(1.01);
}
.thuvienItem .box-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  transition: all 0.3s ease;
}
.thuvienItem .box-text .box-text-inner {
}
.thuvienItem .box-text .box-text-inner h2 {
  margin: 0;
  color: #fff;
  font-family: "1FTV-VIP-MELFORINE";
  font-size: 46px;
  font-style: normal;
  text-shadow: 2px 2px 3px #45603b;
  transition: font-size 0.3s ease;
  font-weight: 400;
}
.news__card {
  width: 288px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}
.news__card {
  width: 288px !important;
  /* background-color: white; */
  border-radius: 16px;
}

.news__badge {
  width: 86px;
  height: 84px;
  background-color: #487435;
  font-family: "1FTV-VIP-Melforine";
  color: white;
  border-radius: 8px 0 0 0;
  position: absolute;
  margin-left: -0.5px;
  /* top: 0;
                left: 0; */
  --tw-gradient-to: #59883f;
  --tw-gradient-stops: var(
    --tw-gradient-via-stops,
    var(--tw-gradient-position),
    var(--tw-gradient-from) var(--tw-gradient-from-position),
    var(--tw-gradient-to) var(--tw-gradient-to-position)
  );

  --tw-gradient-from: #487435;
  --tw-gradient-stops: var(
    --tw-gradient-via-stops,
    var(--tw-gradient-position),
    var(--tw-gradient-from) var(--tw-gradient-from-position),
    var(--tw-gradient-to) var(--tw-gradient-to-position)
  );

  --tw-gradient-position: to right in oklab;
  background-image: linear-gradient(var(--tw-gradient-stops));
}

.news__date {
  font-size: 39px;
  font-weight: 700;
  text-align: center;
}

.news__month {
  font-size: 21px;
  text-align: center;
  margin-top: -10px;
}

.news__img {
  width: 288px !important;
  height: 310px !important;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.news__content {
  height: 87px;
  padding: 16px;
  background-color: white;
  border-radius: 0 0 16px 16px;
}

.news__title {
  font-size: 16px;
  font-weight: 500;
  text-align: justify;
}

.news__title > a {
  color: #45603b;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.main-container {
  max-width: 1047px;
  margin: 0 auto 200px;
}
.content-section {
  display: none;
}

.content-section.active {
  display: block;
}
.galleryx {
  display: flex;
  flex-wrap: wrap;
  column-gap: 32px;
  row-gap: 20px;
  align-items: center;
  height: auto;
}
.gallery-item {
  width: calc(50% - 16px);
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0;
}
.gallery-item a {
  text-decoration: none;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-caption {
  padding: 26px 15px 30px;
  font-size: 18px;
  font-weight: 500;
  color: white;
}
.navigation {
  display: flex;
  justify-content: center;
  margin: 42px 0;
  gap: 82px;
}
.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #0d6efd;
  text-decoration: none !important;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}
.navigation .nav-link {
  color: white !important;
  text-decoration: none;
  position: relative;
  color: #fff;
  padding: 0;
  text-align: center;
  font-family: "1FTV-VIP-Melforine";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 1px;
  background-color: white;
}
.nav-link:not(.active)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 1px;
  background-color: white;
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-link:not(.active):hover::after {
  width: 100%;
  left: 0;
}
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.news-title {
  color: #435f3a;
  text-align: center;
  font-family: "1FTV-VIP-Melforine";
  font-size: 32px;
}
.list-inline {
  padding-left: 0;
  list-style: none;
}
._date-post li {
  color: #999999;
  font-style: italic;
}
.post-content p {
  color: #000;
  text-align: justify;
}
/* Desktop*/
@media only screen and (min-width: 1200px) {
  .pagePostDetails {
    margin-top: 120px;
  }
  .h2,
  h2 {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 48em) {
  .main-container {
    padding: 0 50px;
  }
  .gallery-item {
    width: 100%;
  }
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .gallery {
    min-height: 200px;
    height: auto;
  }
  .h2,
  h2 {
    font-size: calc(1.325rem + 0.9vw);
  }
  .sub-text {
    font-size: 18px;
    color: #4a7c59;
    font-weight: 400;
  }
  .primary-text {
    font-size: 25px;
  }
  .secondary-text {
    font-size: 25px;
  }
}

/* Flower*/

.floating-action-button.show {
  display: flex !important;
}

.floating-action-button {
  display: flex;
  width: 40px;
  height: 40px;
  text-align: center;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid #45603b;
  background: rgba(89, 136, 63, 0.4);
  position: fixed;
  right: 20px;
  cursor: pointer;
  box-shadow: none;
}

.floating-action-button:hover {
  background: #fff;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

.floating-action-button:hover > img {
  /* fill: #435F3A;
                color: #435F3A; */
  filter: brightness(0) saturate(100%) invert(35%) sepia(14%) saturate(933%)
    hue-rotate(72deg) brightness(95%) contrast(89%);
  transition: all 1s;
}

.floating-action-button.up {
  bottom: 120px;
  /* display: none; */
}

.floating-action-button.up > img {
  /* transform: translateY(50%); */
}

.floating-action-button.phone {
  bottom: 70px;
}

.floating-action-button.view360 {
  bottom: 20px;
}
