/* http://chir.ag/projects/name-that-color */

:root {
  box-sizing: border-box;
}

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

/* https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */

body {
  background-color: #f8f9fa;
  font-size: 0.875rem;
}

.login-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 80vh;
  background-color: white;
  overflow: visible;

  /* width: 90vw; */

  max-width: 100vw;
  padding: 5px;
}
.login-container form {
  z-index: 1000;
}
.login-container img {
  z-index: 1;
}

.svg_container {
  background-color: white;
  display: flex;
  justify-content: space-between;
  margin-top: -300px;
  padding-bottom: 60px;
}

.svg_container .img_right {
  width: 350px;
}

.svg_container .img_left {
  width: 350px;
}

input {
  border: 0;
  color: inherit;
  font: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  width: 100%;
}

.form.login {
  max-width: 35em;
  width: 80%;
}

.login .label.label--icon {
  background-color: #eee;
}

.form__input-wrapper {
  width: 100%;
  position: relative;
}

.login input[type="password"],
.login input[type="text"] {
  border-bottom: 2px solid #ddf1fa;
  position: relative;
}

.login input[type="password"]:focus + .underline-wrapper > .underline,
.login input[type="text"]:focus + .underline-wrapper > .underline {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.underline-wrapper {
  position: relative;
}

.underline {
  background-color: #9fd8f1;
  display: inline-block;
  height: 2px;
  margin-top: -2px;
  position: absolute;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  transition: all 0.2s linear;
  width: 100%;
}

.login input[type="submit"] {
  background-color: #ddf1fa;
  color: #2c3338;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.login input[type="submit"]:focus,
.login input[type="submit"]:hover {
  background-color: #9fd8f1;
  color: #eee;
}

.form__field,
.forgot-password {
  margin: 0.875rem;
}

.cartoon-container {
  width: 30em;
  margin-bottom: -1em;
}

@media only screen and (min-width: 960px) {
  body {
    background-color: white;
  }

  .overlay {
    height: 120vh;
    width: 95vw;
    /* max-height: 100vh; */
    max-width: 95vw;

    -webkit-clip-path: polygon(10% 0%, 70% 0%, 90% 100%, 30% 100%);

    clip-path: polygon(10% 0%, 70% 0%, 90% 100%, 30% 100%);
    z-index: -100;
    background-color: #f8f9fa;
    top: 0;
    position: absolute;
    display: inline-block;
    overflow: hidden;
  }

  .form__field--submit {
    width: 50%;
  }

  .forgot-password {
    width: 100%;
    text-align: right;
  }
}

@media (min-width: 1200px) {
  /* .login-container	{
		min-height: 100vh;
	} */
}
@media (max-width: 575.98px) {
  .cartoon-container {
    width: 35em;
    margin-bottom: 2.5em;
  }
}

@media (max-width: 992px) {
  .svg_container {
    margin-top: 0px;
    padding-bottom: 10px;
  }
  .img_left {
    display: none;
  }
}

#imgrunner {
  display: none;
  margin-left: 2%;
  transition: all 1.5s;
  -wenkit-transition: all 1.5s;
  -moz-transition: all 1.5s;
  -o-transition: all 1.5s;
  -ms-transition: all 1.5s;
  transition-timing-function: ease-out;
}

#runnererror {
  display: none;
}
