html, body {
  min-width: 320px;
  width: 100%;
  height: 100%;
}

* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.selectable, .selectable *, button, input, optgroup, select, textarea {
  -webkit-user-select: text;
     -moz-user-select: text;
      -ms-user-select: text;
          user-select: text;
  font-family: 'Ubuntu', sans-serif;
}

a {
  color: #003d73;
  text-decoration: underline;
  cursor: pointer;
}

a:active {
  color: #c81417;
}



/************** BODY STATES ***************/

body:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  z-index: 99998;
  -webkit-transition-property: background;
  -o-transition-property: background;
  transition-property: background;
  -webkit-transition-duration: 200ms;
       -o-transition-duration: 200ms;
          transition-duration: 200ms;
  -webkit-transition-timing-function: ease-in-out;
       -o-transition-timing-function: ease-in-out;
          transition-timing-function: ease-in-out;
  -webkit-transition-delay: 0ms;
       -o-transition-delay: 0ms;
          transition-delay: 0ms;
  background: rgba(0,0,0,0);
}

body:after {
  content: "";
  color: #F08400;
  margin: 0 auto;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 99999;
  text-indent: -9999em;
  -webkit-transform: translate3d(-50%, -50%, 0);
          transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  font-size: 0;
  width: 0;
  height: 0;
  -webkit-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
  -webkit-transition-duration: 200ms;
       -o-transition-duration: 200ms;
          transition-duration: 200ms;
  -webkit-transition-timing-function: ease-in-out;
       -o-transition-timing-function: ease-in-out;
          transition-timing-function: ease-in-out;
  -webkit-transition-delay: 0ms;
       -o-transition-delay: 0ms;
          transition-delay: 0ms;
}

body.loading:before {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.75);
  -webkit-transition-delay: 500ms;
       -o-transition-delay: 500ms;
          transition-delay: 500ms;
}

body.loading:after {
  opacity: 1;
  font-size: 1.2em;
  width: 1em;
  height: 1em;
  -webkit-animation: spinner 1.3s infinite linear;
          animation: spinner 1.3s infinite linear;
  -webkit-transition-delay: 750ms;
       -o-transition-delay: 750ms;
          transition-delay: 750ms;
}

/* loading spinner animation */
@-webkit-keyframes spinner {
  0%,
  100% {-webkit-box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0; }
  12.5% {-webkit-box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; }
  25% {-webkit-box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; }
  37.5% {-webkit-box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em; }
  50% {-webkit-box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em; }
  62.5% {-webkit-box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em; }
  75% {-webkit-box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0; }
  87.5% {-webkit-box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em; }
}
@keyframes spinner {
  0%,
  100% {-webkit-box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0; }
  12.5% {-webkit-box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; }
  25% {-webkit-box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; }
  37.5% {-webkit-box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em; }
  50% {-webkit-box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em; }
  62.5% {-webkit-box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em; }
  75% {-webkit-box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0; }
  87.5% {-webkit-box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em; }
}



/************** END BODY STATES ***************/



/************** BUTTONS ***************/

.button,
button,
.button.button_primary,
button.button_primary {
  background: #F08400;
  color: #FFF;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  font-size: 1.6em;
  height: 1.6em;
  font-family: 'BPU', 'Ubuntu', sans-serif;
  letter-spacing: 0.05em;
  line-height: 2.5em;
  height: 2.5em;
  padding: 0 1.25em;
  border-radius: 0.625em;
  border: 0;
  -webkit-appearance: none;
  -webkit-transition: 100ms all ease-out;
  -o-transition: 100ms all ease-out;
  transition: 100ms all ease-out;
  -webkit-box-shadow: inset 0 0 0 rgba(0,0,0,0);
          box-shadow: inset 0 0 0 rgba(0,0,0,0);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  vertical-align: middle;
  white-space: nowrap;
}

.button.button_secondary,
button.button_secondary {
  background-color: #666;
}

.button:focus,
button:focus {
  outline: none;
  -webkit-box-shadow: inset 0 0.1875em 0.3125em rgba(0,0,0,0.125);
          box-shadow: inset 0 0.1875em 0.3125em rgba(0,0,0,0.125);
}

.button:active,
button:active {
  -webkit-box-shadow: inset 0 0.1875em 0.3125em rgba(0,0,0,0.125);
          box-shadow: inset 0 0.1875em 0.3125em rgba(0,0,0,0.125);
  -webkit-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
  color: rgba(255,255,255,.85);
}

button:disabled,
.button[disabled],
button:disabled:active,
.button[disabled]:active,
button:disabled:focus,
.button[disabled]:focus {
  color: #A0B1B9;
  background-color: #DCE4EA;
}

