body {
	text-align: center;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	padding: 0 0 0 0;
	background: url(jaes-verkkopalvelu-banneri-1920x440.jpg);
	background-repeat: no-repeat;
	background-size: 1400px 300px;
	background-position: center 25px;
	background-color: #ffffff;
	font-family: 'Poppins', Helvetica, Arial, sans-serif;
}

img {
	vertical-align: top;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
}

div#pagewrapper {
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin: auto;
	text-align: left;
	width: 900px;
}

div#container {
	text-align: left;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
}

div#header {
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	clear: both;
	text-align: left;
	height: 310px;
	color: #FFFFFF;
	background-repeat: no-repeat;
	background-size: 100%;
}

div#mainblock {
	padding-top: -100px;
	padding-bottom: 0px;
	padding-left: 50px;
	padding-right: 50px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	text-align: left;
	width: 900px;
	background-color: white;
}

div#content {
	display: inline-block;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 30px;
	margin-bottom: 0px;
	float: none;
	width: auto;
	color: #666666;
}

div#main {
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
}

div#footer {
	padding-top: 5px;
	padding-bottom: 0px;
	padding-left: 50px;
	padding-right: 50px;
	margin-bottom: 10px;
	margin-top: 20px;
	margin-left: 0px;
	margin-right: 0px;
	clear: both;
	text-align: left;
	height: 37px;
	width: 900px;
	background-color: #844570;
	color: white;
}

div#footerleft {
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	height: 24px;
	float: left;
}

div#footermiddle {
	padding-top: 1px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	height: 24px;
	float: left;
}

div#footerright {
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	height: 24px;
	float: left;
}


input, textarea {
	font-family: sans-serif;
	font-size: 12px;
}

h2 {
	color: #844570;
	margin-bottom: 0px;
	text-transform: uppercase;
	letter-spacing: 0px;
	font-family: 'Poppins',Verdana, sans-serif;
	font-weight: bold;
	font-size: 1em;
}

h3 {
	color: #666666;
	margin-bottom: 0px;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-weight: bold;
	font-size: 1em;
}

h4 {
	color: #666666;
	margin-bottom: 0.4em;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-weight: bold;
	font-size: 0.8em;
	text-transform: none;
	letter-spacing: 0;
}

hr {
	height: 1px;
	color: #000000;
	background: #e5baa8;
	border: none;
	margin: 1em 0;
}

a {
	color: #666666;
	text-decoration: none;
	font-weight: bold;
}

	a:visited {
		color: #666666;
	}

	a:hover {
		text-decoration: underline;
	}

	a:active {
		outline: none;
	}


h1 {
	margin: 0;
	text-align: center;
}

p.ingressi {
	text-align: center;
}


/* ---- kysymysmerkki ---- */



.kysymysmerkki {
	position: relative;
	height: 17px;
	width: 17px;
	background: url(kysymys.png) top left no-repeat;
	-webkit-background-size: cover; /* For WebKit*/
	-moz-background-size: cover; /* Mozilla*/
	-o-background-size: cover; /* Opera*/
	background-size: cover; /* Generic*/
}

.kysymysmerkkityhja {
	position: relative;
	height: 17px;
	width: 17px;
	background: url(kysymystyhja.gif) top left no-repeat;
}

.kysymysmerkkiToolTip {
	position: absolute;
	left: 26px;
	top: 0;
	display: none;
	width: 400px;
	padding: 5px;
	border: 1px solid #ffffff;
	background-color: #eeeeee;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
}

.kysymysmerkkiToolTipRight {
	position: absolute;
	right: 26px;
	top: 0;
	display: none;
	width: 400px;
	padding: 5px;
	border: 1px solid #ffffff;
	background-color: #eeeeee;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	z-index: 1000;
}

.kysymysmerkkiToolTip span {
	font-size: 12px !important;
	font-family: 'Montserrat', sans-serif !important;
}


/*IE8 table header fix*/
th {
	text-align: left;
}

input {
	padding: 5px;
}

	input[type="text"],
	input[type="password"],
	textarea {
		border: 1px solid #cecece;
		border-radius: 5px;
		background: white;
		width: 100%;
		box-sizing: border-box;
		padding-left: 8px;
		padding-right: 8px;
		padding-top: 6px;
		padding-bottom: 6px;
		font-family: Arial, sans-serif;
		font-size: 14px;
		letter-spacing: 0.5px;
		width: 100%;
		box-sizing: border-box;
	}

select {
	border: 1px solid #cecece;
	border-radius: 5px;
	background: white;
	padding-left: 4px;
	padding-right: 4px;
	padding-top: 6px;
	padding-bottom: 6px;
	font-family: Arial, sans-serif;
	font-size: 14px;
	letter-spacing: 0.5px;
	color: black;
	-moz-appearance: none;
	box-shadow: none;
	width: 100%;
	box-sizing: border-box;
}


	input[type="text"]:focus,
	input[type="password"]:focus,
	textarea:focus,
	select:focus {
		box-shadow: 0 0 5px #006a71;
		border: 1px solid #006a71;
	}



