/* font */
@font-face {
  font-family: 'quicksand';
  src: url('/fonts/quicksand-bolditalic-webfont.woff2') format('woff2'),
    url('/fonts/quicksand-bolditalic-webfont.woff') format('woff');
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: 'quicksand';
  src: url('/fonts/quicksand-italic-webfont.woff2') format('woff2'),
    url('/fonts/quicksand-italic-webfont.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'quicksand';
  src: url('/fonts/quicksand-regular-webfont.woff2') format('woff2'),
    url('/fonts/quicksand-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'quicksand';
  src: url('/fonts/quicksand-bold-webfont.woff2') format('woff2'),
    url('/fonts/quicksand-bold-webfont.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

/* general */
html,
body {
  padding: 0;
  margin: 0;
  color: #424345;
}
body {
  font-family: 'quicksand', sans-serif;
  background: url('/images/background.jpg');
}
#wrapper {
  width: 1110px;
  margin: 0 auto;
  max-width: 100%;
  position: relative;
}
img {
  max-width: 100%;
}
a {
  color: #800809;
}

/* top */
#topbg {
  position: absolute;
  width: 1110px;
  background: url('/images/top.png') top center;
  height: 291px;
  max-width: 100%;
}
#header {
  display: flex;
  padding: 60px 20px 20px 20px;
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
  justify-content: space-around;
  z-index: 2;
  position: relative;
}
#topspace {
  width: 728px;
  height: 90px;
  margin-left: 20px;
  flex-grow: 0;
  flex-shrink: 0;
  background: #ccc;
}
#logo {
  max-width: 250px;
}
@media screen and (max-width: 950px) {
  #header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px 20px 20px;
  }
  #topspace {
    margin: 10px 0 0 0;
  }
}
@media screen and (max-width: 770px) {
  #header {
    display: block;
    padding: 10px 10px 20px 10px;
  }
  #logo {
    display: block;
    margin: 0 auto;
  }
  #topspace {
    width: 320px;
    height: 50px;
    overflow: hidden;
    margin: 10px auto 0 auto;
  }
}
@media screen and (max-width: 650px) {
  #topbg {
    display: none;
  }
}

/* middle */
#middle {
  display: flex;
  padding: 0 15px;
  z-index: 2;
  position: relative;
}
#middleleft {
  width: 100%;
  position: relative;
  z-index: 2;
}
#middleright {
  width: 160px;
  flex-grow: 0;
  flex-shrink: 0;
  margin-left: 20px;
  order: 1;
  position: relative;
  z-index: 2;
}
#menuclick {
  display: none;
}
#menu {
  display: flex;
  justify-content: space-around;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 20px;
  font-size: 1.1em;
}
#menu a {
  color: #ff1111;
  text-decoration: none;
  font-weight: bold;
}
#menu a:hover {
  color: #800809;
}
.cc-nav {
  padding: 20px;
  display: flex;
  justify-content: space-around;
  max-width: 700px;
  margin: 0 auto;
}
.cc-nav a {
  width: 75px;
  height: 51px;
  flex-grow: 0;
  flex-shrink: 0;
  background-size: 100%;
}
.cc-nav a:hover {
  background-position: 0 100%;
}
.cc-first {
  background-image: url('/images/first.png');
}
.cc-prev {
  background-image: url('/images/prev.png');
}
.cc-next {
  background-image: url('/images/next.png');
}
.cc-last {
  background-image: url('/images/last.png');
}
#rightspace {
  width: 160px;
  height: 600px;
  background: #ccc;
}
#social {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}
#social a {
  width: 47%;
  background-size: 100%;
  margin-bottom: 10px;
}
#social a:before {
  content: '';
  display: block;
  padding-bottom: 100%;
}
#social a:hover {
  background-position: 0 100%;
}
#kofi {
  background: url('/images/kofi.png');
}
#twitter {
  background: url('/images/twitter.png');
}
#rss {
  background: url('/images/rss.png');
}
#hiveworks {
  background: url('/images/hiveworks.png');
}
#bottombg {
  position: absolute;
  bottom: -236px;
  right: 0px;
  width: 724px;
  height: 750px;
  background: url('/images/lowerright.png');
}
#hw-jumpbar {
  margin:10px 20px;
  position: relative;
  z-index: 20;
}
@media screen and (max-width: 900px) {
  #middle {
    flex-wrap: wrap;
    padding: 0;
  }
  #middleright {
    width: 100%;
    margin: 0;
  }
  #rightspace {
    display: none;
  }
  #social {
    flex-wrap: nowrap;
    margin: 0;
    justify-content: space-around;
  }
  #social a {
    width: 100%;
    max-width: 100px;
    margin: 0 10px;
  }
  #bottombg {
    display: none;
  }
  #ibar {
    padding: 20px 10px;
  }
}
@media screen and (max-width: 650px) {
  #menu {
    display: none;
  }
  #menu a {
    display: block;
    padding: 7px;
    text-align: center;
  }
  #menuclick {
    display: block;
    font-size: 1.4em;
    color: #ff1111;
    font-weight: bold;
    padding-bottom: 15px;
    text-align: center;
    cursor: pointer;
  }
}

#bottom {
  position: relative;
  z-index: 2;
  padding: 20px;
  display: flex;
  font-size: 1.1em;
}
#bottomleft {
  padding: 30px;
  background: #f6efd3;
  width: 100%;
  box-sizing: border-box;
}
#bottomright {
  margin-left: 20px;
  order: 1;
  width: 300px;
  flex-shrink: 0;
  flex-grow: 0;
}
.cc-newsheader {
  border-bottom: 1px solid #c8c2aa;
  font-size: 2em;
  font-weight: bold;
  padding-bottom: 15px;
  text-align: center;
}
.cc-publishtime {
  padding-top: 15px;
  text-align: center;
  font-size: 0.8em;
}
.divider {
  width: 100%;
  height: 2px;
  background: #8a8d84;
}
#bottomspace {
  width: 300px;
  height: 250px;
  background: #ccc;
  margin: 20px 0;
}
#bottomright a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.7em;
  text-align: center;
  display: block;
  padding: 10px 0;
}
@media screen and (max-width: 770px) {
  #bottom {
    display: block;
    padding: 0;
  }
  .divider {
    display: none;
  }
  #bottomspace {
    margin: 0 auto;
  }
  #bottomright {
    width: 100%;
    margin: 0;
  }
  #bottomright a {
    padding: 15px 0 20px 0;
  }
}

#textarea{
  padding:30px;
  background: #f6efd3;
}
#hw-privacy{
  text-align:center;
  padding-bottom:20px;
}
#hw-privacy a{
  text-decoration:none;
  font-weight:bold;
}
#hw-jumpbar,.hw-jump-title{
    background:#006666;
	line-height:1em;
}
.hw-jump-mid{
    background:#003333;
}