:root {
    --color-smile-orange:          #FF8054;
    --color-smile-blue:            #3B72FF;
    --color-toolbar-dark:          #3D414C;
    --color-toolbar-dark-selected: #4D515C;
    --color-toolbar-light:         #ADB3BF;
    --color-toolbar-verylight:     #E8EAED;
    --toolbar-shadow:              0 0 3px 0px #555;
    --toolbar-font-size:           13px;
    --size-height-header:          41px;
    --size-height-title:           61px;
    --background-disabled:         rgba(50, 50, 50, 0.5);
}

.smile-toolbar {
    display: none;
}

.smile-toolbar a {
    cursor: pointer;
    background: transparent;
}

.smile-toolbar * {
    z-index: 99999;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--toolbar-font-size);
    font-weight: normal;
    box-sizing: border-box;
}

.smile-toolbar table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

.smile-toolbar .st-close {
    cursor: pointer;
    text-align: center;
    float: right;
    height: var(--size-height-header);
    line-height: var(--size-height-header);
}

.smile-toolbar .st-close:before {
    content:     '\e616';
    font-family: 'luma-icons', 'Admin Icons';
    font-weight: bold;
    margin-left: 15px;
    margin-right: 15px;
}

.smile-toolbar .st-close:hover {
    color: #FFF;
}

.smile-toolbar .box-warning {
    background-color: var(--color-smile-orange) !important;
}

.smile-toolbar .value-warning {
    color: var(--color-smile-orange) !important;
    font-weight: bold;
}

.smile-toolbar .st-logo {
    position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
    font-weight: bold;
    color: #FFF;
    background-color: var(--color-smile-blue);
    width: 150px;
    height: var(--size-height-header);
    line-height: var(--size-height-header);
    text-align: center;
    vertical-align: middle;
    box-shadow: var(--toolbar-shadow);
}

.smile-toolbar .st-titles {
    position: fixed;
    left: 0;
    top: 0;
    border: none;
    width: 100%;
    padding-right: 150px;
    text-align: center;

    display: none;
    background-color: var(--color-toolbar-dark);
    color: var(--color-toolbar-verylight);
    box-shadow: var(--toolbar-shadow);
}
.smile-toolbar .st-titles span {
    padding-left:  14px;
    padding-right: 14px;
    padding-top:    calc((var(--size-height-header) - var(--toolbar-font-size) - 1px) / 2);
    padding-bottom: calc((var(--size-height-header) - var(--toolbar-font-size) - 1px) / 2 - 1px);
    height: var(--size-height-header);
    line-height:var(--size-height-header);
    cursor: pointer;
}

.smile-toolbar .st-titles span.st-selected {
    background-color: var(--color-toolbar-dark-selected);
}

.smile-toolbar .st-zones {
    position: fixed;
    right: 0;
    top: var(--size-height-header);
    width: 100%;
    height: 100vh;
    background-color: var(--background-disabled);
}

.smile-toolbar .st-zones .st-zone {
    float: right;
    display: none;
    background: #FFF;
    box-shadow: var(--toolbar-shadow);
    width: 700px;
}

.smile-toolbar .st-zones .st-title,
#st-modal-display #st-modal-main .st-title {
    padding: 20px;
    margin: 0;
    background-color: var(--color-toolbar-verylight);
    height: var(--size-height-title);
}

.smile-toolbar .st-zones h1,
#st-modal-display #st-modal-main .st-title h1 {
    color: var(--color-toolbar-dark);
    font-weight: bold;
    font-size: 150%;
    padding: 0;
    margin: 0;
}

.smile-toolbar .st-zones .st-table-links {
    float: right;
}

.smile-toolbar .st-zones .st-table-links a {
    text-transform: uppercase;
    color: var(--color-smile-blue);
    font-weight: bold;
}

.smile-toolbar .st-zones .st-content {
    padding: 15px;
    color: var(--color-toolbar-dark);
    max-height: calc(95vh - var(--size-height-header) - var(--size-height-title));
    overflow: auto;
}

.smile-toolbar h2 {
    color: var(--color-toolbar-dark);
    background-color: var(--color-toolbar-verylight);
    font-weight: bold;
    font-size: 110%;
    padding: 10px;
    margin: 0;
}

.smile-toolbar table {
    border: none;
    background: none;
    margin-bottom: 10px;
    width: 100%;
}

.smile-toolbar th,
.smile-toolbar td {
    word-break: break-all;
    margin: 0;
    padding: 12px;
}


