/* Fonts */

@font-face {
  font-family: Code39AzaleaFont;
  src: url('Code39Azalea.otf') format('embedded-opentype'), /* IE9 Compat Modes */
  url('Code39Azalea.woff') format('woff'), /* Modern Browsers */
  url('Code39Azalea.ttf') format('truetype'), /* Safari, Android, iOS */
  url('Code39Azalea.svg#Code39Azalea') format('svg');
  /* Legacy iOS */
  font-weight: normal;
  font-style: normal;
}


/*progressbar*/

#progressbar {
  margin-bottom: 30px;
  padding: 0;
  overflow: hidden;
  clear: both;
  /*CSS counters to number the steps*/
  counter-reset: step;
}

#progressbar li {
  list-style-type: none;
  color: black;
  text-align: center;
}

#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 30px;
  line-height: 30px;
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  background: rgb(213, 213, 213);
  border-radius: 3px;
  margin: 0 auto 5px auto;
  padding: 0 11px;
}


/*progressbar connectors*/

#progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: rgb(213, 213, 213);
  position: absolute;
  left: -50%;
  top: 15px;
  z-index: -1;
  /*put it behind the numbers*/
}

#progressbar li:first-child:after {
  /*connector not needed before the first step*/
  content: none;
}


/*marking active/completed steps green*/


/*The number of the step and the connector before it = green*/

#progressbar li.active:before,
#progressbar li.active:after {
  background: #0081C6;
  color: white;
}

#progressbar li.complete:before {
  content: "\2714";
  color: #00FF00;
  font-weight: 500;
  padding: 0 10px;
}

#progressbar li.error:before {
  content: "X";
  color: #a94442;
  background-color: #f2dede;
  border: 1px solid #ebccd1;
  padding: 10px;
  padding: 10px;
  font-weight: 500;
  padding: 0 10px;
}


h1 {
  border-bottom: 1px solid #0081C6;
}

legend:before {}

legend {
  display: block;
  width: 100%;
}

a.location_list {
  text-decoration: none;
}

#breadcrumb {
  display: inline-block;
  width: 100%;
}

#breadcrumb #step {
  display: block;
  position: relative;
  width: 209px;
  float: left;
  text-align: center;
  font-weight: 700;
}

#breadcrumb .step_one {
  z-index: 4;
}

#breadcrumb .step_two {
  z-index: 3;
  margin-left: -25px;
}

#breadcrumb .step_three {
  z-index: 2;
  margin-left: -25px;
}

#breadcrumb .step_four {
  z-index: 1;
  margin-left: -25px;
}

#breadcrumb p {
  font-size: 0.8em;
  font-weight: 700;
}

#breadcrumb #step>div {
  padding: 10px 0 10px 10px;
  width: 209px;
  float: left;
  position: relative;
  font-size: 1.2em;
}

#breadcrumb .progress_now {
  background: url('../images/arrow_active.png');
}

#breadcrumb .progress_done {
  background: url('../images/arrow_done.png');
}

#breadcrumb .progress_todo {
  background: url('../images/arrow_todo.png');
}

label.required:after {
  content: "*";
  color: #86251C;
}

.form_actions {
  border-top: 2px dotted #cccccc;
  padding: 5px;
  width: 100%;
}

.form_disclaimer {
  background-color: rgba(255, 255, 205, 0.7);
  border: 1px solid #CCCCCC;
  padding: 4px;
  margin-top: 5px;
  clear: both;
}

.form_disclaimer label {
  font-weight: 500;
  display: block;
}

.form_disclaimer input {
  float: left;
}

.email_optin {
  padding: 4px;
  margin-top: 0px;
  clear: both;
  margin-bottom: 10px;
}

.email_optin label {
  font-weight: 400 !important;
}

.email_optin input {
  float: left;
}

legend {
  background-color: #0081C6;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #FFFFFF;
  padding: 5px 0 5px 5px;
  margin: -30px 0 5px -5px;
  font-weight: 700;
  font-size: 1.2em;
}

#form_dob label {
  font-weight: 700;
}

.pin {
  display: inline-block;
  margin-bottom: 10px;
  float: left;
  width: auto;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid #cccccc;
  padding: 5px;
}

.pin select {
  display: block;
}

#library_id_number {
  background-color: rgba(100, 100, 100, 0.2);
  border-radius: 10px;
  font-size: 2em;
  font-weight: 700;
  font-family: "Source Sans Pro";
  max-width: 500px;
  padding: 5px;
  text-align: center;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

#library_card {
  border: 3px solid rgba(100, 100, 100, 0.2);
  background-color: #fff;
  border-radius: 10px;
  font-size: 2em;
  font-weight: 700;
  font-family: "Source Sans Pro";
  max-width: 450px;
  padding: 5px;
  text-align: center;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

#library_card .sigBox {
  width: 350px;
  height: 60px;
  margin: auto;
}

.caption {
  font-size: 10px;
}

#library_id_barcode {
  background-color: rgba(100, 100, 100, 0.2);
  border-radius: 10px;
  max-width: 500px;
  padding: 5px;
  text-align: center;
  margin: 0 auto;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 10px;
}

#library_id_barcode a {
  color: #164375;
}

.form_actions.catalog {
  border-top: 0;
}

.form_actions.catalog input {
  background-color: #f9b95a;
  border-radius: 10px;
  border: 0;
  padding: 10px;
}

.message {
  position: absolute;
  width: 400px;
  color: red;
  text-align: center;
  left: 450px;
  top: 170px;
  z-index: 10;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border: 1px solid #ebccd1;
  padding: 10px;
  margin-bottom: 1em;
}

.indent-label {
  margin-left: 30px;
  display: block;
}