body {
  color: #333;
  font-family: "Istok Web", sans-serif;
}
div {
  margin: 0;
  padding: 0;
}
a {
  color: #0064A7;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a img {
  border: none;
}
.nowrap {
  white-space: nowrap;
}

table {
  border-collapse: collapse;
  width: 100%;
}
th {
  text-align: left;
  font-weight: bold;
  background-color: #EEEEEE;
}
td {
  vertical-align: top;
  padding: 4px 0;
}
tr.odd {
  background-color: white;
}
tr.odd td {
  border-left: 1px solid #EEEEEE;
  border-right: 1px solid #EEEEEE;
}
tr.even {
  background-color: #EEEEEE;
}
tr.even td {
  border-left: 1px solid white;
  border-right: 1px solid white;
}
.ui-dialog table {
  border: 1px solid black;
}
.ui-dialog tr.odd td, .ui-dialog tr.even td, .ui-dialog th {
  border-left: 1px solid black;
  border-right: 1px solid black;
}
.ui-menu {
  z-index: 1001;
}

div#page {
  position: relative;
  width: 100%;
  margin: 0;
  background-color: white;
  padding: 0;
  border: none;
}
div#content {
  clear: both;
  padding-top: 0.5em;
}

h2.title {
  text-align: left;
  font-size: 20pt;
  margin: 0 0 0.5em 0;
  padding: 0 0 10px 0;
  border-bottom: 1px solid gray;
  height: 30px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.title #logo {
  margin-bottom: -5px;
}

p.message, ul.message {
  border: 1px solid green;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  background: #EFFFEF url('../image/info-icon.png') 3px 3px no-repeat;
  padding: 12px 8px 12px 55px;
  clear: both;
  position: relative;
}
ul.message li {
  margin-left: 15px;
}
p.message.warning,
ul.message.warning {
  background: #FFFFEF url('../image/warning-icon.png') 3px 3px no-repeat;
  border: 1px solid #FFCC00;
}
p.message.error,
ul.message.error {
  background: #FFEFEF url('../image/error-icon.png') 3px 3px no-repeat;
  border: 1px solid #FF0000;
}
p.message.notification,
ul.message.notification {
  background: #EFEFFF url('../image/notification-icon.png') 3px 3px no-repeat;
  border: 1px solid #0000FF;
}
p.message .notice-notification-message, p.message .notice-notification-link,
ul.message .notice-notification-message, ul.message .notice-notification-link {
  display: block;
}
p.message a.notification-dismiss {
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
  margin: 0;
  padding: 0 40px 0 0;
  background: transparent url('../image/close.png') 100% 0 no-repeat;
  line-height: 30px;
  cursor: pointer;
}
span.error-technical {
  font-family: monospace;
}

p.subheading {
  font-weight: bold;
  margin-top: 20px;
}
p.footer {
  color: gray;
  font-size: 0.8em;
  border-top: 1px solid gray;
  margin: 20px 0 0 0;
}
p.mobile-switch {
  margin: 0;
  text-align: right;
}
p.mobile-switch a.active {
  color: gray;
}

div.primary-menu {
  text-align: center;
}
div.menu-section {
  display: inline-block;
  border-radius: 8px;
  border: 1px solid gray;
  margin: 10px;
  padding: 10px;
}
div.menu-section h3 {
  margin: 10px 0;
}
ul.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.main-menu li {
  list-style: none;
  display: inline-block;
  width: 120px;
  height: 150px;
  overflow: hidden;
  text-align: center;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
}
ul.main-menu li:hover {
  background-color: #EEE;
  border-radius: 5px;
}
ul.main-menu li a {
  display: inline-block;
  width: 100%;
  height: 100%;
}
span#logout {
  display: block;
  float: right;
  clear: both;
  right: 0;
  font-size: 0.8em;
  margin-top: -50px;
  padding: 2px 5px;
  background-color: white;
}
span#logout a.logout-button {
  display:inline-block;
  height: 30px;
}
span#logout a.logout-button img {
  vertical-align: middle;
}
a#home-link:hover,
span#logout a.logout-button:hover {
  background-color: #EEE;
  border-radius: 3px;
}

.message-dialog {
  text-align: center;
}
.message-dialog .ui-dialog-titlebar {
  display: none;
}

#filterform {
  background-color: #EEEEEE;
  padding: 5px 0 5px 0;
  margin: 0 0 20px 0;
}
#filterform .ui-button {
  width: 5em;
  height: 30px;
  font-size: 0.9em;
}
#filterform dt {
  margin-left: 15px;
}

div.page-tabs {
  position: absolute;
  top: 7px;
  right: 160px;
  height: 34px;
}
div.page-tabs a {
  height: 34px;
  box-sizing: border-box;
  border-bottom: 1px solid gray;
}
div.page-tabs a.active {
  border-bottom: 1px solid white;
}

a.passbutton.ui-button {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: 0;
  color: #9F9F9F;
  background: #EFEFEF;
  border: 1px solid #9F9F9F;
  border-right: none;
}
a.passbutton.ui-button.active {
  box-shadow: 3px inset;
  background: green;
  color: black;
}
a.failbutton.ui-button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: 0;
  color: #9F9F9F;
  background: #EFEFEF;
  border: 1px solid #9F9F9F;
}
a.failbutton.ui-button.active {
  box-shadow: 3px inset;
  background: red;
  color: black;
}
a.passbutton:hover, a.failbutton:hover {
  color: inherit;
}

a.click-tooltip {
  cursor: help;
}

a.image-view {
  color: inherit;
  cursor: pointer;
}

.ui-menu .ui-menu {
  min-width: 12em;
}
.ui-menu-item a {
  display: block;
}
.ui-menu .ui-menu .ui-menu-item {
  border-bottom: 1px solid #EFEFEF;
}

table.auto-sticky-header thead tr:last-child th {
  border-bottom: 1px solid gray;
}
table.auto-sticky-footer tfoot tr:first-child td {
  border-top: 1px solid gray;
}
table.auto-sticky-header thead.sticky-fixed,
table.auto-sticky-footer tfoot.sticky-fixed {
  background-color: white;
}

.clearfix:after {
  content: "";
  clear: both;
  display: table;
}
