#form_operate {
    background-color: #dbdbdb;
    width: 100%;
    max-width: 750px;
    margin: auto;
    padding: 10px 30px 20px;
}

.form-title {
    font-family: GothamBold;
    color: #880000;
    font-size: 26px;
    text-align: center;
}

.step {
    border: 2px solid #b5b5b5;
    padding: 10px 20px;
    width: 100%;
    margin: 20px auto;
    background-color: #ececec;
}

.step_head {
    border: 1px solid #919191;
    color: white;
    display: flex;
}

.step_number {
    background-color: #880000;
    width: 90px;
    text-align: center;
    padding: 7px 0;
    font-size: 13pt;
}

.step_title {
    background-color: #919191;
    padding: 7px 15px;
    font-size: 13pt;
    flex-grow: 1;
}

.step_content {
    border: 1px solid #b5b5b5;
    margin: 10px 0;
    padding: 10px;
}

label.btn {
    display: block;
}

.btn {
    font-size: 13pt;
    background: linear-gradient(white, #aaaaaa);
    width: 250px;
    text-align: center;
    margin: 10px auto;
    padding: 10px 0;
    border: 1px solid #cdcdcd;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    background: linear-gradient(#aaaaaa, white);
}

.step p {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    line-height: 16px;
}

.detected-field:nth-child(1) {
    margin-right: 30px;
}

.detected-field {
    display: inline-block;
    vertical-align: middle;
    width: calc(50% - 15px);
}

.detected-field label {
    font-size: 13pt;
    font-family: Arial, sans-serif;
    display: inline-block;
    vertical-align: middle;
    width: 140px;
}

.detected-field input {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 140px);
    border: 1px solid gray;
    outline: none !important;
    font-size: 13pt;
    padding: 5px 10px;
    text-align: center;
}

.step_content_title {
    border-bottom: 1px solid #b5b5b5;
    font-size: 13pt;
    padding: 0 20px 10px;
    margin: 0 -10px;
    position: relative;
}

.reset {
    position: absolute;
    cursor: pointer;
    right: 15px;
    top: -7px;
}

.line {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.line img {
    cursor: pointer;
    margin: 0 5px;
}

.line img:first-of-type {
    margin-left: 0;
}

.line img:last-of-type {
    margin-right: 0;
}

.line .value {
    font-size: 13pt;
    text-align: center;
    width: 100%;
}

.range-wrapper {
    width: calc(100% - 222px);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
}

.range-wrapper .slider {
    margin: 0;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    outline: none;
    background-color: #515151;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 30px;
    width: 30px;
    background: linear-gradient(white, #aaaaaa);
    box-shadow: 0 2px 7px black;
    border-radius: 50%;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: linear-gradient(white, #aaaaaa);
    box-shadow: 0 2px 7px black;
    cursor: pointer;
}

.play_preview, .play_original {
    color: white;
    font-size: 14pt;
    text-align: center;
    line-height: 25px;
    width: 230px;
    display: inline-block;
    vertical-align: middle;
    padding: 7px 0;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.play_preview {
    background-color: #880000;
}

.play_preview:hover {
    background-color: #6f0000;
}

.play_original {
    background-color: #4e4e4e;
    margin-right: 30px;
}

.play_original:hover {
    background-color: #3d3d3d;
}

.play_original img, .play_preview img {
    width: 25px;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.text_centr {
    display: flex;
    justify-content: center;
}

.field {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

label[for="extension"] {
    font-size: 13pt;
    margin-right: 10px;
}

#extension {
    font-size: 13pt;
}

.minimized .step_content {
    display: none;
}

.ajax_loader_uploading {
    width: 35px;
    margin: -9px 0;
}

label[for="choose"] span {
    display: block;
    text-align: center;
    max-height: 17px;
    max-width: 95%;
    margin: auto;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 0.9em;
}

.loading_preview {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999999;
}

.loading_preview img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
}

.ajax_loader_main {
    display: block;
    max-width: 100%;
    margin: 50px auto;
}

a.download_b {
    display: block;
    text-decoration: none;
    color: black;
}

a.main_page:hover {
    text-decoration: underline;
}

a.main_page {
    font-size: 11pt;
    display: block;
    margin: 20px 0 0 0;
    text-align: center;
    color: black;
    font-style: italic;
    text-decoration: none;
}

@media (max-width: 768px) {
    .form-title {
        font-size: 20px;
    }

    #form_operate {
        padding: 10px;
    }

    .step {
        padding: 10px;
        margin: 10px auto;
    }

    .step_number {
        width: 70px;
        padding: 5px 0;
        font-size: 11pt;
    }

    .step_title {
        padding: 5px 15px;
        font-size: 11pt;
    }

    .btn {
        font-size: 11pt;
        width: 220px;
    }

    .detected-field label {
        font-size: 11pt;
        width: 115px;
    }

    .detected-field input {
        width: calc(100% - 115px);
        font-size: 11pt;
        padding: 4px 7px;
    }

    .step_content_title {
        font-size: 11pt;
        padding: 0 15px 10px;
    }

    .reset {
        right: 10px;
        top: -5px;
        width: 25px;
    }

    .line img {
        width: 30px;
    }

    .range-wrapper {
        width: calc(100% - 170px);
    }

    .line .value {
        font-size: 11pt;
    }

    .play_original img, .play_preview img {
        width: 20px;
    }

    .play_preview, .play_original {
        font-size: 11pt;
        line-height: 20px;
        width: 180px;
    }
    label[for="extension"] {
        font-size: 11pt;
    }
    #extension {
        font-size: 11pt;
    }
    .slider::-webkit-slider-thumb, .slider::-moz-range-thumb {
        height: 20px;
        width: 20px;
    }
}
@media (max-width: 470px) {
    .detected-field {
        display: block;
        margin: auto;
        width: 100%;
        max-width: 200px;
    }
    .detected-field:nth-child(1) {
        margin-right: auto;
        margin-bottom: 10px;
    }
    .text_centr {
        flex-direction: column;
        align-items: center;
    }
    .play_original {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .line img {
        margin: 0;
    }
    .range-wrapper {
        width: calc(100% - 130px);
        margin: 0 5px;
    }
}
@media (max-width: 400px) {
    label[for="extension"] {
        text-align: right;
    }
}