* {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  margin: 0;
  padding: 0;
}
html{
}
html, body {
  height: 100%;
}
body {
  color: #111122;
  width: 1138px;
  background: #ededed;
  border: dashed 0px green;
  font-family:  Helvetica, arial, serif;
}

ul {
    list-style-type: none; 
}
textarea{
	width: 400px;
	height: 120px;
}
li {
    
}
a {
    text-decoration: none;
    color: navy;
}
a:hover { color: #bf3e18; }

h1 {
    font-size: 22px;
    margin: 10px 0 5px 0;
    color: #465f97;
    font-family: Tahoma, serif;
    font-weight:  normal;
}
h4{
	margin: 13px 0 3px 0;
}
img {
    margin: 0;
    padding: 0;
    border: 0;
}

#header{
    height: 106px; 
    width: 100%;
    background: #ededed;
    border: dashed 0px red;
}
#logo{
    height: 106px; 
    width: 210px;
    padding: 0 0 0 0;
    float: left;
    border: dashed 0px red;
}
#topnavi{
    height: 106px;
    float: left;
}
#header2{
    height: 20px; 
    background: #ededed url(/img/bg_header2.png) repeat-x;
    border: dashed 0px red;
}
#navi {
    float: left;
    width: 210px;
    height: 100%;
    background: url(/img/bg_navi.png);
    border: dashed 0px red;
}

.subnavi {
    padding: 0 0 0 72px;
    position: relative;
    top: -3px;
    color: #000;
    font-weight: bold;
    line-height: 20px;
    width: 138px;
    background: #fff url(/img/bg_navi.png) no-repeat left bottom;
}
.subnavi a {
    margin: 10px 0 10px 0;
}


.navi1 > div{
    padding: 10px 0 5px 10px;
    background: #eee;
    border: solid 1px #ddd;
    border-top: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
}
.navi2 > div{
    padding: 5px 0 5px 10px;
    background: #ddd;
    border: solid 1px #ccc;
    border-top: none;
    cursor: pointer;
}
#navi li li:first-child {
    border-top: solid 1px #bbb;
}
.navi1 > div img{
    position: relative;
    top: -5px;
}
.navi2 > div a{
    color: #777;
    font-size: 184x;
    padding: 0 0 0 25px;
}

#content {
    float: left;
    width: 747px;
    min-height: 100%;
    margin: -2px 0 0 0;
    padding: 0 10px 0 10px;
    background: #fff;
    border: dashed 0px red; 
    border-right: solid 1px #cdcdcd;
}
#materialcontent{
}

#footer{
    float: left;
    height: 41px; 
    width: 1138px;
    background: url(/img/bg_footer.png) no-repeat;    
    border: dashed 0px red; 
}

.error, .warning {
/*  background-color: #FF0000; */
  border-color: red red red red;
  border-style: dashed;
  border-width: 1px; 
  color: #FF0000;
}

.bold {
  font-weight: bold;
}
.rivi0{
  background-color: #ffffff;
}
.rivi1{
  background-color: #eeeeee;
}
.highlight0{
  background-color: #eeeeff;
}
.highlight1{
  background-color: #ccccee;
}






div.kh_haku {
height: 200px;
width: 99%;
#background-color: #eeeeee;
border-bottom: 1px solid #eeeeee;


}

#hk_submit {
position: relative;
top: 4px;
}

tr.hakutulos {
background-color: #bf3e18;
color: white;
}

td.haku {
}

a.hakutulos {
color: white;
}

/* hifi */
div.hr hr { display: none; }
div.hr {
	height: 10px;
	width: 155px;
	border-bottom: 1px solid black;
}
input.smallbut { height: 20px; font-size: 12px; }
table thead { font-weight: bold; color: navy; font-size: 120%; }
table tr th { text-align: left; vertical-align: top; }
textarea.message { height: 200px; width: 400px; }
table.message { border-bottom: 1px solid black; margin-bottom: 12px; }
table tr td { padding: 2px; font-size: 10px;}



/*listojen raidoitus*/
#rowcolors tr.row1 { background-color: #BBBBBB; }
#rowcolors tr.row2 { background-color: #DDDDDD; }
#rowcolors tr.row3, #rowcolors tr:hover { 
  background-color: #FFFFC1;
}

.helper_dotline {
  border:2px dashed #777777;
}

.cursor_move {
  cursor:move;
}
.cursor_pointer {
  cursor:pointer;
}

.clear {
  clear: both;
}
.inline {
  display: inline;
}
.border {
  border: 1px solid #660000;
}

.left {
	text-align: left;
}

.right {
	text-align: right;
}

.current-nesting {
	background-color: lightgrey;
}

div.list_wrap {
	border: 1px solid #BBBBBB;
	padding: 10px;
}

.list_page-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
}

.list_row{
    border-bottom: 1px dashed #777777;

}
.list_type_page a{
  font-weight: normal;
}
.list_type_title a{
  font-weight: bold;
}
.list_type_link a{
  font-weight: italic;
}

