#modal {
  left: 35%;
  margin: -220px 0 0 -32%;
  opacity: 0;
  position: absolute;
  top: -50%;
  visibility: hidden;
  width: 95%;
  box-shadow: 0 3px 7px rgba(0,0,0,.25);
  box-sizing: border-box;
  transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out}

#modal:target {
  opacity: 1;
  top: 35%;
  visibility: visible
}

#modal .header, #modal .footer {
  border-bottom: 1px solid #007bff;
  border-radius: 5px 5px 0 0
}

#modal .footer {
  border: none;
  border-top: 1px solid #e7e7e7;
  border-radius: 0 0 5px 5px
}

#modal h3 {
  margin: 0;
  color: #524545;
  padding-bottom: -10px;

}

#modal .btn { float: right }

#modal .copy, #modal .header, #modal .footer {
  padding: 10px;
  color: #524545;
}

.modal-content {
  background: #ffffff;
  position: relative;
  z-index: 20;
  border-radius: 5px;
  color: #524545;
}

#modal .copy { background: #ffffff; }

#modal .overlay {
  background-color: #000;
  background: rgba(0,0,0,.8);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10
}


#modal2 {
  left: 35%;
  margin: -220px 0 0 -32%;
  opacity: 0;
  position: absolute;
  top: -50%;
  visibility: hidden;
  width: 95%;
  box-shadow: 0 3px 7px rgba(0,0,0,.25);
  box-sizing: border-box;
  transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out}

#modal2:target {
  opacity: 1;
  top: 35%;
  visibility: visible
}

#modal2 .header, #modal .footer {
  border-bottom: 1px solid #007bff;
  border-radius: 5px 5px 0 0
}

#modal2 .footer {
  border: none;
  border-top: 1px solid #e7e7e7;
  border-radius: 0 0 5px 5px
}

#modal2 h3 {
  margin: 0;
  color: #524545;
  padding-bottom: -10px;
}

#modal2 .btn { float: right }

#modal2 .copy, #modal2 .header, #modal2 .footer {
  padding: 10px;
  color: #524545;
}

#modal2 .copy { background: #ffffff; }

#modal2 .overlay {
  background-color: #000;
  background: rgba(0,0,0,.8);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10
}



.copy2 {
  display: inline-block;
}