body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2vw;
    height: 100vh;
    width: 100%;
    color: rgb(195, 195, 195);
    overflow: hidden;
}

html {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.hspacer_05 {
    width: 0.5vw;
}

.hspacer_1 {
    width: 1vw;
}

.hspacer_2 {
    width: 2vw;
}

.vspacer_10 {
    height: 10%;
}

#bgVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    aspect-ratio: 1920/1080;
    z-index: -10;
}

.diffusor {
    position: absolute;
    top:0;
    left:0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: -5;
}

#startanimation {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#app_loggedout {
    display: none;
}

#app_loggedin {
    display: none;
}

.app_controller {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.app_controller::-webkit-scrollbar {
  display: none;
}

.app_head {
    height: 5vh;
    width: 100%;
    background-color: rgba(53, 53, 53, 0.2);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 0.3vw;
    padding-right: 1vw;
    font-size: 1.1vw;
}

.app_head_left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 0.3vw;
}

.head_separator {
    width: 1px;
    height: 2.5vh;
    background-color: rgba(150, 150, 150, 0.5);
    margin: 0 0.5vw;
}

#app_menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.3vw;
}

.app_head_middle {
    display: flex;
    justify-content:left;
    align-items: center;
    flex-direction: row;
    
    color: gray;
    font-size: 1.2vw;
}

.menuitem {
    border: solid 1px;
    border-color: transparent;
    border-radius: 2vw;
    padding: 0.3vw 0.6vw 0.3vw 0.6vw;
    cursor: pointer;
}

.menuitem_active {
    color: white;
}

.counting_bubble {
    background-color: #e74c3c;
    color: white;
    font-size: 0.8vw;
    border-radius: 100%;
    min-width: 1.2vw;
    height: 1.2vw;
    line-height: 1.2vw;
    text-align: center;
    display: inline-block;
    position: relative;
    top: 0.2vw;
}

@media (hover: hover) {
    .menuitem:hover {
        border-color: white;
    }
}

.head_search_input {
    background-color: transparent;
    outline: none;  
    border: none;
    border-bottom: solid 1px;
    border-bottom-color: rgb(195, 195, 195);
    width: 32vw;
    color: white;
    font-size: 1.2vw;
}


.head_left_menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

}

.app_head_right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
    border-bottom: solid 2px;
    border-bottom-color: transparent;
}

.head_icon {
    height: 3.5vh;
    width: 3.5vh;
    margin: 0.5vh;
    border-radius: 50%;
    border-color: transparent;
    padding: 0.5vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media (hover: hover) {
    .head_icon:hover {
        border-color: gray;
        background-color: rgba(200, 200, 200, 0.2);
        cursor: pointer;
    }
}

.head_statusmsg_wrapper {
    position: relative;
    display: none;
    align-items: center;
    margin-left: 0.5vw;
}

.head_statusmsg_icon {
    height: 2vh;
    width: 2vh;
    cursor: pointer;
}

.head_statusmsg_tooltip {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0.5vh;
    background-color: rgba(30, 30, 30, 0.95);
    color: white;
    font-size: 1.2vh;
    padding: calc(0.8vh + 10px) calc(1vw + 10px);
    border-radius: 0.5vh;
    white-space: pre-wrap;
    min-width: 20vw;
    max-width: 35vw;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.head_statusmsg_wrapper:hover .head_statusmsg_tooltip {
    display: block;
}

.tlnmenu {
    display: none;
    position: absolute;
    top: 5vh;
    left: 0;
    background-color: rgba(42, 42, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5vw;
    padding: 1vh 1vw;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8vh;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.statusmsg_input {
    background-color: rgb(49, 49, 49);
    border: solid 2px transparent;
    border-radius: 1vh;
    padding: 0.8vh 1vh;
    color: white;
    font-size: 1.1vw;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    width: 18vw;
    resize: none;
}

.statusmsg_input:focus {
    background-color: rgb(35, 35, 35);
}

.statusmsg_input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.statusmsg_bottom_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5vh;
}

.statusmsg_validity_bubble {
    background-color: #2196F3;
    color: white;
    font-size: 0.6vw;
    padding: 0.3vh 0.6vw;
    border-radius: 1vh;
    cursor: pointer;
}

.validity_calendar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgb(42, 42, 42);
    border-radius: 0.5vw;
    padding: 1vh;
    z-index: 30;
    min-width: 16vw;
}

.validity_calendar_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5vh;
}

.validity_calendar_nav {
    background-color: rgb(49, 49, 49);
    border: solid 2px transparent;
    border-radius: 0.5vh;
    color: white;
    padding: 0.3vh 0.6vw;
    cursor: pointer;
    font-size: 0.8vw;
}

.validity_calendar_nav:hover {
    border-color: white;
    background-color: rgb(60, 60, 60);
}

.validity_calendar_month {
    flex: 1;
    text-align: center;
    font-size: 1vh;
    color: white;
    font-weight: bold;
}

.validity_calendar_grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
}

