@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url("https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFVZ0b.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url("https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOUuhp.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main,
article,
figure {
  display: block;
}

input,
button,
select,
optgroup,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

[hidden] {
  display: none;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

html,
body {
  height: 100%;
}

body {
  min-width: 320px;
  position: relative;
  color: #fff;
  background-color: #012855;
  font: 400 16px/1.5 'Open Sans', 'Arial', 'Helvetica', sans-serif;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  border: 0;
  height: auto;
  max-width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  line-height: 1.2;
  font-weight: bold;
  font-family: inherit;
  margin: 0 0 20px;
}

p {
  margin: 0 0 20px;
}

a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #fff;
  background-color: transparent;
  -webkit-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}

a:hover {
  color: #fff;
  border-bottom-color: transparent;
}

a:focus {
  outline: 0;
  border-radius: 2px;
  -webkit-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.login {
  display: table;
  width: 100%;
  height: 100%;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#012855), to(#42a1d8));
  background-image: -o-linear-gradient(top, #012855, #42a1d8);
  background-image: linear-gradient(to bottom, #012855, #42a1d8);
}

.login__inner {
  display: table-cell;
  vertical-align: middle;
  padding: 30px 20px;
}

.login__logo {
  display: block;
  width: 120px;
  height: 120px;
  -o-object-fit: contain;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 30px;
  background: none no-repeat center center;
  background-size: cover;
}

.login__headline {
  font-size: 26px;
  text-align: center;
  margin-bottom: 20px;
}

.login__form {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  font-size: 14px;
}

.login__forgot {
  line-height: 1.3;
  float: right;
}

.login__btn {
  display: block;
  width: 100%;
  border: 1px solid #ffc72c;
  padding: 10px 15px;
  color: #333;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  border-radius: 4px;
  background-color: #ffc72c;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  text-transform: capitalize;
  -webkit-transition: .2s ease-in-out, -webkit-transform .1s ease-in-out;
  transition: .2s ease-in-out, -webkit-transform .1s ease-in-out;
  -o-transition: .2s ease-in-out, transform .1s ease-in-out;
  transition: .2s ease-in-out, transform .1s ease-in-out;
  transition: .2s ease-in-out, transform .1s ease-in-out, -webkit-transform .1s ease-in-out;
}

.login__btn:hover {
  color: #333;
  border-color: #f8b600;
  background-color: #f8b600;
}

.login__btn:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.3);
}

.login__btn:active {
  -webkit-transform: translateY(2px);
  -ms-transform: translateY(2px);
  transform: translateY(2px);
}

.form__row {
  margin-bottom: 20px;
}

.form__field {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-bottom: 1px solid #42a1d8;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  background-color: transparent;
  -webkit-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}

.form__field:focus {
  outline: 0;
  border-bottom-color: #6cb6e1;
}

.form__field::-webkit-input-placeholder {
  color: #7fccf8;
}

.form__field:-ms-input-placeholder {
  color: #7fccf8;
}

.form__field::-ms-input-placeholder {
  color: #7fccf8;
}

.form__field::placeholder {
  color: #7fccf8;
}

.form__label {
  position: relative;
  display: inline-block;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
  transition: background-color 5000s;
  -webkit-text-fill-color: #fff !important;
}

@-webkit-keyframes autofill {
  to {
    color: #fff;
    background-color: transparent;
  }
}

.validation-errors {
  text-align: center;
}

.error-item::before {
  content: 'x';
  color: #f82a5a;
  line-height: 1;
  font-size: 20px;
  font-weight: bold;
  margin-right: 5px;
}

.screen-reader-text {
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  position: absolute;
  left: 0;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.custom-element {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  margin: 0;
}

.custom-checkbox {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 5px;
  width: 14px;
  height: 14px;
  padding: 3px;
  background-color: #00207a;
  border-radius: 2px;
  -webkit-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}

.custom-checkbox::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  opacity: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTIxLjY1MiwzLjIxMWMtMC4yOTMtMC4yOTUtMC43Ny0wLjI5NS0xLjA2MSwwTDkuNDEsMTQuMzQgIGMtMC4yOTMsMC4yOTctMC43NzEsMC4yOTctMS4wNjIsMEwzLjQ0OSw5LjM1MUMzLjMwNCw5LjIwMywzLjExNCw5LjEzLDIuOTIzLDkuMTI5QzIuNzMsOS4xMjgsMi41MzQsOS4yMDEsMi4zODcsOS4zNTEgbC0yLjE2NSwxLjk0NkMwLjA3OCwxMS40NDUsMCwxMS42MywwLDExLjgyM2MwLDAuMTk0LDAuMDc4LDAuMzk3LDAuMjIzLDAuNTQ0bDQuOTQsNS4xODRjMC4yOTIsMC4yOTYsMC43NzEsMC43NzYsMS4wNjIsMS4wNyBsMi4xMjQsMi4xNDFjMC4yOTIsMC4yOTMsMC43NjksMC4yOTMsMS4wNjIsMGwxNC4zNjYtMTQuMzRjMC4yOTMtMC4yOTQsMC4yOTMtMC43NzcsMC0xLjA3MUwyMS42NTIsMy4yMTF6Ii8+PC9zdmc+") no-repeat center center;
  background-size: contain;
  -webkit-transition: opacity .1s ease-in-out;
  -o-transition: opacity .1s ease-in-out;
  transition: opacity .1s ease-in-out;
}

:checked + .custom-checkbox::before {
  opacity: 1;
}

:focus + .custom-checkbox {
  -webkit-box-shadow: 0 0 0 2px rgba(0, 32, 122, 0.3);
  box-shadow: 0 0 0 2px rgba(0, 32, 122, 0.3);
}

@media only screen and (min-width: 481px) {
  .login__logo {
    margin-bottom: 25px;
  }
  .login__headline {
    font-size: 36px;
    margin-bottom: 40px;
  }
}

@media only screen and (min-width: 769px) {
  .login__headline {
    margin-bottom: 80px;
  }
}
