/*
Theme Name: Calmhaven Child
Template: calmhaven
Author: Calmhaven WP
Description: Calmhaven Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.

*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/* Theme customization starts here
-------------------------------------------------------------- */


/* ------------- blog form -------------- */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus {
	color: var(--global-palette1);
	background-color: transparent;
	border: 1px solid var(--global-palette6);
	border-radius: 0px;
}


textarea {
	color: var(--global-palette1);
	border: 1px solid var(--global-palette1);
	background-color: transparent;
	border-radius: 0px;
}

textarea:focus {
	box-shadow: none;
	color: var(--global-palette1);
	border: 1px solid var(--global-palette1);
	border-radius: 0px;
}


/* ------------- blog form end -------------- */


/*------------ common css ------------*/
.single-content h1.elementor-heading-title,
.single-content h2.elementor-heading-title,
.single-content h3.elementor-heading-title,
.single-content h4.elementor-heading-title,
.single-content h5.elementor-heading-title,
.single-content h6.elementor-heading-title {
	margin: 0;
}


.wp-block-search .wp-block-search__input,
.wp-block-search .wp-block-search__input:focus,
body .wp-block-search .wp-block-search__button,
.wp-block-search .wp-block-search__button:hover,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	box-shadow: none;
}

input[type="submit"] {
	border-radius: 0px;
}



/* archive page read more icon*/
body .loop-entry .entry-content-wrap .entry-footer .more-link-wrap .googly-svg-iconset {
	display: none;
}

/* archive conetnt left sidebar */
body .wp-block-latest-posts__list li,
body.search-results.content-style-unboxed .site .post-thumbnail,
body.woocommerce div.product .woocommerce-tabs ul.tabs li:first-child,
.wp-block-latest-posts.wp-block-latest-posts__list {
	margin: 0;
}

.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
	color: var(--global-palette2);
}

#secondary .woocommerce.widget_product_categories>ul li,
.widget .tagcloud a,
.widget li,
#secondary .woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item,
.wp-block-tag-cloud .tag-cloud-link {
	padding-block: 6px;
}

/*------------ end common css ------------*/

/* -------------------- ----> elementor design css <---- -------------------- */


/* customizing Helmets */
.flipster--flat .flipster__item--past .ue-flip-item-content,
.flipster--flat .flipster__item--future .ue-flip-item-content {
	opacity: 0;
}

/* Blog area css */



.content-wrap .content-bg .post-thumbnail .entry-content-wrap,
.entry-header h2 {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	max-width: 480px;
}


.blog-section .calmhaven-meta-wrapper span {
	position: absolute;
	top: 61%;
	right: 7%;
	background-color: var(--global-palette2);
}

@media (max-width:1200px) {
	.blog-section .calmhaven-meta-wrapper span {
		top: 62%;
	}
}

@media (max-width:1024px) {
	.blog-section .calmhaven-meta-wrapper span {
		top: 60%;
	}
}

@media (max-width:880px) {
	.blog-section .calmhaven-meta-wrapper span {
		top: 67%;
	}
}

@media (max-width:576px) {
	.blog-section .calmhaven-meta-wrapper span {
		top: 60%;
	}
}

/* archive search left sidebar */
.wp-block-search .wp-block-search__input {
	border: none;
	padding: 0.6em 0.5em;
	color: var(--global-palette1);
	border: 1px solid var(--global-palette1);
	border-radius: 0px;
	background-color: transparent;
}

.wp-block-search .wp-block-search__input:focus {
	border: 1px solid var(--global-palette1);
}

input[type="search"]:focus,
input[type="search"] {
	color: var(--global-palette1);
}


body .wp-block-search .wp-block-search__button {
	border-radius: 0px;
}

/* archive page read more */
body .loop-entry .entry-content-wrap .entry-footer .more-link-wrap .post-more-link {
	font-size: 14px;
	text-transform: capitalize;
	text-decoration: underline;
	font-weight: 500;
	color: var(--global-palette1);
}

/* input radius */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	border-radius: 0;
}



/* newslatter section */
.newsletter-form {
	position: relative;
	width: 100%;
	display: inline-block;
}

.newsletter-form .sub-email {
	margin-inline-start: 20px;
	margin-inline-end: 20px;
}

