/*
Theme Name: Grankare Child
Description: Child Theme for Grankare Theme
Author: zozothemes
Version: 1.0
Template: grankare
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: zozothemes
*/

/*Custom Style Code Right Here */

/*Font Family*/

/*@font-face {
    font-family: "Backerville" ,Sans-serif;
    src: url("../wp-content/uploads/2025/01/Backerville.ttf");
}
@font-face {
    font-family: "Myriad" ,Sans-serif;
    src: url("../wp-content/uploads/2025/01/Myriad.ttf");
}

*/

/*.Domaine-Text-Bold-Italic-font h2.elementor-heading-title{
	font-family: "Domaine Text Bold Italic" !important;
	font-style:italic !important;
}
.Backerville-font{
	font-family: 'Backerville' !important;
}
.Myriad-font p{
	font-family: 'Myriad' !important;
}
.Myriad-Bold-font{
	font-family: 'Myriad Bold' !important;
	font-weight: 700;
}
.Callie-Hand-font{
	font-family: 'Callie Hand' !important;	
}*/
@font-face {
    font-family: "Myriad Bold" ,Sans-serif;
    src: url("../wp-content/uploads/2025/01/Myriad-Bold.ttf");
	font-weight: bold;
}
.header-navbar.navbar .wp-menu li > ul.sub-menu li a:hover:before, .header-navbar.navbar .wp-menu li > ul.sub-menu li.current-menu-item > a:before {
	display:none;
}
.header-navbar.navbar .wp-menu li > ul.sub-menu li.current-menu-item > a {
    padding-left: 14px;
}

