#progress {
    min-width: 20%;
    display: none;
    margin: auto;
    margin-top: 30px;
}

#download, #result {
    text-align: center;
}

#download-lk {
    font-weight: 600;
}

#settings {
    display: none;
}

#settings-content {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.toggle {
    cursor: pointer;
}

.toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 50px;
    height: 26px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
}
.toggle-switch:before, .toggle-switch:after {
    content: '';
}
.toggle-switch:before {
    display: block;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-radius: 50%;
    width: 19px;
    height: 19px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left 0.25s;
}
.toggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.toggle-checkbox:checked + .toggle-switch {
    background: #447EB4;
}
.toggle-checkbox:checked + .toggle-switch:before {
    left: 26px;
}

.toggle-disabled {
    cursor: not-allowed;
    
    > .toggle-switch {
        background: rgba(204, 204, 204, .5);
    }
    > .toggle-switch:before {
        background: rgb(255, 255, 255, .5);
    }
    > .toggle-label {
        color: #818C8D;
        font-style: italic;
    }
}
.toggle-disabled:hover .toggle-switch:before {
    background: rgb(255, 255, 255, .5);
    box-shadow: none;
}

.toggle-checkbox {
    position: absolute;
    visibility: hidden;
}

.toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
}

.mode-switch {
    margin: 0px;
    position: relative;
}

.mode-switch > label.mode-switch-inner {
    margin: 0px;
    width: 240px;
    height: 34px;
    background: #E0E0E0;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: block;
    cursor: pointer;
}

.mode-switch > label.mode-switch-inner:before {
    content: attr(blood-up);
    position: absolute;
    top: 8px;
    right: 30px;
    color: #424242;
    font-size: 15px;
}

.mode-switch > label.mode-switch-inner:after {
    content: attr(blood-down);
    width: 120px;
    height: 20px;
    background: #fff;
    border-radius: 26px;
    position: absolute;
    left: 2px;
    top: 2px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 6px -2px #111;
    padding: 5px 0px;
}

.mode-switch input[type="checkbox"] {
    cursor: pointer;
    width: 50px;
    height: 25px;
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 1;
    margin: 0px;
}

.mode-switch input[type="checkbox"]:checked + label.mode-switch-inner:before {
    content: attr(blood-down);
    right: auto;
    left: 20px;
}

.mode-switch input[type="checkbox"]:checked + label.mode-switch-inner:after{
    content: attr(blood-up);
    left: 118px;
}
