/* 
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 */

/******** BODY ********/

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > div[data-elementor-type="header"],
body > header {
  flex-shrink: 0;
}

body > div[data-elementor-type="single-page"],
body > main,
body > #content,
body > .site-main {
  flex: 1 0 auto;
}

body > div[data-elementor-type="footer"],
body > footer {
  margin-top: auto;
  flex-shrink: 0;
}

/************ HEADER **************/

/* SEARCH */

.dg-header-search {
  width: 34px;
  height: 44px;
  overflow: visible;
  transition: width 0.3s ease;
}

.dg-header-search.is-open {
  width: 290px;
}

.dg-search-form {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.dg-search-form input {
  width: 0;
  opacity: 0;
  visibility: hidden;
  border: none !important;
  border-bottom: 1px solid #e5e5e5 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 8px 0 !important;
  font-size: 16px;
  transition: width 0.3s ease, opacity 0.2s ease;
}

.dg-header-search.is-open .dg-search-form input {
  width: 240px;
  opacity: 1;
  visibility: visible;
}

.dg-search-toggle {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: end;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  color: #111;
  position: relative;
}

.dg-icon-close {
  display: none;
  font-size: 2.5rem;
  line-height: 1.2;
}

.dg-header-search.is-open .dg-icon-search {
  display: none;
}

.dg-header-search.is-open .dg-icon-close {
  display: block;
}

/* MENU main */

.elementor-nav-menu .menu-item-has-children > a {
  cursor: pointer;
  pointer-events: auto;
}

/* MENU mobile */

/* Hide Elementor default burger / close icons */
.elementor-menu-toggle__icon--open,
.elementor-menu-toggle__icon--close {
  display: none !important;
}

/* Toggle button box */
.elementor-menu-toggle {
  position: relative;
  width: 32px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Create 3 lines */
.elementor-menu-toggle::before,
.elementor-menu-toggle::after,
.elementor-menu-toggle span.menu-line {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--e-global-color-text);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

/* Top line */
.elementor-menu-toggle::before {
  top: 5px;
}

/* Middle line */
.elementor-menu-toggle span.menu-line {
  top: 11px;
}

/* Bottom line */
.elementor-menu-toggle::after {
  top: 17px;
}

/* Active state -> turn into X */
.elementor-menu-toggle.elementor-active::before {
  top: 11px;
  transform: rotate(45deg);
  background-color: var(--e-global-color-accent) !important;
}

.elementor-menu-toggle.elementor-active span.menu-line {
  opacity: 0;
}

.elementor-menu-toggle.elementor-active::after {
  top: 11px;
  transform: rotate(-45deg);
  background-color: var(--e-global-color-accent) !important;
}

/* MENU mobile SUB ITEMS */

.elementor-nav-menu--dropdown .elementor-item.has-submenu .sub-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  margin-left: 8px;
}

.elementor-nav-menu--dropdown .elementor-item.has-submenu .sub-arrow svg {
  display: block;
  transition: transform 0.25s ease;
  transform-origin: center center;
}

.elementor-nav-menu--dropdown .elementor-item.has-submenu[aria-expanded="true"] .sub-arrow svg {
  transform: rotate(180deg);
}

.elementor-nav-menu .current-menu-ancestor > a,
.elementor-nav-menu .current-menu-parent > a,
.main-nav-mobile .sub-menu li.current-menu-item > a,
.main-nav-mobile .sub-menu li.current_page_item > a {
  color: var(--e-global-color-accent) !important;
}

.elementor-nav-menu .current-menu-ancestor a .sub-arrow {
	fill: var(--e-global-color-accent);
}

/************ FOOTER **************/

/*.footer-main-menu ul .elementor-nav-menu--dropdown {
	display: none !important;
}*/

/************ FRONTPAGE **************/

/* HERO SLIDER */

.home-hero-slider .swiper-pagination-bullet-active {
	width: 24px !important;
	transition: all 0.3s ease;
}

.home-hero-slider .swiper-pagination-bullet {
	border-radius: 3.40282e38px !important;
}


/************ CONTACT PAGE **************/


.elementor-field-textual {
  padding: 5px 0 !important;
}