#popup_dialog {
	display:block;
	/* background-color:#0f2350 !important; */
	background-color:#222222 !important;
	border:none !important;
	padding:1px 30px 30px 30px;
	
}

.ui-widget-overlay {
   background: #000000 !important;
   opacity: 0.75 !important;
}

#popup_content {
	text-align: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	margin-top: 50px;
	/*border: 4px solid white;*/
}

.notinzip_content {
	padding-bottom: 128px;
}

.congrats_content {
	padding-bottom: 60px;
}

#popup_content h1 {
	color:#ffffff;
	margin-bottom:10px;
	font-size:35px;
	font-weight:600;
	/* font-family:'Caveat', cursive; */
}

.notinzip_content h1 {
	margin-top:120px;
}

.congrats_content h1 {
	margin-top:60px;
}

#popup_content .not-zip-p {
	margin: 10px 0px;
	font-size:17px;
}

#popup_content .congrats-p {
	margin:0 5px;
	font-size:12px;
	padding: 0 20px;
	font-weight: 600;
}

#popup_content .congrats-img {
	padding:10px;
	width:155px;
}

#popup_button{
	-webkit-appearance:none;
	opacity: 1;
	width: 140px;
	height: 35px;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 1.5px;
  border-radius: 5px;
	color: white;
	background: #f22932 !important; /* background color of GET STARTED NOW CTA */
	border: 1px solid #f22932; /* border color for the form input fileds */
}

.notinzip_button {
	margin-top:15px;
}

.congrats_button {
	margin-top:65px;
}

.afterformsubmit{
  color:#fff;
  text-align: center;
  font-size: 30px;
  padding-top: 50%;
}

.afterformsubmitsmall{
  font-size: 18px;
  line-height: 1em;
  font-weight: 400;
}

@media (max-width:1366px) {
  .afterformsubmit{
    padding-top: 0;
  }
} /* end of @media max-width: 768px  */

@media (min-device-width:415px) and (max-device-width:768px) {
/*  .ui-dialog{
    top: -3507.53px !important;
    left: 29px !important;
  }
*/
  #popup_content .not-zip-p {
    margin: 10px 70px;
  }




} /* end of @media max-width: 768px  */

@media (min-device-width:376px) and (max-device-width:414px) {
/*  .ui-dialog{
    position: relative;
    height: auto;
    top: -4118.88px !important;
    left: 31px !important;
    display: block;
  }
*/
  .afterformsubmit{
    font-size: 22px;
  }

  .afterformsubmitsmall{
    font-size: 14px;
  }


/* 	#popup_dialog {
		width:352px !important;
	} */

	#popup_content .not-zip-p {
			margin: 50px 38px;
	}

	/* remove breakpoints in not zip dialog */
	.mobile_view {
		display:none;
	}

	#popup_content h1 {
			font-size: 50px;
	}

.get-a-quote{
  font-size:20px;
}

}/* end of @media max-width: 414px  */

@media (min-device-width:361px) and (max-device-width:375px) {

.afterformsubmit{
  font-size: 20px;
}

.afterformsubmitsmall{
  font-size: 14px;
}
/* 	#popup_dialog {
		width:315px !important;
	} */

	#popup_content .not-zip-p {
		margin: 50px 20px;
    font-size: 15px;
	}

	/* remove breakpoints in not zip dialog */
	.mobile_view {
		display:none;
	}

	#popup_content h1 {
			font-size: 40px;
	}

  .btn{
    font-size: 20px;
  }
  .get-a-quote{
    font-size:15px;
  }

}/* end of @media max-width: 375px  */

@media screen and (max-width:360px){

  .afterformsubmit{
    font-size: 20px;
  }

  .afterformsubmitsmall{
    font-size: 14px;
  }

/* 	#popup_dialog {
		width:302px !important;
	}
 */
  #popup_content .not-zip-p {
    margin: 10px;
    font-size: 14px;
  }

  .btn{
    font-size: 20px;
  }

  .get-a-quote{
    font-size:15px;
  }

}/* end of @media max-width: 360px  */