.newsletter-form input[type="email"],
input[type="text"],
.newsletter-form input[type="email"],
input[type="text"]:focus {
	border-radius: 0;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--global-palette9);
	padding: 10px 8px;
	color: var(--global-palette9);
	box-shadow: none;
	width: 100%;
	display: block;
	text-transform: lowercase;
}

.mc4wp-form .newsletter-form input[type="submit"] {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	font-size: 0;
	color: var(--global-palette9);
	background-color: transparent;
	background-image: url(./assets/image/send.svg);
	background-size: 52px;
	background-repeat: no-repeat;
	background-position: 50%;
	width: 52px;
	padding: 0;
	border: none;
}

@media (max-width: 576px) {
	.newsletter-form {
		width: 100%;
	}
}


/* loader */
.siteloader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background-image: url(./assets/image/loader.gif);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 250px;
	background-color: var(--global-palette9);
}

@media (max-width:576px) {
	.siteloader {
		background-size: 220px;
	}
}

/* img hover */

.elementor-element.in-section {
	overflow: hidden;
}

.in-section .img-hover.elementor-widget-image {
	float: none;
	display: flex;
	background-color: transparent;
	overflow: hidden;
	position: relative;
	transition-duration: 1s;
	justify-content: center;
}

.in-section .img-hover.elementor-widget-image::before {
	position: absolute;
	top: -50%;
	left: -50%;
	content: '';
	height: 200%;
	width: 200%;
	background: linear-gradient(0deg, transparent, transparent 30%, rgba(255, 255, 255, 0.1));
	transition: all 1s ease-in-out;
	transform: rotate(-45deg);
}

.in-section .img-hover.elementor-widget-image:hover {
	box-shadow: rgba(255, 255, 255, 0.1);
}

.in-section:hover .img-hover.elementor-widget-image::before {
	transform: rotate(-45deg) translateY(100%);
}

/* button hover */
.btn-hover .elementor-button {
	position: relative;
}

.btn-hover .elementor-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background-color: var(--global-palette1);
	height: 15%;
	width: 8%;
	transition-duration: 1s;
	opacity: 0;
}

.btn-hover .elementor-button::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	background-color: var(--global-palette1);
	height: 15%;
	width: 8%;
	transition-duration: 1s;
	opacity: 0;
}

.btn-hover .elementor-button:hover::before,
.btn-hover .elementor-button:hover::after {
	height: 100%;
	width: 50%;
	opacity: 1;
}

.btn-hover .elementor-button span {
	z-index: 1;
	transition-duration: 2s;
}

.btn-hover .elementor-button:hover span {
	color: var(--global-palette9);
}



/* footer */
.site-footer-section .widget-area ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
/* footer */
.site-footer-middle-section-2.site-footer-section.footer-section-inner-items-1 {
	padding-left: 8em;
	padding-right: 0;
}

.site-footer-middle-section-3.site-footer-section.footer-section-inner-items-1 {
	padding-right: 0;
	padding-left: 6em;
}

@media (max-width: 1366px) {
	.site-footer-middle-section-2.site-footer-section.footer-section-inner-items-1 {
		padding-left: 3em;
		padding-right: 0;
	}
	.site-footer-middle-section-3.site-footer-section.footer-section-inner-items-1 {
		padding-right: 0;
		padding-left: 5em;
	}
}

@media (max-width: 1200px) {
	.site-footer-middle-section-2.site-footer-section.footer-section-inner-items-1 {
		padding-left: 3em;
	}
	.site-footer-middle-section-3.site-footer-section.footer-section-inner-items-1 {
		padding-left: 1em;
	}
}

@media (max-width: 1024px) {
	.site-footer-middle-section-2.site-footer-section.footer-section-inner-items-1 {
		padding-left: 0;
	}
	.site-footer-middle-section-3.site-footer-section.footer-section-inner-items-1 {
		padding-left: 0;
	}
}
/* footer icon */

.location-icon::before {
	background: url(./assets/image/add.svg) no-repeat;
}

.mail-icon::before {
	background: url(./assets/image/mail.svg) no-repeat;
}

.call-icon::before {
	background: url(./assets/image/call.svg) no-repeat;
}

