.overlaywrapper.rel23 {
	position: relative;
	float: none;
	overflow: visible;
	margin: initial;
	width: initial;
	padding: initial;
}
.overlaywrapper.rel23>.cap {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 100001;
	display: none;
}
.overlaywrapper.rel23>.cap.active[data-visible] {
	display: block;
}

.overlaywrapper.rel23 > .cap {
	backdrop-filter: blur(50px) opacity(1);
	transition: all 160ms;
	display: none;
}

.svg_icon.user_white:after {
	background-image: url("../svg/svg_user_white.svg");
	cursor: pointer;
}
.svg_icon.shopping_cart_white:after {
	background-image: url("../svg/svg_shopping_cart_white.svg");
}

html:not(.logged-in-true) .logged_in_true,
html.logged-in-false .logged_in_true,
html.logged-in-true .logged_in_false {
	display: none !important;
}


#header-wrapper {
    border-bottom: 1px solid #DEDEDE;
    user-select: none;
	z-index: 2;
	position: relative;
}
#header-wrapper.invert {
    background-color: rgba(0,0,0,0.4);
}
#header {
	padding: 20px 0 10px;
	position: relative;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
	flex-direction: row;
    height: 95px;
    box-sizing: border-box;
}
#header .left a {
	display: inline-block;
	position: relative;
	font-family: "HurmeGeometricSans3-Bold", Arial, Helvetica, sans-serif;
	font-size: 20px;
	text-transform: uppercase;
	position: relative;
	text-decoration: none;
}
#header > ul.menu {
	flex-grow: 5;
	padding-bottom: 5px;
	margin-left: 7px;
}
#header > ul.menu li {
	display: inline-block;
	margin-left: 15px;
}

.popup-body .wrapper.success {
	text-align: center;
}
.popup-body .wrapper.success .svg_icon.okay_grey {
    height: 100px;
	width: 160px;
	margin-top: 40px;
}
.popup-body .wrapper.success .svg_icon.okay_grey:after {
	top: 0;
    left: 0;
    background-size: 160px;
    height: 120px;
    width: 160px;
}
.popup-body .wrapper.success .b36.center {
	text-align: center;
    margin: 40px auto;
}
.popup-body .wrapper.success .btn.btn-light {
	max-width: 280px;
	margin: 0 auto;
    display: block;
}
.popup-body .wrapper.success p.text {
	margin: 20px 0 40px;
}

#infodialog .popup-body .wrapper.success p.text {
	margin: 20px 0;
}

/* rel16 - overwrite */
body.gallery.teaser #header {
    background: transparent;
    border: none;
}

@media (max-width: 1023px) {
	
	#header > * {
		align-self: center;
	}
	#header > ul.menu {
		display: none;
	}
	#header > ul.menu li {
		display: inline-block;
		margin-left: 15px;
	}
	#header img.logo {
		height: 26px;
		width: 33px;
	}
	#header {
		height: 56px;
		padding: 0px 0;
	}
	#header-wrapper.invert {
		background-color: #282828;
	}
}


#header .rightfixed{
	margin-right: -10px;
	display: flex;
	position: relative;
	align-items: center;
}
.rightfixed > * {
	display: inline-block;
	position: relative;
}
.rightfixed > .cart {
	height: 40px;
}

#header .rightfixed.fadein > .default-hidden {
	display: none;
}

#header:not(.ready) .rightfixed.fadein > *:not(.menu){
	opacity: 0;
    transition: opacity 160ms;
}
#header.ready .rightfixed.fadein > *:not(.menu) {
	opacity: 1;
}

@media (min-width: 1024px) {
	
	#header > * {
		align-self: flex-end;
	}
	#header img.logo {
		width: 78px;
		height: 62px;
	}
	#header .rightfixed{
		bottom: -4px;
	}
	#header .left a.active:after {
		content:"";
		width: 100%;
		height: 5px;
		background: #000000;
		position: absolute;
		left: 0;
		bottom: -10px;
	}
	#header.invert .left a.active:after {
		background: #FFFFFF;
	}
	#header .menu a.active:after {
		bottom: -15px;
	}

}

