﻿/* [Object] Modal
 * =============================== */
 
#popupding{
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 214748364;

} 
 
.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: left;
  background: rgba(0,0,0, .9);
  transition: opacity .25s ease;
  z-index:214748364;
}

.modal__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
  z-index:214748364;
}

.modal-state {
  display: none;
  z-index:214748364;
}

.modal-state:checked + .modal {
  opacity: 1;
  visibility: visible;
  z-index:214748364;
}

.modal-state:checked + .modal .modal__inner {
  top: 0;
  z-index:214748364;
}

.modal__inner {
  transition: top .25s ease;
  position: absolute;
  top: -20%;
  right: 0;
  bottom: 0;
  left: 0;
  width: 70%;
  margin: auto;
  overflow: auto;
  background: #fff;
  border-radius: 5px;
  padding: 1em ;
  height: 80%;
  z-index:21474836;
}

.modal__close {
  position: absolute;
  right: 15%;
  top: 5%;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
  z-index:214748364;
}

.modal__close:after,
.modal__close:before {
  content: '';
  position: absolute;
  width: 2px;
  height: 1.5em;
  background: #000;
  display: block;
  transform: rotate(45deg);
  left: 50%;
  margin: -3px 0 0 -1px;
  top: 0;
  z-index:214748364;
  background-color:#ff0000;
  padding: 2px;
}

.modal__close:hover:after,
.modal__close:hover:before {
  background: #a70000;
  z-index:214748364;
}

.modal__close:before {
  transform: rotate(-45deg);
  z-index:214748364;
}

@media screen and (max-width: 768px) {
	
  .modal__inner {
    width: 90%;
    height: 900px;
    box-sizing: border-box;
	z-index:214748364;
  }
}


/* Other
 * =============================== */


.btn {
  cursor: pointer;
  color: #fefefe;
  text-shadow: 0 0 3px #000;
  font-size: 15px;
  font-family: "Buenard";
z-index:214748364;
}

.btn:hover,
.btn:focus {
  opacity: 0.5;
  z-index:214748364;
}

.btn:active {
  opacity: 1;
  z-index:214748364;
}

.btn2 {
  cursor: pointer;
  color: #fefefe;
  text-shadow: 0 0 3px #000;
  font-size: 15px;
  font-family: "Buenard";
z-index:214748364;
}

.btn2:hover,
.btn2:focus {
  opacity: 0.9;
  z-index:214748364;
}

.btn3{
  cursor: pointer;
  color: #fefefe;
  text-shadow: 0 0 3px #000;
  font-size: 15px;
  font-family: "Buenard";
}

.btn3:hover,
.btn3:focus {
  opacity: 0.9;
}



