﻿
body {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	height: 100%;
	/*margin-left: auto;
        margin-right: auto;*/
	margin: 0;
	font-size: 1dvh !important;
	font-family: Segoe UI,"Helvetica Neue",Helvetica,Arial,sans-serif;
}

hgroup h1 {
	font-weight: 200;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 12px;
}

fieldset {
	-moz-border-radius: 18px;
	-webkit-border-radius: 18px;
	border-radius: 18px;
}

table {
	width: 100%;
	height: 100%;
}

input:not([type='checkbox']) {
	height: 3dvh;
	width: 80%;
	border-radius: 0.5dvh;
	padding: 0.5dvh;
	font-size: 1.4dvh;
}

.label-row {
	vertical-align: bottom;
}

	.label-row label {
		font-variant: all-petite-caps;
		font-size: 1dvw;
		font-weight: 600;
	}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	/* display: none; <- Crashes Chrome on hover */
	-webkit-appearance: none;
	margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type="number"] {
	-webkit-appearance: textfield;
	-moz-appearance: textfield;
	appearance: textfield;
}

#loginContainer {
	/* min-width: 250px; */
	/* min-height: 300px; */
	border-radius: 10px;
	width: 20%;
	height: 50%;
	margin: auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-moz-box-shadow: 5px 10px 70px 0 #000000;
	-moz-box-shadow: 5px 10px 70px 0 rgba(0,0,0,0.4);
	-webkit-box-shadow: 5px 10px 70px 0 #000000;
	-webkit-box-shadow: 5px 10px 70px 0 rgba(0,0,0,0.4);
	box-shadow: 5px 10px 70px 0 #000000;
	box-shadow: 5px 10px 70px 0 rgba(0,0,0,0.4);
	/* position: relative; */
}


#logoLoginContainer {
	width: 100%;
	padding: 5%;
	/* position: relative; */
	display: flex;
	flex-direction: column;
}

#logonForm,
#orgLabelContainer {
	/* height: 47.5%; */
	height: 60%;
	width: 100%;
	display: inline-block;
}

#registrationForm {
	height: 70%;
}

#registrationForm, #logonForm {
	margin-left: 8%;
}

#orgLabelContainer {
	height: 40%;
}

#loginFormContainer {
	background-color: var(--bg-lighter);
	float: right;
	/*box-shadow: 0 0 0 1px var(--border);*/
	border: 1px solid var(--border);
	border-left: none;
}

#loginForm {
	/* bottom: 30%; */
	/* position: absolute; */
	width: 100%;
	/* margin: 0 auto; */
	height: 100%;
	margin-block-end: 0;
}

#logonForm,
#registrationForm {
	/* position: relative; */
	width: 100%;
}

input[type="submit"] {
	margin-top: 2%;
}

#registerForm {
	overflow: auto;
	height: 100%;
}

#errorsContainer {
	position: absolute;
	width: 80%;
	padding: 10px;
}

#orgLabelContent {
	width: 100%;
	height: 100%;
	margin: auto;
}

#logoContainer {
	width: 100%;
	height: 100%;
	display: flex;
}

	#logoContainer img {
		margin: auto;
		max-height: 100%;
		max-width: 100%;
	}

#textContainer {
	text-align: center;
	width: 100%;
	height: 10%;
	font-size: 1.3em;
}

#loginButton, #registerButton {
	background-color: var(--hover-bg) !important;
	color: white !important;
	padding: 0;
	border-radius: 5px;
}

	#loginButton:hover {
		background-color: var(--more-hover-bg) !important;
	}

	#registerButton:hover {
		background-color: var(--more-hover-bg) !important;
	}

.inline-svg-icon {
	width: 14px !important;
	height: 14px !important;
}
/*#hideshowimg {
        background-image: url(/Content/images/track-default/blink.png) !important;
        width: 16px;
        height: 16px;
    }
    #hideshowimg:active {
        background-image: url(/Content/images/track-default/eye.png) !important;
        width: 16px;
        height: 16px;
    }*/

td.password-login {
	position: relative;
}

	td.password-login button {
		cursor: pointer;
		outline: none;
		border: none;
		background: none !important;
		position: absolute;
		right: 2px;
		top: 2px;
		height: calc(100% - 4px);
	}

		td.password-login button:hover {
			background: none !important;
		}

#goToRegisterButton,
#goToLoginButton {
	background-color: var(--hover-bg) !important;
	color: white !important;
	padding: 0;
	height: 3dvh;
	border: 0.1dvh solid var(--border) !important;
	width: 80%;
	margin-top: 1dvh;
	border-radius: 0.5dvh;
	font-size: 1.4dvh
}

.messageBox {
	position: absolute;
	width: 390px;
	left: 0;
	top: 0;
	height: 330px;
	background: var(--bg);
	border: 1px solid var(--message-border);
	z-index: 99;
	border-radius: 10px;
	margin: 15% 0% 0% 39.8%;
}

#messageBoxHeader {
	width: auto;
	height: auto;
	background: var(--bg-lighter);
	text-align: center;
	border-radius: 10px 10px 0 0;
	height: 40px;
	display: flex;
	flex-direction: row;
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
}

.messageBoxBody {
	height: 80%;
	overflow: auto;
	position: relative;
}

#messageBoxHeader button {
	background-color: var(--bg) !important;
	color: var(--text) !important;
	border: 1px solid var(--border);
	background-color: var(--bg) !important;
	color: var(--text) !important;
	border: 1px solid var(--border);
	position: absolute;
	right: 0.3em;
	top: 7%;
	width: 20px;
	margin: -10px 0 0 0;
	padding: 1px;
	height: 20px;
}

.messageBoxBottom {
	width: 100%;
	background-color: var(--bg-lighter) !important;
	height: 8%;
	border-radius: 0 0 10px 10px;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

	.messageBoxBottom button {
		border-radius: 5px;
		height: 75%;
		background-color: var(--bg) !important;
		color: var(--text) !important;
		border: 1px solid var(--border);
		width: 68px;
		margin: 4px 10px 0 0;
	}

		.messageBoxBottom button:hover {
			color: white !important;
		}
