.form{
    border: 1px dashed black;
    width: 320px;
    position: relative;
}

.form .section{
    border: 1px dashed black;
    margin: 5px 0;
}

.form .section{
    width: 100%;
    font-family: 'Oswald';
}

.form .section h2, .form .section h3{
    text-align: center;
    font-weight: normal;
}

.form .section h2{
    color:black;
}


.form .section > div{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.form .section > div:last-child{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}


.form .section > div input,.form .section > div select{
    width: 95%;
    height:  50px !important;
    outline: none;
    text-indent: 10px;
    font-size: 15px;
    border-radius: 5px;
    border: 1px solid lightgrey;
    background: transparent;
    z-index: 2;
    padding-top: 10px;
    -webkit-transition: all 0.5s ease;
}
.form .section > div select{
    padding-top: 0;
}

.form .section > div{
    position: relative;
}
.form .section label{
    position: absolute;
    top: 7px;
    width: 95%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-indent: 10px;
    font-size: 10px;
    opacity: 1;
    -webkit-transition: all .5s ease;
}

.form .section > div input:placeholder-shown{
    height: 30px !important;
    padding-top: 0;
}

.form .section > div input:placeholder-shown+label{
    opacity: 0;
}


.form .section-header{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form .section-header h2{
    margin-bottom: 0;
}

.is-valid input, .is-valid select{
    border: 1px solid #28a745 !important;
    color: #28a745;
}

.is-valid label{
    color: #28a745;
}

.is-invalid label{
    color: #dc3545;
}

.is-invalid input, .is-invalid select{
    border: 1px solid #dc3545 !important;
    color: #dc3545;
}

.form button{
    background: #da291c;
    margin: 10px auto;
    color: white;
    border-radius: 10px;
    width: 220px;
    height: 40px;
    font-size: 20px;
    border: none;
    font-family: Oswald;
    cursor: pointer;
}

.form button.disabled{
    opacity: .4;
    cursor: not-allowed;
}

.loading{
    width: 100%;
    height: 0%;
    position: absolute;
    background: rgba(0,0,0,.9);
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
    -webkit-transition: .5s all ease;
}
.loading h3{
    font-size: 24px !important;
    font-family: 'Oswald',sans-serif !important;
}

.loading.show{
    height: 100%;
}

.d-none{
    display: none !important;
}


.periodic-items{
    display:  flex;
    flex-direction: column;
    padding: 0px 10px !important;
}

.amount-container{
    display:  flex;
    border: 2px solid lightgrey;
    margin-bottom: 5px;
    padding: 3px 5px;
    border-radius: 5px;
    justify-content: space-around;
    align-items: center;
    color: black !important;
}

.amount-number{
    font-size: 30px;
    height: 100%;
    display: flex;
}
.amount-description{
    width: 70%;
}

.form-unique-items,.form-periodic-items{
    flex-direction: column;
    padding: 0 10px;
}

.white{
    color: white!important;
}

.periodic-buttons__container .inactive{
    opacity: .5;
}

.periodic-buttons__container{
    justify-content: space-around;
}

.periodic-buttons__container > button{
    width: 40% !important;
    font-size: 1.5rem;
}

h3,h2{
    min-height: unset !important;
}

.section-header{
    margin-bottom: 10px !important;
}

.backButton{
    position: absolute;
    top: -23px;
    background: white !important;
    color: black !important;
    width: 29px !important;
    border: 1px solid lightgray !important;
    left: -13px;
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, .2);
}

.amount-description{
    line-height: 24px !important;
}
