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: fixed;
  bottom: 0;
  padding: 20px;
  margin: auto;
  background-color: #fefefe;
  width: inherit;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
}

.modal-header {
  text-align:right;
  padding-bottom:18px;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  text-align: right;
  font-size: 20px;
}

.close:hover,
.close:focus {
   text-decoration: none;
   cursor: pointer;
}

.modal-body,
.modal-footer {
   clear:both;
}

.modal-body {
  min-height:77vh;
}

.modal-body > main {
   min-height:6vh;
}
.modal-body form {
  width:inherit;
  text-align:center;
}
.modal-body button {
   padding: 5px;
   border:1px solid green;
}

.modal-footer {
   background-color:silver;
}

/* 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}
}