﻿html, body, form {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

.container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	width: 100%;
	background-color: #f7fdff;
}

.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;
	font-family: RubikRegular, Arial;
}

.main {
	display: flex;
	height: 100%;
	justify-content: space-between;
}


.leftBlock {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	width: 100%;
	min-width: 500px;
	min-height: 400px;
	border: 1px solid #dfe4ec;
	background-color: #ffffff;
	box-sizing: border-box;
	overflow: hidden;
	flex-shrink: 0;
}

#logo {
	width: 100%;
	text-align: center;
	overflow: hidden;
	height: 75px;
	min-height: 75px;
	padding: 15px 0;
	flex-shrink: 0;
}

.logo {
	max-width: 330px;
	margin: 0 auto;
}

.secondaryLogo {
    margin: 0 auto;
    margin-top: 20px;
    width: 900px;    
}

.secondaryLogoImg {
    margin: 0 auto;
    width: 900px;    
}

#loginForm {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
}

	#loginForm a {
		font-size: 12px;
	}

	#loginForm label {
		font-size: 13px;
		color: #3d4d5a;
		font-family: RubikRegular, Arial;
	}

.loginFormInput {
	padding: 0 10px;
	box-sizing: border-box;
	display: block;
	width: 330px;
	height: 30px;
	line-height: 30px;
	background: #ffffff;
	border: 1px solid #dfe4ec;
	font-family: RubikRegular, Arial;
}

.loginFormInput:hover {
	border: 1px solid #1668b5;
}

.loginFormButton {
	margin-bottom: 20px;
}

.loginFormLink {
	margin-left: 10px;
	color: #2a669e;
	text-decoration: none;
	height: 20px;
	line-height: 20px;
	display: inline-block;
	font-size: 12px;
	font-family: RubikRegular, Arial;
}

.loginFormLink:hover {
	color: #1b5387;
}

#rightBlock {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#imageRotate {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

#links {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	flex-wrap: wrap;
	padding-top: 50px;
	overflow: hidden;
	flex-shrink: 0;
}

.linkBlock {
	padding: 10px;
	max-width: 230px;
	min-width: 150px;
	align-self: baseline;
	box-sizing: border-box;
}

	.linkBlock h2 {
		margin: 0;
	}

	.linkBlock img {
		margin-right: 5px;
	}

	.linkBlock p {
		margin-top: 12px;
		font-size: 13px;
		color: #5C5C5C;
		font-family: RubikRegular, Arial;
	}

.learnMore {
	border: 1px solid #2a669e;
	border-radius: 20px;
	height: 25px;
	line-height: 25px;
	padding: 0 10px;
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	box-sizing: border-box;
}

	.learnMore a {
		text-decoration: none;
		font-size: 12px;
		color: #2a669e;
		font-family: RubikRegular, Arial;
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
	}

.messageError {
	color: #FF0000;
	font: 10pt RubikRegular, Arial;
	text-align: justify;
	margin: 0;
	background-color: #FFEAEA;
	border: solid 1px #FFA5A5;
	padding: 0 10px;
	box-sizing: border-box;
}

.photo {
	float: left;
	display: inline;
}

.description {
	font-size: 14px;
	color: #2a669e;
	font-family: RubikRegular, Arial;
}

.idocBtnEmp input {
	line-height: 17px;
}

.bx-wrapper {
	height: 100%;
	width: 100%;
}

	.bx-wrapper .bx-viewport {
		border: 0 none;
		box-shadow: 0;
		left: 0;
		height: 100% !important;
		background-color: transparent;
	}

	.bx-wrapper img {
		max-width: none;
	}

.bottomControls {
	width: 330px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
}

#rememberMe {
	margin-left: 0;
	padding-left: 0;
}

.slide {
	height: 100%;
}

	.slide a {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		height: 100%;
	}

	.slide img {
		width: 100%;
		flex-shrink: 0;
	}

