/* -- Basics -- */
html,body,div,p,li,ul,ol,form,fieldset,h1,h2,h3,h4,h5,h6 {
	margin: 0;
	padding: 0;
	list-style: none;
}

#error {
	color: red;
}

body {
	color: #333333;
	padding: 0;
	background-color: #faeb7d;
	background-image: url(../images/simo.gif);
	background-repeat: repeat-x;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
}

a {
	text-decoration: none;
	color: #333333;
}

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

a img {
	border: 0;
}

img {
	
}

input
select,textarea {
	font-family: Arial, lucida, sans-serif;
	vertical-align: middle;
}

input,textarea {
	margin: 0;
	border: 1px solid #b92926;
	color: #333333;
	background-color: #f7f7f7;
	padding-top: 2px;
	padding-right: 0;
	padding-bottom: 2px;
	padding-left: 2px;
	width: 250px;
}

button {
	vertical-align: middle;
	margin: 0;
	padding: 0;
	height: 18px;
	border: none;
	text-decoration: underline;
	font-weight: bold;
	color: #00CCFF;
}

form {
	width: 98%;
}

form p {
	margin-bottom: 10px;
}

.submit {
	padding: 2px;
	margin: 0;
	color: #FFFFFF;
	background-color: #b92926;
	border: 1px solid #fbdb00;
	width: auto;
}

.textarea {
	width: 100%;
	height: 200px;
}

h1 {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #CCCCCC;
	font-size: 1.5em;
	margin-bottom: 10px;
	width: 100%;
}

h2 {
	font-size: 1.5em;
	font-weight: normal;
	margin-bottom: 10px;
}

h3 {
	font-size: 1.2em;
}

h4 {
	font-size: 1.0em;
	font-weight: bold;
}

p {
	line-height: 18px;
}

h1,h2,h3,h4,h5,h6 {
	color: #8c1e1c;
}

h1 a,h2 a,h3 a,h4 a,h5 a,h6 a {
	color: #8c1e1c;
}

h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover {
	color: #8c1e1c;
}

table {
	border-collapse: collapse;
	width: 100%;
}

table td,table th {
	border: 1px #CCCCCC solid;
	padding: 10px;
}

table th {
	text-align: left;
}

table td.right {
	padding-left: 5px;
}

table th.right {
	padding-left: 5px;
}

table td.left {
	padding-right: 5px;
}

table th.left {
	padding-right: 5px;
}

blockquote {
	margin: 0;
	padding: 10px 20px;
	color: #333;
	line-height: 1.6;
	font-family: Georgia, serif;
}

fieldset {
	border: 0 !important;
}

/* -- User friendly features -- */
.hidden {
	display: none;
}

/* -- Basics layout -- */
#view {
	width: 850px;
	margin-top: 40px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#head {
	
}

#foot {
	font-size: 1em;
	clear: both;
}

/* -- Logo constructs -- */
#main {
	position: relative;
	padding-left: 25px;
	margin-bottom: 12px;
}

#logo {
	height: 220px;
	background: url('../images/bg-logo.jpg') no-repeat;
}

#logo .block {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

/* -- Main classes -- */
.fr {
	float: right !important;
}

.fl {
	float: left !important;
}

.clear {
	clear: both !important;
}

.right {
	text-align: right !important;
}

.left {
	text-align: left !important;
}

.center {
	text-align: center !important;
}

.last {
	margin-right: 0 !important;
	margin-bottom: 0 !important;
	border-bottom: none !important;
}

.small {
	font-size: .90em;
}

.big {
	font-size: 1.5em;
}

.item {
	margin-bottom: 1.0em;
	clear: both;
}

.info {
	font-size: .95em;
	margin: 2px 0 6px !important;
	color: #148d04;
}

.img {
	padding: 3px;
	border: 1px #CCCCCC solid;
	float: left;
}

.img img {
	padding: 0;
	border: none !important;
}

.self {
	padding-left: 10px;
	float: left;
	margin-top: -4px;
}

.date {
	font-weight: bold;
	color: #066bb6;
}

.col1 {
	width: 49%;
	float: left;
}

