/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 35%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

.modal-content h2 {
    margin: 1rem;
}

.gift_form .regular-text { width: 100%; }

.modal-content p {
    text-align: center;
    margin: 1rem;
    font-size: 1rem;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.modal-header h2 { text-align: center; color: #fff; font-size: 1.5rem; }

.modal-body { padding: 2px 16px; margin-bottom: 3rem;}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.gift_form .form-table { margin-top: 2rem; }

#giftIcon { position: fixed; display: none; top: 50px; left: 50px; width: 80px; z-index: 999999; cursor: pointer; }
.text-center { margin: 0 auto; text-align: center; width: 100%; }
.gift_form .btn { float: left; width: 100%; color: #fff; border: 1px solid #c9c9c9; background: #f9f9f9; padding: 2%; border-radius: 5px; text-decoration: none; }
.gift_form th, .gift_form td, .gift_form table { border: none; }
#leadtable { width: 100%; }

.visibility_option { float: left; width: 50%; padding: 1%; }

@media (min-width: 481px) and (max-width: 767px) {
  .modal-content { width: auto; }
}

@media (min-width: 320px) and (max-width: 480px) {
  .modal-content { width: auto; }
}
