﻿@import var(--fontImportLink);

/*
    grey: rgb(248,248,250)
    border: rgb(211,213,220)

    blue: rgb(114,164,223)
    orange: rgb(239,190,121)
*/

:root {
    --whitelabelDisplay: none;
    --whitelabelAlign: center;
    --whitelabelColor: #f1f1f1;
}

* {
    box-sizing: border-box;
    /*font-family: "Open Sans", sans-serif;*/
    font-family: var(--fontType);
}

.board-header {
    display: var(--whitelabelDisplay);
    background-color: var(--whitelabelColor);
    padding: 10px;
    justify-content: var(--whitelabelAlign);
    max-height: 60px;
}

.board-header > #board-header-size {
    background-color: transparent;
    width: 100%;
    margin-left: auto;
    display: flex;
    justify-content: var(--whitelabelAlign);
}

.board-header > #board-header-size[data-align='center'] {
    /*width: calc(100% - 50px) !important;*/
    width: 100%;
}

.board-header > img, .board-header > #board-header-size > img {
    height: 40px;
    aspect-ratio: auto;
}

.board-topnav {
    overflow: hidden;
    background-color: var(--navbarBackgroundColor);
    display: flex;
    height: 48px;
    width: 100%;
    padding: 0 24px;
    align-items: center;
    justify-content: start;
}

.board-topnav > .board-topnav-links, .board-topnav > .board-topnav-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.board-topnav > .board-topnav-links {
    margin-right: auto;
}

.board-topnav > .board-topnav-info {
    margin-left: auto;
}

.board-topnav > #board-logo {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    max-width: 44px;
    max-height: 48px;
}

.board-topnav > #board-logo > svg {
    max-width: 44px;
    max-height: 48px;
    width: 44px;
    height: 48px;
    color: var(--navbarWitoLogoColor);
}

.board-topnav > .board-topnav-links > a, .board-topnav > .board-topnav-info > a, .board-topnav > .board-topnav-info span, .board-topnav > .board-topnav-info i {
    color: var(--navbarTextColor);
    text-decoration: none;
    font-size: 13px;
    user-select: none;
}

.board-topnav > .board-topnav-info > #optInOutButton {
    display: flex;
    gap: 7px;
}

.board-topnav > .board-topnav-links > a:hover, .board-topnav > .board-topnav-info > a:hover, .board-topnav > .board-topnav-info > i, .board-topnav > .board-topnav-info > #optInOutButton > span:hover {
    text-decoration: underline;
    cursor: pointer;
}

.board-topnav > .board-topnav-info > i:hover {
    color: var(--hoverColor);
}

.board-topnav > .board-topnav-info > #board-topnav-separator {
    background-color: var(--seperatorColor);
    width: 1px;
    height: 20px;
    opacity: 25%;
}

.board-topnav-info #optInOutButton > .activeStatus {
    color: var(--userStatusActive) !important;
}

.board-topnav-info #optInOutButton > .inactiveStatus {
    color: var(--userStatusInactve) !important;
}

.board-topnav-info #connectivityStatus > .inactiveStatus {
    color: var(--userStatusInactve) !important;
}


