.state-instructions {
    /*display: none;*/
}

body.os-windows, body.os-linux {
    display: block;
}

.state-instructions,
.state-box {
    margin-bottom: 2rem;
}

.state-box #check1,
.state-box #check2,
.state-box section > div {
    display: none;
}

.state-box #check1:checked ~ section .section1,
.state-box #check2:checked ~ section .section2 {
    display: flex;
    align-items: center;
}

.state-box nav {
    border-radius: 5px 5px 0 0;
    background: #efefef;
    font-weight: bold;
    color: #7b7b7b;
}

.state-box nav .tab1,
.state-box nav .tab2 {
    color: #333335;
}

.state-box #check1:checked ~ nav .tab1,
.state-box #check2:checked ~ nav .tab2 {
    border-bottom: 4px solid #bc2a1d;
}

.state-box nav .tab1,
.state-box nav .tab1 label,
.state-box nav .tab2,
.state-box nav .tab2 label {
    cursor: pointer;
}

.state-box nav ul, 
.state-box nav ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.state-box nav ul li { 
    display: inline-block;
    padding: 15px 15px 11px 15px;
}

.state-box nav ul li em { 
    font-weight: normal;
}

.state-box section {
    border-radius: 0 0 5px 5px;
    background: #353537;
}

.state-box section input {
    display: inline-block;
    background: transparent;
    border: 0;
    font-family: monospace;
    font-size: 1rem;
    padding: 15px;
    color: #efefef;
    width: calc(100% - 66px);
    outline: none !important;
    flex-grow: 1;
}

.layout-top-simple .state-box button.copy {
    border: 0;
    width: 16px;
    height: 16px;
    outline: none !important;
    cursor: pointer;
    background-color: transparent;
    background-image: url(/static/img/copy.png);
    background-size: 16px;
    margin-right: 15px;
}

.state-box button.copy:active {
    transform: translateY(2px);
}

.layout-top-nopy .intro {
    margin-bottom: 1.5rem;
    padding-left: 48px;
    background-image: url(/static/img/python-icon-question-mark.svg);
    background-size: 38px 38px;
    background-repeat: no-repeat;
}

.layout-top-nopy .intro h2 {
    font-size: 1.3rem;
    font-weight: bold;
    color: rgb(82,82,82);
    text-transform: none;
    margin-bottom: 0;
}

.layout-top-nopy .intro h3 {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgb(82,82,82);
    font-style: italic;
    text-transform: none;
    margin-top: 0;
}

.layout-top-nopy .state-box button.copy {
    border: 0;
    border-radius: 4px;
    padding: 6px;
    background: rgb(240,240,240);
    white-space: nowrap;
    margin-right: 1rem;
    cursor: pointer;
}

.layout-top-nopy .state-box button.copy:hover {
    background: rgb(255,255,255);
}

.layout-top-nopy .outro ol {
    list-style: none;
    counter-reset: outro;
}

.layout-top-nopy .outro ol li {
    counter-increment: outro;
    position: relative;
    height: 1rem;
}

.layout-top-nopy .outro ol li:not(:last-child) {
    margin-bottom: 1rem;
}

.layout-top-nopy .outro ol li:before {
    content: counter(outro);
    background: rgba(0,0,0,0.1);
    position: absolute;
    --size: 24px;
    border-radius: var(--size);
    left: calc(-1 * var(--size) - 10px);
    line-height: var(--size);
    width: var(--size);
    height: var(--size);
    top: -2px;
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
}

.layout-top-nopy .outro code {
    color: #efefef;
    background: #353537;
    border-radius: 4px;
    display: inline-block;
    padding: 2px 6px;
    border: 0;
}