.select_option {
    width: max-content;
    margin: 30px;
}

.select_option input {
    display: none;
}

.select_option label {
    flex-wrap: wrap;
    max-width: calc(100vw-110px);
    background: #292727;
    border-radius: 5px;
    border: 2px solid #292727;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px 10px 10px 20px;
}

.select_option label img {
    margin-left: 20px;
}

.select_option input:checked+label {
    border: 2px solid #ff9801;
    box-shadow: 1px 1px 10px #bb730829;
}

.cb {
    width: 20px;
    height: 20px;
    background: #FFF;
    border-radius: 3px;
    margin-right: 20px;
    border: 1px solid #ccc;
    position: relative;
}

.cb:hover {
    border: 1px solid #bbb;
}

.select_option input:checked+label .cb {
    border: 1px solid #ef9801;
}

.select_option input:checked+label .cb:before {
    content: '';
    border-left: 3px solid #ef9801;
    border-bottom: 3px solid #ef9801;
    position: absolute;
    top: 5px;
    left: 2px;
    transform: rotate(305deg);
    width: 10px;
    height: 3px;
}

select {
    background: #f7f7f7;
    background-image: 0 rgba(255, 255, 255, 0);
    border: 1px solid #d1d1d1;
    border-radius: 2px;
    padding: .55em .4375em;
}

.input_field {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 10px 0;
}

.input_field :not(:first-child) {
    margin-left: 10px;
}

.input_field label {
    white-space: nowrap;
    min-width: 150px;
}

h3 {
    margin-bottom: 0;
}

.tab_body {
    max-width: 600px;
    background: #292727;
    border-radius: 5px;
    display: block;
    padding: 10px;
}

.tabs input {
    display: none;
}

.tabs label {
    display: inline-block;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-bottom: -10px;
    cursor: pointer;
    padding: 10px 10px 20px;
}

.tabs input:checked+label {
    background: #292727;
}

span.sub {
    display: block;
    font-size: .8em;
    color: #a5a5a5;
    font-style: oblique;
    white-space: break-spaces;
    line-height: 1.2;
}

#fw {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

#page {
    width: 620px;
    padding-right: 20px;
}

.preview {
    margin-bottom: 10px;
    float: right;
    margin-left: 2rem;
}

input[type=file],
input[type=date] {
    width: 100%;
}

select,
input[type=date] {
    background: #f7f7f7;
    background-image: 0 rgba(255, 255, 255, 0);
    border: 1px solid #d1d1d1;
    border-radius: 2px;
    padding: .55em .4375em;
}

@media only screen and max-width 600px {
    .select_option {
        display: block;
        width: 100%;
        margin: 20px 0;
    }
    .select_option label {
        display: block;
        width: 100%!important;
        max-width: unset;
    }
    .select_option label.cb {
        display: inline-block;
    }
    .select_option label div {
        display: inline-block;
        vertical-align: middle;
    }
    .select_option label img {
        display: block;
        clear: both;
        max-width: calc(100%-45px);
        height: auto;
        margin-top: 10px;
        margin-bottom: 5px;
        margin-left: 40px;
    }
    .preview {
        float: unset;
        display: block;
        text-align: center;
        margin: 0 auto;
    }
    .input_field {
        display: block;
    }
    .input_field label {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }
    .input_field input,
    .input_field select {
        margin: 0!important;
    }
    #cat_custom {
        margin-top: 10px!important;
    }
}