/* main divit */
body {text-align: center; padding: 0px; margin: 0px; }
#container {width: 1095px; margin: 20px auto 20px auto; text-align: left;}
	#top {height: 259px; background: URL('top.jpg');}
	#top img {display: none; }
	#main {background: URL('middle.jpg') repeat-y; min-height: 100px;}
		#innermargin {margin: 0px 70px -150px 70px; position: relative; top: -40px; }
	#bottom {height: 180px; background: URL('bottom.jpg'); }

/* adminbadge, printlink logout -linkki ja tulosta -linkki */
#adminbadge {width: 145px; height: 82px; float: right; background: URL('hallinta_badge.jpg') no-repeat; top: 10px; }
#adminbadge h2 {display: none; }
#logouttext {width: 256px; height: 25px; position: relative; top: 148px; left: 788px; background: URL('hallinta_colorbar.jpg') no-repeat;  padding-top: 5px; padding-right: 30px; text-align: right; }
#logouttext a {color: white; font-family: Verdana; font-size: 12px; font-weight: bold; text-decoration: none; margin-right: 10px; }
#logouttext a:hover {text-decoration: underline; }
a#printLink { width: 65px; height: 14px; background: URL('icon_print.gif'); background-position: right; background-repeat: no-repeat; position: absolute; top: 175px; margin-left: 975px; font-family: Verdana; font-size: 10px; color: white; text-decoration: none;}

/* mainlinks */
#mainlinks {position: absolute; top: 168px; margin: 0px 51px 0px 51px; padding: 0px; border: 0px solid red;}
#mainlinks li {display: block; width: 130px; height: 25px; border: 0px solid red; float: left; text-align: center; line-height: 17px;}
#mainlinks li a {display: block; width: 130px; height: 25px; color: white; font-family: Verdana; font-size: 13px; padding-top: 5px; text-decoration: none; }
#mainlinks li a:hover {background: URL('button_hover.jpg') repeat-x; }
#mainlinks li.active a {background: URL('button_active.jpg') repeat-x; }
#mainlinks li.active a:hover {background: URL('button_active.jpg') repeat-x; }

