/*微信弹出框样式*/
.modal {
    display: none;
}

.modal__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999999999;
    opacity: 0;
    transition: opacity 0.2s;
    will-change: opacity;
    background-color: #000;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.modal__header {
    /* Optional */
    padding: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.modal__close {
    /* Optional */
    margin: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%0A%3Csvg width='15px' height='16px' viewBox='0 0 15 16' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='2.-Menu' transform='translate(-15.000000, -13.000000)' stroke='%23000000'%3E%3Cg id='Group' transform='translate(15.000000, 13.521000)'%3E%3Cpath d='M0,0.479000129 L15,14.2971819' id='Path-3'%3E%3C/path%3E%3Cpath d='M0,14.7761821 L15,-1.24344979e-14' id='Path-3'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    width: 15px;
    height: 15px;
}

.modal__wrapper {
    width: 100%;
    z-index: 999900000000000000000000000;
    overflow: auto;
    opacity: 0;
    max-width: 540px;
    max-height: 80vh;
    transition: transform 0.2s, opacity 0.2s;
    will-change: transform;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    -webkit-transform: translateY(5%);
    transform: translateY(5%);
    -webkit-overflow-scrolling: touch; 
    box-shadow: 0 2px 6px #777;
    border-radius: 5px;
    margin: 30px;
}

.modal__content {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    flex-grow: 1;
    /* Optional */
    padding: 0.5rem 1rem;
}

.modal__content p{
    color: #555;
    font-size: 1rem;
    margin: 0.4rem 0;
    text-align: center;
}

.modal__content p.tit{
    color: #222;
    /*font-size: 1.2rem;*/
    font-weight: bold;
    padding: 0.2rem 1rem;
}

.modal.is-active {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
}

.modal.is-visible .modal__wrapper {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.modal.is-visible .modal__overlay {
    opacity: 0.5;
}


/*微信悬浮图标样式*/
.modal-float {
    height: 50px;
    width: 50px;
    bottom: 30px;
    right: 20px;
    position: fixed;
    z-index: 9999;
    border: 0px solid #f00;
}

.modal-float img {
    width: 100%
}

.modal-float-anima {
    animation-name: likes;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-duration: 1s;
}

@keyframes likes {
    0% { transform: scale(1); }
    25% { transform: scale(0.9); }
    50% { transform: scale(0.85); }
    75% { transform: scale(0.9); }
    100% { transform: scale(1); }
}