@charset "utf-8";
/* CSS Document */


	
	/* style all elements with a required attribute */
input.error {				/* puts a red border around error fields */
   border:1px dotted red;
}
.error {color: red} /* colors the error text red */



.cmxform fieldset p label span.error { color: red; }
/*form.cmxform { width: 30em; }*/
form.cmxform label {
	width: auto;
	/*display: block;*/
	float: none;
	font-weight: 700;
}

/* 	remove left padding from form-check class as it throws off alignment of
	custom-styled radio buttons */
.form-check {
	padding-left: 0;
}

/*section {
  display: flex;
  flex-flow: row wrap;
}
section > div {
  flex: 1;
  padding: 0.5rem;
}*/
input[type="radio"], input[type="checkbox"] {
  /*display: none;*/
clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
label.radio {
  /*height: 100%;*/
  display: block;
  color: white;
  background: #284a7d;
  /*border: 2px solid hsla(150, 75%, 50%, 1);*/
  border-radius: 20px;
  /*padding: 1rem;*/
  padding: 2px 6px 0px;
  /*margin-bottom: 1rem;*/
  margin-top: 2px;
  margin-bottom: 2px;
  text-align: center;
  /*box-shadow: 0px 3px 10px -2px hsla(150, 5%, 65%, 0.5);*/
  position: relative;
}
	label.radio:hover {
		background: #337ab7;
		cursor: pointer;
	}
input[type="radio"]:checked + label, input[type="checkbox"]:checked + label {
  background: #337ab7;
 /* color: hsla(215, 0%, 100%, 1); */
  /*box-shadow: 0px 0px 20px hsla(150, 100%, 50%, 0.75);*/
  
}


/* increase bottom margin for form spacing */
	.form-group {
		margin-bottom: 30px;
	}
	
	
/* dropdownlist custom formatting */
select {
	cursor: pointer;

  /* styling */
  background-color: white;
  border: thin solid #820000;
  border-radius: 4px;
  display: inline-block;
  font: inherit;
  line-height: 1.5em;
  padding: 0.5em 3.5em 0.5em 1em;

  /* reset */

  margin: 0;      
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}



/* arrows */

select.classic {
	background-image:
    linear-gradient(45deg, transparent 50%, white 50%),
    linear-gradient(135deg, white 50%, transparent 50%),
    linear-gradient(to right, #284a7d, #284a7d);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    100% 0;
  background-size:
    5px 5px,
    5px 5px,
    2.5em 2.5em;
/*  background-image:
    linear-gradient(45deg, transparent 50%, white 50%),
    linear-gradient(135deg, white 50%, transparent 50%),
    linear-gradient(to right, #820000, #820000);*/

  background-repeat: no-repeat;
}

select.classic:focus {
  background-image:
    linear-gradient(45deg, white 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, white 50%),
    linear-gradient(to right, #337ab7, #337ab7);
  background-position:
    calc(100% - 15px) 1em,
    calc(100% - 20px) 1em,
    100% 0;
  background-size:
    5px 5px,
    5px 5px,
    2.5em 2.5em;
	
/*	background-image:
    linear-gradient(45deg, white 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, white 50%),
    linear-gradient(to right, #337ab7, #337ab7);
  background-position:
	  calc(100% - 12px) 1em,
    calc(100% - 16px) 1em,
    100% 0;
  background-size:
    5px 5px,
    5px 5px,
    2.5em 2.5em;*/
  background-repeat: no-repeat;
  border-color: grey;
  outline: 0;
}

/* styles for web forms sub form sections */
@media (min-width: 768px) {
	.subform {
		margin-bottom: 20px;
		padding: 10px 50px;
    	background-color: #efefef;
    	-webkit-border-radius: 6px 6px 6px 6px;
		border-radius: 6px 6px 6px 6px;
    	-moz-box-shadow: inset 0 0 10px #ccc;
    	-webkit-box-shadow: inset 0 0 10px #ccc;
    	box-shadow: inset 0 0 10px #ccc;
	}
	.webform {	/* override settings in custom.css; revise later */
		padding: 18px 100px 18px 100px;
		max-width: 1170px;
	}
}
		
/* add padding to bootrap columns to narrow button widths */
@media (min-width: 992px) {
	.col-md-6 {
    	width: 50%;
    	/*padding: 0 160px;*/
	}
}
@media screen and (max-width: 767px) {
	/* reduce spacing between rows */
	.form-group {
		/*margin-bottom: 0px;*/
	}
	/* add spacing between split columns (col-sm-6) */
		.addpad {
			margin-top: 30px;
	}
	/* add spacing between bottom of form and submit button on mobile */
	.g-recaptcha {
		margin-top: 20px;
	}
}
/* custom radio/chekbox button sizing */
.narrowbutton {
	 margin: 10px 30%;
}
/* resize for smaller displays to prevent text wrapping */
@media screen and (max-width: 480px) {
	.narrowbutton {
	 margin: 10px 10%;
	}
}