header.site-header {
	padding: 20px 0;
	font-weight: 500;
	color: $primary_color;
	background-color: rgba( 255, 255, 255, 0.1);
	border-bottom: 1px solid #eee;
	z-index: 9;
	position: relative;

	.row {
		align-items: center;
	}

	.container-fluid {
		padding-left: 50px;
		padding-right: 50px;
	}

	&.sticky-header.on {
		background: #fff;
		position: sticky;
		top: 0;
		left: 0;
		z-index: 20;
		@include box-shadow(0px 5px 15px -5px rgba(0,0,0,0.2));
		@include transition-03;

		&.has-wpadminbar {
			top: 32px;
		}

		.main-header {
			padding-top: 20px!important;
			padding-bottom: 20px!important;
		}
	}

	&.float-header {
		z-index: 20;
		background: transparent;
		position: absolute;
    	width: 100%;
    	border-bottom: 0;
    	@include transition-03;
	}

	.left-header,.right-header {
		display: flex;
		align-items: center;
	}

	.left-header {

		.site-logo {
			margin-right: 25px;
			p {
				margin-bottom: 0;
			}
		}
	}

	.right-header {
		justify-content: flex-end;

		.account {
			display: flex;
			align-items: center;
			margin-left: 25px;
			a {
				margin-right: 25px;
				display: flex;
    			align-items: center;
			}
			a:last-child {
				margin-right: 0;
			}
		}

		.minicart,.user-notifications,.dropdown-categories {
			margin-left: 25px;
		}

		.add-place {
			margin-left: 25px;
			svg {
				position: relative;
    			bottom: -2px;
			}
		}
	}
}

header.site-header.show-popup{
	z-index: -1;
}

.dropdown-categories {

	.entry-show {
		display: flex;
    	align-items: center;

    	i {
    		margin-left: 6px;
    	}
	}
}

.minicart {

	a.toggle {
		font-size: 24px;
		display: inline-flex;
		align-items: center;
		i {
			font-size: 24px;
		}
	}

	a.toggle span.cart-count {
		font-size: 15px;
		font-weight: 500;
		margin-left: 3px;
		color: $accent_color;
		position: relative;
		top: 1px;
	}
}

.account {
	position: relative;

	.user-show {
		display: flex;
		align-items: center;
	}

	.user-show a.avatar {
		margin-right: 8px;
		img {
			width: 30px;
			height: 30px;
			margin-right: 8px;
			@include border-radius(30px);
			object-fit: cover;
		}
	}

	.user-show a.username {
		display: inline-block;
		overflow: hidden;
	    white-space: nowrap;
	    text-overflow: ellipsis;
	    margin-left: 0;
	}
	
	.user-control {
		position: absolute;
		top: 100%;
		right: 0;
		z-index: 4;
	    text-align: right;
	    font-size: 15px;
  		font-weight: 500;
	    opacity: 0;
		visibility: hidden;
		padding-top: 30px;
		min-width: 130px;
		@include transition-03;
		.inner-control {
		    background: #fff;
		    @include border-radius(3px);
		    @include box-shadow(0 0 6px 0 rgba(0, 0, 0, 0.1));
		}
		ul {
			list-style-type: none;
			padding-top: 20px;
			padding-bottom: 20px;
			padding-left: 0;
			margin-bottom: 0;
		}
		li {
			margin-bottom: 20px;
			padding-left: 20px;
			padding-right: 20px;
			&:last-child {
				margin-bottom: 0;
			}
			&.active a {
				color: $accent_color;
			}
		}
		.logout {
			border-top: 1px solid #eee;
			padding: 20px;
		}
		a {
			display: flex;
			align-items: center;
		}
		a i {
			margin-left: 5px;
		}
	}
	&:hover {
		.user-control {
			opacity: 1;
			visibility: visible;
			padding-top: 10px;
			@include transition-03;
		}
	}
}

.block-search {
	position: relative;
	.search-form {
		margin-bottom: 0;
	}
	&.search-input {
		min-width: 270px;
		width: 100%;
		.icon-search,.icon-clear {
			display: inline-block;
			position: absolute;
			font-size: 24px;
			display: block;
			top: 50%;
			@include transform(translateY(-50%));
		}
		.icon-clear {
			display: none;
			right: 25px;

			a {
				color: #686868;
			}
		}
		.input-search {
			font-size: 15px;
			font-style: normal;
			font-weight: normal;
			padding: 8px 25px 8px 34px;
			width: 100%;
			border: 0;
			border-bottom: 1px solid #d8d8d8;
			background: 0;
			text-overflow: ellipsis;

			&:focus {
				border-color: $accent_color;
			}
		}
	}
	&.has-clear {
		.icon-clear {
			display: inline-block;
		}
	}
}
.site-header {
	.block-search.search-input.golo-ajax-search {
		.search-result {
			font-weight: normal;
			border-top-left-radius: 0;
			border-top-right-radius: 0;
			border-bottom-left-radius: 5px;
			border-bottom-right-radius: 5px;
			ul {
				font-size: 15px;
				font-weight: 500;
				padding-top: 5px;
				padding-bottom: 5px;
				max-height: 298px;
			}
			ul li a i {
				top: -1px;
			}
		}
		.golo-loading-effect {
			right: 0;
			left: inherit;
			.golo-dual-ring {
				width: 22px;
				height: 22px;
				left: inherit;
			}
			.golo-dual-ring:after{
				width: 18px;
				height: 18px;
				border-width: 2px;
			}
		}
	}

	.container-fluid>.row {
		position: relative;
	}

	.container-fluid>.row>div {
		position: static;
	}

	.block-search.layout-02 .area-search,
	.block-search.layout-03 .area-search,
	.block-search.layout-04 .area-search {
		height: 50px;
		border: solid 1px #eeeeee;
		@include box-shadow(none);

		.location-field,
		.type-field {
			padding: 5px 5px 5px 0;
		}

		.location-field .icon-search,
		.type-field .icon-search {
			height: 40px;
			width: 40px;
		}

		.golo-loading-effect {
			right: 10px;
		}
	}
}

@media only screen and (max-width: 991px) {
	header.site-header .container-fluid {
	    padding-left: 25px;
	    padding-right: 25px;
	}
}

@media only screen and (max-width: 479px) {
	header.site-header .right-header .minicart, header.site-header .right-header .user-notifications {
		margin-left: 15px;
	}
}




