  .modal-content{
    width: 80%;
    margin: 7px auto;
    z-index: 1;
}
.modal .modal-content {
    max-width: 100%;
    text-align: left;
    margin: 0 auto;
    vertical-align: middle;
    display: inline-block;
    position: relative;
}
.modal-body{
    margin: 0;
    text-align: center;
    width: 100%;
}
.modal{
    z-index: 2000;

}
.modal{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /*overflow: auto;*/
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.8);
}

.modal:focus{
    outline: none !important;
}
.modal .close-button {
    position: absolute;
    z-index: 10;
    top: 2%;
    right: 2%;
    width: 25px;
    height: 25px;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 3em;
}
.modal .modal-dialog {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    text-align: center;
}
.modal-dialog::before {
    height: 100%;
    display: inline-block;
    vertical-align: middle;
    content: '';
}
.modal .close-button:after {
    opacity: 0 !important;
}
.modal .close-button:focus {
    outline: none;
}
.modal .close-button img {
    display: block;
    max-width: 100%;
}
.modal-body video{
    display: none;
    }
.modal-media{
    width: 100%;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}
.modal-media .media-inner-container {
    display: grid;
    justify-content: center;
    align-items: center;
    width: 80%;
    /*top: 15%;*/
}
.modal-media .media-inner-container::before {
    content: '';
    width: 25%;

}
.modal-media img{
    width: 100%;
    max-height: 90vh;
    object-position: center;
    object-fit: contain;
    display:none;
}