.col2 {
	width: 49%;
	float: right;
	margin-left: 10px;
}

img.left {
	margin-left: 0 !important;
}

img.right {
	margin-right: 0 !important;
}

/* -- Layout constructs -- */
#logo {
	position: relative;
	width: 100%;
	height: 122px;
	overflow: hidden;
	background: url('../images/bg-logo.jpg') 0 0 no-repeat;
}

#mainMenu {
	height: 43px;
	width: 850px;
	padding: 0;
	background-repeat: no-repeat;
	background-image: url('../images/bg-menu.gif');
}

#content {
	width: 100%;
	height: 100%;
	background: #fff url('../images/bg-content.gif') repeat-y;
	float: left;
}

#foot {
	height: 54px;
	background-image: url(../images/bg-foot.gif);
	background-repeat: no-repeat;
	line-height: 54px;
	padding-right: 20px;
	padding-left: 20px;
}

/* -- Main Menu -- */
#mainMenu ul {
	position: relative;
	height: 100%;
}

#mainMenu li {
	position: relative;
	float: left;
}

#mainMenu li a.etusivu {
	background-image: url('../images/menu-etusivu.gif');
	width: 86px;
}

#mainMenu li a.djav {
	background-image: url('../images/menu-djav.gif');
	width: 143px;
}

#mainMenu li a.ashuolto {
	background-image: url('../images/menu-ashuolto.gif');
	width: 193px;
}

#mainMenu li a.laitemyynti {
	background-image: url('../images/menu-laitemyynti.gif');
	width: 110px;
}

#mainMenu li a.tektottuot {
	background-image: url('../images/menu-tektottuot.gif');
	width: 204px;
}

#mainMenu li a.yhteys {
	background-image: url('../images/menu-yhteystiedot.gif');
	width: 114px;
}

#mainMenu li a {
	display: block;
	height: 43px;
	padding-top: 0px;
	float: left;
	font-size: 0.9em;
	color: #fff;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	line-height: 43px;
	background-repeat: no-repeat;
}

#mainMenu li a:hover {
	background-position: 0 -43px;
}

/* -- Right (submenu) block -- */
#menuBlock {
	width: 230px;
	float: left;
}

#menuBlock .box {
	margin-bottom: 20px;
	padding: 0 10px 0 15px;
	overflow: hidden;
	clear: both;
}

#menuBlock .firstBox {
	padding-top: 15px;
	background-image: url(../images/bg-content_right.gif);
	background-repeat: no-repeat;
	background-position: right 0;
}

/* -- Left (content) block -- */
#content>#contentBlock {
	margin-bottom: 0;
}

#contentBlock {
	position: relative;
	float: right;
	width: 620px;
	min-height: 400px;
	margin-bottom: -20px;
	padding: 20px 0;
	left: -5px;
}

#contentBlock img {
	border: 1px solid #CCCCCC;
	margin: 3;
}

#contentBlock table tr.add td,#contentBlock table tr.add th {
	background: url('../images/bg-table_line.gif') repeat-x;
}

#contentBlock .item {
	position: relative;
	padding: 0 15px 0 25px;
}

#contentBlock .item p {
	font-weight: normal;
}

#contentBlock .mainItem {
	padding-right: 0;
	padding: 0 15px 0 25px;
}

/* -- Lists -- */
#contentBlock p,#contentBlock ul,#contentBlock ol,#contentBlock table,#contentBlock ul,#contentBlock ol,#contentBlock ol,#contentBlock ul *,#contentBlock ol *,#contentBlock ul li,#contentBlock ol li,
	/* -- Footer part -- */ #foot p {
	
}

#foot * {
	color: #CCCCCC;
}

#foot a:hover {
	color: #fff;
}

/* main left */
.sidenav {
	float: left;
	width: 200px;
	list-style: none;
	margin-bottom: 0px;
}

.sidenav ul {
	margin: 0;
	padding: 0;
	background-image: url(../images/sidenav-bg.gif);
	background-repeat: repeat-x;
	background-color: #faeb7d;
	border: 1px solid #b92926;
}

