/*
Theme Name: flatsome Child
Theme URI: http://flatsome.uxthemes.com
Description: Multi-Purpose Responsive WooCommerce Theme
Author: UX-Themes
Author URI: https://uxthemes.com
Template: flatsome
Version: 3.19.5

Text Domain: flatsome
*/
.section-banenr {
  padding: 0 36px !important;
}
.header-main .nav > li > a {
  line-height: 16px;
  font-size: 15px;
  letter-spacing: 0em;
  line-height: 49px;
}
#content {
  /* background-image: url('../../'); */
  background-image: url("../../uploads/2024/11/brg.svg");
  background-position-y: 350px;
  background-size: 100%;
  /* overflow: hidden; */
}
.banner-main-custome {
  border-radius: 26px;
  overflow: hidden;
}
.text-main-banner {
  text-rendering: optimizeLegibility;
  font-weight: 300 !important;
  line-height: 48px !important;
  margin: 0;
  font-size: 38px !important;
  overflow-wrap: break-word;
  word-break: break-word;
}
.border-image div {
  border-radius: 34px;
}
.h2,
h2 {
  text-rendering: optimizeLegibility;
  font-size: 40px;
  font-weight: 300;
  line-height: 48px;
  margin: 0;
}
.number-count h2 {
  font-size: 40px;
  font-weight: 300;
  line-height: 48px;
}
.col-has-border {
  border-right: 1px solid #000;
}
.roe-has-number-count {
  border: 1px solid rgb(255, 255, 255);
  background-color: var(--primary-color);
  padding: 20px;
  border-radius: 32px;
}
.image-overlay-banner {
  position: absolute !important;
  z-index: 2;
  top: 166px;
  left: -415px;
  transform: rotate(-7deg) !important;
}
.banner-bg {
  overflow: hidden;
}
.sec-intro {
  background: linear-gradient(180deg, #0a203d 0%, #325889 100%);
}
.img-qr-code {
  position: absolute !important;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

  /* box-shadow: ; */
  left: 0;
}
.img-qr-code img{
  width: 100%;
  border-radius: 20px;
}
.banner-contact {
  border-radius: 25px;
}
.ib-about-us {
  background-color: #7a4545;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 6px 6px rgba(0, 0, 0, 0.2);
}

.image-vision img {
  border-radius: 69px;
}
.image-overlay-banner-2 {
  position: relative !important;
}
.image-overlay-banner-2 div {
  position: absolute;
  width: 330px;
  transform: rotate(-5deg) !important;
  top: 162px;
  left: -109px;
}
.p-0 {
  padding: 0 !important;
}
.banner-main-custome-2 {
  padding-top: 0 !important;
  height: 230px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
    /* Bóng chính mềm mại */ 0 6px 20px rgba(0, 0, 0, 0.19); /* Bóng phụ tăng thêm chiều sâu */
}
.col-custone-kind {
  padding: 0 25px;
}
.r-contact-first{
  touch-action: none;
  /* background-color: var(--primary-color); */
}
.c-contact-first{
  background-color: var(--primary-color);
  border-radius: 38px;
}
.c-contact-second{
  border-radius: 80px 80px 0 0;
  /* box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15); */
  box-shadow: 0 0rem 2rem rgba(0, 0, 0, 0.3);

  margin: 0 auto;
  max-width: 1440px;
  padding: 172px 30px 30px;
  background-color: #fff !important;
  position: absolute ;
  width: 100% !important;
  height: fit-content;
  top: 128px;
  z-index: -1;
}

.btn-contact{
  border-radius: 22px;
  touch-action: none;
  color:var(--primary-color) !important;
  border: 1px solid var(--primary-color);
  color: #154194;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}
.text-contact-title{
  text-rendering: optimizeLegibility;
  font-size: 30px;
  font-weight: 300;
  line-height: 37px;
}

/* CARD */
.text-card-header{
  text-rendering: optimizeLegibility;
  font-size: 30px;
  font-weight: 300;
  line-height: 37px;
  margin: 0 0 0 16px !important;
  
}
.text-card-content{
  font-size: 16px;
  line-height: 28px;
  margin: 0 0 0 16px ;

}

.c-card > .col-inner {
  background-color: #ffffff; 
  border-radius: 32px;
  box-shadow: 0 4px 8px 4px rgba(8, 39, 98, 0.2);
  padding-bottom: 12px;
  height: 100%;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}


.c-card > .col-inner::after {
  content: "";
  background-color: #dae0ea; /* Màu nền đen cho phần dưới */
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%; /* Điều chỉnh chiều cao để phù hợp */
  z-index: -1;
}
.image-overlay-card {
  background-color: var(--primary-color);
  width: 300px;
  height: 150px;
  position: absolute;
    bottom: -85px;
    left: -79px;
    border-radius: 55px;
    transform: rotate(-5deg) !important;
}
.image-overlay-card-2{
  top: -42px;
  left: -64px;
}
.pt-8{
  padding-top: 8px;
}
.z-index-1{
    z-index: 1 !important;
    position: relative;
}
.z-index-1 p{
  font-weight: 500;color: #fff;
  font-size: 16px;
}
.s-contact{
  padding: 100px;
}
/* .image-overlay-card-home{
    background-color: var(--primary-color);
    width: 300px;
    height: 150px;
    position: absolute;
      bottom: -85px;
      left: -79px;
      border-radius: 55px;
      transform: rotate(-5deg) !important;
} */
.flickity-slider>.row:not(.is-selected) {
  opacity: 1;
}
.c-card-2{
  padding: 0 20px;
  /* box-shadow: 0 1px 10px 1px rgba(8, 39, 98, 0.2); */
}
.c-card-2 .col-inner{
  box-shadow: 0 1px 1px 0px rgba(8, 39, 98, 0.2);
}
.card-col-first{
  height: 30% !important;
  max-height: 30% !important;

}
.row-in-card{
  height: 100% !important;
}
.pos-fixed{
  position: absolute;
  bottom: -10px;
}
.c-card-custome{
  height: 410px;
}

.c-card-home{
  margin: 0 15px;
  height: 590px;
}
.c-card-edu{
  height: 236px;
}
.c-card-edu .col-inner{
  margin: 16px 0;
  
}
.text-baner-edu p{
  text-shadow: 0 0 #ffffff;
  line-height: 27px;
}
.c-card > .col-inner {
  background-color: #ffffff; 
  border-radius: 32px;
  box-shadow: 0 4px 8px 4px rgba(8, 39, 98, 0.2);
  padding-bottom: 12px;
  height: 100%;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}


.c-card > .col-inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%; /* Điều chỉnh chiều cao để phù hợp */
  z-index: -1;
}



@media (max-width: 768px) {
  .banner-main-custome-2 {
    overflow: hidden;
    overflow-y: hidden;
    scrollbar-width: none;

  }
  .img-qr-code{
    display: none;
  }
	.shape-logo{
		display:none;
	}

}
@media (max-width: 549px) {
  .banner-layers {
      -webkit-overflow-scrolling: touch;
      overflow: unset !important;
  }
  .image-overlay-banner{
    top: 179px;
    left: -38px;
    width: 100% !important;
  }
  .section-banenr {
    padding: 0 12px !important;
  }
  .col-has-border {
    border-right: unset;
  }
  .s-contact{
    padding: 1510px 12px 0;
  }
  .btn-contact{
    font-size: 12px;
    font-weight: 300;
    line-height: 22px;
    
  }

  h2{
    text-rendering: optimizeLegibility;
    font-size: 28px;
    font-weight: 300;
    line-height: 32px;
    margin: 0;
  }
  .c-contact-second{
    top: 208px;
  }
  .btn-contact {
    padding-left: 10px !important;
      padding-right: 10px !important;
    width: 100%;
  }
  .roe-has-number-count{
    display: flex;
    flex-wrap: nowrap;
  }
  .number-count h2 {
    font-size: 22px;
    font-weight: 300;
    line-height: 38px;
}
.roe-has-number-count .col-inner {
  padding: 5px 12px !important;
}
.img-qr-code{
  display: none;
}
}
/* moblie */

/* ---------------POST------------- */

/* Card Container *//* Card Container */
.col.post-item .col-inner {
  position: relative;
/*   margin: 20px; */
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 400px; /* Đặt chiều cao cố định cho các thẻ */
  padding: 0 0 10px !important;
}

/* .col.post-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
} */

.col-inner {
  /* background-color: #ffffff; */
/*   border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0; */
}

.box-image .image-cover {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}

.box-image img {
  width: 100%;
  height: 150px; /* Điều chỉnh chiều cao của hình ảnh */
  display: block;
  object-fit: cover;
}

/* Post Title */
.post-title {
  font-size: 1.5em;
  font-weight: bold;
  margin: 10px 0;
  color: var(--primary-color);
}

.post-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.post-title a:hover {
  color: #333;
}

/* Divider */
.is-divider {
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 10px auto;
}

/* Excerpt */
/* .from_the_blog_excerpt {
  color: #666;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}
 */
/* Box Text */
.box-text.text-center {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.box-text-inner.blog-post-inner {
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.img.has-hover.shape-logo{
	    position: absolute !important;
   	 width: 27%;
    transform: unset !important;
    left: -184px;
    z-index: 2;
    top: 272px;

}
.container, .container-width, .full-width .ubermenu-nav, .row {
    max-width: 1280px;
}
.esg-partner .flickity-slider {
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-inner {
  width: 100%; /* Đảm bảo thẻ cha chiếm toàn bộ chiều rộng */
  height: 120px; /* Chiều cao cố định của thẻ cha */
  overflow: hidden; /* Ẩn phần thừa của ảnh nếu cần */
}

.img-inner img {
  width: 100%; /* Đảm bảo ảnh bao phủ hết chiều rộng */
  height: 100%; /* Đảm bảo ảnh bao phủ hết chiều cao */
	    object-fit: contain;
/*   object-fit: contain; /* Duy trì tỉ lệ ảnh và cắt phần thừa */ */
}
