/* RESET */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

:focus {
	outline: 0;
}

ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* PNG-läpinäkyvyys*/

img, div, a, input{
	behavior: url(iepngfix.htc);
}

/* PERUSELEMENTIT */

body {
	margin: 20px;
	padding: 0;
	font-size: 14px;
	background-color: #f9f9f9;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	line-height: 1.2;
	color: #484848;
}

a, .a{
	color: #4692bf;
	text-decoration: underline;
}

a:hover, .a:hover{
	color: #124c6e;
	text-decoration: none;
	cursor: pointer;
}

.move:hover{
	cursor: move;
}

p{
	margin: 15px 0;
	padding: 0;
}

hr{
	height: 0;
	border: 0;
	border-bottom: dotted 1px #9f9f9f;
	margin: 40px 0;
}

h1, h2, h3, h4, h5{
	color: #222222;
	margin: 15px 0;
	padding: 0;
	font-weight: normal;
}

h1{
	font-size: 30px;
	margin: 25px 0 25px 20px;	
}

h2{
	font-size: 22px;
}

h3{
	font-size: 18px;
}

h4{
	font-size: 14px;
	font-weight: bold;
}

h5{
	font-size: 12px;
	font-weight: bold;
}

/* SISÄLTÖSIVU*/

#admin{
	margin: 0 auto;
	width: 970px;
}

/* ILMOITUKSET */

#success_message{
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	padding: 3px;
	margin: 3px 0;
	background-color: #eaffe9;
	border: 1px solid #63bc5e;
}

#error_message{
	background-color: #ffe9ee;
	padding: 0 20px;
	border: 1px solid #d94f66;
}

/* IE EI TUETTU */

.notie{
	display: none;
	*display : block; /* IE7 and below */	
	background-color: #ffe9ee;
	border: 1px solid #d94f66;
	padding: 15px;
}

.notie a{
	color: #d94f66;;
}

/* CONTENTBOX*/

.contentbox{
	clear: both;
	background-color: #ffffff; 
	border: 1px solid #d0d0d0; 
	padding: 20px;
	margin: 15px 0;
	width:  100%;
	overflow: auto;
}

.content_row{
	padding: 15px 0;
}

.contentinfo{
	clear: both;
	background-color: #e4f6fd;
	background-image: url(images/info-taustalamppu.gif);
	background-repeat: no-repeat;
	border: 1px solid #6bb2dd; 
	padding: 10px 10px 10px 50px;
	margin: 0 0 20px 0;
	min-height: 25px;
}

.contentinfo .question{
	margin: 5px 0;
}

.contentinfo .answer{
	margin-bottom: 15px;
	display: none;
}

.contentbox ol li{
	list-style: decimal; 
	margin: 5px 0 5px 30px;
}

.contentbox ol li div{
	color: #484848; 
}

.small{
	color: #666666;
	display: block;
	font-size: 11px;
}

/* TOOLTIP */

#easyTooltip{
	padding:5px;
	border:1px solid #d0d0d0;
	background:#f9f9f9;
	max-width: 300px;
}

/* LOMAKKEET */

.styleform label{
	display: block;
	font-weight: bold;
	text-align: right;
	margin: 2px 10px 5px 0;
	width: 200px;
	float: left;
	clear:  both;
}
.styleform label.box{
	font-weight: normal;
	text-align: left;
	width: auto;
	float: left;
	clear: none;
}
.styleform label .small{
	color: #666666;
	display: block;
	font-size: 11px;
	font-weight: normal;
	text-align: right;
	width: 200px;
}
.styleform input, .styleform select, .styleform textarea{
	float: left;
	padding: 4px 2px;
	border: solid 1px #aacfe4;
	width: 220px;
	margin: 2px 0 7px 10px;
	font-size: 14px;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	color: #484848;
}
.styleform select{
	padding: 3px 2px;
	width: 230px;
}
.styleform textarea{
	height: 100px;
	width: 258px;
}
.styleform input[type=checkbox], .styleform input[type=radio]{
	float: left;
	padding: 4px 2px;
	border: solid 1px #aacfe4;
	width: auto;
	margin: 2px 10px 20px 10px;
}
.styleform input.morebox{
	margin-left: 220px;
	margin-bottom: 0px;
	clear: both;
}
.styleform input[type=submit], .styleform input[type=button]{
	background-color: #2d7baa;
	text-align: center;
	color: #FFFFFF;
	border: solid 1px #2d7baa;
	font-weight: bold;	
	cursor: pointer;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px; 
	-webkit-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
}
.styleform .cancel{
	float: left;
	line-height: 25px;
	margin-left: 25px;
}

