﻿#colcontent
{
  margin-top: 0;
}

h1
{
  margin-bottom: 0.5em;
}

.formGridTable
{
  width: 100%;
}

/* FormGrid */

/*  no inheritence from body */

td.formGridTitleCell,
td.formGridSubTitleCell
{
  font-size: 100%;
  font-weight: normal;
  padding: 0 0 1em 0;
  border: none;
  border-bottom: none;
}

td.formGridTopDataRow
{
  border-top: none;
}

td.formGridControlsCell
{
  padding: 0;
  vertical-align: middle;
  border-bottom: 2px solid white;
}

td.formGridControlsCell label
{
  position: relative;
  bottom: 0.1em;
  padding: 0;
  padding-left: 0.1em;
  margin-right: 0.6em;
}

td.formGridMarkersCell
{
  vertical-align: top;
  padding: 0;
  padding-right: 2px;
  border-bottom: 2px solid white;
}

td.formGridMarkersCell img
{
  padding-top: 1px;
}

td.formGridMarkersCell img[src $= "/Spacer.gif"]
{
  width: 12px;
  height: 20px;
}

.formGridMarkersCell a[aria-label]:not([title])::after {
  padding: 0.5em;
  color: #555555;
  background-color: white;
}

/* NOTE RISBA-2497: fix bug with red line in IE */
.formGridMarkersCell a[aria-label]:not([title]) {
  text-decoration: none;
}

td.formGridLabelsCell
{
  vertical-align: top;
  background-color: #F9F9F9;
  width: 15em;
  padding: 0;
  padding-right: 0.3em;
  padding-top: 0.23em;
  border-bottom: 2px solid white;
}

/* eGov 5.1 */

td.formGridControlsCell input,
td.formGridControlsCell textarea,
td.formGridControlsCell select
{
  font-family: Verdana, Arial, Helvetica, sans-serif; /* Standard Schriftarten */
}

td.formGridControlsCell input
{
  padding-left: 0.25em;
}

div.formGridValidationMessage
{
  clear: both;
}

td.formGridSpacer
{
  font-size: 0.5em;
}

#colnav div.Logo
{
  text-align: center;
  margin-bottom: 1.5em;
}

/* Contains the bookmark appender, etc*/

div#PageTasks
{
  margin-top: 1.6em; /* Will collapse with div#Main margin-bottom as long as there is no padding-top. */
}

/* Contains the buttons for doing stuff*/

.formGridTable div.MainTasks
{
  margin-top: 1em; /* Will collapse with div#BottomPagingBlock margin-bottom as long as there is no padding-top. */
  margin-bottom: 0;
  clear: both;
}

.formGridTable div.MainTasks .Button
{
  margin-left: 0;
  margin-right: 1em;
}

/* Contains the pages data. */

div#Main
{
  margin-top: 0; /* Will collapse with div#PageNavigation margin-bottom as long as there is no padding-top. */
  margin-bottom: 1em; /* Will collapse with div#PageTasks margin-top as long as there is no padding-bottom. */
  clear: both;
}

/* Search.aspx */

.inputFieldFullSize
{
  width: 80.8%;
  display: block;
}

.inputFieldFullSize input
{
  width: 100%;
}

.inputFieldRange select,
.inputFieldFullSize select
{
  width: 100%;
}

.inputFieldFullSize table
{
  width: 100%;
}

.inputFieldHalfSize
{
  display: block;
  width: 81.8%;
}

.inputFieldHalfSize table
{
  display: block;
}

div.inputFieldRange
{
  width: 80.8%;
}

div.inputFieldRange .separator
{
  display: block;
  float: left;
  text-align: center;
  padding-top: 0.35em;
  margin-right: 0;
  width: 12%;
}

div.inputFieldRange .from,
div.inputFieldRange .to
{
  display: block;
  float: left;
  width: 43%;
  text-align: right;
  position: relative;
  height: 1.7em;
  vertical-align: middle;
}

div.inputFieldRange span.bocDate24Hours, span.bocDate12Hours
{
  right: 24px;
}

div.inputFieldRange a.bocPicker24Hours, a.bocPicker12Hours
{
  right: 1px;
}

div.inputFieldRange .from.indent
{
  width: 37%;
}

div.inputFieldRange .indent
{
  margin-left: 6%;
}

div.inputFieldRange .to
{
  float: right;
}

div.inputFieldRange .from table,
div.inputFieldRange .to table
{
  width: 100%;
}

div.inputFieldRange .from input,
div.inputFieldRange .to input
{
  width: 100%;
  height: 1.65em;
}

/* date time field */

div.inputFieldRange div.from table td + td,
div.inputFieldRange div.to table td + td
{
  padding-left: 0.3em;
}

div.inputFieldRange div.from .content.withoutOptionsMenu a
{
  display: none;
}

div.inputFieldRange .separator.to
{
  width: 53%;
  padding-top: 1px;
  text-align: left;
  white-space: nowrap;
}

div.inputFieldRange .separator.to input
{
  vertical-align: -1px
}

div.inputFieldRange .separator.to label
{
  bottom: 0;
}

td.formGridControlsCell input[type = checkbox]
{
  height: 1.05em;
}

td.formGridControlsCell input[type = checkbox] + label
{
  border: 1px solid white;
  border-left: none;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0.2em;
  padding-left: 0.2em;
  padding-top: 0.17em;
  padding-bottom: 0.12em;
  line-height: 1.6em;
}

td.formGridControlsCell input[type = checkbox]:focus + label
{
  border: 1px dotted #a7a7a7;
  border-left: none;
  background-color: #fcf8eb
}

input:disabled
{
  background-color: #EEEEEE;
}

select:disabled
{
  background-color: #EEEEEE;
}

td#ContentPane
{
  padding-right: 1.5em;
}

div.validationError
{
  color: Red;
}

div.NormFieldFormatHelp
{
  padding-bottom: 0.3em;
}

.searchInformation
{
  margin-bottom: 0.5em;
}

ul.completionList
{
  z-index: 100;
  border: 1px solid black;
  background-color: white;
}

ul.completionList li
{
  margin: 1px;
}

ul.completionListNoWrap
{
  z-index: 100;
  border: 1px solid black;
  background-color: white;
  overflow-x: auto;
}

ul.completionListNoWrap li
{
  margin: 1px;
  white-space: nowrap;
  min-width: 100%;
}

li.completionListHighlightedItem
{
  display: inline-block;
  background: Highlight;
  color: HighlightText;
  overflow-x: initial;
  width: auto;
}

fieldset + fieldset
{
  display: block;
  margin-top: 0.5em;
}

table + fieldset,
fieldset + table
{
  margin-top: 0.75em;
}

legend span.container
{
  display: table;
}

legend span.labelSpacer
{
  display: table-cell;
  vertical-align: top;
  height: 1.5em;
  width: 15em;

  background-color: #F9F9F9;
  padding-left: 4px;
  border-style: solid;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 2px;
  border-left-width: 0px;
  border-color: White;
}

legend span.content
{
  display: table-cell;
  vertical-align: top;
  height: 1.5em;

  padding-left: 30px;
  border-style: solid;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 2px;
  border-left-width: 0px;
  border-color: White;
}

legend label
{
  position: relative;
  bottom: 0.1em;
  padding: 0;
  padding-left: 0.1em;
  margin-right: 0.6em;
}

.ui-datepicker-trigger
{
  display: none;
}