/*
 *	General styles
 */
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

:root {
    --wht-ui-bg: #181818;
    --wht-ui-surface: #222222;
    --wht-ui-surface-elevated: #2a2a2a;
    --wht-ui-line: #ddcfc0;
    --wht-ui-text: #eeeeee;
    --wht-ui-text-muted: #b8aea3;
    --wht-ui-primary: #6f8fa8;
    --wht-ui-primary-strong: #516fa3;
    --wht-ui-warning: #cf2a0e;
}

body{
    margin: 0px;
    font-family: 'Open Sans', sans-serif;
    
    -webkit-text-size-adjust:none;
    -webkit-background-size:0.438em 100%;
    -webkit-touch-callout:none;

}

.container_full{
    width: 100%;
    height: auto;
    float: left;
    
}
.container_90{
    width: 90%;
    height: auto;
    margin-left: 5%;
    float: left; 
}
.container{
    width: 98%;
    height: auto;
    margin-left: 1%;
    float: left;
}

.container_center{
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.container_page_top{
    width: 98%;
    height: 80px;
    float: left;
    padding: 1%;
    border-bottom: 1px #eee solid;
    margin-bottom: 5px;
}

.element_container{
    height: auto;
    min-height: 40px;
    line-height: 30px;
    padding: 5px;
}
/* Fonts and headers */

h1{
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.6em;
    font-weight: lighter;
    color: var(--wht-ui-line);
    margin-block-start: 0.2em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h2{
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    color: var(--wht-ui-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h3{
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: var(--wht-ui-text-muted);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body a, h2 a{
    text-decoration: none;
    color: #6c95cf;
}
.text_center{
    text-align: center!important;
}

/* General elements */
.element_left{
    float: left!important;
}

.element_right{
    float: right!important;
}
.element_table{
    display: table!important;
}
.element_inline_grid{
    display:inline-grid!important;
}
.element_auto_margin{
    margin-left: auto!important;
    margin-right: auto!important;
}
.element_rotate{
    animation: rotation 2s infinite linear;
}

.element_hide{
    display: none!important;
}
.element_raduis_5{
    border-radius: 5px!important;
}
.element_top_10{
    margin-top: 10px;
}
.element_top_20{
    margin-top: 20px;
}
.element_top_30{
    margin-top: 30px;
}
.element_top_40{
    margin-top: 40px;
}
.element_top_50{
    margin-top: 50px;
}
.element_bottom_10{
    margin-bottom: 10px;
}
.element_bottom_20{
    margin-bottom: 20px;
}
.element_bottom_30{
    margin-bottom: 30px;
}
.element_bottom_40{
    margin-bottom: 40px;
}
.element_bottom_50{
    margin-bottom: 50px;
}
.element_width_10{
    width: 9%!important;
}
.element_width_20{
    width: 19%!important;
}
.element_width_30{
    width: 29%!important;
}
.element_width_40{
    width: 39%!important;
}
.element_width_50{
    width: 49%!important;
}
.element_width_60{
    width: 59%!important;
}
.element_width_70{
    width: 69%!important;
}
.element_width_80{
    width: 79%!important;
}
.element_width_90{
    width: 89%!important;
}
.element_width_100{
    width: 100%!important;
}
.back_color_master{
    background-color: var(--wht-ui-primary-strong)!important;
}
.back_color_master_accent{
    background-color: var(--wht-ui-primary)!important;
}
.back_color_accent{
    background-color: var(--wht-ui-line)!important;
}
.back_color_warning{
    background-color: var(--wht-ui-warning)!important;
}
.back_color_light_gray{
    background-color: #eee!important;
}
.back_color_dark_gray{
    background-color: #444!important;
}
.color_master{
    color: var(--wht-ui-primary-strong)!important;
}
.color_master_accent{
    color: var(--wht-ui-primary)!important;
}
.color_accent{
    color: var(--wht-ui-line)!important;
}
.color_warning{
    color: var(--wht-ui-warning)!important;
}
.color_light_gray{
    color: #eee!important;
}
.color_dark_gray{
    color: #444!important;
}


/* Buttons */

.button_small{
    width: auto;
    height: 40px;
    line-height: 40px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 5px;
    margin-right: 5px;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 75px;
    background-color: #6c95cf;
    border-radius: 3px;
    color: var(--wht-ui-text);
    border: none;
    cursor: pointer;
}
.button_small:hover{
    background-color: #3caea3;
}

/* Default elements */
input{
    width: 100%;
    line-height: 30px;
    background-color: transparent;
    font-size: 1.0em;
    border: none;
}

img{
    width: 100%;
    height: auto;
}

button{
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
}

select{
    height: 38px;
    width: 100%;
    line-height: 30px;
    border: 1px solid var(--wht-ui-line);
    font-size: 1em;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 0 !important;
    color: var(--wht-ui-text);
    background-color: var(--wht-ui-surface-elevated);
    cursor: pointer;
}

input[type="checkbox"] {
    width: 27px;
    height: 27px;
    background: none;
    -webkit-appearance: none;
    border: 2px var(--wht-ui-line) solid;
    float: right;
    margin: 8px 4px 0 0;
    border-radius: 3px;
}

input[type="checkbox"]:checked {
    background-color: var(--wht-ui-primary);
}

input[type="password"], input[type="text"] {
    width: 100%;
    max-width: 300px;
    height: 38px;
    line-height: 40px;
    padding: 5px;
    border-radius: 5px;
    font-size: 1.0em;
    background-color: #ffffff;
    margin-left: 3px;
    margin-right: 3px;
    border: none;
    box-shadow: none;
    color: #111111;
}

textarea, select, input, button { outline: none; }
::placeholder {
    color: var(--wht-ui-text-muted);
}
/* Input overrides */
.input_inner_action_button{
    width: 30px;
    height: 30px;
    margin-right: 5px;
    cursor: pointer;
}

.input_60{
    width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* search block elements */
.search, .input{
    width: 100%;
    max-width: 300px;
    height: 28px;
    line-height: 40px;
    padding: 5px;
    border-radius: 0;
    border: none;
    font-size: 1.0em;
    background-color: #ffffff;
    margin-left: 3px;
    margin-right: 3px;
    border: none;
    color: #111111;
    box-shadow: none;
}

/* image elements */
.image_container_fill_x{
    width: 100%;
    height: auto;
}

/* Overlay elements */
.overlay{
    position: absolute;
    z-index: 10;
    background-color: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    display: table;
}

.overlay_center{
    display: table-cell;
    vertical-align: middle;
}

.overlay_loader{
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    text-align: center;
    background-color: var(--wht-ui-surface);
    padding:    5%;
    border-radius: 5px;
    border: 1px solid var(--wht-ui-line);
    color: var(--wht-ui-text);
}
.overlay_loader img{
    width: 80px;
    height: 80px;
}

.overlay_content{
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    height: auto;
    max-width: 600px;
    min-width: 300px;
    background-color: var(--wht-ui-surface);
    overflow-y: scroll;
    display: table;
    border-radius: 5px;
    border: 1px solid var(--wht-ui-surface-elevated);
    color: var(--wht-ui-text);
}

/* Index.php migrated inline styles */
#commentDiv {
    width: 100%;
    height: 100%;
    opacity: 0.9;
    background-color: #ffffff;
    z-index: 999;
    position: absolute;
    left: 0px;
    top: -5px;
    display: none;
}

.bigMessageHolder {
    display: none;
    z-index: 5000;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    padding: 2.5%;
    overflow: auto;
    cursor: pointer;
}

.bigMessageHolderContainer {
    width: 96%;
    overflow-x: auto;
    float: left;
    background-color: #fff;
}

.bigMessageHolderContainer img {
    float: left;
    position: relative;
    width: 100%;
}

.bigConfirmDiv {
    display: none;
    z-index: 5000;
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
    overflow: auto;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.bigConfirmDiv::after {
    content: "";
    background-color: transparent;
    opacity: 1;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    position: absolute;
    z-index: -1;
}

.overLayDiv {
    display: none;
    position: fixed;
    top: 40px;
    left: 0px;
    width: 100%;
    max-width: 400px;
    height: 300px;
    opacity: 0.9;
    color: #ffffff;
    text-align: center;
    z-index: 999;
}

.whtson_confirm_img {
    float: none;
    width: 52px;
    height: 52px;
    margin: 0 auto 8px;
    border-radius: 0;
    border: none;
    background-color: transparent;
    color: var(--wht-ui-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.whtson_confirm_img::before {
    content: "⚠";
}

.whtson_lock_glyph {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    position: relative;
    display: block;
}

.whtson_lock_glyph::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 8px;
    width: 22px;
    height: 17px;
    border: 3px solid var(--wht-ui-line);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    box-sizing: border-box;
}

.whtson_lock_glyph::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 22px;
    width: 28px;
    height: 22px;
    border: 3px solid var(--wht-ui-line);
    border-radius: 6px;
    box-sizing: border-box;
}

.page_container {
    width: 100%;
    height: auto;
    min-height: 100%;
    font-family: 'PT Sans', sans-serif;
}

.page_container::after {
    content: "";
    background-size: cover;
    background-position: center;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    opacity: 0.8;
    position: absolute;
    z-index: -1;
}

.page_element,
.page_element_black {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.start_menu {
    width: 80%;
    margin-top: 10%;
    margin-left: 10%;
    height: auto;
    background-color: var(--wht-ui-surface);
    float: left;
    border-radius: 10px;
}

.inputOneLine {
    width: 80%;
    line-height: 40px;
    color: var(--wht-ui-text);
    background-color: var(--wht-ui-surface-elevated);
    border-radius: 10px;
    float: left;
    margin-left: 10%;
    margin-bottom: 10px;
    border: 1px solid var(--wht-ui-line);
}

.inputCheckBox {
    width: 80%;
    line-height: 30px;
    color: var(--wht-ui-text);
    background-color: var(--wht-ui-surface-elevated);
    float: left;
    margin-top: 5px;
    margin-left: 10%;
    margin-bottom: 10px;
    padding: 3px;
}

.inputCheckBox input {
    width: 30px;
    height: 30px;
    float: right;
    margin: 0px;
    margin-right: 10px;
}

.inputCheckBoxName {
    float: right;
    width: 60%;
    color: var(--wht-ui-line);
    text-align: right;
    margin-right: 10px;
}

.inputOneLineShortLeft,
.inputOneLineShortRight {
    width: 40%;
    line-height: 40px;
    color: var(--wht-ui-text);
    background-color: var(--wht-ui-surface-elevated);
    border-radius: 10px;
    padding: 3px;
}

.inputOneLineShortLeft {
    float: left;
    margin-left: 5%;
}

.inputOneLineShortRight {
    float: right;
    margin-right: 5%;
}

.inputOneLine input,
.inputOneLineShortLeft input,
.inputOneLineShortRight input {
    width: 95%;
    line-height: 30px;
    border-radius: 10px;
    border: none;
    font-size: 18px;
    margin-left: 10px;
    color: var(--wht-ui-text);
}

.inputHeader,
.inputHeaderRed {
    width: 75%;
    line-height: 20px;
    font-weight: lighter;
    color: var(--wht-ui-line);
    float: left;
    margin-left: 10%;
    margin-bottom: 3px;
    margin-top: 5px;
    padding-left: 10px;
}

.inputHeaderRed {
    color: var(--wht-ui-warning);
}

.start_menu_image {
    width: 100%;
    height: 60px;
    float: left;
    text-align: center;
    margin-top: 30px;
}

.start_menu_image img {
    width: 150px;
    height: auto;
}

.button_blue_large {
    width: 80%;
    line-height: 33px;
    background-color: #6c95cf;
    color: var(--wht-ui-text);
    font-size: 16px;
    font-weight: lighter;
    margin-left: 10%;
    float: left;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 5px;
    border-radius: 7px;
    border: none;
}

.button_blue_large:hover {
    opacity: 1;
    background-color: #3caea3;
    cursor: pointer;
}

.inputLinks {
    width: 100%;
    line-height: 20px;
    text-align: center;
    float: left;
    color: #6c95cf;
    margin-bottom: 5px;
}

.inputLinks a {
    color: #6c95cf;
}
.inputLinks a:hover {
    color: #3caea3;
}

.input_description_text {
    width: 75%;
    height: auto;
    font-size: 14px;
    font-weight: lighter;
    color: var(--wht-ui-text-muted);
    float: left;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 10%;
    padding-left: 10px;
}

.reTextbox {
    float: left;
    width: 75%;
    margin-left: 10%;
    list-style: none;
    border: none !important;
    padding: 5px 9px;
    position: relative;
    overflow: hidden;
}

.reTextbox p {
    margin-top: 2px;
    color: var(--wht-ui-text);
    margin-bottom: 2px;
    text-align: left;
}

.reLogInHolder {
    display: none;
    z-index: 5000;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 16px;
    box-sizing: border-box;
    overflow: auto;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#re_log_in_holder .page_container {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#re_log_in_holder .page_element {
    max-width: 420px;
}

#re_log_in_holder .start_menu {
    width: 100%;
    margin: 0;
    float: none;
    border: 1px solid var(--wht-ui-surface-elevated);
    border-radius: 12px;
    background-color: var(--wht-ui-surface);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

#re_log_in_holder #re_log_in_div {
    padding: 12px 0 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#re_log_in_holder .reTextbox {
    width: calc(100% - 40px);
    margin: 0 20px 10px;
    float: none;
    padding: 6px 0;
}

#re_log_in_holder .reTextbox p {
    text-align: center;
}

#re_log_in_holder .whtson_confirm_img {
    margin-bottom: 10px;
}

#re_log_in_holder .inputHeader,
#re_log_in_holder .inputHeaderRed,
#re_log_in_holder .input_description_text,
#re_log_in_holder .inputOneLine,
#re_log_in_holder .button_blue_large,
#re_log_in_holder .inputLinks {
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    float: none;
    display: block;
    box-sizing: border-box;
}

#re_log_in_holder .inputHeader,
#re_log_in_holder .inputHeaderRed {
    padding-left: 0;
}

#re_log_in_holder .inputOneLine {
    background: transparent;
    border: none;
    margin-bottom: 12px;
}

#re_log_in_holder #reLoginForm input[type="text"],
#re_log_in_holder #reLoginForm input[type="password"] {
    max-width: none;
    width: 100%;
    height: 40px;
    margin-left: 0;
    padding: 0 12px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: none;
    box-shadow: none;
    border-radius: 5px;
    color: #111111;
}

