/* ---- overwritten styles ------- */
* {
  font-family: "Myriad Pro", Arial, Verdana, sans-serif;
  font-size: 14px;
}

html, body {
  height: 100%;
}

body {
  padding: 0;
  margin: 0;
}

h1 {
  background-color: #366097;
  color: white;
  font-size: 18px;
  text-align: center;
  padding: 4px;
}

h2 {
  background-color: #366097;
  color: white;
  font-size: 16px;
  text-align: center;
  padding: 4px;
}

h3 {
  background-color: #366097;
  color: white;
  font-size: 14px;
  padding: 4px;
  text-align: left;
}

th, td {
  padding: 3px;
}

th {
  text-align: left;
}

hr {
  background-color: #333333;
  border: none;
  color: #333333;
  height: 1px;
}

input[type=checkbox], input[type=radio] {
  vertical-align: middle;
  position: relative;
  bottom: 1px;
}

input[type=radio] {
  bottom: 2px;
}

/* ---- Custom tags and style ---- */
body {
  background: url(../images/background/certificate.jpg) no-repeat center center fixed;
  -webkit-background-size: cover; /* For WebKit*/
  -moz-background-size: cover;    /* Mozilla*/
  -o-background-size: cover;      /* Opera*/
  background-size: cover;
}

header {
  z-index: 3;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  background: url(../images/layout/header-background.png) repeat-x;
}

#logo {
  padding-left: 5px;
  padding-top: 2px;
  float: left;
}

#header-left, #header-right {
  padding: 10px 5px 5px;
}

#header-left {
  float: left;
}

#header-right {
  float: right;
}

/* ---- navigation -- */

#left-navigation {
  background: url(../images/layout/left-navigation-border.png) repeat-y transparent right top;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
}

#left-navigation-toggle {
  cursor: pointer;
  position: absolute;
  margin-right: -18px;
  right: 0;
  top: 55px;
}

#left-navigation-panel {
  min-width: 30px;
  height: 100%;
}

#left-navigation-content {
  padding: 50px 10px;
  background-color: white;
  height: 100%;
  width: 250px;
  display: none;
  margin-right: 40px;
}
#left-navigation-inner-content {
  /*height: 480px;*/
}

#left-navigation-content a.button {
  display: block;
}

#left-navigation-content select {
  max-height: 40px;
  width: 200px !important;
}

.paging-region {
  position: fixed;
  top: 50%;
  margin-top: -75px;
  width:200px;
  height:150px;
}

.paging-region.previous {
  left: 0;
}

.paging-region.next {
  right: 0;
}

.paging-region .paging-button {
  display: none;
  height: 150px;
  vertical-align: middle;
  text-align: center;
  background-image: url(../images/layout/background-trans-75.png);
}

/* ---- END navigation -- */

#content-wrapper {
  position: relative;
}

.content-wide {
  padding-top: 40px;
  padding-bottom: 20px;
  margin: auto;
  width: 100%;
}

.content-tall {
  margin: auto;
  width: 900px;
  height: 100%;
}

.content-tall #content {
  height: 100%;
}

.content-tall #content-inner {
  padding-bottom: 40px;
  min-height: 90%;
}

#content-inner {
  padding: 30px;
  padding-bottom: 10px;
  margin: 20px auto;
  background: url(../images/layout/background-trans-90.png);
}

#content-action-box {
  display: none;
  background: rgba(255, 255, 255, 0.3) url(../images/layout/background-trans-90.png);
  padding: 20px;
  position: fixed;
  top: 100px;
  left: 50%;
  margin-left: 450px;
}

#content-action-box a.button {
  width: 100px;
  display: inline-block;
}

#footer {
  z-index: 3;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding-top: 20px;
  min-height: 40px;
  background: url(../images/layout/footer-background.png) repeat-x;
}

#footer-compact {
  float: right;
  padding-top: 6px;
  padding-right: 5px;
}

#footer-content {
  padding-left: 10px;
  padding-top: 22px;
  padding-right: 10px;
  display: none;
  height: 300px;
  background-color: white;
}

.button {
  text-decoration: none;
  padding: 4px 6px;
  text-align: center;
  box-shadow: #666 0px 2px 3px;
  background: #366097;
  color: white !important;
  behavior: url(../support/PIE.htc);
  cursor: pointer;
  vertical-align: baseline;
}
#content a.button.inline-button {
  margin-top: 0;
  margin-left: 5px;
}

.button.v-spaced {
  display: inline-block;
  margin: 10px 0;
}

.button.save {
  background-color: #9bc800;
  color: black;
}

.button.discard {
  background-color: #710909;
}

.button.inactive {
  background: #999;
}

.button:hover {
  background-color: white;
  color: #366097 !important;
}

.field-title {
  display: inline-block;
  width: 100px;
}

.date-input {
  background: url(../images/controls/calendar.png) no-repeat right;
  background-size: 16px;
  padding-right: 20px;
}

/* containers */
.scrolling-table-container {
  background-color: white;
  max-height: 200px;
  overflow-y: scroll;
  padding-bottom: 10px;
  position: relative;
}

#content a.button {
  display: inline-block;
  margin-top: 5px;
}

.scrolling-table-container th,
.scrolling-table-container td {
  border: 1px solid #ccc;
}

.scrolling-table-container .ui-icon {
  display: inline-block;
}

/** panels **/
.filter-panel {
  display: inline-block;
  padding: 6px;
  margin-bottom: 4px;
  background-color: white;
  border: 4px solid #ddd;
}

.filter-panel .chzn-container {
  vertical-align: bottom;
}

.result-panel {
  float: right;
  display: inline-block;
  padding: 6px;
  margin-top: 4px;
  background-color: white;
  border: 4px solid #ddd;
  clear: right;
  white-space: nowrap;
}

.box {
  display: inline-block;
  border: 1px solid #ddd;
  margin: 0 10px;
  padding: 2px;
}

.reminder {
  background-color: white;
  color: #444;
  border: 1px solid #777;
  padding: 10px;
  font-style: italic;
  text-align: center;
  display: inline-block;
  margin: 10px;
}

.progress-box {
  display: none;
  margin: auto;
  width: 90%;
  height: 160px;
  background-color: white;
  border: 1px solid #ddd;
  padding: 10px;
}

.progress-box .messages-box {
  float: left;
  width: auto;
  height: 150px;
  overflow: auto;
  white-space: nowrap;
}

.progress-box .knob-box {
  float: left;
  margin: 20px;

}

/* --- general formats ---- */
.text-left {
  text-align: left;
}

.centered {
  width: 100%;
  text-align: center;
}

.top-padding {
  padding-top: 50px;
}

.btn-submit {
  padding: 20px;
  margin: 10px;
}

.table-grid {
  border-collapse: collapse;
}

.table-grid td {
  border: 1px solid #ccc;
  background-color: white;
}

.icon {
  vertical-align: bottom;
}

a:active,
.link-active {
  background-color: #555;
  color: white;
}

/* ---- specific rules ----*/
#change-log {
  font-size: 11px;
  width: 230px;
  height: 100%;
  overflow: scroll;
  white-space: nowrap;
}
#stage-info {
  float: left;
  border: 2px solid red;
  color: red;
  font-weight: bold;
  padding: 4px;
  margin-left: 10px;
  background-color: orange;

}