html
{
	box-sizing: border-box;
}


*, *:before, *:after
{
	box-sizing: inherit;
	line-height: 0;
	margin: 0;
	padding: 0;
}


html, body
{
	height: 100%;
	margin: 0;
	min-width: 320px;
	padding: 0;
	width: 100%;
}

body
{
	background-color: #d9d9d9;
	background-position: center center;
	background-size: cover;
	color: #000000;
	font-family: 'Arimo', Arial, sans-serif;
	font-size: 12px;
	z-index: 0;
}


button
{
	background-color: #ffffff;
	border: 1px solid #808080;
	float: right;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	height: 30px;
	margin: 0;
	padding: 0 3px;
	vertical-align: middle;
	width: 300px;
}


input[type='text'], input[type='password']
{
	background-color: #ffffff;
	border: 1px solid #808080;
	font-family: inherit;
	font-size: 16px;
	height: 30px;
	line-height: 24px;
	padding: 3px;
	width: 300px;
}


label
{
	display: block;
	float: left;
	font-size: 16px;
	font-weight: 600;
	line-height: 30px;
	text-shadow: 0 0 5px #ffffff;
	width: 150px;
}


#disporail-logo
{
	background-image: url('../img/system/logo-disporail.svg');
	background-position: top right;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	float: none;
	height: 100px;
	margin: 0;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 482px;
}


#edg-logo
{
	background-image: url('../img/system/logo_trtransrail_gross.png');
	background-position: top left;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	float: none;
	height: 100px;
	left: 20px;
	margin: 0;
	position: absolute;
	top: 20px;
	width: 230px;
}


#error-message
{
	color: #ff8080;
	font-size: 16px;
	font-weight: 600;
	line-height: 30px;
	text-align: center;
	text-shadow: 0 0 5px #bc2b2b;
}


#form-outer
{
	height: 100%;
	position: fixed;
	width: 100%;
	z-index: 1010;
	min-width: 280px;
	
	/*border: 3px solid blanchedalmond;*/
}

#form-inner
{
	height: 100%;
	text-align: center;
	position: relative;
	overflow-y: auto;
	
	/*border: 3px solid chocolate;*/
}

#form-inner:before
{
	content: '\200B';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}


#form-content
{
	display: inline-block;
	margin: 140px 0 20px 0;
	text-align: left;
	vertical-align: middle;
	width: 450px;
	
	/*border: 3px solid lemonchiffon;*/
}


form
{
	position: relative;
	z-index: 20;
}


form > div
{
	display: block;
	float: left;
	width: 100%;
}

form > div+div
{
	margin-top: 10px;
}


#transparent
{
	background-color: rgba(128, 128, 128, 0.75);
	bottom: 0;
	height: auto;
	left: 0;
	position: absolute;
	top: 140px;
	width: 100%;
	z-index: 10;
	
	/*border: 3px solid yellow;*/
}

#transparent-top
{
	background-color: rgba(255, 255, 255, 0.75);
	height: 140px;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 10;
	
	/*border: 3px solid lightcoral;*/
}


@media (max-width: 1023px)
{
	#edg-logo
	{
		background-position: center center;
		right: 20px;
		width: auto;
	}

	#disporail-logo
	{
		background-position: center center;
		left: 20px;
		top: 140px;
		width: auto;
	}

	#form-content
	{
		margin-top: 260px;
	}

	#transparent
	{
		top: 260px;
	}
	
	#transparent-top
	{
		height: 260px;
	}
}


@media (max-width: 524px), (max-height: 429px) and (max-width: 1023px)
{
	#disporail-logo, #edg-logo
	{
		height: 75px;
	}
	
	#disporail-logo
	{
		top: 105px;
	}
	
	#edg-logo
	{
		top: 15px;
	}

	#form-content
	{
		margin-top: 195px;
	}

	#transparent
	{
		top: 195px;
	}
	
	#transparent-top
	{
		height: 195px;
	}
}


@media (max-width: 469px)
{
	#form-content
	{
		width: 280px;
	}

	button, input[type='text'], input[type='password']
	{
		width: 280px;
	}
}


@media (orientation: portrait) and (max-width: 640px)
{
	body
	{
		background-image: url('../img/system/login-background-640x1024.jpg');
	}
}

@media (orientation: portrait) and (min-width: 641px)
{
	body
	{
		background-image: url('../img/system/login-background-1600x2000.jpg');
	}
}

@media (orientation: landscape) and (max-width: 1024px) and (min-aspect-ratio: 4/3)
{
	body
	{
		background-image: url('../img/system/login-background-1024x768.jpg');
	}
}

@media (orientation: landscape) and (min-width: 1025px) and (max-width: 1920px)
{
	body
	{
		background-image: url('../img/system/login-background-1920x1200.jpg');
	}
}

@media (orientation: landscape) and (min-width: 1921px) and (max-width: 2640px)
{
	body
	{
		background-image: url('../img/system/login-background-2640x1920.jpg');
	}
}

@media (orientation: landscape) and (min-width: 1921px) and (max-height: 1875px)
{
	body
	{
		background-image: url('../img/system/login-background-3000x1875.jpg');
	}
}

@media (orientation: landscape) and (min-width: 1921px) and (min-height: 1876px)
{
	body
	{
		background-image: url('../img/system/login-background-3000x2000.jpg');
	}
}
