.errors {
  color: red;
  font-style: italic;
  display: table-row;
}

.even {
  height: 2em;         /* Älä kasvata - ei saada dataa halvalla keskitettyä */
}
.odd {
  background: #efefef;
  height: 2em;
}

.fieldinerror {
  border: 1px solid red;
}

.checkboxerror {
  outline: 1px solid red;
}
.datePickerError {
  border: 1px solid red;
  width: 12ex;
}

.datePickerHiddenError {
  border: 1px solid red;
}

.latestModifier {
  text-align: right;
  font-style: italic;
  font-size: smaller;
  color: #1B887A;
}

.latestKoskiTransfer {
  text-align: right;
  font-style: italic;
  font-size: smaller;
  color: #1B887A;
}

.seaselect {
  width: 8em;
}
/* This is for normal html-page */
/* Please see fadeOutFlashMessage if you change paddings */
.studentasuccess {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  z-index: 1000;
  border-radius: 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  border: 1px solid #00ff00;
  padding: 5px 5px 5px 5px;
  background: #aaffaa;
  color: #000;
  font-weight: bold;
  text-align: center;
}

/* Please see fadeOutFlashMessage if you change paddings */
.studentafailure {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  z-index: 1000;
  border-radius: 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  border: 1px solid #ff0000;
  padding: 5px 5px 5px 5px;
  background: #ffaaaa;
  color: #000;
  font-weight: bold;
  text-align: center;
}

/* This is for smaller windows */

.dialogTextArea {
  width: 200px;
  height: 40px;
}

a {
  cursor: pointer;
}

a img {
  border: none;
  vertical-align: middle;
  display: block;
  margin: 0px;
}

a.disabledLink {
  font-style: italic;
  color: #d3d3d3 !important;
}

.editableLabelText {

}

th.pagedTableSortable {
  text-align: left;
  background: url(./images/sortable.gif) right no-repeat;
  border-bottom: 1px solid #a0a0a0;
  color: #00008b;
  border-top: 1px solid #a0a0a0;
  padding-right: 2ex;
  background-color: #CFD4E0;
  height: 2em;
}

.tablecontainer {
  width: 95%;
}
.pagedTableInput {
  width: 100%;
  box-sizing: border-box;
}
.pagedTableInputHolder {
  padding-right: 1ex;
}
.pagedTableTextArea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

.pagedTableDate {
  width: 11ex;
}
.pagedTableCode {
  width: 4ex;
}

th.pagedTableSortable a {
  color: #00008b;
}

th.pagedTableSortable:visited a {
  color: #00008b;
}

th.pagedTableSortable:active a {
  color: #00008b;
}

th.pagedTableSorted {
  padding-right: 2ex;
}

th.pagedTableAsc {
  background: url(./images/ascending.gif) right no-repeat #CFD4E0;
}

th.pagedTableDesc {
  background: url(./images/descending.gif) right no-repeat #CFD4E0;
}

table.rowEditTable {
  border-collapse: collapse;
  border-spacing: 0;
  padding: 0;
}

table.normalTable th {
  background-color: #f5f5fc;
  border-top: 1px solid #a0a0a0;
  border-bottom: 1px solid #a0a0a0;
  color: #00008b;
}

table.normalTable td {
  border-bottom: 1px solid #a0a0a0;
}

table.widgetTable {
  width: 100%;
}

.editableRow {
  border: 1px #aaaaaa solid;
  padding: 5px;
  margin-bottom: 5px;
}

th.normalTableRightHead {
  -moz-border-radius: 0px 5px 5px 0px;
  border-radius: 0px 5px 5px 0px;
  background-color: #f5f5fc;
  border: 1px solid #a0a0a0;
  border-left: 0px;
  color: #00008b;
}

th.normalTableLeftHead {
  -moz-border-radius: 5px 0px 0px 5px;
  border-radius: 5px 0px 0px 5px;
  background-color: #f5f5fc;
  border: 1px solid #a0a0a0;
  border-right: 0px;
  color: #00008b;
  width: 40px;
}

.normalTableRightHead {
  -moz-border-radius: 0px 5px 5px 0px;
  background-color: #f5f5fc;
  border: 1px solid #a0a0a0;
  border-left: 0px;
  color: #00008b;
}

.normalTableLeftHead {
  -moz-border-radius: 5px 0px 0px 5px;
  background-color: #f5f5fc;
  border: 1px solid #a0a0a0;
  border-right: 0px;
  color: #00008b;
  width: 40px;
}

