/***************************
            FONTS
***************************/
@font-face {
  font-family: Garuda;
  src: local("Garuda"), url("../fonts/Garuda.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: Garuda;
  src: local("Garuda Bold"), url("../fonts/Garuda-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: Garuda;
  src: local("Garuda Oblique"), url("../fonts/Garuda-Oblique.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}
/***************************
         VARIABLES
***************************/
/***************************
          GENERAL
***************************/
main {
  font-size: 24px;
  font-family: "Times New Roman", "Liberation Serif", serif;
  color: #222;
  line-height: 34px;
}
main h1, main h2 {
  line-height: 1.2em;
  letter-spacing: 2px;
  font-variant: small-caps;
  color: #888888;
}
main h1:first-letter, main h2:first-letter {
  color: #555555;
  font-size: 1.5em;
  vertical-align: -15%;
  letter-spacing: 0px;
}

a {
  color: #ff6a00;
  cursor: pointer;
}

a.anchor {
  text-decoration: none;
}

.highlight > pre {
  white-space: pre-wrap;
  font-size: 20px;
}

/***************************
     LANGUAGE-SPECIFIC
***************************/
main[lang=th], footer [lang=th], header [lang=th] {
  font-family: Garuda, serif;
}

main[lang=zh] strong {
  text-transform: uppercase;
}
main[lang=zh] ol {
  list-style-type: trad-chinese-informal;
}

main[lang=th] ol {
  list-style-type: thai;
}

/***************************
           LAYOUT
***************************/
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

#wrapper {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

main {
  flex: 1;
  max-width: 1024px;
  width: 90%;
  margin: auto;
  padding: 20px 0;
}
main img {
  max-width: 100%;
  margin: auto;
  display: block;
}
main figure {
  text-align: center;
}
main audio {
  display: block;
  margin: auto;
}

header {
  box-shadow: inset 0 0 0 1000px rgba(100, 100, 100, 0.8);
  background-image: url("../img/background.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

footer {
  background-color: #3a3a3a;
}

header, footer {
  color: white;
  font-family: Arial, "Liberation Sans", sans-serif;
}
header h1, header h2, header h3, header ul, header p, footer h1, footer h2, footer h3, footer ul, footer p {
  margin: 0;
}
header a, footer a {
  text-decoration: none;
  color: white;
}
header nav, footer nav {
  margin: 0;
}
header nav ul, footer nav ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
}
header nav ul li, footer nav ul li {
  list-style: none;
  display: block;
}
header nav ul li a, footer nav ul li a {
  font-size: 23px;
  font-variant: small-caps;
  line-height: 23px;
  font-weight: normal;
  display: block;
  padding: 10px;
}
header nav ul li a:hover, header nav ul li a:focus, footer nav ul li a:hover, footer nav ul li a:focus {
  background-color: #ff6a00;
}

header h1 {
  text-align: center;
  padding: 20px 0;
}
header h1 a {
  display: inline-block;
  font-size: 60px;
  color: #eee;
  letter-spacing: -5px;
  z-index: 1;
  position: relative;
}
header h1 a:after {
  content: "";
  position: absolute;
  top: 5px;
  right: -5%;
  border-top: 1px #ff6a00 solid;
  width: 110%;
  z-index: -1;
}
header h1 a:before {
  content: "";
  position: absolute;
  bottom: 5px;
  right: 20%;
  border-bottom: 1px #ff6a00 solid;
  width: 50%;
  z-index: -1;
}

footer .copyright {
  text-transform: uppercase;
  font-size: 17px;
  text-align: center;
  padding: 10px;
  font-style: italic;
}

@media (max-width: 550px) {
  header nav ul, footer nav ul {
    flex-direction: column;
  }
  header nav ul li, footer nav ul li {
    width: 100%;
    text-align: center;
  }
}
/***************************
            LIST
***************************/
main.list article.summary h1 {
  font-size: 22px;
  margin: 0;
}
main.list article.summary .summary-text {
  margin-bottom: 20px;
  text-indent: 20px;
}
main.list article.summary p {
  margin: 0;
}

/***************************
           SINGLE
***************************/
main.single h1.title {
  font-size: 1.8em;
}
main.single .content > :last-child {
  margin-bottom: 30px;
}
main.single .content figure h1, main.single .content figure h2, main.single .content figure h3, main.single .content figure h4 {
  margin: 0;
}
main.single .content h1 {
  font-size: 1.5em;
}
main.single .content h2 {
  font-size: 1.3em;
}
main.single .content h3 {
  font-size: 1.15em;
}
main.single .proofreader {
  font-size: 24px;
  font-style: italic;
  margin: 20px 0;
}
main.single .date {
  font-size: 21.8181818182px;
  font-weight: bold;
  border-top: 3px solid #3a3a3a;
  margin-top: 50px;
}
main.single .taxonomies .tags, main.single .taxonomies .series {
  margin-top: 10px;
}
main.single article figure img {
  background: rgba(255, 255, 255, 0.5);
  padding: 5px;
  border: 3px solid rgba(150, 150, 150, 0.6);
  max-height: 800px;
}

/***************************
          CONTACT
***************************/
main.contact form .fieldset-wrapper {
  display: flex;
  flex-direction: row;
}
main.contact form .fieldset-wrapper fieldset {
  margin: 0;
  padding: 0;
  flex-grow: 1;
  max-width: 50%;
  padding: 10px;
  box-sizing: border-box;
  border: none;
}
main.contact form .fieldset-wrapper fieldset label {
  font-weight: bold;
}
main.contact form .fieldset-wrapper fieldset textarea, main.contact form .fieldset-wrapper fieldset input {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  font-size: 20px;
}
main.contact form .fieldset-wrapper fieldset textarea {
  resize: none;
  height: 100px;
}
main.contact form input[type=submit] {
  display: block;
  width: 400px;
  margin: 50px auto;
  padding: 10px;
  font-variant: small-caps;
  background-color: #3a3a3a;
  color: white;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  border: none;
}
main.contact form input[type=submit]:hover, main.contact form input[type=submit]:focus {
  background-color: #ff6a00;
}
main.contact form fieldset.abdkeughapqle {
  display: none;
}

@media (max-width: 550px) {
  main.contact form .fieldset-wrapper {
    flex-direction: column;
  }
  main.contact form .fieldset-wrapper fieldset {
    margin: auto;
    max-width: 100%;
  }
  main.contact form input[type=submit] {
    width: 100%;
  }
}

/*# sourceMappingURL=style.css.map */
