/*
** Contact Form 7 styling
*/
.wpcf7-form label,
.wpcf7-form input:not(.wpcf7-submit),
.wpcf7-form select,
.wpcf7-form textarea {
	display: block;
	width: 100%;
}

.wpcf7-form input:not(.wpcf7-submit),
.wpcf7-form select,
.wpcf7-form textarea {
	margin-top: 6px;
}

.wpcf7-form input[type="checkbox"] {
    display: initial;
    line-height: 22px!important;
    height: 22px!important;
    width: 22px;
    margin-right: 6px;
	margin-top: 0px;
    bottom: -5px;
    position: relative;
}

.wpcf7-checkbox-custom {
	display: inline-block;
	position: relative;
	cursor: pointer;
	user-select: none;
	bottom: -6px;
}

.wpcf7-checkbox-custom input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.wpcf7-checkbox-custom span {
	position: absolute;
	top: 0; left: 0;
    height: 20px;
    width: 20px;
    line-height: 18px;
	border-radius: 5px;
	border: 1px solid var( --haste-color-border );
	text-align: center;
	color: transparent;
	transition: 0.2s all ease;
	font-size: 13px;
}

.wpcf7-checkbox-custom i {
	position: relative;
	right: -1px;
}

.wpcf7-checkbox-custom:hover input ~ span {
	border-color: var(--haste-color-accent);
}
  
.wpcf7-checkbox-custom input:checked ~ span {
	color: var(--haste-color-accent);
}











.wpcf7-list-item {
	margin-left: 0;
}

.wpcf7-acceptance .wpcf7-list-item-label {
	cursor: pointer;
}

.wpcf7-acceptance label {
	line-height: inherit!important;
	font-size: inherit!important;
}

.wpcf7-form p {
	margin-bottom: 0;
	font-family: var(--haste-font-heading);
}

.wpcf7-form textarea {
	height: 160px;
}

.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.wpcf7-submit {
	color: #fff;
    line-height: 1;
    height: auto;
	height: 60px;
    line-height: 60px;
    padding: 0px 23px;
	border-width: 0px;
}

.sh-contactform7-submit-align-center .wpcf7-submit,
.sh-contactform7-submit-align-center .ajax-loader {
	display: table;
    margin-left: auto;
	margin-right: auto;
}

.sh-contactform7-submit-align-right .wpcf7-submit,
.sh-contactform7-submit-align-right .ajax-loader {
	display: table;
    margin-left: auto;
	margin-right: 0;
}

.sh-contactform7-submit-align-justify .wpcf7-submit {
	display: block;
	width: 100%;
}







.wpcf7-form .wpcf7-spinner {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
	width: auto;
	height: auto;
	border-radius: 0;
	margin: 0;
	background-color: #ffffff00;
}

.wpcf7-form .wpcf7-spinner:before {
	display: none!important;
}

.wpcf7-form .wpcf7-spinner:after {
	content: "\f1ce";
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
	font-size: 30px;

    animation-name: spin;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}






span.wpcf7-not-valid-tip {
	margin-top: 8px;
	color: #EF394A;
	font-weight: 600;
	line-height: 1.4;
	font-size: 90%;
}

form.wpcf7-form .wpcf7-response-output {
	margin: 30px 0 0px 0!important;
}

div.wpcf7-response-output {
	margin: 0px;
}


/* Messages */
.wpcf7-form .wpcf7-response-output {
	border-radius: 5px;
	padding: 20px 20px!important; /* Disables CF7 default "slideDown" loading animation */
	height: auto!important; /* Disables CF7 default "slideDown" loading animation */
	border-width: 0px;
	background-color: var(--haste-color-bg);
	color: var(--haste-color-heading);
	box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.1);
	line-height: 1.4;
	font-size: 90%;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #EF394A;
}



.wpcf7-form .wpcf7-mail-sent-ok {
	background-color: #b1f08a; /* Green */
}

.wpcf7-form .wpcf7-validation-errors,
.wpcf7-form .wpcf7-acceptance-missing {
	background-color: #ffd33a; /* Orange */
	animation: Haste-FadeIn 0.5s;
}

.wpcf7-form .wpcf7-mail-sent-ng,
.wpcf7-form .wpcf7-aborted,
.wpcf7-form .wpcf7-spam-blocked {
	background-color: #ff9486; /* Red */
}

@keyframes Haste-FadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}




/* Loading */
.sh-loading-icon,
.wpcf7-form .ajax-loader.is-active {
	position: relative;
	margin-left: 25px;
	width: 14px;
	height: 14px;
	border-radius: 11px;
	background-image: none;
}

.sh-loading-icon:before,
.wpcf7-form .ajax-loader.is-active:before {
	content: '';
	position: relative;
	display: block;
	width: 300%;
	height: 300%;
	box-sizing: border-box;
	margin-left: -100%;
	margin-top: -100%;
	border-radius: 45px;
	background-color: #86a9ff;
	animation: Haste-Pulse-Ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.sh-loading-icon:after,
.wpcf7-form .ajax-loader.is-active:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: #2664ff;
	border-radius: 15px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
	animation: Haste-Pulse-Dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
}

@keyframes Haste-Pulse-Ring {
	0% {
		transform: scale(0.33);
	}
	80%, 100% {
		opacity: 0;
	}
}

@keyframes Haste-Pulse-Dot {
	0% {
		transform: scale(0.8);
	}
	50% {
		transform: scale(1);
	}
	100% {
		transform: scale(0.8);
	}
}




/*
** Elementor
*/

.sh-contactform7-columns-inline .wpcf7-form-elements {
	display: flex;
}

.sh-contactform7-columns-inline .wpcf7-spinner {
	position: absolute;
	margin: 15px 10px;
}



.sh-contactform7-columns-inline .wpcf7-form-elements > p:first-child {
	flex: 1;
}

.sh-contactform7-columns-inline .wpcf7-form input {
	margin-top: 0px;
}




@media (min-width: 750px) {
	.sh-contactform7-columns-first-2col-50percent .wpcf7-form > p:nth-child(-n+2),
	.sh-contactform7-columns-first-2col-50percent .wpcf7-form-elements > p:nth-child(-n+2) {
		display: inline-block;
		vertical-align: top;
		width: 50%;
		margin-right: -4px;
	}

	.sh-contactform7-columns-first-3col-33percent .wpcf7-form > p:nth-child(-n+3),
	.sh-contactform7-columns-first-3col-33percent .wpcf7-form-elements > p:nth-child(-n+3) {
		display: inline-block;
		vertical-align: top;
		width: 33.3333333333%;
		margin-right: -4px;
	}

	.sh-contactform7-columns-first-4col-50percent .wpcf7-form > p:nth-child(-n+4),
	.sh-contactform7-columns-first-4col-50percent .wpcf7-form-elements > p:nth-child(-n+4) {
		display: inline-block;
		vertical-align: top;
		width: 50%;
		margin-right: -4px;
	}
}




.sh-edit-cf7 {
	display: block;
    text-align: right;
    opacity: 0;
    font-size: 90%;
    position: absolute;
    right: 0;
    bottom: 0;
}

.sh-contactform7:hover .sh-edit-cf7 {
    opacity: 1;
}


.sh-cf7-submit-use-icon-arrow .wpcf7-submit {
	font: normal normal normal 1em/1 'Shufflehound-icons-free';
	font-weight: normal!important;
}