/* perustekstit ja tablet */
h1 {display: none}
h2 {font-family: Verdana; font-size: 20px; color: #374b82; font-weight: bold; margin: 0px 0px 30px 0px; padding: 0px;}
h3 {font-family: Verdana; font-size: 15px; color: #d3692e; font-weight: bold; margin: 25px 0px 10px 0px; padding: 0px;}
p {font-family: Verdana; font-size: 12px; margin: 0px 0px 20px 0px; padding: 0px; line-height: 18px}
a {color: #273d6d; text-decoration: underline;  }
a:hover {color: #d3692e; }
td, th { font-family: Verdana; font-size: 12px; vertical-align: top; line-height: 19px;}
th {font-weight: bold; text-align: left; }
h2 small {font-size: 14px; font-weight: normal; }
span.noScreen {display: none; }
a.helpLink {text-decoration: none; font-size: 13px; font-weight: bold; padding: 0px 3px}

/* formit */
form {margin: 0px; padding: 0px; }
input, select, textarea {margin: 2px 10px 2px 0px; font-family: Verdana; font-size: 12px; margin: 2px 0px; padding: 0px; }
input.button {color: black; overflow: visible; margin: 10px 10px 0px 0px; padding: 1px 5px; }
.error {font-family: Verdana; font-size: 12px; color: red; }

/* historialinkit */
#historylinks {position: absolute; top: -35px; color: #374b82; font-family: Verdana; font-size: 10px;}
#historylinks a {font-family: Verdana; color: #374b82; text-decoration: underline;}
#historylinks a:hover {color: #d3692e; }

/* listat */
ul {list-style: disc; color: #273d6d; padding: 0px 0px 0px 30px; margin: 10px 0px 30px 0px}
ul li {font-family: Verdana; font-size: 12px; line-height: 20px; }
#koulutuskategoriat {margin-left: -30px; }
#koulutuskategoriat ul {list-style: none; margin: 0px 0px 0px 30px; padding: 0px;}
#koulutuskategoriat li, #koulutuskategoriat_table td {line-height: 18px; padding: 1px 0px;}
#koulutuskategoriat li a {text-decoration: none; }
#koulutuskategoriat li.master {font-weight: bold; margin-top: 20px;}
#koulutuskategoriat_table td.master {padding-top: 20px;}
#koulutuskategoriat_table td.master {font-weight: bold}
#koulutuskategoriat_table {margin-top: -20px; margin-bottom: 40px; }


/* koulutushaku */
form#hakuformi {margin-bottom: 30px;}
form#hakuformi input, form#hakuformi select {margin-bottom: 3px; }
#hakuohje h3 {margin-top: 0px; }
table#hakutulokset {border: 1px solid #b4c1cd; width: 100%; background: #f8f9fa; }
table#hakutulokset td, table#hakutulokset th  {font-family: Verdana; font-size: 12px;}
.lyhytKoulutus {background: #ffc799; }
.vanhaKoulutus {background: #cbcbcb}
table#hakutulokset th {height: 30px; font-weight: bold; vertical-align: top; }
table#hakutulokset th a, table#hakutulokset th span.toiminnot {text-decoration: none; border-bottom: 1px solid #b4c1cd; background: #e8edf7; display: block; height: 20px; padding: 3px 4px 0px 3px;  }
table#hakutulokset td {line-height: 18px;  padding: 0px 3px 0px 3px; }
table#hakutulokset th.orderedUp a, table#hakutulokset th.orderedDown a, table#hakutulokset th a:hover  {background-color: #d1daec; color: #273d6d }
table#hakutulokset th.orderedUp a {background: URL('upArrow.gif')  #d1daec no-repeat; background-position: right;}
table#hakutulokset th.orderedDown a {background: URL('downArrow.gif')  #d1daec no-repeat; background-position: right;}
table#hakutulokset .categoryHeader td {vertical-align: bottom; height: 25px; color: #273d6d; font-weight: bold; font-size: 12px; }
table#hakutulokset .mainCategoryHeader td {border-bottom: 1px solid #b4c1cd; vertical-align: bottom; padding-top: 30px; padding-bottom: 5px; color: black; font-size: 15px; font-weight: bold; }

/* henkilökortti, koulutuskortti ja oppilaitoskortti */
table.henkilo, table.oppilaitos {margin-bottom: 20px; }
#koulutuskortti {text-align: left; margin: 0px; padding: 0px; }
#koulutuskortti h3, #oppilaitoskortti h3 {margin: 0px 0px 15px 0px; color: #374b82 }
.koulutus .henkilo {margin: 0px; }

/* hallinta */
#hallinta {text-align: left; }
.popup {margin: 10px; border: 1px solid #b4c1cd; padding: 5px; background: #f8f9fa; }
.box {border: 1px solid #b4c1cd; padding: 5px; width: 500px; margin-bottom: 40px; background: #f8f9fa;}
.box h3 {margin-top: 0px; margin-bottom: 20px; }
.popup .button {margin: 20px 0px 0px 0px; }
.popup h2 {font-size: 17px; margin-bottom: 20px;}
.view {background: URL('icon_view.gif') no-repeat 2px 0px;}
.edit {background: URL('icon_edit.gif') no-repeat 2px 0px; }
.delete {background: URL('icon_delete.gif') no-repeat 2px 0px; }
.up {background: URL('icon_up.gif') no-repeat 2px 0px;}
.down {background: URL('icon_down.gif') no-repeat 2px 0px; }
.changeParent {background: URL('icon_delete.gif') no-repeat 2px 0px; }
a.linkButton { margin-right: 10px; font-size: 10px; color: black; text-decoration: none; padding: 1px 8px; border-width: 0px; border-style: solid; border-color: #a5a5a6 #393939 #393939 #a5a5a6; }


/*
#koulutuskortti {text-align: left; margin: 10px; border: 1px solid #b4c1cd; padding: 10px; background: #f8f9fa; }
#koulutuskortti h3 {margin: 0px 0px 15px 0px; color: #374b82
*/

