/* @override 
	http://webdev2:8888/epworth/collectionImages/collection.css */

@import url("https://use.typekit.net/meu5qzh.css");

:root {
  --orange: #ce7228;
  --grey: #575756;
  --dark_grey: #464646;
  --darkest: #383837;
  --purple: #532075;
  --green: #00936e;
  --light: #fff;
  --mortar: #eae3d2;
  --samuel: #691c0e;
  
}
.darkest {
	background-color: var(--darkest);
}
.dark_grey {
	background-color: var(--dark_grey);
}
#collection {
  background-color: var(--grey);
  color: var(--light);
  font-family: freight-neo-pro, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
}
.hidden {
	display: none;
}
#collection >* {
	padding-inline: 20px;
}
.collection_hero {
	background: url(assets/collectionBg.jpg) center center no-repeat var(--dark);
	background-size: cover;
	color: var(--light);
	position: relative;
}
h1 {
	color: var(--light);
	font-size: clamp(3.5rem, 9vw, 5.6rem);
	font-weight: 600;
	line-height: 100%;
	padding-top: .25em;
	padding-bottom: 1rem;
}
.highlight{
	font-size: 2rem;
	text-align: center;
	position: relative;
	z-index: 0;
	width: 50%;
	margin: 0px auto 30px auto;
	display: none;
}
.highlight.show {
	display: block;
}
.highlight em {
	background-color: var(--grey);
	padding: 0 1rem;
	z-index: 1;
}
.highlight::before {
	content: "";
	background-color: var(--light);
	height: 2px;
	width: 100%;
	position: absolute;
	left:  0;
	top: 50%;
	z-index: -1;
}
.collection_hero h2, .big_search label{
	color: var(--mortar);
	font-style: italic;
}
.big_search label{
	font-size: clamp(1rem, 3vw, 1.5rem);
}
.big_search form {
	display: grid;
	grid-template-columns: auto 1fr auto;
}
.big_search #coll-search{
	font-size: clamp(1rem, 4vw, 2.5rem);
	padding: .25em;
	border-width: 3px;
	min-width: 100px;
	text-align: center;
}
input.searchIcon{
    color: transparent !important;
	background: url(assets/searchIcon.png) center center no-repeat;
	background-size: 100%;
	height: 80px;
}
input.searchIcon:hover, input.searchIcon:focus {
	scale: .9;
}
#collection h2, #collection h3, #collection h4, #collection h5, .highlights h2, .highlights h3{
  color: var(--light);
  text-wrap: balance;
}
#collection a{
  color: var(--mortar);
  /*font-weight: 800;*/
}
.highlights{
	background-color: var(--samuel);
	color: var(--light);
	padding-block: 2rem;
	position: relative;
}
.highlights .container {
	position: relative;
}
.highlight_intro {
	display: grid;
	margin-bottom: 1.5rem;
}
.highlights_holder{
	height: 40svh;
	overflow-y: scroll;
	display: flex;
	flex-wrap: nowrap;
	gap: 1rem;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	position: relative;
	width:  100svw;
	background-color: var(--samuel);
	padding-bottom: 1rem;
	
}
.highlight_item{
	min-width: 100%;
	display: grid;	
	grid-template-rows: auto max-content;
	transition: 300ms;
	scroll-snap-align: start;
}
.highlight_item.active{
	/*min-width:  100%;*/
}
/*.highlight_detail .inner div >* {
	max-width: 600px;
	margin: 0 auto;
}*/
.highlight_item a{
	color: var(--mortar);
	display: block;
	margin-bottom: 1rem;
}
.highlight_image {
	background: url(assets/no_image_small.png) center center no-repeat;
	overflow: hidden;
	opacity: 1;
	cursor: pointer;
}
.highlight_image img{
	width:  100%;
	height: 100%;
	object-fit: cover;
}
.highlight_detail {
	background-color: var(--grey);
}
.padding{
	padding: 1rem
}
/*.highlight_item .highlight_detail {
	display: block;
}*/
#next_slide{
	position: absolute;
	bottom:  0px;
	right: 0;
	height:  calc(40svh + 50px);
	display: grid;
	align-content: center;
}
#next_slide button {
	height: 50px;
	border: none;
	aspect-ratio: 1;
	background: url(assets/arrowWhite.png) center center no-repeat;
	background-size: 100%;
	transition: transform 500ms ease-out;
	display: grid;
	align-content: center;
	cursor: pointer;
	color: transparent;
	background-color: var(--dark_grey);
	border: 2px solid var(--samuel);
}
#next_slide button.return {
	transform: rotate(180deg);
}
.title {
  font-weight: 800;
}
.container {
	 max-width: 1000px;
	margin-inline: auto;
}
img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.grid {
  display: grid;
  gap: 3rem;
  margin-top: .5rem;
}
.measures{
	grid-template-columns: 1fr 1fr 1fr;
	margin-bottom: 3rem;
}
.measures div {
	border-left: 1px dotted; var(--light);
	padding-left: 1rem;
}