.normalTableHeader {
  background-color: #f5f5fc;
  border: 1px solid #a0a0a0;
  border-right: 0px;
  border-left: 0px;
  color: #00008b;
  width: 40px;
}

table.pagedTable th {
  background-color: #f5f5fc;
  border-top: 1px solid #a0a0a0;
  border-bottom: 1px solid #a0a0a0;
}

table.pagedTable th a {
  display: block;
  padding-right: 15px;
}


table.editableRowTable td {
  border-top:none;
  border-bottom:none;
}

tr.pagedTableEven td {
  border-bottom: 1px solid #aaaaaa;
  padding-bottom: 3px;
  padding-top: 3px;
  background: #efefef;
}

tr.pagedTableOdd td {
  border-bottom: 1px solid #aaaaaa;
  padding-bottom: 3px;
  padding-top: 3px;
}

th.pagedTableRightHead {
  -moz-border-radius: 0px 5px 5px 0px;
  background-color: #f5f5fc;
  background-color: #CFD4E0;
  border: 1px solid #a0a0a0;
  border-left: 0px;
  height: 2em;

}

th.pagedTableLeftHead {
  -moz-border-radius: 5px 0px 0px 5px;
  background-color: #CFD4E0;
  border: 1px solid #a0a0a0;
  border-right: 0px;
  height: 2em;
}

th.pagedTableHead {
  -moz-border-radius: 0px 5px 5px 0px;
  background-color: #f5f5fc;
  background-color: #CFD4E0;
  border: 1px solid #a0a0a0;
  border-left: 0px;
  border-right: 0px;
  height: 2em;
}

div.frontPageWidgetSmall {
  overflow-y: auto;
  position: relative;
  display: block;
  float: left;
  outline: 0 none;
  width: 350px;
  height: 220px;
  margin: 0 25px 25px 0;
}
div.frontPageWidgetMedium {
  overflow-y: auto;
  position: relative;
  display: block;
  float: left;
  outline: 0 none;
  width: 450px;
  height: 200px;
  margin: 0 25px 25px 0;
}
div.frontPageWidget {
  overflow-y: auto;
  position: relative;
  display: block;
  float: left;
  outline: 0 none;
  width: 450px;
  height: 450px;
  margin: 0px 25px 25px 0;
}

div.frontPageWidgetWide {
  overflow-y: auto;
  position: relative;
  display: block;
  outline: 0 none;
  width: 1020px;
  height: 250px;
  margin: 0px 25px 25px 0;
}

div.toolBox {
  -moz-border-radius: 5px 5px 5px 5px;
  border-radius: 5px;
  color: #000000;
  background: none repeat scroll 0 0 #FCE8AF;
  border: 1px solid #D2D2D2;
  display: inline-block;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 0.5em 0 0.5em 0em;
  text-align: left;
  width: 100%;
  vertical-align: middle;
}
div.shortToolBox {
  width: 150px;
}

div.minimalToolBox {
  width: 100px;
}

div.accordionCard {
  background: #ffffff;
  border: 1px solid #e7e7e4;
  -moz-border-radius: 5px 5px 5px 5px;
  border-radius: 5px;
  margin-bottom: 1em;
}

div.accordionTree {
  width: 60ex;
  overflow-x: auto;
}

div.accordionTreeStudenModule {
  width: 100%;
  overflow-x: auto;
  min-height:0%;
}


div.confirmResignOrComplete {
  display: none;
}

div.accordionHeader {
  color: #000000;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
  background-color: #CFD4E0;
  font-size: 130%;
  width: 100%;
  font-weight: bold;

  border-top: 1px solid #CFD4E0;
  border-top: 1px solid #CFD4E0;
  border-top: 1px solid #CFD4E0;

  border-top-right-radius: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -webkit-border-top-left-radius: 5px;

}

div.important {
  color: #ffffff;
  background-color: #195B93;
  border-top: 1px solid #195B93;
  border-top: 1px solid #195B93;
  border-top: 1px solid #195B93;

}

div.informative {
  font-weight: bold;
  padding-left: 0.5em;
  padding-top: 0.5em;
  padding-bottom: 1.0em;

}

div.pseudoAccordionHeader {
  padding-left: 0.5em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  border: 1px solid #CFD4E0;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #CFD4E0;
  font-size: 130%;
  font-weight: bold;
}

div.pseudoAccordionHeaderSmall {
  padding-left: 0.5em;
  padding-top: 0em;
  padding-bottom: 0em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  border: 1px solid #CFD4E0;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #CFD4E0;
  font-weight: bold;
}

