@font-face {
  font-family: 'Nunito Sans';
  src: url('fonts/NunitoSans-Regular.ttf');
}

.main-menu {
    display: block;
    height: 65px;
    font-family: 'Nunito Sans';
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-transform: uppercase;
}

.main-menu__logo {
    float: left;
    width: 220px;
    overflow: hidden;
    line-height: 65px;
    background-color: #ffffff;
    height: 100%;
    text-align: center;
}
.main-menu__logo__company {
    padding: 10px 10px 0px 10px;
    height: 100%;
    width: 100%;
    background-image: var(--logo-url, url('/blocks/main-menu/logo.png'));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Override for admin org logo with explicit dimensions */
.admin-org-logo.main-menu__logo__company {
    position: relative;
    height: 45px !important;
    width: 200px !important;
    margin: 10px 10px;
    padding: 0 !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.main-menu__layout {
    margin:0px;
    padding: 0px;

    float: left;
    overflow: hidden;
    background-color: var(--main-menu-bg-color, #212529);
    width: -webkit-calc(100% - 220px);
    width:    -moz-calc(100% - 220px);
    width: calc(100% - 220px);
}

.main-menu__layout-unit {
    display: block;
    float: left;
    max-width: 175px;
    overflow: visible;
    height: 65px;
    /* max-width: 200px; */
}

.main-menu__layout-unit p{
   margin-top: 4px !important;
   margin-bottom: 0px !important;
}

.main-menu__item {
    display: block;
    height: 100%;
    padding-top: 8px;
    padding-bottom: 5px;
    text-align: center;
    background-color: var(--main-menu-bg-color, #212529);
    color: #ffffff;
    text-decoration: None;
    cursor: pointer;
}

.main-menu__item:hover {
    /* background-color: #2d3237; */
    text-decoration: none;
    color: #fff;
}

.main-menu__item-emblem {
    height: 24px;
}

.main-menu__layout-unit__first{
    padding-left: 0px;
}

.main-menu__item_state_current {
    background-color: #2d3237;
    /* color: #ffcc00; */
    padding-left: 10px!important;
    padding-right: 10px!important;
}

.main-menu__logo__current-company {
    display: inline-block;
    text-align: center;
    width: 100%;
    height: 65px;
    background-color: #ffffff;
    line-height: 65px;
    vertical-align: middle;
    color: #3e454c !important;
    padding: 0 5px;
    font-size: 14px;
    font-weight: bold;
}

/* Override for admin with inline styles */
.main-menu__logo__current-company[style*="position: absolute"] {
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
}

.main-menu__language {
    /* width: 2% !important; */
    padding: 0;
    background-color: var(--main-menu-bg-color, #212529);
    text-align: center;
    vertical-align: bottom;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;  /* Hide scrollbar IE/Edge */
    scrollbar-width: none;  /* Hide scrollbar Firefox */
}

.main-menu__language::-webkit-scrollbar {
    display: none;  /* Hide scrollbar Chrome/Safari */
}

.language__flag, .language__flag-devider {
    overflow: hidden;
    display: inline-block;
    margin: 0 auto;
    margin-top: 37px;
    line-height: 20px;
    z-index: 999;
    color: #ffffff;
    text-decoration: none;
}

.language__flag-en {
 }

 {
    color: var(--button-primary-bg, #0d6efd);
    text-decoration: none;
}

.language__flag-de {
}

.language__flag-de:hover, .language__flag-en:hover, .language__flag-sp:hover {
    color: var(--menu-item-hover-color, #ffffff);
    text-decoration: none;
    cursor: pointer;
}

.language__flag-de__active, .language__flag-en__active, .language__flag-sp__active {
    color: var(--menu-item-active-color, #ffffff);
    text-decoration: none;
    cursor: pointer;
}

.language__flag-devider{
    cursor: auto;
    line-height: 23px;
}



.main-menu__tooltip {
	/*border-bottom: 1px dotted #0077AA;*/
	opacity: 1; 
    z-index:9999;
    padding-left: 2px;
    padding-right: 2px;
}

.main-menu__item__question-span{
    color: white;
}

.main-menu__item__question-text{
    position: relative;
    top: -10px;
}

#main-menu__item-help::after{
    margin-top: -10px;
    margin-left: 20px;
}

.main-menu__tooltip::after {
	background: #6999CF;
	border-radius: 8px 8px 8px 8px;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
	color: #FFF;
	content: attr(data-tooltip); 
	margin-left: -50px;
	opacity: 0.8; 
	padding: 3px 7px;
	position: absolute;
	visibility: hidden; 
	transition: all 0.3s ease-in-out; 
	transition-delay: 0.5s;
	z-index:9999;
}
		
.main-menu__tooltip:hover::after {
	opacity: 1; 
	visibility: visible;
	z-index:9999;
}

.main-menu__sub-menu {
    position: absolute;
    top: 65px;
    z-index: 999;
    background-color: var(--main-menu-bg-color, #212529);
    color: #ffffff;
    list-style: none;
    padding: 0 5px;
    margin: 0;
    display: none;
}

.main-menu__sub-menu li {
    line-height: 30px;
    cursor: pointer;
}

.modal-dialog__help {
    min-width: 500px;
    max-width: 90vw;
    width: auto;
    margin: 25px auto;
}

.modal__help-close {
    height: 2vw;
    margin-bottom: 0.4vw;
}

.modal__help-close button {
    width: 2vw;
    height: 2vw;
    background: url(help_modal_close.png) no-repeat center center var(--button-primary-bg, #0d6efd);
    background-size: 1.1vw;
    border: none;
    float: right;
    padding: 0;
}

.modal__help-close p {
    float: right;
    color: var(--button-primary-bg, #0d6efd);
    font-size: 1vw;
    padding: 0;
    margin: 0 0.8vw 0 0;
    text-transform: uppercase;
    line-height: 2vw;
}

.modal__help-navigation {
    background-color: var(--button-primary-bg, #0d6efd);
    margin-bottom: 0.5vw;
}

.help-navi-button {
    border: none;
    color: var(--button-primary-color, #ffffff);
    font-size: 1vw;
    text-transform: uppercase;
    padding: 0;
    line-height: 2.5vw;
}

#helpPrev {
    padding-left: 2.8vw;
    background: url(help_modal_prev.png) no-repeat 1vw 0.5vw;
    background-size: 1.2vw;
}

#helpNext {
    float: right;
    padding-right: 2.8vw;
    background: url(help_modal_next.png) no-repeat 10vw 0.5vw;
    background-size: 1.2vw;
    width: 12.1vw;
    text-align: right;
}

.modal__help-page {
    background-color: var(--help-modal-page-bg, #e9e9e9);
    min-height: 200px;
    position: relative;
}

.modal__help-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: none;
}

.modal__help-loading.active {
    display: block;
}

.modal__help-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--button-primary-bg, #0d6efd);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal__help-title {
    background-color: var(--button-primary-bg, #0d6efd);
    margin: 0;
    font-size: 2vw;
    color: var(--button-primary-color, #ffffff);
    line-height: 4vw;
    padding-left: 2vw;
}

.modal__help-main {
    width: 100%;
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-sizing: border-box;
}

.modal__help-gif {
    flex: 1 1 55%;
    max-height: 60vh;
    min-width: 300px;
}

.modal__help-gif img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
}

.modal__help-text {
    flex: 1 1 45%;
    overflow-y: auto;
    max-height: 60vh;
    min-width: 250px;
    padding: 0 10px;
    font-size: 14px;
    color: var(--help-modal-text-color, #2d3237);
    box-sizing: border-box;
}

.modal__help-bottom {
    background-color: var(--button-primary-bg, #0d6efd);
    height: 1.5vw;
    padding-left: 1vw;
}

.modal__help-bottom label {
    color: var(--button-primary-color, #ffffff);
    font-weight: 500;
    font-size: 0.9vw;
}

.app-version {
    position: absolute; 
    left: 5px; 
    top:4px ; 
    font-size: 8px; 
    color: grey; 
    display: block; 
    text-transform:none;
}

.menu-toggle{
    display: none;
}