.sitelist {
	padding: 40px 0;
	text-align: left;
}

.sitelist a, .sitelist span {
	display: inline-block;
	user-select: none;
	padding-bottom: 10px;
}
.sitelist li:last-child a {
    padding-bottom: 0;
} 
.sitelist .col {
	padding: 0 20px;
	border-left: 1px solid #505050;
}
.sitelist .mobile-menu-asset {
	display: none !important;
}

.siteinfo {}
.siteinfo-content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}
.siteinfo-content > * {
    align-self: center;
}
.siteinfo-content > .credits {
    flex-grow: 5;
    padding-left: 20px;
}

@media (min-width: 1024px) {
	.sitelist-content {
		margin: 0 -20px;
		width: calc(100% + 40px) !important;
	}
	.sitelist .col:first-child {
		border-left: none;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.sitelist-content {
		margin: 0 40px;
	}
	.sitelist-content>div {
		display: inline-grid;
		grid-template-columns: 1fr 1fr 1fr;
		column-gap: 16px;
		row-gap: 16px;
		min-width: 100%;
	}

}

@media (max-width: 767px) {
	.cart .svg_icon.s-size_80p:after {
		background-size: 100% 100%;
	}
	#footer .sitelist {
	    padding: 0;
	}

	#footer .sitelist .col {
	    padding: 0;
	    border-left: none;
	    padding-bottom: 40px;
	}
	#footer .sitelist .col:first-child {
		padding-top: 40px;
	}

	.siteinfo {}
	.siteinfo-content {
	    /* display: block; */
	    justify-content: space-between;
	    /* padding: 20px 0px 20px 50px; */
	}
	.siteinfo-content > *:first-child {
		/* position: absolute; */
		/* left: 0px; */
		/* top: 20px; */
		min-width: 51px;
	}
	.siteinfo-content > .credits {/* padding-left: 0px; */}
	.siteinfo-content > .socialnets {
		display: none;
	}
}

@media (max-width: 1023px) {
	#header-wrapper {
		position: sticky;
		background: white;
	}
	#header-wrapper[data-sticky-active="true"] {
		top: -60px;
	}
	#header-wrapper[data-sticky-active="true"][data-sticky-mode="visible"] {
		transition: top 166ms ease-out;
		top: 0;
	}
	#header-wrapper[data-sticky-active="true"][data-sticky-mode="hidden"] {
		transition: top 166ms ease-out;
		top: -60px;
	}
}


.basket-count-info {
	position: absolute;
	top: 14px;
	right: -8px;
	z-index: 1000;
	text-align: center;
	width: 20px;
}
.basket-count-info > * {
	font-family: "HurmeGeometricSans3-Bold", Arial, Helvetica, sans-serif;
    font-weight: normal;
	font-size: 12px;
}
#header .svg_icon.__smooth:after {
    opacity: 0.85;
}


/* rel16 - overwrite */
@media screen and (min-width: 768px) {
	#content > .gallery_landing_teaser {
		height: 100vh;
		top: -125px;
		margin-bottom: -115px;
	}
}


.freesearch .btn {
    width: 60px !important;
    height: 60px;
    display: inline-block;
    cursor: pointer;
    border: none;
}
.freesearch {
    width: 100%;
    margin: 0;
    display: flex;
	margin: 10px 0 20px 0;
    height: 60px;
    align-items: flex-start;
    background-color: #F8F8F8;
    position: relative;
}

