/*----------------------- Preloader -----------------------*/

.preloader-wrapper {
    height: 100%;
    width: 100%;
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
}

.preloader-wrapper .preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 120px;
}

#myModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    display: none;
}

#add-vote {
    display: none;
}

.modal-content {
    padding: 20px;
}

.not-active, .voted {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: black;
}

button.close:hover {
    cursor: pointer;
}

button.close {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 32px;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    cursor: pointer;
}

.display_none {
    display: none !important;
}

.attachment-single {
    text-align: center;
}

#foo-gallery-iframe-wrapper {
    display: block;
    border: none;
    width: 80%;
    height: 90%;
    position: fixed;
    z-index: 999999;
    top: 10%;
    left: 10%;
}


.foo-single-attachment {
    height: 500px;
    overflow: hidden;
    position: relative;
}

img.preload-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

iframe#foo-gallery-iframe {
    display: block;
    border: none;
    width: 100%;
    height: 100%;
    max-height: 650px;
}

.single.single-attachment header.site-header.sticky-container,
.single.single-attachment footer.footer.ptb2, .single.single-attachment .promo-banner.sitewide {
    display: none !important;
    height: 0;
}

h1.entry-title.single-attachment.m0 {
    display: none;
}

.attachment img, .foo-single-attachment a {
    max-width: 100%;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: black;
    height: auto;
    max-height: 100%;
    width: inherit;

}

.arrow-right, .arrow-left {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    right: 25px;
}

.arrow-left {
    left: 25px;
}

.result-img i.fa {
    font-size: 44px;
    color: #FFF;
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 1);
}

a.close-iframe {
    position: absolute;
    right: 10px;
    top: 10px;
}

.attachment-single {
    position: relative;
    padding: 0;
}

@media (max-width: 992px) {
    .arrow-right {
        right: 5%;
    }

    .arrow-left {
        left: 5%;
    }
}

@media (max-width: 767px) {
    .foo-single-attachment {
        height: initial;
    }

    #foo-gallery-iframe-wrapper {
        height: 50%;
    }
}

.single-image-info{
    padding-top: 10px;
}

.single-image-info a{
    pointer-events: inherit;
    cursor: inherit;
    text-decoration: inherit;
    color: inherit;
    height: auto;
    max-height: 100%;
    width: inherit;
}