/*
Until we get a build tool setup
https://autoprefixer.github.io/
https://cssminifier.com/
*/

@font-face {
    font-family: 'SimpplrFont';
    src: url('fonts/soehne-buch.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SimpplrFont';
    src: url('fonts/soehne-fett.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

html, body {
  height: 100%;
}

html, body, div, span, applet, object, embed, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, xmp, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, input, button, textarea,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video{
    font: inherit;
    padding: 0;
    border: 0;
    margin: 0;
    outline: 0;
    background: transparent;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
main,
nav,
section,
summary {
  display: block;
}

svg:not(:root) {
  overflow: hidden;
}

button,
input,
select,
textarea {
    vertical-align: baseline;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

body {
  background-color: white;
  background-size: cover;
  box-sizing: border-box;
  font-size: 14px;
	line-height: 20px;
	-ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
 	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

body,
input,
button {
	font-family: "SimpplrFont", Arial, sans-serif;
	color: #333333;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

a:visited {
  color: #FACF49;
}

.type--tertiary {
  color: #666;
}

.Login {
  max-width: 500px;
  margin: auto;
}

.Login-inner {
  padding: 16px 32px 4px;
}

.Login-strip {
  padding: 0 32px 32px;
  text-align: right;
}

.Login-hidden {
  display: none;
}

.Login-fieldContainer {
  margin-bottom: 16px;
}

.Login-header {
  padding: 32px 32px 0;
}

.Login-header h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.Login-header p {
  color: rgb(91,91,91);
  font-weight: 300;
}

.Login-footer {
  text-align: center;
  margin-top: 5px;
}

.Login-footer-item {
  display: inline-block;
  margin-right: 5px;
}

.Login-footer-item:last-child {
  margin-right: 0;
}

.Field {
  background: white;
  font-size: 0;
  min-height: 48px;
  position: relative;
}

.Field--hasIcon input {
  padding-right: 40px;
}

.Field-input {
  font-size: 14px;
  height: 48px;
  padding: 16px;
  text-indent: 0;
  transition: 0.2s;
  width: 100%;
  border: 1px solid #CCCCCC;
  border-radius: 2px;
}

/* Hide IE x icon on inputs */
input::-ms-clear {
    display: none;
}

.Field-icon {
  position: absolute;
  top: 39px;
  right: 14px;
  fill: #666;
}

.Field-input:focus {
  border-color: #FACF49;
}

.Field.has-error .Field-input {
  border-color: #c81424 !important;
}

.Field-label {
  color: #333333;
  font-size: 14px;
  margin-bottom: 5px;
  display: inline-block;
}

.Field-error {
  color: #c81424;
  font-size: 14px;
  position: relative;
  top: 4px;
}

.Button {
  background: #FACF49;
  border: 1px solid rgba(0,0,0, 0.15);
  border-radius: 4px;
  color: #333333;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
  padding: 10px 25px;
  text-align: center;
  transition: 0.2s fill, 0.2s color, 0.2s border-color;
  width: 100%;
  z-index: 1;
}

.Button.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.Button.is-loading .Icon {
  opacity: 0;
}

.Button-loader {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  margin-left: -8px;
  margin-top: -8px;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: white;
}

.Button.is-loading .Button-loader {
  animation: 1s loading infinite linear;
  opacity: 1;
}


@keyframes loading {
  0% {
    transform: none;
  }
  100% {
    transform: rotate(360deg);
  }
}

.u-hidden {
  display: none !important;
}

.Button--fauxLink {
  color: #FACF49;
  padding: 6px 0;
  cursor: pointer;
  text-decoration: underline;
}

.Flash {
  background: #FACF49;
  color: #333333;
  border-radius: 0;
  color: #ffffff;
  left: 0;
  min-height: 32px;
  padding: 6px 48px;
  position: fixed;
  text-align: center;
  width: 100%;
}

.PrivacyLinks {
  text-align: center;
}

.PrivacyLinks a {
  color: inherit;
  opacity: 0.7;
}


@media (min-width: 430px) and (min-height: 450px) {
  body {
    background-color: #F6F6F6;
  }

  .Login {
    background: white;
    width: 450px;
    border: 1px solid #D9D9D9;
    border-radius: 2px;
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.05);
  }

  .u-pos-centred {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .PrivacyLinks {
    position: absolute;
    width: 100%;
    bottom: 10px;
  }

  .Button {
    width: auto;
  }
}
