.modal {
  display: none; /* Hidden by default */
  position: fixed; 
  z-index: 999999 !important;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  padding-top: 45%;
  overflow: hidden; /* 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 {
  background-color: #fefefe;
  margin: auto;
  padding: 12px;
  border: 1px solid #888;
  width: 100%;
  max-width: 430px;
  height: auto;
  position: fixed;
  float: left;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: auto; /* Enable scroll if needed */
  font-family: 'Roboto', sans-serif;
}
    
@media only screen and (max-width: 600px) {
  .modal-content{
    width: 100%;
    max-width: 300px;
    max-height: 540px;
    overflow: auto; /* Enable scroll if needed */
  }
} 

@media only screen and (max-height: 680px) {
  .modal-content{
    width: 100%;
    max-width: 300px;
    max-height: 100%;
    overflow-y: auto; /* Enable scroll if needed */
  }
}


@media only screen and (max-height: 680px) and (min-width:475px)  {
  .modal {
    padding-top: 0%;
  }
}



@media only screen and (max-height: 810px) and (min-height:300px) and (max-width: 610px) and (min-width: 560px){
  .mdmap {
    left: 20% !important;
  }
}



@media only screen and (max-width: 600px) {
.mdmap {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    max-width: 100%;
    height: auto;
    position: relative !important;
    float: none !important; 
    left: auto !important;
    top: auto !important;
    transform: translate(0%, 0%) !important;
  }
} 


.maps {
position: relative;    
}


.usmap {
  border: none;
  height: auto;
  max-width: 800px;
	}
    
.mdmap {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 400px;
  height: auto;
  position: absolute;
  float: left;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
}    
    
/* The Close Button */
.close {
  display: inline-block;
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin: auto;
  position: absolute;
  top: -40%;
  right: 0px;
}

.closeMD {
  display: inline-block;
  color: #aaaaaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 5px;
  right: 10px;

}
    
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
    
.closeMD:hover,
.closeMD:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
    
.portrait img{
  max-width: 100%;
  height: auto;
  margin-bottom: 0.5rem !important; 
}
    
@media only screen and (min-width: 600px) {    
.center{
  display: block;
  margin-left: auto;
  margin-right: auto;
    }    
}
    
.state {
    text-align: center;
    padding: 10px 10px 10px 10px;
    margin-left:15%;
    margin-right:15%;
    color: #fff;  
    background-color: #00205c;
    margin-bottom: 0.5rem !important; 
}
    
.county {
    text-align: center;
    padding: 10px 10px 10px 10px;
    margin-left:15%;
    margin-right:15%;
    color: #fff;  
    background-color: #00205c;
    margin-bottom: 0.5rem !important; 
}
    
.name {
    text-align: center; 
    max-width: 100% !important;
    margin-bottom: 0.5rem !important; 
}

.job_title {
    text-align: center;     
    margin-bottom: 0.5rem !important; 
}  
    
.contact_email {
    text-align: center;
    margin-bottom: 0.5rem !important; 
}
    
.contact_phone {
    text-align: center;
    margin-bottom: 0.5rem !important; 
}
    