#re_log_in_holder .button_blue_large {
    margin-top: 6px;
    margin-bottom: 10px;
}

#re_log_in_holder .inputLinks {
    margin-bottom: 4px;
}

.message_container {
    width: 100%;
    height: auto;
    float: left;
}

.message_container_header {
    line-height: 20px;
    width: 80%;
    margin-left: 10%;
    font-size: 16px;
    font-weight: bold;
    color: var(--wht-ui-line);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 5px;
    float: left;
}

.message_container_message {
    width: 90%;
    margin-left: 5%;
    color: var(--wht-ui-text-muted);
    margin-bottom: 20px;
    float: left;
}

.message_container_button {
    line-height: 30px;
    width: 80%;
    margin-left: 10%;
    color: var(--wht-ui-text);
    background-color: #6c95cf;
    border-radius: 5px;
    border: none;
    text-align: center;
    margin-bottom: 20px;
    float: left;
}
.message_container_button:hover {
    background-color: #3caea3;
}

.message_container_button_gray {
    line-height: 30px;
    width: 80%;
    margin-left: 10%;
    color: var(--wht-ui-text);
    background-color: #555;
    border-radius: 5px;
    border: none;
    text-align: center;
    margin-bottom: 20px;
    float: left;
}

.message_container_button:hover,
.message_container_button_gray:hover {
    cursor: pointer;
    opacity: 0.6;
}

