/*@font-face {font-family: Lato-Light; src: url(../fonts/Lato/Lato-Light.ttf); } @font-face {font-family: Lato-Regular; src: url(../fonts/Lato/Lato-Regular.ttf); }*/
@import url(https://fonts.googleapis.com/css?family=Lato:400,300&subset=latin,latin-ext);
html {
	height: 100%;
}

body {
	background: #fafafa;
	height: 100%;
	font-family: "Lato", sans-serif;
	font-weight: 300;
}

.mobile {
	display: none;
}

.desktop {
	display: block;
}


.front-video {
	max-height: 1000px;
	width: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	position: absolute;
}

.login-block-back {
	overflow: auto;
	min-height: 500px !important;
	background: rgba(255,255,255,0.5);
	border: 1px solid #fff;
}

#menu {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	max-height: 0;
	width: 12%;
	overflow: visible;
	z-index: 999;
}

#menu #menu-burger {
	position: fixed;
	top: 0;
	right: 0;
	height: 75px;
	width: 100px;
	display: block;
	z-index: 1000;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transform: perspective(1000px) translate3d(0,0,0);
}

#menu #white-fade {
	width: 350px;
	height: 150px;
	position: fixed;
	top: 0;
	right: 0;
	background-image: url(../res/undermenu_gradient.png);
	background-size: 100%;
}

#menu #menu-burger #line {
	top: 22px;
	right: 25px;
}

#menu #menu-burger #line2 {
	top: 35px;
	right: 25px;
	transform: translateX(0px);
}

#menu #menu-burger #line3 {
	top: 48px;
	right: 25px;
}

#menu #menu-burger div {
	transform: rotate(0deg);
	-webkit-transform-origin: center center;
	transition: all 300ms ease-in-out;
}

#menu #menu-burger div {
	z-index: 1000;
	height: 2px;
	width: 50px;
	display: block;
	position: absolute;
	background: rgba(255,255,255,0.75);
}

#menu #white-fade {
	width: 350px;
	height: 150px;
	position: fixed;
	top: 0;
	right: 0;
	background-image: url(../img/undermenu_gradient.png);
	background-size: 100%;
}

.oin-table {
	height: 100%;
	width: 100%;
	display: table;
}

.oin-table .oin-cell {
	vertical-align: middle;
	display: table-cell;
	text-align: center;
}

#menu #menu-contents {
	transition: all 300ms ease-in-out;
	transform: translateX(320px);
	-webkit-transform: translateX(320px);
	border-left: 1px solid rgba(255,255,255,.3);
}

#menu #menu-contents {
	height: 100%;
	width: 100%;
	top: 0;
	right: 0;
	max-width: 300px;
	position: fixed;
	z-index: 999;
	background: rgba(0,0,0,.2);
}

#menu #menu-contents .menu-item {
	cursor: pointer;
	color: rgba(255,255,255,0.8);
	text-align: center;
	font-size: 1.5em;
	line-height: 2em;
	text-transform: uppercase;
	font-weight: 300;
	padding: 10px 10px 10px 10px;
}

.menu-item > a {
	color: #fff;
	text-decoration: none;
}

.menu-item:hover{
	background: rgba(0,0,0,.2);
}

.menu-opened #menu {
	max-height: 100%;
}

.menu-opened #menu #menu-burger #line {
	transform: translateY(13px) rotate(135deg);
}

.menu-opened #menu #menu-burger #line2 {
	opacity: 0;
	transform: translateX(100px);
}

.menu-opened #menu #menu-burger #line3 {
	transform: translateY(-13px) rotate(-135deg);
}

.menu-opened #menu #menu-contents {
	transform: translateX(0px);
}

.menu-opened #menu #menu-contents {
	display: block;
}

.no-bootstrap-padding {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

video#bgvid {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translateX(-50%) translateY(-50%);
}

#menu #menu-contents {
	overflow: hidden;
}

#menu #menu-contents .items {
	z-index: 2;
	position: relative;
	margin-top: -40px;
}

#blurred-video-2-wrap {
	height: 100%;
	width: 300px;
	position: absolute;
	top: 0;
	right: 0;
	overflow: hidden;
	transition: all 300ms ease-in-out;
	transform: translateX(320px);
	-webkit-transform: translateX(320px);
}

.menu-opened #blurred-video-2-wrap {
	transform: translateX(0px);
}

video#blurred-video-2 {
	top: 0;
	right: 0;
	position: absolute;
}

.inner-video {
	position: absolute;
	overflow: hidden;
}

