/* TRANS Magazine styles */

:root {
	--player-h: 30px;
  --vtab-w:  30px;
  --vtab-h: calc(100vh - var(--player-h) + 1px);
  --tabs-size: calc(4 * ( var(--vtab-w)));
  --content-w: calc(100vw - var(--tabs-size) + 6px);
  --padding-top: 25px;
  --content-h: calc(var(--vtab-h) - 2 * var(--padding-top));
}

*{
	box-sizing: border-box;
	outline: none;
}


@font-face
{
  font-family: "Univers Next";
	src: url("/theme/trans/font/univers.woff2") format("woff2"),
        url("/theme/trans/font/univers.woff") format("woff");
  /*font-display: swap;*/
}

@font-face
{
  font-family: "Leaf";
	src: url("/theme/trans/font/TOLeaf-Regular.woff2") format("woff2");
        url("/theme/trans/font/TOLeaf-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face
{
  font-family: "Leaf";
	src: url("/theme/trans/font/TOLeaf-RegularItalic.woff2") format("woff2"),
        url("/theme/trans/font/TOLeaf-RegularItalic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}


a
{
	text-decoration: none;
	color: black;
	font-style: normal;
}

a:hover
{
	text-decoration: underline;
}


.black
{
	background-color: black !important;
	color: white !important;
}

.black a{
	color: white;
}

body
{
	font-family: "Univers Next", "Segoe UI", arial, helvetica, freesans, sans-serif;
	margin: 0;
	padding: 0;
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-smooth: always;
}

.welcome__overlay{
	display: none;
	position: fixed;
	height: 100vh;
	width: 100vw;
	top: 0;
	left: 0;
	overflow-y: hidden;
	overflow-x: hidden;
	z-index: 100000;
	background-color: #EEE;
  background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
	cursor: pointer;
}

.welcome__text{
	position: relative;
	height: 100vh;
	width: 100vw;
	top: 0;
	left: 0;
	font-size: 7.5vw;
	text-align: center;
	line-height: 100vh;
  background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
 -webkit-background-clip: text;
 background-clip: text;
	background-color: #EEE;
 color: transparent;
  filter: invert(100%);
    -webkit-user-select: none;  
  -moz-user-select: none;    
  -ms-user-select: none;      
  user-select: none;
}

.main-content{
	width: 100vw;
	height: var(--vtab-h);
	display: flex;
	flex-flow: row nowrap;
}


.container
{
	position: relative;
	top: 0px;
	display: block;
	width: var(--content-w);
	height: var(--vtab-h);
	color: black;
	flex-basis: calc(var(--vtab-w) - 1px);
	overflow: hidden;
	transition: flex 0.750s ease;
	flex-grow: 0;
	border-left:  1px solid black;
}

.container .vtab
{
	/* for current tab to the left
	top:  0;
	left:  0;
	transform-origin: top left;
	transform: rotate(90deg) translate(0,-100%) ; 
	*/
	position: absolute;
	bottom: 0px;
	right: -1px;
	transform-origin: bottom right;
	transform: rotate(90deg) translate(0,100%) ; 
	width: var(--vtab-h);
	height: var(--vtab-w);
}


.container .tab
{
	
	/*
	background: rgba(255,255,255,0.7);
	*/


	font-size: 0.9em;
	font-weight: normal;
	line-height: var(--vtab-w);
	
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	transition: background-color 0.5s ease;
}



.container .tab:not(.black)
{
	color: black;
	background: transparent;
}

.tab.first{
	color: white;
	background: black;
	padding-left: calc(var(--padding-top) + 2px);
}


.container:not(.active) .tab:not(.black):hover{
	color:  white;
	background-color: black;
	/*background: transparent;
	background: linear-gradient(0deg, rgba(244,244,244,0) 0%, rgba(235,198,228,0.3) 100%); */
	
}


.cwrapper .content{
	position: relative;
	display: block;
	width: var(--content-w);
	height: 100%;
	background-color: #EEE;
	opacity: 0;
	transition: all 0.750s ease;
	padding: var(--padding-top);
}

.container.active, 
.container:target
{
	flex-grow: 1;
}

.container.active .cwrapper, 
.container:target .cwrapper
{
	position: absolute;
	right: 0;
	bottom: 0;
	top:  0;
	left:  0;
	width: calc(var(--content-w) + 5px);
	height:  var(--vtab-h);
	overflow-y: auto;
	overflow-x: hidden;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.cwrapper::-webkit-scrollbar {
  display: none;
}


.container .tab a
{
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
	outline: 0 none;
	padding-left: calc(var(--padding-top) + 2px);
}


.container.active .tab, 
.container:target .tab
{
	color: black;
	background-color: white;	
}

.container.active .content, 
.container:target .content
{
	opacity: 1;
	background-color: white;
}

.news_container{
	display: grid;
	height: var(--content-h);
	grid-gap: 10px;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr; /*calc(80vw/12));*/
}

.radio{
	width: 100vw;
	height: var(--player-h);
	border-bottom: solid 1px black;
	background-color: white;
	line-height: 16px;
	display: flex;
	flex-direction: row;
    align-items: center; /* Align Items Vertically */
	font-family: "Leaf", serif ;
	font-style: italic;
	font-size: 0.8em;
	letter-spacing: 0.075rem;
}

.radio:hover .radio__playlist{
	display: block;
}

.radio__current{

}

.radio__playlist{
	display: none;
	position: absolute;
	top: 29px;
	z-index: 8000;
	width: 100vw;
	border-bottom: 1px solid black;
	background-color: white;
	padding-left: 30px;
}

.radio__playlist div{
	margin-bottom: 3px;
}

#radio__play, #radio__pause{
	cursor: pointer;
	width: 30px;
}

.grid__articles{
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(auto-fill, minmax(400px,1fr));
	grid-row-end: span 1;
}

.grid__articles .portrait{
	grid-row-end: span 2;
}

.grid__articles .portrait .widget__bg img{

}

.grid__articles > div{
  background-color: #EEE;
  position: relative;
  padding-top: 62%;
}


.grid__articles .grid__item{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.article__overlay{
  font-family: "Leaf", serif;
	display: none;
	position: fixed;
	height: 100vh;
	width: 100vw;
	top: 0;
	left: 0;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 10000;
	background-color: #EEE;
	transition: background-color 2s ease;
}

.article__close{
	position: sticky;
	width: 50px;
	height: 50px;
	top: 50px;
	right: 50px;
	line-height: 50px;
	cursor: pointer;
	text-align: center;
	fill: #AAA;
}

.article__wrapper{

}

.article__head{
	letter-spacing: 0.15rem;
	position: sticky;
	top: 0;
	padding-bottom: 10px;
	max-width: 700px;
	margin-right: auto;
	margin-left: auto;
	
	background: linear-gradient(180deg, rgba(238,238,238, 1) 80%, rgba(238,238,238, 0) 100%);

}

.article__bios{
	font-size: 0.7em;
	line-height: 1.2em;
	padding-top: 30px;
	padding-left: 30px;
	text-align: left;
	letter-spacing: 0px;
}

.article__notes{
	font-size: 0.7em;
	line-height: 1.2em;
	padding-left: 30px;
	text-align: left;
	letter-spacing: 0px;
}

.article__bar{
	display: block;
	height: 10px;
	max-width: 90vw;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	max-width: 700px;
}


.article__next{
	display: block;
	height: 10px;
}


.article__title, 
.article__authors, 
.article__body{
	transition: all 0.5s ease;
}


.article__head.small .article__title, .article__title{
	text-transform: uppercase;
	font-size: 0.8em;
	text-align: center;
	color: black;
	padding-top: 30px;
}

.article__head.small .article__authors, .article__authors{
	text-align: center;
	font-style: italic;
	color: black;
	padding-bottom: 30px;
	margin-top: -3px;
	/*background: linear-gradient(180deg, rgba(244,244,244,1) 70%, rgba(244,244,244,0) 100%);;
*/
}

.article__head.small .article__title{
	margin-top: 100px;
}

.article__head.small .article__authors{
	position: sticky;
	/*background: linear-gradient(180deg, rgba(244,244,244,1) 70%, rgba(244,244,244,0) 100%);;
*/
}


.article__head.big .article__title{
	text-transform: uppercase;
	font-size: 1.7em;
	text-align: center;
	color: black;
	margin-top: 100px;
}

.article__head.big .article__authors{
	font-size: 1.7em;
	text-align: center;
	font-style: italic;
	position: sticky;
	color: black;
	margin-top: -6px;
	/*background: linear-gradient(180deg, rgba(244,244,244,1) 70%, rgba(244,244,244,0) 100%);;
*/
}

.article__body{
	letter-spacing: 0.075rem;
	line-height: 1.3em;
	margin-top: 150px;
	text-align: justify;
	text-justify: inter-word;
	font-size: 1.3em;
	max-width: 700px;
	margin-right: auto;
	margin-left: auto;
}


.article__footer{
	max-width: 100vw;
	position: sticky;
	bottom: 0;
	left: 50%;
	
	letter-spacing: 0.075rem;
	margin-right: auto;
	margin-left: auto;
	width: 200px;
	color: black;
	display: flex;
	justify-content: center;
	font-size: 1.3em;
	/*letter-spacing: 1px;*/
	background-color: transparent;
	color: white;
	padding-top: 30px;
	padding-bottom: 20px;
}

.article__footer.bg{
	width: 100%;
	background: linear-gradient(0deg, rgba(238,238,238, 1) 80%, rgba(238,238,238, 0) 100%);
}

.article__togglegallery{
	width: auto;
	height: 30px;
	text-align: center;
	/*letter-spacing: 2px;*/
}

.article__footer a{
	text-decoration: none;
}

.article__footer a:hover{
	opacity: 0.3;
	text-decoration: none;
}
.article__footer.article__togglegallery{
	background: linear-gradient(0deg, rgba(238,238,238, 1) 80%, rgba(238,238,238, 0) 100%);
}

.article__gallery{
	position: static;
	display: none;
	top: 50px;
	height: calc(100vh - 80px);
	width: 700px;
	margin-right: auto;
	margin-left: auto;
}

.article__gallery .widget{
  display: block;
  background-color: transparent;
  width: 100%;
  height: 100%;
}

.article__gallery.big{
	display: none;
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	height: calc(100vh - 80px);
	width: 100vw;
	z-index: 20000;
}

.article__gallery.big .close{
	display: block;
}

.article__gallery .close{
	display: none;
}

.article__issue{
	text-align: center;
	font-size: 1.4em;
	padding-top: 30px;
	padding-bottom: 30px;
}


.widget__content.gallery{
	display: flex;
	flex-direction: column;
	justify-content: center;
  }
  

.article__gallery .widget__content .widget__legend{
	  display: flex;
	  align-items: center;
	  justify-content: center;
}
  
.widget__content.gallery .img{
	max-height: calc(100% - 80px);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.widget__content.gallery .img img{
	max-height: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}


.gallery .widget__prev,
.gallery .widget__next{
  width: 50%;
  height: 100%;
}


.gallery .widget__next::after,
.gallery .widget__prev::after{
	display:none;
	top: calc(100% - 30px);
	color: black;
}

.widget__search{
	display: flex;
	max-height: 40px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap:  10px;
	overflow: hidden;
}

.widget__search input, .widget__search .filter{
	font-family: "Univers Next";
	border-radius: 18px;
	background-color: #EEE;
	height: 36px;
	min-width: 30px;
	font-weight: 400;
	font-style: italic;
	line-height: 1.4em;
	color: #BBB;
	font-size: 1.6em;
	padding-top: 0;
	padding-bottom: 0;
	
	padding-left: 16px;
	padding-right: 16px;
	border: 0;
	outline: 0;
	border: 1px solid #EEE;
	/*background: -webkit-linear-gradient(#eee, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;*/
}

.widget__search input{
	color: black;
	margin: 0;
}

.widget__search input::-ms-input-placeholder {
	color: #BBB;
	opacity: 1;
  }

.widget__search input::placeholder {
	color: #BBB;
	opacity: 1;
}

.widget__search .filter{
	cursor: pointer;
}

.widget__search .filter:hover{
	border: 1px solid grey;
}

.widget__search .filter.activefilter{
	color: black;
	border: 1px solid grey;
}

.close {
  position: fixed;
  right: 52px;
  top: 52px;
  width: 32px;
  height: 32px;
  opacity: 0.3;
  cursor: pointer;
}

.close__article {
	right: 32px;
	top: 32px;
}

.close:hover {
  opacity: 1;
}
.close:before, .close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 100%;
  width: 2px;
  background-color: #333;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}

.issue__list{
	width: 100%;
	height: 100%;
	overflow-y: auto;
}

.issue__list__item{
	width: 100%;
	display: flex;
	min-height: 30px;
	font-size: 26px;
	line-height: 1.2em;
}

.issue__list__item > div{
	width: 50px
}

.issue__overlay{
	display: block;
	position: absolute;
	background-color: white;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	padding: var(--padding-top);
}

.issue__overlay .wrapper{
	width: 100%;
	height: 100%;
}

.issue__overlay .close{
	top: 30px;
}

.issue__right{
	position: fixed;
	display: flex;
    flex-flow: column nowrap;
	height: 100%;
	width: 40%;
}

.issue__header{
	display: flex;
	flex-direction: row nowrap;
	height: 5%;
}

.issue__number{
	width: 50px;
	font-size: 26px;
}

.issue__title{
	font-size: 26px;
}

.issue__cover{
	height: 85%;
	padding-left: 50px;
}

.issue__cover img{
	/*margin-top: 50%;
	transform: translate(0, 50%);*/
	max-width: 100%;
	max-height: 100%;
}

.issue__purchase{
	height: 5%;
	padding-left: 50px;
	font-size: 26px;
}

.issue__left{
	margin-left: 50%;
	height: 100%;
	width: 50%;
	padding-right: 50px;
}

.issue__intro{
	font-size: 26px;
	line-height: 1.2em;
}

.issue__date{
	font-size: 16px;
	padding-top: 30px;
	padding-bottom: 30px;
}

.issue__credits{
	font-size: 16px;
	padding-bottom: 30px;
}

.issue__toc{
	height: 500px;
	margin-bottom: 30px;
	font-size: 16px;
}

.issue__toc p{
	width: 100%;
	padding-top: 5px;
	padding-bottom: 5px;
	line-height: 1em;
	border-bottom: 1px solid black;
	margin: 0;
}

.about__left{
	display: inline-block;
	height: 100%;
	width: 70%;
	font-size: 1.8em;
	line-height: 120%;
	vertical-align: top;
	padding-right: 5%;

}

.about__right{
	display: inline-block;
	height: 100%;
	width: 25%;
	line-height: 120%;
	vertical-align: top;
}

.about__right p,
.about__left p{
	margin-top: 0;
}

.htmx-indicator{
	position: fixed;
	width: 100px;
	height: 100px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
}

.cssload.inline{
	margin-top: 200px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 200px;
	position: relative;
}

.cssload {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	border: 4px solid;
	border-radius: 50%;
	border-color: #FFF;
	animation: cssload-scale 1s infinite ease;
}

.cssload.grey{
	border-color: #555;
}


@keyframes cssload-scale {
	0% { transform: scale(0); transform: scale(0); border-radius: 0%;}
	90% { transform: scale(0.7); transform: scale(0.7); border-radius: 50%; }
	100% { transform: scale(1); transform: scale(1); }
}

/* On screens that are 600px wide or less, make the menu links stack on top of each other instead of next to each other */
@media screen and (max-width: 720px) {

	.main-content{
		width: 100vw;
		height: var(--vtab-h);
		display: flex;
		flex-flow: column nowrap;
	}

	.container
	{
		position: relative;
		top: 0px;
		display: block;
		color: black;
		flex-basis: var(--vtab-w);
		overflow: hidden;
		transition: flex 0.750s ease;
		flex-grow: 0;
		width: 100vw;
	}

	.container .vtab
	{
		transform-origin: none;
		transform: none;
		position: absolute;
		top: 0;
		left: 0;
		height: var(--vtab-w);
		width: 100vw !important;
		border-bottom: 1px solid black;
	}

	.container .content{
		width: 100vw;
		height: 0;
		padding-top: var(--vtab-w);
		padding-bottom: var(--vtab-w);
	}

	.container.active, .container:target
	{
		flex: 1;
	}	

	
	.container.active .tab, 
	.container:target .tab
	{
		border-bottom: 0px;
	}


	.container.active .content, 
	.container:target .content
	{
		display: block;
		opacity: 1;
		padding-top: 40px;
		width: 100vw;
		height: calc(100vh - var(--tabs-size));
		background-color: white;
	}

	.container.active .cwrapper, 
	.container:target .cwrapper
	{

		width: 100vw;
		height: 100%;
		overflow-y: scroll;
		border-bottom: 1px solid black;
	}

	.news_container{
		display: flex;
		flex-direction: column;
		height: 160vh;
	}

	.article__overlay{
		padding-left: 5%;
		padding-right: 5%;
	}

	.widget__search{
		max-height: 90px;
	}

	
	.about__left{
		width: 100%;
		height: auto;
	}

	
	.about__right{
		width: 100%;
		height: auto;
	}

	.issue__overlay .close{
		right: 32px;
		top: 127px;
	}

	.issue__right{
		width: 100%;
		height: auto;
		position: static;
		margin-top: 10px;
	}

	.issue__right .issue__header{
		height: 40px;
	}

	
	.issue__right .issue__cover{
		padding-left: 10px;
	}

	.issue__right .issue__purchase{
		height: 40px;
		height: auto;
		line-height: 1.8em;
		padding-left: 10px;
	}

	.issue__left{
		width: 100%;
		height: auto;
		margin-left: 0%;
		padding-right: 10px;
	}


}

