﻿#authApp {
	display: none;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100vh;
	position: absolute;
	z-index: 10;
	font-family: futura, sans-serif;
}

#authApp .main-block {
	position: relative;
	width: 100%;
	height: 100%;
}

#authApp .yellow-glow {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	top: 42%;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 1170px;
	height: 144px;
	background-image: url('../../www/images/yellow_glow.png');
	background-repeat: no-repeat;
	background-position: center top;
}

#authApp .play-button {
	border: 0px;
	cursor: pointer;
	width: 270px;
	height: 82px;
	background-image: url('images/play_button_off.png');
	background-color: transparent;
	color: #ffffff;
	font-size: 24px;
	font-weight: bolder;
	padding-top: 3px;
	text-transform: uppercase;
}

#authApp .play-button:hover {
	background-image: url('images/play_button_on.png');
}

#authApp .play-button:focus {
	box-shadow: 0 0 0 5px #ffffa440;
	border-radius: 16px;
	outline: none;
}

#authApp .tagline {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	top: 30%;

	width: 100%;
	max-width: 800px;
	color: #ffffff;
	text-align: center;
	font-size: 28px;
	font-weight: bolder;
	text-transform: uppercase;
}

#authApp .bottom-button-part {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	top: 60%;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 1170px;
	height: 100px;
	margin-top: 100px;
}

/* window */
#authApp .form-container {
	/* display: none; */
	position: relative;
	width: 378px;
	min-height: 537px;
	height: auto;
	background-color: rgba(0, 17, 36, 0.89);
	border: 1px solid rgba(0, 17, 36, 1);
	border-radius: 14px;
}

#authApp .window-header {
	width: 300px;
	height: 40px;
	margin-left: 32px;
	padding-top: 20px;
	color: #ffffff;
	font-weight: bold;
	font-size: 18px;
	text-rendering: optimizeLegibility;
	display: flex;
	justify-content: center;
	text-shadow:
		0 0 5px #66b3ff,
		0 0 10px #3c8dff,
		0 0 15px #1176ff;
	text-transform: uppercase;
}

#authApp .close-icon {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
	background-image: url('images/close_button.png');
	background-repeat: no-repeat;
	background-size: cover;
	cursor: pointer;
}

#authApp .window-content,
#authApp .window-content form {
	width: 378px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#authApp .window-element {
	width: 314px;
	margin-top: 10px;
}

#authApp .input-label {
	font-size: 16px;
	font-weight: bold;
	color: #236ba3;
	text-align: left;
	padding: 0px 0px 7px 14px;
}

#authApp .forgot-password {
	font-size: 16px;
	height: 12px;
	font-weight: bold;
	color: #75c3ff;
	text-align: right;
	padding: 0px 14px 7px 0px;
}

#authApp .forgot-password:hover {
	color: #ffffff;
}

#authApp .forgot-password:focus {
	box-shadow: 0 0 0 2px #8dcdff;
	border-radius: 3px;
	outline: none;
}

#authApp input[type="email"],
#authApp input.login,
#authApp input[type="text"],
#authApp input[type="password"] {
	width: 284px;
	height: 36px;
	margin-bottom: 10px;
	border-radius: 6px;
	border: 1px solid #000000;
	background-color: rgba(0, 0, 0, 0.5);
	font-weight: bold;
	font-size: 16px;
	color: #639dcb;
	padding: 0px 14px 0px 14px;
	text-align: left;
}

#authApp input[type="email"]:focus,
#authApp input.login:focus,
#authApp input[type="text"]:focus,
#authApp input[type="password"]:focus {
	outline: 2px solid #8dcdff;
}

#authApp input[type="email"]::placeholder,
#authApp input.login::placeholder,
#authApp input[type="text"]::placeholder,
#authApp input[type="password"]::placeholder {
	color: #639dcb;
}

#authApp .submit-button {
	margin-top: 20px;
}

#authApp .password-input-container {
	position: relative;
	width: 314px;
	display: flex;
}

#authApp .password-toggle-button {
	position: absolute;
	right: 2px;
	top: 3px;
	cursor: pointer;
}

#authApp .show-password-button {
	position: absolute;
	right: 2px;
	top: 3px;
	cursor: pointer;
}

#authApp .hidden-checkbox {
	position: absolute;
	background-color: blue;
	opacity: 0;
	width: 32px;
	height: 32px;
	cursor: pointer;
}

#authApp .checkbox-label {
	margin-left: 10px;
	display: inline-block;
	width: 32px;
	height: 32px;
	background-image: url('images/checkbox_off.png');
	background-repeat: no-repeat;
	background-size: cover;
}

