/*
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.   ***************/
.my-search-form {
  display: flex;
  align-items: center;
  background-color: #A21F2B;
  border-radius: 50px;
  padding: 0 20px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 50px;
}

.my-search-form input[type="text"] {
  flex: 1;
  border: none;
  box-shadow: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  padding: 0 10px;
  height: 100%;
}

.my-search-form input[type="text"]::placeholder {
  color: #e0e6ef;
  font-style: italic;
}

.my-search-form button {
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  width: 40px; 
  height: 40px; 
  border-radius: 50%;
  transition: background-color 0.3s ease-in-out;
}

.search-results {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-results h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #333;
}

.search-results .post {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.search-results .post h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0073e6;
}

.search-results .post h3 a {
  color: #0073e6;
  text-decoration: none;
}

.search-results .post h3 a:hover {
  text-decoration: underline;
}

.search-results .post p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.search-results .post a {
  font-size: 14px;
  text-decoration: none;
  background-color: #eaf2e3;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.search-results .post a:hover {
  background-color: #28a745;
  color: #fff;
}

.search-results .no-search {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  text-align: center;
}

.search-results .no-search p {
  font-size: 16px;
  color: #555;
}

.my-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: rgb(0,0,0);
  text-align: center;
  padding-bottom: 5px;
  display: inline-block;
  margin: 20px auto;
  transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
  .my-title {
	font-size: 24px !important
  }
  .my-search-form {
    max-width: 100%;
  }

  .my-search-form input[type="text"] {
    font-size: 14px;
    padding: 10px;
  }

  .my-search-form button {
    padding: 10px;
    font-size: 16px;
  }
	.banner-bg-hdsd{
	height: 40px !important
	}
}

.hdsd-subtitle{
  padding: 0 0 30px;
  text-align: center;
}

/* Ẩn danh mục con của danh mục sản phẩm */
.flickity-viewport {
    position: relative;
    max-height: 500px;
    overflow: hidden;
}

.woocommerce-product-gallery__wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

.woocommerce-product-gallery__image {
	height: 350px;
}

.flickity-slider img {
    max-height: 350px;
    object-fit: contain;
}

p.product-title {
	padding: 0 5px;
}

.porfolio-slider .box-image {
  width: 25%;
  float: left;
}
.porfolio-slider .box-text{
float: right;
width: 75%;
background-color: #FFF !important;
font-size: 16px;

}

.porfolio-slider .box-text h6{
  color: #000 !important;
  font-size: 26px;
}

.portfolio-box-title {
  justify-content: left !important;
  align-items: left !important;
}

.porfolio-slider .image-cover {
  padding-top: 70% !important;
}

.porfolio-slider .portfolio-box-category{
  color: #000;
  display: block !important;
  text-align: left;
  margin: 15px 0;
  font-size: 18px;
}

.porfolio-slider .portfolio-box-category .show-on-hover {
  opacity: 1;
}

.porfolio-slider .col{
  border: 1px solid #CCC;
  margin: 5px 0;
  border-radius: 10px;
  padding: 5px;
}

.porfolio-slider .col:hover{
  border: 1px solid #689EFF;
}

.job-post{
  border-bottom: 1px solid #c8d1de; padding: 15px; margin-bottom: 5px; display: flex; gap: 15px; align-items: flex-start;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.job-post:hover{
  border: 1px solid #eeeeee;
  background: #eeeeee;
}

/*.job-post h2{*/
/*  font-size: 18px !important;*/
/*}*/

.job-post .job-image {
  width: 15%;
  height: 15%;
  float: left;
}

.job-post .job-details{
  width: 75%;
  float: right;
}
.job-post .job-details p{
    margin: 0;
    font-size: 16px;
}

.job-post .job-image img {
	max-width: 50%
}

/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding: 10px 0;
  list-style-type: none;
}

.pagination a {
  text-decoration: none;
  color: #a22028;
  border: 1px solid #ddd;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
  background-color: #a22028;
  color: #fff;
}

.pagination .current {
  background-color: #a22028;
  color: #fff;
  border: 1px solid #a22028;
  padding: 8px 12px;
  border-radius: 4px;
}

.pagination .prev,
.pagination .next {
  font-weight: bold;
}

.pagination .prev:hover,
.pagination .next:hover {
  background-color: #a22028;
  border-color: #a22028;
}

.menu-item-type-taxonomy.menu-item-has-children .sub-menu {
  display: none;
}


