/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Taviraj:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@font-face {
  font-family: SVN-GOTHAM-LIGHT;
  src: url(fonts/SVN-GOTHAM-LIGHT.OTF);
}
@font-face {
  font-family: SVN-GOTHAM-REGULAR;
  src: url(fonts/SVN-GOTHAM-REGULAR.OTF);
}
@font-face {
  font-family: SVN-GOTHAM-BOOK;
  src: url(fonts/SVN-GOTHAM-BOOK.OTF);
}
@font-face {
  font-family: SVN-GOTHAM-BOLD;
  src: url(fonts/SVN-GOTHAM-BOLD.OTF);
}
@font-face {
  font-family: SVN-GOTHAM-BLACK;
  src: url(fonts/SVN-GOTHAM-BLACK.OTF);
}
/*************** ADD CUSTOM CSS HERE.   ***************/
body {
	font-family: SVN-GOTHAM-LIGHT;
  font-size: 16px;
}
strong, label {
  font-family: SVN-GOTHAM-BOOK;
}
h1, h2, h3, h4, h5 {
	font-family: "Taviraj", serif;
}
p {
	margin-bottom: 10px;
}
p:last-child {
	margin-bottom: 0;
}
.transparent .header-main {
  background-image: linear-gradient(hsl(0deg 0% 0% / 1%), hsl(0deg 0% 0% / 20%),hsl(0deg 0% 0% / 1%));
  backdrop-filter: blur(100px); /* Blurs everything behind the element */
  transition: background-color 0.3s ease-in-out; /* Hiệu ứng mượt */
}
.transparent .header-main:hover {
  background: #fff;
  transition: background-color 0.3s ease-in-out; /* Hiệu ứng mượt */
}
.transparent .header-main:hover .nav > li > a {
  color: var(--primary-color);
}

.header-main.hover-active .header-logo-sticky {
    display: block !important;
}
.header-main.hover-active .header-logo-dark {
  display: none !important;
}

.section > .section-content > .row > .col {
	padding-bottom: 0;
}
.header-main .nav > li > a {
  font-family: "Taviraj", serif;
  font-size: 20px;
  font-weight: 400;
}
.nav-spacing-xlarge>li {
  margin: 0 20px;
}

textarea.wpcf7-form-control,
input.wpcf7-form-control,
select.wpcf7-form-control {
    border: none;
    box-shadow: none;
    background-color: transparent;
    border-bottom: 1px solid #48484A;
    padding-left: 0;
    color: #48484A;
    margin-bottom: 0;
    font-size: 16px;
}
select.wpcf7-form-control {
  font-family: SVN-GOTHAM-BOOK;
}
textarea.wpcf7-form-control::placeholder {
  color: #48484A;
}
input.wpcf7-form-control::placeholder {
  color: #48484A;
}
select.wpcf7-form-control::placeholder {
  color: #48484A;
}
input.wpcf7-submit {
    padding: 5px 30px;
    color: #fff !important;
    display: block;
    font-family: SVN-GOTHAM-BOLD;
    float: right;
    margin-right: 0;
}
select:focus {
    outline: none;
}