.validity_calendar_day {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7vw;
    color: white;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0.3vh;
    background-color: rgb(49, 49, 49);
}

.validity_calendar_day:hover:not(.validity_calendar_day_disabled):not(.validity_calendar_day_header) {
    border-color: white;
    background-color: rgb(60, 60, 60);
}

.validity_calendar_day_disabled {
    color: rgb(60, 60, 60);
    cursor: not-allowed;
    background-color: rgb(30, 30, 30);
    opacity: 0.5;
}

.validity_calendar_day_selected {
    border-color: green !important;
    background-color: rgba(0, 136, 0, 0.4) !important;
}

.validity_calendar_day_header {
    font-weight: bold;
    color: gray;
    cursor: default;
    background-color: transparent;
}

.validity_calendar_day_empty {
    background-color: transparent;
    cursor: default;
}

.validity_calendar_day_empty:hover {
    border-color: transparent;
    background-color: transparent;
}

.validity_calendar_footer {
    margin-top: 0.5vh;
    display: flex;
    justify-content: center;
}

.tlnmenu_separator {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 1vh;
}

.tlnmenu_section_header {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65vw;
    text-transform: uppercase;
    letter-spacing: 0.05vw;
    margin-top: 1vh;
    margin-bottom: 0.5vh;
}

.tlnmenu_quickswitch {
    display: flex;
    flex-direction: column;
    gap: 0.5vh;
}

.tlnmenu_quickswitch_item {
    display: flex;
    align-items: center;
    gap: 0.8vw;
    padding: 0.4vh 0.5vw;
    border-radius: 0.5vh;
    cursor: pointer;
}

.tlnmenu_quickswitch_item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tlnmenu_quickswitch_pic {
    height: 2.5vh;
    width: 2.5vh;
    border-radius: 50%;
    border: 1px solid white;
    object-fit: cover;
}

.tlnmenu_quickswitch_nr {
    color: gray;
    font-size: 0.7vw;
    min-width: 2vw;
}

.tlnmenu_quickswitch_name {
    color: white;
    font-size: 0.8vw;
    flex: 1;
}

.tlnmenu_quickswitch_menu {
    position: relative;
    width: 1.75vw;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
    opacity: 0.5;
}

.tlnmenu_quickswitch_menu:hover {
    opacity: 1;
}

.tlnmenu_quickswitch_menu img {
    height: 2vh;
    width: 2vh;
}

.quickswitch_dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(42, 42, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5vw;
    width: 15vw;
    display: flex;
    flex-direction: column;
    z-index: 100;
    font-size: 0.7vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.quickswitch_dropdown_item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 4vh;
    width: 15vw;
    padding-left: 1vw;
    color: white;
    cursor: pointer;
}

@media (hover: hover) {
    .quickswitch_dropdown_item:hover {
        background-color: rgb(62, 62, 62);
    }
}

.tlnmenu_quickswitch_add {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.75vw;
    height: 1.75vw;
    border: 1px solid;
    border-radius: 100%;
    margin-top: 0.5vh;
    margin-left: auto;
    cursor: pointer;
}

@media (hover: hover) {
    .tlnmenu_quickswitch_add:hover {
        background-color: rgba(200, 200, 200, 0.2);
    }
}

.statusmsg_btn_row {
    display: flex;
    justify-content: flex-end;
    gap: 0.5vw;
}

.button-50 {
    font-size: 0.6vw;
    padding: 0.4vh 0.8vw;
    min-width: 4vw;
    border: solid 1px white;
    border-radius: 1vh;
}

