/* 
* Variables
* ----------------------- */

:root {
	--primary: var(--ast-global-color-0);
	--secondary: var(--ast-global-color-1);
	--dark: var(--ast-global-color-2);
	--body: var(--ast-global-color-3);
	--bg: var(--ast-global-color-4);
	--white: var(--ast-global-color-5);
	--tertiary: var(--ast-global-color-6);
	--border: var(--ast-global-color-7);
	--black: var(--ast-global-color-8);
	--timing-function: cubic-bezier(.4,0,.2,1);
}


/*
* Scaffoldings 
* ----------------------- */
.elementor-widget-text-editor p:last-of-type {
	margin-bottom: 0;
}

*, *:before, *:after,
a:focus {
	outline: 0 !important;
}


body {
	transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

b, strong {
	font-weight: 500;
}

h1 em,
h2 em, 
h3 em,
h4 em {
	font-family: "Playfair Display", serif;
}

.e--pointer-double-line.e--animation-slide .elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted)::after, .e--pointer-underline.e--animation-slide .elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted)::after{
	inset-inline-start: 0 !important;
}

footer .e--animation-slide a {
	display: inline-block !important;
}
/* .elementor-sticky--active {
    z-index: 999 !important;
} */

/* 
 * Hero
 * --------------------- */
    @media (min-width:1920px) and (min-height:1200px){
			.hero{
		 min-height:900px !important;
	}
}

/* Menu Toggle */
.menu-icon-button svg {
	width: 20px !important; 
	height: 20px !important;
}
.menu-toggle-button svg {
	width: 26px !important;
	height: 26px !important;
}

.menu-toggle-button svg path {
	fill: var(--white) !important;
	transition: fill var(--duration) var(--timing-function);
}

.header.elementor-sticky--effects .menu-toggle-button svg path{
	fill: var(--dark) !important;
}

.menu-toggle-button .elementor-button-icon {
	width: auto !important;
	opacity: 1 !important;
	margin: 10px !important;
	transition: all var(--duration) var(--timing-function);
}

.menu-icon-button a,
.menu-toggle-button a{
	width: 40px !important;
}

/* Menu */
.elementor-nav-menu {
	z-index: 999 !important;
}

.elementor-nav-menu--main .elementor-nav-menu ul.sub-menu {
	min-width: 200px !important;
	padding: 12px;
	border-radius: 6px;
	z-index: 999 !important;
}

.elementor-nav-menu--main .elementor-nav-menu ul.sub-menu li a {
	border-radius: 6px;
}

.elementor-nav-menu .col-2 ul {
	column-count: 2;
}
.elementor-nav-menu .sub-arrow {
	padding-left: 5px !important;
}

.menu-column-2 ul {
	column-count: 2;
	column-gap: 40px;
}



/* Offcanvas */
.offcanvas .elementor-nav-menu--dropdown a {
	background: transparent !important;
}

.dialog-close-button {
	width: 50px;
	height: 50px;
	border-radius: 50px;
	background: var(--white);
}

.dialog-close-button svg {
	display: none;
}

.dialog-close-button:before, .dialog-close-button:after {
	content: "";
	top: 50%;
	left: 0;
	right: 0;
	width: 1.5rem;
	height: 2px;
	display: block;
	position: absolute;
	margin: auto;
	background-color: var(--dark);
}

.dialog-close-button:before {
	transform: rotate(45deg);
}

.dialog-close-button:after {
	transform: rotate(-45deg);
}

/*
* Button 
* ----------------------- */
.elementor-button-content-wrapper {
	align-items: center;
}

.btn-primary .elementor-button-text {
	text-align: left;
	z-index: 2;
}

.btn-primary .elementor-button {
	overflow: hidden !important;
	transform: translateZ(0);
}

.btn-primary .elementor-button .elementor-button-icon {
	width: 24px; 
	height: 24px;
	display: flex; 
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.5s ease-in-out;
	position: static;
}

.btn-primary .elementor-button .elementor-button-icon:before {
	content: "";
	width: 50px; 
	height: 50px;
	display: flex; 
	align-items: center;
	justify-content: center;
	background: var(--white);
	border-radius: 50%;
	position: absolute;
	transition: transform .5s var(--timing-function);
	z-index: -1;
}