.login-block {
	z-index: 4;
	padding-top: 200px;
}


.language-block > a > img {
	border-radius: 50%;
}
.chose-language{
	padding-top: 5px;
	font-size: 13px;
	color:#fff;
	text-align: center;
}

.login-form {
	margin-top: 30px;
	padding: 0 20px;
	text-align: center;
}

::-webkit-input-placeholder {
	color: #fff !important;
	text-align: center !important;
}

:-moz-placeholder {
	color: #fff !important;
	opacity: 1 !important;
	text-align: center !important;
}

::-moz-placeholder {
	color: #fff !important;
	opacity: 1 !important;
	text-align: center !important;
}

:-ms-input-placeholder {
	color: #fff !important;
	text-align: center !important;
}

input.login-email,input.login-password {
	border: 1px solid rgba(255,255,255,.8);
	background: transparent !important;
	color: #000 !important;
	box-shadow: none;
	text-align: center;
	height: 45px;
	color: #fff !important;
}

input.login-email:focus,input.login-password:focus {
	border: 1px solid rgba(255,255,255,.8);
	box-shadow: none;
}

.vid-container {
	position: relative;
	height: 100vh;
	overflow: hidden;
}

.inner-container {
	width: 462px;
	height: 635px;
	position: absolute;
	top: 10%;
	left: 20%;
	overflow: hidden;
	transform: rotateX(0deg); /* force in hardware accelerated layer */
	border-radius: 10px;
	border: 1px solid rgba(255,255,255,.5);
	overflow: hidden;
	-webkit-backface-visibility: hidden;

}

video#blurred-video {
	position: absolute;
	top: -25%;
	/*left: -126%;*/
}

/*wide landscape */
@media screen and (min-aspect-ratio: 16/9){
	.inner-container{ top: 5%; left: 8%; }
	video#blurred-video {
	    top: -13%;
	    left: -28%;
	}
}

.box {
	position: absolute;
	height: 100%;
	width: 100%;
	font-family: Helvetica;
	color: #fff;
	background: rgba(255,255,255,0.13);
}

.inner-container .inner-wrap {
	height: 100%;
	position: relative;
}

#overlay{
	position: absolute;
	background: rgba(0,0,0,.18);
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
}

#scroll-hint{
	position: absolute;
	bottom: 15px;
	left: 0px;
	width: 100%;
	height: 140px;
	font-size: 2.5em;
	color: #e8e9e9;
	z-index: 2;
}

#scroll-hint .moto{
	margin-bottom: -5px;
	font-size: 45px;
}

#arrow{
	height: 36px;
	width: 58px;
	margin: 0 auto;
	background-image: url(../img/down-arrow.png);
	background-size: 100%;
}
/*wide landscape */
@media screen and (min-aspect-ratio: 16/9){
	#scroll-hint{
		font-size: 1.5em;
		bottom: 0px;
		height: 100px;
	}
	#arrow{
		height: 18px;
		width: 27px;
	}
}


/* more sections */

.sponsors-block {
	padding: 30px 50px !important;
	text-align: center;
}

.news-block {
	min-height: 170px;
}

.news-block > a {
	color: #000;
	text-decoration: none;
}

.news-title {
	font-family: Lato-Regular;
}

.news-description {
	font-size: 13px;
	margin-top: 10px;
}

.fafafa-back {
	background: #f3f3f3;
	padding-bottom: 30px;
}

.news-block {
	margin-top: 20px;
}


.login-button{
	height: 45px;
	width: 80%;
	text-align: center;
	line-height: 31px;
	opacity: .9;
	border-color: #fff;

}

.btn-default{
	background: rgba(255,255,255,.65);
}

.login-button:hover {
	background: rgba(255,255,255,.75);
	border-color: #fff;
}

a.forgot-link {
	text-decoration: none;
	font-size: 13px;
	color: #fff;
}

hr {
	margin-top: 10px;
	margin-bottom: 10px;
}

.or-block {
	margin-top: 10px;
	margin-bottom: 10px;
}

.or-block > div {
	display: inline-block;
	vertical-align: middle;
}

.or-line {
	margin: 0 10px;
	width: 40%;
	border-bottom: 1px solid #fff;
}

.news-image > img {
	margin-left: auto;
	margin-right: auto;
}

.fb-login-container {
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	border: 1px solid #FFF;
	width: 288px;
	height: 45px;
	border-radius: 4px;
}

.fb-link,.fb-link:hover,.fb-link:focus,.fb-link:active {
	text-decoration: none;
	color: #000;
	display: block;
	line-height: 40px;
}

