.fl-search-form,
.fl-search-form-input-wrap,
.fl-search-form-input-wrap form:has(.fl-search-form-label, .fl-button-wrap) .fl-form-field {
	position: relative;
}
.fl-search-form-wrap {
	display: inline-flex;
	max-width: 100%;
	align-items: center;
	position: relative;
}
.fl-search-form-fields {
	flex-basis: 100%;
}
.fl-search-form .fl-form-field input,
.fl-search-form .fl-form-field input[type=search] {
	height: auto;
	width: 100%;
}

/* Selected Layouts */
.fl-search-button-expand .fl-search-form-fields,
.fl-search-form-inline .fl-search-form-fields {
	align-items: center;
	display: inline-flex;
	flex-wrap: nowrap;
	max-width: 100%;
}

/* Form layout */
.fl-search-form-width-full .fl-search-form-wrap {
	width: 100%;
}

.fl-search-form-label {
	all: unset;
}

/* Input field */
.fl-search-form .fl-form-field {
	display: flex;
	align-items: center;
}
.fl-search-form-input .fl-form-field,
.fl-search-form-button .fl-form-field,
.fl-search-form-inline .fl-form-field,
.mfp-container .fl-form-field {
	margin: 0;
}

/* Inline Layout */
.fl-search-form-inline .fl-search-form-input-wrap {
	width: 100%;
}
.fl-search-form-inline .fl-form-field {
	padding-right: 10px;
	flex: 1;
}
.fl-search-form-inline .fl-search-form-label {
	padding-right: 10px;
}
.fl-search-form-inline form:has(.fl-search-form-label, .fl-button-wrap) {
	display: flex;
	align-items: center;
}
.fl-search-form-inline .fl-search-results-content {
	width: calc(100% - 10px);
}

/* Button Layout - General */
.fl-search-button-center .fl-search-form-fields,
.fl-search-button-center .fl-search-form-fields form:has(.fl-button-wrap) {
	justify-content: center;
}
.fl-search-button-left .fl-search-form-fields,
.fl-search-button-left .fl-search-form-fields form:has(.fl-button-wrap) {
	justify-content: left;
}
.fl-search-button-right .fl-search-form-fields,
.fl-search-button-right .fl-search-form-fields form:has(.fl-button-wrap) {
	justify-content: right;
}
.fl-search-button-expand .fl-button-wrap,
.fl-search-form-inline .fl-button-wrap {
	flex: 0 0 auto;
}

/* Button layout - Expand */
.fl-search-button-expand .fl-search-form-fields,
.fl-search-button-expand form:has(.fl-button-wrap) {
	align-items: center;
	display: inline-flex;
	flex-wrap: nowrap;
	max-width: 100%;
	gap: 0;
	-webkit-transition: all .4s;
	-moz-transition: all .4s;
	transition: all .4s;
}
.fl-search-button-expand form:has(.fl-button-wrap) {
	width: 100%;
	justify-content: center;
}
.fl-search-button-expand .fl-search-form-input-wrap:not(:has(.fl-button-wrap)),
.fl-search-button-expand .fl-search-form-input-wrap:has(.fl-button-wrap) .fl-form-field {
	-webkit-transition: all .4s;
	-moz-transition: all .4s;
	transition: all .4s;
	overflow: hidden;
	margin: 0;
}
.fl-search-button-expand:has(.fl-search-expanded) .fl-search-form-input-wrap:has(.fl-button-wrap) .fl-form-field {
	overflow: visible;
}
.fl-search-button-expand .fl-search-form-input-wrap:not(:has(.fl-button-wrap)),
.fl-search-button-expand .fl-search-form-input-wrap:has(.fl-button-wrap) .fl-form-field {
	width: 0;
}
.fl-search-button-expand .fl-search-expanded .fl-search-form-input-wrap,
.fl-search-button-expand .fl-search-form-input-wrap:has(.fl-button-wrap),
.fl-search-button-expand .fl-search-expanded .fl-search-form-input-wrap:has(.fl-button-wrap) .fl-form-field {
	width: 100%;
}
.fl-search-button-expand-left .fl-search-expanded .fl-search-form-input-wrap:not(:has(.fl-button-wrap)),
.fl-search-button-expand-left .fl-search-expanded form:has(.fl-button-wrap) .fl-form-field {
	margin-inline-end: 10px;
}
.fl-search-button-expand-right .fl-search-expanded .fl-search-form-input-wrap:not(:has(.fl-button-wrap)),
.fl-search-button-expand-right .fl-search-expanded form:has(.fl-button-wrap) .fl-form-field {
	margin-inline-start: 10px;
}
.fl-search-button-expand-right .fl-search-form-fields,
.fl-search-button-expand-right form:has(.fl-button-wrap) {
	flex-direction: row-reverse;
}
.fl-search-button-expand-right.fl-search-button-right .fl-search-form-fields {
	justify-content: flex-start;
}
.fl-search-button-expand-right.fl-search-button-left .fl-search-form-fields {
	justify-content: flex-end;
}
.fl-search-button-expand.fl-search-button-center .fl-form-field {
	justify-content: center;
}
.fl-search-button-expand.fl-search-button-left .fl-form-field {
	justify-content: flex-start;
}
.fl-search-button-expand.fl-search-button-right .fl-form-field {
	justify-content: flex-end;
}

