* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #333333;
  font-feature-settings: "kern", "liga", "pnum";
  -webkit-font-smoothing: antialiased;
}

.background {
  position: absolute;
  left: 0;
  right: 0;
}

.background.top {
  top: 0;
  bottom: 50%;
  left: 0;
  right: 0;
  background: #949fa7;
  min-height: 333px;
  z-index: 0;
}

.background.bottom {
  top: 50%;
  bottom: 0px;
  background: url(../img/login_bg.jpg) no-repeat center center;
  background-size: cover;
  z-index: -1;
}

#logo {
  position: absolute;
  left: 40px;
  top: 40px;
  background: url(../img/login_logo.svg) no-repeat left top;
  background-size: 100% auto;
  width: 35%;
  max-width: 225px;
  height: 28px;
}

#partnerLogoContainer {
  display: none;
  position: absolute;
  left: 40px;
  top: 90px;
  color: white;
}

.partner-info{
  display: inline-block;
  font-size: 20px;
  line-height: 1em;
}

.partner-logo{
  transform: translateY(25%);
  margin-left: 10px;
  height: 28px;
}

.site-info {
  position: absolute;
  right: 40px;
  top: 40px;
  color: white;
  font-weight: 300;
  text-align: right;
}

.site-info p {
  margin: 0;
  line-height: 1.8em;
  font-size: 28px;
  font-weight: 300;
}

.site-info p.header {
  font-size: 43px;
  line-height: 1em;
}

.site-info p.small {
  font-size: 20px;
  line-height: 1em;
}

.container {
  position: absolute;
  top: 25%;
  width: 100%;
}

.container .row {
  position: relative;
  margin: 0 auto;
  width: 1080px;
  max-width: 100%;
}

.loader{
  width: 300px;
  height: 100%;
  position: absolute;
  background-color: rgba(200, 200, 200, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-error{
  color: red;
  text-align: center;
}

.margin-top{
  margin-top: 5px;
}

.success-message{
  display: none;
  margin: 3em auto;
  text-align: center;
  width: 200px;
  font-size: large;
}

#form {
  box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
  position: relative;
  width: 300px;
  min-height: 320px;
  border-radius: 3px;
  background: white;
  padding: 25px;
}

#form h2 {
  height: 20px;
  padding: 0;
  margin: 0 0 25px;
  font-size: 20px;
  line-height: 20px;
  font-weight: 500;
}

#form .input {
  position: relative;
  margin: 0 0 10px;
}

#form .input label {
  font-size: 13px;
  font-weight: 400;
  line-height: 1em;
  color: #222222;
  margin-bottom: 5px;
}

#form input {
  background-color: white;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 3px;
  box-shadow: none;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 1em;
  margin-bottom: 0.75em;
  padding: 5px 2px;
  transition: border-color;
  width: 100%;
}

#form .button-container {
  text-align: right;
}

#form button {
  display: inline-block;
  font-weight: 500;
  height: 36px;
  line-height: 36px;
  padding: 0 20px;
  border-radius: 3px;
  background: #e6c41b;
  color: #222222;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  vertical-align: middle;
  white-space: nowrap;
  -webkit-appearance: none;
  border: none;
  text-decoration: none;
  forn-weight: 500;
}

#form .info {
  color: #5b5a5b;
  font-size: 12px;
  font-weight: 400;
  margin-top: 15px;
  line-height: 1.7;
}

#form .info a {
  color: inherit;
  text-decoration: none;
}

.copyright {
  color: #fff;
  text-align: center;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1090px) {
  #form {
    margin: 0 auto;
  }
}

@media (max-width: 660px) {
  .site-info p {
    font-size: 20px;
  }

  .site-info p.small {
    font-size: 14px;
  }
}

@media (max-width: 485px) {
  #logo {
    left: 15px;
    top: 15px;
  }

  .container {
    top: 30%;
  }

  .copyright {
    width: 100%;
  }

  .site-info {
    top: 65px;
    right: 0;
    left: 0;
    text-align: center;
    padding: 0 5px;
  }

  .site-info p {
    font-size: 20px;
    line-height: 1.2;
    margin: 10px 0;
  }

  .site-info p.small {
    font-size: 14px;
  }
}

@media (max-width: 450px) {
  .site-info p.header {
    font-size: 30px;
  }

  .site-info p {
    font-size: 16px;
  }

  .site-info p.small {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .container {
    top: 35%;
  }
}

@media (max-width: 320px) {
  .site-info {
    top: 55px;
  }
}

@media (max-width: 300px) {
  #form {
    width: 100%;
  }
}

#form .inline{
  width: auto;
}

.right{
  text-align: right;
  padding: 0px 5px;
}

.checkbox{
  transform: translateY(3px);
}
