/** POPUP MANAGEMENT */
#popup_container {
    position: fixed;
    display: none;
}

#popup_container.show {
    display: block;
    top: calc(50px + 10%);
    bottom: calc(50px + 5%);
    background: rgba(245, 245, 245, .96);
    width: 1080px;
    left: 50%;
    transform: translateX(-50%);
    padding: 40px 60px;
    animation: show_popup .4s;
    z-index: 10;
}

@keyframes show_popup {
    0% {
        display: block;
        opacity: 0;

    }
    100% {
        display: block;
        opacity: 1;

    }
}

#popup_container > img {
    cursor: pointer;
    float: right;
    margin: -10px -20px;
}

#popup_container h1 {
    max-width: 80%;
}

/****/
.data-container {
    background: var(--blue) !important;
    color: white;
}

tr.data-container td {
    padding: 5px 0;
    border-top: 25px solid white;
}

.data-container b {
    display: inline-block;
    margin-left: 15px;
}

.data-container button.in-tr {
    margin: -1px;
}


.single-gallery > #popup_container {
    width: auto;
    padding: 40px;
}

.single-gallery > #popup_container .close-img {
    z-index: 99;
    padding: 10px;
    margin-top: -20px;
    margin-bottom: 20px;
    margin-right: 0px;
}



#schoolname {
    position: absolute;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre;
}

#popup_container_inner.fixed {
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

#uti_gallery #popup_container_inner img{
    width: 100%;
}

#page--award--body #popup_container_inner {
    max-height: calc(100%);
    overflow-y: auto;
    overflow-x: hidden;
}

#uti_gallery #popup_container.show {
    height: auto;
    min-width: 400px;
    bottom: auto;
}

[pulse] {
    text-align: center;
    animation: pulse .8s infinite, show-pulse 1s;
}

@keyframes show-pulse {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        color: #666;
    }
    50% {
        color: #999;
    }
    100% {
        color: #666;
    }
}


.show-popup #block_award {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    background: #444444ee;
    z-index: 1;

}

#block_award {
    background:transparent;
    transition:background .2s;
}

#popup_img {
    cursor: zoom-in;
}
