/*
Theme Name: All Around Pilates Theme Child
Theme URI: http://www.d4designstudios.com
Description: All Around Pilates Theme Child of D4D Visual Builder, created by D4DesignStudios
Author: D4D Team
Author URI: https://www.d4design.com/
Template: allap-wp
Version: 1.0.0
Text Domain: d4d-textdomain
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

button:focus {
	outline: none !important;
}
a {
	outline: none;
}

.elementor-widget-container p:last-child {
	margin-bottom: 0;
}

html,body
{
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}
a {
	color:#19395F;
	text-decoration: none;
}
a:hover {
	color: #201F5F;
}

.post-state {
	display: none !important;
}

/*-------------------------------------------------------------------
Page Loader
--------------------------------------------------------------------*/
#lottiewrap{
	position: fixed;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	background-color:#000000;
}


#lottie {
	width:50%;
	height:100%;
	margin: 0 auto;
	max-width:200px;
}
.d4d_page_loader {
	position:fixed;
	display:block;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:99999;
	text-align: center;
	background: #ffffff url('svg-loaders/oval.svg') no-repeat center center;
	background-position: center center;
	background-size: 60px 60px;
}

/* search icon */

.d4d-header-icons .elementor-search-form--skin-full_screen .elementor-search-form__toggle i:before {
    content: url(assets/search.svg) !important;
	height: 30px;
}

.d4d-header-icons .elementor-search-form--skin-full_screen.black .elementor-search-form__toggle i:before {
    content: url(assets/search-black.svg) !important;
	height: 30px;
}
.d4d-header-icons .fas.fa-search {
	background-color: transparent !important;
}

/*============================*/
/* Main Header */
/*============================*/
.elementor-sticky--effects {
	background:#ffffff;
	box-shadow: 0 0 14px 0 rgba(0,0,0,.2)
}

.elementor-sticky--effects img {
	width: 80% !important;
}

.elementor-sticky--effects.e-con>.e-con-inner {
	padding: 0px 0;
}


ul.elementor-nav-menu--dropdown a,
ul.elementor-nav-menu--dropdown a:focus,
ul.elementor-nav-menu--dropdown a:hover {
	border:none !important;
}

/* Humburger Menu */
#hummenu .elementor-menu-toggle,
#hummenu .elementor-menu-toggle:focus,
#hummenu .elementor-menu-toggle:visited {
    background-color: transparent;
}

#hummenu .fa-angle-down:before {
	content: url('assets/arrow-down.svg') !important;
}

#hummenu .highlighted .fa-angle-down:before {
	content: url('assets/arrow-down-white.svg') !important;
}

#hummenu .elementor-menu-toggle .eicon-menu-bar:before {
    position: absolute;
    transform: translate(-100%, -45%);
    content: url('assets/ham-open.svg');
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.5s linear;
    z-index: 9999;
}
#hummenu .elementor-menu-toggle.elementor-active .eicon-close:before {
    position: absolute;
    transform: translate(-100%, -45%);
    content: url('assets/ham-close.svg');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 9999;
}
/*============================*/
/* Partial Image CSS          */
/*============================*/
.fullimageright .elementor-column-wrap,
.fullimageleft .elementor-column-wrap {
	width: auto;
}
.fullimageright .elementor-widget-wrap,
.fullimageleft .elementor-widget-wrap {
	width: auto;
}
.fullimageright .elementor-widget,
.fullimageleft .elementor-widget {
	width: auto !important;
	max-width: inherit !important;
}
@media screen and (max-width:979px) {
	.fullimageleft > div { margin-left:auto !important; }
	.fullimageright > div { margin-right:auto !important; }
}
@media only screen and (max-width: 479px) {
	.fullimageleft > div,
	.fullimageright > div { margin-left:0 !important; margin-right:0 !important; }
}

/*============================*/
/* Slider Homepage            */
/*============================*/
.swiper-slide-contents {
    margin-bottom: 80px !important;
}


.homeslider .elementor-swiper .swiper .elementor-swiper-button-prev {
    left: 30px;
    bottom: 0;
    top: auto;
}
.homeslider .swiper .elementor-swiper-button-prev .eicon-chevron-left:before {
	content: url('assets/left-arrow.svg');
}
.homeslider .elementor-swiper .swiper .elementor-swiper-button-next {
	left: 30px;
	bottom: 30px;
	top: auto;
}
.homeslider .swiper .elementor-swiper-button-next .eicon-chevron-right:before {
	content: url('assets/right-arrow.svg');
}
[data-elementor-type="loop-item"]:last-child .elementor-widget-divider {
	display: none;
}

/* Customization Starts */
.separator .elementor-heading-title:after,
.separator .elementor-slide-heading:after {
    content: '';
    border-width: 0 0 2px 0;
    border-color: #ffffff;
    height: 2px;
    width: 70px;
    position: absolute;
    border-style: solid;
    bottom: -20px;
    left: 0;
}
.elementor-heading-title,
.elementor-slide-heading {
	position: relative;
}

