/** 
 * CSS for jQuery plugin 'popup' v.1.0.0 
 * Copyright (©) by Konstantin Kachurenko <konstantin.kachurenko@gmail.com> 
 * http://konstantin-kachurenko.github.io/
 * The MIT License (MIT) http: //opensource.org/licenses/MIT 
 */

	.popup-content {
	  padding:10px 20px 10px 20px;
	}
	.popup-overlay {
	  background-color: rgba( 0, 0, 0, .3 );
	}
	#popup-video.popup {
	    overflow: visible;
	    background-color: #1B1B1B;
	    box-shadow: 0px 1px 5px 0 rgba( 0, 0, 0, .8 );
	  }


	  #popup-video.popup .popup-close {
	    position: absolute;
	    z-index: 2;
	    top: 0;
	    right: -30px;
	    font-size: 1.5em;
	    color: #fff;
	  }

	  #popup-video.popup .embed-container { 
	    position: relative; 
	    z-index: 1;
	    padding-bottom: 56.25%; 
	    height: 0; 
	    overflow: hidden; 
	    max-width: 100%; 
	  } 
	  #popup-video.popup .embed-container iframe, 
	  #popup-video.popup .embed-container object, 
	  #popup-video.popup .embed-container embed { 
	    position: absolute; 
	    top: 0; 
	    left: 0; 
	    width: 100%; 
	    height: 100%; 
	  }


.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    height: auto;
    min-width: 320px;
    max-width: 100%;
    max-height: 100%;
    visibility: hidden;
    opacity: 0;
    overflow: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.popup,
.popup-overlay {
    z-index: 0;
    -webkit-transform-style: flat;
    transform-style: flat;
    -webkit-transition: opacity .3s ease,left .5s,top .5s,transform .5s,-webkit-transform .5s;
        -ms-transition: opacity .3s ease,left .5s,top .5s,transform .5s,-ms-transform .5s;
         -o-transition: opacity .3s ease,left .5s,top .5s,transform .5s,-o-transform .5s;
            transition: opacity .3s ease,left .5s,top .5s,transform .5s,-webkit-transform .5s,-ms-transform .5s,-o-transform .5s;
}

.popup-content {
    position: relative;
}

.popup-overlay {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: -25%;
    left: 0;
    width: 100%;
    height: 150%;
    background: rgba(0,0,0,.7);
}

.popup-show {
    visibility: visible;
    opacity: 1;
    z-index: 2000;
}

