body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#form{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

#login-text{
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 12pt;
  font-weight: bold;
  color: black;
}

.mail-field{
  margin-top: 20px;
}

label{
  width: 100%; 
}

label span{
  display: inline-block;
  width: 120px;
}

input[type="text"]{
  width: 100%;
  height: 35px; 
  padding-left: 15px;
  box-sizing: border-box;
  border: 1px solid lightgray; 
  outline-color: lightslategray;
  margin-top: 5px;
}

#captcha-image{  
  margin-top: 25px;
}

.captcha-text{
  width: 100%;  
}



#send-button{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  margin-top: 15px;
}

.disabled-button{
  cursor: not-allowed;  
  background: gray;
}

.contract-field-container a{
  color: black;
  font-weight: bold;
  text-decoration: none;
}


.error-field{
  display: none;
  width: 300px;
  height: 35px;
  line-height: 35px;
  color: darkred;
  padding-left: 30px;
  background: url(../../icons/round-error-symbol.png) 5px center / 18px no-repeat;
}

a{
  color: black;
  transition: color 0.3s;
}

a:hover{
  color: gray;
}


@media only screen and (min-width: 600px) { 
  #login-text{
    display: none;
  }  

  input[type="text"]{
    width: 300px;
  }
  
  #captcha-image{ 
    margin-left: 120px;
  }

  .captcha-text{
    padding-left: 120px;
  }

  #captcha-field{
    margin-left: 120px;
  }

  #send-button{  
    width: 300px;
    margin-left: 120px;
  }

  .error-field{
    margin-left: 130px;
  }

}



 
 
.lds-ellipsis { 
  position: relative;
  width: 80px;
  height: 40px;
}
.lds-ellipsis div {
  position: absolute;
  top: 5px;
  width: 13px;  
  height: 13px;
  border-radius: 50%;
  background: white;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}



@keyframes scaleAnimation {
  0% {
    opacity: 0;
    transform: scale(1.5);
 }
  100% {
    opacity: 1;
    transform: scale(1);
 }
}
@keyframes drawCircle {
  0% {
    stroke-dashoffset: 151px;
 }
  100% {
    stroke-dashoffset: 0;
 }
}
@keyframes drawCheck {
  0% {
    stroke-dashoffset: 36px;
 }
  100% {
    stroke-dashoffset: 0;
 }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
 }
  100% {
    opacity: 0;
 }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
 }
  100% {
    opacity: 1;
 }
}
#successAnimationCircle {
  stroke-dasharray: 151px 151px;
  stroke: black;
}
#successAnimationCheck {
  stroke-dasharray: 36px 36px;
  stroke: navy;
}
#successAnimationResult {
  fill: black;
  opacity: 0;
}
#successAnimation.animated {
  animation: 1s ease-out 0s 1 both scaleAnimation;
}
#successAnimation.animated #successAnimationCircle {
  animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCircle, 0.3s linear 0.9s 1 both fadeOut;
}
#successAnimation.animated #successAnimationCheck {
  animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCheck, 0.3s linear 0.9s 1 both fadeOut;
}
#successAnimation.animated #successAnimationResult {
  animation: 0.3s linear 0.9s both fadeIn;
}