/* Sep Counter */
.separator .elementor-heading-title:after {
	border-color:#E2BB90;
}


/* Sep Counter */
.separator.white .elementor-heading-title:after {
	border-color:#ffffff;
}


.separator .elementor-counter-number-wrapper:after {
    content: '';
    border-width: 0 0 2px 0;
    border-color: #ffffff;
    height: 2px;
    width: 50px;
    position: absolute;
    border-style: solid;
    bottom: -15px;
    left: 50%;
	transform: translatex(-50%);
}

/*============================*/
/* Default Widgets            */
/*============================*/

.d4d-widget {
	margin-bottom: 40px;
}

.d4d-widget .widget-title {
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 400;
}

.widget ul, .widget ol {
	padding-left: 0;
	list-style: none;
	margin: 0;
}
.widget li { margin-bottom: 0; }
	.widget_pages ul li,
	.widget_nav_menu ul li,
	.widget_categories ul li,
	.widget_archive ul li {
	display: block;
	padding: 2px 0;
	text-align: right;
}
.widget_pages ul li a,
.widget_nav_menu ul li a,
.widget_categories ul li a,
.widget_archive ul li a {
	position: relative;
	float: left;
	padding: 2px 0;
	color: #222222;
	border-bottom: 1px solid #e1e1e1;
	border-color: rgba(0,0,0,0.1);
}

.widget_pages ul li a:hover,
.widget_nav_menu ul li a:hover,
.widget_categories ul li a:hover,
.widget_archive ul li a:hover {
	color: #3F3F3F;
}
.widget_pages ul li::after,
.widget_nav_menu ul li::after,
.widget_categories ul li::after,
.widget_archive ul li::after {
	clear: both;
	display: block;
	content: "";
}
.widget_pages ul li a:after,
.widget_nav_menu ul li a:after,
.widget_categories ul li a:after,
.widget_archive ul li a:after {
	content: '';
	border-bottom: 1px solid #e1e1e1;
	border-color: rgba(0,0,0,0.1);
	position: absolute;
	bottom: 0;
	height: 1px;
	width: 0%;
	left: 0;
	transition: all 200ms linear;
}
.widget_pages ul li a:hover:after,
.widget_nav_menu ul li a:hover:after,
.widget_categories ul li a:hover:after,
.widget_archive ul li a:hover:after {
	width: 100%;
	border-color: #3F3F3F;
}
.widget_pages ul.children,
.widget_nav_menu ul.children,
.widget_categories ul.children,
.widget_archive ul.children { clear: both; padding: 5px 0 0 10px; }

.widget_pages ul.children li,
.widget_nav_menu ul.children li,
.widget_categories ul.children li,
.widget_archive ul.children li { padding: 5px 0; }

.widget_nav_menu ul.children li,
.widget_nav_menu ul.children li a,
.widget_pages ul.children li,
.widget_pages ul.children li a,
.widget_categories ul.children li,
.widget_categories ul.children li a,
.widget_archive ul.children li,
.widget_archive ul.children li a { line-height: 1; padding-left: 8px;}

table thead th {
	background-color:#F3F5F7;
	color: #ffffff;
}

/* WordPress Clanedar */
#wp-calendar { border: none; }
#wp-calendar tbody td,
#wp-calendar th,
#wp-calendar table,
#wp-calendar th,
#wp-calendar td,
#wp-calendar caption,
#wp-calendar tbody td {
	background-color: transparent !important;
	border: none !important;
}
#wp-calendar tbody td a {
	display: block;
	width: 38px;
	height: 38px;
	color: #000000;
	padding: 6px;
	border: 1px solid #3F3F3F;
	border-radius: 50%;
}
#wp-calendar tbody td {
	width: 38px !important;
	height: 38px !important;
	padding: 0 !important;
	vertical-align: middle;
}
#wp-calendar tbody td { text-align: center; }
#wp-calendar th {
	font-weight: 300;
	text-align: center;
}
#wp-calendar caption { font-weight: bold; color: inherit; }
#wp-calendar tfoot tr a { color: inherit; }
#wp-calendar tfoot #prev { text-align: left;}
#wp-calendar tfoot #next { text-align: right;}

#wp-calendar tbody tr:nth-child(odd) {
	background: rgba(0, 0, 0, 0.023);
}
/*============================*/
/* Menu Cart Icon             */
/*============================*/
.elementor-menu-cart__toggle .elementor-button:hover {
	border: 0 !important;
	padding: 0 !important;
}

/*============================*/
/* Toggle Icon Plus Minus */
/*============================*/

.elementor-toggle .elementor-tab-title .elementor-toggle-icon .elementor-toggle-icon-opened,
.elementor-toggle .elementor-tab-title .elementor-toggle-icon .elementor-toggle-icon-closed {
    display: block;
    font-size: 40px;
    margin-top: -10px;
}
/*============================*/
/* WPML dropdown icon         */
/*============================*/

