/* The Modal (background) */
.gmmodal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999999; /* 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 */
}

.gmmodal * {
  box-sizing: border-box;
}

/* Modal Content */
.gmmodal-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
}

.gmmodal-content h2 {
    margin: 1rem;
    padding: 0 !important;
}

.gift_form .regular-text { width: 100%; }

.gmmodal-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 */
.gmclose {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.gmclose:hover,
.gmclose:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.gmmodal-header {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.gmmodal-header h2 { text-align: center; color: #fff; font-size: 1.5rem; clear: none !important;}

.gmmodal-body { padding: 2px 16px; margin-bottom: 20px;}

.gmmodal-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 .btngm { float: left; width: 100%; color: #fff; border: 1px solid #c9c9c9; background: #f9f9f9; padding: 10px; border-radius: 5px; text-decoration: none; }
.gift_form th, .gift_form td, .gift_form table, .gift_form tr { border: none; }
#leadtable { width: 100%; }

.visibility_option { float: left; width: 50%; padding: 1%; }

@media (min-width: 320px) and (max-width: 767px) {
  .gmmodal-content { width: 95%; }
}

.gift_form #gift-table th,
.gift_form #gift-table td {
  background: transparent !important;
  padding: 10px 2px !important;
}

.gift_form #gift-table {
  table-layout: auto !important;
  width: 100%;
}

.clearbb {
  clear: both;
}


a#giftSubmitInfo,
button#giftSubmitInfo {
  color: white;
  background-color: #666666;
  text-shadow: none !important;
  cursor: pointer;
}

input.gm-input {
display: inline-block;
    font-size: 14px  !important;
    padding: 7px 12px  !important;
    background-color: transparent  !important;
    color: #333  !important;
    border: 1px solid #ddd !important;
    border-radius: 3px  !important;
    transition: all .3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .gmmodal-header h2:before {
    display: none !important;
  }