﻿.popup_langs_field #username {
    border: 1px solid #394d81; 
}
.popup_langs_field #username:focus {
    border: 1px solid #e7667f !important;
}
.langs_popup_container {
	float: left;
	height: auto;
	width: 100%;
	padding: 0px;
	box-sizing:border-box;
}
.popup_langs_title {
	float: left;
	width: 100%;
	margin-right: 0%;
	line-height: 1.5em;
	text-align: center;
	font-size: 22px;
	font-weight: 600;
	color: #f5a51c;
	margin-bottom: 8px;	
}
.overlay_langs {
	background-color: rgba(0, 0, 0, 0.7);
	bottom: 0;
	cursor: default;
	left: 0;
	opacity: 0;
	position: fixed;
	right: 0;
	top: 0;
	visibility: hidden;
	z-index: 10000000 !important;
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-ms-transition: opacity .5s;
	-o-transition: opacity .5s;
	transition: opacity .5s;
}
.overlay_langs:target {
	visibility: visible;
	opacity: 1;
}
.popup_langs {
	display: inline-block;
	left: 50%;
	opacity: 0;
	position: fixed;
	text-align: justify;
	visibility: hidden;
	z-index: 100000 !important;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: opacity .5s, top .5s;
	-moz-transition: opacity .5s, top .5s;
	-ms-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
}
.overlay_langs:target+.popup_langs {
	top: 50%;
	opacity: 1;
	visibility: visible;
	z-index: 100000000 !important;
}
.close_login {
	background-color: #371b0f;
	height: 40px;
	line-height: 40px;
	position: absolute;
	text-decoration: none;
	top: -50px;
	width: 40px;
	left: calc(50% - 15px);
	border-radius:50%;
	text-align:center
}
.close_login:hover {
	background-color: #3d161f;
}
.close_login:before {
	color: rgba(255, 255, 255, 0.9);
	content: "X";
	font-size: 21px;
}
#index-video-lesson {
	height: 200px;
	width: 100%;
	object-fit: cover;
	z-index: -100;
	right: 0;
	bottom: 0;
	overflow: hidden;
	z-index:10000000!important
}
.index-video-wrapper-lesson {
	height: 500px;
	width: 100%;
	float: left;
}
/*video {
    width: 100%;
    max-height: 100%;
}*/
/* Media Queries for Desktop
---------------------------------------------------------------*/
@media all and (min-width: 1438px) {
.popup_langs {
	width: 60%;
}
.overlay_langs:target+.popup_langs {
	top: 50%;
	width: 800px;
	padding: 3px 3px 0px 3px;
	background-color:#fff;
}
.page_video {
	width: 100%;
	height: 550px;
	float: right;
	position:relative;
	margin-top:10px;
}
#video_page {
	height: 550px;
	width: 100%;
	object-fit: cover;
	overflow: hidden;
	z-index:10
}
}
/* Media Queries for Laptop
-------------------------------------------------------------- */
@media (max-width: 1439px) and (min-width: 769px) {
.popup_langs {
	width: 60%;
}
.overlay_langs:target+.popup_langs {
	top: 50%;
	width: 50%;
}
.page_video {
	width: 100%;
	height: 550px;
	float: right;
	position:relative;
	margin-top:10px;
}
#video_page {
	height: 550px;
	width: 100%;
	object-fit: cover;
	overflow: hidden;
	z-index:10
}
}
/* Media Queries for Ipad
-------------------------------------------------------------- */
@media (max-width: 768px) and (min-width: 481px) {
.popup_langs {
	width: 500px;
}
.overlay_langs:target+.popup_langs {
	top: 50%;
	width: 50%;
}
.page_video {
	width: 100%;
	height: 450px;
	float: right;
	position:relative;
	margin-top:10px;
}
#video_page {
	height: 450px;
	width: 100%;
	object-fit: cover;
	overflow: hidden;
	z-index:10
}
}
/* Media Queries for Phone
-------------------------------------------------------------- */
@media (max-width: 480px) and (min-width: 319px) {
.popup_langs {
	width: 360px;
}
.overlay_langs:target+.popup_langs {
	top: 300px;
	width: 80%;
}
#index-video-lesson {
	height: 250px;
	width: 100%;
	object-fit: cover;
	z-index: -100;
	right: 0;
	bottom: 0;
	overflow: hidden;
	z-index:10000000!important
}
.index-video-wrapper-lesson {
	height: 250px;
	width: 100%;
	float: left;
}
.page_video {
	width: 100%;
	height: 350px;
	float: right;
	position:relative;
	margin-top:10px;
}
#video_page {
	height: 350px;
	width: 100%;
	object-fit: cover;
	overflow: hidden;
	z-index:10
}
}
/* Media Queries for Phone Portrait
-------------------------------------------------------------- */
@media all and (max-width:320px) {
.popup_langs {
	width: 360px;
}
.overlay_langs:target+.popup_langs {
	top: 300px;
	width: 80%;
}
#index-video-lesson {
	height: 250px;
	width: 100%;
	object-fit: cover;
	z-index: -100;
	right: 0;
	bottom: 0;
	overflow: hidden;
	z-index:10000000!important
}
.index-video-wrapper-lesson {
	height: 250px;
	width: 100%;
	float: left;
}
}