/*Component*/
.video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin-bottom: 10px;
}
.video iframe, .video img, .oto .video iframe, .oto .video img {
	background: #38405400!important;
	padding: 0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin-top: 5px;
}
#header .video iframe{
	padding: 5px;
	box-shadow: 0 0 150px rgba(253,190,52,.55);
}

.video .video-title{
	position: absolute;
	top: 5px;
	left: 0px;
	border-radius: 5px;
	padding: 10px 20px 10px 10px;
	font-weight: 500;
	font-size: 11px;
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
	font-style: italic;
	background: #384054;
	box-shadow: 3px 3px 5px rgba(0,0,0,.2)
}
.video .video-caption{
	position: absolute;
	bottom: 0px;
	left: 0px;
	border-radius: 0px;
	padding: 15px;
	font-weight: 300;
	font-size: 11px;
	color: #fff;
	background: rgba(0,0,0,.6);
	text-align: left;
}
.video .play{
	position: absolute;
	width: 80px;
	height: 80px;
	left: 50%;
	top: 50%;
	margin-left: -40px;
	margin-top: -40px;
	background-image: url(../images/play.png);
	-webkit-transition:all 0.5s ease-out;
	-moz-transition:all 0.5s ease-out;
	-ms-transition:all 0.5s ease-out;
	-o-transition:all 0.5s ease-out;
	transition:all 0.5s ease-out;
}
.video:hover .play{
	-webkit-transform:scale(1.3);
	-moz-transform:scale(1.3);
	-ms-transform:scale(1.3);
	-o-transform:scale(1.3);
	transform:scale(1.3);
}

/*Component POP UP*/

.YouTubePopUp-Wrap {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-color: rgba(0,0,0,0.8);
    top: 0;
    left: 0;
    z-index: 9999999999999;
}

.YouTubePopUp-animation {
    opacity: 0;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: YouTubePopUp;
    animation-name: YouTubePopUp;
}

@-webkit-keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    };
}

@keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    };
}

body.logged-in .YouTubePopUp-Wrap {
    top: 32px;
    z-index: 99998;
}

.YouTubePopUp-Content {
    max-width: 80%;
    display: block;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
    border: rgba(174, 175, 175, 0.36) 5px solid;
    padding-top: 482px;
    margin-top: 72px;
}

.YouTubePopUp-Content iframe {
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    height: 480px !important;
    border: none !important;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

.YouTubePopUp-Hide {
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: YouTubePopUpHide;
    animation-name: YouTubePopUpHide;
}

@-webkit-keyframes YouTubePopUpHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    };
}

@keyframes YouTubePopUpHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    };
}

.YouTubePopUp-Close {
    position: absolute;
    top: 0;
    cursor: pointer;
    bottom: 528px;
    right: 0px;
    margin: auto 0;
    width: 24px;
    height: 24px;
    background: url(../images/close.png) no-repeat;
    background-size: 24px 24px;
    -webkit-background-size: 24px 24px;
    -moz-background-size: 24px 24px;
    -o-background-size: 24px 24px;
}

.YouTubePopUp-Close:hover {
    opacity: 0.5;
}

@media all and (max-width:768px) and (min-width:10px) {
    .YouTubePopUp-Content {
        max-width: 90%;
        border: rgba(174, 175, 175, 0.36) 4px solid;
        border-radius: 2%;
        padding-top: 220px;
        margin-top: 150px;
    };
}

@media all and (max-width:600px) and (min-width:10px) {
    .YouTubePopUp-Content iframe {
        height: 320px !important;
    }

    .YouTubePopUp-Close {
        bottom: 362px;
    };
}

@media all and (max-width:480px) and (min-width:10px) {
    .YouTubePopUp-Content iframe {
        height: 220px !important;
    }

    .YouTubePopUp-Close {
        bottom: 262px;
    };
}