.btn-primary.small .elementor-button .elementor-button-icon:before {
	width: 40px;
	height: 40px;
}


.btn-primary.invert .elementor-button .elementor-button-icon:before {
	background: var(--primary);
}

.btn-primary .elementor-button:hover .elementor-button-icon:before {
	transform: scale(1.1) !important;
}

.btn-primary .elementor-button-icon svg,
.arrow-down .elementor-button-icon svg{
	width: 14px;
	height: 14px;
	z-index: 1;
}

.btn-primary .elementor-button-icon svg path {
	fill: var(--dark);
}

.btn-primary.invert .elementor-button-icon svg path{
		fill: var(--white);
}

.arrow-down .elementor-button-icon svg {
	transform: rotate(90deg);
}

/* Hover State */ 
.btn-primary .elementor-button-icon svg path,
.arrow-down .elementor-button-icon svg path{
	transition: transform .5s var(--timing-function);
} 

.btn-primary .elementor-button-icon svg path:last-child,
.arrow-down .elementor-button-icon svg path:last-child{
	transform: translateX(-100%);
}

.btn-primary  .elementor-button:hover .elementor-button-icon svg path:first-child,
.arrow-down  .elementor-button:hover .elementor-button-icon svg path:first-child{
	transform: translateX(100%)
}

.btn-primary .elementor-button:hover .elementor-button-icon svg path:last-child,
.arrow-down .elementor-button:hover .elementor-button-icon svg path:last-child{
	transform: translateX(0);
}

/* 
* Overline
* --------------------- */
.overline .elementor-widget-container {
	display: inline-block;
}

.overline .elementor-icon-box-wrapper {
	display: flex !important;
	align-items: center !important;

}

.overline .elementor-icon-box-icon {
	display: flex;
	margin-bottom: 0 !important;
	margin-right: 10px !important;
}

.overline .elementor-icon-box-content,
.overline .elementor-icon-box-title{
	display: inline-block;
	flex-grow: unset !important;
	text-align: left;
}

.elementor-widget-icon-box.elementor-position-left .elementor-icon-box-icon, .elementor-widget-icon-box.elementor-position-right .elementor-icon-box-icon {
	display: inline-flex !important;
}

/*
* Card 
* ----------------------- */
.card .elementor-cta__content {
	flex-direction: column;
}

.card .elementor-cta__title small{
	display: block;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 2px;
}

.card .elementor-cta__title {
	flex-grow: 1;
}

.card .elementor-cta__bg-overlay {
	background: linear-gradient(to bottom,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 70%,rgba(0,0,0,0.3) 100%);

}

@media (min-width: 768px){
	.card .elementor-cta__title,
	.card .elementor-cta__description{
		
		margin: auto;
	}
}


/*
* Tab Autoswitch
* ----------------------- */

.tab-autoswitch .e-n-tab-title:after {
	content: "";
	display: block;
	left: 0;
	position: absolute;
	height: 0 !important;
	bottom: 0px !important;
	border-bottom: 1px solid var(--primary) !important;
	transition: all 0s ease-in;
}


.tab-autoswitch .e-n-tab-title[aria-selected="true"]:after{
	animation: expand 8s linear;
}

@keyframes expand {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}


/*
* Effects 
* ----------------------- */
.elementor-bg-transform-zoom-in .elementor-bg {
	transform: scale(1);
	transition: transform 0.3s var(--timing-function) !important;
}


.elementor-bg-transform-zoom-in:hover .elementor-bg {
	transform: scale(1.05) !important;
}

.elementor-motion-effects-element, .elementor-motion-effects-layer {
	transition-duration: 100ms !important;
}

/*
* Accordion
* ---------------------- */
.e-n-accordion-item-title-icon svg {
	height: auto;
}

/*
* Map 
* ----------------------- */
.iframe-map iframe {
	border-radius: 20px;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}


/* Remove margin bottom from astra entry last child of p */
.elementor-widget-container p{
	margin-bottom:unset !important;
}
.entry-content p:last-child{
    margin-bottom:unset !important;
}

/* Custom Scroll bar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
/* handle  */
::-webkit-scrollbar-thumb {
  background: var(--ast-global-color-0); 
}
/* handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--ast-global-color-0); 
}
/* end of custom scroll bar */