body {
  font-family: Arial, Helvetica, sans-serif;
}

/* The styles below are based on Twitter Bootstrap for nicer forms and buttons*/
select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
  line-height: 18px;
  display: inline-block;
  padding: 4px 6px;
  margin-bottom: 9px;
  color: #555555;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  width: 190px;
}
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear .2s, box-shadow linear .2s;
  -moz-transition: border linear .2s, box-shadow linear .2s;
  -o-transition: border linear .2s, box-shadow linear .2s;
  transition: border linear .2s, box-shadow linear .2s;
}
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

.ods_btn {
  text-decoration: none;
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */

  *zoom: 1;
  padding: 3px 10px;
  /*margin-bottom: 0;*/
  line-height: 20px;
  *line-height: 20px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: #333333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #e6e6e6;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  border: 1px solid #bbbbbb;
  *border: 0;
  border-bottom-color: #a2a2a2;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  *margin-left: .3em;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.ods_btn:hover,
.ods_btn:active,
.ods_btn.active,
.ods_btn.disabled,
.ods_btn[disabled] {
  color: #333333;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
}
.ods_btn:active,
.ods_btn.active {
  background-color: #cccccc \9;
}
.ods_btn:first-child {
  *margin-left: 0;
}
.ods_btn:hover {
  color: #333333;
  text-decoration: none;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
  /* Buttons in IE7 don't get borders, so darken on hover */

  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
  -moz-transition: background-position 0.1s linear;
  -o-transition: background-position 0.1s linear;
  transition: background-position 0.1s linear;
}
.ods_btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.ods_btn.active,
.ods_btn:active {
  background-color: #e6e6e6;
  background-color: #d9d9d9 \9;
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.ods_btn.disabled,
.ods_btn[disabled] {
  cursor: default;
  background-color: #e6e6e6;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.ods_btn-primary {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #006dcc;
  background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #0044cc;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.ods_btn-primary:hover,
.ods_btn-primary:active,
.ods_btn-primary.active,
.ods_btn-primary.disabled,
.ods_btn-primary[disabled] {
  color: #ffffff;
  background-color: #0044cc;
  *background-color: #003bb3;
}
.ods_btn-primary:active,
.ods_btn-primary.active {
  background-color: #003399 \9;
}

input.error,
select.error,
textarea.error {
  border-color: #b94a48;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
input.error:focus,
select.error:focus,
textarea.error:focus {
  border-color: #953b39;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
}


/* the rules below are the custom ODS ones which need to some after the Bootstrap ones
 * to overrule thigns like the margin of the OpenID input field.
 */
.ods_box {
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  *border: 1px solid #999;
  /* IE6-7 */

  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;

  background-color: #ECECED;
}

.ods_modal {
  left: 50%;
  width: 500px;
  margin-left: -250px;
  margin-top: 100px;
  position: relative;
}

.ods_box-inner {
  padding: 10px 20px;
}

.ods_logo {
  width: 150px;
}
.ods_logo-left {
  left: 20px;
}
.ods_logo-right {
  right: 20px;
}
.ods_strong {
  font-weight: bold;
}

.ods_errMsg {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
}
.ods_msg {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  text-align: center;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.ods_errMsg a {
  color: #b94a48;
}
.ods_infoMsg {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #468847;
}
.ods_infoMsg a {
  color: #468847;
}

.ods_center {
  text-align:center;
}
.ods_title {
  padding: 10px;

  border-bottom: 1px solid #999;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  *border-bottom: 1px solid #999;
}
.ods_big {
  font-size: 1.4em;
}

input.ods_openIdInput {
  background-repeat: no-repeat;
  background-position: 4px;
  padding-left: 24px;
}

form {
  margin: 0;
}

#ods_loginBox {
  width: 100%;
  font-size: 14px;
}
#ods_registerBox {
  vertical-align: bottom;
}

.ods_hintText {
  color: grey;
  font-size: 0.8em;
  margin-bottom: 8px;
}
.ods_hintText a {
  text-decoration: none;
  color: grey;
}
.ods_hintText a:hover {
  text-decoration: underline;
}

.ods_modal input,
.ods_modal form a {
  -ms-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

form table td:first-child {
  text-align: right;
}

label {
  font-size: 0.8em;
  color: grey;
}

.ods_infoText {
  font-size: 0.8em;
  margin: 10px 0;
}

span.question {
  cursor: pointer;
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #89A4CC;
  line-height: 16px;
  color: white;
  font-size: 13px;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  position: relative;
}
span.question-big {
  width: 22px;
  height: 22px;
  line-height: 22px;
  font-size: 16px;
  border-radius: 11px;
}
span.question:hover {
  background-color: #3D6199;
}
div.tooltip {
  background-color: #3D6199;
  color: White;
  position: absolute;
  left: 25px;
  top: -25px;
  z-index: 1000000;
  width: 250px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 16px;
}
div.tooltip:before {
  border-color: transparent #3D6199 transparent transparent;
  border-right: 6px solid #3D6199;
  border-style: solid;
  border-width: 6px 6px 6px 0px;
  content: "";
  display: block;
  height: 0;
  width: 0;
  line-height: 0;
  position: absolute;
  top: 40%;
  left: -6px;
}
div.tooltip p {
  margin: 10px;
  color: White;
}

/* css dropdown from http://csswizardry.com/2011/02/creating-a-pure-css-dropdown-menu/ */
.ods_hoverdd {
    list-style:none;
    margin-bottom:10px;
    cursor: pointer;
    /* Clear floats */
    /*float:left;*/
    width:100%;
    padding:0;
    /* Bring the nav above everything else--uncomment if needed.
    position:relative;
    z-index:5;
    */
}
.ods_hoverdd li {
  float: left;
    margin-right:5px;
    position:relative;
    line-height: 24px;
    height: 24px;
    vertical-align: middle;
    margin-bottom: 10px;
}
.ods_hoverdd a{
    /*display:block;*/
    /*padding:5px;*/
    color:#fff;
    /*background:white;*/
    text-decoration:none;
    line-height: 24px;
    height: 24px;
}
.ods_hoverdd a:hover{
    color:#fff;
    text-decoration:underline;
}

/*--- DROPDOWN ---*/
.ods_hoverdd ul{
  background:white; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
  list-style:none;
  position:absolute;
  width:156px; /* space to fit 5 24x24 buttons with 2px padding */
  left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
  padding: 5px;
  margin: 0px;
  z-index: 1000;

  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  *border: 1px solid #999;
  /* IE6-7 */

/*  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;*/
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;

  /* position the dropdown over the opening link */
  /*top: 0px;*/ /* Deactived since it results in almost always pressing the first link on touch devices */
}
.ods_hoverdd ul li{
  min-height: 24px;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: top;
  padding: 2px;
  zoom: 1;
  *display: inline;
  _height: 24px;
  float:none;
  margin: 0px;
}
.ods_hoverdd ul a{
    white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
.ods_hoverdd li:hover ul{ /* Display the dropdown on hover */
    left:0; /* Bring back on-screen when needed */
}
.ods_hoverdd li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
    text-decoration:underline;
}
.ods_hoverdd li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-decoration:none;
}
.ods_hoverdd li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
}