.d4d-wpml .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    content: url('assets/arrow-down.svg');
    border: unset!important;
    position: absolute;
	right: 0px;
    top: 50%;
	width: 20px;
	transform: translateY(-40%) scale(0.7);
}
.wpml-ls-legacy-dropdown a {
	padding: 5px 0 5px 10px!important;
	border: unset!important;
	line-height: unset!important;
}
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
.wpml-ls-legacy-dropdown a:focus,
.wpml-ls-legacy-dropdown a:hover {
	background: #ffffff;
}
.wpml-ls-sub-menu li {
	line-height: 20px;
}
.wpml-ls-legacy-dropdown a span {
	font-size: 18px;
	font-weight: 600;
}
.d4d-wpml ul.wpml-ls-sub-menu {
	width: 45px;
}
.d4d-wpml li {
	transition: all 0.5s linear;
}
.d4d-wpml .wpml-ls-legacy-dropdown li:hover {
	background-color: transparent;
}
/*============================*/
/* Responsive CSS             */
/*============================*/

/* This media query targets screens with a maximum width of 1024px or tables */

@media only screen and (max-width: 1024px) {

	.elementor-sticky--effects .elementor-container .elementor-widget-wrap section.elementor-inner-section {
		margin-top: -24px!important;
	}

	/* D4D custom dropdown menu */
	#hummenu .elementor-nav-menu--dropdown .elementor-nav-menu {
		width: 70%;
		max-width: 800px;
		margin: 0 auto;
	}
	#hummenu nav.elementor-nav-menu--dropdown {
		top: 0 !important;
		margin:0;
		position: fixed !important;
		width: 100vw !important;
		height: 100vh !important;
		background-color: rgba(255, 255, 255, 0.93) !important;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 10;
	}
	#hummenu .elementor-menu-toggle {
		z-index: 999;
		padding:0;
		position: relative;
	}

	#hummenu .elementor-nav-menu--dropdown .elementor-item-active {
		color:#F3F5F7;
	}
	#hummenu .sub-menu li { padding-left:0 !important; }

	#hummenu .elementor-nav-menu--dropdown .elementor-nav-menu a {
		justify-content: center;
		transition: all 0.23s ease-in-out;
	}

	#hummenu .elementor-nav-menu--dropdown .elementor-nav-menu li:last-child a {
		border-bottom: none !important;
	}
	#hummenu .menu-item a.elementor-item {
		border-bottom: 1px solid rgba(0,0,0,0.1);
	}
	#hummenu .elementor-nav-menu--dropdown .mb-show {
		display: block !important;
	}
	#hummenu .elementor-nav-menu--dropdown ul {
		width: 40%;
	}
	
	.elementor-nav-menu__align-right .elementor-nav-menu,
	.elementor-nav-menu__align-right .elementor-nav-menu--layout-vertical>ul>li>a {
		justify-content: center !important
	}
	#hummenu .elementor-menu-toggle.elementor-active .eicon-close:before{
		margin-right:0 !important;
		right: -50% !important;
		transform: translate(50%,-50%);
	}
	#hummenu .elementor-menu-toggle .eicon-menu-bar:before {
		width: 70px;
		transform: translate(-40%,-50%);
		overflow: hidden;
	}
}
.elementor-sticky--effects .elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: #000000 !important;
}

.elementor-sticky--effects .elementor-nav-menu .elementor-item {
	color: #000000 !important;
}

.elementor-sticky--effects .elementor-menu-toggle svg {
    fill: #000000 !important;  
}
.elementor-sticky--effects .logolight {
	display: block;
	transition: all 0.2s linear;
}

.logodark {
	display: none;
	transition: all 0.2s linear;
}
.elementor-sticky--effects .logodark {
	display: block;
}
.elementor-sticky--effects .logolight {
	display: none;
}

.black {
	display: none;
}

.elementor-sticky--effects .white {
	display: none;
}
.elementor-sticky--effects .black {
	display: flex;
}


.elementor-counter-number-wrapper {
	position: relative;
	margin-bottom:20px;
}

.overlaybg .swiper-slide-bg:after {
	content: '';
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-image:url('assets/fade.png');
	background-repeat: no-repeat;
	background-position: top center;
	background-color: transparent;
}

.ico-calendar {
	position: relative;
	display: inline-block;
}

.ico-calendar .wp-caption {
	position: relative;
	display: inline-block;
}

.ico-calendar .wp-caption-text {
	visibility: hidden;
	width: 120px;
	background-color: #222222;
	color: #fff;
	text-align: center;
	border-radius: 0; /* No radius */
	padding: 5px 0;
	position: absolute;
	z-index: 1;
	top: calc(100% + 8px); /* 8px space between icon and tooltip */
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: opacity 0.3s;
}

/* Arrow */
.ico-calendar .wp-caption-text::before {
	content: "";
	position: absolute;
	top: -16px; /* Adjust arrow position */
	left: 50%;
	transform: translateX(-50%);
	border-width: 8px;
	border-style: solid;
	border-color: transparent transparent #2BA1BB transparent;
}

.ico-calendar:hover .wp-caption-text {
	visibility: visible;
	opacity: 1;
}