html, body {
  overflow-x: hidden;
  /*position: relative;*/
} 

.custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
    font-family: "TTFirsNeue", Sans-serif;
    width: 100vw;
}

.row1 {
    display: flex;
	justify-content: flex-end;
	margin: 8px 0px 15px 0px;
	border-bottom: 1px solid rgba(173,173,173,0.3);
	color: white;
}

.language-switcher {
    margin-bottom: 5px;
    margin-right: 10px;
}

.language-switcher a, .language-switcher span {
    color: white;
    font-size: 11px;
}

.row2 {
    display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-container {
    z-index: 30;
    position: relative;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.logo-container .custom-logo, .logo-container .custom-logo:hover {
    z-index: 30;
    position: relative;
    border-radius: 0 !important;
    border: none !important;
}


.desktop-menu {
    display: flex;
    justify-content: space-between;
}



.custom-header .row2 .site-navigation ul.sub-menu {
	width: 180px;
    background-color: black;
    padding: 20px;
    box-shadow: 0px 0px 2px 1px #292727;
	border: 1px solid rgba(247, 247, 247, 0.25);
    border-radius: 5px;
    z-index: 20;
}

.custom-header .row2 .site-navigation ul.menu li ul li {
    border-block-end: 0px;
}

.custom-header .row2 .site-navigation ul.menu li ul li a {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}

.custom-header .site-navigation ul.menu .current-menu-item a {
    color: var(--e-global-color-accent);
}

.toggle-container {
    display: none;
}
.close-icon {
    display: none;
}

.floating-menu {
    width: 100vw;
    height: 100vh;
    background-color: green;
    position: absolute;
    top: 0px;
    left: 100vw;
    z-index: 10;
    transition: transform 0.5s ease;
    overflow: hidden;
    display: none;
}

.menu-content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    overflow: hidden;
    row-gap: 100px;
	margin-top: 80px;
}

.button {
    font-size: 14px;
    padding: 8px 17px;
    border-radius: 20px;
    background-color: white;
    color: black;
    height: auto;
    font-weight: 500;
	display: flex;
	align-items: center;
}

.button:hover, .button:hover a {
	color: var(--e-global-color-330b872) !important;
	background-color: var(--e-global-color-accent); 
}

.custom-header .floating-menu .site-navigation .menu-item-has-children ul.sub-menu {
	position: absolute;
	  margin: 0;
	  padding: 0;
	  width: 100%;
	  transform-origin: top;
	  transform: perspective(1000px) rotateX(-90deg);
	  transition: 0.25s;
}

.custom-header .floating-menu .site-navigation .menu-item-has-children:first-child {
	width: 100px;
}

.custom-header .floating-menu .site-navigation .menu-item-has-children.active ul.sub-menu {
	transform: perspective(1000px) rotateX(0deg);
	position: relative;
	 transition: 0.5s;
}

.floating-menu .menu-item-has-children::before {
	content: url('http://cloudsec.hemsida.eu/wp-content/uploads/2024/04/arrow-7.svg');
	display: block;
	width: 12px;
	font-size: 19px;
	align-items: center;
	position: absolute;
	right: 0;
	margin-top: 27px;
	transform: translateY(-50%);
	text-decoration: none;
}

.floating-menu .menu-item-has-children.active::before {
	transform: rotate(180deg);
	margin-top: 6px;
}

#menuBtn {
    display: none;
}

#menuBtn:checked ~ .menu_overlay {
    transform: translateX(-100%);
}

.hamburger {
    position: relative;
    z-index: 20;
}

#menuBtn:checked ~ .hamburger {
    display: none;
}

#menuBtn:checked ~ .close-icon {
    display: block;
    position: relative;
    z-index: 20;
}

#menuBtn:checked ~ .floating-menu {
    transform: translateX(-100%);
    display: block;
    
}

@media(max-width: 960px) {
    .desktop-menu {
        display: none;
    }
    .toggle-container {
        display: block;
        z-index: 20;
    }
	
	.button {
    	font-size: 16px;
	}
	
	.language-switcher {
		border-top: 1px solid rgba(173,173,173,0.3);
		margin-top: 18px;
		padding-top: 10px;
		width: 100%;
	}
	
	.custom-header .row2 .site-navigation ul.sub-menu {
		border: none;
	}
}

@media(max-height: 400px) {
    .noscroll {
        overflow-y: visible;
        position: relative;
    }
    
    .noscroll .floating-menu {
        position: absolute;
          overflow: visible;
          right: 0;
        min-height: 500px;
    }

    .menu-content {
        row-gap: 30px;
    }
}