#big_confirm_div #confirm_box {
    border: 1px solid var(--wht-ui-surface-elevated);
    max-width: calc(100% - 24px);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#big_confirm_div .textbox {
    border-top: 1px solid var(--wht-ui-surface-elevated);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#big_confirm_div #confirm_message {
    float: none;
    width: 100%;
    text-align: center;
}

.message_container_image {
    width: 100%;
    height: 40px;
    margin-bottom: 5px;
    text-align: center;
    float: left;
}

.message_container_image img {
    width: 40px;
    height: 40px;
    margin-top: 5px;
}

#dockContainer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--framework-dock-bottom, 10px);
    z-index: 1200;
    display: none;
    justify-content: center;
    pointer-events: none;
}

body.user-active:not(.framework-app-active) #dockContainer {
    display: flex;
}

#appListHolder {
    width: auto;
    max-width: calc(100% - 20px);
    pointer-events: auto;
}

.appList {
    width: auto;
    max-width: 100%;
    height: auto;
    background-color: rgba(22, 24, 28, 0.36);
    float: none;
    z-index: 100;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.appListObject {
    border-top: none;
    float: none;
    width: 60px;
    height: 70px;
    padding: 4px 4px 6px;
    text-align: center;
    background: transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 120ms ease, filter 120ms ease;
}

.appListObjectHiddenHome {
    display: none !important;
}

.appListObject img {
    width: 40px;
    height: 40px;
    float: none;
    margin-left: 0;
    margin-bottom: 4px;
    border-radius: 8px;
    margin-top: 3px;
}

.appListObjectName {
    width: 60px;
    min-height: 10px;
    max-height: 25px;
    font-family: 'PT Sans', sans-serif;
    font-size: 10px;
    color: #ddd;
    overflow: hidden;
    float: none;
    line-height: 11px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
}

.appListObjectNotification {
    width: auto;
    min-width: 20px;
    background-color: #f0434f;
    position: relative;
    border-radius: 5px;
    color: #fff;
    left: 8px;
    top: -57px;
    border: 2px solid #eee;
    display: none;
    line-height: 20px;
    font-size: 14px;
    float: left;
}

.appListObjectNotification p {
    font-family: helvetica;
    font-size: 12px;
    color: #fff;
    margin-top: 3px;
    width: 100%;
}

.applicationContainer {
    width: 100%;
    height: 100%;
    display: none;
    float: left;
    border: none;
    margin-bottom: 88px;
}

.applicationContainerClose {
    display: none !important;
    width: 18px;
    height: 18px;
    background: transparent;
    text-align: center;
    float: left;
    border: none;
    border-radius: 50%;
    color: #ddd;
    margin-left: -10px;
    margin-top: -6px;
    line-height: 18px;
    opacity: 0.85;
}

.applicationContainerClose p {
    font-family: 'PT Sans', sans-serif;
    font-size: 12px;
    margin: 0;
    line-height: 18px;
    color: #ddd;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.appListContainer {
    float: none;
    display: flex;
    align-items: center;
    height: auto;
    width: auto;
}

#content {
    top: 0px;
    height: 100%;
    min-height: 100%;
    display: inline-table;
}

