@import url(main.css);

/* layout */

div#path {
	padding: 3px 24px;
}

div#contentwrap {
	float: left;
	border-top: 5px #5F9414 solid;
	background: url(../img/ui/bg_submenu.jpg) repeat-y;
	min-height: 300px;
}

div#submenu {
	float: left;
	width: 236px;
}

div#content {
	float: left;
	width: 564px;
}

div#photo {
	/*background: url(../img/photos/sample2.jpg) no-repeat;
	height: 225px; */
	border-bottom: 5px #5F9414 solid;
}

div#content-text {
	padding: 23px 38px;
}

div#errormessage {
	padding: 10px 20px 10px 45px;
	margin: 10px 0;
	background: #fff6bf url(../img/ui/ico_alert.png) center no-repeat;
	background-position: 15px 50%;
	border-top: 2px solid #ffd324;
	border-bottom: 2px solid #ffd324;
	display: none;
}

/* alavalikko */

div#submenu ul {
	margin: 13px 16px;
	padding: 0;
	list-style: none;
}

div#submenu ul li {
	border-bottom: 1px #D1D3D4 solid;
}

div#submenu ul li a {
	display: block;
	padding: 4px 8px;
	color: #626466;
}

div#submenu ul li a:hover {
	color: #5F9414;
}

div#submenu ul ul {
	display: none;
	margin: 0 15px;
}

div#submenu ul ul li {
	border: none;
	border-bottom: 1px #F2F4E9 solid; /* ie tekee ylimääräistä marginaalia li:n sisään ilman tätä? */
}

div#submenu ul ul li a {
	padding: 3px 8px;
}

/* otsikot */

/* tekstit */

div#path p {
	color: #5F9414;
}

div.date {
	clear: left;
	float: left;
	width: 12%;
	/*text-align: right;*/
	padding-right: 1%;
}

div.title {
	float: left;
	width: 74%;
	margin-bottom: 3px;
}

/* linkit */

div#header h1 a {
	display: block;
	height: 43px;
	overflow: hidden;
}

div#path a {
	color: #626466;
}

div#path a:hover {
	color: #5F9414;
}

a.ulkoinenlinkki {
	padding-right: 18px;
	background: url(../img/ui/www_linkki.gif) center right no-repeat;
}

a.dokumenttilinkki {
	padding-right: 18px;
	background: url(../img/photos/pdf_vihr_.jpg) center right no-repeat;
}

/* Tables */

div#content table {
	border-collapse: collapse;
	margin-bottom: 10px;
	border: 1px solid #D1D3D4;
	width: 100%;
}

div#content table tr {
	border-bottom: 1px solid #D1D3D4;
}

div#content table th, div#content table td.taulukonotsikko, div#content table tr.taulukonotsikko {
	text-align: left;
	background: #F2F4E9;
	font-weight: bold;
	padding: 4px 10px 4px 4px;
	vertical-align: top;
}

div#content table td {
	border-left: 1px solid #D1D3D4;
	padding: 2px 4px;
	vertical-align: top;
}

div#content table td.rivi2, div#content table tr.rivi2 {
	background: #f2f4e9;
}

div#content table.pagenavi, div#content table.pagenavi tr, div#content table.pagenavi td {
	border: none;
}

div#content table th.sortdown {
	background: #C6D7A9 url(../img/ui/bg_sort_down.gif) center right no-repeat;
}

div#content table th.sortup {
	background: #C6D7A9 url(../img/ui/bg_sort_up.gif) center right no-repeat;
}

td.pages {
	text-align: right;
}

/* lomakkeet */

fieldset {
	border: 1px #5F9414 solid;
	margin-bottom: 10px;
	padding: 5px 10px;
}

legend {
	color: #5F9414;
	padding: 0 5px;
}

label {
	display: block;
	float: left;
	width: 100px;
}

label.pakko {
	font-weight: bold;
}

input, textarea, select {
	width: 350px;
	margin-bottom: 5px;
	border: 1px #999 solid;
}

input.inputbtn {
	width: auto;
	background: #5F9414;
	color: #fff;
	border: none;
	font-size: 1em;
	padding: 3px;
	-moz-border-radius: 3px;
}

select.nostretch {
	width: auto;
	margin-right: 3px;
}
