/*
	Theme Name: Mojn Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Vores mega seje børne tema
	Author: Gruppe 2
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.4
	Stable tag: 3.4.4
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	Template: hello-elementor
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/


.scale-up-center {
	transition: transform 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) !important;
	-webkit-transform: scale(1) !important;
	transform: scale(1) !important;
}

.scale-up-center:hover {
	-webkit-transform: scale(1.1) !important;
	transform: scale(1.1) !important;
}


/* ----------------------------------------------
 * Generated by Animista on 2025-10-28 10:30:11
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation scale-up-center
 * ----------------------------------------
 */
@-webkit-keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5) !important;
    transform: scale(0.5) !important;
  }
  100% {
    -webkit-transform: scale(1) !important;
    transform: scale(1) !important;
  }
}

@keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5) !important;
    transform: scale(0.5) !important;
  }
  100% {
    -webkit-transform: scale(1) !important;
    transform: scale(1) !important;
  }
}



/**
 * Custom CSS for Race for Oceans Navigation
 * Centering with transform (more reliable than margin)
 */

/* ===================================
   SUBMENU CENTERING
   =================================== */

/* Make parent items relative */
.elementor-nav-menu--main .elementor-nav-menu > li.menu-item-has-children {
    position: relative !important;
}

/* Center using transform - higher specificity */
body .elementor-nav-menu--main .elementor-nav-menu > li.menu-item-has-children > ul.sub-menu.elementor-nav-menu--dropdown {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    text-align: center !important;
    margin-left: 0 !important;
}

/* ===================================
   ANIMATION - DISAPPEAR ONLY
   =================================== */

/* Hidden state */
body .elementor-nav-menu > li.menu-item-has-children > ul.sub-menu.elementor-nav-menu--dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease, visibility 0.25s !important;
}

/* Visible on hover */
body .elementor-nav-menu > li.menu-item-has-children:hover > ul.sub-menu.elementor-nav-menu--dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
}


/* Submenu box styling */
.elementor-nav-menu--dropdown {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    padding: 8px !important;
    background: #ffffff !important;
}


/* ===================================
   MOBILE RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
    .elementor-nav-menu--main .elementor-nav-menu > li.menu-item-has-children > ul.sub-menu,
    li.menu-item-32 > ul.sub-menu,
    li.menu-item-33 > ul.sub-menu,
    li.menu-item-34 > ul.sub-menu {
        left: 0 !important;
        transform: none !important;
        text-align: left !important;
    }
}