.button:active,
button:active,
.button.button_primary:active,
button.button_primary:active {
  background-color: #c81417;
}

.button.button_secondary:active,
button.button_secondary:active {
  background-color: #444;
}

.button.button_small {
  border-radius: 100%;
  font-size: 1.4em;
  text-transform: none;
}

.button.button_small,
.form_element button {
  font-size: 1.4em;
  height: 2.2857em;
  display: inline-block;
  text-transform: none;
  font-weight: normal;
  border-radius: 3em;
  letter-spacing: initial;
  line-height: 2.2857em;
}


/************** END BUTTONS /**************



/************** LAYOUT, NAVIGATION *******************/


#container {
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  margin: auto;
}

/*@media (max-height: 500px) {*/
@media (min-device-aspect-ratio: 1/1) and (max-device-height: 640px){

  #container > * {
    display: none !important;
  }

  #container:before {
    content: "Ruota lo schermo per continuare";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    display: flex;
    font-size: 2em;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: #666;
  }

}



#header {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 8em;
          flex: 0 0 8em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #FFF;
  border-bottom: 1px solid #F4F8FB;
  overflow-x: hidden;
  position: relative;
}

body[data-env="mock"] #header:after,
body[data-env="svil"] #header:after{
  content: "";
  display: block;
  position: absolute;
  top: 2em;
  right: -2em;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  height: 1.5em;
  line-height: 1em;
  text-align: center;
  color: #FFF;
  background: #c81417;
  white-space: nowrap;
  padding: 0.25em 3em;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transform-origin: center;
      -ms-transform-origin: center;
          transform-origin: center;
  font-weight: bold;
  font-size: 1.2em;
}

body[data-env="mock"] #header:after {
  content: "MOCK";
  background: #FF9900;
}
body[data-env="svil"] #header:after {
  content: "INTEGR";
  background: #FFCC00;
}


#branding {
  display: block;
  height: 3.1em;
  background-image: url(../img/logo.png);
  background-position: calc(50% + 0.35em) center; /* optical centering */
  background-repeat: no-repeat;
  background-size: contain;
}

#branding h1 {
  display: none;
}


#views_container {
  position: relative;
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
}


.view {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  width: 100%;
  min-height: 100%;
  max-height: 100%;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  overflow: hidden;
  -webkit-transition: 1s all cubic-bezier(0.65, 0.01, 0.45, 1);
  -o-transition: 1s all cubic-bezier(0.65, 0.01, 0.45, 1);
  transition: 1s all cubic-bezier(0.65, 0.01, 0.45, 1);
  z-index: 10;
  background: #FFF;
}
.view.past {

}
.view.hidden {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  -webkit-transform: translateX(200%);
      -ms-transform: translateX(200%);
          transform: translateX(200%);
  opacity: 0;
}

.view.hidden * {
  pointer-events:none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.view.hidden.past {
  -webkit-transform: translateX(-200%);
      -ms-transform: translateX(-200%);
          transform: translateX(-200%);
}
.view.past:not(.hidden) ~ .view.past.hidden {
  -webkit-transform: translateX(200%);
      -ms-transform: translateX(200%);
          transform: translateX(200%);
}


.view > .content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  width: 100%;
  max-width: 48em; margin: auto;
  min-height: 100%;
  max-height: 100%;
  padding: 1em 1em 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  color: #333;
  opacity: 1;
  -webkit-transition: 250ms all ease-in-out 0s;
  -o-transition: 250ms all ease-in-out 0s;
  transition: 250ms all ease-in-out 0s;
}


.view > .content.centered_horizontally {
  text-align: center;
  margin: auto;
}

.view > .content.centered_vertically {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}


