.material-input-group {
    position: relative;
    width: 100%;
    height: 100%;
}

.material-input-group .ig-label {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: block;
    color: #ccc;
    font-size: 20px;
    transform-origin: left top;
    max-width: calc(100% - 24px);
    transform: translate(14px, 16px) scale(1);
    transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms, transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms, max-width 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
}
.material-input-group .ig-label-focused {
    max-width: calc(133% - 32px);
    transform: translate(13px, -11px) scale(.75);
    background: #fff;
    padding: 0 5px;
    z-index: 3;
}
.material-input-group .ig-label-line {
    color: #007AFF;
}
.material-input-group .ig-input {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    font-size: 24px;
    background: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: relative;
    z-index: 2;
}
.material-input-group .ig-input.ig-input-psd {
    padding: 0 52px 0 15px;
}
.material-input-group .ig-input .finput {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 1em;
    background: none;
    border: 0;
    outline: none;
    font-size: 24px;
}
.material-input-group .ig-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -.18rem;
    z-index: 2;
    cursor: pointer;
    width: .36rem;
    height: .36rem;
}
.material-input-group .ig-icon.ig-open-icon {
    background: url(./../images/psd-open-icon.png) no-repeat center center;
    background-size: contain;
}
.material-input-group .ig-icon.ig-close-icon {
    background: url(./../images/psd-close-icon.png) no-repeat center center;
    background-size: contain;
}
.material-input-group .ig-tip {
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    z-index: 2;
    color: #f00;
    font-size: 12px;
    padding: 0 14px;
}

.material-input-group.group-focuse .ig-label {
    color: #007AFF;
}
.material-input-group.group-focuse .ig-input {
    border: 1px solid #007AFF;
}

.material-input-group.group-error .ig-input {
    border: 1px solid #f00;
}
.material-input-group.group-error .ig-label {
    color: #f00;
}
@media screen and (max-width: 1000px) {
    .material-input-group .ig-icon {
        margin-top: -.3rem;
        width: .6rem;
        height: .6rem;
    }
}

@media screen and (max-width: 785px) {
    .material-input-group .ig-label {
        font-size: 14px;
        transform: translate(14px, 10px) scale(1);
    }
    .material-input-group .ig-label-focused {
        max-width: calc(133% - 32px);
        transform: translate(13px, -7px) scale(.75);
    }
    .material-input-group .ig-input .finput {
        font-size: 16px;
    }
    .material-input-group .ig-icon {
        margin-top: -.18rem;
        width: .36rem;
        height: .36rem;
    }
    .material-input-group .ig-tip {
        bottom: -16px;
        font-size: 10px;
    }
}