input[readonly] {
    color: black;
}

.content pre {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

#task-section .control input {
    max-width: 300px;
}

#task-section .control select {
    font-weight: bold;
}

.json-ml-4 {
    margin-left: 4vw;
}

.json-ml-8 {
    margin-left: 8vw;
}

@media (max-width: 768px) {
    #task-section .control input {
        max-width: 150px;
    }
}

@media (max-width: 610px) {
    #task-section .hero-body {
        padding: .6em;
    }

    #task-section .control input {
        max-width: 70px;
    }

    #task-section .control {
        margin-right: .2em;
    }

    .json-ml-4 {
        margin-left: .4em;
    }

    .json-ml-8 {
        margin-left: .8em;
    }
}

.json-symbol {
    font-weight: bold;
    color: #363636;
    background-color: white;
    padding: calc(.5em - 1px) calc(.75em - 1px);
    border-radius: 4px;
    display: inline-block;
    min-width: 58px;
    height: 100%;
}

pre {
    margin: 0;
    white-space: pre-wrap;
    background-color: #f8f8f8;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

#json-rules-table tbody tr {
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.07);
}

#json-rules-table tbody tr td {
    vertical-align: middle !important;
    padding: 0.8rem 1.5rem;
}

#json-rules-table .rule-description {
    width: 45%;
}

#json-rules-table .rule-code {
    font-size: 0.98rem;
    width: 55%;
}

#json-rules-table code b {
    color: #cb3c36;
}
