form.mx_form .mx_form_row {
    display: block;
	width: 100%;
	margin-bottom: 10px;
}

form.mx_form .mx_form_row:after {
content: "";
clear: both;
display: block;
}

form.mx_form .mx_form_spacer {
    display: block;
	width: 100%;
	height: 40px;
}

form.mx_form .mx_form_label {
	display: block;
	width: 100%;
	height: 40px;
	font-weight: bold;
}

form.mx_form .mx_form_row > label {
	width: 25%;
	float: left;
	display: block;
}

form.mx_form input[type=submit] {
	margin-left: 25%;
    margin-top: 10px;
	margin-bottom: 170px;
}

form.mx_form .mx_form_input {
	float: left;
	display: block;
	width: 50%;
}

input.mx_captcha {
	max-width: 60px;
}

input.datepicker {
max-width: 250px;
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z"/></svg>');
background-position: right 10px center;
background-repeat: no-repeat;
}

.mx_form_input_option {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 8px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.mx_form_input_option input[type='checkbox'],
.mx_form_input_option input[type='radio']{
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.mx_form_input_option label {
  cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #DDD;
}

.radiomark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #DDD;
  border-radius: 50%;
  }

/* On mouse-over, add a grey background color */
.mx_form_input_option:hover input[type='checkbox'] ~ .checkmark,
.mx_form_input_option:hover input[type='radio'] ~ .radiomark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.mx_form_input_option input[type='checkbox']:checked ~ .checkmark,
.mx_form_input_option input[type='radio']:checked ~ .radiomark {
  background-color: #2ca5d9;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after,
.radiomark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.mx_form_input_option input[type='checkbox']:checked ~ .checkmark:after,
.mx_form_input_option input[type='radio']:checked ~ .radiomark:after {
  display: block;
}

/* Style the checkmark/indicator */
.mx_form_input_option .checkmark:after {
left: 8px;
  top: 4px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.mx_form_input_option .radiomark:after { 
top: 7px;
  left: 7px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}

select {
-webkit-appearance: none;
  -moz-appearance: none;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="11.8" viewBox="0 0 20 11.8"><path d="M9.7 3.2H16L12.8 6 9.7 8.9 6.5 6 3.3 3.2"/></svg>')right 10px top 50% no-repeat #fff;
  padding-right: 35px;
  cursor: pointer;
  min-width: 250px;
}

@media screen and (max-width: 640px) {

form.mx_form .mx_form_row {
margin-bottom: 25px;
}

form.mx_form .mx_form_row > label, form.mx_form .mx_form_input {
width: 100%;
}

form.mx_form input[type=submit] {
	margin-left:0;
	display: block;
	width: 100%;
}

} /* end mediaquery */