/* FONTS AND FILES */
@font-face {
  font-family: Garamond;
  src: url('https://iztopher.neocities.org/core/fonts/Gramond.ttf');
}

@font-face {
  font-family: Garamond;
  src: url('https://iztopher.neocities.org/core/fonts/Garamond_Italic.ttf');
  font-style: italic;
}

@font-face {
  font-family: Inter;
  src: url('https://iztopher.neocities.org/core/fonts/Inter.ttf');
}

@font-face {
  font-family: Inter;
  src: url('https://iztopher.neocities.org/core/fonts/Inter_Italic.ttf');
  font-style: italic;
}

@font-face {
  font-family: Nunito;
  src: url('https://iztopher.neocities.org/core/fonts/Nunito-Regular.ttf');
}

.nunito {
  font-family: 'Nunito';
}

/* LAYOUT */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter';
  /* padding: 10px; */
  background: #fff;
}

.header {
  /* overflow: hidden; */
  background: #000;
  color: #fff;
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  padding: 10px;
  font-family: 'Nunito';
  text-decoration: none;
  font-size: 32px;
  display: flex;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-text {
  padding-left: 10px;
}

.header img {
  margin-top: 6px;
}

.header-right {
  padding-right: 20px;
}

.header-right a:link, .header-right a:visited {
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  padding: 6px;
}

.header-right a:hover, .header-right a:active {
  border-radius: 4px;
  color: #fff;
  background: #cb4d4d;
  padding: 6px;
}

.container {
  display: flex;
  width: 100%;
  background: #fff;
  flex-wrap: wrap;
}

h1 { /* used for preface headings in fic */
  font-family: 'Garamond';
  font-size: 2em;
  margin: 30px 0px 0px 0px;
  font-weight: normal;
  text-align: center;
}

h2 {
  font-family: 'Garamond';
  font-size: 1.5em;
  border-bottom: 1px solid black;
  margin: 30px 0px 0px 0px;
  font-weight: normal;
}

h3 {
  font-family: 'Garamond';
  font-size: 1.3em;
  font-weight: normal;
  text-decoration: underline;
  margin: 5px;
  padding: 5px;
  text-align: center;
}

.author {text-decoration: none; font-size: 1.4em;} /* for use with h3 */

h4 {
  font-family: 'Garamond';
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid #fff;
  margin: 2px;
}

h5 {
  font-family: 'Inter';
  font-weight: normal;
  border-bottom: 1px solid #fff;
  font-size: 1em;
  margin: 2px;
}

details {
  /* border-bottom: 1px solid #fff; */
  padding: 3px;
}

#post {
  width: 70%;
  /* border: 3px black solid; */
  padding: 15px;
  margin: auto;
}

.preface {
  width: 80%;
  margin: auto;
}

#main {
  width: 65%;
  /* border: 2px black solid; */
  margin: 20px;
}

#sidebar {
  width: 25%;
}

.side {
  margin: 20px;
  padding: 20px;
  background: #ddd;
  border: 2px solid #f3efec;
  box-shadow: inset 1px 0 5px #999;
  height: 580px;
  overflow-y: auto;
  display: inline-block;
  width: 100%;
}

.fic {
  border: 2px solid #e6e6e6;
  padding: 10px 5px 10px 5px;
  margin-bottom: 20px;
  display: none;
}

.postedfic {
  border: 1px solid #e6e6e6;
  padding: 10px 5px 10px 5px;
  margin: 0px 20px 20px 20px; /* original 50, 20, 20, 20 */
  box-shadow: 1px 1px 5px #aaa;
  width: 100%;
}

.title {
  padding-left: 10px;
  margin-top: 0px;
  font-family: 'Garamond';
  font-size: 1.2em;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.fandom {
  padding-left: 10px;
  margin-top: 5px;
  font-family: 'Garamond';
  font-size: 1.1em;
  text-decoration: underline;
  text-decoration-style: dotted;
}

a, .mocklink {
  color: #9c0a0a;
  text-decoration: underline;
}

.desc {padding: 0px 5px 0px 5px;}
.warn {
  font-weight: bold;
  text-decoration: underline;
  text-decoration-style: dotted;}
.warning {
  font-weight: bold;
  text-decoration: underline;
  text-decoration-style: solid;}
.tagslist {padding: 0px 5px 0px 5px;}
.tag {
  text-decoration: underline;
  text-decoration-style: dotted;
}
.ship {
  background-color: #eeeeee;
  text-decoration: underline;
  text-decoration-style: dotted;
}
.stats {display: flex; justify-content: flex-end;}
.stat {padding-right: 10px;}

.row {display: flex;}
.column {display: flex; flex-direction: column;}
.col20 {float: left; width: 20%;}
.col25 {float: left; width: 25%;}
.col75 {float: left; width: 75%;}
.col80 {float: left; width: 80%;}

ul {
  list-style: none;
  padding: 0px 20px 0px 0px;
  margin: 7px 0px 0px 0px;
}

li > span {
   top:-3px;
   position:relative; 
}

li {
  padding-bottom: 5px;
}

li::before {
  content: url('/files/mockAO3/checkbox_18px.png');
  padding-right: 5px;
}

.rating li::before {
  content: url('/files/mockAO3/button_14px.png');
  padding-right: 5px;
}

summary {
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

.custom-select {
  position: relative;
  margin: 10px 0px 0px 0px;
  width: 200px;
}

button {
  background-image: linear-gradient(#ffffff, #e6e6e6);
  border: 1px solid #999999;
  border-radius: 5px;
  padding: 5px 0px 5px 0px;
  width: 90px;
  margin: 4px 2px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

button:hover, button:active {
  color: #9c0a0a;
  box-shadow: 0 2px #404040;
  /* transform: translateY(4px); */
}

.buttons {
  display: flex;
  justify-content: center;
}

.fic-nav {
  display: flex;
  justify-content: flex-end;
  margin: 10px 20px 10px 0px;
}

.button-nav {
  width: auto;
  padding: 5px 10px 5px 10px;
  /* margin: 10px 0px 10px 0px; */
}

hr {
  color: darkgray;
  margin-top: 50px;
}

.tagcola {float: left; width: 25%; padding: 5px;}
.tagcolb {float: left; width: 75%; padding: 5px;}

.margin80 {margin-top: 80px;}