@font-face {
  font-family: 'Proxima-Nova';
  src: url("../fonts/Proxima-Nova-Regular.ttf") format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Proxima-Nova';
  src: url("../fonts/Proxima-Nova-Bold.ttf") format('truetype');
  font-weight: bold;
  font-style: normal;
}

body {
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-family: "Proxima-Nova", sans-serif;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5em;
	color: black;
	background-color: #666;
}

input, button, a {
	transition-property: background-color, color, border-color;
	transition-duration: 0.25s;
	transition-timing-function: ease-in-out;
}

a {
	color: #9b1c51;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, h5 {
	margin: 0 0 20px;
	font-weight: 400;
}

div.container {
	margin: auto;
	color: black;
	background-color: white;
}

div.top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 118px;
	border-bottom: 1px solid black;
	pointer-events: none;
}

div.tint {
	background-image: url(../pics/Riskianalyysi-logo.jpeg);
	margin: auto;
	max-width: 1200px;
	background-size: 108px 90px;
	background-position: 0% 14px;
	background-repeat: no-repeat;
	position: relative;
	height: 118px;
}

div.test {
	float: right;
	line-height: 108px;
	color: red;
}

span.logo {
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-weight: bold;
	width: 100%;
	height: 100%;
}

div.menu {
	line-height: 118px;
	min-height: 118px;
	font-size: 80%;
	letter-spacing: 0.12em;
	margin: auto;
	max-width: 1055px;
	padding-left: 145px;
	text-transform: uppercase;
}
div.menu a {
	display: inline-block;
	text-decoration: none;
	color: #999;
	margin-left: 20px;
}
div.menu a:hover,
div.menu a.active {
	color: #000;
}

div.appName {
	text-transform: uppercase;
	font-family: "Proxima-Nova", sans-serif;
	font-weight: bold;
	font-size: 200%;
	margin: 0.5em 0 0 0;
	padding: 0;
	text-align: center;	
}

hr {
	display: none;
}

div.page {
	padding: 1em;
}

div.footer {
	color: #333;
	background-color: #ddd;
	padding: 1px 100px;
	font-size: 15px;
}

div.footer p {
	line-height: 1.5em;
	width: 400px;
}

div.footer a,
div.footer a:hover {
	color: #333;
	text-decoration: none;
}

table.form th {
	font-weight: normal;
}

table.results thead,
table.results thead a {
	background-color: #ddd;
	color: black;
	font-weight: normal;
}

button {
    border: 0;
    color: white;
    background-color: white;
    color: #000;
    padding: 5px 8px;
    font-weight: normal;
    font-size: 14px;
	text-transform: uppercase;
	border: 2px solid #000;
	border-radius: 0px;
}
