
.mb-3 {
    margin-bottom: 3rem !important;
}
.mb-5 {
    margin-bottom: 5rem  !important;
}
.text-center {
    text-align: center;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
     -webkit-appearance: none;
     margin: 0;
}
input[type="number"] {
     -moz-appearance:textfield;
}
input::-ms-clear {
    visibility:hidden
}

.form-control {
    display: flex;
}
.form-label {
    margin: 0;
    padding: 2% 4%;
    width: 30%;
    font-size: 1rem;
    font-weight: bold;
    color: #FFF;
    text-align: left;
    vertical-align: middle;
    background: #8C8988;
    border-bottom: 1px solid #DDDDDD;
}

.form-label.require {
    background: #8c8988 url(../../../..//common/images/other/cert_apply_require_mark.png) no-repeat right 10px top 1rem;
}
.form-body {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    width:70%;
}
.form-ui-input, .form-ui-select, .form-ui-textarea {
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: .9rem;
    outline: none;
    padding: .5rem;
    width: 100%;
}
.form-ui-textarea {
    min-height: 10rem;
    width: 100%;
}
.ui-error {
    background-color: pink;
    border-radius: 5px;
    color:#D31328;
    font-size: .8em;
    margin-top: .5rem;
    opacity: 0;
    padding: .5rem;
    transition: all .5s;
}
.ui-error.has-error {
    opacity: 1;
}
.btn_area {
    display:flex;
    justify-content: center;
}
.send_btn, .back_btn {
    margin-top: 5%;
    padding: 0;
    width: 300px;
    height: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    
    border-radius: 4px;
    cursor: pointer;
}
.send_btn {
    background: #CC3030 url(/common/images/other/action_btn_arrow.png) 90% center no-repeat;
    border: none;
    color: #FFF;
}
.back_btn {
    border: 1px solid #999;
    color: #999;
    margin-right: 3rem;
}
.top_btn {
    background: #cc3030;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: block;
    margin: 1rem auto;
    padding: .5rem;
    width: 80%;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    line-height: 50px;
}
@media screen and (max-width: 640px) {
    
    .form-control {
        flex-direction: column;       
    }
    .form-label, .form-body {
        width: 100%;
    }
    .btn_area {
        flex-direction: column-reverse;
    }
    .send_btn, .back_btn {
        width: 100%;
    }
    .form-label.require {
        background-position:  right 10px top .1rem;
    }
}