input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  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 */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
  font-size:1em;
}

/* Modal Content */
.modal-content {
  position:relative;
  bottom: 0;
  margin: auto;
  border: 1px solid #888;
  max-width:720px;
  background-color: #fefefe;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
}

/* Modal Header */
.modal-header {
  padding-top:55px;
}

.modal-header img {
  width:80%;
  height:auto;
  margin:0 auto;
  display:block;
}

.modal-body,
.modal-footer {
  clear:both;
}

/* Modal Footer */
.modal-footer {
  background-color:indigo;
  height:12px;
  padding:6px;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  text-align: right;
  font-size: 20px;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}