.modal {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 150px;
  left: 0;
  top: 0;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

/* Modal Content */
.modal-content {
  margin: auto;
  padding: 0;
  position: relative;
  background-color: #fefefe;
  border: 1px solid #888;
  width: 60%;
  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
}

/* 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 {
  float: right;
  font-size: 30px;
  font-weight: bold;
  color: white;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
  color: #000;
}

.modal-header {
  padding: 10px 16px;
  background-color: #004B98;
  color: #fff;
}

.modalBody {padding: 2px 16px;}

.modalTitle {
	padding: 2px 16px;
	display: none; 
}

.modal-footer {
  padding: 2px 16px;
}
.modalBody p{#line-height:50px; padding: 10px 0px;}
#headText{color:#fff;}
.modalBody input[type=text] {
  width: 60%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.modalBody button{width: 70px;margin-bottom:10px;
padding: 5px 5px;
font-size: 95%;
background-color: #6db94b;
color: #fff;
cursor:pointer;}


@media only screen and (max-width: 1000px) {
.modalBody p {
    #line-height: 25px;
}
.modal-content {
  width: 90%;
}
}