@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,600');

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	outline: 0;
}

body, html {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	/*-- Flex --*/
	display: flex;
	justify-content: center;
	align-items: center;
	/*-- Background --*/
	background-image: url("../../images/login-background.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.main-container {
	position: relative;
	width: 100%;
	height: 600px;
	max-width: 500px;
	border-radius: 3px;
	padding: 40px;
	background-color: #fff;
	/*-- Flex --*/
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

@media (max-width: 500px) {
	.main-container {
		height: 100%;
	}
}

a {
	color: #055f79;
}
a:hover {
	text-decoration: underline;
}

.center {
	justify-content: center;
}

.language-switch {
	position: absolute;
	cursor: context-menu;
	top: 15px;
	right: 15px;
	font-size: 13px;
	color: #505050;
}

#finnish, #swedish {
	cursor: pointer;
}

.header {
	color: #505050;
	margin-bottom: 50px;
}

.header img {
	width: 230px;
}

#login-form {
	width: 100%;
	max-width: 350px;
}

#login-form .row {
	margin-bottom: 15px;
}

#login-form label {
	display: inline-block;
	font-size: 13px;
	font-weight: 400;
	margin-bottom: 5px;
	color: #505050;
}

#login-form input {
	display: block;
	width: 100%;
	font-size: 13px;
	line-height: 1.5;
	padding: 9.5px 13px;
	font-family: 'Open Sans', sans-serif;
	/*-- Colors --*/
	color: #505050;
	background-color: #fff;
	/*-- Border --*/
	border-radius: 3px;
	border: 1px solid #ccc;
	/*-- Transition --*/
	-webkit-transition: border-color .15s ease-in-out;
	transition: border-color .15s ease-in-out;
}

#login-form input:focus {
	border-color: #4a5f63;
}

#login-form input:-webkit-autofill {
	-webkit-box-shadow: inset 0 0 0 50px #fff;
	-webkit-text-fill-color: #505050;
}

#login-form button {
	width: 100%;
	border: 0;
	cursor: pointer;
	padding: 15px;
	margin-top: 15px;
	border-radius: 3px;
	color: #fff;
	background-color: #4a5f63;
}

#login-form button:hover,
#login-form button:focus {
	background-color: #3c4d51;
}

.feedback {
	margin-top: 50px;
}

.feedback a {
	text-decoration: none;
	font-size: 13px;
	color: #505050;
}
