body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}
a:hover {
  color: #BE1622;
}
#notifyMessage {
  background-color: #fff9c3;
  padding: 10px;
}
#notifyMessageError {
  background-color: #ffafaf;
  padding: 10px;
}
#header {
  padding: 10px;
  font-size: 150%;
  color: white;
  background-color: #662D91;
}
#header #menu {
  font-size: 70%;
  float: right;
}
#header #menu a {
  color: white;
}
#container {
  overflow: hidden;
}
#container #left {
  width: 200px;
  float: left;
  background-color: #efefef;
  padding-bottom: 32000px;
  margin-bottom: -32000px;
  background-image: url('/kg/img/shade.png');
  background-position: right;
  background-repeat: repeat-y;
}
#container #left #left-wrapper {
  padding: 5px;
}
#container #right {
  margin-left: 200px;
  background-color: white;
  padding-bottom: 32000px;
  margin-bottom: -32000px;
}
#container #right #right-wrapper {
  padding: 5px;
}
#container #right #right-wrapper .pageTitle {
  font-size: 150%;
  margin: 0 0 10px 0;
}
.headerButton {
  padding: 3px 5px;
  background-color: white;
  border-radius: 3px;
  color: #662D91 !important;
  font-weight: bold;
  text-decoration: none;
}
.headerButton:hover {
  color: #BE1622 !important;
}
.headerLink {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
div.saavutus {
  width: 160px;
  height: 200px;
  float: left;
  color: white;
  background-color: #777;
  margin-bottom: 5px;
  margin-right: 5px;
  border-radius: 0 15px 0 0;
}
div.saavutus div.saavutus-wrapper {
  overflow: hidden;
  max-height: 189px;
  margin: 5px;
}
div.namebox {
  display: inline-block;
  border: 1px solid silver;
  padding: 5px;
}
div.saavutusElev {
  position: absolute;
  width: 170px;
  min-height: 170px;
  box-shadow: 0 0 25px #000000;
  border-radius: 0 15px 0 0;
  color: white;
  background-color: #777;
  z-index: 1001;
}
div.saavutusElev div.saavutus-wrapper {
  margin: 10px;
  overflow: visible;
  max-height: auto;
}
div.saavutusElev div.saavutus-fineprint,
div.saavutusElev div.saavutus-juhendaja {
  display: block;
}
div.saavutus-title {
  font-size: 135%;
}
div.saavutus-desc {
  font-size: 75%;
  font-weight: 700;
  margin-top: 8px;
}
div.saavutus-content {
  font-size: 80%;
  font-weight: 600;
  margin-top: 8px;
}
div.saavutus-juhendaja {
  font-size: 70%;
  font-weight: normal;
  margin-top: 8px;
  display: none;
}
div.saavutus-fineprint {
  font-size: 70%;
  font-weight: normal;
  margin-top: 8px;
  display: none;
}
div.saavutus a,
div.saavutusElev a {
  color: white;
  font-style: italic;
  font-weight: 700;
}
div.indexItem {
  margin-bottom: 10px;
}
div.indexItem div.indexTitle {
  font-size: 120%;
  margin: 0 0 5px 0;
}
div.indexItem ul {
  padding: 0 0 0 25px;
  margin: 0;
}
div.indexItem ul li {
  font-size: 80%;
}
#pages {
  text-align: center;
  font-size: 85%;
  margin: 10px 0;
}
#pages a {
  padding: 2px 6px;
  color: white;
  background-color: #662D91;
  text-decoration: none;
  font-weight: bold;
}
#pages a:hover {
  background-color: #BE1622;
}
#pages a.currentPage {
  background-color: #BE1622;
}
#changeForm input[type="text"] {
  width: 300px;
}
#changeForm textarea {
  font-family: sans-serif;
  width: 300px;
  height: 150px;
}
#footer {
  clear: both;
  padding: 10px;
  background-color: white;
  border-top: 1px solid #ccc;
  font-size: 75%;
  color: ;
}
#footer div {
  float: right;
}
div.separator {
  clear: both;
}
.LERT {
  outline: 2px solid red;
}
.small {
  font-size: 75%;
}
table.dataTable {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  border-bottom: 3px solid #662D91;
}
table.dataTable tr {
  background-color: white;
}
table.dataTable tr td.liitu {
  background-color: #9CDBAF;
}
table.dataTable tr td.lahku {
  background-color: #EF9AA8;
}
table.dataTable tr:first-child {
  background-color: transparent;
}
table.dataTable tr:nth-child(even) {
  background-color: #dedede;
}
table.dataTable tr:nth-child(even) td.liitu {
  background-color: #BBF2D1;
}
table.dataTable tr:nth-child(even) td.lahku {
  background-color: #F6B5BD;
}
table.dataTable tr.dataSelectedRow {
  background-color: #99ffff;
}
table.dataTable td.nowrap {
  white-space: nowrap;
}
table.dataTable th {
  text-align: left;
  font-weight: normal;
  background-color: #662D91;
  color: white;
  padding: 5px;
}
table.dataTable th a {
  color: white;
}
table.dataTable th:first-child {
  border-radius: 7px 0 0 0;
}
table.dataTable th:last-child {
  border-radius: 0 7px 0 0;
}
table.dataTable th.sorted:after {
  content: '*';
}
table.dataTable th.lukus {
  background-color: gray;
}
table.dataTable td {
  padding: 5px;
}
table.dataTable td a {
  font-weight: bold;
}
table.dataTable td em {
  color: gray;
}
