@import url(reset.css);


html {
	height:100%;
	-webkit-text-size-adjust: 100%; 				/* Prevent font scaling in landscape while allowing user zoom */
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);	/* Prevent gray overlay on ios*/
	}
	
img {
	-webkit-user-drag:		none;
	-khtml-user-drag:		none;
	-moz-user-drag:			none;
	-o-user-drag:			none;
	user-drag:				none;
	-webkit-user-select:	none;
	-khtml-user-select:		none;
	-moz-user-select:		none;
	-o-user-select:			none;
	user-select:			none;
	}	



body {	
	background-color:white;
	font-family: sans-serif;
	font-size:11.5pt;
	line-height:1.45em;
	padding:2em 2em 6em 2em;
	max-width:80vh;
	margin:auto;
	}
	
h1 {
	padding:0 0 2em 0;
	font-weight:bold;
	}	

section {
	margin:0em 0em 2em 0em;
	}
	
p {
	padding:0 0 1em 0;
	}	
	
hr {
	margin:0 0 1em 0;
	}	
	
img {
	max-width:100%; 
    max-height:100vh;
	margin-bottom:1em;
	margin-top:1em;
	}
	
.bestofContainer {
    display: flex;
    justify-content: space-between;
    align-items: center; /* This will center the .bestof divs vertically */
    height: 100%; /* Optional: set a specific height if necessary */
    margin:1em 0em 2em 0em;
}

.bestof {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* This pushes the caption to the bottom */
}

.bestof:first-child {
    margin-right: 0.33em;
}

.bestof:last-child {
    margin-left: 0.33em;
}

.bestof img {
    max-width: 100%; /* Make sure the image does not overflow its parent */
    height: auto;
    align-self: center; /* This centers the image horizontally */
	margin-bottom:0em;
}

.miniCaption {
    text-align:right;
    align-self: flex-end;
	color:#aaa;    
	font-size:0.8em;
}
	
	
.homeImg {
	margin:2em 0em 0em 0em;
	width:100%;
	}	

.homeParagraph {
	
	}
	
.coverImg {
	width:50%;
	}	

header {
	margin-bottom:1em;
	}		

header li {
	display:inline;
	white-space: nowrap;
	}

header li::after {
	content:" • ";
	}
	
header li:last-child::after { 
    content: "";
	}		
	
.cover, .contributorList {
	
	margin-bottom:1em;
	}
	
		
	
a {
	text-decoration:none;
	color:inherit;
	}	

a:hover {
	color:blue;
	cursor:pointer;
	}	
	
.infopanelIssue {
	font-weight:bold;
	margin-bottom:1em;
	}	
	
.infopanel {
	margin-bottom:5em;
	}
	
.infopanel p {
	padding:0 0 0 0;
	}	
	
	
.contributorList li {
	display:inline-block;
	}	

.contributorList li::after { 
    content: ", ";
	}
	
.contributorList li:last-child::before { 
    content: "and ";
	}	

.contributorList li:last-child::after { 
    content: ".";
	}	
	
.contributorListByName	{	
	column-count: 3;
	}
	
.contributorListByName li {
	display:inline-block;
	width:100%;
	margin:0em 1em 1em 0em;
	}		
	
.contributorListByName .firstLetter {
	font-weight:bold;
	}	

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

@media (max-width: 700px) {
    img {
    	width:100%; 
    	height:auto;
    	max-height:unset;
    	max-width:unset;
    	}
    	
    body {
    	padding:2em 1em 6em 1em;
    	}

	
	
	/* hide half the images on the front page */
	
	.bestofContainer {
		display:block;
		}
	
	.bestof {
    flex: none;
    display: block;
	width:100%;
	}

.bestof:first-child {
    margin-right: none;
}

.bestof:last-child {
    margin-left: none;
}	
	
	
	/* adjust column count for the big contributor list */
	
	.contributorListByName {
		column-count: 2;
		}	
	
	
	/* change issue page to a two column layout*/	
	.contributorList {
		column-count:2;
		}
	
	.contributorList li {
		display:inline-block;
		width:100%;
		margin:0em 1em 1em 0em;
		}
		
	.contributorList li::after { 
    	content: "";
		}
	
	.contributorList li:last-child::before { 
    	content: "";
		}	

	.contributorList li:last-child::after { 
	    content: "";
		}				
		
	
}

@media (min-width: 1200px) {

	/* adjust column count for the big contributor list*/

	.contributorListByName	{
		column-count: 4;
		}
}