.location-icon::before,
.mail-icon::before,
.call-icon::before {
	content: " ";
	display: block;
	width: 20px;
	height: 20px;
	float: left;
	color: #fff;
	cursor: pointer;
	margin: 6px 10px 10px 0px;
}

@media (min-width: 479px) and (max-width: 1024px) {

	.location-icon::before,
	.mail-icon::before,
	.call-icon::before {
		display: none;
	}
}

/*----------------- footer ----------------*/

/* img hover */

.elementor-element.in-section {
overflow: hidden;
}

.in-section .img-hover.elementor-widget-image {
float: none;
display: flex;
background-color: transparent;
overflow: hidden;
position: relative;
transition-duration: 1s;
justify-content: center;
}

.in-section .img-hover.elementor-widget-image::before {
position: absolute;
top: -50%;
left: -50%;
content: '';
height: 200%;
width: 200%;
background: linear-gradient(0deg, transparent, transparent 30%, rgba(255, 255, 255, 0.1));
transition: all 1s ease-in-out;
transform: rotate(-45deg);
}

.in-section .img-hover.elementor-widget-image:hover {
box-shadow: rgba(255, 255, 255, 0.1);
}

.in-section:hover .img-hover.elementor-widget-image::before {
transform: rotate(-45deg) translateY(100%);
}

@media (max-width:1024px) {

	/* QUICK LINKS: hide the next section (#block-10) by default */
	#block-10 {
		display: none;
	}

	/* When #block-9 has .open, show #block-10 */
	#block-9.open+#block-10 {
		display: block;
	}

	/* CONTACT US (#block-11): keep your original logic */
	#block-11+.widget_block.widget_text,
	#block-11+.widget_block.widget_text+.widget_block.widget_text,
	#block-11+.widget_block.widget_text+.widget_block.widget_text+.widget_block.widget_text {
		display: none;
	}

	#block-11.open+.widget_block.widget_text,
	#block-11.open+.widget_block.widget_text+.widget_block.widget_text,
	#block-11.open+.widget_block.widget_text+.widget_block.widget_text+.widget_block.widget_text {
		display: block;
	}

	/* TOGGLE ICONS */
	#block-9 .widget-title,
	#block-11 .widget-title {
		cursor: pointer;
		position: relative;
	}

	#block-9 .widget-title::after,
	#block-11 .widget-title::after {
		content: "+";
		position: absolute;
		right: 0;
		font-weight: bold;
	}

	#block-9.open .widget-title::after,
	#block-11.open .widget-title::after {
		content: "−";
	}
}


/* customCss */

a.post-more-link .calmhaven-svg-iconset {
	display: none;
}

/* span text Css */

.span-text .elementor-heading-title span {
	color: var(--global-palette2);
}

/* testimonial img center Css */

.img-center .testimonial-image img {
	border-radius: 0%;
	width: 237px !important;
}

/* testimonial heading & rating inline , icon at the bottom Css */

.testimonial .heading-wrap,
.testimonial-rating {
	display: inline-block;
	vertical-align: middle;
}

.testimonial .testimonial-icon {
	position: absolute;
	bottom: 15%;
	right: 13%;
}

/* gallery responsive css */

@media (max-width:576px) {
	.responsive .calmhaven-gallery-basic {
		grid-template-columns: repeat(1, 1fr) !important;
	}
}

/* counter before line  Css */

.line::before {
	content: '';
	background: url('./assets/image/Line.png');
	position: absolute;
	top: 450%;
	left: -6px;
	width: 100%;
	height: 108%;
	z-index: 1;
	background-repeat: no-repeat;
}

@media (max-width:1366px) {
	.line::before {
		left: 0;
		top: 8.5em;
	}
}

@media (max-width:1200px) {
	.line::before {
		top: 8em;
		left: 10.5em;
	}
}

@media (max-width:1024px) {
	.line::before {
		left: 6.5em;
	}
}

@media (max-width:880px) {
	.line::before {
		left: 2.5em;
	}
}

@media (max-width:576px) {
	.line::before {
		display: none;
	}
}

/* silder png image animation  Css */

.png-1 {
	animation: rotateGlow 2s ease-in-out infinite;
}