option {
    background-color: transparent; /* Nền trong suốt */
    color: black; /* Chữ đen */
    padding-left: 10px;
}
.wpcf7 label {
  font-weight: normal;
  font-family: SVN-GOTHAM-LIGHT;
  font-size: 16px;
}
.absolute-footer {
	display: none;
}
h2 {
	font-size: 47px;
  font-weight: normal;
  line-height: 70px;
}
.banner h2 {
  font-size: 60px;
  font-weight: normal;
  padding-bottom: 0;
  padding-top: 0;
}
.banner h2 span {
  display: block;
}
h3 {
  font-size: 32px;
  font-weight: 600;
}
h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}
.fw-normal h4 {
  font-family: SVN-GOTHAM-BOLD;
}
.icon-box.icon-box-left {
  display: flex;
  align-items: center;
}
.flickity-page-dots {
  bottom: -20px;
}
.row-kv > .col {
  padding-bottom: 0;
}
.col.post-item .box.box-normal.box-blog-post .post-title {
  font-size: 16px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: SVN-GOTHAM-BOLD;
  margin-bottom: 10px;
}
.col.post-item .box.box-normal.box-blog-post .from_the_blog_excerpt  {
text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
	line-height: 22px;
	height: 88px;
}
.col.post-item .box.box-normal.box-blog-post .button.is-link {
  text-transform: none;
  font-family: SVN-GOTHAM-BOLD;
  font-size: 16px;
  text-decoration: underline;
}
.col.post-item .box.box-normal.box-blog-post {
  color: #48484A;
}
.box-blog-post .is-divider {
  display: none;
}
.star-icon {
  color: #FFBB01;
}
a.icon:not(.button), button.icon:not(.button) {
  color: #48484A;
}
.widget .is-divider {
  display: none;
}
.widget span.widget-title {
  display: block;
  padding: 15px;
  color: #fff;
  background-color: var(--primary-color);
}
.widget.widget_recent_entries ul {
  border: 1px solid #ccc;
  padding: 15px;
}
.tabbed-content .nav-pills {
  margin-bottom: 15px;
}
.tabbed-content .nav-pills>li {
  margin: 0 10px;
}
.tabbed-content .nav-pills>li>a {
  font-size: 20px;
  padding: 0 31px;
  color: #797064;
  line-height: 40px;
}
.tabbed-content .nav-pills>li.active>a {
  color: #fff;
}
.sl-custom {
  background-image: url(images/bg-1.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 40px;
}
.flickity-page-dots .dot {
  background-color: #fff;
  height: 8px;
  width: 8px;
}
.flickity-page-dots .dot.is-selected {
  width: 24px;
  border-radius: 6px;
}
.flexslider.gallery-small {
  position: absolute;
  bottom: 10px;
  margin: auto;
  left: 0;
  right: 0;
  padding: 0 20px;
}
.gallery-small .flex-viewport .slides li img {
  height: 120px;
  object-fit: cover;
}
.gallery-small .flex-viewport .slides li.flex-active-slide img {
  border: 1px solid #fff;
}
.flexslider.gallery-big {
  margin-bottom: 0;
}
.flex-direction-nav li {
  margin-bottom: 0;
}
.uxb-wrapper .flexslider.gallery-big li {
  display: none;
}
.uxb-wrapper .flexslider.gallery-big li:first-child {
  display: block;
}
.uxb-wrapper .flexslider.gallery-small {
    display: none !important;
}
.slider-gallery-vertical {
  display: flex;
  position: relative;
  margin: 0 -3px;
}
.slider-gallery-vertical .flexslider.gallery-big {
  width: 80%;
  padding: 0 3px;
  height: 340px !important;
  overflow: hidden;
}
.slider-gallery-vertical .flexslider.gallery-small {
  padding: 0;
  width: 20%;
  padding: 0 3px;
  position: relative;
  top: 0;
  height: 340px !important;
  overflow: hidden;
}
.slider-gallery-vertical .flexslider.gallery-big li img {
  height: 380px;
  object-fit: contain;
}
.slider-gallery-vertical .gallery-small .flex-viewport .slides li img {
  object-fit: cover;
  height: 111px !important;
}
.slider-gallery-vertical .flexslider.gallery-small li {
  margin-right: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 5px;
  width: 100% !important;
}

.slider-gallery-vertical .flexslider ul.slides { 
  display: flex; 
  flex-direction: column; 
  width: 100% !important;
}
.slider-gallery-vertical .gallery-small .flex-direction-nav .flex-next {
  visibility: hidden;
  display: block;
  width: 35px;
  height: 35px;
  display: block;
  text-align: center;
  text-indent: 0;
  right: 0;
  left: 0;
  margin: auto;
  bottom: 0;
  top: auto;
}
.slider-gallery-vertical .gallery-small .flex-direction-nav .flex-next:before {
  visibility: visible;
  margin: auto;
  display: block;
  font-size: 18px;
  transform: rotate(90deg);
}
.slider-gallery-vertical .gallery-small .flex-direction-nav .flex-prev {
  visibility: hidden;
  display: block;
  width: 35px;
  height: 35px;
  display: block;
  text-align: center;
  text-indent: 0;
  right: 0;
  left: 0;
  margin: auto;
  top: 0;
}
.slider-gallery-vertical .gallery-small .flex-direction-nav .flex-prev:before {
  visibility: visible;
  margin: auto;
  display: block;
  font-size: 18px;
  transform: rotate(90deg);
}

.gallery-big .flex-direction-nav .flex-next {
  visibility: hidden;
  display: block;
  width: 35px;
  height: 35px;
  display: block;
  text-align: center;
  text-indent: 0;
}
.gallery-big .flex-direction-nav .flex-next:before {
  visibility: visible;
  margin: auto;
  display: block;
  font-size: 25px;
}
.gallery-big .flex-direction-nav .flex-prev {
  visibility: hidden;
  display: block;
  width: 35px;
  height: 35px;
  display: block;
  text-align: center;
  text-indent: 0;
}
.gallery-big .flex-direction-nav .flex-prev:before {
  visibility: visible;
  margin: auto;
  display: block;
  font-size: 25px;
}
.gallery-small .flex-direction-nav .flex-next {
  visibility: hidden;
  display: block;
  width: 35px;
  height: 35px;
  display: block;
  text-align: center;
  text-indent: 0;
}
.gallery-small .flex-direction-nav .flex-next:before {
  visibility: visible;
  margin: auto;
  display: block;
  font-size: 20px;
}
.gallery-small .flex-direction-nav .flex-prev {
  visibility: hidden;
  display: block;
  width: 35px;
  height: 35px;
  display: block;
  text-align: center;
  text-indent: 0;
}
.gallery-small .flex-direction-nav .flex-prev:before {
  visibility: visible;
  margin: auto;
  display: block;
  font-size: 20px;
}
.gallery-small li .img-inner.dark {
  position: relative;
}
.gallery-small li .img-inner.dark:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: hsl(0deg 0% 0% / 50%);
  position: absolute;
  top: 0;
  left: 0;
}
.gallery-small li.flex-active-slide .img-inner.dark:before {
  display: none;
}
.fix-support {
  width: 60px;
  position: fixed;
  right: 0;
  bottom: 10%;
  z-index: 9999;
}
.fix-support .ux-logo-link {
  padding: 0 !important;
  margin-bottom: 10px;
  z-index: 9999;
  position: relative;
}
.text-box .text-box-content {
  z-index: 1;
}
.fo-40 * {
  font-size: 37px !important;
}