/*.board-topnav a {
    text-decoration: none;*/
    /*color: #f2f2f2;*/
    /*color: var(--themeTextColor);
}

.board-topnav a:hover, .board-topnav i:hover, .board-topnav-info #optInOutButton:hover {
    background-color: var(--themeColor);
    color: var(--themeTextColor) !important;
    filter: brightness(0.75);
}

.board-topnav-links {
    padding-left: 10px;
    height: 100%;
}

.board-topnav-info a, .board-topnav-links a {
    text-decoration: underline;
}

.board-topnav-info {
    padding-right: 20px;
    height: 100%;
    margin-left: auto;
}

.board-topnav-info span, a, .board-topnav-info i, .board-topnav-info #optInOutButton {
    float: right;
    display: block;
    color: var(--themeTextColor);
    text-align: center;*/
    /*padding: 14px 16px;*/
    /*padding: 0px 16px;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 12pt;
}

.board-topnav-info #optInOutButton {
    cursor: pointer;
    gap: 10px;
}

.board-topnav-info #optInOutButton > span {
    padding: 0;
    font-size: 12pt !important;
    text-decoration: underline;
}

.board-topnav-info #optInOutButton > i {
    padding: 0;
    font-size: 15pt !important;
}

.board-topnav-info #optInOutButton > i {
    padding: 0;
    font-size: 12pt !important;
    pointer-events: none;
    background-color: transparent !important;
}

.board-topnav-info #optInOutButton > .activeStatus {
    color: var(--statusActiveColor) !important;
}

.board-topnav-info #optInOutButton > .inactiveStatus {
    color: var(--statusInactiveColor) !important;
}

.board-topnav-info .optInOutLoading {
    cursor: wait !important;
}

.board-topnav-info i {
    font-size: 13pt;
    cursor: pointer;
}

.board-topnav-info #board-nolink, .board-topnav-links #board-nolink {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
}*/
    /*.board-column-side {
    float: left;
    width: 20%;
    padding: 15px;
}

.board-column-middle {
    float: left;
    width: 60%;
    padding: 15px;
}

.board-row {
    padding-top: 10px;
}

    .board-row::after {
        content: "";
        display: table;
        clear: both;
    }

.board-container, .board-container-no-border {
    color: rgb(148,148,150);
    width: 100%;
    padding: 20px;
}

.no-padding {
    padding: 0px !important;
}

.board-container {
    border: 1px solid rgb(151,153,160);
    border-radius: 5px 5px;
}

.board-container-headline {
    font-size: 28px;
    font-weight: 400;
    padding-bottom: 10px;
}

.board-queue {
    display: flex;
    flex-direction: row;
    width: 90%;
    height: 4vh;
    font-size: 15pt;
}

.board-queue-name, .board-queue-number {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.board-queue-name {
    justify-content: start;
    white-space: nowrap;
}

.board-queue-number {
    justify-content: end;
}*/
    /*
#addresssBookSearchSearchstring {
    width: 100%;
    display: flex;
    height: 50px;
    outline: none;
    border: 1px solid rgb(151,153,160);
    border-radius: 5px 5px;
    font-size: 13pt;
    padding-left: 20px;
}
#user_table_container {
    padding: 0;
    margin: 0;
    width: 100%;
    border: 1px solid black;
}

#user_table_container.empty {
    border-left: none;
    border-right: none;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}
*/
    /*.board-selecteduser {
    margin-top: 10px;
}

.board-selecteduser-headline {
    display: block;
    font-size: 15pt;
    font-weight: bold;
    padding-bottom: 10px;
}

.board-selecteduser-info {
    display: block;
}

.icon-green {
    color: darkgreen;
}

.icon-yellow {
    color: darkgoldenrod;
}

.icon-red {
    color: darkred;
}

.icon-grey {
    color: darkgray;
}

.board-topnav > #board-logo {
    width: 50px;
    min-width: 50px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: margin 200ms ease-out;
}

.board-topnav > #board-logo > svg {
    width: 85%;
    color: var(--witoIconColor);*/
    /*height: 20px;*/
    /*}*/
    .board-sidebar {
        position: absolute;
        bottom: 0px;
        left: 0;
        z-index: 10;
        width: 50px;
        background-color: var(--themeColor);
        height: 100%;
        display: flex;
        align-items: start;
        flex-direction: column;
    }

.board-sidebar:after, .board-sidebar-config:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 50px;
    background-color: transparent;
    height: 15px;
    width: 15px;
    border-top-left-radius: 50%;
    box-shadow: var(--navbarBackgroundColor) -5px -4px 0px 0px;
    pointer-events: none;
    z-index: -1;
    transition: left 200ms ease-out;
}

.board-sidebar > a:first-child {
    margin-top: 7px;
}

.board-sidebar > a {
    height: fit-content;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--navbarTextColor) !important;
    background-color: var(--navbarBackgroundColor);
    font-size: 14pt;
    padding: 10px 0;
}

.board-sidebar > .sidebarDisabled {
    filter: brightness(0.5);
    pointer-events: none;
}

.board-sidebar > a:hover {
    filter: brightness(0.8);
}

