/*
Theme Name: Loft4Work Theme
Theme URI: https://d4design.ch/
Description: Loft4Work is a theme of Visual Builder, created by D4Design
Author: D4Design
Author URI: https://d4design.ch/
Template: hello-elementor
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
*/

.elementor-menu-toggle__icon--close svg {
	width: 40px;
}
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;
}
/* Hide gallery caption in Elementor lightbox */
.elementor-lightbox .elementor-gallery-title {
    display: none;
}

/*-------------------------------------------------------------------
Page Loader
--------------------------------------------------------------------*/

.iva_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: 80px 80px;
}


/* Add your custom styles here */
.overlaybg:after {
	content: '';
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	background-image:url(assets/fade.png);
	background-repeat: repeat-x;
	background-position: top center;
	/* background-color: rgba(255,255,255,0.3); */
}

/* Add your custom styles here */
.box_overlay .elementor-cta__bg-wrapper:after {
	content: '';
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60%;
	background: linear-gradient(0deg, rgba(255,255,255,1) 10%, rgba(0,0,0,0) 70%);
	z-index: 2;
}


.elementor-cta__button:after {
	content: url('assets/arrow_button.svg');
}

.overlaybg .swiper-slide-bg:after {
	content: '';
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000000;
	background: linear-gradient(0deg,rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%)
}

.slideroverlay .swiper-slide-bg::before {
	content: '';
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-image:url(assets/fade.png);
	background-repeat: repeat-x;
	background-position: top left;
	background-color: rgba(0,0,0,0);
	z-index: 2;
}

/*============================*/
/* Partial Image CSS          */
/*============================*/
.fullimageright .elementor-column-wrap,
.fullimageright .custom-post-thumb,
.fullimageleft .elementor-column-wrap {
	width: auto;
}
.fullimageright .elementor-widget-wrap,
.fullimageright .custom-post-thumb,
.fullimageleft .elementor-widget-wrap {
	width: auto;
}
.fullimageright .elementor-widget,
.fullimageright .custom-post-thumb,
.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-top: 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');
}


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

/* widgets wrap styling */
.iva-widget [type=submit] {
/* 	color: #000!important; */
/* 	border: 1px solid #000!important; */
}
.iva-widget [type=submit]:hover,
.iva-widget [type=submit]:focus {
/* 	background-color: #ffa600!important; */
/* 	color: #fff!important; */
}
.iva-widget {
	margin-bottom: 40px;
}

.iva-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;
}

/*============================*/
/* Responsive CSS             */
/*============================*/

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

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

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

.elementor-sticky--effects .elementor-element{
		padding: 0 !important;
}
.elementor-sticky--effects .elementor-widget-container{
		margin-bottom: 0 !important;
}

@media only screen and (max-width:475px) {
	.elementor-sticky--effects img {
		/* width: 75% !important; */
	}
}
.logo img {
	transition: all 0.2s linear;;
}

.elementor-sticky--effects {
	background-color: #ffffff;
	box-shadow: 0 0 14px 0 rgba(0,0,0,.2);

}

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;
}

/* custom dropdown menu */
#hummenu .elementor-nav-menu--dropdown .elementor-nav-menu {
	width: 90%;
	max-width: 1140px;
	margin: 0 auto;
	outline: none;
}
#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, 1) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: all 0.4s cubic-bezier(0.54, 0.17, 0.47, 0.83);
}
#hummenu .elementor-menu-toggle {
	z-index: 999;
	padding:0;
	position: relative;
}

#hummenu .elementor-nav-menu--dropdown .elementor-item:focus {
	background-color: transparent !important;
}

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

#hummenu .elementor-nav-menu--dropdown .elementor-nav-menu a:hover {
	padding-left: 10px;
}

#hummenu .elementor-nav-menu--dropdown .elementor-item:focus,
#hummenu .elementor-nav-menu--dropdown .elementor-nav-menu li:last-child a {
	border-bottom: none !important;
}

#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;
}

/*============================*/
#heroimages {
    opacity: 0; /* Initially invisible */
    transition: opacity 1s ease-in-out; /* Smooth fade-in effect */
    background-size: cover;
    background-position: center;
    height: 100vh; /* Fullscreen height */
    width: 100%; /* Full width */
    -webkit-animation: kenburns-zoomin 20s ease-in-out forwards;
            animation: kenburns-zoomin 20s ease-in-out forwards; /* Apply zoom-in effect */
}

/* Ken Burns Zoom-In Effect Keyframes */
@-webkit-keyframes kenburns-zoomin {
    0% {
        transform: scale(1); /* Start at normal size */
    }
    100% {
        transform: scale(1.2); /* Gradually zoom in to 120% */
    }
}
@keyframes kenburns-zoomin {
    0% {
        transform: scale(1); /* Start at normal size */
    }
    100% {
        transform: scale(1.2); /* Gradually zoom in to 120% */
    }
}

#heroimages img {
    display: none; /* Hide original gallery images */
}


.elementor-button svg {
    width: 20px;
    height: 18px;
    margin-top: 2px
}

.elementor-button-wrapper .elementor-button:hover {
    box-shadow: 0 0 0 0 transparent !important;
}