.view > .content.scrollable {
  min-height: 32em;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.view > .content.scrollable > *:last-child {
  margin-bottom: 0;
}

.view.hidden > .content.scrollable {
  overflow: hidden;
}

.view .buttons button {
  display: block;
  margin: 1em auto;
  min-width: 10em;
}


.view .content h4 {
  max-width: 20em;
  margin: auto;
  text-align: center;
}

/************** END LAYOUT, NAVIGATION *****************/





/************** STEPPER **************/

#stepper {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 5em;
  margin: 0 auto 1em;
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-transition-property: max-height, opacity, -webkit-transform;
  transition-property: max-height, opacity, -webkit-transform;
  -o-transition-property: transform, max-height, opacity;
  transition-property: transform, max-height, opacity;
  transition-property: transform, max-height, opacity, -webkit-transform;
  -webkit-transition-duration: 1s, 0ms, 0ms;
       -o-transition-duration: 1s, 0ms, 0ms;
          transition-duration: 1s, 0ms, 0ms;
  -webkit-transition-delay: 0s, 500ms, 500ms;
       -o-transition-delay: 0s, 500ms, 500ms;
          transition-delay: 0s, 500ms, 500ms;
  -webkit-transition-timing-function: cubic-bezier(0.65, 0.01, 0.45, 1), ease-in-out, ease-out;
       -o-transition-timing-function: cubic-bezier(0.65, 0.01, 0.45, 1), ease-in-out, ease-out;
          transition-timing-function: cubic-bezier(0.65, 0.01, 0.45, 1), ease-in-out, ease-out;
  overflow: hidden;
  max-height: 5em;
  -webkit-transform: translateX(0%);
      -ms-transform: translateX(0%);
          transform: translateX(0%);
  opacity: 1;
}
#stepper.hidden {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 0;
  max-height: 0;
  -webkit-transform: translateX(200%);
      -ms-transform: translateX(200%);
          transform: translateX(200%);

}
#stepper.hidden.past {
  -webkit-transform: translateX(-200%);
      -ms-transform: translateX(-200%);
          transform: translateX(-200%);
}

#stepper > li {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 5em;
          flex: 1 0 5em;
  text-align: center;
  position: relative;
  font-size: 1.2em;
  line-height: 1.2em;
  color: #CCC;
}

#stepper > li:before {
  content :"";
  width: 1em;
  height: 1em;
  border-radius: 100%;
  background: #CCC;
  display: block;
  margin: 1.25em auto .5em;
  position: relative;
  z-index: 10;
  -webkit-transition: 150ms all ease-out;
  -o-transition: 150ms all ease-out;
  transition: 150ms all ease-out;
}

#stepper > li:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  top: 1.75em;
  left: -50%;
  background: #CCC;
  -webkit-transition: 250ms all ease-out;
  -o-transition: 250ms all ease-out;
  transition: 250ms all ease-out;
}
#stepper > li:first-child:after {
  display: none;
}


#stepper > li.active {
  color: #004775;
}
#stepper > li.active:before,
#stepper > li + li.active:after {
  background: #004775;
}


/************** END STEPPER **************/



/************** Paragraphs, titles.. ***************/

/* see upcash_typography.css */


p.info_privacy_text {
  margin-top: 0.5em;
}

p.with-image .inline-svg,
p.with-image .inline-text {
  display: inline-block;
  vertical-align: middle;
}

p.with-image .inline-svg + .inline-text {
  margin-left: 0.5em;
}

/************** END Paragraphs ***************/








/************** FORM ELEMENTS **************/

.form_element {
  display: block;
  position: relative;
  margin-bottom: 1em;
}

/* inputs */

.form_element input {
  border: 1px solid #CCC;
  font-size: 1.4em;
  line-height: 1em;
  padding: 0.5em 0.7em;
  border-radius: 0.43em;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #333;
  -webkit-transition: 200ms all ease-out;
  -o-transition: 200ms all ease-out;
  transition: 200ms all ease-out;
}

.form_element.form_element--error input {
  outline: none;
  color: #FF0000;
  border-color: #FF0000;
  -webkit-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

label.form_element.form_element--focus input,
label.form_element input:focus {
  outline: none;
  color: #333;
  border-color: #004775;
  -webkit-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

.form_element.form_element--disabled input,
.form_element input:disabled {
  color: #A0B1B9;
  background-color: #EEF3F8;
  border-color: #DCE4EA;
}

/* checkboxes */

.form_element input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  top: 0;
  left: 0;
  -webkit-tap-highlight-color: transparent;
}

.form_element input[type="checkbox"] + .label_text {
  display: inline-block;
  font-size: 1.6em;
  line-height: 1.3em;
  height: 1.3em;
  margin-bottom: 0;
  padding-left: 2em;
  color: #333;
  cursor: pointer;
}

.form_element input[type="checkbox"] + .label_text:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.2em;
  height: 1.2em;
  border-radius: 0.2em;
  border: 1px solid #CCC;
  -webkit-transition: 200ms border-color ease-out;
  -o-transition: 200ms border-color ease-out;
  transition: 200ms border-color ease-out;
}

.form_element input[type="checkbox"]:focus ~ .label_text:before {
  border-color: #004775;
}

