/* Contact form animations */
.alert-danger {
	padding: 10px;
	background: red;
	border: 2px solid black;
	margin-bottom: 15px;
	font-size: 0.8em;
	font-weight: bold;
 }

.alert-success {
	padding: 10px;
	background: green;
	border: 2px solid black;
	margin-bottom: 15px;
	font-size: 0.8em;  
}

.alert-danger p, .alert-success p {
  color: white !important;
}

.checkmark__circle {
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  fill: none;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-miterlimit: 10;
  stroke-width: 2;
}
.checkmark {
  animation: fill 0.4s ease-in-out 0.4s forwards, scaleOne 0.3s ease-in-out 0.9s both;
  border-radius: 50%;
  box-shadow: inset 0 0 0;
  display: block;
  /* height: 56px; */
  margin: 10% auto;
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-width: 2;
  width: 56px;
}
.checkmark.error {
  color: red;
}
.checkmark.error .success {
  display: none;
}
.checkmark.error .checkmark__circle {
  stroke: white;
}
.checkmark.success {
  color: green;
}
.checkmark.success .error {
  display: none;
}
.checkmark.success .checkmark__circle {
  stroke: white;
}

.checkmark__check {
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  transform-origin: 50% 50%;
}

.checkmark__cross {
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes scaleOne {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}
@keyframes fill {
  100% {
    box-shadow: inset 0 0 0 30px;
  }
}
@keyframes unfill {
  100% {
    box-shadow: inset 0 0 0;
  }
}
@keyframes unstrokeCheck {
  100% {
    stroke-dashoffset: 48;
  }
}
@keyframes unstrokeCircle {
  100% {
    stroke-dashoffset: 166;
  }
}
@keyframes scaleTwo {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

.checkmark.reverse {
  animation: scaleTwo 0.3s ease-in-out, unfill 0.4s ease-in-out 0.4s forwards;
  box-shadow: inset 0 0 0 30px;
}
.checkmark.reverse .checkmark__circle {
  animation: unstrokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
  stroke-dashoffset: 0;
}
.checkmark.reverse .checkmark__check,
.checkmark.reverse .checkmark__cross {
  animation: unstrokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  stroke-dashoffset: 0;
}