/**
 * Theme Name: namanh
 * Template: hd
 * Author: Gaudev
 * Author URI: https://webhd.vn
 * Requires PHP: 8.2
 * Version: 1.0 Alpha
 * Text Domain: namanh
 * Domain Path: /languages
 */

body {
    /* background: #F8F4ED; */
}

.grecaptcha-badge{
    opacity: 0;
    display: none;
}

.widget_polylang{

}
.widget_polylang ul{
    gap: 8px;
    grid-gap: 8px;
}
.widget_polylang ul li{
    border-right: unset !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
}
.widget_polylang ul li a{
    width: 25px !important;
    height: auto !important;
}
.widget_polylang ul li a img{
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}
.section.home-infomation .font.html-title{
    text-align: center;
}
.section.home-infomation .font.html-title span{
    color: #C31721;
}
.section.home-infomation .flex-info .cell-left ._desc {
	max-height: 100%;
}
.section-page.archive.default .flex-info .contents .archive-list .cell .item .cover .res,
section.section.recruitments-section ._hb_posts .container ._inner .item .cover .res{
    aspect-ratio: 16 / 9;
}
.section-page.archive.default .flex-info .contents .archive-list .box_1 .cell .item .content .excerpt {
    font-size: 15px;
}
.section-page.archive.default .flex-info .contents .archive-list .box_1 .cell .item .content ._title,
section.section.recruitments-section ._hb_posts .container ._inner .item .content ._title{
	margin-bottom: 10px;
}
.section-page.archive.default .flex-info .contents .archive-list .cell .item .content {
    padding-top: 15px;
}
.section-page.archive.default .flex-info .contents .archive-list .cell .item .content .excerpt{
	font-size: 14px;
}
.section-page.archive.default .flex-info .contents .archive-list .box_2 {
   	 grid-template-columns: repeat(4, 1fr);
}
.section-page.archive.default .flex-info .contents .archive-list .box_1,
.section-page.archive.default .flex-info .contents .archive-list .cell .item .cover{
	border-radius: 10px;
}
.section-page.about-section .hb_mission_vision .container .hb_mission_vision_inner ._right ._desc{
    width: 60%;
    margin: 0 auto;
}
.hb_images_home {
    padding-top: 30px;
    padding-bottom: 30px;
}
.hb_images_home ._gallery .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb_images_home ._gallery .swiper-slide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #005aab;
}

.hb_images_home ._gallery .swiper-slide ._item {
  padding-left: 18px;
}

.hb_images_home ._gallery .swiper-slide ._item ._title {
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  color: #005aab;
  text-align: left;
  line-height: 1.3;
}

.single-product .product-details .entry-summary .hb_after_button ._after-button ._title {
    font-weight: 700;
}

.single-product .product-details .entry-summary .hb_after_button ._after-button.download{
	background: #fff;
}

.single-product .product-details .entry-summary .hb_after_button ._after-button.download ._svg{
	width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #005aab;
    border-radius: 100%;
}

.single-product .product-details .entry-summary .hb_after_button ._after-button.download ._title{
	color: #005aab;
}

.single-product .product-details .entry-summary .hb_after_button ._after-button.download ._svg i{
	font-weight: 500;
   	color: #005aab;
   	font-size: 20px;
}

.single-product .product-details .entry-summary .hb_after_button ._after-button.download:hover{
	background: #005aab;
}

.single-product .product-details .entry-summary .hb_after_button ._after-button.download:hover ._svg{
    border-color: #fff;
}

.single-product .product-details .entry-summary .hb_after_button ._after-button.download:hover ._title{
	color: #fff;
}

.single-product .product-details .entry-summary .hb_after_button ._after-button.download:hover ._svg i{
   	color: #fff;
}

/* Popup sản phẩm */

