﻿html, body, form {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

form {
	font-family: Arial;
	font-size: 14px;
	background: #fdfdfd;
}

.container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	width: 100%;
}

.header {
	background: url(Images/header_gradient.png) repeat-x;
	max-height: 55px;
	line-height: 55px;
}

	.header a {
		color: #fff;
		font-size: 13px;
		font-weight: bold;
		vertical-align: middle;
	}

	.header img {
		vertical-align: middle;
		margin-right: 8px;
		margin-left: 65%;
	}

.footer {
	color: #7d7d7d;
	text-align: center;
	font-size: 11px;
	line-height: 40px;
}

.main {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	margin-bottom: 20px;
	min-height: 330px;
}


.leftBlock {
	min-width: 310px;
	padding: 29px 25px 20px 20px;
	border-top: 1px solid #d2d2d2;
	border-left: 1px solid #d2d2d2;
	border-right: 1px solid #d2d2d2;
	border-bottom: 1px solid #d2d2d2;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
}

#logo {
	width: 100%;
	text-align: center;
	overflow: hidden;
	height: 65px;
}

.logo {
	width: 308px;
	margin: 0 auto;
}

.separator {
	background: #9d9d9d;
	height: 1px;
	margin-top: 15px;
	margin-left: -1px;
	width: 313px;
}

#loginForm {
	color: #9d9d9d;
	font-size: 12px;
	padding-top: 18px;
}

	#loginForm a {
		font-size: 12px;
	}

	#loginForm label {
		font-size: 12px;
		color: #666;
	}

.loginFormInput {
	margin: 10px 0 10px;
	display: block;
	width: 292px;
	height: 20px;
	line-height: 20px;
	padding-left: 5px;
	background: #fbfbfb;
	border-top: 1px solid #9d9d9d;
	border-left: 1px solid #d2d2d2;
	border-right: 1px solid #d2d2d2;
	border-bottom: 1px solid #e6e6e6;
}

.loginFormButton {
	margin-bottom: 20px;
}

.loginFormLink {
	margin-left: 10px;
	color: #51A5D9;
	text-decoration: none;
	font-weight: bold;
	height: 20px;
	line-height: 24px;
	display: inline-block;
	font-size: 12px;
}

#rightBlock {
	float: left;
	width: 528px;
	height: 329px;
	margin-left: 17px;
	overflow: hidden;
}

#imageRotate {
	width: 528px;
	height: 330px;
	position: relative;
	padding: 0;
	margin: 0;
}

td.rightBlock {
	width: 528px;
	height: 100%;
}

#links {
	font-size: 12px;
	color: #9d9d9d;
	border-radius: 15px;
	border: 1px solid #f5f5f5;
	background: #f5f5f5;
	display: flex;
	align-self: center;
	min-height: 230px;
}

	#links * {
		box-sizing: border-box;
	}

	#links div.link-separator:last-child {
		display: none;
	}

.link-separator {
	border-left: 1px solid #d8d8d8;
	width: 1px;
	height: 200px;
	align-self: center;
}

.linkBlock {
	position: relative;
	margin: 0px;
	padding: 20px;
	width: 300px;
}

	.linkBlock h2 {
		font-size: 14px;
		margin: 0;
	}

	.linkBlock img {
		margin-right: 5px;
	}

	.linkBlock p {
		margin-top: 12px;
		font-size: 13px;
		color: #5C5C5C;
	}

.learnMore {
	margin-top: 13px;
}

	.learnMore a {
		color: #51A5D9;
		font-size: 12px;
		text-decoration: none;
		font-weight: bold;
	}

.messageError {
	color: #FF0000;
	font: 10pt Arial;
	text-align: center;
	margin: 0;
	background-color: #FFEAEA;
	border: solid 1px #FFA5A5;
}

.photo {
	float: left;
	display: inline;
}

.description {
	display: table-cell;
	font-size: 15px;
	color: #333;
	zoom: 1;
}

.idocBtnEmp input {
	line-height: 17px;
}

.bx-wrapper, .bx-wrapper .bx-viewport {
	height: 330px;
	width: 528px;
}

	.bx-wrapper .bx-viewport {
		border: 0 none;
		box-shadow: 0;
		left: 0;
	}

	.bx-wrapper img {
		max-width: none;
	}

.buttonAndText {
	float: left;
}

.bottomControls {
	padding-top: 14px;
}

#rememberMe {
	margin-top: 1px;
	margin-left: 0;
	padding-left: 0;
}

#imageRotate {
	background: #fdfdfd;
}

.slide img {
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
}

.bx-wrapper .bx-controls-direction .bx-prev, .bx-wrapper .bx-controls-direction .bx-next {
	z-index: 90;
}

@media screen and (max-width: 800px) {
	.container {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		height: auto;
		width: auto;
	}

	#links {
		flex-direction: column;
	}

	#rightBlock {
		display: none;
	}

	.leftBlock {
		zoom: 0.9;
	}

	.link-separator {
		border-bottom: 1px solid #d8d8d8;
		width: 80%;
		height: auto;
		align-self: center;
	}
}

@media screen and (max-height: 700px) {
	.header { 
		display: none;
	}
}