:root {
	--red: #EA2228;
	--gray: #6E6F6F;
	--yellow1: #FDC010;
	--yellow2: #FBAD18;
	--bg1: #173C59;
	--bg2: #28557B;
	--front: #fff;
}

@font-face {
	font-family: "Roboto";
	src: url("/asset/fonts/RobotoCondensed-Regular.ttf");
}

@font-face {
	font-family: "Roboto";
	font-weight: bold;
	src: url("/asset/fonts/RobotoCondensed-Bold.ttf");
}

html, body {
	padding: 0;
	margin: 0;
	background-color: var(--bg1);
}

.frame {
	width: 100vw;
	height: 100vh;
	display: flex;
}

.frame__logo {
	flex: 0.4;
	background-color: var(--bg1);
	overflow: hidden;
}

.frame__form {
	flex: 0.6;
	background-color: var(--bg2);
	display: flex;
	align-items: center;
	padding-left: 40px;
}


@media screen and (max-width: 1000px) {
	.frame {
		flex-wrap: nowrap;
		flex-direction: column;
	}

	.frame__logo {
		min-width: 100vw;
		max-width: 100vw;
		min-height: 150px;
		max-height: 50vw;
		flex: 1;
	}

	.frame__form {
		justify-content: center;
		align-items: start;
		padding: 40px 0;
		flex: auto;
	}
}

form div {
	display: block;
	margin-bottom: 15px;
	animation-name: show-form;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in-out;
	opacity: 0;
}

form div:nth-of-type(1) {
	animation-delay: 0.1s;
}

form div:nth-of-type(2) {
	animation-delay: 0.2s;
}

form div:nth-of-type(3) {
	animation-delay: 0.3s;
}

form h1 {
	font: 24px Roboto, Arial, Helvetica, Sans-Serif;
	margin: 0 0 10px 0;
	color: var(--front);
	animation-name: show-form;
	animation-timing-function: ease-in-out;
	animation-duration: 1s;
	user-select: none;
}

form a {
	font: 16px Roboto, Arial, Helvetica, Sans-Serif;
	margin-bottom: 10px;
	color: var(--yellow1);
	text-decoration: none;
	cursor: pointer;
	margin-left: 15px;
	user-select: none;
}

form a:first-child {
	margin-left: 0;
}

form a:hover {
	text-decoration: underline;
}

form input {
	background-color: transparent;
	border: 1px solid var(--front);
	color: var(--front);
	padding: 10px 15px;
	font: 18px Roboto, Arial, Helvetica, Sans-Serif;
	outline: none !important;
	border-radius: 3px;
	width: 200px;
}

form button {
	background-color: var(--yellow2);
	border: none;
	color: var(--gray);
	padding: 10px 15px;
	font: 18px Roboto, Arial, Helvetica, Sans-Serif;
	outline: none !important;
	border-radius: 3px;
	width: 100px;
	cursor: pointer;
}

form button:hover {
	background-color: var(--yellow1);
}

form input::placeholder {
	color: var(--front);
}

input[type="text"]:-webkit-autofill,
input[type="text"]:-webkit-autofill:hover,
input[type="text"]:-webkit-autofill:active,
input[type="text"]:-webkit-autofill:focus,
input[type="password"]:-webkit-autofill,
input[type="password"]:-webkit-autofill:hover,
input[type="password"]:-webkit-autofill:active,
input[type="password"]:-webkit-autofill:focus {
	background-color: transparent !important;
	color: var(--front)!important;
	transition: background-color 99999s ease-in-out 0s, color 99999s ease-in-out 0s;
	font: 18px Roboto, Arial, Helvetica, Sans-Serif !important;
}

section {
	font: 15px Roboto, Arial, Helvetica, Sans-Serif;
	color: var(--front);
	background-color: var(--red);
	padding: 10px 15px;
	margin-bottom: 15px;
	width: 200px;
}

section:empty {
	display: none;
}

.auth-2fa {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	display: flex;
	visibility: hidden;
	align-items: center;
	z-index: 1000;
	background-color: rgba(0, 0, 0, 0);
	backdrop-filter: blur(5px);
	font: 18px Roboto, Arial, Helvetica, Sans-Serif;
	transition: background-color 0.4s ease-out;
}

.auth-2fa > div {
	flex: 1;
	background-color: var(--bg2);
	color: var(--front);
	padding: 30px 20px;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.auth-2fa > div > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.auth-2fa h2 {
	flex: 1;
	font: 18px Roboto, Arial, Helvetica, Sans-Serif;
	margin: 0 0 10px 0;
	user-select: none;
}

.auth-2fa input {
	width: 80px;
}

.auth-2fa section {
	width: 180px;
	margin-top: 20px;
	margin-bottom: 0;
}

.auth-2fa.show {
	visibility: visible;
	background-color: rgba(0, 0, 0, 0.5);
}

.auth-2fa.show > div {
	opacity: 1;
	transform: translateY(0);
}

@keyframes show-form {
	from {
		opacity: 0;
		transform: translateX(10px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.select-css {
	display: block;
	font-size: 16px;
	font-family: sans-serif;
	/*font-weight: 700;*/
	color: #444;
	/*line-height: 1.3;*/
	padding: .6em 1.4em .5em .8em;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .5em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
	linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}
.select-css::-ms-expand {
	display: none;
}
.select-css:hover {
	border-color: #888;
}
.select-css:focus {
	border-color: #aaa;
	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #222;
	outline: none;
}

.select-css option {
	font-weight:normal;
}

*[dir="rtl"] .select-css, :root:lang(ar) .select-css, :root:lang(iw) .select-css {
	background-position: left .7em top 50%, 0 0;
	padding: .6em .8em .5em 1.4em;
}

.select-css:disabled, .select-css[aria-disabled=true] {
	color: graytext;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
	linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
}

.select-css:disabled:hover, .select-css[aria-disabled=true] {
	border-color: #aaa;
}
