@charset "utf-8";

.main_header_small{
    background-color:#1a1a1a;
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    flex-wrap: wrap !important;
    overflow: visible;
}

.eva_logo_small{
    background-image:url(images/memo-logo.svg);
    background-repeat: no-repeat;
    background-position: center center;
    width:234px;
    height:29px;
}

@media (max-width: 1160px) {
    .eva_logo_small{
        width:160px;
    }
}

.eva_logo_small_dev{
    background-image:url(images/memo-logo.svg);
    background-repeat: no-repeat;
    background-position: center center;
    width:234px;
    height:29px;
    min-width: 120px;
    margin: 0.5rem 0;
}

@media (max-width: 864px) {
    .eva_logo_small_dev {
        flex: 1 1 auto !important;
    }
}

.eva_list_element.borderBottomOrange
{
    border-bottom: 1px solid #dedede;
    cursor:default;
}

.start_header{
    background-color:#3a5ea4;
    height:101px;
}

.eva_logo{
    background-image:url(images/eva_logo.jpg);
    width:234px;
    height:101px;
    float:left;
}

.main_menu{
    background-image:url(images/menu_bg.jpg);
    width:1046px;
    height:101px;
    float:left;
}

.watermark{
    background-image:url(images/watermark.png);
    width:251px;
    height:90px;
    float:right;
    margin-right:20px;
}

.watermark_small{
    background-image:url(images/watermark_small.png);
    width:137px;
    height:43px;
    margin-right:10px;
    float:right;
    display: none;
}

.menu{
    margin-left:10px;
    margin-top:2px;
    float:left;
}

.menu a.eva_manager{
    background-image:url(images/eva_manager_botton.png);
    width:93px;
    height:92px;
    margin-right:10px;
    float:left;
}

a.eva_manager:hover{
    background-image:url(images/eva_manager_botton_hover.png);
}

.menu a.eva_carlive{
    background-image:url(images/eva_carlive_botton.png);
    width:93px;
    height:92px;
    margin-right:10px;
    float:left;
}

a.eva_carlive:hover{
    background-image:url(images/eva_carlive_botton_hover.png);
}

.menu a.eva_direct{
    background-image:url(images/eva_direct_botton.png);
    width:93px;
    height:92px;
    margin-right:10px;
    float:left;
}

a.eva_direct:hover{
    background-image:url(images/eva_direct_botton_hover.png);
}

.menu a.eva_after_sale{
    background-image:url(images/eva_after_sale_botton.png);
    width:93px;
    height:92px;
    margin-right:10px;
    float:left;
}

a.eva_after_sale:hover{
    background-image:url(images/eva_after_sale_botton_hover.png);
}

.menu a.eva_cms{
    background-image:url(images/eva_cms_botton.png);
    width:93px;
    height:92px;
    margin-right:10px;
    float:left;
}

a.eva_cms:hover{
    background-image:url(images/eva_cms_botton_hover.png);
}

/* ------------------------------------ */

.sub_menu{
    position:relative;
    background: #252525;
    /*background-color:#c1c1c1;
    border-bottom:1px solid #d8d8d8;*/
    width:100%;
    min-height:40px;
    display: flex;
    /*justify-content: space-between;*/
    flex-wrap: wrap !important;
    z-index: 3;
}

/*object{
position:relative;
z-index:1;
}*/

/* ------------------------------------ */

.sub_menu_topline{
    /*background-image:url(images/line01.jpg);
    background-repeat:repeat-x;*/
    background: #2c2c2c;
    height:0px;
    width:100%;
    float:left;
}

div.willkommen{
    width:234px;
    line-height:40px;
    font-weight:600;
    font-size:14px;
    color:#000;
    background: #ff600f;
    text-align: center;
}

@media (max-width: 1160px) {
    div.willkommen{
        font-size: 0;
        width:60px;
    }

    .user-thumbnail{
        margin: 0!important;
    }
}

/* div.willkommen:before{
    content: url(images/icons/logged-in-user.svg);
    width: 1.2rem;
    display: inline-block;
    margin-right: 0.2rem;
    margin-bottom: 0.3rem;
    vertical-align: middle;
}*/

/* #### USER THUMBNAIL #### */

/* Container for user profile and dropdown */
.user-thumbnail {
    position: relative;
    display: inline-block;
    margin-right: 0.8rem;
}

/* Profile picture styling */
.user-thumbnail .profile-pic {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    /*border: 1px solid #000;*/
}

/* Notification badge styling */
.user-thumbnail .notification-badge {
    position: absolute;
    top: -2px;
    right: -8px;
    background-color: #000;
    color: #ff600f;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 1px 5px;
    min-width: 7px;
    text-align: center;
    line-height: 1.2;
    border: 1px solid #fff;
    animation: note-bounce 2s infinite;
}

