html,
body {
    height: 100%;
    width: 100%;
    font-family: sans-serif !important;
}

body {
    overflow: hidden;
    margin: 0;
}

textarea {
    font-family: inherit;
}

#editor {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    height: 100vh;
}

#editor #container {
    flex: 1;
    overflow: hidden;
}

#container {
    background-color: #222222;
}

#sidebar {
    display: flex;
    flex-direction: column;
    width: 180px;
}

#dock-container {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: scroll;
    white-space: nowrap;
    border-right: thick solid #343434;
    background-color: #111111;
}

#dock {
    transform-origin: top;
    -webkit-transform: scale(.5);
    padding-bottom: 100px;
}

.dock-item {
    margin-top: 20px;
}

.minimap {
    bottom: 10px !important;
    right: 10px !important;
    width: 100px !important;
    height: 100px !important;
}

#menu {
    display: inline-block;
    position: absolute;
    background-color: #999999;
    color: #ffffff;
    top: 0px;
    left: 180px;
    padding: 5px 10px;
    opacity: .7;
}

.context-menu {
    opacity: .9;
    width: 200px !important;
}

.context-menu .item {
    background-color: #555555 !important;
    border-color: #111111 !important;
}

#options {
    display: flex;
    flex-direction: column;
    border-left: thick solid #343434;
    background-color: #111111;
    margin: 0;
}

.JsAccordion-header {
    font-weight: bold;
}

.JsAccordion-body--opened {
    max-height: none !important;
}

.JsAccordion-body {
    flex-direction: column;
    padding: 5px;
    overflow: hidden;
}

#options .form {
    margin-top: 10px;
    width: 100%;
    display: flex;
    align-items: stretch;
}

#options .form input {
    flex-grow: 1;
    width: 0;
}

#options ul {
    padding: 0px;
    width: 100%;
    min-height: 300px;
    max-height: 300px;
    overflow-y: scroll;
    margin: 0;
}

#options li {
    width: auto;
    display: flex;
    list-style: none;
    border-bottom: thin solid #dddddd;
    padding: 4px 4px;
}

#sidebar li span {
    flex-grow: 1;
    color: white;
    white-space: nowrap;
}

#sidebar li button {
    border-radius: 10px;
    width: 21px;
    background-color: red;
    color: white;
    font-weight: bold;
    padding: 0px;
    margin-right: 5px;
}

:root {
    --accordion-header-background-color: #444444;
    --accordion-header-border-color: #666666;
    --accordion-header-text-color: #ffffff;
    --accordion-body-background-color: #555555;

}

#preview {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: black;
    border: thin solid #777777;
}

#preview iframe {
    border: none;
}

#preview iframe.small {
    width: 427px;
    height: 240px;
}

#preview iframe.s240p {
    width: 427px;
    height: 240px;
}

#preview iframe.s360p {
    width: 640px;
    height: 360px;
}

#preview iframe.s480p {
    width: 854px;
    height: 480px;
}

#preview iframe.s720p {
    width: 1280px;
    height: 720px;
}

#toolbar {
    display: flex;
}

#toolbar input {
    width: 100%;
}