/******************************          Modal box          ******************************/
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.10); }
100% { transform: scale(1); }
}
.btn2 {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-pulse {
    background-color: #ffffff;
    color: #5193cf !important;
    font-size: 16px;
    padding: 4px 10px;
    border-radius: 5px;
    border: 1px solid rgb(81, 147, 207);
}

.btn-pulse-big {
    background-color: #ffffff;
    color: #5193cf !important;
    font-size: 24px;
    padding: 4px 10px;
    border-radius: 5px;
    border: 1px solid rgb(81, 147, 207);
}

.btn-pulse:hover {
background: #5193cf !important;
color: #ffffff !important ;
border-radius: 5px !important;
border: 1px solid rgb(255, 255, 255);
animation: pulse 1.5s infinite;
}

.btn-pulse-big:hover{
background: #5193cf !important;
color: #ffffff !important ;
border-radius: 5px !important;
border: 1px solid rgb(255, 255, 255);
animation: pulse 1.5s infinite;
}
.modalDialog {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
	line-height: 2em;
    overflow: auto;
}

.modalDialog strong {
	font-weight: 900;
}

.modalDialog h2 { font-size: 20px; font-weight: 600; color: #000 !important;}

.modalDialog p {color: #000 !important; font-size: 13px;}

.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

#Step2 input {
	padding: 10px;
    margin: 5px;
    font-size: 18px;
    margin-bottom: 20px;
    width: 80%;    
}
#Step2_1 input {
	padding: 10px;
    margin: 5px;
    font-size: 18px;
    margin-bottom: 20px;
    width: 80%;    
}
#Step2_2 input {
	padding: 10px;
    margin: 5px;
    font-size: 18px;
    margin-bottom: 20px;
    width: 80%;    
}
#Step2_3 input {
	padding: 10px;
    margin: 5px;
    font-size: 18px;
    margin-bottom: 20px;
    width: 80%;    
}
#Step2_4 input {
	padding: 10px;
    margin: 5px;
    font-size: 18px;
    margin-bottom: 20px;
    width: 80%;    
}

.Step1Question {
	width: 50%;
    margin-left: 0%;
    margin-right: 0%;
    margin-top: 0px;
    margin-bottom: 0px;
}

.modalDialog > div {
	width: 50%;
	position: relative;
	margin: 5% auto;
	padding: 30px;
	border-radius: 5px;
	background: #fff;
/**	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999); **/
	color: #000;
}

@media only screen and (max-width: 1200px) {
  .modalDialog > div {
	width: 95%;
	position: relative;
	margin: 5% auto;
	padding: 5px;
	border-radius: 5px;
	background: #fff;
/**	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999); **/
	color: #000;
	}
		
}

.close2 
{
	    background:#5193cf;
		color:#fff!important;
		line-height:25px;
		position:absolute;
		right:-12px;
		text-align:center;
		top:-10px;width:24px;
		text-decoration:none;
		font-weight:700;
		-webkit-border-radius:12px;
		-moz-border-radius:12px;
		border-radius:12px;
		-moz-box-shadow:1px 1px 3px #000;
		-webkit-box-shadow:1px 1px 3px #000;
		box-shadow:1px 1px 3px #000;
		-o-transition:.3s;
		-ms-transition:.3s;
		-moz-transition:.3s;
		-webkit-transition:.3s;
		transition:.3s;
		z-index:99999;

}

.close2:hover { 
	background: #FFFFFF;
	color: #5193cf !important;
	animation: pulse 1.5s infinite;
}

progress[value] {
  width: 100%;
}

.askmm_will_driver  {
  visibility: hidden;
  display: none;
}

.Step1Question {
    width: 90%!important;
    margin: 30px auto!important;
    text-align: left!important;  
}

.Step1Question input {
    margin-right: 10px;
}

.Step1Question label {
  display: relative;
}

.Step1Question label span {
  font-size: 18px !important;
}

.form_preview table {
  margin: 30px auto;
}

.form_preview table label {
  margin-right: 10px;
} 


/******************************          Progress Bar          ******************************/

.graph {
    width: 100%; /* width and height are arbitrary, just make sure the #bar styles are changed accordingly */
    height: 30px;
    border: 1px solid #888; 
    background: rgb(168,168,168);
    background: -moz-linear-gradient(top, rgba(168,168,168,1) 0%, rgba(204,204,204,1) 23%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(168,168,168,1)), color-stop(23%,rgba(204,204,204,1)));
    background: -webkit-linear-gradient(top, rgba(168,168,168,1) 0%,rgba(204,204,204,1) 23%);
    background: -o-linear-gradient(top, rgba(168,168,168,1) 0%,rgba(204,204,204,1) 23%);
    background: -ms-linear-gradient(top, rgba(168,168,168,1) 0%,rgba(204,204,204,1) 23%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a8a8a8', endColorstr='#cccccc',GradientType=0 );
    background: linear-gradient(top, rgba(168,168,168,1) 0%,rgba(204,204,204,1) 23%);
    position: relative;
	border-radius: 10px 10px 10px 10px;
}
#bar {
    height: 28px;
    background: #5193cf;
    border-top: 1px solid #dddcc7;
    border-right: 1px solid #999;
    border-radius: 10px 10px 10px 10px;
}
#bar p { position: absolute; text-align: center; width: 100%; margin: 0; line-height: 30px; }
.error {
    background-color: #dddcc7;
    padding: 1em;
    font-weight: bold;
    color: red;
    border: 1px solid red;
	border-radius: 10px 10px 10px 10px;
}

.cta-container {
	text-align: center;
  	border-radius: 10px;
}

.CTA {
  background-color: #5193cf;
  color: #ffffff !important;
  font-weight: 600;
  padding: 15px;
  font-size: 20px !important;
  display: inline-block;
  margin-bottom: 20px;
  width: 80%;
  border-radius: 10px;
  border: 1px solid rgb(255, 255, 255);
  -o-transition:.3s;
  -ms-transition:.3s;
  -moz-transition:.3s;
  -webkit-transition:.3s;
  transition:.3s;  
}

.CTA:hover {
  background-color: #ffffff;
  color: #5193cf!important;
  border: 2px solid #5193cf;
  border-radius: 10px;	
}

.CTA-BTN {
  background-color: #5193cf;
  color: #ffffff !important;		
  font-weight: 900 !important; 
  padding: 15px;
  font-size: 24px !important;
  display: inline-block;
  margin-bottom: 20px;
  width: 80%;
  border-radius: 10px;
  border: 1px solid rgb(255, 255, 255);
  -o-transition:.3s;
  -ms-transition:.3s;
  -moz-transition:.3s;
  -webkit-transition:.3s;
  transition:.3s;
}

.CTA-BTN:hover {
  background-color: #FFFFFF;
  color: #5193cf !important;
  border: 2px solid #5193cf;
  border-radius: 10px;		
}