.smile-toolbar tr {
    border-bottom: solid 1px var(--color-toolbar-light);
}

.smile-toolbar thead th,
.smile-toolbar thead td {
    font-weight: bold;
    color: var(--color-toolbar-light);
    text-transform: uppercase;
    text-align: right;
}

.smile-toolbar thead th {
    text-align: left;
}

.smile-toolbar tbody > tr > th {
    font-weight: bold;
    width: 35%;
}

.smile-toolbar tbody td {

}

.smile-toolbar pre.complex-value {
    font-size: 90%;
    border: solid 1px lightgrey;
    background-color: #EEE;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    overflow: auto;
    width: 450px;
}

.smile-toolbar tbody tr:hover {
    background-color: var(--color-toolbar-verylight) !important;
}

.smile-toolbar table.st-profiler div.st-percent {
    height: 3px;
    border-radius: 2px;
    margin: 0;
    padding: 0;
    background: var(--color-smile-orange);
}

.smile-toolbar table.st-profiler .st-with-children {
    font-weight: bold;
}

.smile-toolbar table.st-profiler span.st-expand {
    float: left;
    margin: 0 2px 0 0;
    padding: 0;
    border: none;
    color: var(--color-toolbar-dark-selected);
    font-weight: bold;
    text-align: center;
    width: 20px;
}

.smile-toolbar table.st-profiler .st-with-children span.st-expand {
    cursor: pointer;
}

.smile-toolbar .st-navigator {
    float: right;
    background: #FFF;
    box-shadow: var(--toolbar-shadow);
    width: 550px;
    padding-bottom: 10px;
}

.smile-toolbar .st-navigator .st-title,
#st-modal-display #st-modal-main .st-title {
    background-color: var(--color-smile-blue);
}

.smile-toolbar .st-navigator .st-content {
    padding-bottom: 0;
}

.smile-toolbar .st-footer {
    text-align: center;
    color: var(--color-toolbar-light);
}

.smile-toolbar .st-navigator h1,
#st-modal-display #st-modal-main .st-title h1 {
    color: var(--color-toolbar-verylight);
}

.smile-toolbar .st-navigator tbody {
    cursor: pointer;
}

.smile-toolbar .st-navigator td.st-selected {
    background-color: var(--color-toolbar-verylight);
    font-weight: bold;
}

#st-modal-display {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background-disabled);
    z-index: 99999;
}

#st-modal-display #st-modal-main {
    width: 90vw;
    height: 90vh;
    margin: auto;
    margin-top: 5vh;
    border: none;
    background: #FFF;
    box-shadow: var(--toolbar-shadow);
}
#st-modal-display #st-modal-main .st-title {
    text-align: center;
    padding-right: 5px;
}

#st-modal-display #st-modal-main .st-close {
    color: #FFF;
    padding: 0;
    margin: 0;
    margin-top: -10px;
}

#st-modal-display #st-modal-content {
    padding: 15px;
    color: var(--color-toolbar-dark);
    overflow: scroll;
    width: 100%;
    height: calc(100% - 61px);
}

#st-modal-display .smile-table {
    table-layout: fixed;
    width: 100%;
}

#st-modal-display .smile-table thead th span {
    cursor: pointer;
    font-weight: normal;
    background-color: transparent;
}

#st-modal-display .smile-table thead th span.selected {
    cursor: default;
    color: #111;
}

.smile-toolbar .hjs-code {
}

.smile-toolbar .hjs-code pre {
    margin-bottom: 0 !important;
    padding: 0 !important;
}

#st-modal-display .smile-sub-table {
    margin: 0;
    padding: 0;
    display: none;
}

#st-modal-display .smile-sub-table > td > div {
    box-shadow: var(--toolbar-shadow);
    background: #FFF;
    margin: 5px;
    padding: 5px;
}


#st-modal-display .smile-sub-table pre {
    margin: 0;
    padding: 0;
}

#st-modal-display .smile-has-sub-table {
    cursor: pointer;
}

.st-sortable {
    position: relative;
    display: inline-block;
    vertical-align: -50%;

    padding: 0;
    margin: 0;
    margin-left: 5px;

    width: var(--toolbar-font-size);
    height: calc(var(--toolbar-font-size) * 2.2);
}

.st-sortable .st-sortable-asc {
    position: absolute;
    display: block;
    left: 0;
    top:  0;
}

.st-sortable .st-sortable-desc {
    position: absolute;
    display: block;
    left:   0;
    bottom: 0;
}

.smile-toolbar thead th {
     white-space: nowrap;
}