/* --- hakemukset -- */

#ctl00_ContentPlaceHolder1_gridviewHakemukset,
#ctl00_ContentPlaceHolder1_gridviewApurahat {
	margin-top: 10px;
	cellpadding: 0px !important;
	cellspacing: 0px !important;
}



	#ctl00_ContentPlaceHolder1_gridviewHakemukset tbody:first-child tr,
	#ctl00_ContentPlaceHolder1_gridviewApurahat tbody:first-child tr {
		background: transparent !important;
		vertical-align: top;
	}

	#ctl00_ContentPlaceHolder1_gridviewHakemukset > tbody:first-child > tr > td:nth-child(2),
	#ctl00_ContentPlaceHolder1_gridviewHakemukset > tbody:first-child > tr > td:nth-child(3),
	#ctl00_ContentPlaceHolder1_gridviewApurahat > tbody:first-child > tr > td:nth-child(2),
	#ctl00_ContentPlaceHolder1_gridviewApurahat > tbody:first-child > tr > td:nth-child(3) {
		padding-top: 7px;
	}

	#ctl00_ContentPlaceHolder1_gridviewHakemukset tbody:first-child tr:first-child,
	#ctl00_ContentPlaceHolder1_gridviewApurahat tbody:first-child tr:first-child {
		background: transparent !important;
		color: black !important;
		font-size: 16px;
		border-top: none;
		border-bottom: 1px solid #cecece;
	}



#ctl00_ContentPlaceHolder1_gridviewHakemukset_ctl01_lblOtsakeHakemus,
#ctl00_ContentPlaceHolder1_gridviewHakemukset_ctl01_lblOtsakeTila {
	font-size: 18px;
	font-weight: bold;
}





#ctl00_ContentPlaceHolder1_dropAvoimetHaut {
	width: 350px !important;
}







.datalink_popup {
	z-index: 1001;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	position: fixed;
}

.datalink_popup_overlay {
	z-index: 1002;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	text-align: center;
	-moz-opacity: 0.8;
	opacity: .80;
	filter: alpha(opacity=80);
}

.datalink_popup_content {
	z-index: 1003;
	width: 640px;
	height: 400px;
	top: 50%;
	left: 50%;
	margin: -200px 0 0 -320px;
	position: fixed;
	padding: 16px;
	border: 16px solid #3E4A59;
	background-color: white;
	overflow: auto;
}

.datalink_popup_contentv {
	z-index: 1003;
	top: 25%;
	left: 25%;
	width: 50%;
	height: 50%;
	position: fixed;
	padding: 16px;
	border: 16px solid #3E4A59;
	background-color: white;
	overflow: auto;
}





.datalink_tooltip {
	position: relative;
	height: 17px;
	width: 17px;
	background: url(kysymys.png) top left no-repeat;
	-webkit-background-size: cover; /* For WebKit*/
	-moz-background-size: cover; /* Mozilla*/
	-o-background-size: cover; /* Opera*/
	background-size: cover; /* Generic*/
}



	.datalink_tooltip > div {
		display: none;
		position: absolute;
		right: 26px;
		top: 0;
		width: 500px;
	}

.datalink_tooltipcontent {
	padding: 5px;
	border: 1px solid #ffffff;
	background-color: #eeeeee;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
}





/* -------- login --------*/

#ctl00_ContentPlaceHolder1_Login1 table input[type="text"] {
	width: 200px !important;
}


#ctl00_ContentPlaceHolder1_Login1 table input[type="password"] {
	width: 200px !important;
}



#ctl00_ContentPlaceHolder1_Login1 table tbody tr:first-child td:first-child {
	text-transform: uppercase;
	padding-bottom: 10px;
	padding-top: 10px;
}


#ctl00_ContentPlaceHolder1_Login1 table {
	width: 350px;
}

	#ctl00_ContentPlaceHolder1_Login1 table tbody tr:nth-child(2) td:nth-child(2) {
		padding-top: 10px;
		padding-bottom: 10px;
	}


.responsive_header_menu_left {
	padding-top: 25px;
	padding-left: 15px;
}

	.responsive_header_menu_left a {
		font-size: 20px;
		text-decoration: none !important;
	}


.responsive_header_menu_right {
	padding-top: 10px;
	float: right;
}


