/*====================HCDN INPUT BOX====================*/
.hcdn-input-box{
    position: relative;
    padding-top: 17px;
    z-index: 1;
}
.hcdn-input-box input, 
.hcdn-input-box select,
.hcdn-input-box textarea{
    background-color: transparent;
    border: 0px;
    width: 100%;
    padding: 7px 0px;
    font-size: 14px;
    line-height: 15px;
    margin: 0px !important;
}
.hcdn-input-box input:focus, 
.hcdn-input-box select:focus, 
.hcdn-input-box textarea:focus{
    outline: none;
    box-shadow: inherit;
    background-color: transparent;
}
.hcdn-input-box select:active{
    background-color: transparent;
}
.hcdn-input-box > span{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hcdn-input-box > span:before{
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    bottom: 0px;
    left: 0px;
    background-color: #d2d2d2;
}
.hcdn-input-box.no-line > span:before{
    display: none;
}
.hcdn-input-box > span:after{
    position: absolute;
    content: "";
    width: 0%;
    height: 2px;
    bottom: 0px;
    left: 50%;
    background-color: #3483fa;
    z-index: 2;
    transition: 200ms all ease;
}
.hcdn-input-box.no-line > span:after{
    display: none;
}
.hcdn-input-box > span > label{
    position: absolute;
    top: 17px;
    left: 0px;
    width: 100%;
    margin: 5px 0px;
    font-size: 14px;
    line-height: 15px;
    cursor: text;
    transition: 200ms all ease;
    z-index: -1;
    color: #8F8F8F;
    font-weight: 300;
}
.hcdn-input-box > span > label > i {
    margin-right: 5px;
}
.hcdn-input-box input:focus ~ span > label,
.hcdn-input-box input:valid ~ span >label,
.hcdn-input-box input:disabled ~ span >label,
.hcdn-input-box input:read-only ~ span >label,
.hcdn-input-box select:focus ~ span > label,
.hcdn-input-box select:valid ~ span >label,
.hcdn-input-box select:disabled ~ span >label,
.hcdn-input-box select:read-only ~ span >label,
.hcdn-input-box textarea:focus ~ span > label,
.hcdn-input-box textarea:valid ~ span >label,
.hcdn-input-box textarea:disabled ~ span >label,
.hcdn-input-box textarea:read-only ~ span >label{
    top: -3px!important;
    font-size: 13px;
}
.hcdn-input-box input:focus ~ span:after,
.hcdn-input-box select:focus ~ span:after,
.hcdn-input-box textarea:focus ~ span:after{
    width: 100%;
    left: 0px;
}
.hcdn-input-box > .requerido {
    border-bottom: 2px solid #e4271a;
    border-radius: 0;
}
.hcdn-input-box input.is-invalid ~ span::before, 
.hcdn-input-box select.is-invalid ~ span::before,
.hcdn-input-box textarea.is-invalid ~ span::before{
    background-color: #ce6767;
}
.hcdn-input-box .hcdn-form-message.invalid-feedback{
    top: 100%;
    position: absolute;
}
.custom-select:disabled,
.form-control:disabled, .form-control[readonly] {
    color: #6c757d;
    background-color:#f1f1f1;
    padding-left: 8px;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active{
    box-shadow: 0 0 0 30px white inset !important;
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
.hcdn-input-box input, .hcdn-input-box select, .hcdn-input-box textarea {
    margin-bottom: 2px!important;
}

@-moz-document url-prefix() {
    .hcdn-input-box > span > label {
        top: 0px;
    }
    input:required {
        box-shadow:none;
    }
    input:invalid {
        box-shadow:0 0 3px transparent;
    }
} 
