/* General */

* {
  font-family: Georgia, 'Times New Roman', Times, serif;
  box-sizing: border-box;
  color: #333333;
  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-image: url("../images/newspaper-bg.png");
  background-repeat: repeat;
  background-size: auto;
  background-attachment: fixed;
}

a {
  color: #000369;
}

/* Header */

img.logo {
  max-width: 375px;
  float: left;
}

div.header {
  max-width: 950px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  margin-bottom: 0px;
}

/* Navbar */

div.navbar {
  max-width: 950px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

div.navbarhalf {
  display: block;
  float: left;
}

ul {
  border-radius: 6px;
  list-style-type: none;
  overflow: hidden;
  background-image: url("../images/pencil-tile.png");
  background-repeat: repeat;
  background-size: auto;
}

li {
  float: left;
}

li.right {
  float: right;
}

li a {
  display: block;
  color: white;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bold;
  text-align: center;
  padding: 16px;
  text-decoration: none;
}

li a:hover {
  background-color: #111111;
}

img.tinytruth {
  float: right;
  padding-left: 16px;
  padding-right: 16px;
  margin-top: 10px;
  transition: transform 1s;
  opacity: 6%;
}
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 {
  border-radius: 6px;
  background-color: #ffffff;
  padding: 10px;
  max-width: 950px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: none;
  overflow: auto;
}

.column.main {
  width: 75%;
  margin-right:5px;
  margin-bottom: 20px;
  float: left;
}

.column.side {
  border-radius: 6px;
  width: 150px;
  background-image: url("../images/pencil-tile.png");
  background-repeat: repeat;
  background-size: auto;
  float: right;
  padding: 5px;
}

.column.side2 {
  width: 160px;
  float: right;
  margin-top: 10px;
}

div.content {
  border-radius: 6px;
  width: 100%;
  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, .1); */
}

p.content {
  font-size: medium;
  padding-bottom: 20px;
  line-height: 1.5;
}

h2.content {
  padding-bottom: 15px;
}

h3.content {
  padding-bottom: 15px;
}

p.archive {
  font-size: medium;
  line-height: 1.7;
}

h3.archive {
  padding-bottom: 15px;
}

div.contentarchive {
  border-radius: 6px;
  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, .1); */
}

div.archive {
  border-radius: 6px;
  width: 100%;
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 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); */
}

/* Comic Updates */

div.ctcomic-single {
  text-align: center;
  width: 700px;
  height: auto;
  background-color: #ffffff;
  float: left;
  display: block;
}

div.ctcomic-vertical {
  text-align: center;
  height: auto;
  background-color: #ffffff;
  display: none;
}

img.ctcomic-single {
  width: 700px;
  height: auto;
  float: left;
  display: block;
}

img.ctcomic-vertical {
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: none;
}

div.ctcomic-panels {
  text-align: center;
  height: auto;
  background-color: #ffffff;
  display: block;
}

img.ctcomic-panel {
  max-width: 300px;
  height: auto;
}

img.ctcomic-footer {
  width: 100%;
  height: auto;
}

div.ctnavbar {
  max-width: 700px;
  text-align: center;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
  color: black;
  font-weight: bold;
  font-size: 18pt;
}

div.pagetitle {
  width: 150px;
  text-align: center;
  display: block;
  margin-bottom: 15px;
  color: black;
  font-weight: bold;
  font-size: larger;
}

p.comictitle {
  text-align: center;
  display: block;
  margin-bottom: 0px;
  color: black;
  font-weight: bold;
  font-size: large;
}

p.comicsubtitle {
  text-align: center;
  display: inline-block;
  vertical-align: text-bottom;
  margin-top: 15px;
  color: black;
  font-style: italic;
  font-size: 8pt;
}

/* News Section */

div.news {
  border-radius: 6px;
  width: 650px;
  background-color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

h2.title {
  font-size: 18px;
  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: black;
}

/* Responsive layout - Smaller Browsers */
@media screen and (max-width: 900px) {
  .column.main {
    width:100%;
    max-width: 650px;
  }
  .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;
    max-width: 330px;
  }

  div.news {
    width: 100%;
  }

}

/* Responsive layout - Mobile Devices */
@media screen and (max-width: 650px) {

div.ctcomic-single {
  display: none;
}

img.ctcomic-single {
  display: none;
}

div.ctcomic-vertical {
  display: block;
}

img.ctcomic-vertical {
  display: block;
}
}



/* Responsive layout - Mobile Devices */
@media screen and (max-width: 480px) {

  div.mainbody {
    padding: 0px;
  }

  ul {
    padding-left: 20px;
  }

  li a {
    font-size: small;
    padding: 6px;
  }

  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.ctnavbar {
    margin-left: 10px;
    padding-left: 10px;
    margin-right: auto;
    min-width: 300px;
  }

  img.castlisting {
    display: block;
    float: none;
    margin-right: auto;
    margin-left: auto;
  }

  p.castlisting {
    font-size: small;
  }

  div.mobilead {
    max-width: 100%;
  }

  img.mobilead {
    max-width: 100%;
  }

  div.contentarchive {
    padding-left: 10px;
    padding-right: 10px;
  }

}