/* =========================================================
   CoreIT Mobile Menu
   ========================================================= */


/* =========================
   MOBILE MENU CONTAINER
   ========================= */

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;

    width: 80%;
    max-width: 400px;
    height: 100%;

    background: #fff;

    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;

    z-index: 9999;

    overflow-y: auto;

    padding: 0 20px 20px 20px;

    box-sizing: border-box;

    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
	padding-top: 30px;
}


/* Öppen meny */

.mobile-menu.active,
.mobile-menu.open {
    transform: translateX(0);
}


/* =========================
   MENU HEADER
   ========================= */

.menu-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
	padding:0px !important;
	height:30px;
}


/* Tillbaka */

#menu-back {
    flex: 0 0 45px;

    background: none;
    border: none;

    padding: 0;

    font-size: 26px;
    line-height: 1;

    text-align: left;

    color: #000;

    cursor: pointer;
}


/* Titel */

#menu-title {
    flex: 1;

    margin: 0;

    font-weight: 700;
    font-size: 14px;

    text-align: left;

    color: #000;
}


/* Stäng */

#menu-close {
    flex: 0 0 40px;
    background: transparent;
    font-size:34px !important;
    font-weight:bold;
    border: none;
    padding: 0;
    text-align: right;
    color: #000;

    cursor: pointer;
}


/* =========================
   MENU LIST
   ========================= */

.menu-level {
    list-style: none;

    margin: 0;
    padding: 0;

    width: 100%;
}


/* Menyobjekt */

.menu-level > li {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    border-bottom: none;
    box-sizing: border-box;
}


/* Objekt som har undermeny */

.menu-level > li.has-children {
    cursor: pointer;
}


/* =========================
   LINKS / BUTTONS
   ========================= */

.menu-level > li > .sm-title-inner-wrap,
.menu-level > li > a {
    display: flex;
    align-items: left;

    width: 100%;

    margin: 0;
    padding: 13px 0;

    box-sizing: border-box;

    color: #111;
    text-decoration: none;

    background: transparent;
    background-image: none;

    border: 0;

    font: inherit;

    cursor: pointer;
}


/* Undvik standardutseende från button */

.menu-level > li > button.sm-title-inner-wrap {
    appearance: none;
    -webkit-appearance: none;

    text-align: left;
}


/* =========================
   MENU TEXT
   ========================= */

.sm-title-text {
    display: block;

    flex: 1 1 auto;

    min-width: 0;

    color: #111;
    text-align: left;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.4;
}


/* ==========================
   NEXT ARROW SVG
   ========================== */

.coreit-next-arrow {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: 8px;
    background-image: url("/wp-content/uploads/2026/11/arrow_for.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
	margin-right:0px;
}


/* ==========================
   BACK ARROW SVG
   ========================== */

#menu-back {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width:15% !important;
	height:30px;
    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
}


#menu-back.hidden {
    display: none;
}


#menu-back img {
    display: block;

    width: 24px;
    height: 24px;

    object-fit: contain;

    border: 0;
    background: transparent;
}


/* =========================
   REMOVE OLD THEME ICONS
   ========================= */

/*
   Förhindrar att gamla pseudo-element skapar
   en extra pil/ikon bredvid vår →.
*/

#mobile-menu .has-children > .sm-title-inner-wrap::before,
#mobile-menu .has-children > .sm-title-inner-wrap::after {
    content: none !important;
    display: none !important;

    background: none !important;
    background-image: none !important;

    border: 0 !important;

    transform: none !important;
}


/* Ta bort eventuell gammal background-image */

#mobile-menu .has-children > .sm-title-inner-wrap {
    background-image: none !important;
}


/* =========================
   HOVER
   ========================= */

.menu-level > li.has-children:hover > .sm-title-inner-wrap,
.menu-level > li > a:hover {
    color: var(--e-global-color-primary, #000);
    background-color:transparent;
}


.menu-level > li.has-children:hover .sm-title-text {
    color: var(--e-global-color-primary, #000);
    background-color:transparent;
}


/* =========================
   HIDDEN
   ========================= */

.hidden {
    display: none !important;
}


/* =========================
   LOGO
   ========================= */

.sm-logo {
    padding: 0 25px;

    margin-top: 0;
    margin-bottom: 10px;

    background-color: #fff;
}


/* =========================
   MOBILE MENU TOGGLE
   ========================= */

#mobile-menu-toggle  {
    background-color:#ffffff !important;
     border: none;
    padding:0px;
    border-radius: 0px;
}

.elementor-icon {
    background-color:#ffffff !important;
    align-items: right;
     border-radius: 0px;
    padding: 0px;
    border:none;
    margin: 0px;
        
 
}


/* =========================
   OPTIONAL TITLE WRAPPER
   ========================= */

.sm-title-wrap {
    display: block;

    padding: 10px 0;
}


/* =========================
   LOADING
   ========================= */

#menu-list .loader,
#menu-list .menu-loading {
    padding: 10px 0;

    font-style: italic;

    color: #888;

    text-align: left;
}


/* =========================
   ERROR
   ========================= */

#menu-list .menu-error {
    padding: 10px 0;

    color: #b00020;

    font-size: 14px;
}


/* =========================
   EMPTY MENU
   ========================= */

#menu-list .menu-empty {
    padding: 10px 0;

    color: #777;

    font-size: 14px;
}


/* =========================
   BODY WHEN MENU OPEN
   ========================= */

body.mobile-menu-open {
    overflow: hidden;
}