#header{
	height: 50px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding-left:20px;
	padding-right:20px;
	padding-top:4px;
	padding-bottom:4px;
	background: linear-gradient(135deg,#0091f2,#3aa4e7);
	position: fixed;
	top:0;
	left:0;
	width: calc(100% - 40px);
	z-index: 1000;
}
#footer{
	height: 140px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 30px 20px;
	background: linear-gradient(135deg, #0091f2, #3aa4e7);
	position: absolute;
	left: 0;
	width: calc(100% - 40px);
	z-index: 999;
	color: #fff;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: space-evenly;
}
#footer span {
    color: #fff;
}
#footer a {
    color: #000;
}
#footer a:hover{
	text-decoration: none;
}
.header_item{
	margin-left:4px;
	margin-right:4px; 
	min-width: 70px;
}
.header_item#search{
	width:100%;
	background:white;
	border:solid 1px grey;
	display: inline-flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding-right:10px;
	position: relative;
}
.header_item#search .fa-search{
	cursor: pointer;
}
.header_item#search #search_bar{
	border:none;
	width:100%;
	font-size: 16px;
	padding:8px 50px 8px 10px;
	outline:none;
}
.header_item#search.focused{
	border-color:#FFCF32;
}
.header_item#logo{
	width:20%;
	text-align: center;
}
.header_item#logo img{
	max-height: 50px;
	max-width: 50px;
}
.header_item#right_icons{
	width:20%;
	margin-left:10px;
	color:white;
}
.header_item#right_icons i{
	cursor:pointer;
	margin-left:4px;
	margin-right:4px;
}

#search_hints{
	display: none;
	position: absolute;
	max-height: 300px;
	z-index: 1000;
	background:white;
	border:solid 1px rgba(0,0,0,.2);
	width:calc(100% - 2px);
	overflow-y: auto;
	top: 35px;
    left: 0px;
	border-radius:0px 0px 5px 5px;-webkit-border-radius:0px 0px 5px 5px;-moz-border-radius:0px 0px 5px 5px
}

.sh_item{
	/*border-bottom:solid 1px rgba(0,0,0,.4);*/
	background:#f3f3f3;
	padding:5px;
	margin:5px;
	overflow:hidden;
	text-overflow:ellipsis;
	display:block;
	color:black;
	text-decoration:none;
	line-height:1.3;
	border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px
}
.sh_item.hide{
	display:none
}
.sh_item.showmore:hover{
	background:#1fa2ea
}
.sh_item.showmore{
	cursor:pointer;
    text-align:center;
    color:white;
    background:#1fa2ea
}
.sh_item.showmore:hover{
	background:#0071af;
    color:white	
}
#right_icons a{
	color:white;
	text-decoration: none;
}

.header_cart_count{
	border-radius:50%;
	width:20px;
	height: 20px;
	font-size:10px;
	position: absolute;
	background:red;
	line-height: 20px;
	text-align: center;
	bottom:-10px;
	right:-7px;
	display: none;
}

.cart_block{
	position:relative;
}

.search_incat{
	display:block;
	font-size:75%;
    text-decoration:none;
    color:#8b8b8b
}
.search_incat:hover{
	text-decoration:underline	
}
.search_item{
	display:block
}
.search_item:hover{
	color:#1fa2ea
}

.search_incat_name:hover{
	background:rgba(59, 178, 255, 0.81);
}

.search_incat_name{
	border-radius: 10px;
	background:rgba(53, 162, 232, 0.81);
	color:white;
	padding:5px 3px;
}

#links{
	width:100%;
}

.hl_link{
	color:white;
	font-size:120%;
	font-weight: bold;
	padding-left:10px;
	margin-right:10px;
	border-left:solid 2px white;
	position: relative;
	cursor: pointer;
	text-decoration: none;
}

.hl_link:after{
	min-width:0%;
	transition: 500ms;
	left:10px;
	bottom:0;
	position: absolute;
	content: '';
	background:white;
	height:2px;
}

.hl_link:hover:after{
	min-width:calc(100% - 10px);
}
#modal_img_header{text-align:center}
#modal_img_exit{text-align:right;z-index:10}
#modal_img_exit i{cursor:pointer}
#filters{
	color: white;
	background: #1fa2ea;
	padding: 10px 10px;
	border: solid 1px #0d8dd4;
	cursor: pointer;
	text-align: center;
	margin: 10px;
	display:none;
}

.i{
	text-align:center
}

.i img{
	max-width:100%;
    height:auto
}

@media screen and (max-width: 660px){
	#page{
		position: static;
		padding:0;
		margin:0;
		width:100%;
	}
	#header{
		flex-direction: column;
		height: initial;
		text-align: center;
		position: relative;
		margin-bottom:30px;
		width:calc(100% - 40px);
		padding-bottom: 10px;
	}
	#right_icons{
		position: absolute;
		top: 20px;
		right: 0;
	}
	body{
		margin:0;
	}
}
@media screen and (max-width: 615px){
	ul{
		padding-left:15px
	}
	#filters{
		display:block;
	}
	#left_block{
		display:none;
	}
	.hl_link{
		display: table;
		border:none;
		margin-top:10px;
	}
	#links{
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	#search_hints{
		position: absolute;
		max-height: initial;
		top: 35px;
	}
	.sh_item.showmore{
		padding:5px 0;
		text-align:center;
	}
	.sh_item{
		text-align:left
	}
	h1, h2, h3, h4{
		text-align:center;
	}
	#footer{
		height:initial
	}
	.crumbs{
		margin: 5px;
	}
	#wl_items, .c_items{
		display:flex;
		flex-direction:row;
		flex-wrap:wrap;
		justify-content:center;
		align-items:center;
	}
}

@media screen and (max-width: 450px){
	.header_item#search{
		width: 95%;
	}
}