@media only screen and (max-width: 480px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
  .transparent .header-main {
    height: 115px !important;
  }
  h2 {
    font-size: 38px;
    line-height: 55px;
  }
  .banner h2 {
    font-size: 48px;
  }
  .banner h2 span {
    display: inline;
  }
  h3 {
    font-size: 30px;
  }
  h4 {
    font-size: 22px;
  }
  .slider-gallery-vertical .flexslider.gallery-big {
    height: 222px !important;
  }
  .slider-gallery-vertical .flexslider.gallery-big li img {
    height: 222px !important;
  }
  .slider-gallery-vertical .flexslider.gallery-small {
    height: 222px !important;
  }
  .slider-gallery-vertical .gallery-small .flex-viewport .slides li img {
    height: 71px !important;
  }
  .gallery-small .flex-viewport .slides li img {
    height: 60px;
  }
  .fo-40 * {
      font-size: 26px !important;
  }
  .view-tnct span,
  .view-htp3 span,
  .view-htp2 span,
  .view-htp1 span,
  .view-gt span {
    font-size: 14px;
  }
  .tn-ct,
  .htp3-ct,
  .htp2-ct,
  .htp1-ct,
  .gt-ct {
      display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 22px;
    height: 88px;
  }
  .tn-ct.show,
  .htp3-ct.show,
  .htp2-ct.show,
  .htp1-ct.show,
  .gt-ct.show {
    display: block;
    height: initial;
  }
  .view-tnct.chantext span,
  .view-htp3.chantext span,
  .view-htp2.chantext span,
  .view-htp1.chantext span,
  .view-gt.chantext span {
    display: none;
  }
  .view-tnct.chantext:before,
  .view-htp3.chantext:before,
  .view-htp2.chantext:before,
  .view-htp1.chantext:before,
  .view-gt.chantext:before {
    content: 'RÚT GỌN';
  }
}
.gallery-big img {
	height: 600px !important;
	object-fit: contain;
	object-position: center 0;
}