#search-modal {
	display: none;
	position: fixed;
	top: 0;
	background: var(--bgclr1);
	width: 50%;
	min-height: 100%;
	right: 0;
	z-index: 99999999;
	overflow-y: scroll;
	height: 100vh;
}
.tabs-search .tab{
	color: #fff;
}
.search-results-loading .loading-animation-container {
	display: block;
}
.loading-animation-bar:before {
	content: "";
	position: absolute;
	left: -50%;
	height: 3px;
	width: 40%;
	background-color: white;
	-webkit-animation: lineAnim 1.5s linear infinite;
	-moz-animation: lineAnim 1.5s linear infinite;
	animation: lineAnim 1.5s linear infinite;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	/*z-index: 99999;*/
}
.loading-animation-bar {
	width: 200px;
	height: 3px;
	overflow: hidden;
	background-color: transparent;
	-webkit-border-radius: 20px;
	position: relative;
	-moz-border-radius: 20px;
	z-index: 99999999;
	border-radius: 20px;
}
.loading-animation-container {
	position: absolute;
	left: 50%;
	top: 30vh;
	justify-content: center;
	align-items: center;
	z-index: 9999999999;
	transform: translateX(-50%);
	display: none;
}
@keyframes lineAnim {
	0% {
		left: -40%;
	}
	50% {
		left: 20%;
		width: 80%;
	}
	100% {
		left: 100%;
		width: 100%;
	}
}
#search-modal .search-results .highlighted{
	background-color: unset;
	color: unset;
	cursor: auto;
}

#search-modal .container.wide{
	padding: 0 8rem 0 6.4rem;
	width: 100%;
	max-width: 72rem;
	margin-left: 0;
}

#search-modal .container.wide .top-left{
	display: none;
}

.search-close {
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

#search-modal .search-results{
	padding: 0 8rem 0 6.4rem;
	width: 100%;
	max-width: 72rem;
	margin-left: 0;
	position: relative;
}

#search-modal .top-wrapper .top-middle {
    position: relative;
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
	width: calc(100% - 7.3rem);
}

#search-modal .top-wrapper .top-middle svg {
	position: absolute;
	z-index: 9;
	top: 1.1rem;
	left: 1.7rem;
	width: 2.8rem;
	height: auto;
}
#search-modal .top-wrapper .top-middle button {
	position: absolute;
	border: 0;
	background: transparent;
	right: 1.6rem;
	height: 100%;
	cursor: pointer;
	padding: 0;
}
#search-modal .top-wrapper .top-middle button svg {
	position: relative;
	top: auto;
	left: auto;
	width: 3.2rem;
	height: auto;
}
#search-modal .top-wrapper .top-middle button svg path {
	stroke: #FFF;
}
.search-results .item {
    opacity: 1;
}
#search-modal input:focus {
	outline: none;
}
#search-modal input {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid #fff;
	height: 5rem;
	border-radius: 80px;
	padding: 0 5.2rem!important;
	font-size: calc(var(--fontsize_xs) * var(--text-scaler))!important;
	line-height: calc(var(--lineh_xs) * var(--text-scaler))!important;
	font-family: 'GT-Flexa-Regular';
	color: #fff;
}

#search-modal input::placeholder{
	color: #fff;
}

#search-modal .type-switch button{
	border: 1px solid #ffffff;
	border-radius: 2px;
	padding: 0.1rem 0.8rem!important;
	text-transform: uppercase!important;
	letter-spacing: 0.03em;
	font-size: calc(1.1rem * var(--text-scaler));
	line-height: calc(1.8rem * var(--text-scaler));
	font-family: 'GT-Flexa-Regular';
	font-weight: 500;
}

#search-modal .type-switch button.disabled {
	background: transparent !important;
	border: 1px solid #757575;
	color: #757575;
	pointer-events: none;
	opacity: 0.5;
}
#search-modal .type-switch button.disabled {
	display: none;
}

.search-results > .container.post-narrow {
	padding: 0;
	/*max-width: 51.2rem;*/
	margin: 0;
	display: flex;
	flex-wrap: wrap;
}

.search-results > .container.post-narrow .type-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	justify-content: flex-start !important;
}

#search-modal .type-switch button.active,
#search-modal .type-switch button:not(.disabled):hover {
	background: #fff!important;
	border: 1px solid #fff;
	color: #0A0A0A;
}
#search-modal .type-switch {
  justify-content: center;
    margin-top: 2.4rem;
    /*margin-bottom: 5rem;*/
    text-align: center;
	max-width: 51.2rem;
}
.results-wrapper > h3,
.results-wrapper > span {
    display: none!important;
}

.results-wrapper .taxonomy.items .list-container,
.results-wrapper .post.items .list-container{
	display: flex;
	flex-direction: column;
	row-gap: 0;
}

.results-wrapper .taxonomy.items .list-container .item,
.results-wrapper .post.items .list-container .item{
	width: 100%;
	padding: 1.6rem 0;
	cursor: pointer;
	top: unset;
}

.tabs-search {
	flex-wrap: wrap;
	padding: 0 !important;
	margin: 2.4rem 0 0 0 !important;
	border-bottom: 3px solid #fff;
	display: none;
	flex-direction: unset!important;
}

.tabs-search.active {
	display: flex!important;
}

.tabs-search .tab {
	width: 50%;
	height: 3.9rem;
	font-family: "aktiv-grotesk";
	font-weight: 500;
	display: flex;
	font-size: calc(1.4rem* var(--text-scaler));
	line-height: calc(1.8rem* var(--text-scaler));
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--animtime1);
}

.tabs-search .tab.active{
	background: #fff;
	color: #0A0A0A;
}

.results-wrapper .taxonomy.items .list-container .item,
.results-wrapper .post.items .list-container .item {
	border-top: 1px solid #616161;
}