/* Dropdown menu container */
.user-thumbnail .dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    padding: 0.5rem 0;
}

/* Individual dropdown links */
.user-thumbnail .dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover effect for dropdown links */
.user-thumbnail .dropdown a:hover {
    background-color: #f7f7f7;
}

/* Show dropdown on hover */
.user-thumbnail:hover .dropdown {
    display: block;
}

.menu_small a .eva_sub_txt.menu-text-message-error{
    font-size: 0.7rem;
    background: #b80000;
    height: fit-content;
    white-space: inherit;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 0.2rem;
}

.menu_small a .eva_sub_txt.menu-text-message-error:hover{
    color: #fff;
}

.menu_small a .eva_sub_txt.menu-text-message-error:before{
    content: url(images/icons/menu-error.svg);
    width: 0.7rem;
    display: inline-block;
    margin-right: 0.2rem;
    vertical-align: middle;
}

.menu_small a .eva_sub_txt.menu-text-message-update{
    font-size: 0.7rem;
    background: #4a9d00;
    color: #fff;
    white-space: inherit;
    height: fit-content;
    padding: 0.2rem 0.5rem;
    border-radius: 0.2rem;
}

.menu_small a .eva_sub_txt.menu-text-message-update:hover{
    color: #fff;
}

.menu_small a .eva_sub_txt.menu-text-message-update:before{
    content: url(images/icons/menu-update.svg);
    width: 0.7rem;
    display: inline-block;
    margin-right: 0.2rem;
    vertical-align: middle;
}


@media (max-width: 1350px) {

    .menu_small a .eva_sub_txt.menu-text-message-error:before,
    .menu_small a .eva_sub_txt.menu-text-message-update:before{
        width: 1rem;
    }

    .menu_small a .eva_sub_txt.menu-text-message-error,
    .menu_small a .eva_sub_txt.menu-text-message-update{
        font-size: 0;
        padding: 0.2rem 0rem 0.2rem 0.2rem;
    }
}

.menu_small {
    display: flex;
    padding: 0 0.5rem;
    flex-wrap: wrap !important; /* NEU */
    flex: 1 1 auto !important; /* NEU */
}

.no-hover{
    z-index: 1;
}

.menu_small:last-of-type {
    padding-right: 0;
}

.menu_small a{
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    transition: all .15s ease-in-out;
    cursor: pointer;
    flex: 1 1 auto !important; /* NEU */
    justify-content: center !important; /* NEU */
}

@media (max-width: 575.98px) {
    .menu_small a{
        border:none!important;
        padding: 0.2rem;
    }
    .menu_small a .eva_sub_txt{
        font-size: 0!important;
    }
}



.menu_small.icons a{
    padding: 0.5rem;
    display: flex;
    align-items: center !important;
}

.menu_small.icons .menu-item {
    display: flex;
    align-items: center !important;
    display: flex;
    align-items: center;
    transition: all .15s ease-in-out;
    cursor: pointer;
    flex: 1 1 auto !important;
    justify-content: center !important;
}

.menu_small.icons a.login_small{
    padding: 0 1rem;
}



.menu_small a.eva_manager{
    background-image:url(images/sub_manager.png);
    width:45px;
    height:41px;
    float:left;
}
.menu_small a.eva_manager_aktiv{
    width:45px;
    height:41px;
    float:left;
    background-image:url(images/sub_manager_hover.png);
}

.menu_small a.eva_sub_txt{
    display:block;
    text-decoration:none;
    color:#FFFFFF;
    height:25px;
    width:auto;
    background-color:#1a1a1a;
    font-size:12px;
    margin-top:6px;
    margin-right:5px;
    padding-top:8px;
    padding-right:6px;
    float:left;
}

.menu_small a .eva_sub_txt{
    display:block;
    text-decoration:none;
    color:#FFFFFF;
    width:auto;
    background-color:#1a1a1a;
    font-size:14px;
    margin-right:5px;
    padding-right:6px;
    white-space: nowrap;
    float:left;
    transition: all .15s ease-in-out;
}

.menu_small a.aktiv .eva_sub_txt{
    color: #ff600f;
}

.menu_small a:hover .eva_sub_txt{
    color: #ff600f;
}

.menu_small a.no-hover,
.menu_small a.no-hover:hover,
.menu_small a.no-hover:hover .eva_sub_txt{
    color: #fff!important;
}

.menu-icon img {
    width: 27px;
    margin-right: 0.3rem;
    background: #1a1a1a;
    border-radius: 100%;
    padding: 3.5px;
    transition: all .45s ease-in-out;
}

.menu_small a:nth-child(2) .menu-icon img,
.menu_small a:nth-child(3) .menu-icon img,
.menu_small a:nth-child(4) .menu-icon img{
    padding: 2px 3.5px;
}

