/* YLEISET TYYLIT */
body,html { width: 100%; height: 100%; }
body, div, th, td, pre, h1, h2, h3, form, fieldset, label, input.textfield350px, input.textfield214px, input.textfield164px, input.textfield134px, input.textfield116px, input.textfield100px, input.textfield60px, input.textfield34px, input.textfield24px, textarea, select, option {
margin: 0; padding: 0; font-family: verdana; font-size: 10px; color: #333333; }
p { margin: 0; padding: 7px; }
ul, li { font-family: arial,helvetica,verdana,sans-serif; font-size: 10px; color: #333333; }
body { background-color: #ffffff; }
td, th { vertical-align: top; }
.inline { display: inline;}
.left { text-align: left; }
.right { text-align: right; }
.center { text-align: center; }
body.areaSelectionDisplay {background-color:#ffffff;}

/* LINKIT JA MUUT FONTIT */
a:link { color: #00418C; text-decoration: none; font-size: 10px; font-weight: bold; }
a:visited { color: #00418C; text-decoration: none; font-size: 10px; font-weight: bold; }
a:link:hover { color: #00418C; text-decoration: underline; font-size: 10px; font-weight: bold; }
a:link:active { color: #00418C; text-decoration: none; font-size: 10px; font-weight: bold; }
a.small:link { color: #00418C; text-decoration: none; font-weight: normal; font-size: 10px; }
a.small:visited { color: #00418C; text-decoration: none; font-weight: normal; font-size: 10px; }
a.small:link:hover { color: #00418C; text-decoration: underline; font-weight: normal; font-size: 10px; }
a.small:link:active { color: #00418C; text-decoration: none; font-weight: normal; font-size: 10px; }
a.white:link { color: #FFFFFF; text-decoration: none; font-size: 10px; font-weight: bold; }
a.white:visited { color: #FFFFFF; text-decoration: none; font-size: 10px; font-weight: bold; }
a.white:link:hover { color: #FFFFFF; text-decoration: underline; font-size: 10px; font-weight: bold; }
a.white:link:active { color: #FFFFFF; text-decoration: none; font-size: 10px; font-weight: bold; }
a.normal:link { color: #00418C; text-decoration: none; font-size: 10px; font-weight: normal; }
a.normal:visited { color: #00418C; text-decoration: none; font-size: 10px; font-weight: normal; }
a.normal:link:hover { color: #00418C; text-decoration: underline; font-size: 10px; font-weight: normal; }
a.normal:link:active { color: #00418C; text-decoration: none; font-size: 10px; font-weight: normal; }

H1 { font-size: 20px; color: #00418C; font-weight:normal; margin-bottom:5px;}
H2 { font-size: 14px; color: #00418C; }
.bold { font-weight: bold; }
.boldSmall { font-weight: bold; font-size: 10px; }
.small { font-size: 10px; font-weight: normal; }
h3 { float: left; width: 640px; margin-top: 20px; font-size: 12px; color: #349933; font-weight: bold; }
h3.narrow { float: left; width: 640px; margin-top: 15px; font-size: 12px; color: #349933; font-weight: bold; border-bottom: 1px solid #333333;}
/* Etuoven narrow leveys 512px */
h3.narrow2 { float: left; width: 500px; margin-top: 15px; font-size: 12px; color: #333333; font-weight: bold; }
h3 span.leaf { float: left; height: 16px; background-color: #ffffff; padding: 0 10px; border: 1px solid #EEEEEE; border-bottom: none;}
h4 { font-size: 11px; font-weight: bold; color: #333333; margin: 0; }

/* FORMIT JA BUTTONIT */
.button { font:  10px Verdana, Arial, sans-serif; line-height: 12px; background-color: #00418C;
color: #ffffff; margin: 10px 5px 0px 5px; border: 2px outset #84AADC; }
.buttonBig { font:  12px Verdana, Arial, sans-serif; line-height: 14px; background-color: #00418C;
color: #ffffff; margin: 10px 10px 0px 5px; border: 2px outset #84AADC; }
.button_search { font:  10px Verdana, Arial, sans-serif; line-height: 12px; background-color: #00418C;
color: #ffffff; position: relative; left: 5px; border: 2px outset #84AADC; } *HTML .button_search { top: 1px; }
.buttonFloatRight { font:  10px Verdana, Arial, sans-serif; line-height: 12px; background-color: #00418C;
color: #ffffff; margin: 10px 2px 0 5px; border: 2px outset #84AADC; float:right;}


INPUT.buttonSmall {
border: none; font-weight: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #ffffff background-color: #00418C;
border: 1px outset #84AADC;
}


/* TEXTFIELDS */
INPUT.textfield350px { width: 346px; border: 1px solid #9D9DA1; padding-left: 2px; }
INPUT.textfield214px { width: 210px; border: 1px solid #9D9DA1; padding-left: 2px; }
INPUT.textfield164px { width: 160px; border: 1px solid #9D9DA1; padding-left: 2px; }
INPUT.textfield134px { width: 130px; border: 1px solid #9D9DA1; padding-left: 2px; }
INPUT.textfield116px { width: 112px; border: 1px solid #9D9DA1; padding-left: 2px; }
INPUT.textfield100px { width: 96px; border: 1px solid #9D9DA1; padding-left: 2px; }
INPUT.textfield60px { width: 56px; border: 1px solid #9D9DA1; padding-left: 2px; }
INPUT.textfield34px { width: 30px; border: 1px solid #9D9DA1; padding-left: 2px; }
INPUT.textfield24px { width: 20px; border: 1px solid #9D9DA1; padding-left: 2px; background-color:#84AADC;}

INPUT.textfield134pxMandatory {width: 130px; border: 1px solid #9D9DA1; padding-left: 2px; background-color:#84AADC;}
INPUT.textfield164pxMandatory { width: 160px; border: 1px solid #9D9DA1; padding-left: 2px; background-color:#84AADC;}

/* SELECT */
SELECT.iso { width: 359px; border: 1px solid #9D9DA1; padding-left: 2px; }
SELECT.normaali { width: 130px; border: 1px solid #9D9DA1; padding-left: 2px; }
SELECT.aluerajaus {width: 130px; border: 1px solid #9D9DA1; padding-left: 2px; height:62px;}
SELECT.pieni { width: 112px; border: 1px solid #9D9DA1; padding-left: 2px; }
INPUT.file {font-size: 12px; padding-left: 2px; }
/* TEXTAREA */
TEXTAREA.big { width: 210px; height: 100px; padding-left: 2px; }
TEXTAREA { width: 160px; height: 100px; padding-left: 2px; }
TEXTAREA.small { width: 160px; height: 75px; padding-left: 2px; }
label { margin-bottom: 5px; }
select, textarea { overflow-y: auto; }

/* COLUMNS */
.colLogo { float: left; width: 201px; }
.colLogoTwoThird { float: left; width: 565px; }
.colLogoTwoThirdMargin { float: left; margin-left: 10px; width: 555px; }
.colOneThird { float: left; width: 256px;  }
.colHalf { float: left; width: 383px;  }
.colTwoThird {float: left;}
.colTwoThird#help {width:510px;}
/*Etuoven colTwoThird 510px; */
.col500px { float: left; width: 500px; border-top: 1px solid #333333; padding-top: 5px; }
.colOne {float: left; width: 640px; }
/*.colOneWS { float: left; width: 771px; }  WS (White Space) 5px */
.col164px { float: left; width: 164px; margin-left: 15px;  }
.col164px div { float: left; } /* col164px-sisältöjä täytyy joissain tapauksissa floatata, mm. textfield tekee extra marginia ja sen saa esim. floatilla pois */
.col184px { float: left; width: 184px; margin-left: 16px;  }
.col184px div { float: left; }
.colSearch { float: left; margin-left: 15px; font-weight:bold;}

/*GRID ALASIVU */
#body { width: 640px;}
#topBanner { margin-top: 5px; float: left; width: 946px; height: 68px; }
#top { float: left; width: 640px; height: 46px; margin-top: 0; border-top: 1px solid #FFFFFF; border-right: 1px solid #FFFFFF; background: #990033;}
*HTML #top { width: 641px; w\idth: 640px; }
#content { margin-top: 10px; float: left; width: 640px; background-color: #ffffff;}
#right { float: left; width: 165px; background-color: #FFFFFF; overflow: hidden; }
#bottomBanner { float: left; width: 766px; height: 100px; }
#bottomBanner div { float: left; padding: 15px 0 0 19px; }


/* FOOTER */
#footer {font-size: 9px; line-height: 12px; color: #333333; margin-top:10px; float:left; width:630px;}

/* NAVIPATH */
#navipath {  float: left;  width: 100%; font-size: 16px; font-weight: bold; }
#navipath div { font-size: 16px; font-weight: bold; }
#navipath h1 { display: inline; }
#navipath a { font-size: 20px; font-weight: normal; text-decoration: underline; color: #333333; }

/* BASIC FORM */
table#wide, table#narrow { border-collapse: collapse; margin-top: 10px; margin-bottom: 10px; width:640px;}
table#wide TH, table#narrow TH { text-align: left; padding-top: 4px; padding-bottom: 4px; }
table#wide TD, table#narrow TD { padding-left: 5px; padding-top: 4px; padding-bottom: 4px;}
div#form { margin-top: 20px; background-color: #ffffff; }
div#form div#save { width: 100%; border-top: 1px solid #666666; text-align: right; margin-bottom:10px;}
/*div#form #save INPUT { margin-right: 10px; margin-bottom: 10px; }*/
div#form div#save div { margin-right: 10px; margin-bottom: 10px; }
div#formText { margin-top: 20px; }
div#formText div { background-color: #ffffff; border: 1px solid #969C98; width:640px; float: left; padding:5px;}
div#formText div p {padding-left:0;}
div#form table#wide th { width: 160px; }
*HTML div#form table#wide th { width: 175px; w\idth: 160px; }
div#form table#wide td { width: 330px; }
*HTML div#form table#wide td { width: 335px; w\idth: 330px; }
div#form table#narrow th { width: 120px; }
*HTML div#form table#narrow th { width: 135px; w\idth: 120px; }
div#form table#narrow td { width: 370px; }
*HTML div#form table#narrow td { width: 375px; w\idth: 370px; }

/* (VIRHE)ILMOITUKSET */
tr.oddrow { background-color: #ffffff; }
tr.row { background-color: #DEDEDE; }
div.success { float: left; width: 100%; color: #FF6633; border: 2px solid #FF6633; font-size: 12px; font-weight: bold; margin-top: 15px; margin-bottom: 15px; padding: 5px; padding-left: 10px; }
div.failed { float: left; width: 100%; color: #CF1C22; border: 2px solid #CF1C22; font-size: 12px; font-weight: bold; margin-top: 15px; margin-bottom: 15px; padding: 5px; padding-left: 10px; }
.failedColor { background-color: #CF1C22; }
.failedText { color: #FFFFFF; font-weight: bold; }
