.modal-layover{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0.8;
    background: black;
}
.modal-content{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
}
.modal-close{
    position: fixed;
    top: 50px;
    right: 50px;
    z-index: 10002;
    color: white;
    font-weight: bold;
    font-size: 35px;
    cursor: pointer;
}


.publication-file{
    cursor: pointer;
}

.menu-links.parent-links.sticky-on{

    top: 95px;
    width: 100%;
    z-index: 1000;
    max-width: 300px;
}

.owl-demo .item{
    margin: 3px;
}
.owl-demo .item img{
    display: block;
    width: 100%;
    height: auto;
}

.gallery-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(0,0,0,0.8);
    z-index: -9999;
    opacity: 0;
}
.gallery-modal.active{
    z-index: 9999;
    opacity: 1;
}

.gallery-modal-content{
    width: 90%;
    height: 85%;
    display: block;
    margin: 5% auto 0 auto;
    background: black;
}

.owl-carousel.modal-carousel .owl-item img{
    width: auto !important;
    display: block;
    margin: auto;
}

.owl-carousel.modal-carousel .owl-nav .owl-prev{
    color: white;
    font-size: 50px;
    position: absolute;
    left: 10px;
    top: 50%;
}
.owl-carousel.modal-carousel .owl-nav .owl-next{
    color: white;
    font-size: 50px;
    position: absolute;
    right: 10px;
    top: 50%;
}

.close-modal{
    float: right;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: black;
    border-radius: 50%;
    margin-top: -12px;
    margin-right: -12px;
    text-align: center;
    font-weight: bold;
    line-height: 30px;
    position: relative;
    z-index: 1000000;
}

.item .caption{ position: relative !important; }

.gallery-modal.single-img{
    overflow-y: scroll;
}

.gallery-modal.single-img img{
    display: block;
    margin: auto;
    width: 90%;
    max-width: 100%;
}

.gallery-modal.single-img .gallery-modal-content{
    margin-bottom: 50px;
}