.appListLogoutObject {
    float: none;
    width: 60px;
    height: 70px;
    padding: 4px 4px 6px;
    text-align: center;
    background: transparent;
    margin-top: 0;
    border-radius: 0;
    margin-left: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Logged-in fullscreen app/content layout */
html,
body.user-active {
    width: 100%;
    height: 100%;
}

body.user-active #content {
    position: fixed !important;
    top: var(--framework-topbar-height, 38px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: var(--framework-bottom-offset, 0px) !important;
    display: block !important;
    width: 100% !important;
    height: calc(100vh - var(--framework-topbar-height, 38px) - var(--framework-bottom-offset, 0px)) !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

body.user-active.framework-app-active #content {
    top: var(--framework-topbar-height, 38px) !important;
    height: calc(100vh - var(--framework-topbar-height, 38px) - var(--framework-bottom-offset, 0px)) !important;
}

body.user-active .applicationContainer {
    position: fixed !important;
    top: var(--framework-topbar-height, 38px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: var(--framework-bottom-offset, 0px) !important;
    width: 100% !important;
    height: calc(100vh - var(--framework-topbar-height, 38px) - var(--framework-bottom-offset, 0px)) !important;
    margin-bottom: 0 !important;
    z-index: 1100;
}

body.user-active.framework-app-active .applicationContainer {
    top: var(--framework-topbar-height, 38px) !important;
    height: calc(100vh - var(--framework-topbar-height, 38px) - var(--framework-bottom-offset, 0px)) !important;
}

body.user-active #defaultContainer {
    width: 100%;
    height: calc(100vh - var(--framework-topbar-height, 38px) - var(--framework-bottom-offset, 0px));
}

body.user-active.framework-app-active #defaultContainer {
    height: calc(100vh - var(--framework-topbar-height, 38px) - var(--framework-bottom-offset, 0px));
}

