body {
    margin: 0px;
    overflow: hidden;
}

main {
    color: #e2ffff;
    /* #e2ffff; #ADBBC4; */
    background: #1B2A32;
    font-family: 'Metropolis', sans-serif;
    font-weight: lighter;
    height: 100vh;
    cursor: default;
}

main-header {
    display: grid;
    grid-template-columns: [left] 1fr [middle] 2fr [right] 1fr;
    background: #404E60;
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom: solid 1px #aebbc4;
}

header-left {
    grid-area: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

header-middle {
    grid-area: middle;
    /*display: flex;*/
    background: #414e60;
    /*border-top: solid 0.5px;*/
    /*border-bottom: solid 0.5px;*/
}

header-right {
    grid-area: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

header-logo {
    grid-area: logo;
    margin: 0px 15px 0px 15px;
    width: 30px;
    height: 30px;
    box-shadow: 0px 0px 12px 2px #677c9b;
    border-radius: 50%;
}

header-logo img {
    position: relative;
    left: 0px;
    top: 0px;
    width: 30px;
    height: 30px;
}

header-title {
    font-size: 20px;
    font-weight: normal;
}

header-title sup {
    color: #aebbc4;
    font-weight: lighter;
    font-size: small;
    margin-left: 5px;
}

info-box {
    display: inline-grid;
    border: solid 0.5px;
    font-size: 14px;
    margin-right: 5px;
    text-align: center;
    cursor: default;
}

info-box box-header {
    color: #414e60;
    background: #e2ffff;
    font-size: 11px;
    padding: 2px;
    text-transform: uppercase;
    border: solid 1px #414e60;
}

info-box box-labels {
    display: inline-grid;
    padding: 2px;
    border-top: solid 0.5px #e3ffff;
}

info-box label-value {
    white-space: nowrap;
}

info-box label-value i {
    font-size: 12px;
}

browser-bar {
    display: grid;
    grid-template-columns: [browser-bar-left] auto [browser-bar-right] auto;
    color: #aebbc4;
    background: #404E60;
    font-weight: lighter;
    font-size: smaller;
    padding: 12px 0px 12px 12px;
    border-bottom: solid 2px;
    margin-bottom: 8px;
    align-items: center;
}

filter-component-list {
    grid-area: browser-bar-left;
    white-space: nowrap;
}

filter-component-list>filter-switch>console-button {
    display: inline-flex;
}

filter-component-list>filter-switch>console-button>i {
    margin-right: 12px;
    font-size: 24px;
}

filter-component-list>filter-switch>console-button:hover {
    cursor: pointer;
    color: #e2ffff;
}

filter-component-list>filter-switch {
    display: inline-flex;
}

filter-component-list>filter-switch>switch-button {
    display: inline-flex;
}

filter-component-list>filter-switch>switch-button>i {
    margin-right: 12px;
    padding: 5px 0px 0px 0px;
}

filter-component-list>filter-switch>switch-button:hover {
    cursor: pointer;
    color: #e2ffff;
}


filter-component-list>filter-switch>filter-component {
    visibility: hidden;
    border: solid 0.5px;
    padding: 3px;
}

filter-component-list>filter-switch>filter-component>sup {
    text-transform: uppercase;
}

filter-component-list>filter-switch>filter-component>label {
    margin-left: 2px;
    text-transform: uppercase;
}

filter-component-list>filter-switch>filter-component>input {
    width: 20px;
    color: inherit;
    background: inherit;
    border: none;
    margin-left: 4px;
}

filter-component-list>filter-switch>filter-component>input:focus {
    outline: none;
}

filter-component-list>filter-switch>filter-component>button {
    color: inherit;
    background: inherit;
    border: none;
}

filter-component-list>filter-switch>filter-component>button {
    color: inherit;
    background: inherit;
    border: none;
}

filter-component-list>filter-switch>filter-component>button:hover {
    cursor: pointer;
    color: #e2ffff;
}

browser-sessions {
    display: block;
    width: 100%;
    height: 100%;
    overflow: auto;
    color: #e2ffff;
}

browser-session {
    display: grid;
    grid-template-columns: [framework-label] fit-content(2em) [browser-icon] fit-content(13px) [session-id] fit-content(12em) [browser-info] 1fr [test-name] 2fr [session-labels] 2fr [screen-label] fit-content(1em) [video-label] fit-content(1em) [session-status] 0.5fr [session-duration] 0.25fr [delete-button] 0.1fr;
    background: #304055;
    margin: 0px 0px 8px 12px;
    padding: 10px;
    align-items: center;
    font-size: smaller;
}

browser-session:hover {
    background: #374962;
}

framework-label {
    grid-area: framework-label;
    text-transform: capitalize;
    font-family: 'Inconsolata';
    border: solid 0.5px #e2ffff;
    border-radius: 3px;
    padding: 1px;
}

screen-label {
    grid-area: screen-label;
    margin-left: 10px;
}

video-label {
    grid-area: video-label;
    margin-left: 10px;
}

browser-icon {
    grid-area: browser-icon;
    margin-left: 10px;
}

session-id {
    grid-area: session-id;
    color: #c8cbcbb0;
    font-family: 'Inconsolata';
    margin-left: 10px;
}

session-id click-to-copy:hover {
    color: #e2ffff;
    cursor: pointer;
}


browser-info {
    grid-area: browser-info;
    margin-left: 10px;
}

browser-name {
    text-transform: uppercase;
}

browser-version {
    color: #c8cbcbb0;
    font-size: 0.8em;
    margin-left: 3px;
}

test-name {
    grid-area: test-name;
}

session-labels {
    grid-area: session-labels;
    display: flex;
    align-items: center;
}

session-labels session-label {
    display: flex;
    align-items: center;
    background: #414e60;
    margin-right: 4px;
}

session-labels thin-border {
    border: solid 0.5px #e2ffff;
}

session-labels session-label label-name {
    display: flex;
    align-items: center;
    color: #414e60;
    background: #e2ffff;
    font-size: 11px;
    padding: 2px;
    margin: 1px;
}

session-labels session-label label-value {
    font-size: 13px;
    border-top: solid 0.5px;
    border-right: solid 0.5px;
    border-bottom: solid 0.5px;
    padding: 2px;
}

session-status {
    grid-area: session-status;
    text-transform: capitalize;
    margin-left: 10px;
}

session-duration {
    grid-area: session-duration;
}

delete-button {
    grid-area: delete-button;
    display: inline-grid;
    align-items: center;
    justify-items: center;
    color: #c8cbcbb0;
    width: 17px;
    height: 17px;
}

delete-button:hover {
    color: #e2ffff;
    cursor: pointer;
}

delete-button i {
    font-size: 10px;
}

main vnc-display {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: #1B2A32;
}

main vnc-display vnc-header {
    display: grid;
    grid-template-columns: [framework-label] fit-content(2em) [browser-icon] fit-content(13px) [session-id] fit-content(12em) [browser-info] 1fr [test-name] 2fr [session-labels] 2fr [screen-label] fit-content(1em) [video-label] fit-content(1em) [session-status] 0.5fr [session-duration] 0.25fr [delete-button] 0.1fr [unlock-button] 0.1fr [close-button] 0.15fr;
    font-size: smaller;
    align-items: center;
    padding: 10px;
    background: #304055;
    /* #414e60; */
    border-bottom: solid 1px #aebbc4;
}

main vnc-display vnc-header unlock-button {
    display: inline-grid;
    grid-area: unlock-button;
    color: #c8cbcbb0;
    /*width: 15px;*/
    /*height: 15px;*/
    align-items: center;
    justify-items: center;
    /*border: solid 0.5px;*/
    /*border-radius: 50%;*/
}

main vnc-display vnc-header unlock-button:hover {
    color: #e2ffff;
    cursor: pointer;
}

main vnc-display vnc-header unlock-button i {
    font-size: 10px;
}

main vnc-display vnc-header close-button {
    display: inline-grid;
    grid-area: close-button;
    justify-self: center;
    color: #c8cbcbb0;
    width: 15px;
    height: 15px;
    align-items: center;
    justify-items: center;
    border: solid 0.5px;
    border-radius: 50%;
}

main vnc-display vnc-header close-button:hover {
    color: #e2ffff;
    cursor: pointer;
}

main vnc-display vnc-header close-button i {
    font-size: 10px;
}

main vnc-display screen-lock {
    position: fixed;
    z-index: 3;
    background: transparent;
    left: 0;
    top: 38px;
    width: 100%;
    height: 100%;
}

main vnc-display iframe {
    border: none;
    width: 100vw;
    height: 100vh;
}

main error-display {
    display: none;
    position: fixed;
    z-index: 3;
    padding-top: 20vh;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*overflow: hidden;*/
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

main error-display error-message-box {
    display: grid;
    grid-template-columns: [error-message] auto [close-button] fit-content(1em);
    background-color: #1B2A32;
    margin: auto;
    padding: 30px;
    border: 2px solid #aebbc4;
    width: 50%;
}

main error-display error-message-box error-message {
    grid-area: error-message;
}

main error-display error-message-box close-button {
    grid-area: close-button;
    color: #c8cbcbb0;
}

main error-display error-message-box close-button:hover {
    color: #e2ffff;
    cursor: pointer;
}