body.open-modal {
    overflow: hidden;
}

.modal {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    overflow: hidden;
    z-index: -1;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.modal.show {
    display: block;
    z-index: 3000;
    visibility: visible;
    opacity: 1;
}

.modal.show .modal-overlay {
    opacity: 0.9;
}

.modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(30, 30, 30);
    opacity: 0;
    z-index: 1;
    cursor: pointer;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.modal .modal-overlay:hover {
    opacity: 0.8;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.modal .modal-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 1140px;
    width: -webkit-calc(100% - 80px);
    width: -moz-calc(100% - 80px);
    width: calc(100% - 80px);
    max-height: -webkit-calc(100% - 80px);
    max-height: -moz-calc(100% - 80px);
    max-height: calc(100% - 80px);
    height: auto;
    margin: 0;
    z-index: 2;
    background: #fff;
    box-shadow: 0 0 8px rgba(196, 217, 219, 0.5);
    border-radius: 8px;
    padding: 50px 60px 60px;
    color: #303031;
}

.modal .modal-close {
    cursor: pointer;
    opacity: 1;
    /*visibility: hidden;*/
    z-index: 99997;
    -webkit-transition: opacity .25s ease, visibility 0s ease .25s;
    -o-transition: opacity .25s ease, visibility 0s ease .25s;
    -moz-transition: opacity .25s ease, visibility 0s ease .25s;
    transition: opacity .25s ease, visibility 0s ease .25s;
    box-shadow: none;
    display: block;
    margin: 0;
    padding: 10px;
    position: absolute;
    vertical-align: top;
    visibility: inherit;
    right: 8px;
    top: 8px;
    border-radius: 50%;
    border: 2.5px #fff solid;
    width: 36px;
    height: 36px;
    background-color: unset;
}

.modal .modal-close svg {
    display: block;
}

.modal .modal-close svg path{
    fill: #fff;
}

.modal .close:hover {
    opacity: .7;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

#media-video.modal .modal-wrapper {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;}

#media-video.modal .modal-wrapper .modal-body {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
}

#media-video.modal .modal-wrapper iframe{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);}