#confirm-overlay {
	position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
   	z-index: 999999;
    display: none; /* mặc định ẩn */
    align-items: center;
    justify-content: center;
}
#confirm-box {
	background: #fff;
	width: 90%;
	max-width: 650px;
	border-radius: 12px;
	padding: 30px;
	font-family: sans-serif;
	animation: fadeIn .3s ease;
}
#confirm-box ._title {
	margin: 0 0 20px;
	text-align: center;
	font-size: 22px;
	line-height: 26px;
	font-weight: 700;
	color: #005aab;
}
.confirm-section {
	background: #f5f5f5;
	padding: 15px 18px;
	border-radius: 10px;
	margin-bottom: 15px;
}
.confirm-section p{
	font-size: 15px;
    line-height: 22px;
}
.confirm-section p:first-child{
	margin-bottom: 0;
}
.confirm-section strong {
	display: block;
	font-size: 18px;
	margin-bottom: 5px;
	color: #005aab;
	font-weight: 700;
}
#confirm-footer {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 20px;
}
.confirm-btn {
	padding: 12px 25px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	text-transform: uppercase;
	color: rgb(0 0 0 / 70%);
}

.btn-back {
	background: #e0e0e0;
}

.btn-ok {
	background: #0054a6;
	color: #fff;
}

@keyframes fadeIn {
	from {opacity: 0; transform: scale(.95);}
    to {opacity:1; transform: scale(1);}
}

/* End popup */

@media only screen and (max-width: 1024px), only screen and (max-width: 64em) {
  .hb_images_home ._gallery .swiper-slide::before {
    width: 8px;
    height: 8px;
  }

  .hb_images_home ._gallery .swiper-slide ._item {
    padding-left: 14px;
  }

  .hb_images_home ._gallery .swiper-slide ._item ._title {
    font-size: 20px;
    white-space: normal;
  }
}



@media only screen and (max-width: 63.9988rem) {
	.section-page.archive.default .flex-info .contents .archive-list .box_2 {
        grid-template-columns: repeat(3, 1fr);
		padding: 30px 0 0;
		grid-gap: 15px;
    	gap: 15px;
    }
	.section-page.archive.default .flex-info .contents .archive-list .cell .item .cover .res,
	section.section.recruitments-section ._hb_posts .container ._inner .item .cover .res{
		aspect-ratio: 4/4;
	}
    .hb_images_home ._gallery .swiper-slide ._item ._title {
        font-size: 24px;
    }
}

@media only screen and (max-width: 47.9988rem) {
	.section-page.archive.default .flex-info .contents .archive-list .box_1 {
		padding-bottom: 0.625rem;
	}
	.section-page.archive.default .flex-info .contents .archive-list .cell .item .cover {
		border-radius: 10px;
	}
	.section-page.archive.default .flex-info .contents .archive-list .box_2 {
		 grid-template-columns: repeat(1, 1fr);
		 padding: 30px 0 0;
	}
	.section-page.archive.default .flex-info .contents .archive-list .cell .item .content ._title a{
        font-size: 16px;
    }
    .section-page.about-section .hb_mission_vision .container .hb_mission_vision_inner ._right ._desc{
        width: 100%;
    }
    .hb_images_home ._gallery .swiper-slide ._item ._title{
        font-size: 14px;
    }
    .hb_images_home {
        padding-top: 10px;
        padding-bottom: 10px;
    }
	#confirm-box {
		max-width: 350px;
		border-radius: 8px;
		padding: 10px;
	}
	.section.hb_banner_home .swiper-container .w-swiper .swiper-slide .item .overlay-content,.off-canvas .menu-outer .inline-search{
		display: none;
	}
	.off-canvas .menu-outer {
		margin-top: 150px;
	}
}

@media only screen and (min-width: 48rem) {
	.section-page.archive.default .flex-info .contents .archive-list .cell .item .content ._title a {
        font-size: 16px;
        line-height: 26px;
    }
    .section-page.archive.default .flex-info .contents .archive-list .box_1 .cell .item .content ._title a,
	section.section.recruitments-section ._hb_posts .container ._inner .item .content ._title a{
        font-size: 18px;
        line-height: 26px;
    }	
	section.section.recruitments-section {
        padding-bottom: 2.5rem;
    }
}

@media only screen and (min-width: 64rem) {
    section.section.recruitments-section {
        padding-top: 3.5rem;
    }
}

@media only screen and (min-width: 96.0625rem) {
	.section-page.archive.default .flex-info .contents .archive-list .cell .item .content ._title a {
        font-size: 18px;
        line-height: 26px;
    }
    .section-page.archive.default .flex-info .contents .archive-list .box_1 .cell .item .content ._title a,
	section.section.recruitments-section ._hb_posts .container ._inner .item .content ._title a{
        font-size: 24px;
        line-height: 32px;
    }
}