.appListLogoutObject img {
    width: 40px;
    height: 40px;
    float: none;
    margin-left: 0;
    margin-bottom: 4px;
    border-radius: 8px;
    margin-top: 3px;
}

.appListObjectActive {
    opacity: 1 !important;
}

.appListObjectActive img {
    box-shadow: 0 0 0 2px rgba(154, 197, 255, 0.55), 0 0 18px rgba(132, 190, 255, 0.95);
    filter: saturate(1.1);
}

/* Framework top bar */
:root {
    --framework-topbar-height: 38px;
    --framework-dock-bottom: 10px;
    --framework-bottom-offset: 0px;
}

#frameworkTopbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--framework-topbar-height, 38px);
    background-color: #222;
    border-bottom: 1px solid #333;
    z-index: 1300;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 10px 0 0;
    box-sizing: border-box;
}

#frameworkMobileAppHeader {
    display: none;
}

.frameworkTopbarLeft,
.frameworkTopbarCenter,
.frameworkTopbarRight {
    display: flex;
    align-items: center;
    height: 100%;
}

.frameworkTopbarLeft,
.frameworkTopbarCenter,
.frameworkTopbarRight {
    min-width: 0;
}

.frameworkTopbarLeft {
    gap: 0;
    flex-shrink: 0;
}