.freesearch select {
    width: auto;
    height: 100%;
    padding: 5px 50px 3px 20px;
    border: none;
    position: relative;
    background-color: #F8F8F8;
	max-width: 400px;
    transition: all 300ms ease;
    flex: 1;
}
.freesearch:not([data-category="leicastore"]) .leicastore ,
.freesearch:not([data-category="challenge"]) .challenge ,
.freesearch:not([data-category="selection"]) .selection {
	opacity: 0;
	flex: 0;
	max-width: 0;
	overflow: hidden;
	padding: 0px;
}
.freesearch[data-category="all"] select[data-prop="freesearchtype"] >  option:not(:first-child),
.freesearch-mobile[data-category="all"] div[data-prop="freesearchtype"] > .filter-menu > div > div:not(:first-child) {
  display: none;
}
.freesearch .devider {
	content: "";
	left: 0px;
	height: 40px;
	background-color: #A0A0A0;
	width: 1px;
	top: 10px;
	position: relative;
	min-width: 1px;
}


body.--searchfilter .--searchfilter-off, 
body:not(.--searchfilter) .--searchfilter-on {
	display: none !important;
}

/* Photographer autocomplete dropdown */
.photographer-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    z-index: 200;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.photographer-dropdown::-webkit-scrollbar {
	width: 12px;
}
.photographer-dropdown::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 6px;
}
.photographer-dropdown::-webkit-scrollbar-track {
	background: #eee;
}
.photographer-dropdown {
	scrollbar-width: auto;
	scrollbar-color: #888 #eee;
}
.photographer-dropdown.is-visible {
    display: block;
}
.photographer-dropdown__list {
    max-height: 280px;
    overflow-y: auto;
}
.photographer-dropdown__arrow {
    position: absolute;
    right: 20px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1px solid #ddd;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    z-index: 1;
    transition: background 0.15s, box-shadow 0.15s;
}

.photographer-dropdown__arrow .svg_icon:after {
    width: 20px;
    height: 20px;
    left: 0px;
    top: 0px;
}
.photographer-dropdown__arrow--up {
    top: 6px;
}
.photographer-dropdown__arrow--down {
    bottom: 6px;
}
.photographer-dropdown__arrow:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}
.photographer-dropdown__arrow.is-hidden {
    display: none;
}
.photographer-dropdown__arrow .svg_icon {
    pointer-events: none;
}
.photographer-dropdown__arrow--up .svg_icon {
    transform: rotate(180deg);
}
.photographer-dropdown .photographer-dropdown__list div {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
	color: #505050;
	min-height: 20px;
	position: relative;
}
.photographer-dropdown .photographer-dropdown__list div:last-child {
    border-bottom: none;
}
.photographer-dropdown .photographer-dropdown__list div:hover,
.photographer-dropdown .photographer-dropdown__list div:focus,
.photographer-dropdown .photographer-dropdown__list div.is-active {
    background: #f5f5f5;
    outline: none;
}
.photographer-dropdown mark {
    background: transparent;
	color: rgb(40, 40, 40);
}
.photographer-dropdown__loading-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
}
.photographer-dropdown__loading-item::after {
    content: '';
	position: absolute;
	top: 11px;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-top-color: #666;
    border-radius: 50%;
    animation: photographer-dropdown-spin 0.7s linear infinite;
}
@keyframes photographer-dropdown-spin {
    to { transform: rotate(360deg); }
}
/* Disable search button in photographer mode, enable when exactly 1 result */
.freesearch.--photographer-mode .search.btn {
    pointer-events: none;
    opacity: 0.35;
}
.freesearch.--photographer-mode.--photographer-exact .search.btn {
    pointer-events: auto;
    opacity: 1;
}
/* Loading state while suggestions are being fetched (only active when category = all) */
.freesearch.--suggestions-loading .search.btn {
    pointer-events: none;
    opacity: 0.35;
    cursor: wait;
}

body.gallery18-challenges-carpet:not(.--searchfilter) .filter-menu-wrapper.--default .filter-menu .filter-group.camerasystem ,
body.gallery18-challenges-all-carpet:not(.--searchfilter) .filter-menu-wrapper.--default .filter-menu .filter-group.camerasystem ,
body.store-finalist:not(.--searchfilter) .filter-menu-wrapper.--default ,
body.store-winner:not(.--searchfilter) .filter-menu-wrapper.--default {
	display: none !important;
}