.results-wrapper.loading .load-more-container {
	display: none;
}

.results-wrapper{
	width: 100%;
	margin-top: 2.4rem;
}

.results-wrapper .taxonomy.items .list-container .item .itemtext,
.results-wrapper .post.items .list-container .item .itemtext{
	display: flex;
	flex-wrap: wrap;
}

.results-wrapper .taxonomy.items .list-container .item .itemtext .media,
.results-wrapper .post.items .list-container .item .itemtext .media{
	width: 9.4rem;
	height: 9.4rem;
	order: 1;
	border-radius: 4px;
}

.results-wrapper .taxonomy.items .list-container .item .itemtext .media figure,
.results-wrapper .post.items .list-container .item .itemtext .media figure{
	width: 100%;
	height: 100%;
}

.results-wrapper .taxonomy.items .list-container .item .itemtext h3,
.results-wrapper .post.items .list-container .item .itemtext h3{
	width: calc(100% - 9.4rem);
	padding-left: 1.6rem;
	order: 2;
	color: #fff;
	font-size: calc(2rem * var(--text-scaler));
	line-height: calc(2.4rem * var(--text-scaler));
	font-family: 'GT-Flexa-Medium';
	margin: 2.8rem 0 0;
}

.results-wrapper .taxonomy.items .list-container .item .itemtext h3 a,
.results-wrapper .post.items .list-container .item .itemtext h3 a{
	color: #fff;
	font-size: calc(2rem * var(--text-scaler));
	line-height: calc(2.4rem * var(--text-scaler));
	font-family: 'GT-Flexa-Medium';
}

.results-wrapper .taxonomy.items .list-container .item .itemtext .badge-container,
.results-wrapper .post.items .list-container .item .itemtext .badge-container{
	top: 1.6rem;
	left: 11rem;
}

.results-wrapper .taxonomy.items .list-container .item .itemtext .badge-container .badge,
.results-wrapper .post.items .list-container .item .itemtext .badge-container .badge{
	border: 0.75px solid #FFF;
	font-size: calc(1.1rem * var(--text-scaler));
}

.results-wrapper .taxonomy.items .list-container .item .itemtext .badge-container .badge.date,
.results-wrapper .post.items .list-container .item .itemtext .badge-container .badge.date {
	color: #616161;
	font-size: calc(1.2rem * var(--text-scaler));
	background: transparent;
	padding: 0.1rem 1rem;
	border: 0;
}

#search-modal .top-wrapper {
    display: flex;
    margin-top: 2.4rem;
    justify-content: space-between;
}
.no-search-results {
  text-align: center;
  display: none;
  color: #FFF;
  font-family: 'GT-Flexa-Medium';
  margin-top: 5rem;
}
/*.results-wrapper > div {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  padding-bottom: 4.5rem;*/
/*  margin-bottom: 3.5rem;*/
/*}*/
.placeholders span {
	display: none;
}
.full + .placeholders.js-search-placeholders {
    opacity: 0;
}
.placeholders.js-search-placeholders {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 1;
    transition: opacity 150ms ease;
		text-align: center;
    width: 100%;
    padding: 1.4rem;
    line-height: 1.2;
}
.results-wrapper .load-more-container {
	margin-top: 3rem;
	margin-bottom: 4rem;
}

.results-wrapper .load-more-container .counter-container {
	color: #fff;
}

.results-wrapper .load-more-container button{
	background: #fff!important;
	color: #0A0A0A;
	border: 0;
}

.results-wrapper .woocommerce .load-more-container {
	margin-top: 4rem;
}
.results-wrapper h3,
#search-modal .type-switch button {
	/*text-transform: capitalize;*/
}
.type-switch button {
	padding: 0.8rem 3rem!important;
}
.results-wrapper li.product {
  width: auto!important;
  margin-right: 0!important;
}

@media screen and (max-width: 1000px){
	.search-close {
		position: relative;
	}
	#search-modal .site-branding {
		width: 12rem;
	}
	#search-modal .top-wrapper .top-right {
		display: flex;
	}
	#search-modal{
		width: 100%;
	}
	#search-modal .container.wide{
		max-width: unset;
	}
	#search-modal .search-results{
		max-width: unset;
		padding: 0;
	}
	#search-modal .top-wrapper {
		padding-top: 0;
		margin-top: 2.4rem;
		align-items: center;
	}
	#search-modal .type-switch {
		max-width: 100%;
	}
}
@media screen and (max-width: 768px){
	#search-modal ul.products li.product {
		width: auto!important;
		margin: 0 0 2.992em;
	}
}
@media screen and (max-width: 680px){
	/*#search-modal .top-wrapper {*/
	/*	justify-content: space-between;*/
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*margin-top: 3.2rem;*/
	/*	position: relative;*/
	/*}*/
	/*#search-modal .top-wrapper .top-middle {*/
	/*	position: relative;*/
	/*	transform: none;*/
	/*	left: auto;*/
	/*	margin-top: 2rem;*/
	/*}*/
	/*#search-modal .top-wrapper .top-right {*/
	/*	position: absolute;*/
    /*right: 0;*/
    /*top: 0;*/
	/*}*/
	#search-modal .type-switch {

	}
	#search-modal .type-switch button {

	}

	.results-wrapper .load-more-container {
		margin-top: 3rem;
		margin-bottom: 1rem;
	}
	#search-modal .results-wrapper .load-more-container {
		margin-bottom: 15rem;
	}
	.results-wrapper .woocommerce .load-more-container {
    margin-top: 0rem;
		margin-bottom: 1rem;
	}
	#search-modal ul.products li.product {
		width: auto!important;
		margin: 0 0 2.992em;
		/* margin-right: 0!important; */
	}
}
