html,
body {
    min-height: 100%;
}


form{
    padding: 0;
    margin: 0;
    outline: none;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 25px;
}

h1 {
    position: absolute;
    margin: 0;
    font-size: 32px;
    color: #fff;
    z-index: 2;
}

.testbox {
    display: flex;
    justify-content: center;
    align-items: center;
    height: inherit;
    padding: 20px;
}

form {
    width: 100%;
    padding: 20px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 0 20px 0 #9c3ec5;
}

.banner {
    position: relative;
    height: 80px;
    background-image: url("/uploads/media/default/0001/02/8ca4045044162379597641472fa0bb5489ba418f.jpeg");
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner::after {
    content: "";
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    width: 100%;
    height: 100%;
}

input,
textarea,
select {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}


input {
    width: calc(100% - 20px);
    padding: 5px;
}

select {
    width: 100%;
    padding: 7px 0;
    background: transparent;
}

textarea {
    width: calc(100% - 12px);
    padding: 5px;
}

.lab {
    flex-wrap: wrap;
    justify-content: space-between;
}

.esq_i {
    width: calc(50% - 25px);
    height: 26px;
}

.dir_i {
    width: calc(50% - 25px);
    height: 26px;
    margin-left: 5px;
}

.tot_i {
    width: calc(100% - 15px);
    height: 26px;
}

button {
    width: 125px;
    height: 45px;
    font-size: 17px;
}

legend {
    margin-left: 30px;
}


.item {
    position: relative;
    margin: 10px 0;
}

input[type=radio],
input.other {
    margin-left: 30px;
    position: absolute;
    display: none;
}

label.radio {
    position: relative;
    display: inline-block;
    margin: 5px 20px 10px 0;
    cursor: pointer;
}

.check {

    position: relative;
    margin-left: 0;
}


@media (min-width: 570px) {

    .duplos {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .duplos input {
        width: calc(50% - 20px);
    }

    .duplos select {
        width: calc(50% - 8px);
    }
}