.freesearch-mobile {
	display: none;
}

@media screen and (max-width: 767px) {

	.freesearch-mobile {
		display: block;
		margin-bottom: 20px;
	}

	/* Each filter group: button + collapsible list */
	.freesearch-mobile .mobile-freesearch-group {
		margin-bottom: 1px;
	}

	/* Toggle button: same style as .mobile-filter .btn */
	.freesearch-mobile .mobile-freesearch-group > button.btn {
		width: 100%;
		text-align: left;
		padding: 13px 20px 12px;
		line-height: 15px;
		background-color: #F8F8F8;
		background-image: url("../svg/svg_filled_arrow_right.svg");
		background-repeat: no-repeat;
		background-size: 40px;
		background-position: 100% 50%;
		color: #262626;
		font-family: "HurmeGeometricSans3-Regular", Arial, Helvetica, sans-serif;
		text-transform: uppercase;
		font-size: 14px;
		margin-bottom: 1px;
		display: block;
		border: none;
		cursor: pointer;
	}
	.freesearch-mobile .mobile-freesearch-group.__js_toggle_menu_active > button.btn {
		background-color: #282828;
		color: white;
	}

	/* Option rows */
	.freesearch-mobile .filter-menu > div > div {
		display: block;
		padding: 13px 20px 12px;
		line-height: 15px;
		color: #262626;
		font-family: "HurmeGeometricSans3-Regular", Arial, Helvetica, sans-serif;
		font-size: 14px;
		margin-bottom: 1px;
		cursor: pointer;
		text-transform: uppercase;
		background-color: #F8F8F8;
	}
	/* .freesearch-mobile .filter-menu > div > div:hover {
		background-color: #dedede;
	} */

	/* Active item: highlighted red */
	.freesearch-mobile .freesearchtype-owner_name  .value-owner_name,
	.freesearch-mobile .freesearchtype-name         .value-name,
	.freesearch-mobile .freesearchtype-caption      .value-caption,
	.freesearch-mobile .freesearchtype-keywords     .value-keywords,
	.freesearch-mobile .category-all          .value-cat-all,
	.freesearch-mobile .category-exhibitions  .value-cat-exhibitions,
	.freesearch-mobile .category-mastershots  .value-cat-mastershots,
	.freesearch-mobile .category-selection    .value-cat-selection,
	.freesearch-mobile .category-challenge    .value-cat-challenge,
	.freesearch-mobile .category-leicastore   .value-cat-leicastore,
	.freesearch-mobile .category-pictureoftheweek .value-cat-pictureoftheweek,
	.freesearch-mobile .challenge-section-qualified  .value-chsec-qualified,
	.freesearch-mobile .challenge-section-shortlist  .value-chsec-shortlist,
	.freesearch-mobile .challenge-section-finalists  .value-chsec-finalists,
	.freesearch-mobile .leicastore-section-finalist  .value-lssec-finalist,
	.freesearch-mobile .leicastore-section-winner    .value-lssec-winner {
		background-color: #E20020 !important;
		color: white;
	}

	/* Sub-filter groups: hidden by default, shown based on data-category */
	.freesearch-mobile .mobile-sub {
		display: none;
	}
	.freesearch-mobile[data-category="selection"]  .mobile-sub.selection,
	.freesearch-mobile[data-category="challenge"]  .mobile-sub.challenge-list,
	.freesearch-mobile[data-category="challenge"]  .mobile-sub.challenge-section,
	.freesearch-mobile[data-category="leicastore"] .mobile-sub.leicastore-section,
	.freesearch-mobile[data-category="leicastore"] .mobile-sub.leicastore-list {
		display: block;
	}

}