/* body { margin: 0;} */

/* ELEMENTS */
/* Header */
#wd_printable_content h1 {
    font-size:36px;
    line-height:48px;
    color: #243746;
    margin: 0;
	font-weight: 700;

    text-align: center;
}

/* Label */
#wd_printable_content label {
    width: 100%;
    font-size: 16px;
	cursor: pointer;
}

/* Inputs */
#wd_printable_content input[type="search"], 
#wd_printable_content input[type="text"], i
#wd_printable_content input[type="number"], 
#wd_printable_content input[type="url"], 
#wd_printable_content input[type="email"], 
#wd_printable_content input[type="tel"], 
#wd_printable_content textarea {
    box-sizing: border-box;
    color: #243746;
    font-family: inherit;
    font-size: 16px;
    line-height: 50px;
    height: 50px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    background: #fff;
    box-shadow: inset 0 0 0 2px #d3d8e0;
    border: 0;
    border-radius: 5px;
    transition: box-shadow .25s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#wd_printable_content input[type="search"]:focus,
#wd_printable_content input[type="text"]:focus,
#wd_printable_content input[type="number"]:focus,
#wd_printable_content input[type="url"]:focus,
#wd_printable_content input[type="email"]:focus,
#wd_printable_content input[type="tel"]:focus,
#wd_printable_content textarea:focus {
	box-shadow: inset 0 0 0 1px #1D3043;
	outline: none;
}

#wd_printable_content input[type="submit"] {
    margin: 0;
	cursor: pointer;
	max-width: 100%;
	vertical-align: top;
	display: inline-block;
	box-sizing: border-box;
    color: #243746;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 50px;
	height: 50px;
	width: auto;
	padding: 0 25px;
    background: #fff;
	border: 1px solid #243746;
	border-radius: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	transition: color 0.25s, background 0.25s;
}

#wd_printable_content input[type="submit"]:hover {
    color: #fff;
    background: #243746;
}

/* Error */
#wd_printable_content .wd_form_field_error {
    margin: 0 0 0 8px;
}





/* LAYOUT */
#wd_printable_content ~ .footer { display: none; }

#wd_printable_content form {
    width: 100%;
    display: flex;
	flex-wrap: wrap;
}

#wd_printable_content .wd_form_header,
#wd_printable_content .wd_form_footer {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;

	flex: 0 0 auto;
    padding: 10px 15px;
	box-sizing: border-box;
	align-items: stretch;
}

/* only conent: "* Required Fields"; remove if more content is added */
#wd_printable_content .wd_form_legend { display: none; } 

#wd_printable_content .wd_form_footer .wd_form_buttons {
    margin: 0;
    width: fit-content;
}

#wd_printable_content .wd_form_field {
    flex: 0 0 auto;
    margin: 0;
    width: 50%;
    padding: 10px 15px;
    box-sizing: border-box;
    align-items: stretch;
}

#wd_printable_content .wd_form_field_label,
#wd_printable_content .wd_form_field_input {
    width: 100%;
    display: flex; /* will not affect.wd_form_field_label; only has one child */
    flex-flow: column-reverse nowrap; /* will not affect.wd_form_field_label; only has one child */
} 





/* LAYOUT - SPECIAL CASE */
#wd_printable_content .wd_form_field:nth-of-type(5) { width: 100%; }

#wd_printable_content .wd_form_header + .wd_form_field,
#wd_printable_content .wd_form_field:nth-last-of-type(2) {
    flex: 1 0 auto;
    width: 100%;
}

#wd_printable_content .wd_form_header + .wd_form_field .wd_form_field_input { text-align: center; }

#wd_printable_content #recaptcha2_widget {
    margin: 0 auto;
    width: fit-content;
}

#wd_printable_content .wd_form_field:nth-last-of-type(2) .wd_form_field_error { text-align: center; }




@media screen and (max-width: 450px) {
    #wd_printable_content .wd_form_field { width: 100%; }
    #wd_printable_content .wd_form_field:nth-last-of-type(2) .wd_form_field_error { text-align: left; }
}