#authApp .hidden-checkbox:checked + .checkbox-label {
	background-image: url('images/checkbox_on.png');
	background-repeat: no-repeat;
}

#authApp .hidden-checkbox:focus + .checkbox-label {
	box-shadow: 0 0 0 2px #8dcdff;
	border-radius: 6px;
	outline: none;
}

#authApp .show-pass {
	background-image: url('images/show_password_button.png');
}

#authApp .hidden-checkbox:checked + .show-pass {
	background-image: url('images/hide_password_button.png');
}

#authApp .div-flex {
	display: flex;
}

#authApp .checkbox-text {
	height: 32px;
	width: 260px;
	font-size: 14px;
	font-weight: bold;
	color: #236ba3;
	margin-left: 10px;
	line-height: 1;
	display: flex;
	align-items: center;
}

#authApp .checkbox-double-text {
	font-size: 14px;
	font-weight: bold;
	color: #236ba3;
	line-height: 1;
}

#authApp .checkbox-double-text a {
	color: #389be8;
	text-decoration: none;
}

#authApp .checkbox-double-text a:hover {
	color: #7dc6ff;
	text-decoration: underline;
}

#authApp .checkbox-double-text a:focus {
	box-shadow: 0 0 0 2px #8dcdff;
	border-radius: 3px;
	outline: none;
}

#authApp .special-button {
	color: #ffffff;
	font-size: 16px;
	font-weight: bold;
	border: none;
	width: 232px;
	height: 38px;
	cursor: pointer;
	padding-top: 3px;
	text-transform: uppercase;
}

#authApp .blue-button:focus {
	box-shadow: 0 0 0 2px #8dcdff;
	border-radius: 6px;
	outline: none;
}

#authApp .green-button:focus {
	box-shadow: 0 0 0 2px #ffffff;
	border-radius: 6px;
	outline: none;
}

#authApp .green-button {
	background: url('images/green_button_off.png') no-repeat;
}

#authApp .green-button:hover {
	background: url('images/green_button_on.png') no-repeat;
}

#authApp .blue-button {
	background: url('images/blue_button_off.png') no-repeat;
}

#authApp .blue-button:hover {
	background: url('images/blue_button_on.png') no-repeat;
}

#authApp .shadow {
	text-shadow:
		-2px -2px 0 #00000030,
		2px -2px 0 #00000030,
		-2px 2px 0 #00000030,
		2px 2px 0 #00000030,
		-2px 0 0 #00000030,
		2px 0 0 #00000030,
		0 -2px 0 #00000030,
		0 2px 0 #00000030;
}

#authApp .hint-for-button {
	color: #65bcff;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

#authApp .white-hint-for-button {
	color: #ffffff;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

/* */
#authApp .error-message-block {
	position: relative;
}

#authApp .error-message::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -20px;
	transform: translateY(-50%);
	border-width: 10px;
	border-style: solid;
	border-color: transparent #e26d00 transparent transparent;
}

#authApp .error-message {
	display: block;
	visibility: hidden;
	position: absolute;
	top: 0;
	left: calc(100% + 20px);
	background-color: #e26d00;
	color: white;
	border-radius: 6px;
	padding: 10px;
	white-space: nowrap;
}

#authApp .global-error-message {
	display: none;
	/* visibility: hidden; */
	margin: 15px 0px 5px 0px;
	padding: 10px;
	min-height: 20px;
	height: auto;
	position: relative;
	top: 0;
	width: auto;
	background-color: #e26d00;
	color: white;
	border-radius: 6px;
	white-space: nowrap;
}

#authApp .spinner {
	visibility: hidden;
	padding-top: 20px;
	width: 76px;
	height: 30px;
	position: relative;
	margin: 0 auto;
}

#authApp .spinner > div {
	width: 16px;
	height: 16px;
	background-color: #c0f000;
	border-radius: 50%;
	display: inline-block;
	position: absolute;
}

#authApp .dot1 {
	left: 0;
	animation: auth-bounce 1.5s infinite ease-in-out;
	animation-delay: -0.3s;
}

#authApp .dot2 {
	left: 20px;
	animation: auth-bounce 1.5s infinite ease-in-out;
	animation-delay: -0.15s;
}

#authApp .dot3 {
	left: 40px;
	animation: auth-bounce 1.5s infinite ease-in-out;
	animation-delay: 0;
}

#authApp .dot4 {
	left: 60px;
	animation: auth-bounce 1.5s infinite ease-in-out;
	animation-delay: 0.15s;
}

