form.mx_form .mx_form_row {
	display: flex;
	width: 100%;
	margin-bottom: 15px;
    flex-wrap: wrap;
}

form.mx_form .mx_form_spacer {
	width: 100%;
	clear: both;
	height: 1em;
	margin-bottom: 15px;
}

form.mx_form .mx_form_subheading {
	width: 100%;
	font-weight: bold;
	margin-bottom: 15px;
}

form.mx_form .mx_form_label {
	width: 40%;
    font-weight: normal;
}

form.mx_form input[type=submit] {
	margin-left: 40%;
}

form.mx_form .mx_form_input {
    width: 60%;
}

form.mx_form .mx_form_input_option {
    margin-bottom: 4px;
}

form.mx_form .mx_form_input_other {
    margin-top: 4px;
}

.mx_form_input input.datepicker {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><g fill="rgba(0, 0, 0, 1)"><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"/></g></svg>');
    background-position: right 10px center;
    background-repeat: no-repeat;
}

.mx_form_input input[type="file"]::file-selector-button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight:  inherit;
}

.mx_form_input 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"><g fill="rgba(0, 0, 0, 1)"><path d="M9.7 3.2H16L12.8 6 9.7 8.9 6.5 6 3.3 3.2"/></g></svg>')right 5px top 50% no-repeat;
  padding-right: 25px;
  cursor: pointer;
  border:solid 1px #CCCCCC;
-webkit-border-radius:  7px;
-moz-border-radius: 7px;
-khtml-border-radius: 7px;
border-radius: 7px;
background-color: #FFFFFF;
width: 100%;
padding:5px 10px;
}

form.mx_form input[type=text], form.mx_form input[type=email], form.mx_form textarea {
width:100%;
border:solid 1px #CCCCCC;
-webkit-border-radius:  7px;
-moz-border-radius: 7px;
-khtml-border-radius: 7px;
border-radius: 7px;
padding:5px 10px;
}

.mx_form_input input:focus::placeholder {
  color: transparent;
}

.mx_captcha {
	width: 50px!important;
}

.mx_error input, .mx_error textarea {
    border-color: red;
}

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

form.mx_form .mx_form_label {
	width: 100%;
	padding-right: 0;
}

form.mx_form .mx_form_input {
    width: 100%;
}

form.mx_form input[type=submit] {
	margin-left: 0;
}

} /* end mediaquery */