/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.is-sidebar {
  overflow: hidden;
}

.mobile-sidebar {
    position: fixed;
    left: 0px;
    top: 0px;
    bottom: 0px;
    transform: translateX(-100%);
    display: none;
    overflow: auto;
    transition: all 0.3s ease 0s;
    -webkit-box-shadow: 0 0 50px rgba(24, 24, 24, .2);
    box-shadow: 0 0 50px rgba(24, 24, 24, .2);
}

.elementor-editor-active .mobile-sidebar, .elementor-editor-active #overlay{
    position: static;
    transform: none;
    display: block;
}
/*
#overlay {
    position: fixed;
    z-index: -100;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    opacity: 0;
    visibility: hidden;
    display: block !important;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease 0s;
}
*/

#overlay > * {
    display: none !important;
}

@media (max-width: 1024px){
    .mobile-sidebar {
        display: block;
    }
    .is-sidebar .mobile-sidebar {
        transform: translateX(0px);
        z-index: 150;
    }
    .is-sidebar #overlay {
        display: block;
        opacity: 1;
        visibility: visible;
        z-index: 100;
    }
}


/* Lang switcher */
.wp-custom-menu.cpel-switcher--layout-dropdown .cpel-switcher__lang {
	display: flex;
	align-items: center;
}

.wp-custom-menu.cpel-switcher--layout-dropdown .cpel-switcher__lang::before {
	display: block;
	content: '';
	width: 21px;
	height: 21px;
	background-image: url("images/lg.svg");
}
.wp-custom-menu.cpel-switcher--layout-dropdown .cpel-switcher__list, 
.wp-custom-menu .elementor-nav-menu--dropdown {
	width: 210px;
	background: #ffffff;
/* 	right: -30px; */
}

.wp-custom-menu.cpel-switcher--layout-dropdown .cpel-switcher__list .cpel-switcher__lang,
.wp-custom-menu .elementor-nav-menu--dropdown.sub-menu .menu-item {
	display: flex;
	align-items: center;
	position: relative;
	font-size: 16px;
	padding-left: 24px;
	padding-right: 24px;
}

.wp-custom-menu.cpel-switcher--layout-dropdown .cpel-switcher__list .cpel-switcher__lang::before,
.wp-custom-menu .elementor-nav-menu--dropdown.sub-menu .menu-item::before {
	display: block;
    content: "";
    width: 0;
    height: 2px;
    background: #e94d65;
    top: 50%;
    margin-top: -1px;
    left: 0;
    -webkit-transition: 200ms ease all;
    -moz-transition: 200ms ease all;
    transition: 200ms ease all;
    position: absolute;
}

.wp-custom-menu.cpel-switcher--layout-dropdown .cpel-switcher__list .cpel-switcher__lang a,
.wp-custom-menu .elementor-nav-menu--dropdown.sub-menu .menu-item a {
	font-size: 16px!important;
	color: #181818 !important;
}

.wp-custom-menu.cpel-switcher--layout-dropdown .cpel-switcher__list .cpel-switcher__lang:hover a,
.wp-custom-menu .elementor-nav-menu--dropdown.sub-menu .menu-item:hover a {
	color: #e74a3e !important;
}

.wp-custom-menu.cpel-switcher--layout-dropdown .cpel-switcher__list .cpel-switcher__lang:hover::before,
.wp-custom-menu .elementor-nav-menu--dropdown.sub-menu .menu-item:hover::before {
	width: 10px;
}

.button-with-right-line .elementor-button {
	width: 100%;
}

.button-with-right-line .elementor-button:hover .elementor-button-content-wrapper::after {
	width: 10%;
}

.button-with-right-line .elementor-button-content-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
}

.button-with-right-line .elementor-button-content-wrapper::after {
	content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: red;
	transition: .3s all ease-in-out;
}

.button-with-right-line .elementor-button-text {
	white-space: nowrap;
}

.dropdown-hover-button {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #ffffff;
	cursor: pointer;
	font-family: "Sen", Sans-serif;
    font-size: 18px;
    line-height: 1.5em;
    letter-spacing: 0.4px;
    padding-top: 10px;
    padding-bottom: 10px;
	position: relative;
}

.dropdown-hover-button .button-icon {
	width: 18px;
	height: 18px;
	fill: #ffffff;
}

.dropdown-list-wrapper {
	position: absolute;
    top: calc(100% + 1px);
    left: 0;
    background: #fff;
	width: 210px;
    z-index: 10;
    top: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out;
}

.dropdown-hover-button:hover .dropdown-list-wrapper {
	max-height: 500px;
	transition: max-height .4s ease-in;
}

.dropdown-list-wrapper .dropdown-list-item {
	display: flex;
	align-items: center;
	position: relative;
	font-size: 16px;
	padding: 10px 24px;
	color: #181818;
}

.dropdown-list-wrapper .dropdown-list-item::before {
	display: block;
    content: "";
    width: 0;
    height: 2px;
    background: #e94d65;
    top: 50%;
    margin-top: -1px;
    left: 0;
    -webkit-transition: 200ms ease all;
    -moz-transition: 200ms ease all;
    transition: 200ms ease all;
    position: absolute;
}

.dropdown-list-wrapper .dropdown-list-item:hover {
	color: #e74a3e;
}

.dropdown-list-wrapper .dropdown-list-item:hover::before {
	width: 10px;
}

@media (max-width: 1025px) {
  .mobile-oveflow-hidden {
    overflow:hidden!important;
  }
}