.elementor-button-wrapper:hover .elementor-button-icon {
/*     right:-10px; */
      transition: all 0.3s linear;
}

.elementor-button-icon {
/*     right: 0px; */
    position: relative;
    transition: all 0.3s linear;
}



.logocarousel .elementor-widget-container:before {
    background-image: linear-gradient(90deg, #ffffff, transparent);
    pointer-events: none;
    width: 100px;
    position: absolute;
    content:'';
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.logocarousel .elementor-widget-container:after {
    background-image: linear-gradient(90deg, transparent, #ffffff);
    pointer-events: none;
    width: 100px;
    content:'';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
}

.elementskit-submenu-indicator {
    display: inline-block;
    width: 12px; /* Slightly larger width for better visibility */
    height: 12px; /* Match the height to width */
    vertical-align: middle; /* Align with the text */
    background: no-repeat center;
    background-size: contain;
    content: '';
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16"><g id="surface25339102"><path style="stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 1.726562 4.015625 L 1.023438 4.734375 L 7.5 11.074219 L 13.972656 4.734375 L 13.277344 4.015625 L 7.5 9.675781 Z M 1.726562 4.015625 "></path></g></svg>') no-repeat;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16"><g id="surface25339102"><path style="stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 1.726562 4.015625 L 1.023438 4.734375 L 7.5 11.074219 L 13.972656 4.734375 L 13.277344 4.015625 L 7.5 9.675781 Z M 1.726562 4.015625 "></path></g></svg>') no-repeat;
    background-color: black; /* Set the color of the arrow */
    margin-left: 5px; /* Add space between text and arrow */
}

/*============================*/
/* WPML dropdown icon         */
/*============================*/
.d4d-wpml .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    content: url(assets/arrow-down-black.svg);
    border: unset!important;
    position: absolute;
	right: -5px;
    top: 50%;
	width: 20px;
	transform: translateY(-40%) scale(1.5);
}

.elementor-sticky--effects .d4d-wpml.black .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
	content: url(assets/arrow-down-black.svg);
    border: unset!important;
    position: absolute;
	right: -5px;
    top: 50%;
	width: 20px;
	transform: translateY(-40%) scale(1.5);
}
.wpml-ls-legacy-dropdown a {
	padding: 5px 0 5px 10px!important;
	border: unset!important;
	line-height: unset!important;
	background: transparent;
	text-decoration: none !important;
}

.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
.wpml-ls-legacy-dropdown a:focus,
.wpml-ls-legacy-dropdown a:hover {
	background:transparent;
}
.wpml-ls-sub-menu li {
	line-height: 20px;
}
.wpml-ls-legacy-dropdown a span {
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}
.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;
}



.button-arrow .elementor-button-text:after {
	content: url('assets/arrow_button.svg');
	left: 10px;
    position: relative;
    top: -2px;
}

.button-arrow-w .elementor-button-text:after {
	content: url('assets/arrow_button-white.svg');
	left: 10px;
    position: relative;
    top: -2px;
}

.elementor-post-navigation .post-navigation__arrow-prev.post-navigation__arrow-wrapper i {
	content: url('assets/arrow_button.svg');
	transform: rotate(180deg) translateY(8px);
	width: 32px;
}

.elementor-post-navigation .post-navigation__arrow-next.post-navigation__arrow-wrapper i {
	content: url('assets/arrow_button.svg');
	transform: translateY(-8px);
	width: 32px;
}
/*============================*/
/* Custom CTA Box Overlay */
/*============================*/
.ctabox-overlay .elementor-cta__bg.elementor-bg:after {
    content: '';
    background: rgb(255,255,255);
    background: linear-gradient(23deg, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 50%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ctabox-overlay .elementor-cta__button:after {
    content: '';
    bottom: -3px;
    position: relative;
    background-image: url(assets/arrow_button.svg);
    background-repeat: no-repeat;
    background-size: 50px 9px !important;
    width: 69px;
    padding-left: 52px;
	transition: all 0.3s linear;

}

.ctabox-overlay:hover .elementor-cta__button:after {
    background-image: url(assets/arrow_button-white.svg);
}

.more-button:after {
    content: url('assets/arrow_button.svg');
    width: 100px;
    height: 20px;
    left: 10px;
    position: relative;
    top: -2px;
}



.elementor-element .swipers .elementor-swiper-button-prev {
	left: -60px;
}
.elementor-element .swipers .elementor-swiper-button-next {
	right: -60px;
}
.elementor-element .swiper .elementor-swiper-button-prev .eicon-chevron-left:before {
	content: url('assets/flex-left-arrow.png');
}
.elementor-element .swiper .elementor-swiper-button-next .eicon-chevron-right:before {
	content: url('assets/flex-right-arrow.png');
}

#custom-sidebar {
  max-height: 300px;
  overflow-y: auto !important;
}
.simplebar-scrollbar:before {
  background-color: #A5CD38 !important;
  left: 0px !important;
  right: 0px !important;
	opacity:1 !important;
}

.simplebar-track.simplebar-vertical {
  width: 7px !important;
  border-radius: 10px;
  background-color:rgba(164,164,164,0.51) !important;
}