#advanced-search-butt {
	background-color: var(--grey);
	color: var(--light);
	border: none;
	cursor: pointer;
}
#advanced-search-butt[aria-pressed="false"]{
	background-color: var(--grey);
}
button#expand{
	background-color: transparent;
	border: none;
	color: var(--light);
	position: absolute;
	display: none;
	position: relative;
	min-width: 4ch;
	text-align: left;
}
button#expand span{
	transition: opacity 1s ease-in-out 0s;
	opacity: 0;
	position: absolute;
	width: 60ch;
	text-align: left;
	top:  1.5ch;
	left:  5ch;
	font-size: .75rem;
}
button#expand:hover {
	scale: 1.2;
}
button#expand:hover span{
	opacity: 1;
}
.single_item {
	padding-block: 2rem;
}
[data-active="false"]{
	scale: 1;
	transition:all 300ms ease-in-out;
}
.imgs [data-active="true"]{
	outline: 5px solid var(--orange);
	scale: .75;
}
.img-label {
	font-size: .75rem;
	text-align: center;
}


.gallery{
  --thumb: 60px;
  height: 100%;
  display: grid;
  gap: 1rem;
  grid-template-rows: auto var(--thumb);
  z-index: 1000;
  height: 60svh;
}
#expand{
  scale: 50%;
  z-index: 20000;
  cursor: pointer;
  margin-left: -12px;
  margin-top: -12px;
  border: none;
}
.imgs{
  height: var(--thumb);
  overflow: scroll;
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
}
.imgs .img-label{
  display: none;
}
.imgs img{
  min-width: var(--thumb);
  width:  var(--thumb);
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  scroll-snap-align: start;
}
.gallery.expand{
  position: fixed;
  inset: 0;
  height: 100svh;
  z-index: 10000;
  background-color: var(--grey);
}
#expand.expand-close{
	background-color: rgba(0,0,0, .5);
	position: fixed;
	top: 0;left: 0;
}



.main-img{
  z-index: -1;
  position: relative;
  cursor: pointer;
  
}
.main-img .img{
  display: flex;
  flex-direction: column;
}
.main-img img{
 width: 100%;
  height: 100%;

  object-fit: cover;
  position: absolute;
}
.expand .main-img img {
	object-fit: scale-down;
}
.main-img .img{
  display: flex;
  justify-content: end;
  height: 100%;
  /*min-height: 600px;*/
}
.main-img .img-label{
  bottom: 0;
  padding: 1rem;
  color: #fff;
  background-color: rgba(0,0,0, .75);
  z-index: 2;
}







.detail_row{
  grid-template-columns: 2fr 2fr 2fr;
  font-weight: 100;
  font-size: 1rem;
}
.auto{
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}
.hAlign{
  align-items: center;
}
.two{
  grid-template-columns: repeat(2, auto);
}
.center{
  min-height: 100dvh;
  place-content: center;
}
.flex{
  display: flex;
  gap: 2rem;
}
.flex >*, .uploadButt, label{
	align-self: center;
}
form.flex {
	flex-wrap: wrap;
	margin-bottom: 1rem;
	justify-content: space-between;
}
.search_box {
	width:  clamp(100px, 30vw+1rem, 700px);
	display: grid;
	gap: 1rem;
	grid-template-columns: auto 1fr auto;
	align-content: center;
}
.search_within_box {
	max-width: 400px;
	display: grid;
	gap: 1rem;
	grid-template-columns: auto 1fr;
}
output {
	width: 8ch;
}
.centreH{
  align-items: center;
}
ul,li {
/*  width: 100%!important;
  margin: 0!important;
  padding: 0!important;*/
}
.btn{
  background-color: var(--dark_grey);
  color: var(--light);
  border: none;
  padding: 1rem;
  cursor: pointer;
}
.hidden {
  opacity: 0.5;
  transition: opacity 300ms ease-out;
  display: none;
}
.imgList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.imgList li {
  list-style-type: none;
}
.imgList img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.fill {
  flex-flow: row wrap;
  justify-content: space-between;
}
.itemImage {
  position: relative;
}
.topBtns{
  position: absolute;
  width: 100%;
}
.itemImage:has([data-active="true"]) .hidden {
  opacity: 1;
  display: block;
}
.smallPrint{
  font-size: .8rem;
}
.break{
  border-top: 1px solid var(--grey);
  margin-top: 2rem;
  padding-top: 2rem;
}
.accNo{
  width: 100px!important;
}
.search-results{
  /*display: grid;*/
  padding: 0;
  margin-top: 1rem;
  /*width: 600px;*/
  padding-bottom: 2rem;
}
.search-results.grid-view {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.search-results.list .item_info div, .search-results.list .item_image, .search-results.list p, .grid-view p, .grid-view .item_info div{
	opacity: 0;
	width: 0px;height: 0px;
	margin: 0px;padding: 0px;
	border: 1px solid #333;
}
.search-results li{
  list-style-type: none;
  padding: .5rem;
  border-top: 1px solid var(--light);
}
.search-results.list li{
	border-top: none;
}
.search-results.grid-view li {
	border: 1px solid var(--dark_grey);
	background-color: var(--dark_grey);
}
.no_match {
	display: none;
}
.search-results .item{
  display: grid;
  grid-template-columns: auto;
  gap: 1rem;
  padding: 1rem;
}
.search-results.list .item{
  display: block;
  padding: 0rem .5rem;
}
.item_title{
  font-size: 2rem;
 font-size: clamp(1.5rem, 1vw, 2rem);
  font-weight: 400;
  line-height: 1.17em;
  text-decoration: none;
  text-transform: capitalize;
}
.grid-view .item_title {
	font-size: 1.2rem;
}
.list .item_title {
	font-size: 1rem;
}
.search-results li:nth-child(odd){
  background-color: var(--dark_grey);
}
.search-results .item_image{
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--green);
  background: url(assets/no_image_small_fade.png) center center no-repeat;
  background-size: 50%;
  opacity: 1;
  /*padding: 1rem;*/
}

