.front-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; 
	/*height: 100%;*/
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: flex-start; /* ? allows modal to grow vertically */
  overflow-y: auto;
  padding: 40px 0;
  z-index: 999;
}

.front-modal-overlay.show {
  display: flex;
}

.front-modal-content h3 {
  margin-top: 0;
}

.front-modal-content input,
.front-modal-content textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  box-sizing: border-box;
  font-size: 14px;
}

.front-modal-content button {
  width: auto;
  margin-right: 10px;
  padding: 6px 12px;
  border-radius: 4px;
}
		
.front-modal-content label {
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
}

.front-modal-content input,
.front-modal-content select,
.front-modal-content textarea {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.front-modal-content {
  background: #fff;
  border-radius: 6px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
	padding:15px 15px 30px 15px;
}

/* Modal Box */
#enquiry-modal {
  display: none;
  position: fixed;
  top: 0%;
  left: 50%;
	/*bottom:5%;*/
  transform: translateX(-50%);
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  z-index: 1000;
  /*width: 600px;*/
}

@media screen and (max-width: 768px) {
	#enquiry-modal {
	  /*background: #000;*/
    width: 100%;
		height:100%;
		padding-top:40px;
  }
}	
@media screen and (min-width: 769px) {
	#enquiry-modal {
  background: #fff;	
    width: 600px;
  }
}	
/* Modal Form Fields */
#enquiry-modal input,
#enquiry-modal textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Modal Buttons */
#enquiry-modal button {
  padding: 8px 12px;
  margin-right: 8px;
  font-size: 13px;
  cursor: pointer;
}
.admin-btn {
  font-size: 13px;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #fff;
}
.admin-btn.warning {
  background-color: #f0ad4e;
}
.admin-btn.danger {
  background-color: #e53935;
}
.admin-btn.secondary {
  background-color: #6c757d;
}
.admin-btn.close {
  background-color: #000;
	color:#fff;
}

#enquiry-modal label {
  font-size: 13px;
}
.front-modal-msg-box {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 1px solid black;
  padding: 20px 40px;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}