.form_element input[type="checkbox"]:checked ~ .label_text:after {
  position: absolute;
  left: 0.18em;
  top: 0.22em;
  content: "";
  display: inline-block;
  height: 0.35em;
  width: 0.75em;
  border-left: 0.2em solid #2cc000;
  border-bottom: 0.2em solid #2cc000;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}


/* labels */

.label_text {
  display: block;
  text-align: left;
  font-size: 1.6em;
  line-height: 1.125em;
  color: #797d7f;
  margin: 0 0 0.3125em;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.form_element.form_element--focus .label_text {
  color: #004C8A;
}
.form_element.form_element--disabled .label_text {
  color: #A0B1B9;
}
label.form_element.form_element--error .label_text  {
  color: #FF0000;
}
.form_element.form_element--error .label_text:after {
  display: inline-block;
  content: "!";
  width: 1em;
  height: 1em;
  text-align: center;
  line-height: 1em;
  color: #fff;
  background-color: #FF0000;
  border-radius: 50%;
  margin-left: 0.25em;
  font-weight: 900;
}



/* inline layout */

.form_element .flex_wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.form_element .flex_wrapper > * {
  margin-left: 0.5em;
  margin-right: 0.5em;
}

.form_element .flex_wrapper > *:first-child {
  flex: 1;
  margin-left: 0;
}

.form_element .flex_wrapper > *:last-child {
  margin-right: 0;
}



/************* END FORM ELEMENTS ***************/


/************* PAYMENTS LIST ***************/

.payments_list {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.payments_list > li {
  margin: 0 0 1em;
}

.payments_list_item label {
  font-size: 1.6em;
  line-height: 1.25em;
  white-space: initial;
  position: relative;
  padding: 0 0 0 2.5em;
  margin: 1.5em 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  display: block;
}

.payments_list_item input[type=radio] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  top: 0;
  left: 0;
  -webkit-tap-highlight-color: transparent;
}

.payments_list_item label:before,
.payments_list_item label:after {
  content: "";
  position: absolute;
  border-radius: 100%;
  background: transparent;
  -webkit-transition: 150ms all ease-out;
  -o-transition: 150ms all ease-out;
  transition: 150ms all ease-out;
}

.payments_list_item label:before {
  top: 0.75em;
  left: 0.375em;
  width: 1em;
  height: 1em;
  border: 1px solid #999;
}

.payments_list_item label:after {
  top: 1em;
  left: 0.65em;
  width: 0.6em;
  height: 0.6em;
}

.payments_list_item input:checked + label:after {
  -webkit-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
  background: #004775;
}

.payments_list_item input:focus + label:before {
  border-color: #004775;
}

.payments_list_item_row {
  display: block;
}

.payments_list_item_row:nth-child(1){
  font-weight: bold;
}
.payments_list_item_row:nth-child(2){
  color: #999;
  font-size: 0.9em;
}



/************* END PAYMENT LIST ***************/



/************* REVIEW TABLE ***************/

.review_table dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #a0b1b9;
}
.review_table dl:last-child {
  border-bottom: 0;
}

.review_table dt,
.review_table dd {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 1.4em;
  margin: 0;
  display: block;
  line-height: 1.3em;
  padding: 0.45em 0;
  margin: 0;
  min-width: 5em;
}

.review_table dt {
  color: #607d8b;
}

.review_table dd {
  text-align: right;
  -webkit-box-flex: 2;
      -ms-flex-positive: 2;
          flex-grow: 2;
}

.review_table dd.positive.amount {
  color: #2cc000;
}

.review_table dd.negative.amount {
  color: #cc2c00;
}

/************* END REVIEW TABLE ***************/




/************* SVG IMAGES **********/

.svg_image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
  color: #004775;
}

.svg_image svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.svg_image.svg_image--large {
  width: 14em;
  height: 14em;
}
.svg_image.svg_image--large.svg_image--doubleBorder {
  width: 10em;
  height: 10em;
}
.svg_image.svg_image--large:before {
  padding-bottom: 100%;
}

.content.centered_horizontally .svg_image.svg_image--large {
  margin: 2em auto 3em;
}

.svg_image.svg_image--circled {
  border-radius: 100%;
  padding: 2%;
}

.svg_image.svg_image--circled.svg_image--success {
  background: #2cc000;
  color: #FFF;
}
.svg_image.svg_image--circled.svg_image--success.svg_image--doubleBorder {
  -webkit-box-shadow: 0 0 0 0.25em #FFF, 0 0 0 0.5em #2cc000;
          box-shadow: 0 0 0 0.25em #FFF, 0 0 0 0.5em #2cc000;
}

.svg_image.svg_image--circled.svg_image--error {
  background: #FF3D00;
  color: #FFF;
}
.svg_image.svg_image--circled.svg_image--error.svg_image--doubleBorder {
  -webkit-box-shadow: 0 0 0 0.25em #FFF, 0 0 0 0.5em #FF3D00;
          box-shadow: 0 0 0 0.25em #FFF, 0 0 0 0.5em #FF3D00;
}

/************* END SVG IMAGES **********/