@charset "utf-8";
.modal {
	position: fixed;
	top: 50%;
	left: 50%;
 	transform: translate(-50%, -50%) scale(0);
 	transition: 200ms ease-in-out;
  	border-radius: 10px;
  	background-color: white;
 	 max-width: 80%;
	display:block;
}
.modal.in {
    transform: translate(-50%, -50%) scale(1);
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #002f6c;
    overflow: initial;
    max-height: 80%;
    width: 90%;
    max-width: 800px;
	padding-right:0 !important;
}
.modal-header {
    padding: 0.6em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    color: white;
    flex-direction: column;
}
.popCTA {
    color: #002f6c;
    font-size: 1.1em;
}
.modal-header .title {
  font-size: 1.25rem;
  font-weight: bold;
  width: -webkit-fill-available;
}

.modal-header .close-button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-size: 1.25rem;
  font-weight: bold;
}
.modal-body {
    padding: 10px 15px;
    background: #002f6c;
    color: white;
border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.form_button_submit {
    background-color: #36c6fd;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid #fff;
    font-family: "mmatg";
    text-transform: uppercase;
    color: #002f6c;}
.form_pages Select, .form_pages input {
    color: #002f6c;
}
.form_pages {
    font-family: 'mmatg';
}
.btn-close {
	    position: absolute;
    right: -40px;
    top: -46px;
	}
.btnCLoseHolder {
    position: absolute;
}
#overlay {
  position: fixed;
  opacity: 0;
  transition: 200ms ease-in-out;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
  pointer-events: none;
    z-index: 2;
}
.modal-backdrop.in {
  pointer-events: all;
  opacity: .7;
}
.popImg {
    margin: 1em 0;
}
.modal-header img {
    max-width: 100%;
}
@media only screen and (max-width: 750px) {
.modal.in {
    grid-template-columns: 1fr;
	overflow:auto;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
	padding-left: 0 !important;
}
.btn-close {
	width: 4em;
    height: 4em;
    position: relative;
    right: auto;
    top: auto;
}
.btnCLoseHolder {
    justify-content: flex-end;
    display: grid;
    margin: 0.2em 1em 0.2em 0;
position: sticky;
    top: 1em;
}	
.modal.in::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    background-color: #36c6fd;
}
.modal.in::-webkit-scrollbar {
    background: #f2f2f2;
    width: 0.4em;
}
.modal-body {
    border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
}

