*,
*::before,
*::after {
	box-sizing: border-box;
}

*[data-hidden] {
	display: none !important;
}


body {
	background-color: #f0f0f0;
	color: rgba(0,0,0,.87);
	font-family: 'Open Sans', sans-serif;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	margin: 0;
	padding-bottom: 0;
	/*fix for Ios rubberband scrolling*/
	position: fixed;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.top_page_failure_message {
	color: rgba(255,255,255,.87);
	padding: 0.75rem;
	font-weight: 600;
	border-radius: 0.125rem;
	background-color: #e53935;
}

.top_page_failure_message i {
	font-size: 1.5rem;
	vertical-align: middle;
	margin-right: 1rem;
}

.insubheader {
	color: rgba(0,0,0,.68);
	letter-spacing: 0.05em;
	display: block;
	font-size: 0.875rem;
}

input {
	color: rgba(0,0,0,.87);
	padding: 0.375rem 0.25rem;
	border: none;
	background-color: transparent;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.36);
	box-shadow: none;
	caret-color: #f9bf3b;
	outline: none;
}

.wrapper {
	background-color: #f0f0f0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	flex: auto;
}

.login_logo {
	height: 6rem;
	margin-bottom: auto;
	margin-top: auto;
}

.login_form,
#pwdrecover_form {
	border-radius: 0.5rem;
	overflow: hidden;
	width: min(100dvw, 23rem);
	min-width: fit-content;
	background-color: #fff;
	box-shadow: 0 0.1875rem 0.0625rem -0.125rem rgba(0, 0, 0, 0.2), 0 0.125rem 0.125rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.3125rem 0 rgba(0, 0, 0, 0.12);
	font-size: 1rem;
}

@media (max-device-width: 768px), (max-device-height: 768px) {
	.login_form {
		box-shadow: none;
	}

	.wrapper {
		background-color: #fff;
	}

	.login_logo {
		height: 6rem;
		padding-top: 2rem;
		/*margin-bottom: 1rem;*/
	}
}

/*@media (max-height: 600px) {*/
/*	.login_logo {*/
/*		height: 6rem;*/
/*		padding-top: 2rem;*/
/*		margin-bottom: 0;*/
/*	}*/
/*}*/


.login_header {
	padding: 2rem 2rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.login_title {
	font-size: 2.25rem;
}

@media (max-device-width: 768px), (max-device-height: 768px) {
	.login_title {
		font-size: 1.875rem;
	}
}

.login_server_name {
	font-weight: 600;
	letter-spacing: 0.04em;
	font-size: 1rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.login_content {
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.password_input_wrapper {
	position: relative;
}

.password_input_wrapper input {
	padding-right: 1.5rem;
}

#show_password {
	font-size: 1rem;
	height: 1rem;
	line-height: 1rem;
	position: absolute;
	right: 0;
	color: rgba(0,0,0,.68);
	cursor: pointer;
}

.login_form input:not([type=submit]),
#pwdrecover_form input:not([type=submit]),
.login_form select {
	width: 100%;
	font-size: 0.875rem;
}

#pwdrecover_form_title {
	background-color: #455a64;
	color: rgba(255,255,255,.87);
	font-weight: 600;
	letter-spacing: 0.04em;
	font-size: 1rem;
	text-align: center;
	padding: 0 1.25rem 1rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.login_button {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	display: inline-block;
	height: 2.25rem;
	padding: 0 1rem;
	border: none;
	border-radius: 0.5rem;
	outline: none;
	text-align: center;
	text-transform: uppercase;
	vertical-align: middle;
	overflow: hidden;
	user-select: none;
	cursor: pointer;
	color: rgba(255,255,255,.87);
	background: #689F38;
	will-change: box-shadow;
	box-shadow: 0 0.1875rem 0.0625rem -0.125rem rgba(0, 0, 0, 0.2), 0 0.125rem 0.125rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.3125rem 0 rgba(0, 0, 0, 0.12);
	margin-top: 1rem;
}

.login_button:disabled {
	background-color: rgba(0, 0, 0, 0.12);
	color: rgba(0,0,0,.26);
}

.changepwd_stage_two .login_button {
	margin-top: 3rem;
}

.login_forgotten_password {
	display: inline-block;
	margin-top: 1rem;
	font-size: 0.75rem;
	color: rgba(0,0,0,.68);
	opacity: 0.8;
	text-decoration: unset;
}

.login_forgotten_password:hover {
	opacity: 1;
}

.login_footer {
	margin-top: auto;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.75rem;
	color: rgba(0,0,0,.68);
	font-weight: 600;
}

.login_copyright {
	color: rgba(0,0,0,.68);
	text-decoration: none;
	cursor: pointer;
}

.login_language {
	display: flex;
	align-items: center;
}

.login_language i {
	font-size: 1rem;
	line-height: 1rem;
	height: 1rem;
}

select.login_language_select {
	background-color: transparent;
	border: none;
	padding-top: 0;
	padding-bottom: 0;
	cursor: pointer;
	color: rgba(0,0,0,.68);
	border-radius: 0;
	outline: none;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: .04em;
}


.login_maintenance_mode {
	margin-top: 2rem;
	border-radius: 0.25rem;
	overflow: hidden;
}

.login_maintenance_mode_header,
.login_maintenance_mode_message {
	padding: 1rem;
}


.login_maintenance_mode_header {
	font-size: 1.25rem;
	font-weight: 600;
	background-color: #e53935;
	color: rgba(255,255,255,.87);
}

.login_maintenance_mode_header i {
	font-size: 1.5rem;
	vertical-align: middle;
	margin-right: 1rem;
}

.login_maintenance_mode_message {
	background-color: #fff;
	color: rgba(0,0,0,.87);
}

/* PWDRECOVER */
#pwdrecover_form_title {
	font-size: 1.25rem;
	text-align: center;
}

#pwdrecover_info {
	position: relative;
	padding: 3rem;
	font-weight: 600;
	border-radius: 0.25rem;
	background-color: #fff;
}

#pwdrecover_servername {
	font-weight: 600;
	font-size: 2rem;
	margin-bottom: 2rem;
}

#pwdrecover_message {
	font-weight: normal;
	font-size: 1rem;
}

#login {
	position: absolute;
	bottom: 0.5rem;
	right: 0.7rem;
	margin-top: 1rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-align: right;
}

#login a {
	color: rgba(0,0,0,.68);
}

#captcha_wrapper {
	text-align: center;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

#captcha_reload {
	cursor: pointer;
	opacity: .6;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-block;
	padding: 0;
	border: none;
	outline: none;
	background-color: transparent;
	position: relative;
	font-size: 1.5rem;
	color: rgba(0,0,0,.87);
}

#captcha_reload::after {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transition-property: opacity;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 0.15s;
	border-radius: 0.125rem;
	background-color: rgba(0, 0, 0, 0.3);
	content: "";
	opacity: 0;
	pointer-events: none;
}

#captcha_reload:hover::after {
	opacity: .4;
}