
.form-control:focus {
	    -webkit-box-shadow: none;
		box-shadow: none;
}
.formLabel {
	text-align: center;
	font-size: 2em;
    margin-bottom: .5em;
}
form label {
	display: block;
	font-size: .9em;
	margin: .5em 0 0 .3em;
}
input[type='text'], input[type='tel'], input[type='email'], textarea, select {
	width: 100%;
    border: 1px solid #7b868a;
	border-radius: .5em;
    padding: .6em;
}
.css-zgmajg {
	border-radius: .5em;
}
input.css-d29rte {
	border: none;
	padding: 0 .6em;
}
.formsubmit {
	text-align: center;
}
.submitButton {
	border-radius: 5px;
	margin: 1.5em 0 0;
	cursor: pointer;
	background-color: #0085ca;
    border: 1px solid #0085ca;
    color: #fff;
    font-size: 1.2em;
    padding: .4em 1em;
	position: relative;
}
.submitButton:focus {
	outline: none;
}

/* honeypot field */
fieldset.agreetoterms {
	position: absolute;
	left: -9999px;
}

/* hide city and state form elements on qual form */
form div.city, form div.state {
	display: none;
}
.js-form.qual .js-defaultcontent {
	display: none;
}
.js-form.qual .js-defaultcontent.show {
	display: block;
}
.js-altcontent {
	display: none;
}
.js-qualformpromo {
	display: none;
}
.js-qualformpromo.show {
	display: block;
}
.form.horizontal .formfields {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
}
.form.horizontal .formsubmit {
	text-align: center;
}
.form.horizontal .submitButton {
	background: #0c88c8;
	border: 1px solid #0c88c8;
	border-radius: .5em;
	color: #fff;
	padding: 10px 28px;
}
.form.horizontal .submitButton:hover {
	background: #3443bf;
	border: 1px solid #3443bf;
}

.form.horizontal .formfield {
	padding: 5px;
}
.form.horizontal input,
.form.horizontal select {
	width: 100%;
	border: none;
	border-radius: .5em;
	box-shadow: 0px 3px 13px 0px rgba(0,0,0,0.26);
	padding: .8em;
}
.form.horizontal select {
	display: block;
	cursor: pointer;
	padding: .6em 1.4em .9em .8em;
	width: 100%;
	max-width: 100%; 
	box-sizing: border-box;
	margin: 0;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230085ca%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat;
	background-position: right .7em top 50%;
	background-size: .65em auto;
}
.form.horizontal select::-ms-expand {
	display: none;
}
.form.horizontal select:focus {
	outline: none;
}
.form.horizontal label {
	color: #80888b;
	font-size: .95em;
	margin-bottom: 4px;
}
@media all and (min-width: 767px) { /* Desktop: */
	.form.horizontal .formfields {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
	}
}


/* FORM PROCESSING OVERLAY STYLE */
@keyframes spinning {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
.submitLayer {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #0085ca;
    border-radius: .5em;
	padding-top: 10px;
}
.submitLayer img {
	width: 20px;
    animation: spinning 10s linear infinite;
    -ms-animation: spinning 10s linear infinite;
    -moz-animation: spinning 10s linear infinite;
    -webkit-animation: spinning 10s linear infinite;
}

.js-form {
	position: relative !important;
}

/*  !!!! .js-processingOverlay styles can be deleted as soon as that div is removed from the forms    */
.js-processingOverlay {
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	color: #fff;
	text-align: center;
	justify-content: center;
	flex-direction: column;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
}


/* !!!! BEGIN FORM VALIDATION CSS !!! */

input.error, select.error {
	border: 1px solid red !important;
}
form div.error, form span.error {
	color: red;
	font-size: .9em;
    display: inline-block;
    padding-left: .4em;
}
/* !!!! END FORM VALIDATION CSS !!! */

/* Begin - Generic Promo Form */
.promo-quote-form {
	background: #272b2c;
    border-radius: .5em;
    color: #fff;
    width: 100%;
    max-width: 500px;
	margin: auto;
    padding: 1.3em 2.6em 2.4em;
}
.promo-quote-form form div.error {
	color: #ffb81c;
}
.promo-quote-form input.error, .promo-quote-form select.error {
    border: 1px solid #ffb81c !important;
}
.promo-quote-form .formLabel {
	font-family: Roboto Slab, 'Lucida Console', Monaco, monospace, serif;
	font-weight: 300;
	font-size: 30px;
	text-align: center;
}
.promo-quote-form form label {
	font-size: .9em;
}
.promo-quote-form input[type='text'], .promo-quote-form input[type='tel'], .promo-quote-form input[type='email'], .promo-quote-form textarea, .promo-quote-form select {
	width: 100%;
    border: none;
    padding: .65em;
}
.promo-quote-form .formsubmit {
	text-align: center;
}
.promo-quote-form .submitButton {
	cursor: pointer;
	background: #0085ca;
    border: 1px solid #0085ca;
    color: #fff;
    font-size: 1.2em;
    padding: .5em 1em;
}
.promo-quote-form .submitButton:hover {
	background: #3443bf;
	border: 1px solid #3443bf;
}
/* End - Generic Promo Form */

/* Begin - Blog */
.blog-position {text-align: left;}
.blog-position .formLabel {}
/* End - Blog */

/* Begin: Partner */
.partner-form {
    width: 100%;
    max-width: 550px;
    margin: auto;
    background: #c7d5da;
    border-radius: .5em;
    padding: 1.5em 2em;
}
/* End: Partner */

/* Begin: Edit Address */
#editaddressform .js-form {
	background: #ebeae6;
	border: 1px solid #e2e0d8;
	border-radius: .5em;
	box-shadow: 0 0 12px 4px rgba(0,0,0,.05);
	padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media all and (min-width: 1200px) {
	#editaddressform .js-form {
		width: 100%;
		max-width: 1200px;
	}
}
#editaddressform label {
	text-align: left;
}
/* End: Edit Address */

/* Begin: 404 Search Form */
.not-found-search form {
	display: flex;
	justify-content: center;
}
.not-found-search input {
    width: 600px;
    max-width: 100%;
    border-radius: .5em 0 0 .5em;
}
.not-found-search #btnSearch {
    background: #FFF;
    border: 1px solid #7b868a;
    border-width: 1px 1px 1px 0;
	border-radius: 0 .5em .5em 0;
    color: #ff671b;
    width: 44px;
    height: 45px;
	cursor: pointer;
}
.not-found-search #btnSearch:hover {
	background: #ff671b;
	color: #fff;
}
/* End: 404 Search Form */

