body,
html {
  padding: 0;
  margin: 0;
}
html {
  font: 16px/1.5 Verdana,Helvetica,Arial,sans-serif
}
body {
  background: #dedede;
}
blockquote {
  background: white;
  box-shadow: 0px 2px 5px lightgray;
  padding: 1em;
  margin: 1em;
}
blockquote *:first-child {
  margin-top: 0px;
}
blockquote.legal-text {
  font-size: .95em;
}
blockquote.legal-text h4 {
  text-align: center;
}
blockquote.legal-text h4,
blockquote.legal-text h5 {
  margin-bottom: .5em;
}
blockquote.legal-text h5 {
  margin-top: 1em;
}
label {
  font-size: 1rem;
}

.widget-required .widget-label::after {
  content: "*";
  padding-left: .1em;
  color: red;
}

#wrapper {
  width: 1000px;
  max-width: 90%;
  margin: 1em auto;
  box-shadow: 3px 3px 5px #ccc;
}

#header {
  background: white;
  text-align: center;
  border-bottom: 1px solid lightgray;
}
#header #logo {
  display: inline-block;
  margin: 0 auto;
  max-width: 70%;
  padding: 1em;
}
#header #logo img {
  max-height: 100px;
  max-width: 100%;
}
#header #title {
  font-weight: normal;
  margin-top: .25em;
  margin-bottom: .25em;
}

#main-content {
  background: white;
  padding: 1em 2em;
}
#main-content > *:first-child {
  margin-top: 0px;
}

#main-content form input[type="submit"],
#main-content form input[type="button"] {
  width: 15em;
  max-width: 50%;
  font-size: 1.5em;
}
#member-info-wrapper label {
  display: inline-block;
  width: 10em;
  text-align: right;
}
#member-info-wrapper .widget:not(.widget-compound) {
  padding: .2em;
}
#candidate-responses dt {
  padding-top: 1em;
  padding-bottom: 0.5em;
}
#candidate-responses dd {
  padding-bottom: 1em;
  margin-left: 0.5em;
}

#validate-error {
  background: #ffaaaa;
  border: 1px solid #aa4444;
  padding: 1em;
}
#validate-error h2,
#validate-error p {
  margin:0;
}

#kiosk-interface-wrapper {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
}
#kiosk-interface-wrapper iframe {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
}
#kiosk-bar {
  background: white;
  border-top: .3em solid #0066b3;
  height: 4em;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
#kiosk-bar #logo {
  display: inline-block;
  margin: 0 auto;
  max-width: 70%;
  padding: .5em;
}
#kiosk-bar #logo img {
  max-height: 3em;
  max-width: 100%;
}

#kiosk-bar #kiosk-reset-button-wrapper {
  float: right;
  position: absolute;
  right: .5em;
  bottom: .5em;
}
#kiosk-bar #kiosk-reset-button-wrapper #reset-message,
#kiosk-bar #kiosk-reset-button-wrapper a {
  display: inline-block;
  padding: .5em .5em;
}
#kiosk-bar #kiosk-reset-button-wrapper a {
  padding: 0;
  overflow: hidden;
  border-width: 0;
  outline: none;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  background-color: #0066b3;
  color: white;
  transition: background-color .3s;
  padding: .5em .5em;
  width: 20%;
  height: 2em;
  vertical-align: middle;
  min-width: 12em;
  max-width: 95%;
  text-align: center;
  text-decoration: none;
}

.back-to-top {
  clear:both;
  float: right;
}

input[type="submit"],
input[type="button"],
.button {
  position: relative;

  display: block;
  margin: 30px auto;
  padding: 0;

  overflow: hidden;

  border-width: 0;
  outline: none;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);

  background-color: #0066b3;
  color: white;

  transition: background-color .3s;
  padding: 12px 24px;
}

input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus,
.button:hover,
.button:focus {
  background-color: #003380;
}

.button > * {
  position: relative;
}

.button span {
  display: block;
}
input[type="submit"]:before,
input[type="button"]:before,
.button:before
.button:before {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  display: block;
  width: 0;
  padding-top: 0;

  border-radius: 100%;

  background-color: rgba(236, 240, 241, .3);

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
input[type="submit"]:active:before,
input[type="button"]:active:before,
.button:active:before {
  width: 120%;
  padding-top: 120%;

  transition: width .2s ease-out, padding-top .2s ease-out;
}
