.pform p.pform-title {
	margin-top: 0;
	margin-bottom: 30px;
	padding-top: 30px;
	display: block;
  text-align: center;
}
.pform p.pform-title-end {
  width: 100%;
  text-align: center;
  color: #05458a;
  color: #65cf78 !important;
  font-size: 18px !important;
  font-weight: bold;
	margin: 0 0 0.5rem;
}
.pform form {
	background-color: #2475CC;
	font-family: inherit;
	/* padding: 30px 40px; */
	border-radius: 5px;
	max-width: 540px;
	color: #ffffff;
	position: relative;
	margin: auto auto;
}

.pform .form-group {
	position: relative;
}
.pform .form-group>label {
	display: block;
	font-size: 18px;
  font-weight: 400;
	line-height: 1;
}
.pform .form-group>label::after {
	content: "*";
	font-size: 16px;
	color: #ffffff;
	line-height: 1;
	vertical-align: top;
	margin-left: 2px;
	position: absolute;
}
.pform .form-group span.error {
  color: #fff;
	font-size: 14px;
  line-height: 1;
	position: absolute;
	bottom: -20px;
	left: 0;
}
.pform .form-group--radio .form-input {
	margin-top: 10px;
}
.pform .form-group--radio .form-input span.error {
	font-size: 12px;
	position: absolute;
	bottom: -18px;
	width: 100%;
	right: 0;
}
.pform .form-input {
	position: relative;
}
.pform .form-input input {
	border: 2px solid #8ac2ff;
	border-radius: 4px;
}
.pform .form-input input.error {
	animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	perspective: 1000px;
	border-color: #f15252;
	background-color: #ffe4e4;
}
.pform .form-actions {
  max-width: 300px;
  padding: 0 24px;
  margin: 15px auto 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.pform .select-css {
	display: block;
	font-size: 16px;
	font-family: sans-serif;
	font-weight: 700;
	color: #444;
	line-height: 1.3;
	padding: .6em 1.4em .5em .8em;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #aaa;
	/*box-shadow: 0 1px 0 1px rgba(0,0,0,.04);*/
	border-radius: .5em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='292.4' height='292.4'%3E%3Cpath fill='%23042a2d' d='M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 1.8-12.9 5.4A17.6 17.6 0 0 0 0 82.2c0 5 1.8 9.3 5.4 12.9l128 127.9c3.6 3.6 7.8 5.4 12.8 5.4s9.2-1.8 12.8-5.4L287 95c3.5-3.5 5.4-7.8 5.4-12.8 0-5-1.9-9.2-5.5-12.8z'/%3E%3C/svg%3E"), linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}
.pform .select-css::-ms-expand {
	display: none;
}
.pform .select-css:hover {
	border-color: #888;
}
.pform .select-css:focus {
	border-color: #aaa;
	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #222;
	outline: none;
}
.pform .select-css option {
	font-weight: normal;
}

/* Radio Button */
.pform .radio_container {
	display: block;
	position: relative;
	cursor: pointer;
	font-size: 16px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.radio_container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
  left: 0;
}
.pform .radio_container .checkmark {
	padding: 8px 10px;
	font-size: 16px;
  font-weight: 600;
	margin: 0 0 8px;
	display: block;
	max-width: 100%;
	border: 2px solid #8ac2ff;
	border-radius: 10px;
	color: #3b7cc4;
	background: #FFF;
	transition: background-color 0.2s, border-color 0.2s;
	text-align: center;
}
.pform .radio_container input.error~.checkmark {
  background-color: #3b7cc4;
  color: #FFF;
  border-color: #ff8181;
}
.pform .radio_container:hover input~.checkmark,
.pform .radio_container input:checked~.checkmark {
	background-color: #ff7f34;
	color: #FFF;
}
/* DOB - Container */
.pform .dob_container {
	display: flex;
}
.pform .dob_container div {
	flex-grow: 1;
}
.pform .dob_container div+div {
	margin-left: 5%;
	position: relative;
}
.pform .dob_container label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  color: #fff;
}

.pform label {
	color: #ffffff;
}
.pform input {
	padding: 8px 10px;
	width: 100%;
	font-size: 16px;
	font-family: inherit;
	border: 2px solid #aaaaaa;
}
.pform input.invalid {
	background-color: #ffdddd;
}
.pform .tab {
	display: none;
	padding: 0 20px;
}
body.phi-template .top-title .wrapper .pform p#terms {
	display: none;
	font-size: 12px;
	opacity: 0.6;
	line-height: 1.2;
	font-weight: 300;
	display: block;
	width: 90%;
	height: 50px;
	margin: 0 auto;
}

