body {
    font-family: Segoe UI,Tahoma,Geneva,Verdana,sans-serif;
    font-size: small;
    padding: 0;
    margin: 0;
    background-color: var(--BackgroundLightGray);
    overflow: hidden;
}

#app, h1 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#app {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
}   

h1 {
    margin: 0 0 5px;
    font-weight: 400;
    font-size: large;
    background-color: var(--ForegroundBlue);
    color: var(--ForegroundWhite);
    padding: 5px;
    -webkit-box-shadow: 0 2px 4px -1px var(--HeaderShadowDark),0 4px 5px var(--HeaderShadowMedium),0 1px 10px var(--HeaderShadowLight);
    box-shadow: 0 2px 4px -1px var(--HeaderShadowDark),0 4px 5px var(--HeaderShadowMedium),0 1px 10px var(--HeaderShadowLight);
}

.caption {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.space {
    flex-grow: 1;
}

.statusTable {
    margin: 0 10px;
    font-size: x-small;
}

.label {
    padding-left: 2em;
    font-weight: 700;
    cursor: pointer;
}

.right {
    text-align: right;
}

#root {
    display: flex;
    flex-grow: 1;
    margin-top: 5px;
    flex-direction: column;
    overflow: auto;
}

#rootContent {
    width: 100%;
    align-items: center;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

#rootContent>table {
    border-spacing: 0px;
}


#monitorBtn {
    margin-bottom: 10px;
}

#gc {
    margin-right: 5px;
}

.status {
    display: flex;
    align-items: baseline;
}

.content {
    margin: 10px;
    background-color: #fff;
    flex-grow: 1;
    display: flex;
    overflow: auto;
}

.flex {
    display: flex;
}

.flexColumn {
    flex-direction: column;
}

.tabControl {
    display: flex;
    border-style: solid;
    background-color: var(--BackgroundLightGray);
    border-width: 0 0 1px;
    border-color: #d3d3d3;
}

.tab {
    display: flex;
    border-style: solid;
    padding: 0 15px;
    margin: 0 0 -1px;
    border-color: transparent;
    user-select: none;
    border-width: 1px;
}

.tab.selected {
    background-color: #fff;
    border-color: #d3d3d3 #d3d3d3 #fff;
}

.tabContent {
    border-color: #d3d3d3;
    border-width: 0 1px 1px;
    border-style: solid; 
    flex-grow: 1;
    overflow: auto;
    display: flex;
}

.contentBorder {
    padding: 15px;
}

.hidden {
    display: none;
}

.fader {
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0px;
    background-color: #0006;
    align-items: center;
    display: flex;    
}

.fader.hidden {
    display: none;
}

#noConnectionText {
    padding: 30px;
    background-color: white;
    box-shadow: 5px 4px 8px 2px rgba(0, 0, 0, 0.35), 0px 0px 20px 2px rgba(0, 0, 0, 0.25);
}

#contentStatus>.table {
    border-collapse: collapse;
    font-size: smaller;
}

tr.head {
    border-color: #d3d3d3;
    border-bottom-style: solid;
    border-bottom-width: thin;
}

.head {
    font-weight: 700;
}

#contentStatus td {
    padding: 3px 15px;
    text-align: right;
}

#contentStatus td:first-child {
    text-align: left;
}

#enablePing {
    margin-top: 15px;
}

.pingtitle {
    font-weight: 700;
    font-size: smaller;
}

#contentConfiguration {
    font-size: smaller;
    font-weight: 700;
}

#contentConfiguration .caption {
    border-bottom-color: grey;
    border-bottom-style: dotted;
    border-bottom-width: 1px;
}

#contentConfiguration table {
    border-collapse: collapse;
    margin-bottom: 20px;
}

#contentConfiguration td {
    padding: 3px 15px;
}

#proxyContentStatus {
    font-size: smaller;
}

#serverTable {
    margin-bottom: 30px;    
}

