/* 
 * Search
 */

.w-search {
	line-height: 2.8rem;
	}
.header_hor .l-subheader-cell > .w-search:not(.layout_simple) {
	margin-left: 0;
	margin-right: 0;
	}
.header_ver .l-subheader-cell > .w-search:not(.layout_simple) {
	margin-left: 0.6rem;
	margin-right: 0.6rem;
	}
	.w-search input {
		display: block;
		box-shadow: none !important;
		border: none !important;
		background: none;
		color: inherit;
		transition: none;
		}
	.w-search-open {
		display: block;
		text-align: center;
		width: 2.2em;
		}
		.w-search button:empty::before,
		.w-search-open:empty::before {
			content: '\f002';
			font-family: fontawesome;
			font-weight: 400;
			vertical-align: top;
			}
		.w-search-open i {
			vertical-align: top;
			line-height: inherit;
			}
	.header_hor .l-subheader-cell.at_left .w-search:not(.layout_simple):first-child {
		margin-left: -0.8rem;
		}
	.header_hor .l-subheader-cell.at_right .w-search:not(.layout_simple):last-child {
		margin-right: -0.8rem;
		}
	.w-search-close {
		position: absolute;
		top: 0;
		right: 0;
		text-align: center;
		line-height: 2.8rem;
		width: 2.8rem;
		cursor: pointer;
		color: inherit !important;
		opacity: 0.5;
		transition: color 0.3s, opacity 0.3s, transform 0.3s;
		}
	.w-search-close:focus,
	.no-touch .w-search-close:hover {
		opacity: 1 !important;
		}
		.w-search-close:before {
			content: '\f00d';
			font-family: fontawesome;
			font-weight: 400;
			vertical-align: top;
			}
			
/* LAYOUT simple */
.w-search.layout_simple {
	position: relative;
	height: 2.8rem;
	min-width: 10rem;
	}
.header_hor .w-search.layout_simple {
	width: 100%;
	}
.header_ver .w-search.layout_simple {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	}
	.w-search.layout_simple .w-search-open,
	.w-search.layout_simple .w-search-close {
		display: none;
		}
	.w-search.layout_simple .w-search-form {
		border-radius: 0.3rem;
		transition: color 0.3s, background 0.3s;
		}
	.w-search.layout_simple input {
		padding-right: 2.8rem;
		}
	.w-search.layout_simple button {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		margin: 0;
		padding: 0 !important;
		font-weight: normal;
		line-height: 2.8rem;
		height: 2.8rem;
		width: 2.8rem;
		border-radius: 0 !important;
		background: none !important;
		box-shadow: none !important;
		transition: opacity 0.3s;
		opacity: 0.5;
		}
	.w-search.layout_simple button.w-search-form-btn,
	.no-touch .w-search.layout_simple button.w-search-form-btn:hover {
		color: inherit !important;
		}
	.w-search.layout_simple button:focus,
	.no-touch .w-search.layout_simple button:hover {
		opacity: 1;
		}
		.w-search.layout_simple button:before,
		.w-search.layout_simple button span {
			display: none;
			}
		.w-search.layout_simple button i {
			vertical-align: top;
			line-height: inherit;
			}
			
/* LAYOUT modern */
.w-search.layout_modern {
	position: relative;
	width: 2.2em;
	transition: width 0.3s;
	}
	.w-search.layout_modern .w-search-open {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2;
		opacity: 1;
		transform: translateX(0);
		}
	.w-search.layout_modern.active .w-search-open {
		z-index: 0;
		opacity: 0;
		transform: translateX(-2rem);
		}
	.w-search.layout_modern .w-search-close {
		opacity: 0;
		transform: translateX(2rem);
		transition: transform 0.3s, opacity 0.3s;
		}
	.w-search.layout_modern.active .w-search-close {
		z-index: 1;
		opacity: 0.5;
		transform: translateX(0);
		}
	.w-search.layout_modern .w-search-form {
		position: relative;
		border-radius: 0.3rem;
		z-index: 1;
		opacity: 0;
		transition: opacity 0.3s, color 0.3s, background 0.3s;
		}
	.w-search.layout_modern.active .w-search-form {
		opacity: 1;
		}
	.w-search.layout_modern input {
		padding-right: 2.8rem;
		}
@media (min-width: 601px) {
.l-header.bg_transparent:not(.sticky) .w-search.layout_simple .w-search-form,
.l-header.bg_transparent:not(.sticky) .w-search.layout_modern .w-search-form {
	background: rgba(0,0,0,0.2);
	color: #fff;
	}
}

/* LAYOUT fullwidth */
.w-search.layout_fullwidth .w-search-form {
	position: absolute;
	top: 0;
	left: -1.5rem;
	right: -1.5rem;
	height: 0;
	overflow: hidden;
	z-index: 120;
	transition: height 0.3s cubic-bezier(.4,0,.2,1);
	}
.w-search.layout_fullwidth.active .w-search-form {
	height: 100%;
	}
	.w-search.layout_fullwidth input {
		position: absolute;
		top: 50%;
		left: 0;
		margin-top: -1.4rem;
		padding: 0 3rem 0 1.5rem;
		border-radius: 0;
		}
	.header_hor .w-search.layout_fullwidth input {
		font-size: 1.4rem;
		}
	.w-search.layout_fullwidth .w-search-close {
		top: 50%;
		width: auto;
		padding-right: 1.5rem;
		margin-top: -1.4rem;
		}
.header_ver .w-search.layout_fullwidth .w-search-form {
	left: 0;
	right: 0;
	}

/* LAYOUT fullscreen */
.w-search.layout_fullscreen .w-search-form {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	z-index: 120;
	transform: translateY(-100%);
	transition: transform 0.3s cubic-bezier(.4,0,.2,1);
	}
.header_ver .w-search.layout_fullscreen .w-search-form {
	position: absolute;
	}
.w-search.layout_fullscreen.active .w-search-form {
	transform: translateY(0);
	}
	.w-search.layout_fullscreen .w-search-close {
		font-size: 3rem;
		line-height: 6rem;
		width: 6rem;
		}
	.w-search.layout_fullscreen input {
		position: absolute;
		top: 50%;
		left: 6%;
		font-size: 3rem;
		line-height: 1.5;
		text-align: center;
		height: auto;
		width: 88%;
		padding: 0;
		border-radius: 0;
		transform: translateY(-50%);
		}
	.header_ver .w-search.layout_fullscreen input {
		font-size: 1.2rem;
		}

/* WordPress Widget
   ========================================================================== */
.widget_search .w-form-message,
.widget_search .w-form-row-state,
.widget_search .w-btn-label,
.widget_search .w-btn:before {
	display: none;
	}
.widget_search .w-form {
	position: relative;
	}
	.widget_search .w-form input[type="text"] {
		padding-right: 2.8rem;
		padding-left: 0.8rem;
		min-width: 8rem;
		}
	.widget_search .w-form-row.for_submit {
		position: absolute;
		top: 0;
		right: 0;
		}
		.widget_search .w-form button[type="submit"].w-btn {
			padding: 0 !important;
			line-height: 2.8rem;
			width: 2.8rem;
			border-radius: 0 !important;
			box-shadow: none !important;
			background: none !important;
			color: inherit !important;
			}
			.widget_search .w-btn:after {
				position: static;
				vertical-align: top;
				content: '\f002';
				font-family: fontawesome;
				font-weight: 400;
				border: none;
				}

/* Rounded Corners
   ========================================================================== */
.rounded_none .w-search-form {
	border-radius: 0 !important;
	}