.back-to-top{
	background-color: #28a745;
    border-color: #28a745;
}
/*Common Custome Css*/
.container-padding{
	padding:35px 0 35px 0;
}
/*.divider-container-padding{
	padding:35px 0 35px 0;
}*/
.cch-theme-btn{
	color:#fff !important;
	background-image: linear-gradient(90deg, #8dc63f 0%, #006838 60%) !important;
    border-radius: 50px 50px 50px 50px !important;
    padding: 5px 20px 5px 20px !important;
	border:0px !important;
}
.cch-btn .elementor-button{
	color:#fff !important;
	background-image: linear-gradient(45deg, #8dc63f 0%, #006838 60%) !important;
    border-radius: 50px 50px 50px 50px !important;
    padding: 5px 20px 5px 20px ;
	border:0px;
}
.cch-btn .e-search-submit{
	color:#fff !important;
	background-image: linear-gradient(90deg, #8dc63f 0%, #006838 60%) !important;
	border-radius: 50px 50px 50px 50px !important;
}  
.e-search-submit{
	position:relative;
	right:30px;
}
.elementor-widget-search .e-search-input-wrapper>svg{
	padding-right:30px;
}

.header-section img{
	height: 780px ;
  	object-fit: cover;
  	object-position: top center;
}
.support-banner img{
	width:100%;
	height: 750px;
	object-fit: cover;
	background-position: center;
}
@media (max-width: 768px) {
	.header-section img{
		height: 350px !important;
		object-fit: cover;
		object-position: top center;
	}
	.support-banner img{
		width:100%;
		height: 350px !important;
		object-fit: cover ;
		background-position: center;
	}
	.care-home-box .care-home-image{
		border-radius:35px 35px 0 0 !important;
	}
	.care-home-box .care-home-button{
		border-radius:0 0 35px 35px !important;
	}
}


.all-border-radius, .all-border-radius img{
	border-radius: 35px;
}

.top-left-radius, .top-left-radius img{
	border-radius: 105px 35px 35px 35px;
}
.top-right-radius, .top-right-radius img{
	border-radius: 35px 105px 35px 35px;
}
.bottom-right-radius, .bottom-right-radius img{
	border-radius: 35px 35px 105px 35px;
}
.bottom-left-radius, .bottom-left-radius img{
	border-radius: 35px 35px 35px 105px;
}
.top-left-bottom-right-radius, .top-left-bottom-right-radius img{
	border-radius: 105px 35px 105px 35px;
}
.top-right-bottom-left-radius, .top-right-bottom-left-radius img{
	border-radius: 35px 105px 35px 105px;
}
.top-right-bottom-left-right-radius, .top-right-bottom-left-right-radius img{
	border-radius: 35px 105px 105px 105px;
}
.top-left-bottom-left-right-radius, .top-left-bottom-left-right-radius img{
	border-radius: 105px 35px 105px 105px;
}
.img-container{
	/*justify-content: center;*/
}
.image-40 img{
/* 	height:300px !important; */
	object-fit: cover !important;
	background-position: center;
}
.image-50 img{
/* 	height:300px !important; */
	object-fit: cover !important;
	background-position: center;
}
@media (max-width: 768px) {
	.image-40 img{
		height:300px !important;
	}
	.image-50 img{
		height:300px !important;
	}
	.quot-image img{
		height:300px !important;
	}
	.image-30 img{
		height:300px !important;
	}
	.info-box-career img{
		border-radius:35px 35px 0 0;
		width: 100%;
		max-height:226px;
		object-fit: cover;
	}
}
/* breadcrumb */
.fbc-page .fbc-wrap .fbc-items{
	font-family: "Myriad Bold" !important;
    font-size: 16px!important;
    font-weight: 600!important;
}
/* location care home list page */
.care-home-box{
	border: 1px solid #e9e9e9;
	border-radius: 35px;
}
.care-home-box .care-home-image{
	border-radius:35px 0 0 35px;
}
.care-home-box .care-home-button{
	border-radius:0 35px 35px 0;
}
/* End location care home list page */
/* Quote-image */
.quot-image img{
/* 	height:300px !important; */
	object-fit: cover !important;
	background-position: center;
}
/* End Quote-image */

/* moving-3 box */
.moving-in-box{
	border: 1px solid #e9e9e9;
	border-radius: 105px 35px 35px 35px;
}
.moving-in-horizontal-box{
	border: 1px solid #e9e9e9 !important;
	border-radius: 35px 35px 35px 35px;
}
.image-30 img{
	border-radius: 35px 0 0 35px;
/* 	height:300px !important; */
	object-fit: cover !important;
	background-position: center;
}
/* End moving-3 box */
/* 2 column info section */
.info-box-one{
	border: 1px solid #e9e9e9;
	border-radius: 35px;
}
.info-box-one img{
	border-radius:35px 35px 0 0;
	height:250px !important;
	object-fit: cover !important;
	background-position: center;
}
.info-box-two{
	border: 1px solid #e9e9e9;
	border-radius: 35px;
}
.info-box-two img{
	border-radius:35px 35px 0 0;
	height:250px !important;
	object-fit: cover !important;
	background-position: center;
}
/* End 2 column info section */
/* Creer-infobox */
.info-box-career{
	border: 1px solid #e9e9e9;
	border-radius: 35px;
}
.info-box-career img{
	border-radius:35px 35px 0 0;
	width: 100%;
}
/* End Creer-infobox */
/* Quick link Bar */
.quick-link-bar{
	padding:4px 10px 4px 10px;
	position: fixed;
	top:118px;
	left:0px;
	right:0px;
	z-index:999;
}
/* End Quick link Bar */
/* Care homes locations page*/
.care-homes-imgs img, .top-left-right-radius{
	border-radius: 105px 105px 35px 35px;
}

/* Green Care Box Services */
.green-box-top-left{
	border-radius: 105px 35px 35px 35px;
}
.green-box-top-right{
	border-radius: 35px 105px 35px 35px;
}
.green-box{
	border-radius: 35px 35px 35px 35px;
}
.green-box-bottom-left{
	border-radius: 35px 35px 35px 105px;
}
.green-box-bottom-right{
	border-radius: 35px 35px 105px 35px;
}
.green-box-top-left-right{
	border-radius: 105px 105px 35px 35px;
}
.green-box-bottom-left-right{
	border-radius: 35px 35px 105px 105px;
}
@media (max-width: 767px) {
	.green-box-top-left{
		border-radius: 35px 35px 35px 35px;
	}
	.green-box-top-right{
		border-radius: 35px 35px 35px 35px;
	}
	.green-box{
		border-radius: 35px 35px 35px 35px;
	}
	.green-box-bottom-left{
		border-radius: 35px 35px 35px 35px;
	}
	.green-box-bottom-right{
		border-radius: 35px 35px 35px 35px;
	}
	.green-box-top-left-right{
		border-radius: 35px 35px 35px 35px;
	}
	.green-box-bottom-left-right{
		border-radius: 35px 35px 35px 35px;
	}
}
/* End Green Care Box Services */
/* care home list background */
.our-care-service-section{
	border-radius: 35px 35px 105px 35px;
	border: 1px solid #e9e9e9;
}
/* End care home list background */
/* Faq Section */
.faq-section .e-n-accordion .e-n-accordion-item .e-n-accordion-item-title{
	border-radius: 10px !important;
}
/* Faq Section End */

/*testimonial css*/
.owl-carousel-item{
	background-color:#37B04A;
	border-radius:35px;
	margin:10px;
}
.testimonial-wrapper.testimonial-style-modern .testimonial-inner{
	border-radius: 35px 105px 35px 35px;
}
.testimonial-slide-model .testimonial-inner{
	margin: 8px 0px;
}
ul.nav.bottom-meta-list > li{
	width:100%;
}
.top-meta ul.nav.top-meta-list{
	background:#f7f7f7 !important;
	border-radius: 10px!important;
	padding:3px 6px!important;
}
.testimonial-wrapper.testimonial-style-modern .testimonial-inner:after{
	display: none!important;
}
/* end testimonial css */
/* Footer Widget */
.footer-widget-2 .widget.widget_block{
	margin-bottom:0px;
}
.footer-widgets-wrap{
	color:#f5f5f5;
}
.widget .widget-title:before, .widget .widgettitle:before, .widget.widget_nav_menu li a:before{
	display:none;
}
.widget .widget-title, .widget .widgettitle{
	padding-left:0px;
	margin-bottom:10px;
}
/* End Footer Widget */
/* News*/
/* .carehome-blog */
.blog-style-modern .blog-inner{
	border-radius:35px 35px 35px 35px;
	    box-shadow:none !important;
    padding: 30px 30px 25px 30px;
	 border: 1px solid #e9e9e9;
    margin-bottom: 35px;
	}
.blog-style-modern .blog-inner	img{
		filter: none !important;
		object-fit: cover !important;
	}
.blog-style-modern .blog-inner	.post-title-head .post-title{
	height: 50px;
}
.pagination-single.section-inner{
	display: none;
}
ul.nav.pagination.post-pagination > li > span{
	background: #026939;
	border-color: #026939;
}
ul.nav.pagination.post-pagination > li > a, ul.nav.pagination.post-pagination > li > a:hover{
	border-color: #026939;
	color: #026939;
}

/*header menu space decrease*/
@media only screen and (max-width: 1400px) {
    ul.nav.wp-menu > li {
        padding: 0 10px;
    }
}
/*End of header menu space decrease*/
/*Removed elementor Default css */
.cch-btn .elementor-button{
	background-color: #f3f0f100 !important;
}


/*mobile view css*/
@media (max-width: 767px) {
	.container-padding{
		padding:10px 0 10px 0;
	}
	.cch-btn .elementor-button{
		padding: 6px 9px 6px 9px;
	}
	.divider-container-padding{
		padding:15px 0 15px 0;
	}
}
/*End Common Custome Css*/

/*Custom Style Code Right Here */

/* header menu */
.header-navbar{
	font-family: "Myriad"!important;
}
ul.nav.wp-menu > li > a{
	font-size: 16px!important;
	font-family: "Myriad Bold"!important;
	font-weight: 700!important;
	color: #4D4D4D !important;
	text-transform: capitalize !important;
}
.header-navbar.navbar .wp-menu li > ul.sub-menu li a{
	font-size: 16px!important;
	font-family: "Myriad Bold" !important;
	font-weight: 700!important;
	text-transform: capitalize !important;
}
/* contact button header */
header a.btn.btn-primary {
	padding: 6px 16px 6px !important
}
a.contact-btn, a.contact-btn:hover, a.contact-btn:active, a.contact-btn:focus{
	background-color: transparent!important;
    font-family: "Myriad Bold" !important;
    font-size: 16px!important;
    font-weight: 500!important;
    line-height: 1.4em!important;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(110deg, #8dc63f 0%, #006838 81%);
    border-radius: 50px 50px 50px 50px !important;
}

@media only screen and (max-width: 1400px) {
    ul.nav.navbar-ul.pull-right {
        display: inline-flex !important;
    }
}
@media only screen and (max-width: 1400px) {
    header .navbar > div > ul.nav.pull-right > li:last-of-type .btn.btn-primary {
        display: inline-block !important;
    }
}
/*filter listing block*/
.listing-data{
	height:730px;
	padding:6px 16px;
    overflow:auto;
}



/* care home listing box */
.care-home-listing-div{
	max-height:1000px;
	overflow-y:scroll;
	overflow-x: hidden;
}
.care-home-listing-div::-webkit-scrollbar{
	width: 10px;
}
.care-home-listing-div::-webkit-scrollbar-track {
  	background-color: #ebebeb;
}
.care-home-listing-div::-webkit-scrollbar-thumb {
  	background-color: #006400;
    border-radius: 50px;
    border: 1px solid #ffffff;
}
.care-home-listing-div-home{
	max-height:800px;
	overflow-y:scroll;
	overflow-x: hidden;
}
.care-home-listing-div-home::-webkit-scrollbar{
	width: 10px;
}
.care-home-listing-div-home::-webkit-scrollbar-track {
  	background-color: #ebebeb;
}
.care-home-listing-div-home::-webkit-scrollbar-thumb {
  	background-color: #006400;
    border-radius: 50px;
    border: 1px solid #ffffff;
}
.care-home-listings {
    display: flex;
    flex-wrap: wrap;
/*     gap: 20px; */
}
/* .care-home-item {
    flex: 0 0 100%; 
    border: 1px solid #ddd;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
} */
/* .care-home-link {
    display: block;
    text-decoration: none;
    color: inherit;
} */

.care-home-item {
    display: flex;
    /*align-items: center;
    justify-content: space-between;*/
    background-color: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 35px;
    margin-bottom: 35px;
    padding: 0px;
/*     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
	height: 220px;
}

.care-home-thumbnail {
   	width: 40%; /* 40% of the item's width */
    min-height: 285px; /* Maintain a minimum height */
	min-width:230px;
}

.care-home-thumbnail .photo {
    height: 100%; /* Full height of the thumbnail */
	min-height:285px;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s;
}

.care-home-content {
    /*flex: 1;*/
    padding: 20px;
    height: auto;
    width: 60%;
    color: #333;
}
.care-home-item h3 {
    margin: 0 0 10px;
    font-size: 20px;
	font-family: "Myriad";
}
.care-home-item p {
    margin: 0 0 15px;
}
.care-home-item a {
	display:contents;
    text-decoration: none;
    color: #0073aa;
}
.care-home-listings {
    margin: 30px 0;
}
.care-home-content h3 {
    margin: 0 0;
    font-size: 1.6em;
    font-weight: bold;
    color: #006400; /* Adjust color as per your design */
	line-height: 1.4em;
	letter-spacing:0.3px;
	white-space: nowrap; 
  	width: 300px; 
  	overflow: hidden;
  	text-overflow: ellipsis; 
}
.care-home-content h3 a{
	font-family: "Myriad Bold";
	color: #006400 !important;
}

.care-home-content .location, .care-home-content .location {
/*     color: #666 !important; */
	font-family: "Myriad";
    margin-bottom: 20px !important;
    font-size: 1em;
	font-weight: 500;
	line-height: 1.4em;
	white-space: nowrap; 
  	width: 300px; 
  	overflow: hidden;
  	text-overflow: ellipsis;
}
.care-home-content .location a{
	color:#343434!important;
}
.care-home-content .rating {
	margin-top: 15px;
    margin-bottom: 15px;
}
.care-home-content .rating .rating-score{
	font-family: "Myriad Bold";
	font-size: 1.6em;
	line-height:1.4em;
}
.care-home-content .rating .review-count{
	font-family: "Myriad";
	font-size: 1em;
	font-weight: 500;
	line-height:1.4em;
}
.care-home-content .review-count {
	font-family: "Myriad";
    color: #999;
    font-size: 15px;
}

.care-home-content .award-logo img {
    max-width: 250px;
	margin:0px;
}

.arrow-icon {
    /*flex: 0 0 40px;*/
	height: auto;
    width: 5%;
	position: relative;    
    background-color: #006400;
    font-size: 3em;
    color: #fff; /* Adjust color as per your design */
}

.arrow-icon span {
    color: #fff;
    text-decoration: none;
	position: absolute;
    top: 40%;
    left: 30%;
    right: auto;
    bottom: auto;
	display: flex;
    flex-direction: column;
	align-items: center;
	/*margin: 160px 0 ;*/
}


@media (max-width: 768px) {
    .care-home-item {
        flex-direction: column;
		align-items: normal;
		height:375px; /*450px*/
    }

    .care-home-thumbnail {
		width: 100%; /* Full width on smaller screens */
        min-height: 172px; /* Adjust minimum height for mobile */
		height: 40%;
	}
    .care-home-thumbnail .photo{
		flex-basis: 40%;
      	height: 100%;
    	min-height: 172px;
	}

    .care-home-content {
        padding: 10px;
		height: 55%;
    	width: 100%;
    }
	.care-home-content h3 {
		font-size: 1.4em;
	}
	.arrow-icon{
		height: 10%;
		width: 100%;
		font-size: 2em;
	}
	.arrow-icon span{
		height: 5%;
		width: 100%;
		position: absolute;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
	}    
	.care-home-content .award-logo img{
		max-width:200px;
	}
	.location-btn button{
		width: 175px !important;
		font-size:12px;
	}
	.types-of-care-btn button{
		width: 175px !important;
		font-size:12px;
	}
	.location-btn, .types-of-care-btn{
		justify-content:center;
	}
}
@media (max-width: 320px) {
	.location-btn button{
		width: 150px !important;
	}
	.types-of-care-btn button{
		width: 150px !important;
	}
}
.filter-buttons button{
	font-family: "Myriad Bold";
	background-color:#B0B0B0;
	color:#fff;
	border:0px;
	border-radius:10px;
	padding: 3px 15px;
    text-wrap: auto;
	line-height: 1.2em;
}
.location-btn button{
	/*min-width: 120px;
	max-width: 130px;*/
	width: 200px;
	font-size: 15px;
/* 	margin: 0 15px 10px 0; */
	min-height: 54px;
	/*min-height: 30px;*/
}
.location-btn, .types-of-care-btn{
	display:flex;
	flex-wrap: wrap;
	column-gap: 5px;
    row-gap: 5px;
}
.types-of-care-btn button{
	width: 200px;
/* 	margin: 0 5px 10px 0; */
	font-size: 15px;
	min-height: 54px;
}
.filter-buttons button:hover, .filter-buttons button:focus, .filter-buttons button:active{
	background-color:#006837;
}
.filter-buttons button.active{
	color:#fff;
	font-family: "Myriad Bold";
	background-color:#006837;
	border-radius:10px;
	border:0px;
}

.our-home-label{
	font-size:18px;
	font-family: "Myriad Bold";
	font-weight: 600;
	color: #54595f;
	margin:15px 0px;
}
.text-truncate{
	white-space: nowrap; 
	width: 50px; 
	overflow: hidden;
	text-overflow: ellipsis;
}
.care-home-content p{
	margin-bottom:5px!important;
}



/* Basic Styling */
.care-home-detail {
    padding: 20px;
    background-color: #f9f9f9;
}

.care-home-detail-content {
    display: flex;
    flex-direction: row; /* Default to side-by-side layout */
    align-items: stretch;
    gap: 20px; /* Space between image and info */
}

.care-home-detail-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.care-home-detail-image img {
    width: 100%;
    height: auto;
    max-height: 100vh; /* Ensures image does not exceed viewport height */
    object-fit: cover; /* Ensures image covers area without distortion */
}

.care-home-detail-info {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Custom Fields Styling */
.care-home-detail-info h1{
	font-family: "Myriad";
	font-size:42px;
	font-weight:600;
	color:#006838;
}
.custom-detail-fields p, .custom-detail-fields div {
	font-family: "Myriad";
	font-size:16px;
    margin: 5px 0;
    display: flex;
    align-items: center;
	cursor:default;
}
.custom-detail-fields p>strong, .custom-detail-fields div>strong{
	font-family: "Myriad";
	font-size:16px;
	color:#121212;
}

.custom-detail-fields i {
    margin-right: 10px;
    color: #333;
}

.custom-detail-fields img {
    margin: 10px 0 0 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .care-home-detail-content {
        flex-direction: column; /* Stack vertically on small screens */
    }

    .care-home-detail-info {
        margin-left: 0; /* Remove margin on smaller screens */
        margin-top: 20px; /* Add margin on top for spacing */
    }

    .care-home-detail-image img {
        max-height: 50vh; /* Reduce image height on smaller screens */
    }
}

@media (max-width: 480px) {
    .care-home-detail-info {
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .custom-detail-fields p {
        font-size: 14px; /* Smaller font size for better readability */
    }

    .custom-detail-fields i {
        font-size: 16px; /* Adjust icon size */
    }
}


@media only screen and (max-width: 1024px) {
    .header-mobilebar.navbar > .container {
        padding: 5px 15px !important;
    }
}