.board-sidebar-config {
    position: absolute;
    bottom: 0px;
    left: 0;
    z-index: 10;
    width: 50px;
    background-color: var(--navbarBackgroundColor);
    height: calc(100% - 45px);
    display: flex;
    align-items: start;
    flex-direction: column;
    transition: width 200ms ease-out;
}

.board-sidebar-config > label {
    position: relative;
    display: flex;
    margin-top: auto;
    margin-left: auto;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: var(--navbarBackgroundColor);
    padding: 10px 0;
    transition: width 200ms ease-out;
}

.board-sidebar-config > label:before, .board-sidebar-config > #board-sidebar-config-content > div > ul:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 15%;
    width: 70%;
    height: 1px;
    background-color: var(--navbarTextColor);
    border-radius: var(--borderRadius);
}

.board-sidebar-config > label:before {
    top: -1px;
}

.board-sidebar-config > label:hover {
    filter: brightness(0.8);
    cursor: pointer;
}

.board-sidebar-config > label > i {
    color: var(--navbarTextColor) !important;
    font-size: 15pt;
}

#board-sidebar-config-checkbox {
    display: none;
}

.board-sidebar-config > label > #board-sidebar-config-collapse-text {
    color: var(--navbarTextColor) !important;
    font-size: 11pt;
    display: none;
    user-select: none;
    white-space: nowrap;
}

.board-sidebar-config > label > #board-sidebar-config-collapse {
    display: none;
}

#board-sidebar-config-checkbox:checked ~ .board-topnav > #board-logo {
    /*margin-left: 13px;*/
    transition: margin 200ms ease-out;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config > label > #board-sidebar-config-expand {
    display: none;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config > label > #board-sidebar-config-collapse, #board-sidebar-config-checkbox:checked ~ .board-sidebar-config > label > #board-sidebar-config-collapse-text {
    display: block;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config {
    width: 230px;
    transition: width 200ms ease-out;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config:after {
    left: 230px;
    transition: left 200ms ease-out;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config > label {
    padding: 10px 20px;
    justify-content: start;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config > label:before, #board-sidebar-config-checkbox:checked ~ .board-sidebar-config > #board-sidebar-config-content > div > ul:before {
    left: 5%;
    width: 90%;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config > label > i {
    margin-left: auto;
}

.board-sidebar-config > #board-sidebar-config-content {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.board-sidebar-config > #board-sidebar-config-content > div {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.board-sidebar-config > #board-sidebar-config-content > div > span {
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 11pt;
    padding: 0 15px;
    color: var(--navbarTextColor);
    display: none;
    margin-bottom: 3px;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config > #board-sidebar-config-content > div > span {
    display: block;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config > #board-sidebar-config-content {
    gap: 25px;
}

.board-sidebar-config > #board-sidebar-config-content > div > ul {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-top: 10px;
    padding-left: 0;
    margin: 0;
}

.board-sidebar-config > #board-sidebar-config-content > div:first-child > ul:before {
    display: none;
}

.board-sidebar-config > #board-sidebar-config-content > div:first-child > ul {
    padding-top: 0px;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config > #board-sidebar-config-content > div:first-child > ul:before {
    display: block;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config > #board-sidebar-config-content > div:first-child > ul {
    padding-top: 10px;
}

.board-sidebar-config > #board-sidebar-config-content > div > ul > li {
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--navbarBackgroundColor);
    color: var(--navbarTextColor);
    padding: 10px 0;
    gap: 10px;
    user-select: none;
    white-space: nowrap;
}

.board-sidebar-config > #board-sidebar-config-content > div > ul > .board-sidebar-config-active {
    filter: brightness(0.7);
    pointer-events: none;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config > #board-sidebar-config-content > div > ul > li {
    justify-content: start;
    padding: 10px 7.5%;
}

.board-sidebar-config > #board-sidebar-config-content > div > ul > li:hover {
    filter: brightness(0.8);
}

.board-sidebar-config > #board-sidebar-config-content > div > ul > li > span {
    display: none;
    font-size: 11pt;
}

.board-sidebar-config > #board-sidebar-config-content > div > ul > li > i {
    font-size: 13pt;
}

#board-sidebar-config-checkbox:checked ~ .board-sidebar-config > #board-sidebar-config-content > div > ul > li > span {
    display: block;
}
