.Modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

.Modal-Content {
    position: fixed;
    bottom: 0;
    background-color: #fefefe;
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}

.MClose {
    float: right;
    width: 6rem;
    font-size: 1.3rem;
    color: white;
    background: #009DE0;
    padding: 5px 0 5px 0;
    text-align: center;
    margin-right: 0;
    margin-top: -5px;
    border-radius: 0 0 0 15px;
}

.SClose {
    color: #2B2B2B;
    float: right;
    font-size: 2.2rem;
    font-weight: bold;
    margin-right: 15px;
    margin-top: -10px;
}

.MClose:hover,
.MClose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}


@-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}