/***********************
* MODAL
***********************/
/*=== BUTTON FOR MODAL =================*/

.box {
    width: 328px;
    min-height: 400px;
    background: white;
    color: black;
    top: 45%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
    box-sizing: border-box;
    border-radius: 20px;
	    border: solid 1px #fff;
    padding: 15px 30px;
}

.model-position {
            position:absolute;
            width:100%;
            top:0;
        }

.link-modal-close {
  background: #bdc3c7;
  border: #fff solid 1px;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 12pt;
  padding: 8px 15px;
  text-decoration: none;
  text-align: center;
  min-width: 60px;
  position: relative;
  transition: all .2s ease;
}

.link-modal-close:hover {
  background: #2ecc71;
}

.link-modal-close:active {
  color: #bdc3c7;
}

/*=== MODAL ==============================*/
.modal:before {
  content: "";
  display: block;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  -webkit-animation: fadein .4s;
          animation: fadein .4s;
}



.modal:target .modal-dialog {
  position: relative;
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
  transition: -webkit-transform .4s ease-in-out;
  transition: transform .4s ease-in-out;
  transition: transform .4s ease-in-out, -webkit-transform .4s ease-in-out;
}



.modal-dialog {
   background: var(--color-primary);

    border-radius: 5px;
    position: relative;
    /* top: 50%; */
    width: 100%;
    max-width: 400px;
    margin: 8% auto;
    z-index: 9999;
}
.modaltext p {
  color:#fff !important;
}
.modaltext p a {
  color:#fff900  !important;
}
@media only screen and (max-width: 830px) {
  .modal-dialog {
    width: 90%;
  }
}
.modal-body {
  width: 100%;
  padding: 20px;
  color:#fff;
}

.modal-header,
.modal-footer {
  padding: 10px 20px;
}

.modal-header {
  border-bottom: #fff solid 1px;

}

.modal-header h2 {
  font-size: 14pt;
  color:#fff;
  padding:0;
  margin:0;
}

.modal-footer {
  border-top: #eee solid 1px;
  text-align: right;
}

@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
