.overlay {
    background: rgba(0, 0, 0, .9);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; 
}

#popup-modal {
    z-index: 99999;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: fixed;    
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#popup-modal #content {
    box-sizing: border-box;
    min-width: 60%;
    min-height: 300px;
    width: auto;
    height: auto;
    padding: 5px;
    background-color: #FFF;
    position: fixed;
    top: 40%;
    left: 40%;
    transform: translate(-35%, -35%); 
}

#popup-modal #content img {
    width: 100%;
}


#popup-modal #arrows-container {
    position: absolute;
    height: 100%;
    width: 95%;
    top: 0;
    padding: 0 2%;
    left: 0;
}

#popup-modal #arrow-left,
#popup-modal #arrow-right {
    box-sizing: border-box;
    float: left;
    height: auto;
    cursor: pointer;
    width: 10%;
    position: relative;
    top: 45%;
}

#popup-modal #arrow-right {
    float: right;
}

#popup-modal #arrow-left img,
#popup-modal #arrow-right img {
    position: relative;
    top: 45%;
    width: 100%;
    /*width: 0;
    -webkit-transition: all .1s linear;
    -moz-transition: all .1s linear;
    -ms-transition: all .1s linear;
    -o-transition: all .1s linear;
    transition: all .1s linear;
    */
}

#popup-modal #arrow-left:after {
    background: url("../images/arrow-left.png") no-repeat;
    background-size: cover;
    padding: 50%;
    position: absolute;
    content: "";
}
#popup-modal #arrow-right:after {
    background: url("../images/arrow-right.png") no-repeat;
    background-size: cover;
    padding: 50%;
    position: absolute;
    content: "";
}

#popup-modal #arrow-left:hover img,
#popup-modal #arrow-right:hover img  {
    width: 100%;
    /*
    background-color: rgba(255, 255, 255, .7);
    border-radius: 100%;
    */
}

#popup-modal #content iframe {
    width: 100%;
    height: 500px;
    max-width: 100vw;
    max-height: 56.25vw;
}