

/*:::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::*/



.modal-wrap {
  display: inline-block;
  margin:10px 0;
}

.modal-wrap input {
  display: none;
}

.modal-open-label,
.modal-close-label {
  cursor: pointer;
}

.modal-open-label {
  display: inline-block;
  color: #fff;
  font-size: 1em;
  background:#000;
  padding:10px;
  width:100%;
}

.modal-open-label:hover {
  background:#888;
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.modal-open-input:checked+label+input+.modal {
  display: block;
  animation: modal-animation .6s;
}

.modal-content-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 800px;
  background-color: #fff;
  border-left:5px solid #000;
  z-index: 2;
}

.modal-close-label {
  background-color: #000;
  color: #fff;
  border-radius: 20px;
  width: 36px;
  height: 36px;
  line-height: 1.5;
  position: fixed;
  top: -15px;
  right: -2%;
  z-index: 99999;
  font-size: 1.4em;
}

.modal-close-label span:before,
.modal-close-label span:after {
  height: 3px;
  width: 10px;
  background-color: #fff;
  position: absolute;
  left:13px;
  top:17px;
  content: "";
  transition: all .2s ease-in-out;
}

.modal-close-label span:before {
  transform: rotate(45deg) ;
}

.modal-close-label span:after {
  transform: rotate(-45deg) ;
}

.modal-content {
  max-height: 50vh;
  overflow-y: auto;
  padding: 39px 45px 40px;
}

.modal-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(100, 100, 100, .95);
  z-index: 1;
}

@keyframes modal-animation {
  0% {
      opacity: 0;
  }

  100% {
      opacity: 1;
  }
}

@media only screen and (max-width: 520px) {
  
  .modal-open-label {
      max-width: 90%;
      padding: .94em 2.1em .94em 2.6em;
  }

  .modal-close-label {
      top: -17px;
      right: -4%;
  }

  .modal-content-wrap {
      width: 90vw;
  }

  .modal-content {
      padding: 33px 21px 35px;
      max-width: 100%;
  }
}