.user_icon {
    height: 3vh;
    width: 3vh;
    border-radius: 4vh;
    border: 0.2vh solid;
    border-color: gray;
    padding: 0.2vh;
    cursor: pointer;
}

#head_left_name {
    cursor: pointer;
}

.user_icon_green {
    border-color: green;
}

.user_icon_red {
    border-color: red;
}

.user_icon_ring {
    animation: user_icon_flash_ani 1s infinite;
}

@keyframes user_icon_flash_ani {
    from,
    49.9% {
          border-color: red;
    }
    50%,
    to {
          border-color: transparent;
    }
}


.app_footer {
    height: 5vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 0.3vw;
    padding-right: 0.3vw;
}

.app_footer_left {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.app_footer_separator {
    width: 1vw;
    background-color: white;
    height: 98%;
    margin-top: 1%;
    margin-bottom: 1%;
}

.app_footer_item {
    height: 3vh;
    width: 5vw;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border-radius: 1vw;
}

.app_state_icon {
    height: 1.25vw;
    width: 1.25vw;
} 

.footer_cloud {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 3.5vw;
    height: 1.75vw;
    border: solid 1px;
    border-radius: 1.75vw;
    font-size: 0.7vw;
    padding: 0.3vw;
}

#f_cloud_ok {
    display: none;
}

.footer_cloud_wrapper {
    position: relative;
}

.footer_cloud_connected {
    background-color: green;
    border-color: green;
    display: none;
}

.footer_cloud_problem {
    background-color: red;
    border-color: red;
}

