body {
    margin: 0;
    height: 100vh;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
}

.header,
.footer {
    background-color: rgb(0, 43, 53);
    color: white;
    font-size: 14px;
    min-height: 25px;
    line-height: 25px;
    padding: 10px;
    width: calc(100vw - 20px);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer {
    position: absolute;
    bottom: 0;
    justify-content: flex-end;
}

.builder-wrapper {
    display: inline-block;
    height: calc(100% - 90px);
    width: 500px;
    overflow: hidden;
}

[theme="darcula"] .builder-wrapper,
body[theme="darcula"] {
    background: #2B2B2B; /* from darcula */
    color: white;
}

[theme=""] .builder-wrapper {
    background: white;
    color: black;
}

.CodeMirror {
    display: inline-block;
    height: calc(100% - 90px);
    width: calc(100% - 510px - 4px); /* 500px width builder + 10px padding left + 4px divider/resizer */
    float: right;
}

.builder {
    height: calc(100% - 40px); /* search bar */
    width: calc(100% - 10px); /* minus left and right padding */
    padding-left: 10px;
    padding-top: 5px;
    overflow: auto;
}

.builder-search {
    height: 20px;
    padding-left: 10px;
    padding-top: 10px;
}

.builder input {
    margin-left: 10px;
}

.builder button {
    height: 22px;
    margin-left: 10px;
}

#reset-search {
    border: none;
    border-radius: 5px;
    cursor: pointer;
    height: 22px;
    width: 22px;
}

.btn {
    color: white;
    border-radius: 5px;
    padding: 2px 8px;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn:disabled {
    cursor: not-allowed;
}

.btn-reset {
    background-color: #dd002f;
    border-color: #dd002f;
}

.btn-reset:active {
    background-color: #b00025;
}

.btn-primary {
    border-color: #0b5684;
}

.btn-primary:not(:disabled) {
    background-color: #0b5684;
}

.btn-primary:active:not(:disabled) {
    background-color: #084469;
}

.btn-green {
    background-color: #517034;
    border-color: #517034;
}

.btn-red {
    background-color: rgb(150, 50, 45);
    border-color: rgb(150, 50, 45);
}

.btn-yellow {
    background-color: #8D7025;
    border-color: #8D7025;
}

.btn-icon {
    padding-top: 1px;
    padding-bottom: 0;
    font-size: 16px;
}

.link {
    text-decoration: none;
}

[theme="darcula"] .link {
    color: white;
}

[theme=""] .link {
    color: black;
}

.margin-horizontal {
    margin-right: 10px;
}

select {
    border-radius: 5px;
    border: 1px solid white;
    color: white;
    background-color: transparent;
    margin-left: 3px;
    margin-right: 10px;
}

.fixed-width-field {
    width: 100px;
}

.input-field {
    border-radius: 5px;
    margin: 0;
    height: 22px;
}

.input-field#custom-version {
    margin-right: 10px;
}

[theme="darcula"] .input-field {
    border: 1px solid white;
    background-color: transparent;
    color: white;
}

[theme=""] .input-field {
    border: 1px solid black;
    background-color: transparent;
    color: black;
}

.conditional-field {
    display: none;
}

[type="checkbox"] {
    height: 20px;
    width: 20px;
    vertical-align: middle;
}

[type="radio"] {
    margin: 0 4px;
}

[type="number"] {
    width: 60px;
}

.form-row {
    margin-bottom: 5px;
    user-select: none;
    height: 22px;
    overflow: hidden;
    width: max-content;
}

.animated .form-row {
    transition: height 0.18s, margin 0.18s;
}

.hidden {
    height: 0;
    margin: 0;
}

.bi-chevron-right {
    cursor: pointer;
    padding-right: 5px;
}

[toggled="true"] .bi-chevron-right::before {
    transform: rotate(90deg);
}

.collapsible {
    cursor: pointer;
}

.bi-info-circle {
    vertical-align: middle;
}

.bi-info-circle:hover {
    color: lightblue;
}

.bi-question-circle {
    font-size: 16px;
}

#divider {
    height: calc(100% - 90px);
    width: 4px;
    display: inline-block;
    background-color: darkgrey;
    cursor: ew-resize;
}