.styleform .input-text{
	float: left;
	width: 250px;
	margin: 2px 0 10px 10px;
}
.styleform .edit:hover{
	background-color: #ffffcc;
	cursor: pointer;
}

/* UPLOADIFy */

.uploadify_add{
	border: 3px dashed #d0d0d0;
	padding: 10px;
	margin: 10px 0;
}

.uploadify_space{
	margin: 7px 125px 0 125px;
}

.noflash a{
	float:  left;
	padding: 5px 10px;
	background-color: #990000;
	text-align: center;
	color: #FFFFFF;
	border: solid 1px #660000;
	font-weight: bold;	
	cursor: pointer;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px; 
	-webkit-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
	text-decoration: none;
}

.withflash{
	display: none;
}

.noflash{
	display: none;
}

/*TAULUKOT*/

.table_header{
	border: 1px solid #d0d0d0;
	background-color: #f9f9f9;
	padding: 7px;
	text-transform: uppercase;
}

.table_row{
	border-bottom: 1px solid #d0d0d0;
	padding: 5px 7px 5px 7px;
	min-height: 19px;
}

.table_row:hover{
	background-color: #e4f6fd;
}


.table_col{
	float: left;
}

.table_col h1{
	margin: 0 0 15px 0;
	font-size: 16px;
	font-weight: bold;
}

.taginfo td{
	border: 1px solid #484848;
	padding: 5px;
}

/* PLUGINIT ULKOASU */

.select_layout{
	float: left;
	text-align: center;
	margin: 0 20px 20px 0;
}

.select_layout img{
	width: 290px;
	height: 220px;
	border: 1px solid #d0d0d0;
}

/* PLUGINIT LOMAKKEET*/

.addform_select{
	display: block;
	float: left;
	width: 103px;
	padding: 3px;
	margin-right: 5px;
	text-align: center;
	border: 1px solid #2d7baa;
	background-color: #f9f9f9;
	text-decoration: none;
}

.addform_select:hover{
	border: 1px solid #2d7baa;
	background-color: #e4f6fd;
	text-decoration: none;
}

/* PLUGINIT GALLERIA */

.gallery_rajaus{
	height: 0px; 
	width: 0px; 
	position: relative; 
	top: 5px; 
}

.gallery_button{
	width: 59px;
	padding:  5px 0;
	background-color: #111111; 
	text-align: center;
	color:  #ffffff;
	filter: alpha(opacity=80);
	-khtml-opacity: 0.8;
	-moz-opacity: 0.8; 
	opacity: 0.8;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-decoration: none;
}

.gallery_button:hover{
	cursor: pointer;}

.C1 {
    width: 180px;
    height: 120px;
    border: 1pt solid #a0a0a0;
    display: block;
    float: left;
    margin: 7px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    clear: none;
    padding: 0;
}

.C1:hover {
    background-color: #f0f0f0;
    border-color: black;
}

.C1 form {
    width: 180px;
    height: 120px;
}

.C1 form span {
    display: table-cell;
    vertical-align: middle;
    height: 92px;
    width: 180px;
}

.C1 form span input {
    margin-left: auto;
    margin-right: auto;
    display: block;
    border: 1pt solid #f2f2f2;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 5px;
    background-color: white;
    width: auto;
    float: none;
}

.C1:hover form span input {
    border: 1pt solid black;
}

.C1 div {
    text-align: center;
    font-family: arial;
    font-size: 8pt;
}