.paamenu {
	margin-left: 0;
	padding: 0px;
	position: relative;
	left: 0px;
	bottom: -1px;
	z-index: 100;
}

	.paamenu li {
		padding-left: 10px;
		padding-right: 10px;
		margin-left: 0;
		list-style-image: none;
		list-style: none;
		list-style-type: none;
		font-size: 16px !important;
	}

	.paamenu ul li a {
		padding: 10px;
		display: block;
		color: black !important;
		text-decoration: none !important;
	}



	.paamenu ul li.active {
		border-top: 1px solid #cecece;
		border-left: 1px solid #cecece;
		border-bottom: 1px solid #cecece;
		border-right: 0px;
	}

		.paamenu ul li.active a {
			color: black !important;
			font-weight: bold !important;
		}

	.paamenu li:hover {
		color: #3E4A59 !important;
	}


	.paamenu ul li:hover {
		color: #3E4A59 !important;
		background-color: white;
	}

	.paamenu ul li a:hover {
		color: #3E4A59 !important;
	}






	.paamenu li ul {
		display: none;
		height: auto;
		margin: 0;
		padding: 0;
		width: 200px;
		float: none;
		text-transform: none;
		position: absolute;
		left: -180px;
	}

	.paamenu li:hover ul {
		border: 1px solid #cecece;
		color: black;
		display: block;
		background: white;
	}




/* --- hakemukset -- */

#ctl00_ContentPlaceHolder1_GridView1,
#ctl00_ContentPlaceHolder1_gridviewHakemukset,
#ctl00_ContentPlaceHolder1_gridviewApurahat {
	margin-top: 10px;
	cellpadding: 0px !important;
	cellspacing: 0px !important;
}


	#ctl00_ContentPlaceHolder1_GridView1,
	#ctl00_ContentPlaceHolder1_gridviewHakemukset tbody:first-child tr,
	#ctl00_ContentPlaceHolder1_gridviewApurahat tbody:first-child tr {
		background: transparent !important;
		vertical-align: top;
	}

		#ctl00_ContentPlaceHolder1_GridView1 > tbody:first-child > tr > td:nth-child(2),
		#ctl00_ContentPlaceHolder1_GridView1tbody:first-child > tr > td:nth-child(3),
		#ctl00_ContentPlaceHolder1_gridviewHakemukset > tbody:first-child > tr > td:nth-child(2),
		#ctl00_ContentPlaceHolder1_gridviewHakemukset > tbody:first-child > tr > td:nth-child(3),
		#ctl00_ContentPlaceHolder1_gridviewApurahat > tbody:first-child > tr > td:nth-child(2),
		#ctl00_ContentPlaceHolder1_gridviewApurahat > tbody:first-child > tr > td:nth-child(3) {
			padding-top: 7px;
		}

		#ctl00_ContentPlaceHolder1_GridView1 tbody:first-child tr:first-child,
		#ctl00_ContentPlaceHolder1_gridviewHakemukset tbody:first-child tr:first-child,
		#ctl00_ContentPlaceHolder1_gridviewApurahat tbody:first-child tr:first-child {
			background: transparent !important;
			color: black !important;
			font-size: 16px;
			border-top: none;
			border-bottom: 1px solid #cecece;
		}


#ctl00_ContentPlaceHolder1_GridView1_ctl01_lblOtsakeHakemus,
#ctl00_ContentPlaceHolder1_GridView1_ctl01_lblOtsakeTila,
#ctl00_ContentPlaceHolder1_gridviewHakemukset_ctl01_lblOtsakeHakemus,
#ctl00_ContentPlaceHolder1_gridviewHakemukset_ctl01_lblOtsakeTila {
	font-size: 18px;
	font-weight: bold;
}








.responsive_form_navigation {
	padding-left: 0px;
	float: left;
	width: 230px;
}

.responsive_form_content {
	float: right;
	width: 600px;
	padding-right: 25px;
	padding-left: 50px;
}




div#div_navigation_left ul {
	margin-left: 0px;
	padding: 0px;
	background-color: #3E4A59;
	border-color: #3E4A59;
	border-style: solid;
	border-width: 2px;
}

	div#div_navigation_left ul li {
		display: block;
		padding-left: 10px;
		padding-right: 10px;
		padding-top: 15px;
		padding-bottom: 15px;
		margin-left: 0;
		list-style-image: none;
		list-style: none;
		list-style-type: none;
		font-family: 'Calibre-Semibold', sans-serif;
		font-size: 14px !important;
		letter-spacing: 1px;
	}

		div#div_navigation_left ul li a {
			display: block;
			color: white !important;
			text-decoration: none !important;
		}

		div#div_navigation_left ul li.active {
			font-weight: bold !important;
			color: #3E4A59 !important;
			background-color: white;
		}

			div#div_navigation_left ul li.active a {
				font-weight: bold !important;
				color: #3E4A59 !important;
				background-color: white;
			}


		div#div_navigation_left ul li:hover {
			z-index: 102;
		}

		div#div_navigation_left ul li a:hover {
			text-decoration: underline !important;
			color: orange !important;
		}





div#div_seuraava a {
	text-decoration: none !important;
	background-color: white;
	padding: 10px;
	border: 1px solid #3E4A59;
	font-size: 16px !important;
}

	div#div_seuraava a:hover {
		color: white !important;
		background-color: #3E4A59 !important;
	}