.menu-item-type-taxonomy.menu-item-has-children > a::after {
  content: ''; 
  font-size: 12px;
  margin-left: 5px;
  padding-right: 5px;
}


.menu-item-type-taxonomy.menu-item-has-children.open > .sub-menu {
  display: block;
}

.menu-item-type-taxonomy.menu-item-has-children.open > a::after {
  content: ''; 
}


.menu-item-type-taxonomy.menu-item-has-children > a,
.menu-item-type-taxonomy.menu-item-has-children > button.toggle {
  display: inline-flex;  
  align-items: center;   
  gap: 5px;  
}


.menu-item-type-taxonomy.menu-item-has-children > button.toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}


.menu-item-type-taxonomy.menu-item-has-children > button.toggle i {
  font-size: 28px;
  margin-left: 5px; 
}


.sub-menu {
  display: none;
  padding-left: 15px; 
}

.nav-vertical li >a {
  color: #000 !important;
  font-size: .8em;
  font-weight: bolder;
  text-transform: uppercase;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.section-title-main {
	font-size: 15px;
}
	
.section-title b {
	opacity: 0;
}
	
.row-box-shadow-5-hover {
	margin: 0 auto !important;
}

.has-shadow .box-text {
    padding-left: 0.2em;
    padding-right: 0.2em;
}
	
.product-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  max-height: calc(1.4em * 4);
  line-height: 1.2em;
}

.porfolio-slider .box-text{
  padding: 5px;
}

.porfolio-slider .box-text h6{
  font-size: 15px;
  margin-bottom: 10px;
  text-align: left;
}

.porfolio-slider .portfolio-box-category{
  margin: 5px 0;
  font-size: 13px;
}

.banner h2{
  font-size: 24px;
  line-height: 30px;
}

.gap-element{
  padding-top: 50px !important;
}

.banner .text-box{
  width: 100% !important;
}

.job-post{
  padding: 10px;
}

.job-post p{
  font-size: 10px;
  margin: 0;
}
	
.job-details h2 a{
	color: #555 !important
}
}
.job-details h2 a:hover{
	color: #a22129 !important
}
.header-per-page {      
	display: block;
}
.background-hdsd{
	display: none;
}
.header-per-page::after {      
	content: '';      
	position: absolute;      
	left: 0;      
	bottom: -10px;      
	width: 100%;      
	height: 5px;      
	background: linear-gradient(90deg, red, #a22129);
	}

//.shop-page-title{
//	display: none;
//}

.yoast-breadcrumbs{
	position: relative;
    height: 26px;
    padding-left: 30px;
    font-weight: 700;
    font-style: normal;
	color: #555;
	margin-top: 30px;
	margin-bottom: 50px;
	text-transform: uppercase;
	font-size: 12px;
}

.yoast-breadcrumbs a{
	color: #555;
}

.yoast-breadcrumbs::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, red, #a22129);
}
@media screen and (max-width: 782px) {
.header-per-page::after {      
	content: '';      
	position: absolute;      
	left: 0;      
	bottom: -10px;      
	width: 100%;      
	height: 5px;      
	background: linear-gradient(90deg, red, #a22129);
	}
	.header-per-page {
	padding-left: 10px;
	}
.job-view-detail a{
    font-size: 12px;
}
.job-post .job-details p {
    font-size: 14px;
}
.yoast-breadcrumbs::after {
    bottom: -20px;
}
}
@media screen and (min-width: 1050px) {
	.job-post{
	width:750px;
	}
}
.job-address::before {      content: '';
    position: absolute;
    background-image: url(https://pinnaclehealth.com.vn/wp-content/uploads/2016/08/location_535239.png);
    background-size: contain;
    background-position: center;
    width: 20px;
    height: 20px;
	}
.job-salary::before {      content: '';
    position: absolute;
    background-image: url(https://pinnaclehealth.com.vn/wp-content/uploads/2025/01/money_1052341.png);
    background-size: contain;
    background-position: center;
    width: 20px;
    height: 20px;
	}
.job-date::before {      content: '';
    position: absolute;
    background-image: url(https://pinnaclehealth.com.vn/wp-content/uploads/2025/01/calendar_2940436.png);
    background-size: contain;
    background-position: center;
    width: 20px;
    height: 20px;
	}
.job-category::before {      content: '';
    position: absolute;
    background-image: url(https://pinnaclehealth.com.vn/wp-content/uploads/2025/01/badge_2630165.png);
    background-size: contain;
    background-position: center;
    width: 20px;
    height: 20px;
	}
.job-view-detail a:hover{
    color: #a22129 !important;
}