.ui-datepicker { z-index:1010 }

/*ikkunan tyyli*/
.layout-pane {}  
.layout-pane-open {}  
.layout-pane-close {}  

.layout-toggler  {border: solid 1px grey;}  
/*
.layout-toggler-open  {border: solid 1px green;}  
.layout-toggler-close  {border: solid 1px green;}  
*/
/*kahvat ikkunoiden valissa*/
.layout-resizer  {background-color: silver;}  
/*
.layout-resizer-open  {border: solid 1px blue;}  
.layout-resizer-close  {border: solid 1px blue;}  
.layout-resizer-drag  {border: solid 1px blue;}  
.layout-resizer-sliding  {border: solid 1px blue;}  
*/
/*.layout-button  {border: solid 1px red;} */


	#lista  { margin: 5px; padding: 5px; font-size: 12px; }
	#lista ul { list-style-type: none; }
	#lista ul li { }
    .ui-state-highlight { height: 15px; line-height: 15px; }
    
.content{
	margin: 15px 0 0 15px;
/*    min-height: 400px; */
    border: solid 0px red;
}

#editable_wysiwyg {
    min-height: 500px;
    width: 100%;
}

input{
	padding: 2px 3px 2px 3px;
	height: 18px;
	-moz-border-radius: 3px;
	border-top-left-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;	
	border: 1px solid #ccc;
	margin: 0 0 5px 0;
	color: #7b7b7b;
}
input[type=text]{
    width: 200px;
}
input.sort{
    width: 50px;
}
input.long{
    width: 400px;
}
textarea{
	color: #7b7b7b;
	-moz-border-radius: 3px;
	border-top-left-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;	
	border: 1px solid #ccc;
	margin: 0 0 5px 0;
}
/* label css
* @author mikael
*/
label {
    display: block;
}
/* end label css*/
  
input#submit{
	height: 23px;
	padding: 2px 7px 2px 7px;
}    

#itemlista{
	margin: 10px 10px 10px 0;
}
#itemlista li, #itemlista tr{
	padding: 3px;
}
#itemlista li.alt, #itemlista tr.alt{
	background-color: #edf2f7;
}
#itemlista li.selected, #itemlista tr.selected{
	background-color: green;	
}
/*
.item_edit{
	margin: 0 13px 0 0;
	-moz-border-radius: 8px;
	border-top-left-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;	
	border: 1px solid #3c5689;	
	padding: 4px 10px 4px 10px;
	background-color: #3c5689;
	color: #fff;
}
.item_edit:hover{
	background-color: #bdc3cf;
	color: #3c5689;
}
ul#itemlista .item_edit{
	color: #3c5689;
	border: none;
	background: none;
}
*/
.button, input.button, input[type=button]{
	background: #38588a url(/img/btn_bg.jpg) repeat-x left top;
	margin: 0 13px 0 0;
	-moz-border-radius: 8px;
	border-top-left-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;	
	border: 1px solid #3c5689;	
	padding: 4px 10px 4px 10px;
	color: #fff;
	height: 23px;
	margin: 0 0 0 3px;
	font-variant: normal;
	cursor: pointer;
}

.button:hover, input.button:hover, input[type=button]:hover{
	background: #38588a url(/img/btn_bg1.jpg) repeat-x left top;
	color: #fff;
}

hr{
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 1px solid #edf2f7;			
}

/* tiedostolistaus sivu */
.mata{
	color:  green;
	font-family: Monaco;
	text-decoration: underline;	
}
.mata:hover{
	text-decoration: none;
}

table#taulu{
	border-bottom: 1px solid #ededed;
}
table#taulu tr:hover{
	background-color: #fdfdfd;
}
table#taulu th{
	padding: 6px 5px 0px 5px !important;
	border-top: 1px solid #ededed;
	font-weight: bold;
	font-family: Trebuchet MS, Tahoma, Arial;	
	background-color: #e7e9e7;
	font-size: 12px;
}

table#taulu td{
	border-top: 1px solid #ededed;
	font-family: Trebuchet MS, Tahoma, Arial;
	padding: 5px 0 0 0:
}
table#taulu tr.dirrow{
	background-color: #eaffe8;
}
table#taulu td.col1,
table#taulu th.col1{
	width: 18px;
	text-align: left;
	padding: 5px 0 0 5px;
}
table#taulu tr.dirrow td{
	padding: 8px 0 0 5px;
}

/* override the arrow image of the tooltip */ 
/* simple css-based tooltip */ 
#tooltip { 
    background-color:#000; 
    border:1px solid #fff; 
    padding:10px 15px; 
    width:200px; 
    display:none; 
    color:#fff; 
    text-align:left; 
    font-size:12px; 
    z-index: 9999;
    /* outline radius for mozilla/firefox only */ 
    -moz-box-shadow:0 0 10px #000; 
    -webkit-box-shadow:0 0 10px #000; 
}