@animationDuration: 0.3s;

.initate-mobileModalouter {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    .initate-mobileModalmask {
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        &.initate-mobileModalmask-animationIn {
            animation-name: animation-initate-mobileModalmask;
            animation-duration: @animationDuration;
            animation-direction: normal;
        }
        &.initate-mobileModalmask-animationOut {
            animation-name: animation-initate-mobileModalmask;
            animation-duration: @animationDuration;
            animation-direction: reverse;
        }
    }
    .initate-mobileModalcontent {
        position: absolute;
        bottom: 0;
        background-color: white;
        width: 100%;
        // height: 400px;
        box-sizing: border-box;
        padding: 0 12px;
        padding-bottom: 14px;
        display: flex;
        flex-direction: column;
        &.initate-mobileModalcontent-animationIn {
            animation-name: animation-initate-mobileModalcontent;
            animation-duration: @animationDuration;
            animation-direction: normal;
        }
        &.initate-mobileModalcontent-animationOut {
            animation-name: animation-initate-mobileModalcontent;
            animation-duration: @animationDuration;
            animation-direction: reverse;
        }
    }
    .initate-mobileModalchildren-content {
        flex: 1;
    }
    .initate-mobileModalclose {
        position: absolute;
        left: 16px;
        top: 12px;
        img {
            width: 18px;
            vertical-align: bottom;
        }
    }
    .initate-mobileModalfooter {
        color: #FFFFFF;
        width: 100%;
        text-align: center;
    }
    .initate-mobileModaltitle {
        color: #333333;
        font-size: 18px;
        line-height: 25.2px;
        text-align: center;
        margin-top: 12px;
        span {
            display: inline-block;
        }
    }
}

@keyframes animation-initate-mobileModalmask {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes animation-initate-mobileModalcontent {
    from {
        opacity: 0.3;
        transform: translateY(80%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}