﻿/* search form  */
/*.slideshowcontent {
	text-align: center;
}

.slideshowcontent h1 {
	margin: auto;
}*/

#body div.searchbox {
	width: 100%;
	padding: 23px 6% 48px 6%;
	margin-top: -120px;
	margin: -120px auto auto;
	z-index: 9998;
	position: relative;
}

#searchform #filters li.custom-select:hover {
	background-color: rgba(0, 0, 0, 0.6);
}

#filterheader {
	display: table;
	width: 100%;
	text-align: left;
}

.searchbox select {
	width: 100%;
	display: block;
	padding: 0 22px;
	font-size: 16px;
	line-height: 16px;
}

.searchbox select option {
	background: #fff;
	color: #000;
	width: 100%;
	min-width: 425px;
	border-radius: unset;
	cursor: pointer;
}

.searchbox select option:hover {
	background-color: rgb(102, 73, 26) !important;
	color: #fff;
	width: 100%;
}

#gridview, #listview {
	padding: 6px 0 0 10px;
	font-size: 20px;
	cursor: pointer;
}

#gridview:hover, #listview:hover {
	color: #36BAAD;
	transition: 0.5s;
}

#filters {
	width: 100%;
	max-width: 1060px;
	display: grid;
	grid-template-columns: repeat(5, .5fr);
	column-gap: 20px;
	row-gap: 20px;
	margin: auto;
}

#filters li:first-of-type {
	grid-column: auto / span 2;
}

#filters li {
	float: left;
	min-width: 225px;
	display: grid;
	grid-template-columns: 45px 1fr;
	vertical-align: middle;
	align-items: center;
	border: 2px solid #fff;
	background: transparent;
	padding-right: 20px;
	height: 45px;
}

#filters li:last-of-type {
	grid-template-columns: 1fr;
	padding-right: 0px;
	border-color: #36BAAD;
}

#filters li img {
	width: auto;
	height: 42px;
}

#filters li .filtericon {
	font-size: 16px;
	line-height: 16px;
	color: #fff;
	text-align: center;
	font-weight: 100 !important;
}

#filters li .filtericon i {
	font-weight: 100;
}

#filters li .filtericon:has(img) {
	text-align: start;
	max-height: 45px;
}

#filters li select {
	border: none;
	background: transparent;
	color: #fff;
}

#filters li select:focus-visible {
	outline: none;
}

#filters li select option:first-of-type:before {
	float: left;
	width: 225px;
	margin: 0 22px 0 0;
}

#bttlireset {
	height: 100%;
}

#filters li:last-child {
	margin-right: 0;
}



#filters li span {
	display: block;
	font-size: 14px;
	line-height: 14px;
	border: unset;
	background: transparent;
	color: #fff;
	margin: auto;
}

#filters li span:first-child {
	margin-bottom: 5px;
}

#ysearchbtn {
	cursor: pointer;
	padding: 14px 17px;
}

#filterheader .b11kbtt {
}

/* EMULATE DROPDOWN */
.centering {
	width: 300px;
	height: auto;
	margin: 100px auto;
}

.custom-select {
	width: 100%;
	position: relative;
}

.custom-select select {
	display: none;
}

.selected-item {
	font-size: 16px;
	line-height: 18px;
	background: transparent;
	padding: 5px 20px;
	color: #fff;
	cursor: pointer;
	z-index: 99;
	width: 100%;
	cursor: pointer;
}

.custom-select:first-of-type .selected-item {
	padding-top: 2px
}

.selected-item:after {
	font-family: FontAwesome;
	content: "\f107";
	font-size: 12px;
	color: #fff;
	position: absolute;
	right: 10px;
	transition: 0.5s;
}

.arrowanim.selected-item:after {
	transform: rotate(180deg);
}

.item {
	font-family: HelveticaLight;
	background: #f2f5f4;
	padding: 15px 20px;
	color: #000;
	border-top: 1px solid #e0e0e0;
	cursor: pointer;
}

.item:hover {
	background: #36BAAD;
	color: #fff;
}

.all-items {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	z-index: 100;
}

.all-items-hide {
	display: none;
}

.sdf {
	border: 1px solid red;
}

/* end search form  */

/* sort bar  */

#filteroptions {
	display: table;
	width: 90%;
	max-width: 1060px;
	margin: 0 auto 15px auto;
}

#sortandview {
	float: right;
	width: 20%;
	margin-right: 25px;
}

#sortandview li {
	float: right;
}

/* end sort bar  */


@media screen and (max-width:1110px) {
	#body div.searchbox {
		padding-top: 0px;
		margin-top: -160px;
	}

	#filters li:last-of-type {
		grid-column-start: 1;
	}
}


@media only screen and (max-width: 890px) {
	#filters li:nth-of-type(2) {
		grid-column-start: 1;
	}

	#filters li:nth-of-type(3) {
		grid-column-start: 2;
	}

	#filters li:last-of-type {
		grid-column-start: 3;
	}
}

@media screen and (max-width:790px) {
	#body div.searchbox {
		margin-top: -200px;
	}

	#filters {
		grid-template-columns: repeat(4, 1fr);
		column-gap: 20px;
	}

	#filters li:nth-of-type(1) {
		grid-column-start: 1;
		grid-column-end: 5;
	}

	#filters li:nth-of-type(2) {
		grid-column-start: 1;
		grid-column-end: 3;
	}

	#filters li:nth-of-type(3) {
		grid-column-start: 3;
		grid-column-end: 5;
	}

	#filters li:last-of-type {
		grid-column-start: 1;
		grid-column-end: 5;
		text-align: center;
	}

	#filters li .filtericon {
		text-align: center;
	}
}

@media screen and (max-width:450px) {
	#body div.searchbox {
		margin-top: -250px;
	}

	#filters {
		display: block;
	}

	#filters li {
		float: none;
		width: 100%;
		margin-top: 10px;
	}
}