.bx-wrapper .bx-controls-direction .bx-prev, .bx-wrapper .bx-controls-direction .bx-next {
	z-index: 90;
}

.login-side {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	overflow: hidden;
}

.login-content {
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	align-self: center;
}

#_upLoginForm {
	height: 160px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.leftBlock input.btn-blue,
.leftBlock button.btn-blue,
.leftBlock input.btn-grayish,
.leftBlock button.btn-grayish {
	width: 330px;
	font-weight: normal;
	font-size: 14px;
	border-radius: 8px;
	height: 40px;
	padding-left:20px;
	padding-right:20px;
	border: none;
	font-family: RubikRegular, Arial, Verdana, sans-serif;
	cursor: pointer;
	margin: 5px 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
}

.leftBlock input.btn-blue:hover,
.leftBlock button.btn-blue:hover {
	background-color: #1b5387;
}

.leftBlock input.btn-grayish,
.leftBlock button.btn-grayish {
	background-color: #E2EAF1;
	color: #2A669E;
}

.leftBlock input.btn-grayish:disabled,
.leftBlock button.btn-grayish:disabled {
	background-color: #E2EAF1;
	color: #666666;
	cursor: default;
}

.leftBlock input.btn-blue,
.leftBlock button.btn-blue {
	background-color: #2A669E;
	color: #ffffff;
}
.leftBlock input.btn-blue:disabled,
.leftBlock button.btn-blue:disabled {
	background-color: #666666;
	cursor: default;
}

.buttonAndText {
	width: 100%;
	padding: 10px 0;
}

.btn-row {
	display: flex;
	justify-content: space-between;
}

#errorcontainer {
	width: 330px;
	flex-shrink: 0;
	font-family: RubikRegular, Arial, Verdana, sans-serif;
	font-size: 13px;
	line-height: 1.5;
}

.browser-warning-block {
	text-align: justify;
}

.browser-warning-wrapper
{
	padding-top: 1px;
	margin-bottom: 10px;
}

.login-content-wrapper {
	width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	display: flex;
	justify-content: center;
}

@media screen and (min-width: 1601px) {
	.login-content {
		width: 80%;
	}

	#links {
		justify-content: space-between;
		width: 100%;
	}

	.linkBlock {
		max-width: none;
		width: 33%;
	}
}

@media screen and (max-width: 1600px) {
	.login-content {
		width: auto;
	}

	#links {
		justify-content: center;
	}

	.linkBlock {
		max-width: 200px;
	}
}

@media screen and (max-width: 1200px) {
	.rightBlock {
		display: none;
	}

	.container {
		height: 100%;
	}

	#links {
		width: auto;
		flex-direction: row;
	}

	.linkBlock {
		max-width: 230px;
	}
}

@media screen and (max-width: 900px) {
	.container {
		justify-content: space-around;
		width: auto;
		min-height: 100%;
	}

	.login-content-wrapper {
		overflow-x: hidden;
	}

	.linkBlock {
		max-width: 220px;
	}
}

@media screen and (max-width: 600px) {
	.login-content-wrapper {
		overflow-y: auto;
	}

	#links {
		flex-direction: column;
	}

	.linkBlock {
		align-self: auto;
		max-width: 200px;
		width: auto;
	}
}

@media screen and (max-width: 450px) {
	.login-content {
		align-self: center;
	}

	#links {
		display: none;
	}
}

@media screen and (max-height: 700px) {
	.header { 
		display: none;
	}

	#links {
		display: none;
	}
}

@media screen and (max-height: 450px) {
	.login-content {
		align-self: flex-start;
	}
}


@media screen and (min-width: 451px) and (max-width: 600px) and (max-height: 700px) {
	.login-content {
		align-self: center;
	}
}

@media screen and (min-width: 451px) and (max-width: 600px) and (min-height: 701px) {
	.login-content {
		align-self: flex-start;
	}
}