/* General */

* {
  font-family: "Pixelar Regular W05 Regular", 'Courier New', Courier, monospace;
  letter-spacing: 1px;
  box-sizing: border-box;
  margin: 0%; /*deletes automatic white space between header, nav, body, etc*/
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body {
  margin: 10px;
  background-color: white;
  background-image: url("../images/iqbg0.jpg");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-attachment: fixed;
}

a {
  color: #000369;
}

.file1 {
  color: #00aeef;
}

.file2 {
  color: #77d1b4;
}


/* Header */

img.logo {
  max-width: 200px;
  float: left;
  margin-bottom: 10px;
}

div.header {
  max-width: 950px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

/* Navbar */

div.navbar {
  max-width: 950px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

div.navbarhalf {
  display: block;
  float: left;
}

ul {
  list-style-type: none;
  overflow: hidden;
  background-color: black;
}

li {
  float: left;
}

li.right {
  float: right;
}

li a {
  font-size: 24px;
  display: block;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
}

li a:hover {
  background-color: #333333;
}

img.tinytruth {
  float: right;
  padding-left: 16px;
  padding-right: 16px;
  margin-top: 10px;
  transition: transform 1s;
  opacity: 10%;
}
img.tinytruth:hover {
  transform: rotate(360deg);
  opacity: 100%;
}

/* Ads */

div.mobilead {
  background-color: #99a7b2;
  text-align: center;
  width: 320px;
  height: 50px;
  float: right;
  margin-bottom: 10px;
}

img.mobilead {
  max-width: 320px;
  height: auto;
}

div.skyscraper {
  background-color: #99a7b2;
  text-align: center;
  width: 160px;
  height: 600px;
  float: right;
}

img.skyscraper {
  width: 160px;
  height: auto;
}

/* Body Content */

div.mainbody {
  background-color: #333333;
  padding: 10px;
  max-width: 950px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: none;
  overflow: auto;
}

.column.main {
  width: 650px;
  margin-right:5px;
  margin: 10px;
  float: left;
  background-color: #ffffff;
}

.column.side {
  width: 150px;
  background-color: black;
  float: right;
  padding: 5px;
}

.column.side2 {
  width: 160px;
  float: right;
  margin-top: 10px;
}

div.content {
  width: 100%;
  min-height: 600px;
  background-color: #ffffff;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}

p.content {
  font-family: 'Courier New', Courier, monospace;
  padding-bottom: 20px;
  line-height: 1.5;
  letter-spacing: 0;
}

a.about {
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.5;
  letter-spacing: 0;
}


h2.content {
  font-size: 30px;
  padding-bottom: 20px;
}

h3.content {
  padding-bottom: 15px;
  font-size: 26px;
  font-weight: bold;
}

p.archive {
  line-height: 1;
}

h3.archive {
  padding-bottom: 15px;
  font-size: large;
}

div.contentarchive {
  width: 100%;
  min-height: 600px;
  background-color: #ffffff;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

div.archive {
  border-radius: 6px;
  width: 30%;
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 10px;
  margin-right: 10px;
  border-style: solid;
  border-color: #999999;
  border-width: 4px;
  border-radius: 6px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
  float: left;
}

div.archive.file1 {
  border-color: #00aeef;
}

div.archive.file2 {
  border-color: #77d1b4;
}


/* Comic Updates */

div.comic {
  text-align: center;
  width: 650px;
}

img.comic {
  width: 650px;
}

p.comictext {
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  margin: 20px;
  letter-spacing: 0;
  font-weight: bold;
}

div.comicnavbar {
  max-width: 650px;
  text-align: center;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}

p.nextpage {
  font-family: "Pixelar Regular W05 Regular", 'Courier New', Courier, monospace;
  margin: 10px;
  font-weight: bold;
  font-size: 26pt;
  margin-bottom: 40px;
}

p.bottomnav {
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  margin-left: 20px;
  margin-bottom: 20px;
}

div.map {
  position: relative;
  max-width: 650px;
  padding: 0px;
  margin-left: auto;
  margin-right: auto;
}

div.inputformbox {
  max-width: 400px;
  background-color: black;
  color: white;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 10px;
}

h2.input {
  padding-bottom: 10px;
}

.inputfield {
  width: 90%;
  font-size: large;
  text-align: center;
}

.inputbutton {
  background-color: white;
  color: black;
  font-size: large;
}


/* News Section */

div.news {
  width: 650px;
  background-color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

h2.title {
  font-size: 20px;
  margin-bottom: 10px;
}

h3.date {
  font-size: 12px;
  margin-bottom: 10px;
}

p.news {
  font-size: medium;
  margin-bottom: 20px;
}

/* Social Icons */

div.socialicon {
  width: 50px;
  height: 50px;
  float: left;
  margin: 10px;
}

div.socialbar {
  width: 120px;
  height: 50px;
  margin: 10px;
  float: left;
}

/* Footer */

address {
  position: sticky;
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: small;
  font-style: normal;
  text-align: center;
  bottom: 10px;
  color: white;
}

/* Responsive layout - Smaller Browsers */
@media screen and (max-width: 900px) {
  .column.main {
    width:100%;
    max-width: 650px;
    margin: 0px;
  }
  .column.side {
    width: 100%;
    height: auto;
    margin-top: 10px;
    display: block;
    margin-left: 30px;
    padding-left: 30px;
    margin-right: auto;
  }

  .column.side2 {
    visibility: hidden;
    width: 0%;
    height: auto;
  }

  div.skyscraper {
    visibility: hidden;
    width: 0%;
    height: auto;
  }

  img.skyscraper {
    width: 0%;
    height: auto;
  }

  div.mobilead {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  img.logo {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  div.comic {
    width: 100%;
    height: auto;
  }

  div.news {
    width: 100%;
  }

  img.comic {
    width: 100%;
  }

}

/* Responsive layout - Mobile Devices */
@media screen and (max-width: 480px) {

  div.mainbody {
    padding: 0px;
  }

  ul {
    padding-left: 20px;
  }

  li a {
    padding: 10px;
    font-size: 20px;
  }

  img.navbutton {
    width: 30px;
  }

  img.tinytruth {
    visibility: hidden;
    padding: 0px;
    margin: 0px;
  }

  div.pagetitle {
    width: 100px;
    margin-bottom: 10px;
    font-size: 12pt;
  }

  div.socialicon {
    width: 40px;
    height: auto;
    margin: 5px;
  }

  img.socialicon {
    width: 40px;
    height: auto;
    margin: 5px;
  }
  
  div.socialbar {
    width: 100px;
    height: auto;
    margin: 5px;
  }

  img.socialbar {
    width: 100px;
    height: auto;
    margin: 5px;
  }

  .column.side {
    margin-left: 10px;
    padding-left: 10px;
    margin-right: auto;
  }

  div.mobilead {
    max-width: 100%;
  }

  img.mobilead {
    max-width: 100%;
  }

  div.archive {
    width: 100%;
  }

}