/* Button layout - Fullscreen */
.fl-search-button-fullscreen.fl-search-button-center .fl-search-form-wrap {
	justify-content: center;
}
.fl-search-button-fullscreen.fl-search-button-left .fl-search-form-wrap {
	justify-content: flex-start;
}
.fl-search-button-fullscreen.fl-search-button-right .fl-search-form-wrap {
	justify-content: flex-end;
}
.fl-search-button-fullscreen .fl-search-form-fields {
	display: contents;
}
.fl-search-button-fullscreen .fl-search-form-input-wrap {
	display: none;
}
.mfp-container .fl-search-form-input-wrap {
	box-sizing: border-box;
	margin: 0 auto;
}

/* Button Layout - Reveal */
.fl-search-button-reveal .fl-search-form-input-wrap {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	width: 100%;
	z-index: 1100;
	border-radius: 4px;
	transform: translateX(-50%);
}
.fl-search-button-reveal .fl-search-form-input-wrap form {
	display: flex;
	align-items: center;
	gap: 10px;
}
.fl-search-button-reveal .fl-form-field {
	flex: 1;
}
@media only screen and (max-width: 360px) {
	.fl-search-button-reveal .fl-search-form-input-wrap form {
		flex-direction: column;
	}
}

/* Stacked Layout */
.fl-search-form-stacked .fl-search-form-label {
	display: block;
	margin-bottom: 10px;
}
.fl-search-form-stacked:not(:has(.fl-search-form-label, .fl-button-wrap)) .fl-search-results-content.fl-search-open {
	margin-top: -12px;
}

/* Search Results - Ajax */
.fl-search-results-content {
	visibility: hidden;
	opacity: 0;
    -moz-transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    -o-transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    -webkit-transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
	-webkit-box-shadow: 0px 2px 4px -2px rgba(0,0,0,0.40);
	-moz-box-shadow: 0px 2px 4px -2px rgba(0,0,0,0.40);
	box-shadow: 0px 2px 4px -2px rgba(0,0,0,0.40);
	border-radius: 4px;
	border: 1px solid #e6e6e6;
	overflow-y: auto;
	background: #fff;
	text-align: left;
	position: absolute;
	top: 100%;
	max-height: 0;
	width: 100%;
	z-index: 1100;
}
.fl-search-results-content.fl-search-open {
	max-height: 400px;
	height: auto;
	visibility: visible;
	opacity: 1;
	padding: 15px;
	margin: 5px 0;
}
.fl-search-form-center.fl-search-form-width-custom .fl-search-results-content {
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%)
}
.fl-search-form-left .fl-search-results-content {
	left: 0;
}
.fl-search-form-right .fl-search-results-content {
	right: 0;
}
.fl-search-post-item {
	border-bottom: 1px solid #e6e6e6;
	overflow: hidden;
	padding: 10px 0;
	cursor: pointer;
}
.fl-search-post-item:last-child {
	border-bottom: 0 none;
}
.fl-search-post-image {
	float: left;
	position: relative;
	margin-right: 10px;
	width: 60px;
}
.fl-search-post-image img {
	height: auto !important;
	width: 100% !important;
}
.fl-search-post-title {
	font-size: 15px;
}

/* Search Loader */
.fl-search-loader-wrap {
	display: none;
	line-height: 16px;
	position: relative;
	height: 30px;
}
.fl-search-loader {
	animation: fl-spin 2s linear infinite;
	z-index: 2;
	position: absolute;
	padding: 2px;
	right: 10px;
	top: 0;
	width: 30px;
	height: 30px;
}
.fl-search-loader .path {
	stroke: hsla(210, 77%, 75%, 1);
    stroke-linecap: round;
    animation: fl-dash 1.5s ease-in-out infinite;
}
@keyframes fl-spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes fl-dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}
