form {
	box-sizing:initial;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-transition-delay: 9999s;
    -webkit-transition: color 9999s ease-out, background-color 9999s ease-out;
}
DIV.input-row, DIV.display-row {
	overflow:hidden;
	margin-bottom:4px;
	clear:both;
}
DIV.display-row {
	line-height:22px;
}
DIV.input-row label,
DIV.display-row .label {
	display: block;
	font-weight:bold;
	padding-bottom: 10px;
}
DIV.display-row .label {
	padding-top:0px;
}
DIV.input-row:not(.HTML_CheckBoxes):not(.HTML_Radio) input, DIV.display-row .data {
    width: 100%;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	padding: 2px 15px 1px 15px;
	border: 1px solid #d2d2d2;
	
	-webkit-appearance: none;
	-moz-appearance: none;
}
DIV.input-row select {
    width: 100%;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	padding: 2px 15px 1px 15px;
	border: 1px solid #d2d2d2;
}
DIV.input-row input[type=file] {
	padding: 0px;
	border: 0px solid #d2d2d2;
}
DIV.display-row .data ul {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}
DIV.input-row input.chkBx {
	width: auto;
}

DIV.input-row textarea {
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
	font-size:14px;
	width: 100%;
    max-width: 100%;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	padding: 7px 15px;
	border: 1px solid #d2d2d2;
	
	-webkit-appearance: none;
	-moz-appearance: none;
}
DIV.action-row {
	overflow: hidden;
}
DIV.action-row span {
	display: block;
}
DIV.input-row span.error,
div.error,
p.error {
	color: #b94a48;
    font-weight: bold;
    display: block;
    margin: 0px;
    text-align: left;
    padding: 10px 15px;
    margin-bottom: 15px;
	font-weight: normal;
    font-size: 18px;
    text-align: center;
}
form div.input-row ul {
	overflow:hidden;
	margin:0;
	padding:0;
	list-style:none;
}
form div.input-row ul li {
	overflow: hidden;
	padding-right:4px;
	margin:0px 4px 6px 0px;
}
form div.input-row ul li label {
	display:inline;
	width:auto;
}

form .btn {
    padding: 7px 15px;
    line-height: 20px;
    cursor: pointer;
    display: block;
    text-align: center;
    box-sizing: border-box;
	
	margin: 0px auto;
	min-width: 200px;
	font-size: 20px;
}

input#tandc {
	margin-left: 28px;
}

div#acceptableEnc {
	height: 0px;
	width: 0px;
	position: absolute;
	left: -9999999px;
	top: -9999999px;
}

@media screen and (max-width: 480px) {
	DIV.input-row label {
		text-align:left;
	}
	
	DIV.action-row,
	div.error {
		margin:8px 0px 8px 0px;
	}

}



/* Fancy Options */
form .mainset .option {
    display: block;
    position: relative;
	margin-bottom: 14px;
}
form .mainset .option .label {
    position: absolute;
    top: 12px;
    left: 15px;
    font-weight: normal;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0px;
    margin: 0px;
	
	width: auto;
    float: none;
    line-height: inherit;
    padding-right: 0px;
	z-index: 10;
}
form .mainset .option .label span {
    font-size: 10px;
	padding-left: 4px;
	opacity: 0.6;
}
form .mainset .option .input-row {
    display: block;
	width: 100%;
}

div.input-row {
	overflow: hidden;
	position: relative;
	margin-bottom: 0px;
}
div.input-row input[type=text], div.input-row input[type=email], div.input-row input[type=number], div.input-row input[type=password], div.input-row textarea {
	padding: 15px 15px 5px 15px;
    border: 0px;
    border-bottom: 1px solid #cccccc;
    line-height: 26px;
    height: 47px;
    font-size: 16px;
}
div.input-row select {
	border: 0px;
	border-bottom: 1px solid #cccccc;
	cursor: pointer;
	padding-top: 0px;
	padding-bottom: 0px;
	font-size: inherit;
}
div.option.focus .label, div.option.forceFocus .label {
	font-size: 10px;
	top: 1px;
	font-weight: bold;
}
div.option input:focus, div.option textarea:focus, div.option select:focus {
	outline: none;
}
div.option input:disabled, div.option textarea:disabled, div.option select:disabled, div.option input:read-only, div.option textarea:read-only {
	background-color: rgba(0, 0, 0, 0.02);
	cursor: default;
}



@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);
  }
}
form.invalid {
	animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
	transform: translate3d(0, 0, 0);
}
div.checkboxSet .data div label, div.singleCheckbox label {
	position: static !important;
    top: initial !important;
    left: initial !important;
	font-size: 16px !important;
	font-weight: normal !important;
}


/* Form Styles */
form[id^="contactform-"] .mainset .option:nth-child(1), form[id^="contactform-"] .mainset .option:nth-child(3) {
	width: calc(50% - 7px);
    box-sizing: border-box;
    float: left;
    margin-bottom: 14px;
	margin-right: 7px;
    clear: left;
}
form[id^="contactform-"] .mainset .option:nth-child(2), form[id^="contactform-"] .mainset .option:nth-child(4) {
	width: calc(50% - 7px);
    box-sizing: border-box;
    float: left;
    margin-bottom: 14px;
	margin-left: 7px;
    clear: right;
}
form[id^="contactform-"] .mainset .option:nth-child(5) {
    float: none;
    clear: both;
}
form[id^="contactform-"] .mainset .option:nth-child(5) textarea {
	height: 136px;
}