#modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    background: #303850b8;
    z-index: 99999;
    height: 100%;
    width: 100%
}

#modalOverlay .modalPopup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 70%;
    padding: 0 0 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px 2px #c89d66;
    -moz-box-shadow: 0 0 20px 2px #c89d66;
    -webkit-box-shadow: 0 0 20px 2px #c89d66;
    overflow: hidden
}

#modalOverlay .modalContent {
    padding: 2em 2em 0
}

#modalOverlay .headerBar {
    width: 100%;
    background: 0 0/cover #262b3e;
    margin: 0;
    text-align: center
}

#modalOverlay .headerBar h1 {
    padding: 20px 10px;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    text-transform: capitalize;
    color: #fff;
    margin: 0;
}

#modalOverlay .model-icons i {
    color: #c89d66
}

#modalOverlay .model-icons li a {
    padding-left: 20px;
    display: block
}

#modalOverlay .model-icons li:before {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    color: #c89d66;
    font-weight: 900;
    position: absolute
}

#modalOverlay p {
    margin: .75em 0 1.5em;
    color: #262b3e;
    line-height: 1.8;
}

#modalOverlay .buttonStyle {
    border: transparent;
    border-radius: 0;
    background: #6d6d6d;
    color: #eee !important;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 6px 25px;
    text-decoration: none;
    background: -moz-linear-gradient(top, #6d6d6d 0, #1e1e1e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6d6d6d), color-stop(100%, #1e1e1e));
    background: -webkit-linear-gradient(top, #6d6d6d 0, #1e1e1e 100%);
    background: -o-linear-gradient(top, #6d6d6d 0, #1e1e1e 100%);
    background: -ms-linear-gradient(top, #6d6d6d 0, #1e1e1e 100%);
    background: linear-gradient(to bottom, #6d6d6d 0, #1e1e1e 100%);
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
    transition: 1s
}

#modalOverlay .buttonStyle:hover {
    background: #1e1e1e;
    color: #fff;
    background: -moz-linear-gradient(top, #1e1e1e 0, #6d6d6d 100%, #6d6d6d 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #1e1e1e), color-stop(100%, #6d6d6d), color-stop(100%, #6d6d6d));
    background: -webkit-linear-gradient(top, #1e1e1e 0, #6d6d6d 100%, #6d6d6d 100%);
    background: -o-linear-gradient(top, #1e1e1e 0, #6d6d6d 100%, #6d6d6d 100%);
    background: -ms-linear-gradient(top, #1e1e1e 0, #6d6d6d 100%, #6d6d6d 100%);
    background: linear-gradient(to bottom, #1e1e1e 0, #6d6d6d 100%, #6d6d6d 100%)
}

#modalOverlay .returnToProfile {
    text-align: center;
    margin: 3em
}

#modalOverlay .returnToProfile a,
.returnToProfile a:visited {
    color: #ddd
}

#modalOverlay .returnToProfile a:hover {
    color: #fff
}

@media screen and (max-width:1023px) {
    #modalOverlay .modalPopup {
        width: 95% !important;
        height: 600px;
        overflow-y: scroll
    }
}