body {
    background-color: #f9f9f9;
    margin: 0 20px;
    font-family: sans-serif;
}

input {
    margin-top: 10px;
}

input[type='radio'], label{
    cursor: pointer;
    margin: 20px 0px 0px;
}

input[type='text'] {
    height: 30px;
    outline: none;
    padding: 0 10px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid rgba(128, 128, 128, 0.418);
}

input[type='button'] {
    height: 32px;
    cursor: pointer;
    padding: 0 15px;
    border-radius: 30px;
    border: 1px solid #aaa;
    background-image: linear-gradient(#f8f8f8, #d8d8d8);
}

input[type='button']:hover {
    border: 1px solid #e0e0e0;
    background-image: linear-gradient(#fff, #ddd);
}

.main {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 7px;
    background-color: white;
    box-shadow: 1px 1px 10px 2px rgba(128, 128, 128, 0.315);
}

.boxs, .steps-boxs {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    justify-content: center;
}

.box, .steps-box {
    width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 10px;
    display: inline-block;
    border: 1px dashed gray;
    border-right: none;
    text-align: center;
    background-color: #aaaaaa50;
    position: relative;
}

.box:last-child, div.steps-box:last-child {
    border: 1px dashed gray;
}

.step {
    margin-right: 20px;
    line-height: 45px;
}

.steps {
    margin-top: 0px;
}

.step::after {
    content:  ' 'attr(data-step)': ';
}

.bgGreen { background-color: rgba(152, 251, 152, 0.479); }
.bgRed { background-color: rgba(255, 0, 0, 0.466); }
.bgBlue { background-color: rgba(0, 17, 255, 0.301); }

.box::after {
    content: attr(data-content);
    position: absolute;
    bottom: -25px;
    right: 6px;
    z-index: 99;
}