/** Pop-up box styles **/
.hide {
    display: none;
}
.popbox {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1000000;
}
.pop-content {
    width: 850px;
    height: 450px;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    margin: -225px 0 0 -425px;
    z-index: 2;
    box-shadow: 0 3px 20px 0 rgba(0, 0, 0, .5);
}
:focus,
:active {
    outline: 0
}
.popcontent {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 5px;
    overflow: hidden
}
.pop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, .7)
}
.popbox-close-button {
    position: absolute;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    top: -14px;
    right: -14px;
    background-color: #fff;
    box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, .2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0
}

.popbox-close-button svg {
    vertical-align: middle
}

.popcontent img {
    width: 100%;
    height: 100%;
    display: block
}

@media screen and (max-width:850px) {
    .pop-content {
        width: 90%;
        height: auto;
        top: 0;
        margin: 0 0 0 -45%
    }
    .popcontent img {
        height: auto
    }
}

.slideInUp {
    -webkit-animation-name: slideInUp;
    animation-name: slideInUp;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

@-webkit-keyframes slideInUp {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        visibility: visible
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%)
    }
}

@keyframes slideInUp {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        visibility: visible
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%)
    }
}
/** Pop-up box styles **/