 #overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
	margin-bottom: 0;
  }
  

   #custom-quote-button {
    margin-top: 25px;
	text-transform: initial;
	background-color: #757575;
    color: white;
  } 

  .custom-modal {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 80%;
    transform: translate(-50%, -50%);
    min-height: 200px; 
    max-height: 80vh; 
    overflow-y: auto;  
    padding: 20px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

@media screen and (min-width: 992px) {
    .custom-modal {
    min-width: 850px; 
    }
}

@media screen and (max-width: 990px) {
    .custom-modal {
    min-width: 90%; 
    }
}


.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    min-height: 18px;
    border-bottom: 1px solid #e5e5e5;
}

.custom-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.custom-quote-form {
    width: 100%;
}

#close-quote-popup {
    cursor: pointer;
    background: none;
    border: none;
}

#close-quote-popup img {
    width: 24px;
    height: 24px;
}

.myfield {
    margin-bottom: 15px;
}
.custom-quote-form {
overflow: hidden !important;
}