div.pseudoAccordionHeaderSmallNewsFrontPage {
    padding-left: 0.5em;
    padding-top: 0em;
    padding-bottom: 0em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    border: 1px solid #CFD4E0;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #CFD4E0;
    font-weight: bold;
}

div.pseudoAccordionHeaderSmallNews {
    padding-left: 0.5em;
    padding-top: 0em;
    padding-bottom: 0em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    border: 1px solid #CFD4E0;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #CFD4E0;
    font-weight: bold;
}

div.subheader {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  font-weight: bold;
}

div.newsList {
  display: block;
  margin-left: 2em;
  margin-bottom: 1em;
}
.chartdiv {
  height:160px;
  width:430px;
}

.chartdivStudentAmount {
  height:300px;
  width:440px;
}

div.inlined {
  display: inline;
}

span.inlineError {
  display: inline;
}

span.langEdit {
  display: inline-block;
  width: 3ex;
}

span.openEndedEndDate {
  cursor: pointer;
}

div.selectionDialog {
  text-align: left;
}

.table-row {
  display: table-row;

}

.table-cell {
  display: table-cell;
}

.table-table {
  display: table;
}

.editTable {
  display: table;
  width: 100%;
}

.table-row-accordionLike {
  display: table-row;
  padding-left: 1em;
  margin-top: 5px;
  font-weight: bold;
}

.tableRow-rowedit {
  width: 100%;
  padding: 0px;
}

/* this must be defined or firefox will generate own element.style with display: inline */
.hidden {
  display: none;
  margin-bottom: 0.2ex;
}

.changed {
}

.postcode {
  width: 7ex;
}

.city {
  width: 20ex;
}

.langrow {
  padding-bottom: 0px;
}


.langrow {
  padding-bottom: 0px;
  font-family:"Courier";
}

.accordionData {
  padding: 1em;
}

/* Kentän divien ja spannien maaritykset */
.field {
  margin-top: 0.2em;
  margin-bottom: 0.5em;
  margin-right: 0.2em;
}

.inlinefield {
  margin-top: 0.2em;
  margin-bottom: 0.5em;
  margin-right: 0.2em;
  display: inline;
}

.fieldgroup {
  display: inline-block;
  vertical-align: top;
}

.boldCalendarFieldgroup {
  display: inline-block;
  vertical-align: top;
  font-weight: bold;
  padding-bottom: 25px;
}

/* Palstasäädöt */
table {
  border-spacing: 0px;
}

.treetable {
  width: 100%;
}

td {
  /* ie hack - works on some other browsers too */
  word-wrap: break-word;
  vertical-align: top;
}

td.rightcolumn {
  padding-left: 5ex;
}

td.rightColumnCloserToLeft {
  padding-right: 50ex;
}

td.contractDetailPrice {
  font-weight: bolder;
}

td.contractInstallmentPrice {
  font-weight: bolder;
}

td.contractPlanPrice {
  font-weight: bolder;
}

td.overPrice {
  color: red;
}

td.treeItemHeader {
  font-weight: bold;
}

td.checkNotification {
  vertical-align: bottom;
}
td.widgetPencil {
  width: 1em;
}
td.widgetCell {
  width: 100%;
}

/* Kehoitteet */
.prompt {
  display: inline-block;
  width: 20ex;
  white-space: normal;
}
.strongPrompt {
  display: inline-block;
  width: 18ex;
  white-space: normal;
  font-weight: bold;
}
.prompt img {
  vertical-align: bottom;
}

.narrow_prompt {
  display: inline-block;
  width: 10ex;
  white-space: normal;
}

.wider_prompt {
  display: inline-block;
  width: 25ex;
  white-space: normal;
}

.two_column_prompt {
  display: inline-block;
  width: 65ex;
  white-space: normal;
}

.noWrapPrompt {
  white-space: nowrap;
}

/* Kenttätyypit Palstalle */
.narrow_inputfield {
  width: 39ex;
}

.narrow_halfinputfield {
  width: 18ex;
}

.narrow_selectorfield {
  overflow-x: hidden;
  width: 40ex;
}

.narrow_selectorsearchfield {
  overflow-x: hidden;
  width: 16ex;
}
.narrow_textareafield {
  width: 38ex;
  height: 6ex;
}


.narrow_largetextareafield {
  width: 38ex;
  height: 16ex;
}

.narrow_verylargetextareafield {
  width: 95ex;
  height: 16ex;
}

.medium_largetextareafield {
  width: 50ex;
  height: 32ex;
}

.narrow_plainfield {
  width: 40ex;
}

.datefield {
  width: 12ex;
}

