@charset "UTF-8";

.form-container {
	display: none; /* Hide by default to only show if JS is enabled */
}

form#form-contact {
    margin-top: 1em;
}

form input,
form textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    display: block;
    box-sizing: border-box;
    width: 100%;
    
    margin-bottom: 1em;
    
    border: solid 2px #777;
    border-radius: 0;
    box-shadow: none;
    
    font-size: 1em;
    padding: 0.5em;
    
    font-family: "freight-sans-pro", sans-serif;
    font-weight: 400;
    line-height: 1.2;
}

form input[type=text]:focus,
form input[type=tel]:focus,
form input[type=email]:focus,
form textarea:focus {
    outline: none;
    
    border-color: #333333;
    
    background-image: linear-gradient(135deg, #ffffff 25%, #fcfcfc 25%, #fcfcfc 50%, #ffffff 50%, #ffffff 75%, #fcfcfc 75%, #fcfcfc 100%);
	background-size: 56.57px 56.57px;
}


form input[type=submit] {
    cursor: pointer;
    width: 100%;
    border-color: white;
}

form input[type=submit]:focus {
    outline: none;
}

form div.button-frame {
	position: relative;
	display: inline-block;
	padding: 0;
}

form input[type=submit].button {
	margin-bottom: 0;
}

form input[type=submit].button:hover,
form input[type=submit].button:active {
	background: transparent;
}


form textarea {
	line-height: 1.3;
	height: 20em;
	min-height: 20em;
    resize: vertical;
}

form label {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

form ul.form-structure {
    list-style: none;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

form ul.form-structure > li {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

form span.needed-label {
	font-size: 90%;
	font-style: italic;
	text-align: right;
	display: block;
	float: right;
	color: #999;
}

form ul.form-structure > li.button-container {
	position: relative;
}

form ul.form-structure > li.files {
	position: relative;
}


form ul.form-structure > li.button-container input.button {
	z-index: 10;
}

form .uploaded-files-header {
	display: none;
}

form .uploading-status-container {
	display: none;
	background: white;
	margin: 0;
	text-align: center;
	position: absolute;
	z-index: 98;
  	right: 0;
  	width: 100%;
	padding-bottom: 1.2em;
}

form div.please-wait-container {
	display: none;
	
	background: white;
	margin-top: 1em;
	z-index: 99;
	font-size: 0.9em;
}


form .loader-container {
	display: none;
	background: white;
	margin: 0 0 0 auto;
	padding: 0.5em;
	z-index: 99;
	text-align: center;
	position: absolute;
  	right: 0;
  	width: 100%;
}

form .loader-container .loader {
	display: none;
	margin: 0 auto;
}

form .files-note {
	margin-top: 0;
	font-size: 0.9em;
}

form input#attachments {
	margin-bottom: 0.2em;
}

@media only screen and (min-width: 1170px),
only screen and (min-width: 1100px) and (-webkit-min-device-pixel-ratio: 1.25) and (orientation: landscape),
only screen and (min-width: 1100px) and ( min--moz-device-pixel-ratio: 1.25) and (orientation: landscape),
only screen and (min-width: 1100px) and ( -moz-min-device-pixel-ratio: 1.25) and (orientation: landscape),
only screen and (min-width: 1100px) and ( -o-min-device-pixel-ratio: 1.25/1) and (orientation: landscape),
only screen and (min-width: 1100px) and ( min-device-pixel-ratio: 1.25) and (orientation: landscape),
only screen and (min-width: 1100px) and ( min-resolution: 200dpi) and (orientation: landscape),
only screen and (min-width: 1100px) and ( min-resolution: 1.25dppx) and (orientation: landscape) {
    
    form input[type=submit] {
        width: auto;
    }   
	
	form .loader-container {
		text-align: right;
	}
}
.contact-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

form .form-errors {
    border: 2px solid #333;
    padding: 0.75em;
    margin-bottom: 1em;
}

form [hidden] {
    display: none !important;
}

form input[type="submit"]:focus-visible,
form .remove-attachment:focus-visible {
    outline: 3px solid #333;
    outline-offset: 3px;
}

form .remove-attachment {
    font: inherit;
    font-size: 0.9em;
    padding: 0.2em 0.5em;
    border: 1px solid #777;
    background: white;
    color: #333;
    cursor: pointer;
}

form #uploaded-files-list li {
    overflow-wrap: anywhere;
    margin-bottom: 0.5em;
}

form input:disabled,
form button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.field-error { font-weight: bold; margin-top: -.5em; }
form [aria-invalid="true"] { border-style: double; border-width: 3px; }
