@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700,700i");

body,
html {
  margin: 0;
  padding: 0;
}
html {
  background: url("images/bg.jpg");
  height: 100%;
}
body {
  background: url("images/toprepeat.png") repeat-x;
  min-height: 100%;
  position: relative;
  font-family: "Source Sans Pro", sans-serif;
}
img {
  max-width: 100%;
}
a {
  color: #5a3028;
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
}
#cc-comicbody a:hover {
  opacity: 1;
}

#header {
  width: 1300px;
  margin: 0 auto;
  position: relative;
  max-width: 100%;
  height: 200px;
}
#logo {
  width: calc(100% - 830px);
  display: block;
  position: absolute;
  z-index: 10;
  top: 5px;
  left: 15px;
}
#topspace {
  width: 728px;
  height: 90px;
  background: url("images/leaderboardbg.png") bottom center;
  padding: 4px 54px 8px;
  position: absolute;
  top: 20px;
  right: 10px;
}
#topwrap {
  width: 100%;
  height: 100%;
}
#menu {
  position: absolute;
  top: 135px;
  right: 10px;
  text-align: right;
}
#menu a {
  display: inline-block;
  height: 25px;
  padding: 0 7px;
  position: relative;
}
#menu .dropdown-hover {
  position: relative;
  display: inline-block;
}
.dropdown {
  display: none;
  background-color: #271a30;
  position: absolute;
  top: 35px;
  z-index: 10;
  width: 200px;
  left: calc(50% - 100px);
}
#menu div.dropdown a {
  display: block;
  padding: 5px 15px;
  color: #f9be42;
  text-decoration: none;
  text-transform: uppercase;
  height: auto;
  font-size: 1.2em;
}
#menu a img {
  max-height: 100%;
  width: auto;
}
#menuclick {
  display: none;
}
#logodecoration {
  max-width: 130px;
  position: absolute;
  top: 165px;
}
@media screen and (max-width: 1300px) {
  #logodecoration {
    display: none;
  }
}
@media screen and (max-width: 1150px) {
  #logo {
    top: 20px;
  }
  #header {
    height: 170px;
  }
}
@media screen and (max-width: 1050px) {
  #header {
    height: auto;
  }
  #logo,
  #topspace,
  #menu {
    display: block;
    position: static;
    margin: 0 auto;
  }
  #logo {
    max-width: 400px;
    width: auto;
    padding: 20px 10px;
  }
  #menu {
    padding: 20px;
    text-align: center;
  }
}
@media screen and (max-width: 860px) {
  #topspace {
    padding: 5px;
  }
  #menu {
    display: none;
    padding: 0;
  }
  #menu a {
    display: block;
    margin: 0 auto;
    text-align: center;
    padding: 10px 0;
    height: 30px;
  }
  #menuclick {
    display: block;
    margin: 0 auto;
    max-width: 100px;
    padding: 20px;
  }
  .dropdown {
    position: static;
    width: 100%;
  }
  #menu .dropdown-hover {
    position: static;
    width: 100%;
  }
}
@media screen and (max-width: 780px) {
  #topspace {
    width: 90%;
    height: auto;
    overflow: hidden;
  }
}

#wrapper {
  max-width: 1060px;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}

#middle {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}
#middleleft {
  width: 100%;
}
#middleright {
  width: 170px;
  flex-grow: 0;
  order: 1;
  margin-left: 20px;
  flex-shrink: 0;
}
#cc-comicbody {
  padding: 5px;
  background: #221824;
}
#cc-comicbody img {
  vertical-align: bottom;
}
.cc-nav {
  padding: 20px;
  max-width: 700px;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
}
.cc-nav a,
.cc-nav div {
  height: 32px;
}
.cc-nav a img,
.cc-nav div img {
  max-height: 100%;
  width: auto;
}
.cc-next,
.cc-next-dis {
  margin-left: 100px;
}
#hiveworks {
  display: block;
}
#rightspace {
  width: 160px;
  height: 600px;
  padding: 5px;
  background: url("images/skyscraperbg.png");
  margin: 10px 0;
}
#rightwrap {
  width: 100%;
  height: 100%;
}
#socialbuttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#socialbuttons a {
  width: 47%;
  margin-bottom: 5px;
  display: block;
}

#hw-jumpbar {
  margin: 5px 25px;
}
@media screen and (max-width: 880px) {
  #hiveworks {
    width: 120px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 820px) {
  #middle {
    flex-wrap: wrap;
    padding: 0;
  }
  #cc-comicbody {
    padding: 5px 0;
  }
  #middleright {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
  }
  #hiveworks {
    width: 13%;
  }
  #rightspace {
    display: none;
  }
  #socialbuttons {
    width: 85%;
    flex-wrap: nowrap;
    align-items: center;
  }
  #socialbuttons a {
    padding: 5px;
    width: 23%;
  }
  #hiveworks,
  #socialbuttons a {
    max-width: 130px;
  }
  #hw-jumpbar {
    margin: 10px;
  }
}
@media screen and (max-width: 600px) {
  .cc-nav {
    padding: 10px;
  }
  .cc-nav a {
    max-height: 20px;
  }
  .cc-next {
    margin: 0;
  }
}

#bottom {
  margin-top: 10px;
  background: #221824;
  padding: 10px;
  display: flex;
}
#bottomleft {
  background: #fbd8ab;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
}
#bottomright {
  width: 310px;
  flex-grow: 0;
  flex-shrink: 0;
  margin-left: 10px;
  order: 1;
}
#bottomspace {
  background: url("images/boxadbg.png");
  padding: 5px;
  width: 300px;
  height: 250px;
}
#bottomwrap {
  width: 100%;
  height: 100%;
}
#bottombuttons {
  text-align: center;
  padding: 10px 0;
}
#bottombuttons a {
  display: block;
  padding: 10px 0;
  height: 40px;
}
#bottombuttons a img {
  max-height: 100%;
  width: auto;
}
.cc-newsheader {
  font-size: 2em;
  font-weight: bold;
}
.cc-publishtime {
  font-size: 0.8em;
}
@media screen and (max-width: 700px) {
  #bottom {
    display: block;
    padding: 0;
  }
  #bottomright {
    display: flex;
    justify-content: space-around;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    align-items: center;
    padding: 10px 0;
  }
}
@media screen and (max-width: 600px) {
  #bottombuttons {
    display: none;
  }
}

#footer {
  padding: 20px;
  text-align: center;
}
#footer a {
  color: #fbd8ab;
  text-decoration: none;
}
#textcontent {
  background: #fbd8ab;
  padding: 20px;
}

.flex-box {
  display: flex;
  justify-content: space-between;
}
.img-left {
  margin-right: 20px;
  flex-shrink: 0;
  text-align: center;
}
.img-right {
  margin-left: 20px;
  text-align: center;
}

@media screen and (max-width: 500px) {
  .flex-box {
    display: block;
  }
  .img-left {
    margin: 0;
  }
  .img-right {
    margin: 0;
  }
}

.cc-title {
  text-align: center;
}
.cc-storyline-header {
  border-bottom: none;
}

.box-wrap{
  display:flex;
  padding-bottom:20px;
}
.box-img-left{
  max-width:250px;
  margin-right:20px;
}
.box-text{
  width:100%;
}
.box-img-right{
  max-width:250px;
  margin-left:20px;
}
@media screen and (max-width:480px){
  .box-wrap{
      flex-wrap:wrap;
      justify-content:center;
  }
  .box-img-left,.box-img-right{
      margin:0;
      margin-bottom:20px;
  }
  .box-text{
    order:1;
  }
}