/* Modal */

.c-modal {
  max-width: 410px;
  background-color: #fff;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: ;
  padding: 30px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease all;
  transform: scale(0.9) translateY(-50%);
  text-align: center;
}

.c-toggle {
  position: absolute;
  top: 0;
  opacity: 0;
  pointer-events: none;
}

.c-toggle:checked {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  z-index: 6;
  position: absolute;
  height: 100vh;
  width: 100vw;
  pointer-events: all;
}

.c-toggle:checked + .c-modal {
  opacity: 1;
  pointer-events: all;
  transform: scale(1) translateY(-50%);
}

.c-x-toggle {
  position: absolute;
  right: 12px;
  top: 12px;
  line-height: 0;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.2;
  transition: 0.2s ease all;
}

.c-x-toggle:hover {
  opacity: 1;
}

.c-actions {
  margin-top: 25px;
}

.c-actions .btn {
  margin-right: 20px;
	display: inline-block;
	font-weight: 500;
}

.c-actions .btn:last-child {
  margin-right: 0;
}