.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-visible .modal-active {
    display:flex;
    flex-direction: column;
    justify-content:center;
}

.modal-content-wrapper {
    background: #851c55;
    color:#fff;
    margin: 0 auto;
    padding: 40px 20px;
    width: calc(100% - 40px);
    text-align: left;
    border-radius: 15px;
    position: relative;
}


#counseling-status-modal .modal-content-wrapper {
    text-align:center;
}

#counseling-status-modal .modal-content-wrapper p {
    font-size:20px;
    margin:0 auto;
    padding:0 20px;
}

#map-modal .modal-content-wrapper {
    padding:20px;
}

#map-modal .modal-content {
    position: relative;
    padding-bottom:56.25%;
}

#map-modal .modal-content iframe {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:0;
}

.modal-close-btn {
    position: absolute;
    top:20px;
    right:20px;
    z-index:1;
    width:36px;
    height:36px;
    background:url('../modal-assets/modal-icon-close.png') center center no-repeat;
    background-size:36px 36px;
    border:none;
    outline:none;
}

.modal-close-btn:hover {
    cursor:pointer;
}

.modal-content .eyebrow,
.modal-content h2 {
    color:#fff;
}

.modal-content h2 {
    border-bottom:1px solid #fff;
    font-size:24px;
}

.modal-content legend {
    float:none;
}

#counseling-status-modal .modal-content-wrapper {
    background-image:url('../modal-assets/modal-icon-phone.png');
    background-repeat:no-repeat;
    background-position:center calc(100% - 25px);
    background-size:40px 40px;
    padding-bottom:80px;
}

@media screen and (min-width:768px) {
    .modal-content-wrapper {
        padding: 40px 60px;
        width: calc(80% - 120px);
        max-width:750px;
    }

    .modal-close-btn {
        width:50px;
        height:50px;
        background-size:50px 50px;
    }

    #counseling-status-modal .modal-content-wrapper p {
        font-size:24px;
    }

    #counseling-status-modal .modal-content-wrapper {
        background-size:61px 61px;
        padding-bottom:120px;
        background-position:center calc(100% - 40px);
    }
}