/*
Theme Name: TNHomeCare
Description: This is a child theme for Flatsome Theme, design by Xuanlt 
Author: UX Themes - Xuanlt
Template: flatsome
Version: 3.0
*/


body {
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ff-heading {
    font-weight: normal;
}

h1 {
    font-size: 2.65rem;
}

h2 {
    font-size: 2.35rem;
}

h3 {
    font-size: 1.65rem;
}

h4 {
    font-size: 1.35rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.125rem;
}
p.lead {
    font-size: 1.125rem;
} 
@media screen and (max-width:850px){

    h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 2.125rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    h5 {
        font-size: 1.125rem;
    }
    h6 {
        font-size: 1rem;
    }
    p.lead {
        font-size: 1rem;
    }
}
h6,
.uppercase {
    letter-spacing: 0;
    text-transform: none;
}

.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-4 {
    margin-bottom: 1.75rem !important;
}

.ms-2 {
    margin-left: 0.5rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.p-3 {
    padding: 1rem !important;
}


.text-justify{
    text-align: justify;
}
.uppercase,
h6,
th,
span.widget-title {
    letter-spacing: 0;
}

.ff-normal {
    font-family: 'Inter', sans-serif;
}

.nav-line-bottom>li>a::before,
.nav-line-grow>li>a::before,
.nav-line>li>a::before {
    height: 3px;
}

.nav-line-bottom>li>a::before {
    background-color: var(--wp--preset--color--vivid-cyan-blue) !important;
}


.nav-line-bottom>li>a>span {
    font-weight: bold;
}

.nav-line-bottom>li.tab {
    margin-right: 1rem;
}

.nav-line-bottom>li.tab.active a {
    color: var(--wp--preset--color--vivid-cyan-blue) !important;
}

.nav-line-bottom>li.tab:last-child {
    margin-right: 0;
}
h1, h2, h3, h4, h5, h6, .heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a {
   
}
h1, h2, h3 {
    line-height: 1.15;
}
.lh-1 {
    line-height: 1 !important;
}
/* Font Size */

.fs-large {
    font-size: 2.5rem !important;
}

.fs-xlarge {
    font-size: 3rem !important;
}

.fs-xxlarge {
    font-size: 3.5rem !important;
}

.small {
    font-size: 0.875rem;
}

/* Opacity */
[data-opacity="0.7"] {
    opacity: 0.7;
}
[data-opacity="0.5"] {
    opacity: 0.5;
}

/* Text color */
.dark [data-text-color=secondary] {
    color: #FEB21A;
}



/* Border */
.border-top {
    border-top: 1px solid rgba(0,0,0,0.1);
}
/* Padding */
.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pt-3 {
    padding-top: 1rem;
}

.pb-3 {
    padding-bottom: 1rem;
}

/* Margin */
.mr-2{
    margin-right: 0.5rem !important;
}

/* FLex */

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.align-items-end {
    align-items: end;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.flex-shirk-0 {
    flex-shrink: 0;
}

.flex-grow-1 {
    flex-grow: 1;
}

.ms-auto {
    margin-left: auto;
}
/* Rounded */
.rounded-lg {
    border-radius: 1rem !important;
}
.border{
    border: 1px solid rgba(0,0,0,0.1) !important;
}
/* Uppercase */
.uppercase {
    text-transform: uppercase;
}

.button.icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.button.icon i, button.icon i {
    top: auto;
}
/**/
.button.is-outline, input[type=button].is-outline, input[type=reset].is-outline, input[type=submit].is-outline {
    border: 1px solid;
}
.button.white.is-outline {
    border-color: rgba(0,0,0,0.2);
    color: #666;
}

.button.white.is-outline:hover {
    border-color: rgba(0,0,0,0.5);
}
button.primary.is-outline {
    border-color: var(--primary-color);
}

.button .icon-angle-right{
    transform: rotate(-45deg);
}
.button .icon-angle-right::before {
    content: '\f061';
    font-family: 'FontAwesome' !important;
    font-weight: normal;
}

/* html header-button-2 */
.html.header-button-2 .header-button .button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 3rem;
    line-height: 1;
    padding-left: 3rem;
    padding-right: 1rem;
}
.html.header-button-2 .header-button .button::before {
    display: block;
    content: 'Gọi ngay';
    opacity: 0.75;
}
.html.header-button-2 .header-button .button i{
    position: absolute;
    width: 2.25rem;
    height: 2.25rem;
    background-color: rgba(0,0,0,0.2);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    left: 0.4rem;
    top: 0.35rem;
}
.html.header-button-2 .header-button .button span{
    font-size: 1rem;
}


.dark .button.white.is-outline {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.dark .button.white.is-outline:hover {
    border-color: rgba(255,255,255,0.9);
    color: #fff;
}
.box-blog-post .is-small.button.is-link {
    font-size: 0.875rem;
    position: relative;
    display: inline-flex;
    flex-direction: row-reverse;
    margin-top: 0.5rem;
} 

.box-blog-post .is-small.button.is-link:before {
    content: '\f061';
    font-family: 'FontAwesome' !important;
    font-weight: normal;
    transform: rotate(-45deg);
    margin-left: 0.5rem;
}
.button.is-link {
    font-weight: normal;
    position: relative;
    opacity: 0.7;
    font-size: 0.875rem;
}
.button.is-link:hover{
    opacity: 1;
}
.button.is-link:after{
    content: '';
    width: 0;
    height: 1px;
    background-color: rgba(0,0,0,0.2);
    position: absolute;
    right: 0;
    bottom: 0;
    transition: all ease 0.3s;
}
.button.is-link:hover:after {
    width: 100%;
    left: 0;
    right: auto;
    transition: all ease 0.3s;
}


.nav-pagination>li>a, .nav-pagination>li>span {
    border-width:1px;
}
ul.links li a,
ul.links li span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
/* Sticky Col */
.sticky-col {
  position: sticky;
  top: 100px; /* khoảng cách từ top khi cố định, tùy chỉnh */
  align-self: flex-start; /* giữ chiều cao hợp lý */
  height: fit-content;
  z-index: 2;
}
@media (max-width: 767px) {
  .sticky-col {
    position: static;
  }
}

/* Offcanvas */
.off-canvas .nav-vertical>li>a {
    text-transform: uppercase;
}

/* rounder */
.tag {
    display: inline-block;
    padding: 0.35rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(0,0,0,0.2);
}

/* Margin Top */
.mt-n-150px {
    margin-top: -150px;
}
.mt-n-240px {
    margin-top: -240px;
}
.title-share {
    min-width: 180px;
}
.dark .title-share .social-icons.share-icons .icon.button.circle{
    background-color: rgba(255,255,255,0.25);
    border: 0 !important;
    backdrop-filter: blur(5px);
    width: 2.5rem;
    height: 2.5rem;
}
.social-button, .social-icons .button.icon:hover, .social-icons .button.icon:not(.is-outline) {
    background-color: rgba(0,0,0,0.2) !important;
    backdrop-filter: blur(5px);
    border: 0;
}

.dark .social-button, 
.dark .social-icons .button.icon:hover,
.dark .social-icons .button.icon:not(.is-outline) {
    background-color: rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(5px);
    border: 0;
}

/* Row Fullwwidth */
.row-full-width > .col > .col-inner > .row:not(.row-collapse) {
    margin:0 auto !important;
}

/* Row Testimonials */
.row-testimonials .flickity-page-dots{
    bottom: 0;
}
.row-testimonials .testimonial-box{
    border:1px solid #eee;
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    transition: all ease 0.2s;
    margin-top: 2rem;
}
.row-testimonials .testimonial-box:hover{
    border-color: #ccc;
    transition: all ease 0.2s;
}
.row-testimonials .testimonial-box .icon-box-img {
    margin-top: -3.5rem !important;
}
.flickity-page-dots .dot.is-selected {
    background-color: var(--fs-color-secondary);
    border-color: var(--fs-color-secondary);
}
/* Row Services */
.row-services-slider .flickity-page-dots{
    bottom: 0 !important;
}
/* Flicky */
.flickity-page-dots .dot {
    border-width: 2px;
}
/* -----------------
    SITE HEADER
----------------- */
.header-top {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.header.has-transparent.transparent .header-top{
    backdrop-filter: blur(5px);
    background-color: rgba(255,255,255,0.9) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.header-contact li a[href^="tel:"]{
    color: #FEB21A;
    font-weight: bold;
}
.nav-dark .top-divider {
    display: block;
    border-top: 1px solid rgba(255,255,255);
}
/* Header */

/* .header.has-transparent.transparent:before {
    content: '';
    width: 100%;
    height: 150%;
    background: linear-gradient(0deg,rgba(0, 0, 0, 0) 0%, rgba(0,0,0, 0.5) 100%);
    position: absolute;
    left: 0;
    top: 0;
} */
.header-nav-main .menu-item.current-menu-item .nav-top-link {
    color: var(--fs-color-secondary);
}
/* Header Menu */
@media screen and (min-width:1280px) {
    .header-nav-main .menu-item .nav-top-link{
        font-size: 1em;
    }
}



/* Defautl */
.banner,
.banner .banner-inner,
.banner .banner-inner .banner-bg,
.banner .banner-inner .banner-layers{
    overflow:hidden;
    border-radius:1rem !important;
}
/* -----------------
    SITE MAIN
----------------- */
/* Page Title*/
.page-title.simple-title  .entry-title{
    font-size: 1.5rem;
    opacity: 0.75;
}
/* Section Top */
.section-top {
    position: relative;
}

.section-top:before{
    content: '';
    width: 100%;
    height: 70%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background: #FFFFFF;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f9edd6+0,d2ebf9+100 */
    background: linear-gradient(to bottom,  #f9edd6 0%,#f2f2f2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}
.section-top .section-content {
    z-index: 20;
}
.section-top .banner,
.section-top .banner .banner-inner,
.section-top .banner .banner-inner .banner-bg,
.section-top .banner .banner-inner .banner-layers{
    overflow:hidden;
    border-radius:2rem !important;
}


/* Section Service */
.row-full-top > .col > .col-inner {
    position: relative;
    min-height: 320px;
}
.row-full-top > .col > .col-inner:before {
    content:'';
    width: 100%;
    height: 50%;
    min-height: 320px;
    max-height: 360px;
    background: #F0EBE1;
    background: linear-gradient(180deg, rgba(240, 235, 225, 1) 0%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    left: 0;
    top: 0;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}
.row-full-bottom > .col > .col-inner {
    position: relative;
    min-height: 320px;
}
.row-full-bottom > .col > .col-inner:before {
    content:'';
    width: 100%;
    height: 50%;
    min-height: 320px;
    max-height: 360px;
    background: #F0EBE1;
    background: linear-gradient(0deg, rgba(240, 235, 225, 1) 0%, rgba(255, 255, 255, 1) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

/* section-page-header */
.section-page-header {
    background: none !important;
}
/* .section-page-header:before{
    content: '';
    width: 100%;
    height:100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background: #F0EBE1;
    
    background: linear-gradient(to bottom,  #f9edd6 0%,#f2f2f2 100%); 

}
.section-page-header .section-content {
    z-index: 20;
} */

.section-page-header .row-full-bottom,
.section-page-header .row-full-bottom > .col > .col-inner,
.section-page-header .row-full-bottom > .col > .col-inner:before {
   min-height: 200px !important;
   max-height: 240px !important;
}
.section-page-header .row-full-bottom > .col > .col-inner:before {
    bottom: auto !important;
    top: 0;
}

/* Icon Box */
.icon-box.featured-box .icon-box-img {
    width: 72px !important;
    height: 72px;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}
.icon-box.featured-box .icon-box-img .icon .icon-inner{
   width: 32px;
}
.icon-box.featured-box .icon-box-img .icon .icon-inner img{
    padding-top: 0;
}

/* H Menu */
.h-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
.h-menu li {
    list-style: none;
    padding: 0 !important;
    margin: 0 0.75rem !important;
}
.h-menu li a {
    padding: 0.25rem 0;
    margin: 0 ;
    position: relative;
    display: inline-flex;
}
.h-menu li a:before{
    width: 0;
    height: 1px;
    content: '';
    background-color: rgba(255,255,255,0.2);
    position: absolute;
    right: 0;
    bottom: 0;
    transition: all ease 0.35s;
}
.h-menu a:hover:before{
    width: 100%;
    right: auto;
    left: 0;
}
.dark .h-menu li a{
    color: rgba(255,255,255,0.7);
}
.dark .h-menu li a:hover{
    color: rgba(255,255,255,1);
}
.dark .h-menu li a:before {
    background-color: rgba(255,255,255,0.2);
}

/* Service Box */
.service-box .box-image,
.service-box .box-image .image-cover,
.service-box .box-image .image-cover img{
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.service-box .box-text{
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 20px 20px 15px 20px;
    display: flex;
    min-height: 72px;
}

.service-box .box-text .box-text-inner {
    position: relative;
    flex-grow: 1;
    padding-right: 72px;
}
.service-box .box-text .box-text-inner:after{
    width: 72px;
    height: 64px;
    background: url(img/br-conner-bg.svg) no-repeat 100% 100%;
    background-size: cover;
    position: absolute;
    right: -21px;
    bottom: -15px;
    z-index: 1;
    content: '';
}
.service-box .box-text .box-text-inner .button{
    position: absolute;
    right:-15px;
    bottom: -12px;
    margin: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}
.service-box .box-text .box-text-inner .button:before {
    content: '\f061';
    font-family: 'FontAwesome' !important;
    font-weight: normal;
    transform: rotate(-45deg);
    display: inline-block;
}
.service-box .box-text .box-text-inner .button span {
    font-size: 0;
}

/* Widgets */
@media screen and (max-width:768px){
    .widget {
        margin-bottom: 2rem;
    }
}

.widget .widget-title {
   width: 100%;
   display: flex;
   position: relative;
   margin-bottom: 0.75rem;
   overflow: hidden;
   line-height: 1.5rem;
   font-size: 1.125rem;
   
}
.widget .widget-title:after{
    content: '';
    width: 100%;
    height: 1px;
    background-color: #eee;
    position: relative;
    flex-grow: 1;
    margin-top: auto;
    margin-bottom: 0.35rem;
}
.widget .widget-title span{
    color: var(--fs-color-primary);
    position: relative;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.widget .is-divider {
    display: none;
}
/* Widget Search */
.widget.widget_search .widget-title {
    display: none;
}
.widget.widget_search .search-field {
    border: 1px solid #eee;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    background-color: #fff;
    box-shadow: none;
    border-right: 0;
    color: rgba(0,0,0,0.5);
    padding-left: 1.125rem;
}
.widget.widget_search .ux-search-submit {
    background-color: #fff;
    border: 1px solid #eee;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    border-left: 0;
    color: rgba(0,0,0,0.35);
}
.widget.widget_search form:focus-within .search-field,
.widget.widget_search form:focus-within .ux-search-submit{
    border-color: #ccc;
}

/* Widget Categories */
.widget.widget_categories .widget-title span:before {
    font-family: 'FontAwesome' !important;
    content: '\f07b' !important;
    margin-right: 0.5rem;
}

.widget.widget_categories ul .cat-item {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(0,0,0,0.5);
    border: 0;
    text-transform: capitalize;
}
.widget.widget_categories ul .cat-item a {
    position: relative;
    padding: 0.5rem 0 0.5rem 0;
    flex-grow: 1;
    font-size: 0.875rem;
    font-weight: bold;
}

.widget.widget_categories .children a {
    padding: 0.25rem 0 0.25rem 0;
    font-weight: normal !important;
}

.widget.widget_categories ul .cat-item.current-cat a,
.widget.widget_categories ul .cat-item.current-cat a:before{
    color: #531B1F;
}

/* widget flatsome_recent_posts */

.widget.flatsome_recent_posts .widget-title span:before {
    font-family: 'FontAwesome' !important;
    content: '\f02e' !important;
    margin-right: 0.5rem;
}

/* List categories */

.list-h-categories li a{
    padding: 0.75rem 1.5rem 0.75rem 1rem !important;
    position: relative;
    display: block !important;
}
.list-h-categories li a:after{
    font-family: 'FontAwesome' !important;
    content: '\f061' !important;
    font-size: 1rem;
    position: absolute;
    right: 0.5rem;
    top: 0.75rem;
    color: rgba(0,0,0,0.25);
    font-weight: 300 !important;
}
.list-h-categories li a:hover:after{
    color: var(--fs-color-primary);
}
/* Breadcrumbs */
.rank-math-breadcrumb p {
    margin: 0 !important;
    font-size: 0.75rem;
}   

/* Foo Menu */
.v-menu {
    margin: 0 !important;
    padding: 0 !important;
}
.v-menu li {
    padding: 0 !important;
    margin: 0 !important;
    margin-bottom: 0.5rem !important;
    list-style: none;
    
}
.v-menu li a{
    display: block;
    padding-right: 0.5rem;
    transition: all ease 0.2s;
    position: relative;
}
.v-menu li a:before {
    content: '';
    width: 0;
    height: 1px;
    left: 0;
    top: 0.65rem;
    opacity: 0;
    transition: all ease 0.2s;
    position: absolute;
    background-color: var(--fs-color-secondary);
}
.v-menu li a:hover{
    display: block;
    padding-left: 1rem;
    padding-right: 0;
    transition: all ease 0.2s;
    color: var(--fs-color-secondary);
}
.v-menu li a:hover:before{
    opacity: 1;
    width: 0.5rem;
    transition: all ease 0.2s;
}
/* -----------
    BLOG
--------------*/
.blog-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.post-item .box .box-image,
.post-item .box .box-image .image-cover,
.post-item .box .box-image .image-cover .wp-post-image{
    border-radius: 1rem;
}
/* Lastest Item */
.lastest-item .post-item .box .box-image,
.lastest-item .post-item .box .box-image .image-cover,
.lastest-item .post-item .box .box-image .image-cover .wp-post-image{
    border-radius: 1rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.lastest-item .post-item .box-blog-post .box-text{
    background-color: #FAF6EF;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}
.lastest-item .post-item .box-blog-post .post-title {
    font-size: 1.5rem;
}
.lastest-item .post-item .box-blog-post .from_the_blog_excerpt {
    display: none;
}
.lastest-item .post-item .box-blog-post .box-text .box-text-inner{
    padding-right: 4rem;
    min-height: 4rem;
    position: relative;
}
.lastest-item .post-item .box-blog-post .button{
    position: absolute;
    right:0;
    bottom:0;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    padding: 0;
    justify-content: center;
    align-items: center;
    font-size: 0;
    border: 0;
    transform: rotate(-45deg);
    transition: all ease 0.35s;
    opacity: 0.5;
}
.lastest-item .post-item .box-blog-post .button:after{
    font-family: 'FontAwesome' !important;
    content: '\f061' !important;
    font-size: 1.5rem;
    color: var(--fs-color-secondary);
}
.lastest-item .post-item .box-blog-post .button:hover{
    background: none;
    right: -0.25rem;
    bottom: 0.25rem;
    opacity: 1;
}

/* Categories */
.cat-label.is-xxsmall.op-7.uppercase,
.cat-label.is-xxsmall.op-7.uppercase:hover {
    background-color: rgba(255,255,255,0) !important;
    color: #666 !important;
    text-transform:capitalize !important;
    padding: 0 !important;
    font-size: 0.75rem !important;
    font-weight: normal !important;
}
.box-blog-post .is-divider {
    display: none;
}
.box-blog-post .post-title {
    font-size: 1.125rem;
    text-transform: capitalize;
}
.related-blogs-post .box-blog-post .post-title  {
    margin-bottom: 0;
}
.box-blog-post .post-title.is-small {
    font-size: 0.9375rem;
}
.box-blog-post .post-title.is-large {
    font-size: 1.125rem;
}

.box-blog-post .from_the_blog_excerpt {
    color: rgba(0,0,0,0.5);
}
.box-blog-post .box-image{
    
}
.box-blog-post .box-text {
    padding-bottom: 0.5rem;
    padding-top: 0.75rem;
}
/* POST */
.badge.post-date.top {
    top: 1rem;
    left: 1rem;
    height: 3.2em;
    width: 3.2em;
    

}
.badge-inner {
    background-color: var(--fs-color-secondary);
    color: var(--wp--preset--color--white) !important;
    backdrop-filter: blur(5px);
    border-radius: 0.75rem;
}

/* Single */
.single .entry-header {
    border-bottom: 1px solid #eee;
}
.single .entry-category{
    font-size: 0.875rem;
    font-weight: normal;
    font-family: 'Inter', sans-serif;
    color: rgba(0,0,0,0.5);
}
.single .entry-category a{
 color: rgba(0,0,0,0.5);
}
.single .entry-category a:hover{
 color: rgba(0,0,0,1);
}
/* Row Icons */
.row-stats .icon-box-img svg {
    opacity: 0.5;
}
.row-stats .icon-box-img svg path {
    stroke-width: 1px;
    stroke: rgb(250, 246, 239);
}
.row-area .icon-box-img svg path {
    stroke-width: 1px;
    stroke: rgb(255, 255, 255);
    fill: #9B2414;
}
.row-area .icon-box-center .icon-box-img {
    margin-bottom: 0;
}

.entry-meta .avatar {
    border-radius: 50%;
    margin-right: 0.5rem;
}
.entry-meta .blog-share .share-icons .icon {
    margin-bottom: 0;
}

/* Section Home */
.bg-blur .col-inner {
    backdrop-filter: blur(5px);
}

.bg-alt {
    background-color: #F0EBE1;
}


/* Members */
.tnhomecare-member-item .item-thumb{
    position: relative;
    margin-bottom: 1rem;
    background-color: #F0EBE1;
    border-radius: 1rem;
}
.post-member .img {
   box-shadow: 0 0 1rem rgba(0,0,0,0.1);
   border-radius: 1rem;
}
.post-member .img .image-cover{
    background-color: #fff;
    border-radius: 1rem;
}
.post-member  .img .image-cover img{
    border-radius: 1rem;
    mix-blend-mode: multiply;
}

.tnhomecare-member-item .item-thumb .social-icons.follow-icons{
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 1rem !important;
}
.tnhomecare-member-item .item-thumb .social-icons.follow-icons .icon {
    margin: 0;
    background-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: 0;
    width: 2.5rem;
    height: 2.5rem;
    color: #fff;
}
.tnhomecare-member-item .item-thumb .image-cover img {
    mix-blend-mode: multiply;
}


.tn-filter-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.tn-filter-list li {
    margin: 0 0.25rem !important;
    padding: 0;
}

.tn-filter-list li a {
    text-decoration: none;
    color: #666;
    padding: 0.25rem 1rem;
    display: inline-block;
    position: relative;
    border: 1px solid #eee;
    border-radius: 2rem;
    transition: all ease 0.2s;
}


.tn-filter-list li.active a{
    color: var(--fs-color-secondary);
    border-color: var(--fs-color-secondary);
}
.tn-filter-list li a:hover {
    color: var(--fs-color-secondary);
    border-color: #ddd;
    transition: all ease 0.2s;
}

.group-tag {
    border: 1px solid  #ccc;
    padding: 4px 16px 4px 16px;
    border-radius: 1rem;
}
a.group-tag:hover {
    border-color: #666;
}

/* wlg-recruitment-item */

.row-recruitments .col .col-inner{
    height: 100%;
    padding: 1.25rem;
    background-color: #FAF6EF;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0);
    cursor: pointer;
    transition: all ease 0.2s;
}
.row-recruitments .col .col-inner:hover{
    background-color: #fff;
    border-color: rgba(0,0,0,0.1);
    transition: all ease 0.2s;
    box-shadow:  0 0 1rem rgba(0,0,0,0.1);
}
.tnhomecare-recruitment-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.tnhomecare-recruitment-item .item-meta-footer{
    padding-right: 2rem;
    position: relative
}
.tnhomecare-recruitment-item .item-meta-footer:after{
    font-family: 'FontAwesome' !important;
    content: '\f061' !important;
    width: 2rem;
    height: 2rem;
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    transform: rotate(-45deg);
    opacity: 0.2;
    transition: all ease 0.2s;
}
.row-recruitments .col .col-inner:hover .item-meta-footer:after{
    opacity: 0.7;
    right: -0.25rem;
    bottom: 0.25rem;
    transition: all ease 0.2s;
}
.section-related-posts .row-recruitments .col .col-inner{
    background-color: #fff;
}


/* -----------------
    SITE FOOTER
----------------- */
.absolute-footer {
    display: none;
}

.col-newsletter form {
    margin-bottom: 0;
}

.foo-title  {
    position: relative;
    overflow: hidden;
}
.foo-title span {
    position: relative;
    display: inline-block;
    padding-right: 0.5rem;
}
.foo-title span:before{
    content: '';
    left: 100%;
    height: 1px;
    width: 100vw;
    background-color: rgba(255,255,255,0.1);
    position: absolute;
    bottom: 0.35rem;
}
/* Row Copyright */
.row-foobar {
    position: relative;
    padding: 1.5rem 0 1.25rem;
}
.row-foobar:before{
    content: '';
    background-color: rgba(0, 0, 0, 0.35);
    width: 200vw;
    height: 100%;
    left: -50%;
    top: 0;
    position: absolute;
}
.row-foobar,
.row-foobar .h-menu li a {
    font-size: 0.875rem;
}
.row-foobar .h-menu li {
    position: relative;
}
.row-foobar .h-menu li::after {
    content: '/';
    position: absolute;
    right: -0.76rem;
    top: 0.25rem;
    opacity: 0.2;
}
.row-foobar .h-menu li:last-child::after {
    display: none;
}
@media screen and (min-width:678px){
    .row-foobar .h-menu {
        justify-content: end;
        margin-right: -0.75rem;
    }
}
@media screen and (max-width:678px){
    .row-foobar .col .col-inner {
        text-align: center;
    }
    .row-foobar .h-menu {
        justify-content: center;
        margin-right: 0;
    }
}
/* Foo Menu */
.foo-menu {
    margin: 0;
}
.foo-menu li {
    padding: 0 !important;
    margin: 0 !important;
    margin-bottom: 0.5rem !important;
    list-style: none;
    
}
.foo-menu li a{
    display: block;
    padding-right: 0.5rem;
    transition: all ease 0.2s;
    position: relative;
    opacity: 0.7;
}
.foo-menu li a:before {
    content: '';
    width: 0;
    height: 1px;
    left: 0;
    top: 0.65rem;
    opacity: 0;
    transition: all ease 0.2s;
    position: absolute;
    background-color: var(--wp--preset--color--white);
}
.foo-menu li a:hover{
    display: block;
    padding-left: 1rem;
    padding-right: 0;
    transition: all ease 0.2s;
    opacity: 1;
}
.foo-menu li a:hover:before{
    opacity: 1;
    width: 0.5rem;
    transition: all ease 0.2s;
}
/* list-icons */
.list-icons li{
    list-style: none;
    margin: 0 !important;
    padding: 0 0 0.5rem 1.5rem;
    position: relative;
}
.list-icons li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    content: '\f061';
    font-family: 'FontAwesome' !important;
    opacity: 0.5;
    width: 1rem;
    text-align: center;
    font-weight: 300 !important;
}
.list-icons li.location:before {
    content: '\f3c5';
}
.list-icons li.clock:before {
    content: '\f017';
}
.list-icons li.email:before {
    content: '\f0e0';
}


/* Newsletter */
.newsletter-form .input-wrapper p{
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 0;
    margin-bottom: 2rem;
    background-color: rgba(255,255,255,0.1);
    border-radius: 3rem;
    padding: 0.25rem;
}
.newsletter-form .input-wrapper p:before {
    content: '\f0e0';
    font-family: 'FontAwesome' !important;
    position: absolute;
    top: 0.75rem;
    left: 1.5rem;
    width: 1rem;
    display: inline-flex;
    justify-content: center;
    font-weight: normal;
    opacity: 0.25;
}
.newsletter-form .input-wrapper p:after {
    content: '\f061';
    font-family: 'FontAwesome' !important;
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    width: 1rem;
    display: inline-flex;
    justify-content: center;
    font-weight: normal;
    opacity: 1;
}
.newsletter-form .input-wrapper p:focus-within {
    background-color: rgba(255,255,255,0.2);
}
.newsletter-form .input-wrapper .wpcf7-form-control-wrap {
    flex-grow: 1;
    position: relative;
}
.newsletter-form .input-wrapper .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    position: absolute;
    left: 0;
    bottom: -29px;
    border-radius: 0;
    background-color: #fff;
    font-size: 0.875rem;
    border-radius: 3rem;
}
.newsletter-form .input-wrapper .wpcf7-form-control-wrap input {
 margin-bottom: 0;
 padding-left: 3rem;
 padding-right: 0;
 border-radius: 3rem;
 
}
.newsletter-form .input-wrapper .wpcf7-form-control.wpcf7-submit.has-spinner {
    flex-shrink: 0;
    margin: 0 0 0 1rem !important;
}
.dark .newsletter-form .input-wrapper .wpcf7-form-control-wrap input,
.dark .newsletter-form .input-wrapper .wpcf7-form-control.wpcf7-submit {
    background-color: rgba(255,255,255,0);
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.0);
    color: #fff;
    box-shadow: none;
}
.dark .newsletter-form .input-wrapper .wpcf7-form-control-wrap input:focus {
    border-bottom-color: rgba(255,255,255,0);
    background-color: rgba(255,255,255,0);
}

.dark .newsletter-form .input-wrapper .wpcf7-form-control-wrap input:-webkit-autofill,
.dark .newsletter-form .input-wrapper .wpcf7-form-control-wrap input:-webkit-autofill:hover, 
.dark .newsletter-form .input-wrapper .wpcf7-form-control-wrap input:-webkit-autofill:focus, 
.dark .newsletter-form .input-wrapper .wpcf7-form-control-wrap input:-webkit-autofill:active{
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px #23232329;
}

.dark .newsletter-form .input-wrapper .wpcf7-form-control-wrap input::placeholder {
    color: rgba(255,255,255,0.5);
}
.dark .newsletter-form .input-wrapper .wpcf7-form-control.wpcf7-submit {
    background-color: var(--fs-color-secondary);
    color: var(--wp--preset--color--white);
    border-radius: 3rem !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 0;
    padding: 0;
}
.wpcf7-spinner {
    position: absolute;
    left: 0;
    bottom: -2rem;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0.25rem 0;
    border-radius: 3rem;
    background-color: rgba(255,255,255,0.1);
    font-size: 0.875rem;
}

/* Contact Form */

.contact-form .wpcf7-submit {
    margin-right: 0 !important;
    background-color: var(--secondary-color) !important;
    color: var(--wp--preset--color--white);
    margin-bottom: 0;
}

.contact-form .wpcf7-submit:disabled {
    opacity: 0.5 !important;
    background-color: #ccc !important;
}

.contact-form .wpcf7-spinner {
    display: none;
}

.contact-form .input-group {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    background-color: rgba(255,255,255,0);
    border-radius: 0;
    padding: 0.5rem 0 0.25rem;
    position: relative;
}

.contact-form .wpcf7-form-control-wrap {
    position: relative;
    z-index: 10;
}
.contact-form .wpcf7-form-control-wrap[data-name="customer-email"]:after {
    content: '\f0e0';
    font-family: 'FontAwesome' !important;
    position: absolute;
    top: 0.5rem;
    right: 0.25rem;
    width: 1rem;
    display: inline-flex;
    justify-content: center;
    font-weight: normal;
    opacity: 0.25;
}
.contact-form .wpcf7-form-control-wrap[data-name="customer-phone"]:after {
    content: '\f095';
    font-family: 'FontAwesome' !important;
    position: absolute;
    top: 0.5rem;
    right: 0.25rem;
    width: 1rem;
    display: inline-flex;
    justify-content: center;
    font-weight: normal;
    opacity: 0.25;
}
.contact-form .input-group .wpcf7-form-control {
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    position: relative;
    background-color: rgba(255,255,255,0);
}

.contact-form .input-group .wpcf7-form-control.wpcf7-select {
    -moz-appearance: none;
    background-color: rgba(255,255,255,0);
    background-image: url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-position: right .45em top 50%;
    background-repeat: no-repeat;
    background-size: auto 16px;
}

.contact-form .input-group.input-group-area {
    height: 6.5rem;
}

.contact-form .input-group .wpcf7-form-control.wpcf7-textarea {
    min-height: 4rem;
    height: 4rem;
}

.contact-form .input-group .label {
    display: none;
}

.contact-form .input-group:focus-within {
    border-color: var(--primary-color);
}

.contact-form .input-group:focus-within .wpcf7-form-control-wrap {
    margin-top: 0;
}


.contact-form .input-group:focus-within .wpcf7-form-control::placeholder {
    color: rgba(0, 0, 0, 0.5);
}
.contact-form .wpcf7-form-control.wpcf7-submit {
    background-color: var(--fs-color-secondary) !important;
}

/* Google Map Wrapper */
.full-height.google-map{
    height: 100% !important;
}
.full-height.google-map .map-height {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100% !important;
    border-radius: 1rem;
}