.no_image {
	background: url(img/no_image_small.png) center center no-repeat;
	grid-area: main!important;
	opacity: .25;
}
.search-results .item_image img{
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--light);
}
.item_info{
  min-height: 100%;
  display: grid;
  gap: 1rem;
  grid-template-rows: max-content auto max-content; 
height: 100%;
}
.list .item_info, .grid-view .item_info{
	min-height: auto;
	display: block;
	
}
.set_list_holder {
	margin-top:  1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--mortar);
}
.set_list {
	margin-left: 1rem!important;
}
.set_list li{
	text-wrap: balance;
	margin-bottom: 1rem!important;
}
.set_list a{
	font-weight: 400!important;
}
#collection p a, .highlight_detail .location a{
	text-decoration: underline;
	text-underline-offset: .2em;
}
select{
   appearance: none;
  /* safari */
  -webkit-appearance: none;
  /* other styles for aesthetics */
  width: 100%;
  font-size: 1rem;
  padding: .5em;
  background-color: transparent;
  border: none;
  border-radius: 0.25rem;
  color: var(--light);
  cursor: pointer;
}
.custom_select{
  max-width: max-content;
  min-width: 150px;
  position: relative;
}
input{
	padding: .25rem;
	font-size: 1rem;
	line-height: 100%;
	min-height: 1.75rem;
}
#coll-search {
	font-size: clamp(1rem, 3vw, 2rem);
	height: 55px;
	align-self: center;
}
.custom_select, input, textarea {
	background-color: var(--dark_grey);
	color: var(--light);
	border: 1px solid var(--mortar);
}
input.view-pref-butt {
	background-color: transparent;
	border: 0px!important;
	width: 30px;
	aspect-ratio: 1;
}
input.view-pref-butt:hover {
	background-color: var(--dark_grey);
}
input.view-pref-butt[data-pressed=true] {
	background-color: var(--dark_grey);
}
textarea{
  display: block;
  width: 100%; 
}

.collection_hero {
	position: relative;
}

@media(min-width:800px) {
	.collection_hero {
		display: grid;
		padding-block: 3rem
	}
	.collection_hero .container{
		display: grid;
		grid-template-areas: 
			"a a a"
            "d d b"
            "c c c";
	}
	.collection_hero h1 {
		grid-area: a;
	}
	.collection_hero h2 {
		grid-area: d;
		display: grid;
		place-content: end space-between;
	}
	.collection_hero .collection_intro{
		grid-area: b;
		max-width: 500px;
	}
	.collection_hero .big_search{
		grid-area: c;
	}
	.collection_intro p:last-of-type {
		margin-bottom: 8px;
	}
	.big_search {
		margin-top: 1rem;
	}
	.two_col {
		display: flex;
		justify-content: space-between;
		gap: 1rem;
	}
	.highlight_intro {
		display: grid;
		grid-template-columns: auto 2fr;
	}
	.highlight_intro h2 {
		font-size: clamp(2rem, 10vw, 4rem);
		margin-right: 2rem;
	}
	.highlight_intro p {
		margin: 0;
	}
	.highlight_item {
		min-width: 33%;	
		max-width: 500px;
	}
	.highlight_detail{
		display: grid;
		grid-template-rows: 0fr;
		transition: grid-template-rows .3s ease-in-out;
	}
	.highlight_detail .inner {
		overflow: hidden;
	}
	.highlight_item.active {
		/*min-width: 50%;
		max-width: 500px;*/
		/*width: minmax(50%, 500px);*/
	}
	.active .highlight_detail{
		grid-template-rows: 1fr;
	}
	.single_item{
		grid-template-columns: 1fr 1fr;
		/*background-color: var(--dark_grey);*/
	}	
	.single_item.expand {
		grid-template-columns: 1fr 0fr;
		gap: 0;
	}
	.single_item.expand .single_info {
		overflow: hidden;
		display: none;
	}
	.single_info {
		grid-area: 1 / 2 / 2 / 2;
		max-height: 60svh;
		overflow: scroll;
	}
	button#expand {
		display: block;
	}
	.search-results .item {
		grid-template-columns: 2fr 4fr;
	}
	.search-results.grid-view .item {
		grid-template-columns: 1fr;
	}
	.search-results.list .item {
		grid-template-columns: 1fr;
	}
	.search-results.list  .item_info{
		height: min-content;
}
	
}