.videoPopup {
    display:none;
    position:fixed;
    border:none;
    background:none;
    z-index:9999;
    padding:0;
    width:70%;
    min-width:70%;
}
@media (min-width:320px)  { 
    /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
    #videoPopup .spinner {
        margin-top:20%; 
        height: 40px !important;;
    }
    .videoPopup {
        width:90%;
        min-width:90%;
    }
}
@media (min-width:480px)  {
    /* smartphones, Android phones, landscape iPhone */ 
    .videoPopup {
        width:80%;
        min-width:80%;
    }
}
@media (min-width:600px)  {
    /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ 
    #videoPopup .spinner {
        margin-top:25%; 
        height: 40px !important;
    }
    .videoPopup {
        width:80%;
        min-width:80%;
    }
}

@media (min-width:801px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */ 
	.videoPopup {
		width:70%;
		min-width:70%;
	}
}
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ 
	.videoPopup {
		width:70%;
		min-width:70%;
	}
}
@media (min-width:1281px) { /* hi-res laptops and desktops */ 
	.videoPopup {
		width:70%;
		min-width:70%;
	}
}

#videoPopup .spinner {
    display: none;
    margin-top:25%; 
    background: url(../../../images/mageworx/downloads/spinner.gif) no-repeat center center;
    height: 70px;
}

.videoPopupBackground {
    display:none;
    background:#000;
    position:fixed;
    height:100%;
    width:100%;
    top:0;
    left:0;
    z-index:999;
}
.videoPopupClose{
    display: block;
    float:right;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    width: 30px;
    height: 25px;
    position: relative;
    font: normal 40px/normal Arial, Helvetica, sans-serif;
    color: rgba(0,0,0,1);
    -o-text-overflow: clip;
    text-overflow: clip;
    background: #ff9900;
}
.videoPopupClose::before {
    display: inline-block;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    width: 0.45em;
    height: 0.1em;
    position: absolute;
    content: "";
    top: 0.25em;
    left: 0.155em;
    border: none;
    font: normal 100%/normal Arial, Helvetica, sans-serif;
    color: rgba(0,0,0,1);
    -o-text-overflow: clip;
    text-overflow: clip;
    background: #ffffff;
    text-shadow: none;
    -webkit-transform: rotateZ(45deg)   ;
    transform: rotateZ(45deg)   ;
}
.videoPopupClose::after {
    display: inline-block;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    width: 0.45em;
    height: 0.1em;
    position: absolute;
    content: "";
    top: 0.25em;
    left: 0.155em;
    border: none;
    font: normal 100%/normal Arial, Helvetica, sans-serif;
    color: rgba(0,0,0,1);
    -o-text-overflow: clip;
    text-overflow: clip;
    background: #ffffff;
    text-shadow: none;
    -webkit-transform: rotateZ(-45deg)   ;
    transform: rotateZ(-45deg)   ;
}

.embed-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    max-width: 100%; 
    margin-top:25px;
    background-color: #FFF;
    border:4px solid #fff;
} 
.embed-container iframe, .embed-container object, .embed-container embed { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
}

.downloads-links-block .access-notice {
    clear:both;
}