/* File V0.2 edited by NXTEQUAL.*/

/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
  HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */


body, div, main, section, article {
  box-sizing: border-box; 
}

/* universal background color */
body {
  background-color: #26262E;
  background-image:url(/img/bg.jpg);
  background-repeat:repeat;
  background-attachment: scroll;

/* header image */
header img {
  width: 500px;
  max-width: 98%;
}

/* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/*FONTS*/

/* header font */
#showComic, header, h1, h2, h3, h4, h5 {
  font-family: "Namdhinggo", serif;
  font-weight: 800;
  font-color:white;
}

/* body font */
.subPage p, footer, #authorNotes, .archiveTable {
  font-family: 'Consolas', monospace;
  font-size: 14px;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 1000px;
  max-width: 98%;
  background-color: #FDF9DD;
  outline: 3px solid black;
  margin: auto;
  margin-bottom: 10px;
  padding: 0px 20px 20px;
}

.subPage:not(.archivePage) {
  text-align:justify;
}

/* for pictures displayed to the left */
.leftPic {
  clear: left;
  float:right;
  margin-left:20px;
  margin-bottom:10px;
  border-color:white;
  border-width:20px;
  padding-bottom:20px;
}

/* for pictures displayed to the right */
.rightPic {
  clear: right;
  float:left;
  margin-left:20px;
  margin-bottom:10px;
  border-color:white;
  border-width:20px;
  padding-bottom:20px;
}

/* specific to Characters */
.charTable, .charTable td { 
  width: 80%;
}

/* link colors */
a {
      color: #FFC323;
	  text-decoration:underline;
    }

a:hover {
      color: #DA5437;
	  text-decoration:underline;
    }

/* HEADER */
header #nav {
  justify-content:center;
  background-color: none;
  color:#FFC323;
  outline: 3px solid #000000;
  font-size: 20px;
  width: 98%;
  margin: auto;
  padding:5px;
  text-decoration:none;
}

/* HOMEPAGE */

/* style nav button images */
.comicNav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 15px 0px;
}
.comicNav img {
  width: 50px;
  max-width: 98%;
  padding-right: 30px;
}

/* style comic page image */
.comicPage img {
  width: 900px;
  max-width: 98%;
  padding:5px;
}

/* style author notes */
#authorNotes {
  outline: 3px solid #000000;
  margin: auto;
  padding: 10px;
  padding-top: 0px;
  width: 900px;
  max-width: 98%;
}

/* ARCHIVE PAGE */

/* style table in which archive is displayed */
.archiveTable {
  width: 90%;
  border-collapse:collapse;
}

/* style archive table cells */
.archiveTable td {
  padding: 3px;
  vertical-align: center;
  
}

/* style table cell in which page title is displayed */
.archiveCellTitle:not(.leftAlignTableText) {
  max-width: 300px;
  text-align: center;
}

.archiveCellDate {
  text-align: right;
  min-width: 120px;
}

.archiveCellNum {
  text-align: center;
  min-width: 30px;
}

/* style the thumbnails on the archive page */
.archiveCellThumb {
    width: 500px;
    max-width: 60px;
}
.archiveCellThumb img{
    max-width: 100%;
  }

/* for left aligning the text in a table cell */
.leftAlignTableText td {
  text-align: left;
}

/* highlight a table row and make pointer into hand when moused over */
.archiveRow:hover {
  background-color: #DA5437;
  cursor: pointer;
}

/* FOOTER */
footer {
  color:white;
  margin-top: 12px;
  margin-bottom: 15px;
  float: left;
  width: 100%;
  font-size: 12px;
  justify-content:center;
}

footer p {
  margin: auto;
}

footer a {
  color: #FFC323;
}

footer a:hover {
  color: #868d26;
}

/* take away margins from the edges of the screen */
html, body {
  margin: 0;
}



/* NEW CODE by NXTEQUAL */

/* Code for manila folder background */
#filebg {
	background-image:url(/img/paperbg.jpg);
	background-repeat:repeat;
	background-attachment: scroll;
	width:70%;
	padding:5px;
	opacity: 0.3;
	clear: left;
	color:black;
}

img {
	  max-width: 100%;
	  height: auto;
}

/* Code for tab navigation*/

#tabs {
	clear: left;
	background:white;
	float:left;
	width:15px;
	margin:5px 0px;
	transform: rotate(45deg);
	padding:2px;
	text-decoration: none;
	color:black;
}

.panels {
	background:white;
	float:right;
	width:20%px;
	padding:5px;
}

#panelcontainer {
	background:blue;
	margin-right:5%;
	padding:1px;
}

#paneltitle {
	background:black;
	color:#FFC323;	
	font-family: "Namdhinggo", serif;
	font-weight: 800;
	height:20px;
	padding:5px;
	font-size:12px;
	border-top:2px solid white; 
	border-bottom:2px solid white;
}

#panelcontent {
	background:#DCE4EC;
	color:black;
	padding:10px;
	border:2px solid black;
	list-style-type: none;
}

ul.a {list-style-type: circle;}

#headerbox {
	height:30px;
	width: 80%;
	margin:3px;
	color:black;
	background:white;
	border:2px solid grey;
}


table {
  border-collapse: collapse;
  width: 100%;
  margin:2px;
  padding:2px;
}

td, th {
  border: 1px solid #818789;
  margic:1px;
  padding: 8px;
}

tr:nth-child(even){background-color:white;}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #515363;
  color: white;
}