@keyframes auth-bounce {
	0%, 80%, 100% {
		transform: scale(0);
	} 
	40% {
		transform: scale(1);
	}
}

#authApp button[type="submit"]:disabled {
	opacity: 0.3;
	pointer-events: none;
}

#authApp .langs {
	position: fixed;
	top: 10px;
	right: 40px;
	width: auto;
	height: 42px;
	color: white;
}

#authApp .language-selector {
	display: flex;
}

#authApp .language {
	width: 48px;
	height: 42px;
	cursor: pointer;
	position: relative;
}

#authApp .language::before {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-size: cover;
}

#authApp .language[data-lang="en"]::before {
	content: "";
	background-image: url('images/flag_en.png');
}

#authApp .language[data-lang="ru"]::before {
	content: "";
	background-image: url('images/flag_ru.png');
}

#authApp .language[data-lang="pl"]::before {
	content: "";
	background-image: url('images/flag_pl.png');
}

#authApp .language[data-lang="de"]::before {
	content: "";
	background-image: url('images/flag_de.png');
}

#authApp .language[data-lang="fr"]::before {
	content: "";
	background-image: url('images/flag_fr.png');
}

#authApp .language[data-lang="pt"]::before {
	content: "";
	background-image: url('images/flag_pt.png');
}

#authApp .language[data-lang="es"]::before {
	content: "";
	background-image: url('images/flag_es.png');
}

#authApp .language[data-lang="pt-BR"]::before {
	content: "";
	background-image: url('images/flag_pt-BR.png');
}

#authApp .language[data-lang="es-419"]::before {
	content: "";
	background-image: url('images/flag_es-419.png');
}

#authApp .language.selected::after {
	content: "";
	width: 48px;
	height: 42px;
	position: absolute;
	top: 0px;
	left: 0px;
	background-image: url('images/flag_frame.png');
}

#authApp .compact-window {
	min-height: 310px;
}

#authApp .under-field-comment {
	padding: 10px 0px 10px 0px;
	width: 284px;
	font-size: 15px;
	line-height: 1.45;
	text-align: center;
	font-weight: bold;
	color: #65bcff;
}

#authApp .pre {
	white-space: pre;
}



#authApp .hint-for-auth-margin {
	margin: 0px 0 20px 0;
}

#authApp .main-agreement-block {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	margin-top: 100px;
	top: 48%;
	display: flex;
	justify-content: center;
	align-items: flex-start;

	width: 100%;
}

#authApp .main-agreement {
	width: 480px;
	padding: 10px 20px 14px 20px;

	background-color: #00000090;
	border-radius: 8px;

	color: #81b9fc;
	font-size: 15px;
	line-height: 1.2;
}

#authApp .main-agreement a {
	color: #d5edff;
}

#authApp .agreement {
	color: #76bcf2;
	font-size: 14px;
	padding: 0 12px 10px 12px;
}

#authApp .agreement a {
	color: #d5edff;
}

#authApp .agreement a:hover,
#authApp .main-agreement a:hover {
	color: #fff;
}

#authApp .social-part {
	width: 100%;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: top;
}

#authApp .divider {
	width: 322px;
	height: 16px;
	background-image: url('images/divider.png');
	background-repeat: no-repeat;
	background-position: center;
	margin: 10px 0 10px 0;
}

#authApp .social-button {
	width: 48px;
	height: 48px;
	margin: 0 10px 0 10px;
	cursor: pointer;
}

#authApp .button-google {
	/* background: url('images/social_google.png') no-repeat; */
	transform: scale(1.25);
	padding-top: 4px;
}

#authApp .button-facebook {
	background: url('images/social_facebook.png') no-repeat;
}

#authApp .button-twitter {
	background: url('images/social_x.png') no-repeat;
}

#authApp .main-buttons {
	width: 600px;
	display: flex;
	justify-content: center;
}

#authApp .main-button-part {
	width: 270px;
	height: 100px;
	/* margin: 0 20px 0 20px; */
}

#authApp .play-button-top-text {
	width: 100%;
	text-align: center;
	color: white;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
}


#overlay #authApp .form-container {
	background-color: #082542;
	border: 2px solid #a9d3ff;
	box-shadow: 0 0 8px 5px #006cff60, 0 0 8px 5px #006cff60 inset;
}

#overlay #authApp .input-label,
#overlay #authApp .checkbox-text {
	color: #2e8cca;
}

#overlay #authApp input[type="email"],
#authApp input.login,
#overlay #authApp input[type="text"],
#overlay #authApp input[type="password"] {
	background-color: #08192a;
}