#indicator {
  background-color: #a5d0ff;
  display: flex;
  justify-content: space-evenly;
  margin: 0 auto 20px;
  border-radius: 25px;
  overflow: hidden;
  width: calc(100% - 30px);
}
#indicator {
  display: block;
  height: 20px;
  position: relative;
}
#indicator span {
  width: 0;
  background-color: #277C38;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: width 0.25s;
}
#indicator span {
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
}
.pform .step {
	height: 10px;
	max-width: 100%;
  flex: 1 1 100%;
	border: none;
	display: inline-block;
}
.pform .step.visited {
	background-color: #ffffff;
}

.pform button {
	background-color: #ff7f34;
	color: #ffffff;
	border: none;
	padding: 8px 20px;
  font-size: 16px;
	font-family: inherit;
	cursor: pointer;
	border-radius: 3px;
  transition: all .25s ease-in-out;
  width: 100%;
}
.pform button:hover {
	opacity: 1;
}
.pform #prevBtn {
  font-size: 16px;
	margin-right: 5px;
	background-color: transparent;
  color: #183656;
}
.pform #prevBtn:hover{
  outline: none;
}

/** Input Specific*/
.pform .form-input .radio_container img {
  display: none;
}

#loading {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
}
#loading p {
  background: rgb(29, 210, 109);
  padding: 14px 18px;
  font-size: 21px;
  margin: 0;
  width: 100%;
  text-align: center;
}

.ani-flash {
  animation: flash 1.5s linear infinite;
}

@keyframes flash {
  50% {
    opacity: 0;
  }
}
@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

@media screen and (max-width: 767px) {
  body {
     min-width:320px;
  }
  .pform p.pform-title {
    padding: 15px 0;
    margin: 0 0 1rem;
    border-radius: 4px 4px 0 0;
    background: #3c7cc4;
  }
  .pform .tab {
    height: 230px;
  }
	.pform #step6.tab {
		height: 180px;
	}
  .pform .form-group>label {
    margin-bottom: 0;
  }
	.pform .form-group--radio>label {
		max-width: 240px;
		text-align: center;
		margin: 0 auto;
	}
  .pform .form-group span.error {
    display: none !important;
  }
  .pform .form-row .form-group {
    text-align: left;
    margin-bottom: 0.5rem;
    width: 100%;
  }
  .form-row .pform .form-input {
    flex: 0 0 100%;
    width: 100%;
  }
  .pform .form-actions {
    padding: 0 24px 10px;
    height: 85px;
    margin-top: 0;
  }
}

@media screen and (min-width: 768px) {
  .pform form {
    height: 455px;
    max-width: 500px;
    margin: auto;
  }
  .pform button {
    font-size: 18px;
    padding: 10px 20px;
  }
  .pform .tab {
    height: 220px;
    padding: 0 40px;
  }
	.pform #step6.tab {
		height: 180px;
	}
  .pform .form-input input {
  	border-width: 4px;
  }
  .pform .form-group>label {
    font-size: 16px;
  	margin-bottom: 5px;
  }
  .pform .form-group-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .pform .form-group-flex > label {
    flex: 0 0 40%;
    font-size: 18px;
    margin-bottom: 0;
  }
  .pform .dob_container {
    margin-bottom: 1.5rem;
  }
  .pform .form-group--radio span.error {
    bottom: -10px;
  }

  .pform .form-input .radio_container,
  .pform .form-input .checkbox_container {
  	display: inline-block;
  }
  .pform .radio_container .checkmark {
    padding: 15px;
    font-size: 18px;
    border-width: 4px;
  }
  /** Input Specific*/
  .pform .form-group--radio .form-input {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
  }

  /** Input Specific*/
  .pform .form-input .radio_container img {
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    margin: 0 auto 5px auto;
    max-width: 50px;
    display: block;
  }
  .pform .form-input .radio_container:hover img,
  .pform .form-input .radio_container img.hover-image,
  .pform .radio_container input:checked~.checkmark img,
  .pform .form-input .radio_container input.error~.checkmark img {
    display: none;
  }
  .pform .form-input .radio_container:hover img.hover-image,
  .pform .radio_container input:checked~.checkmark img.hover-image,
  .pform .form-input .radio_container input.error~.checkmark img.hover-image  {
    display: block;
  }
  .pform .form-input .radio_container {
    width: calc(50% - 10px);
  }
  .pform .form-input.three-col .radio_container {
    width: calc(33.3334% - 10px);
  }
  .pform .form-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
  }
  .pform .form-row .form-group {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    margin-bottom: 32px;
    margin-left: 10px;
    margin-right: 10px;
  }
  #indicator {
    max-width: 420px;
  }

}



@media (max-width:767px){

.pform .form-group>label.head_label {
    text-align: left;
    max-width: 100%;
}

}
