/* Colours
   ======================== */
.button-shadow {
  -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
}
.text-shadow {
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
}
/* Mixins
   ======================== */
/* Fonts and Sizes
   ======================== */
/* Sign In page
   ======================== */
body {
  overflow-x: hidden;
}
.sign-in-header {
  position: relative;
  padding: 3rem 0;
}
.sign-in-header h1 {
  padding: 2rem 0;
}
.sign-in-header .sign-in-header-angle {
  position: absolute;
  width: 120%;
  height: 30rem;
  background-color: #e0e0e0;
  right: 20%;
  bottom: 0;
  border-radius: 0 0 3rem 0;
  transform: rotate(-15deg);
  transform-origin: 20% bottom;
  z-index: -1;
}
.sign-in-header .sign-in-header-angle:before {
  content: '';
  display: block;
  width: 50vw;
  height: 40rem;
  background-color: #e0e0e0;
  position: absolute;
  right: 100%;
  bottom: 0;
}
.sign-in-image-angle {
  position: absolute;
  width: 66vw;
  height: 95vh;
  left: 0;
  top: 0;
  border-radius: 6rem;
  transform: rotate(-15deg);
  transform-origin: left top;
  overflow: hidden;
}
.sign-in-image-angle:before {
  content: '';
  display: block;
  position: absolute;
  left: 0%;
  top: -3%;
  width: 100%;
  height: 100%;
  background-image: url(../images/panels/sign-in-20.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: rotate(15deg);
  transform-origin: left top;
}
#sign-in-container {
  display: inline-block;
  float: right;
  position: relative;
  box-sizing: border-box;
}
#sign-in-container #sign-in-action {
  margin: 0;
  opacity: 1;
}
#sign-in-container #sign-in-busy {
  pointer-events: none;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 4px;
}
#sign-in-container #busy-transition {
  pointer-events: none;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: rgba(220, 220, 220, 0.5);
}
#sign-in-container #busy-transition::before {
  content: "";
  display: inline-block;
  border: 3px solid black;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-sizing: border-box;
}
#sign-in-container.submitted #sign-in-action {
  opacity: 0;
  transition: opacity linear 0.1s;
  pointer-events: none;
}
#sign-in-container.submitted #sign-in-busy {
  transition: opacity linear 0.1s;
  transition-delay: 0.3s;
  opacity: 1;
}
#sign-in-container.submitted #busy-transition {
  opacity: 1;
  transition: opacity linear 0.1s;
}
#sign-in-container.submitted #busy-transition::before {
  animation: transitionToThrobber 0.4s forwards;
  animation-timing-function: linear;
}
@keyframes transitionToThrobber {
  0% {
    border-width: 0;
  }
  25% {
    border-width: 3px;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  50% {
    border-radius: 1em;
  }
  75% {
    width: 2em;
    height: 2em;
    border-radius: 1em;
    margin-top: 4px;
    opacity: 1;
  }
  100% {
    width: 2em;
    height: 2em;
    border-radius: 1em;
    margin-top: 4px;
    opacity: 0;
  }
}
