.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 101; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    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 */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  margin-bottom: 30px;
  padding: 0;
  border: 1px solid #888;
  width: 100%;
  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;
  overflow: hidden;
  min-width: 285px;
}

/* 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 {
  color: dimgray;
  float: right;
  font-size: 30px;
  font-weight: bold;
  width: fit-content;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.modal-body {padding: 2px 16px; margin-bottom: 10px;}

.modal-body_small {padding: 2px 16px; margin-bottom: 10px;}

.modal-body_vh_add {padding: 2px 16px; margin-bottom: 10px;}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.modal_header{
  float:left;
  width: 100%;
  padding: 5px 10px; 
  padding-bottom:0px;
}

.PageImageLabel{
  float:right; 
  font-size:14px; 
  font-weight:normal; 
  margin-left:10px; 
  vertical-align:middle;
  color: var(--websitegrey2);
  letter-spacing: 2px;
  margin-top: 10px;
  width: calc(100% - 35px);
  display: block;
  text-transform: uppercase;
}

@media screen and (max-width: 640px)
{
  .modal-body_vh_add {padding-left:5px; padding-right: 5px;}
}

@media screen and (max-width: 580px)
{
  .modal-body{
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media screen and (max-width: 350px)
{
  .modal-body_small {padding-left:5px; padding-right: 5px;}
  
}

@media screen and (max-width: 350px)
{
  .modal-body_vh_add {padding-left:0px; padding-right: 0px;}
}