.datePicker {
  width: 12ex;
}

.timefield {
  width: 5ex;
}
.timestampfield {
  width: 15ex;
}

/* Kenttätyypit editointiin ilman palstaa */
.inputfield {
  width: 80ex;
}

.longinputfield {
  width: 90ex;
}

.selectorfield {
  overflow-x: hidden;
  width: 80ex;
}


.narrowerform .inputfield, .narrowerform .selectorfield {
  width: 50ex;
}

.longtextareafield {
  width: 100ex;
  height: 25ex;
}

.textareafield {
  width: 100ex;
  height: 10ex;
}

.plainfield {
  width: 80ex;
}

/* Koodiarvojen leveydet */
.codeselector {
  width: 10ex;
}

.codeinputfield {
  width: 10ex;
}

.widenumberinputfield {
  width: 13ex;
}

td.draggable {
  background-image: url(../styles/images/file.gif);
  background-repeat: no-repeat;
}

.eventlink_true {
  display: inline;
}

.eventlink_false {
  display: none;
}

.descriptiontext {
  text-indent: 5ex;
}

.descriptiontextheader {
  font-size: 130%;
  font-weight: bold;
}

.selectionLayerWithOneColumnWidth {
  width: 350px;
}

.selectionLayerWithTwoColumnsWidth {
  width: 500px;
}

.exceededCodeValue {
  color: #808080;
}

.studenttree {
  border-collapse: collapse;
  white-space: nowrap;
}
.studenttree th {
  text-align: left;
  padding: 0.3em 1.0em;
}

.studenttree td {
  border-bottom: 1px solid #e7e7e4;
  border-top: 1px solid #e7e7e4;
  padding: 0.3em 1.0em;
  line-height:1.1em;
  vertical-align: middle;
}

.studenttree td img {
  padding-right: 0.3em;
}

.studenttree .education td {
  font-weight: bold;
}

.studenttree .subheading {
  font-weight: bold;
  font-style: italic;
}

.studenttree tr.greybg {
  background: #EEE;
}
.dialog-holder {
  text-align: left;
}

.leftNavContent .data {
  overflow: auto;
  height: 230px;
}

.duedate {
  text-align: center;
}

.duedate_gray {
  text-align: center;
  color: #a0a0a0
}

.strong {
  font-weight: bold;
}

tr.toolrow td {
  background-color: #FCE8AF;
  color: #000000;
  margin-bottom: 2px;
  margin-top: 2px;
  padding: 0.5em 0 0.5em 0;
}

.portlet .close {
    position: absolute;
    top: 0px;
    right: 0px;
}

tr.recent td.recent {
    font-weight: bold;
}

tr.past td.recent {
}

td.gray {
  color: #a0a0a0
}

tr.expired td.status {
  color: #a0a0a0
}

tr.active td.status {
  color: #000000;
}

.studyPlanTabs {
    background-color:#FECA37;
    border-radius:10px;
    color:#FFFFFF;
    padding:5px;
}

.paymentform {
    display: none;
}

.candidateAssessorsMissing {
    color: #FF0000;
	font-size: 20px;
}

.studyPlanSigned {
    color: #195B93;
    float: right;
    font-weight: bold;
}

.eeDateOutOfBounds {
    color: #FF0000;
}

.smallGrayText {
    color: #a0a0a0;
    font-style: italic;
    font-size: smaller;
}

.massEducationEventName{
  max-width:131px;
}

#new-link-line {
  position: absolute;
  width: 1px;
  background-color: #808080;
  z-index: 1000;
  -webkit-transform-origin: top left;
  -moz-transform-origin: top left;
  -o-transform-origin: top left;
  -ms-transform-origin: top left;
  transform-origin: top left;
}

.boldFont {
  font-weight: bold;
}

.redFont {
  color: #C00000;
}

.blueFont {
  color: #668CD9;
}

.lightGreenFont {
  color: #85AAA5;
}

.brownFont {
  color: #C4A883;
}

.tealFont {
  color: #668CB3;
}

.lightPurpleFont {
  color: #94A2BE;
}

.brightGreenFont {
  color: #8CBF40;
}

.dirtyYellowFont {
  color: #E0C240;
}

.greenFont {
  color: #92D5CD;
}

.dirtyPinkFont {
  color: #D96666;
}

.purpleFont {
  color: #B373B3;
}

.cyanFont {
  color: #59BFB3;
}

.brickFont {
  color: #E6804D;
}

.brightBlueFont {
  color: #668CD9;
}

.pinkFont {
  color: #E67399;
}
