/*

CONTACT FORM

 */

/* BEGIN contact form styling */
/* Styling for form fields container structure */
.form-container {
	font-family: 'Dosis';
	display: block;
	max-width: 620px !important;
	width: 100%;
	margin-top: 40px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-bottom: 60px;
}
.form-container .column-50,
.form-container .column-100 {
  display: inline-block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 1rem 1rem 1rem;
  background-color: transparent !important;
}

.form-container .column-100 {
  width: 100%;
}
.form-container .column-50 {
  vertical-align: top;
  width: 50%;
}
.form-container .wrapped-label {
  display: inline-block;
  white-space: normal;
  max-width: 100%;
}
.form-container .radio-set {
  margin-bottom: 1em;
}
.form-container .radio-set label {
  display: inline-block;
  white-space: nowrap;
  margin: 0 1em 0.75em 0;
}
.form-container .radio-set label:first-of-type {
  margin-left: 1em;
}
.form-container .left {
  text-align: left;
}
.form-container .right {
  text-align: right;
}
.form-container .center {
  text-align: center;
}
@media screen and (max-width: 600px) {
  .form-container .column-50 {
    width: 100%;
  }
  .form-container label {
    white-space: nowrap;
  }
}
/* Styling form input elements and selects */
.contact-form {
  -webkit-text-size-adjust: 100%;
  /* Prevent font scaling in landscape while allowing user zoom */

}
.contact-form a {
	text-decoration: none;
	color: #e24159;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
	font-size: 1.1em;
	display: block;
	width: 100%;
	height: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	color: inherit;
	margin-bottom: 1em;
	padding: 1em;
  	background-color: transparent !important;
	border: 1px solid #cecece;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	/*-moz-box-shadow: 0 0 5px #dddddd;
	-webkit-box-shadow: 0 0 5px #dddddd;
	box-shadow: 0 0 5px #dddddd;*/
	-webkit-font-smoothing: antialiased !important;
	font-weight: 400;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.contact-form input:active,
.contact-form textarea:active,
.contact-form select:active,
.contact-form input.focus-state,
.contact-form textarea.focus-state,
.contact-form select.focus-state {
	outline: none;
	background-color: #ffffff;
	border-color: #3B92CF;
	/*-moz-box-shadow: 0 0 5px #66bbfd;
	-webkit-box-shadow: 0 0 5px #66bbfd;
	box-shadow: 0 0 5px #66bbfd;*/
}
.contact-form input:disabled,
.contact-form textarea:disabled,
.contact-form select:disabled {
	opacity: 0.8;
	background-color: #fafafa;
	color: rgba(51,51,51,1);
}
.contact-form input:last-child,
.contact-form textarea:last-child,
.contact-form select:last-child {
  margin-bottom: 0;
}
.contact-form input.error,
.contact-form textarea.error,
.contact-form select.error {
	border-color: #3B92CF;
	border-width: 2px;
}
.contact-form input[type="checkbox"],
.contact-form input[type="radio"],
.contact-form input[type="button"],
.contact-form input[type="submit"],
.contact-form input[type="reset"],
.contact-form button {
  display: inline-block;
  width: auto;
}
.contact-form input[type="button"],
.contact-form input[type="submit"],
.contact-form input[type="reset"],
.contact-form button {
	color: #ffffff;
	background-color: #3B92CF !important;
	border-color: #3B92CF !important;
}
.contact-form input[type="button"]:focus,
.contact-form input[type="submit"]:focus,
.contact-form input[type="reset"]:focus,
.contact-form button:focus,
.contact-form input[type="button"]:active,
.contact-form input[type="submit"]:active,
.contact-form input[type="reset"]:active,
.contact-form button:active,
.contact-form input[type="button"].focus-state,
.contact-form input[type="submit"].focus-state,
.contact-form input[type="reset"].focus-state,
.contact-form button.focus-state {
	background-color: #3B92CF !important;
	border-color: #3B92CF !important;
}
.contact-form input[type="submit"] {
  -webkit-transition: all 500ms;
  -moz-transition: all 500ms;
  -ms-transition: all 500ms;
  -o-transition: all 500ms;
  transition: all 500ms;
}
.contact-form input[type="submit"].state-success {
  background-color: #2fa94f;
  border-color: #2fa94f;
  width: 130px;
}
.contact-form input[type="submit"].state-error {
  background-color: #3B92CF;
  border-color: #3B92CF;
  width: 250px;
}
.contact-form input[type="submit"].state-initial {
  width: 200px;
}
.contact-form textarea {
  height: 200px;
  resize: vertical;
}
.contact-form input[type="radio"],
.contact-form input[type="checkbox"] {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  margin: 0;
  padding: 0;
  height: 10px;
}
.contact-form input[type="radio"] + span,
.contact-form input[type="checkbox"] + span {
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  background-color: #ffffff;
  border: 1px solid #cecece;
  text-align: center;
  vertical-align: top;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}
.contact-form input[type="radio"] + span::after,
.contact-form input[type="checkbox"] + span::after {
  content: "";
  display: inline-block;
  opacity: 0;
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  -ms-transition: all 200ms;
  -o-transition: all 200ms;
  transition: all 200ms;
}
.contact-form input[type="radio"]:focus + span,
.contact-form input[type="checkbox"]:focus + span,
.contact-form input[type="radio"]:active + span,
.contact-form input[type="checkbox"]:active + span,
.contact-form input[type="radio"].focus-state + span,
.contact-form input[type="checkbox"].focus-state + span {
	border-color: #3B92CF;
}
.contact-form input[type="radio"]:checked + span::after,
.contact-form input[type="checkbox"]:checked + span::after {
  opacity: 1;
}
.contact-form input[type="radio"]:disabled + span,
.contact-form input[type="checkbox"]:disabled + span {
  opacity: 0.8;
  background-color: #fafafa;
  border-color: #e8e8e8;
}
.contact-form input[type="radio"].error + span,
.contact-form input[type="checkbox"].error + span {
  border-color: #3B92CF;
  border-width: 2px;
}
.contact-form input[type="radio"] + span {
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
 /* -moz-box-shadow: 0 0 5px #dddddd;
  -webkit-box-shadow: 0 0 5px #dddddd;
  box-shadow: 0 0 5px #dddddd;*/
}
.contact-form input[type="radio"] + span::after {
  -webkit-border-radius: 1em;
  -moz-border-radius: 1em;
  border-radius: 1em;
  background-color: #33a4fd;
}
.contact-form input[type="radio"]:checked + span::after {
  border: 0.2em solid #ffffff;
}
.contact-form input[type="radio"]:disabled + span::after {
  background-color: #cecece;
}
.contact-form input[type="checkbox"] + span {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
 /* -moz-box-shadow: 0 0 5px #dddddd;
  -webkit-box-shadow: 0 0 5px #dddddd;
  box-shadow: 0 0 5px #dddddd;*/
}
.contact-form input[type="checkbox"] + span::after {
  height: 0.5em;
  width: 0.85em;
  background-color: transparent;
  border: 0 solid #33a4fd;
  vertical-align: bottom;
  -webkit-transform: rotate(-45deg) translate(40%, -55%);
  -moz-transform: rotate(-45deg) translate(40%, -55%);
  -ms-transform: rotate(-45deg) translate(40%, -55%);
  -o-transform: rotate(-45deg) translate(40%, -55%);
  transform: rotate(-45deg) translate(40%, -55%);
}
.contact-form input[type="checkbox"]:checked + span::after {
  border-left-width: 0.2em;
  border-bottom-width: 0.2em;
}
.contact-form input[type="checkbox"]:disabled + span::after {
  border-color: #cecece;
}
.contact-form label span.upper-label {
  margin: 0.5em 0;
  display: block;
}
.contact-form label.custom-select {
  position: relative;
  display: block;
  font-size: 1.1em;
	font-weight: 400;
}
.contact-form label.custom-select span {
	position: absolute;
	display: inline-block;
	text-align: center;
	right: 0;
	top: 0;
	height: 100%;
	width: 3.5em;
	pointer-events: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #3B92CF !important;
	border: 1px solid #cecece;
}
.contact-form label.custom-select span::after {
  content: "";
  display: inline-block;
  width: 20%;
  height: 20%;
  -webkit-transform: rotate(-45deg) translate(-80%, 80%);
  -moz-transform: rotate(-45deg) translate(-80%, 80%);
  -ms-transform: rotate(-45deg) translate(-80%, 80%);
  -o-transform: rotate(-45deg) translate(-80%, 80%);
  transform: rotate(-45deg) translate(-80%, 80%);
  border: 0 solid ;
  border-left-width: 0.25em;
  border-bottom-width: 0.25em;
	rgba(211,54,74,1.00)
}
.contact-form label.custom-select select:active + span,
.contact-form label.custom-select select:focus + span,
.contact-form label.custom-select select.focus-state + span {
	background-color: #3B92CF !important;
	border: 1px solid #3B92CF;
}
.contact-form label.custom-select select.error + span,
.contact-form label.custom-select select.error:active + span,
.contact-form label.custom-select select.error:focus + span,
.contact-form label.custom-select select.error.focus-state + span {
	background-color: rgba(189,53,65,1.00);
	border: 1px solid rgba(189,53,65,1.00);
}
.contact-form label.custom-select select:disabled + span {
	background-color: rgba(189,53,65,1.00);
}
.contact-form .notification-box {
  display: block;
  padding: 1em;
  margin: 0 1em 1em 1em;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: #ffffff;
  text-align: center;
  -webkit-transition: all 600ms;
  -moz-transition: all 600ms;
  -ms-transition: all 600ms;
  -o-transition: all 600ms;
  transition: all 600ms;
}
.contact-form .notification-box.show-error,
.contact-form .notification-box.show-success {
  border: 1px solid #e2513f;
  background-color: #e9796b;
  max-height: 50vh;
  overflow: auto;
  opacity: 1;
}
.contact-form .notification-box.show-error {
	background-color: #72B1DC;
	border-top-color: #3B92CF;
	border-right-color: #3B92CF;
	border-bottom-color: #3B92CF;
	border-left-color: #3B92CF;
}
.contact-form .notification-box.show-success {
  border-color: #2fa94f;
  background-color: #41ca65;
}
/* END contact form styling */