.menu-icon.help img {
    width: 27px;
    padding: 3px 3px!important;
}

.menu-icon.management img {
    width: 27px;
    padding: 0;
}

.menu-icon.calendar img{
    width: 27px;
    padding: 3px 3.5px!important;
}

.menu_small a.aktiv .menu-icon img{
    background: #ff600f;
}

.menu_small a:hover .menu-icon img{
    background: #ff600f;
    transform: rotate(360deg);
}

.menu_small a.eva_manager:hover{
    background-image:url(images/sub_manager_hover.png);
}


.menu_small a.eva_carlive{
    background-image:url(images/sub_carlive.png);
    width:45px;
    height:41px;
    float:left;
}
.menu_small a.eva_carlive_aktiv{
    background-image:url(images/sub_carlive_hover.png);
    width:45px;
    height:41px;
    float:left;
}

.menu_small a.eva_carlive:hover{
    background-image:url(images/sub_carlive_hover.png);
}

.menu_small a.eva_direct{
    background-image:url(images/sub_direct.png);
    width:45px;
    height:41px;
    float:left;
}
.menu_small a.eva_direct_aktiv{
    background-image:url(images/sub_direct_hover.png);
    width:45px;
    height:41px;
    float:left;
}

.menu_small a.eva_direct:hover{
    background-image:url(images/sub_direct_hover.png);
}

.menu_small a.eva_after_sale{
    background-image:url(images/sub_after_sale.png);
    width:45px;
    height:41px;
    float:left;
}
.menu_small a.eva_after_sale_aktiv{
    background-image:url(images/sub_after_sale_hover.png);
    width:45px;
    height:41px;
    float:left;
}

.menu_small a.eva_after_sale:hover{
    background-image:url(images/sub_after_sale_hover.png);
}

.menu_small a.eva_cms{
    background-image:url(images/sub_cms.png);
    width:45px;
    height:41px;
    float:left;
}
.menu_small a.eva_cms_aktiv{
    background-image:url(images/sub_cms_hover.png);
    width:45px;
    height:41px;
    float:left;
}

.menu_small a.eva_cms:hover{
    background-image:url(images/sub_cms_hover.png);
}

.menu_small a.eva_cars{
    background-color:#ff600f;
    color:#ffffff;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    padding: 5px 10px;
    margin:7px 0 0 5px;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    2px 2px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         2px 2px 5px 0px rgba(50, 50, 50, 0.75);
    float:left;
}


.sub_menu ul{
    text-indent:5px;
    color:#3a3a3a;
    line-height:40px;
    font-size:12px;
    padding:0px;
    text-align: center;
    /*float:left;
    margin:0px; alt */
    margin-bottom: 0.8rem; /* NEU */
}

.sub_menu ul li{
    font-size:14px;
    cursor:default;
    position:relative;
    list-style-type:none;
    padding: 0 0.5rem;
}

.sub_menu ul ul{
    margin:0 0 0 -1rem;
    display:none;
    padding-top: 10px;
}

.sub_menu ul li:hover > ul{
    position:absolute;
    display:block;
    z-index: 1;
}

@media (max-width: 575.98px) {
    .sub_menu ul li:hover > ul {
        position: fixed;
        display: flex;
        z-index: 9999;
        top: 0;
        justify-content: center !important;
        width: 100%;
        background: #1a1a1a;
        gap: 10px;
        left: 0;
        align-items: center !important;
        margin: 0;
        flex-wrap: wrap;
        padding-bottom: 10px;
        min-height: 150px;
        border-radius: 0.25rem;
    }
    .sub_menu li > a{
        border: solid 1px #2c2c2c;
        border-radius: 0.25rem;
        width: auto!important;
        font-size: 0.8rem;
    }
}

@media (max-width: 326px) {
    .sub_menu ul li:hover > ul {
        min-height: 190px;
    }
}

.sub_menu ul > li > span{
    display:block;
    /*background-image:url(images/button_submenu.png);*/
    width:138px;
    height:30px;
    margin:0 0 0 0;
    color: #ff600f;
}

.sub_menu li > a{
    overflow:visible;
    color:#fff;
    text-decoration:none;
    width:270px;
    background-color:#1a1a1a;
    display:block;
    line-height:normal;
    text-align: left;
    padding:5px;
    border-bottom:solid 1px #2c2c2c;
    transition: all .15s ease-in-out;
}

.sub_menu li > a:hover{
    color:#FFFFFF;
    background-color:#ff600f;
}
li .submenu_headline{
    background-color:#FFFFFF;
    line-height:22px;
    padding-left:5px;
    width:225px;
    height:22px;
    border-bottom:1px solid #9d9d9d;
}