#serverTable td {
    padding-right: 5px;
}

#serverTable td>span {
    padding-right: 10px;
}

.isConnected {
    font-weight: 700;
}

#proxySessions {
    border-collapse: collapse;
}

#proxySessions tr.head {
    border-color: #d3d3d3;
    border-bottom-style: solid;
    border-bottom-width: thin;
}

#proxySessions td {
    padding: 3px 15px;
    text-align: right;
}

#contentSessions {
    position: relative;
    flex-grow: 1;
}

#proxySessions td:first-child {
    text-align: inherit;
}

.tab.selected.tableSelect {
    background-color: blanchedalmond;
    border-bottom-color: blanchedalmond;
}

#tabSessions.selected svg {
    width: 16px;
    color: gray;
    transition: color 0.4s;
}

#tabSessions.selected svg:hover {
    color: var(--ForegroundBlue);
}

#ctiInput {
    flex: 1 0 8em;
    border-style: solid;
    border-width: 1px;
    margin: 5px;
    border-color: var(--ForegroundLightGray);
}

#ctiInput:focus {
    outline-style: none; 
    border-color: var(--ForegroundBlue);
}

#slotfirst {
    position: relative;
    flex-grow: 1;
}    

.jsonViewContainer {
    flex-grow: 1;
    position: relative;
    height: 100%;
    overflow: auto;
    width: 100%;    
}

.jsonViewContainer>div  {
    position: absolute;
}

:root .table-style {
    --vtc-background-color: white;
    --vtc-caption-color: black;
    --vtc-caption-background-color: #feefc5;
    --vtc-caption-background-hover-color: #fef9d4;
    --vtc-caption-separator-color: darkgray;
    --vtc-selected-background-color: var(--ForegroundBlue);

    --vtc-scrollbar-button-display: none;
    --vtc-scrollbar-width: 12px;
    --vtc-scrollbar-background-color: transparent;
    --vtc-scrollbar-border-width: 0px;
    --vtc-scrollbar-grip-width: 4px;
    --vtc-scrollbar-grip-active-color: var(--ForegroundBlue);
    --vtc-scrollbar-grip-radius: 999px;
    --vtc-scrollbar-grip-right: 1px;
    --vtc-scrollbar-right-margin: 6px;

    --gridsplitter-grip-color : var(--BackgroundLightGray);
    --gridsplitter-grip-hover-color : #bbb8b5;
    --gridsplitter-grip-active-color : #8f8d8b;    
}

:root .jsonview{
    --wjv-color-hover-triangle: var(--ForegroundBlue);
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
 
*::-webkit-scrollbar-thumb:active {
    background-color: var(--ForegroundBlue);
}
 
*::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background-color: rgb(209, 209, 209);
}

:root {
    --ForegroundBlue: #304c6a;
    --ForegroundGreen: #21a544;
    --ForegroundRed: #e82f2f;
    --ForegroundYellow: #fbbc05;
    --ForegroundOrange: #f27f0c;
    --ForegroundDarkGray: #5a5a5a;
    --ForegroundLightGray: #a9a9a9;
    --HeaderShadowDark: rgba(0,0,0,0.2);
    --HeaderShadowMedium: rgba(0,0,0,0.14);
    --HeaderShadowLight: rgba(0,0,0,0.12);
    --ForegroundWhite: #fff;
    --BackgroundBlue: #c4dff2;
    --BackgroundGreen: #cbead3;
    --BackgroundRed: #f9cece;
    --BackgroundYellow: #feefc5;
    --BackgroundOrange: #fbe1c6;
    --BackgroundDarkGray: #d8d8d8;
    --BackgroundLightGray: #ebebeb;
    --margin-content: 5px;
    --dialog-background-color: #fff;
    --dialog-fader-color: rgba(0,0,0,0.5);
    --dialog-input-border-color: #grey;
    --dialog-input-outline-color: #00f;
}