.sidenav li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
	line-height: 18px;
}

.sidenav #first {
	list-style: none;
	margin: 0px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
}

.sidenav #first a {
	display: block;
	color: #FFFFFF;
	padding-top: 6px;
	padding-right: 6px;
	padding-bottom: 6px;
	padding-left: 8px;
}

.sidenav #first a:hover {
	color: #8c1e1c;
}

.sidenav li a {
	color: #8c1e1c;
	display: block;
	font-size: 12px;
	text-decoration: none;
	font-weight: bold;
	padding-top: 6px;
	padding-right: 6px;
	padding-bottom: 6px;
	padding-left: 8px;
}

.sidenav li a:hover {
	text-decoration: none;
	background-color: #f7f7f7;
	color: #8c1e1c;
}

/* main left */
.side {
	float: left;
	width: 200px;
	list-style: none;
	margin-bottom: 30px;
}

.side ul {
	margin: 0;
	padding: 0;
	background-image: url(../images/side-bg.gif);
	background-repeat: repeat-x;
	background-color: #f7f7f7;
	border: 1px solid #b92926;
}

.side li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
	line-height: 18px;
	color: #8c1e1c;
	display: block;
	font-size: 11px;
	text-decoration: none;
	padding-top: 6px;
	padding-right: 6px;
	padding-bottom: 6px;
	padding-left: 8px;
}

.side #first {
	font-size: 12px;
	font-weight: bold;
	color: #FFFFFF;
	list-style: none;
	margin: 0px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
	padding-top: 6px;
	padding-right: 6px;
	padding-bottom: 6px;
	padding-left: 8px;
}

.side li a {
	
}

.side li a:hover {
	text-decoration: none;
	background-color: #f7f7f7;
}

hr {
	border: 0;
	width: 100%;
	background-color: #CCCCCC;
	height: 1px;
}

.referenssit {
	border-bottom-style: none;
	border-bottom-width: 1px;
	border-bottom-color: #CCCCCC;
	padding: 0px;
	margin: 0px;
}

.referenssit p {
	margin: 0px;
	padding: 0px;
}

.referenssit td {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 0;
}

.referenssit tr {
	border: none;
}

.djt {
	border-bottom-style: dotted;
	border-bottom-width: 1px;
	border-bottom-color: #CCCCCC;
	padding: 0px;
	margin: 0px;
}

.djt td {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	padding-top: 8px;
	padding-right: 0px;
	padding-bottom: 8px;
	padding-left: 5px;
}

.djt tr {
	border: none;
}

.yhteystiedot {
	border-bottom-style: dotted;
	border-bottom-width: 1px;
	border-bottom-color: #CCCCCC;
	padding: 0px;
	margin: 0px;
}

.yhteystiedot h3 {
	padding-top: 10px;
}

.yhteystiedot p {
	padding-bottom: 10px;
}

.yhteystiedot td {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	padding-top: 8px;
	padding-right: 8px;
	padding-bottom: 8px;
	padding-left: 0;
}

.yhteystiedot tr {
	border: none;
}

.kalenteriTable {
	border: none;
	margin-left: 30px;
	margin-bottom: 20px;
	width: 480px;
}

.kalenteriTable td {
	padding: 1px;
	padding-bottom: 1px;
	border: none;
}

.kalenteriTable td a {
	color: #8c1e1c;
}

.h3alaviiva {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #8c1e1c;
	margin-bottom: 4px;
	width: 100%;
}

.h3_no_alaviiva {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #FFFFFF;
	margin-bottom: 4px;
	width: 100%;
	color: #999;
}

.galleriaLink {
	font-size:11px;
}

.galleriaLink img{
	border: 1px solid #999999;
}

.galleriaLink a:hover img{
	border: 1px solid #cccccc;
}

.galleriaLink a{
	text-decoration:none;
	font-size:12px;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.galleriaLink a:hover{
	text-decoration:none;
	color: #999999;
}

.galleriaLink{
	width:100%;
	height:40px;
	line-height:16px;
}

#galleriaLinkKuva{
	margin-right:5px;
}

#gallery img{
	border: none;
}