.status_dropdown {
    display: none;
    position: absolute;
    background-color: rgba(42, 42, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 18vw;
    bottom: 3.5vh;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    border-radius: 0.5vw;
    padding: 0.5vh 0;
    z-index: 20;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.status_dropitem {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1vw;
    padding: 1vh 1vw;
    color: white;
    font-size: 1vw;
}

.status_icon {
    width: 1.5vw;
    height: 1.5vw;
}

.footer_badge {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-width: 3.5vw;
    height: 1.75vw;
    border: solid 1px;
    border-radius: 1.75vw;
    font-size: 0.7vw;
    padding: 0.3vw;
}

@media (hover: hover) {
    .footer_badge:hover {
        background-color: rgba(200, 200, 200, 0.2);
        cursor: pointer;
    }
}

.footer_badge_uml {
    min-width: 7vw;
} 

.footer_badge_txt {
    display: flex;
    justify-content:flex-start;
    align-items: center;
}

.footer_badge_cmd {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.25vw;
    height: 100%;
    /* border: solid 1px;
    border-radius: 100%; */
}

.footer_badge_icon {
    height: 1.25vw;
    width: 1.25vw;
}

.footer_badge_red {
    border-color: red;
    background-color: rgba(255,0,0,0.3);
    color: red;
}

.footer_badge_green {
    border-color: green;
    background-color: rgba(0,255,0,0.3);
    color: green;
}

.footer_badge_orange {
    border-color: orange;
    background-color: rgba(255,165,0,0.3);
    color: orange;
}

.footer_spacer_1 {
    width: 0.5vw;
    flex-shrink: 0;
}

.footer_badge_add {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.75vw;
    height: 1.75vw;
    border: 1px solid;
    border-radius: 100%;
}

@media (hover: hover) {
    .footer_badge_add:hover {
        background-color: rgba(200, 200, 200, 0.2);
        cursor: pointer;
    }
}

.antilo_logo {
    font-weight: 500;
    margin-left: 0.5vw;
}

.antilo_clamp {
    color: red;
}

.dlg_login_0 {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.dlg_login_left {
    width: 49%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.dlg_login_mid {
    width: 2px;
    height: 100%;
    background-color: rgb(100, 100, 100);
}

.dlg_login_right {
    width: 49%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.dlg_login_qr {
    height: 100%;
}

.dlg_login_inputfield {
    height: 20%;
    align-items: center;
    display: flex;
    margin: 1vh 0vh 1vh 0vh;

}

.dlg_txt {
    text-align: center;
    font-size: 1.5vw;
}

#dlg_anltxt {
    height: 25%;
}

#dlg_footertxt {
    height: 25%;
}

.dlg_headline {
    text-align: center;
    font-size: 1.7vw;
    height: 15%;
}

.dlg_login_col {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.dlg_login_col_head {
    height: 15%;
}

.dlg_login_col_cont {
    height: 85%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
}

.glink {
    text-decoration: none;
    color: rgb(200, 200, 200);
    padding: 0.5vw;
    border: 1px solid;
    border-color: rgba(0,0,0,0);
    border-radius: 1vw;
}

@media (hover: hover) {
    .glink:hover {
        border: 1px solid;
        border-color: rgba(200, 200, 200);
        color: rgb(200, 200, 200);
    }
}

.app_content {
    height: 90vh;
    flex: 1;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.app_content::-webkit-scrollbar {
  display: none;
}

.app_wide_content {
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.display_phone {
    width: 30vw;
    height: 90vh;
    transition: width 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

#display_buddylist {
    width: 15vw;
    height: 90vh;
    opacity: 100%;
    background-color: transparent;
    overflow: visible;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

#display_buddylist.sliding-out {
    transform: translateX(-100%);
    opacity: 0;
}

#display_buddylist.sliding-in {
    transform: translateX(-100%);
    opacity: 0;
}

.head_dropdown {
    display: none;
    position: absolute;
    background-color: rgba(42, 42, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5vw;
    width: 20vw;
    top: 5vh;
    right: 0;
    flex-direction: column;
    align-items: center;
    justify-content: left;
    opacity: 100%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.head_dd_separator {
    border-bottom: solid 2px;
}

.head_dropitem {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 5vh;
    width: 20vw;
    z-index: 5;
}

@media (hover: hover) {
    .head_dropitem:hover {
        background-color: rgb(62, 62, 62);
    }
}

.dropdown_icon {
    height: 2vh;
    margin-left: 1vw;
    margin-right: 1vw;
}


.ctx_dropdown {
    display: none;
    position: fixed;
    background-color: rgba(42, 42, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5vw;
    width: 15vw;
    flex-direction: column;
    align-items: center;
    justify-content: left;
    opacity: 100%;
    cursor: pointer;
    z-index: 20;
    font-size: 0.7vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ctx_dd_separator {
    border-bottom: solid 2px;
}

.ctx_dropitem {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 4vh;
    width: 15vw;
    z-index: 5;
}

@media (hover: hover) {
    .ctx_dropitem:hover {
        background-color: rgb(62, 62, 62);
    }
}

.dropdown_icon {
    height: 2vh;
    margin-left: 1vw;
    margin-right: 1vw;
}

.app_footer_right {
    position: relative;
}

.footer_dropdown {
    display: none;
    position: absolute;
    background-color: rgba(42, 42, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5vw;
    width: 15vw;
    bottom: 5vh;
    right: 0;
    flex-direction: column;
    align-items: center;
    justify-content: left;
    opacity: 100%;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.footer_dropitem {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 5vh;
    width: 15vw;
    z-index: 5;
}

.footer_extrabuttons_wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 2.5vw;
    flex: 1;
    min-width: 0;
    position: relative;
}

.footer_extrabuttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 2.5vw;
    z-index: 5;
    overflow: hidden;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
}

.footer_scroll_btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 1.75vw;
    height: 1.75vw;
    border: 1px solid;
    border-radius: 100%;
    flex-shrink: 0;
}

@media (hover: hover) {
    .footer_scroll_btn:hover {
        background-color: rgba(200, 200, 200, 0.2);
        cursor: pointer;
    }
}

.footer_scroll_icon {
    width: 1vw;
    height: 1vw;
}

.footer_scroll_left_icon {
    transform: rotate(-90deg);
}

.footer_scroll_right_icon {
    transform: rotate(90deg);
}



@media (hover: hover) {
    .footer_dropitem:hover {
        background-color: rgb(62, 62, 62);
    }
}

/* Portrait-Hinweis für Tablets */
.rotate_hint {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3vh;
}

.rotate_icon {
    width: 20vw;
    height: 20vw;
    animation: rotate_animation 2s ease-in-out infinite;
}

.rotate_text {
    font-size: 4vw;
    text-align: center;
    color: white;
    padding: 0 5vw;
}

@keyframes rotate_animation {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-90deg);
    }
}

@media screen and (orientation: portrait) {
    .rotate_hint {
        display: flex;
    }
}