.frameworkTopbarCenter {
    flex: 1;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.frameworkTopbarRight {
    justify-content: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.frameworkTopbarRunningApps {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: none;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100%;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

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

.frameworkTopbarRunningApps.tabs-icon-only {
    overflow-x: hidden;
}

.frameworkTopbarRunningApps.tabs-overflow {
    overflow-x: auto;
}

.frameworkTopbarRunningApps.tabs-icon-only .frameworkTopbarRunningAppLabel {
    display: none;
}

.frameworkTopbarRunningApps.tabs-icon-only .frameworkTopbarRunningAppButton {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 52px;
    padding: 0 6px;
    justify-content: center;
}

.frameworkTopbarRunningApps.tabs-icon-only .frameworkTopbarRunningAppContent {
    width: 18px;
}

.frameworkTopbarRunningAppButton {
    flex: 1 1 180px;
    height: 100%;
    border: none;
    border-left: 1px solid var(--wht-ui-line);
    background: transparent;
    padding: 0 8px;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    min-width: 0;
}

.frameworkTopbarRunningAppIcon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: cover;
}

.frameworkTopbarRunningAppContent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: calc(100% - 28px);
    margin: 0 auto;
    pointer-events: none;
    min-width: 0;
}

.frameworkTopbarRunningAppLabel {
    color: #d6d6d6;
    font-size: 11px;
    line-height: 1;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    min-width: 0;
}

.frameworkTopbarRunningAppClose {
    width: 16px;
    height: 16px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #e6e6e6;
    font-size: 10px;
    line-height: 16px;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.frameworkTopbarRunningAppClose:hover {
    background: transparent;
    color: #ff5f57;
}

.frameworkTopbarRunningAppButton:hover {
    background: rgba(255, 255, 255, 0.10);
}

.frameworkTopbarRunningAppButton.is-active .frameworkTopbarRunningAppIcon {
    box-shadow: none;
}

.frameworkTopbarRunningAppButton.is-active {
    background: rgba(154, 197, 255, 0.22);
}

.frameworkTopbarIconButton {
    width: 24px;
    height: 24px;
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.frameworkTopbarHomeButton {
    width: auto;
    min-width: 78px;
    height: 100%;
    border-radius: 0;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.frameworkTopbarHomeContent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.frameworkTopbarHomeLabel {
    color: #d6d6d6;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
}

#frameworkTopbar.framework-has-running-apps[data-active-app="0"] #frameworkTopbarHome {
    background: rgba(154, 197, 255, 0.22);
}

#frameworkTopbar.framework-has-running-apps[data-active-app="0"] #frameworkTopbarHome .frameworkTopbarHomeLabel {
    color: #d6d6d6;
}

.frameworkTopbarGlyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #eee;
}

.frameworkTopbarGlyphOff {
    font-size: 16px;
    line-height: 1;
}

.frameworkTopbarGlyphHome {
    font-size: 14px;
    line-height: 1;
}

.frameworkTopbarGlyphApp {
    position: relative;
    width: 16px;
    height: 16px;
}

.frameworkTopbarGlyphApp::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 5px;
    height: 5px;
    border-radius: 2px;
    background-color: #eee;
    box-shadow: 7px 0 0 #eee, 0 7px 0 #eee, 7px 7px 0 #eee;
}

.frameworkTopbarGlyphUser {
    width: 14px;
    height: 14px;
    position: relative;
}

.frameworkTopbarGlyphUser::before {
    content: "";
    position: absolute;
    top: 0;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #eee;
}

