/*********************************************************************************************************************/
/*****  HEADER 
/*********************************************************************************************************************/
.gearHeader {
	overflow: hidden;
}
.mainImg img {
    width: 100%;
    height: 80vh;
	object-fit: cover;
}
.gearHeaderTxt {
	padding: 10vh var(--gutter) 5vh var(--gutter-left);
}


@media screen and (min-width: 1071px) {
	.mainImg {
		position: absolute;
		width: 100%;
		z-index: 1;
	}
	.gearHeaderTxt {
		margin-top: 30vh;
		width: 50%;
		position: relative;
		z-index: 5;
	}
}
@media screen and (max-width: 1070px) {
	.mainImg img {
		height: 60vh;
	}
	.gearHeaderTxt {
		padding-top: 5vh;
	}
	
}

/*********************************************************************************************************************/
/*****  STUDIOS HEADER
/*********************************************************************************************************************/
.studios {
	position: relative;
    --studios-nav-height : 10vh;
}

.fullGearLinkWrap {
    position: relative;
	float: right;
	padding-right: var(--gutter-left);
	width: 50%;
    height: var(--studios-nav-height);
    display: flex;
    align-items: center;
    z-index: 3;
}
/** Studio Links **/
.studioNav {
    position: sticky;
	top: 0;
    margin-bottom: calc(var(--gutter-v) * 3);
    z-index: 2;
}
.studioNav ul {
	width: 40%;
	display: flex;
    justify-content: space-between;
	padding: 0 var(--gutter) 0 var(--gutter-left) ;
	z-index: 2;
}
.studioNav a {
	display: flex;
    align-items: center;
    height: var(--studios-nav-height);
	white-space: nowrap;
	text-decoration:underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .5em;
    text-decoration-color: var(--text-decoration-color);
}

@media screen and (max-width: 1070px) {
	.fullGearLinkWrap {
		width: auto;
	}
}
@media screen and (max-width: 950px) {
	.studios {
		--studios-nav-height : auto;
	}
	.fullGearLinkWrap {
		float: none;
		padding: 0 var(--gutter-left) 5vh;
	}
	.studioNav {
		margin-bottom: 0;
	}
	.studioNav ul {
		width: 100%;
		padding-right: calc(var(--gutter-left)*2 + 100px);
	}
	.studioNav a {
		height: var(--header-height);
	}
}
/*********************************************************************************************************************/
/*****  STUDIO
/*********************************************************************************************************************/

.studioTitle {
    margin: 0 0 .5em;
}

/* Image **/
.studioImages {
	flex: 1;
}
.studioImages img {
	margin: 0 var(--gutter-left) 10% 0;
}

/** Studio gear **/
.gearTitle {
	margin: 3em 0 0;
}
.studioItemTitle {
	font-size: 1rem;
	margin: 3em 0 1.5em;
}
.studioItem {
	padding: .5em 0;
	margin: .5em 0;
	display: flex;
	border-bottom: 1px solid var(--text-decoration-color);
}
.studioGearName {
	width: 20em;
}
.studioGearInfo {
	margin-left: 1em;
	flex: 1;
}

/** Tables **/
.gearTable {
	width: 100%;
}
.hideGearRows tr:nth-child(5) ~ tr {
	display: none;
}
.gearTableShowAllButton {
	display: none;
	padding: .5em 0;
	cursor: pointer;
}
.gearTableShowAllButton::after {
	content: '>';
	display: inline-block;
	margin-left: 1em;
	transform: rotate(90deg);
	font-family: var(--font2);
}
.hideGearRows + .gearTableShowAllButton {
	display: block;
}

@media screen and (min-width: 901px) {
	.studio {
		clear: both;
		position: relative;
		display: flex;
		align-items: stretch;
		padding-bottom: calc(var(--gutter-v) * 3);
		z-index: 1;
	}
	.studioTxtWrap {
		position: relative;
		width: 40%;
	}
	.studioTxt {
		position: sticky;
		top: var(--studios-nav-height);
		left: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: calc(80vh - var(--studios-nav-height));
		padding: var(--gutter-v) var(--gutter) var(--gutter-v) var(--gutter-left);
	}
	.studioImages img {
		width: 90%;
		Height: auto;
	}
	.studioGear {
		margin-right: var(--gutter-left);
	}
}
@media screen and (max-width: 900px) {
	.studio {
		margin: 0 var(--gutter-left) calc(var(--gutter-v) * 2);
	}
	.studioTitle {
		font-size: 10vw;
		padding-top: var(--header-height);
	}
	.studioTxt {
		padding: 0 0 var(--gutter-v);
	}
}
@media screen and (max-width: 550px) {
	.studioTitle {
		font-size: 55px;
	}
	h3.gearTitle {
		font-size: 2.2em;
	}
}
/*********************************************************************************************************************/
/*****  OTHER GEAR
/*********************************************************************************************************************/
.otherGearNav ul {
	display: flex;
	flex-direction: column;
	margin: var(--gutter-v) 0;
}
.otherGearNav ul li a {
	display: block;
	margin: .5em 0;
}
/** Other gear list **/
.otherGear .gearTable {
	margin: 0 auto var(--gutter-v);
}
.otherGear .gearTable + .gearTableShowAllButton {
	margin: calc(var(--gutter-v) * -1) 0 var(--gutter-v);
}
.otherGear td {
	padding: 1em 0 1em 1em;
	border-bottom: 1px solid var(--text-decoration-color);
}
.otherGear th {
	text-align: left;
	padding: 1em 0 1em 1em;
	border-bottom: 1px solid var(--text-decoration-color);
}
.otherGear th h4 {
	margin: 0;
}
.otherGear .otherGearName {
	padding-left: 0;
}
.otherGear td:last-child,
.otherGear th:last-child {
	text-align: right;
	width: 12em;
}


@media screen and (min-width: 901px) {
	.otherGearSection .studioTitle {
		text-align: right;
	}
	.otherGearNav ul {
		align-items: flex-end;
		text-align : right;
	}
	
	.otherGearfullGearLinkWrap {
		display: flex;
		justify-content: flex-end;
	}
	.otherGear .otherGearName {
		width: 20em;
	}
	.otherGearLocation {
		width: 9em;
	}
}
/*********************************************************************************************************************/
/*****  BACK TO TOP BTN
/*********************************************************************************************************************/
#backToTop {
	position: sticky;
	bottom: var(--gutter-v);
	z-index: 10;
	transition: opacity .5s;
}
#backToTop a {
	position: absolute;
	right: 1%;
	bottom: 0;
	width: 4%;
	font-size: .8vw;
	border: 1px solid var(--text-decoration-color);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: .5em;
	transition: transform .2s, border-color .2s;
	transform: scale(0.95);
}
#backToTop a::before {
	content: '>';
	font-size: 1.8em;
	display: block;
	transform: rotate(-90deg);
}
#backToTop a:hover {
	transform: scale(1);
	border-color: rgba(255,255,255,.5);
}
#backToTop.hideBtn {
	opacity: 0;
}

@media screen and (max-width: 900px) {
	#backToTop a {
		width: 50px;
		font-size: 10px;
		background: #0f0f0f;
	}

}