.flex-menu {
    display: flex;
    width: 100%;
    background-color: #f1f1f1;
    gap: 1rem;
}

.flex-menu .menu-item {
    flex: 1;
    text-align: center;
    transition: background-color 0.3s;
    -webkit-border-top-left-radius: 0.2rem;
    -webkit-border-top-right-radius: 0.2rem;
    -moz-border-radius-topleft: 0.2rem;
    -moz-border-radius-topright: 0.2rem;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    background-color: #fff;
    color: #ff600f;
    border: 1px solid #f1f1f1;
    border-top: 0.2rem solid #696969;
    -webkit-box-shadow: inset 0px -10px 15px -9px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0px -10px 15px -9px rgba(0, 0, 0, 0.05);
}

.flex-menu .menu-item:hover {
    background-color: #ff600f;
    border-top: 0.2rem solid #ff600f;
    color:#fff;
}

.flex-menu .menu-item a{
    color:#555;
}

.flex-menu .menu-item:hover a{
    color:#fff;
}

.flex-menu .kundenmenu_reiter_aktiv {
    background-color: #ff600f;
    color: #fff;
    border: 1px solid #f1f1f1;
    border-bottom: 1px solid #fff;
    border-top: 3px solid #ff600f;
    -webkit-box-shadow:
            0px -10px 15px -9px rgba(0,0,0,0.22),
            inset 0px -10px 15px -9px rgba(0,0,0,0.05);
    box-shadow:
            0px -10px 15px -9px rgba(0,0,0,0.22),
            inset 0px -10px 15px -9px rgba(0,0,0,0.05);
}

.flex-menu .kundenmenu_reiter_aktiv a{
    color: #fff;
}

.flex-menu .Menutext {
    display: block;
    padding: 0.5rem;
    text-decoration: none;
    color: #555;
}

@media (max-width: 992px) {
    .menu_small a{
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0.5rem;
        border-radius: 0.25rem;
    }
    .menu_small a.no-hover, .menu_small a.no-hover:hover, .menu_small a.no-hover:hover .eva_sub_txt {
        border: none;
    }
    .menu_small.icons{
        margin-bottom: 0.5rem;
    }
    .menu_small.icons a {
        padding: 0.5rem;
        margin: 0.5rem;
        height: 2.3rem;
    }
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
    font-weight: bold;
    font-size: 14px;
    line-height: 25px;
}

.dropdown-title {
    flex-grow: 1;
}

.dropdown-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    padding: 0;
}

.dropdown-close:hover {
    color: #000;
}

.user-thumbnail {
    position: relative;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.user-thumbnail:hover {
    cursor: pointer;
    transform: scale(1.15);

}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}

.notif-entry {
    display: flex!important;
    align-items: flex-start;
    padding: 10px;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #f0f0f0;
}

.notif-entry:hover {
    background: #e9e9e9;
    border-bottom: 1px solid #f0f0f0;
}

.notif-avatar {
    width: 48px;
    height: 48px;
    margin-top: 7px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.notif-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 25px;
    text-align: left;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 2px;
}

.notif-icon-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-time {
    font-size: 11px;
    white-space: nowrap;
}

.notif-preview {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25rem;
}

.notif-vin  {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 0.75rem;
}
.notif-unread {
    color: #000;
    font-weight: 600;
}

.notif-read {
    color: #777;
    opacity: 0.7;
    font-weight: 400;
}
.notif-unread .notif-header {
    color: #222;
}

.notif-read .notif-header {
    color: #555
}

/* SUBMENÜ */

.menu-item.has-submenu {
    position: relative;
}

.menu-item.has-submenu .submenu {
    position: absolute;
    top: calc(100% + 0px);
    left: 47%;
    min-width: 220px;
    background: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px) scale(0.96);
    transform-origin: top center;
    transition:
            opacity 0.22s ease,
            transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0.22s ease;
}

.menu-item.has-submenu .submenu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg) scale(0.8);
    opacity: 0;
    box-shadow: -2px -2px 6px rgba(0, 0, 0, 0.04);
    transition:
            opacity 0.22s ease,
            transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-item.has-submenu .submenu a {
    display: block;
    padding: 10px 16px;
    color: #222;
    text-decoration: none;
    white-space: nowrap;
    transition:
            background 0.2s ease,
            color 0.2s ease,
            padding-left 0.2s ease;
    font-size: 14px;
}

.menu-item.has-submenu .submenu a:hover {
    background: #ff600f;
    color: #fff;
}

.menu-item.has-submenu:hover .submenu,
.menu-item.has-submenu.open .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.menu-item.has-submenu:hover .submenu::before,
.menu-item.has-submenu.open .submenu::before {
    opacity: 1;
    transform: translateX(-50%) rotate(45deg) scale(1);
}