.frameworkTopbarGlyphUser::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: 0;
    width: 10px;
    height: 6px;
    border-radius: 6px 6px 3px 3px;
    background-color: #eee;
}

@media (hover: none) and (pointer: coarse), screen and (max-width: 900px) {
    :root {
        --framework-topbar-height: 76px;
        --framework-dock-bottom: 14px;
        --framework-bottom-offset: 76px;
        --framework-mobile-app-header-height: 52px;
    }

    #frameworkTopbar {
        top: auto;
        bottom: 0;
        padding: 0 14px;
        border-top: 2px solid #333;
        border-bottom: none;
        justify-content: flex-start;
        gap: 8px;
        align-items: center;
    }

    #frameworkMobileAppHeader {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: var(--framework-mobile-app-header-height, 52px);
        background-color: #222;
        border-bottom: 1px solid #333;
        z-index: 1310;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
        box-sizing: border-box;
    }

    body.user-active.framework-app-active #frameworkMobileAppHeader {
        display: flex;
    }

    .frameworkMobileHeaderClose {
        position: absolute;
        right: 10px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        color: #eee;
        width: 30px;
        height: 30px;
        font-size: 20px;
        line-height: 30px;
    }

    .frameworkMobileAppHeaderContent {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        max-width: calc(100% - 70px);
    }

    #frameworkMobileAppHeaderIcon {
        width: 22px;
        height: 22px;
        border-radius: 5px;
        object-fit: cover;
    }

    #frameworkMobileAppHeaderName {
        font-size: 14px;
        color: #ccc;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #dockContainer {
        display: none !important;
    }

    body.user-active #content {
        top: 0 !important;
        bottom: var(--framework-bottom-offset, 76px) !important;
        height: calc(100vh - var(--framework-bottom-offset, 76px)) !important;
    }

    body.user-active.framework-app-active #content {
        top: var(--framework-mobile-app-header-height, 52px) !important;
        height: calc(100vh - var(--framework-mobile-app-header-height, 52px) - var(--framework-bottom-offset, 76px)) !important;
    }

    body.user-active .applicationContainer {
        top: 0 !important;
        bottom: var(--framework-bottom-offset, 76px) !important;
        height: calc(100vh - var(--framework-bottom-offset, 76px)) !important;
    }

    body.user-active.framework-app-active .applicationContainer {
        top: var(--framework-mobile-app-header-height, 52px) !important;
        height: calc(100vh - var(--framework-mobile-app-header-height, 52px) - var(--framework-bottom-offset, 76px)) !important;
    }

    body.user-active #defaultContainer {
        height: calc(100vh - var(--framework-bottom-offset, 76px));
    }

    body.user-active.framework-app-active #defaultContainer {
        height: calc(100vh - var(--framework-mobile-app-header-height, 52px) - var(--framework-bottom-offset, 76px));
    }

    .frameworkTopbarCenter {
        flex: 0 1 auto;
        justify-content: flex-start;
        overflow: visible;
        padding: 0;
    }

    .frameworkTopbarRunningApps {
        width: auto;
        max-width: none;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-start;
        overflow-x: hidden;
        padding: 0;
        height: auto;
    }

    .frameworkTopbarRight {
        margin-left: auto;
    }

    .frameworkTopbarRunningAppButton {
        flex: 0 0 auto;
        width: 50px;
        height: 50px;
        max-width: 50px;
        min-width: 50px;
        padding: 0;
        border-radius: 0;
        border-left: none;
        background: transparent;
    }

    .frameworkTopbarRunningAppIcon {
        width: 30px;
        height: 30px;
        border-radius: 6px;
    }

    .frameworkTopbarRunningAppLabel {
        font-size: 14px;
        max-width: none;
    }

    .frameworkTopbarRunningAppClose {
        width: 24px;
        height: 24px;
        font-size: 14px;
        line-height: 24px;
        left: 8px;
        display: none;
    }

    .frameworkTopbarRunningApps.tabs-icon-only .frameworkTopbarRunningAppLabel {
        display: none;
    }

    .frameworkTopbarRunningApps.tabs-icon-only .frameworkTopbarRunningAppButton {
        flex: 0 0 auto;
        width: 50px;
        max-width: 50px;
        min-width: 50px;
        padding: 0;
        justify-content: center;
    }

    .frameworkTopbarRunningApps.tabs-icon-only .frameworkTopbarRunningAppContent {
        width: 30px;
    }

    .frameworkTopbarRunningAppButton.is-active {
        background: transparent;
    }

    /* Keep mobile header close button pinned to the top-header right side */
    .frameworkMobileHeaderClose {
        right: 10px !important;
        left: auto !important;
    }

    .frameworkTopbarIconButton {
        width: 44px;
        height: 44px;
    }

    .frameworkTopbarHomeButton {
        min-width: 44px;
        padding: 0;
    }

    .frameworkTopbarHomeLabel {
        display: none;
    }

    .frameworkTopbarGlyphOff {
        font-size: 24px;
    }

    .frameworkTopbarGlyphHome {
        font-size: 22px;
    }

    .frameworkTopbarGlyphApp {
        width: 22px;
        height: 22px;
    }

    .frameworkTopbarGlyphApp::before {
        top: 3px;
        left: 3px;
        width: 7px;
        height: 7px;
        border-radius: 2px;
        box-shadow: 9px 0 0 #eee, 0 9px 0 #eee, 9px 9px 0 #eee;
    }

    .frameworkTopbarGlyphUser {
        width: 20px;
        height: 20px;
    }

    .frameworkTopbarGlyphUser::before {
        left: 5px;
        width: 10px;
        height: 10px;
    }

    .frameworkTopbarGlyphUser::after {
        left: 2px;
        width: 16px;
        height: 9px;
    }

    #appListHolder {
        max-width: calc(100% - 12px);
    }

    .appList {
        padding: 10px 12px;
        gap: 8px;
        border-radius: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .appListObject {
        width: 74px;
        height: 90px;
        padding: 6px 4px 8px;
        flex-shrink: 0;
    }

    .appListObject img {
        width: 48px;
        height: 48px;
    }

    .appListObjectName {
        width: 72px;
        font-size: 12px;
        line-height: 13px;
        max-height: 28px;
    }
}