.fb-link > .fb-icon {
	font-size: 30px;
	width: 45px;
	float: left;
	line-height: 45px;
	color: #fff;
}

.fb-login {
	width: 241px;
	height: 43px;
	border: none;
	line-height: 32px;
	padding-right: 57px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	opacity: .9;
}

.fb-login:hover {
	opacity: .75;
}

.error-block {
	color: red;
	font-size: 14px;
	padding-bottom: 10px;
}

.top-sponsors {
	min-height: 100px;
}

.social-block {
	font-size: 30px;
	margin: 0 10px 0 10px;
}

.social-block > a {
	margin: 0 10px 0 10px;
	color: #000;
}
.apps > a {
	display: inline-block;
	width: 45%;
}
.login-logo-image{
	width: 100%;
}


@media only screen and (max-width : 1366px) {
	#scroll-hint {
		bottom: -20px;
	}
	
	#scroll-hint .moto {
	    font-size: 32px;
	    margin-bottom: -5px;
	}
}
@media only screen (min-width: 768px) {
	.vid-container {
		min-height: 720px;
	}
}

@media only screen and (max-width : 1024px) and (min-width: 700px) {
	#overlay {
		background-color: #000;
		background: url(../img/technica-mobile-bg.jpg);
		margin: auto 0;
	}
	.login-logo-image{
		width: 50%;
		max-width: 50%;
		margin: 0 auto;
	}
	.login-block-left{
		width: 50%;
		float: left;
		margin-right: 20px;
	}
	.login-block-right{
		max-width: 50%;
		float: right;
		margin-left: 20px;
	}
	.inner-container {
		width: 700px;
		height: 450px;
	}
	.or-line {
		width: 25%;
	}

	video#blurred-video {
			background: url(../img/technica-mobile-bg.jpg);
	}
	.logo-container{
		text-align: center;
	}
	.inner-container {
		left:50%;
		transform:translateX(-50%);
		-ms-transform: translateX(-50%); /* IE 9 */
	 -webkit-transform: translateX(-50%); /* Safari */
	}
	.login-button{
		width: 100%;
	}
}
@media only screen and (max-width : 1024px) and (min-width: 480px) {
	.inner-container{
		left:50%;
		transform:translateX(-50%);
		-ms-transform: translateX(-50%); /* IE 9 */
	 -webkit-transform: translateX(-50%); /* Safari */
	}
	#overlay {
		background-color: #000;
		background: url(../img/technica-mobile-bg.jpg);
	}

}
@media only screen and (max-width : 992px) {
	#scroll-hint {
		/*display: none;*/
	}
}

@media only screen and (max-width : 768px) {
	.news-title {
		text-align: center;
		margin-top: 20px;
	}
	#overlay {
		background-color: #000;
		background: url(../img/technica-mobile-bg.jpg);
	}

	.box{
		text-align: center;
	}

	.language-block{
		display: -ms-flexbox;
		display: flex;
    	-ms-flex-pack: center;
    	    justify-content: center;
	}
	video#blurred-video {
    top: 0%;
	}
	.login-logo-image{
		width: 100%;
	}

	.mobile {
		display: block;
	}

	.desktop {
		display: none;
	}

}

@media only screen and (max-width : 480px) {
	.top-sponsors {
		min-height: initial;
	}

	.inner-container {
		left: 0;
		top: 0;
		border-radius: 0;
		width: 100%;
		height: 100%;

	}
	#blurred-video {
		display: none;
	}
	#bgvid {
		display: none;
	}
	#overlay {
		background-color: #000;
		background: url(../img/technica-mobile-bg.jpg);
	}
	.language-block > a {
	    margin: 0 5px;
	}
	#menu .oin-table .oin-cell {
		font-size: 14px;
		background: rgba(0,0,0,1);

	}
	.or-line {
		width: 39%;
	}
	.vid-container {
	    height: 120%;
	}
	#white-fade {
		display: none;
	}
	.fb-login-container {
	    width: 80%;
	}
	.fb-login {
	    width: 84.5%;
	    width: calc(100% - 45px);
	}
	#scroll-hint{
		bottom: 80px;

	}
	#scroll-hint .moto{
		font-size: 24px;
	}
	#main-container {
		min-height: 680px;
	}
}
@media only screen and (max-width : 376px) {
	#scroll-hint{

		bottom:-15px;
	}
}
@media only screen and (max-width : 320px) {
	#scroll-hint{

		bottom:-5px;
	}
}
