/* The Modal (background) */
.modal {
  border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* 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 */
}

/* Modal Content/Box */
.modal-content {
  border-radius: 5px;
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Modal Header */
.modal-header {
  height: 50px;
  padding-left: 16px;
  padding-right: 16px;
  padding-top : 16px;
  padding-bottom: 10px;
  background-color: #7e848c;
  color : darkblue;
  text-align: center;
  font-size: 40px;
}

/* Modal Body */
.modal-body
{
  padding: 2px 16px;
  text-align: center;
  font-size: 24px;
}

/* Modal Footer */
.modal-footer {
  padding-top : 8px;
  padding-right : 15px;
  background-color: #d9dbde;
  color: white;
  height: 30px;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

/* Add Animation */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}

h1
{
  color : darkblue;
  text-align : center;
  font-size : 50px;
  background-color: #7e848c;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

h2
{
  color : black;
  text-align : center;
  font-size : 30px;
}

#innerbody
{
  min-height: 200px;
  text-align: center;
  background-color: #fff;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

#preview
{
  margin: 0 auto;
}