@keyframes rotateGlow {
	0% {
		transform: rotate(0deg) scale(1);
	}

	50% {
		transform: rotate(12deg) scale(1.01);
	}

	100% {
		transform: rotate(0deg) scale(1);

	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.2);
		opacity: 1;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}
@keyframes float {
	0% {
		transform: translateX(0px);
	}

	50% {
		transform: translateX(-50px);
	}

	100% {
		transform: translateX(0px);
	}
}

.png-4 {
	animation: float 3s linear infinite;
}

 /* iconbox icon bg color css */

.icon-bg .calmhaven-feature-icon {
	background-color: var(--global-palette3);
	width: 100px;
	height: 100px;
	display: flex;
	justify-content: center;
}
.icon-bg .calmhaven-feature-box:hover .calmhaven-feature-icon{
	background-color: var(--global-palette2);
}

/* -----------------------------blog------------------------ */
@media (max-width: 1200px) {
  .elementor-8 .elementor-element.elementor-element-72d93f3 .calmhaven-meta-wrapper {
    margin-top: 20px;
  }
}
@media (max-width: 880px) {
  .elementor-8 .elementor-element.elementor-element-72d93f3 .calmhaven-meta-wrapper {
    justify-content: center;
  }
}

.calmhaven-meta-wrapper {
  position: absolute;
  margin-top: -60px !important;
  background-color: var(--global-palette3);
  padding: 0 30px;
}
.swiper-container.calmhaven-post-carousel.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
  padding-top: 60px;
}

@media (max-width:1024px) {
	.calmhaven-meta-wrapper {
  		padding: 0 49px;
	}
}
@media (max-width:880px) {
	.calmhaven-meta-wrapper {
  		padding: 0 178px;
	}
}
@media (max-width:576px) {
	.calmhaven-meta-wrapper {
  		padding: 0 30px;
		 margin-top: -83px !important;
	}
	.swiper-container.calmhaven-post-carousel.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
  		padding-top: 83px;
		}

}

/* -----------------------gallery------------------ */

@media (max-width:1200px) {
	#calmhaven-gallery-basic-351e572 {
  		display: grid;
  		grid-template-columns: repeat(3, 1fr) !important;
  		grid-gap: 20px 20px;
	}
}
@media (max-width:1024px) {
	#calmhaven-gallery-basic-351e572 {
  		display: grid;
  		grid-template-columns: repeat(2, 1fr) !important;
  		grid-gap: 20px 20px;
	}
}
@media (max-width:576px) {
	#calmhaven-gallery-basic-351e572 {
  		display: grid;
  		grid-template-columns: repeat(1, 1fr) !important;
  		grid-gap: 20px 20px;
	}
}

/* -------------------------footer------------------ */
.site-footer-bottom-section-2 .footer-widget-area-inner {
	display: flex;
  	justify-content: center;
  	align-items: end;
	border-top: 1px solid rgba(255, 255, 255, 0.4);
  	margin-top: 175px;
}
@media (max-width:1024px) {
	.site-footer-bottom-section-2 .footer-widget-area-inner {
  	margin-top: 85px;
}
}
.site-footer-middle-section-1 .wp-block-heading{
	color: var(--global-palette9);
	font-size: 53px;
}
@media (max-width:1366px) {
	.site-footer-middle-section-1 .wp-block-heading{
	font-size: 46px;
}
}
@media (max-width:880px) {
	.site-footer-middle-section-1 .wp-block-heading{
	font-size: 40px;
	line-height: 1.3;
}
}
@media (max-width:576px) {
	.site-footer-middle-section-1 .wp-block-heading{
	font-size: 33px;
	line-height: 1.3;
}
}

/* ----------------------about page---------------- */
.line-2{
	position: relative;
}
.line-2::before{
	content: '';
	background: url('./assets/image/Line-2.png');
	position: absolute;
	top: 4%;
	left: -9%;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
}
@media (max-width:1366px) {
	.line-2::before{
		left: -3%;
	}
}
@media (max-width:1200px) {
	.line-2::before{
		left: -8%;
	}
}
@media (max-width:1024px) {
	.line-2::before{
		left: -13%;
	}
}
@media (max-width:880px) {
	.line-2::before{
		left: -9%;
	}
}
@media (max-width:576px) {
	.line-2::before{
		display: none;
	}
}
