a.cc_modal_first_btn {
    color: #000;
    text-transform: uppercase;
    text-align: center;
    display: block !important;
}

a.cc_modal_first_btn:before {
    content: '';
    background: url(../img/chevron_down.svg) center/50% auto no-repeat;
    border: 3px solid #86bd27;
    border-radius: 50%;
    display: block;
    position: relative;
    width: 2rem;
    height: 2rem;
    margin: 0 auto 1rem;
}

/* hide the old download links */
a[title="EWE-Schweigepflicht-Version2.0.pdf"] {
    display: none !important;
}
a[title="EWE-Risikovoranfrage-Version2.0.pdf"] {
    display: none !important;
}

.cc_modal_window {
    text-align: center;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.25);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}
@media (max-width: 768px) {
    .cc_modal_window {
        position: absolute;
        top: -150px;
    }
}
.cc_modal_window:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.cc_modal_window > div {
    width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    background: white;
    border: 2px solid #86BD27;
    hyphens: auto;
}
@media (max-width: 768px) {
    .cc_modal_window > div {
        width: 100%;
    }    
}
.cc_modal_close {
    color: #aaa;
    line-height: 50px;
    font-size: 80%;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 70px;
    text-decoration: none;
}
.cc_modal_close:hover {
    color: black;
}
.cc_modal_container {
    display: grid;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
}
.cc_modal_window > div {
    border-radius: 1rem;
}
.cc_modal_window div:not(:last-of-type) {
    margin-bottom: 15px;
}
.cc_modal_btn {
    color: white;
    background-color: #86BD27;
    padding: 1em 1.5em;
    text-decoration: none;
}
.cc_modal_btn:hover {
    color: white;
}
.cc_modal_btn i {
    padding-right: 0.3em;
}
