.show-more {
    display: none;
}

.show-more:checked + .modal {
    visibility: visible;
}

.show-more:checked + .modal:after {
    zoom: 1;
    opacity: 1;
}

.modal {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
}

.modal .modal-close {
    cursor: pointer;
    color: #fff;
    font-size: 105px;
    position: absolute;
    right: 1rem;
    top: -4.6rem;
    z-index: 100;
}

.modal .modal-close:hover {
    color: #0d635a;
}

.modal:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: '';
    background: rgba(20, 154, 143, 0.84);
    zoom: 1;
    opacity: 0;
    transition: all ease 0.5s;
}

.modal .modal-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    max-width: inherit;
}

@media only screen and (min-width: 768px) {
    .modal .modal-inner {
        padding: 2rem;
        position: absolute;
        background: #fff;
        top: 3.5rem;
        left: 50%;
        width: 100%;
        max-width: 800px;
        max-height: 80%;
        overflow: scroll;
        border-radius: 4px;
        background-clip: padding-box;
        zoom: 1;
        opacity: 0;
        transition: all cubic-bezier(0.83, -0.35, 0.15, 1.48) 0.5s;
        transform: translate(-50%, 0) scale(0.8);
    }

}

@media only screen and (max-width: 767px) {
    .modal {
        font-size: 90%;
    }
    .modal .modal-inner {
        padding: 1rem;
        position: absolute;
        background: #fff;
        top: 0;
        left: 50%;
        width: 100%;
        height: 100%;
        max-height: 100%;
        overflow: scroll;
        border-radius: 0;
        zoom: 1;
        opacity: 0;
        transition: all cubic-bezier(0.83, -0.35, 0.15, 1.48) 0.5s;
        transform: translate(-50%, 0) scale(0.8);
    }

    .modal .modal-close {
        color: #149A8F;
    }
}

.show-more:checked + .modal .modal-inner {
    zoom: 1;
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}