.dockHomeGlyph {
    width: 40px;
    height: 40px;
    margin-top: 3px;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 40px;
    color: #ddd;
}

@media (hover: none) and (pointer: coarse), screen and (max-width: 900px) {
    .dockHomeGlyph {
        width: 48px;
        height: 48px;
        font-size: 32px;
        line-height: 48px;
    }
}

.whtsonFullFrame {
    width: 100%;
    height: 100%;
    background-color: #eee;
    position: absolute;
    top: 0px;
}

.whtsonFullFrameContent {
    width: 80%;
    height: 60%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    background-color: #fff;
}

.whtsonFullFrameContentHeader {
    width: 100%;
    line-height: 30px;
    font-size: 25px;
    text-align: center;
    float: left;
    margin-top: 30px;
    color: #6f8fa8;
}

.whtsonFullFrameContentUser {
    width: 100%;
    line-height: 30px;
    font-size: 18px;
    text-align: center;
    float: left;
    font-weight: lighter;
    margin-bottom: 10px;
}

.whtsonFullFrameContentMessage {
    width: 100%;
    line-height: 14px;
    font-size: 14px;
    text-align: center;
    float: left;
    font-weight: lighter;
}

.whtsonFullFrameContentUserImage {
    width: 100%;
    height: auto;
    font-size: 18px;
    text-align: center;
    float: left;
    font-weight: lighter;
    margin-bottom: 20px;
}

.whtsonFullFrameContentUserImage img {
    width: auto;
    height: auto;
    max-height: 80px;
    max-width: 80px;
    margin-left: auto;
    margin-right: auto;
}

.whtsonFullFrameContentUserImageInitials {
    width: 80px;
    height: 80px;
    background-color: #ccc;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 20px;
    text-align: center;
    line-height: 80px;
    color: #6f8fa8;
    font-weight: normal;
    font-size: 25px;
}

.whtsonFullFrameContentUserImageLoader {
    position: absolute;
    margin-left: -30px;
    margin-top: 30px;
    width: 60px;
}

.hide-app-list #appListHolder {
    display: none;
}

.hide-app-list #dockContainer {
    display: none;
}

.hide-app-list #frameworkTopbar {
    display: none;
}

.hide-app-list.user-active #content {
    top: 0 !important;
    bottom: 0 !important;
}

.hide-app-list .applicationContainer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    margin-bottom: 0 !important;
}
