body {
    text-align: center;
    background-color: #f8f8f8;
}

#allwrapper {
    margin: 0 auto;
    width: 80%;
}

.inputcap {
    font-size: 170%;
}

.fileSelector {
    padding: 10px 20px;
    margin: 10px;
    border: 1px solid #3f3f3f;
    border-radius: 5px;
    color: #ffffff;
    background-color: #3f3f3f;
    transition-property: background-color, color, border, box-shadow, -webkit-box-shadow, -moz-box-shadow;
    transition-duration: .1s;
    transition-timing-function: linear;
    cursor: pointer;
}

.fileSelector:hover {
    color: #000000;
    background-color: #b8b8b8;
    border: 1px solid #b8b8b8;
}

.fileSelector:active {
    -webkit-box-shadow: inset 0 0 5px 0 #838383;
    -moz-box-shadow: inset 0 0 5px 0 #838383;
    box-shadow: inset 0 0 5px 0 #838383;
}

.dashedsquare {
    display: inline-block;
    background-color: #ffffff;
    border: 1px dashed #000000;
    margin: 0 auto;
    margin-top: 10px;
    min-width: 300px;
    padding: 20px;
    text-align: left;
}

#formatwrapper {
    margin: auto;
    display: flex;
    justify-content: center;
}

#format {
    resize: none;
    width: 300px;
    height: 95%;
}

#placeholderButton {
    text-align: left;
}

.placeholder {
    display: block;
    background-color: #3f3f3f;
    border: 1px solid #3f3f3f;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 105%;
    cursor: pointer;
    margin: 5px;
    transition-property: background-color, color, border, box-shadow, -webkit-box-shadow, -moz-box-shadow;
    transition-duration: .1s;
    transition-timing-function: linear;
}

.samplebutton {
    display: inline-block;
    background-color: #3f3f3f;
    border: 1px solid #3f3f3f;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 105%;
    cursor: pointer;
    margin: 5px;
    transition-property: background-color, color, border, box-shadow, -webkit-box-shadow, -moz-box-shadow;
    transition-duration: .1s;
    transition-timing-function: linear;
}

.placeholder:hover {
    color: #000000;
    background-color: #b8b8b8;
    border: 1px solid #b8b8b8;
}

.placeholder:active {
    -webkit-box-shadow: inset 0 0 5px 0 #838383;
    -moz-box-shadow: inset 0 0 5px 0 #838383;
    box-shadow: inset 0 0 5px 0 #838383;
}

.samplebutton:hover {
    color: #000000;
    background-color: #b8b8b8;
    border: 1px solid #b8b8b8;
}

.samplebutton:active {
    -webkit-box-shadow: inset 0 0 5px 0 #838383;
    -moz-box-shadow: inset 0 0 5px 0 #838383;
    box-shadow: inset 0 0 5px 0 #838383;
}

#episodecheck {
    display: flex;
    justify-content: center;
}

.epCheckbox {
    display: none;
}

.epCheckbox+.epcboxdiv {
    cursor: pointer;
    display: inline-block;
    background-color: #3f3f3f;
    color: #ffffff;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 3px;
    transition-property: background-color, color;
    transition-duration: .1s;
    transition-timing-function: linear;
}

/* .epCheckbox+.epcboxdiv:hover {
    color: #000000;
    background-color: #b8b8b8;
} */

.epCheckbox:checked+.epcboxdiv {
    color: #000000;
    background-color: #b8b8b8;
}

/* .epCheckbox:checked+.epcboxdiv:hover {
    background-color: #3f3f3f;
    color: #ffffff;
} */

.epCheckbox:checked+.epcboxdiv .epcboxtext::before {
    content: "✓";
    display: inline;
}

#exec {
    margin: 5px;
    padding: 10px 20px;
    font-size: 100%;
    border-radius: 5px;
    background-color: #3f3f3f;
    border: 1px solid #3f3f3f;
    color: #ffffff;
    transition-property: background-color, color, border, box-shadow, -webkit-box-shadow, -moz-box-shadow;
    transition-duration: .1s;
    transition-timing-function: linear;
    cursor: pointer;
}

#exec:hover {
    color: #000000;
    background-color: #b8b8b8;
    border: 1px solid #b8b8b8;
}

#exec:active {
    -webkit-box-shadow: inset 0 0 5px 0 #838383;
    -moz-box-shadow: inset 0 0 5px 0 #838383;
    box-shadow: inset 0 0 5px 0 #838383;
}

#hidden_res {
    display: none;
}

#objdisp {
    display: none;
    width: 700px;
    height: 1000px;
    margin: 10px;
}

.output_wrap {
    display: flex;
    width: min(700px, 100%);
    margin: 0 auto;
    margin-bottom: 20px;
}

.output_obj {
    width: 80%;
}

.restxt {
    resize: none;
    width: 100%;
    height: 100px;
}

.output_copybtn {
    position: relative;
    flex: 1;
}

.output_copybtn button {
    display: block;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 40px;
    font-size: 100%;
    border-radius: 5px;
    background-color: #3f3f3f;
    border: 1px solid #3f3f3f;
    color: #ffffff;
    transition-property: background-color, color, border, box-shadow, -webkit-box-shadow, -moz-box-shadow;
    transition-duration: .1s;
    transition-timing-function: linear;
    cursor: pointer;
}

.output_copybtn button:hover {
    color: #000000;
    background-color: #b8b8b8;
    border: 1px solid #b8b8b8;
}