/*-----------------------------------------------------------------------------------*/
/*  Demo Style
/*-----------------------------------------------------------------------------------*/
/*  Reset this s***
/*------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1;

}

ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

:focus {
  outline: 0;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

del {
  text-shadow: none!important;
}

body {
  overflow-x: hidden;
  margin-top: 0!important;
  -webkit-font-smoothing: antialiased;

  color: #333;
  font-size: 24px;
  line-height: 1.8em;
  font-family:'Microsoft Yahei', Georgia, serif;
  position: relative;
  overflow-x: hidden!important;
}

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  height: 0;
  line-height: 0;
  width: 100%;
}

.clearfix:before,
.clearfix:after,
.wrap:before,
.wrap:after,
hr:before,
hr:after {
  content: '.';
  display: block;
  overflow: hidden;
  visibility: hidden;
  font-size: 0;
  line-height: 0;
  width: 0;
  height: 0;
}

.clearfix:after,
.wrap:after,
hr:after {
  clear: both;
}

p {
  margin-bottom: 1em;
}

span.smooth {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
  opacity: 0.6;
}

h1, h2, h3, h4, h5, h6 {
  font-style: normal;
  line-height: 1.4em;
  margin-bottom: 0.83em;
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
}

h1 {
  font-size: 5em;
  line-height: 1.3em;
  margin-bottom: 0.1em;
  text-align: center;
}

.tagline {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  max-width: 100%;
  letter-spacing: 0.09em;
  font-family: Helvetica, Arial, sans-serif;
}

h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.4em;
  margin-bottom: 0.67em;
}

h4, h5, h6 {
  font-size: 1em;
}

a {
  text-decoration: none;
  color: #293945;
}

hr {
  border: none!important;
  height: 5px;
  background: #e6e6e6;
  margin: 3em 0;
}

ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

#main {
  position: relative;
  padding: 2em 0 0;
  border-top: 10px solid #293945;
}

#fork-this {
  position: absolute;
  z-index: 2;
  width: 150px;
  height: 150px;
  top: 5px;
  right: 0;
  z-index: 10;
  background: url("fork.png") no-repeat 0 0;
  background-size: 150px 150px;
}

.button {
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  display: inline-block;
  color: white;
  background: #293945;
  font-size: 1em;
  padding: 0.8em 1.9em;
  margin-left: 0.75em;
  margin-right: 0.75em;
  -webkit-box-shadow: 0 0 1px 1px #cccccc;
  -moz-box-shadow: 0 0 1px 1px #cccccc;
  box-shadow: 0 0 1px 1px #cccccc;
  -webkit-transition: 0.1s;
  -moz-transition: 0.1s;
  -o-transition: 0.1s;
  transition: 0.1s;
}
.button:hover {
  background: #fff;
  color: #293945;
}

.wrap {
  width: 80%;
  margin: 0 auto;

}
.topbannerbg{ margin:auto;  }
header {
  text-align: center;
  margin-bottom: 4em;
}

section {
  position: relative;
}

#action {
  margin-top: 3em;
  text-align: center;
}

footer {
  background: #0c1115;
  margin-top: 5em;
  font-size: 13px;
  height: 45px;
  line-height: 46px;
  width: 100%;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
}
footer a {
  color: #999999;
}

.box {
  width: 25%;
  height: auto;
  float: left;
  margin-bottom: 0.7em;
  text-align: center;
}
.box .swipebox {
  display: block;
  width: 100%;
  height: auto;
}
.box .swipebox img {
  width: 98%;
  height: auto;
  vertical-align: bottom;
}

#share div {
  display: inline-block;
}
#share #fb-like {
  position: relative;
  top: -6px;
}

#follow {
  text-align: center;
  margin-top: 3em;
}

code, pre {
  padding: 0.5em;
  font-size: 16px;
  line-height: 22px;
  color: #333;
  font-family: Monaco, Andale Mono, Courier New, monospace;
  margin-bottom: 1.5em;
  overflow-x: auto;
}

code {
  line-height: 2em;
  font-size: 0.8em;
}

pre {
  -webkit-box-shadow: inset 0px 0px 4px 1px #e6e6e6;
  -moz-box-shadow: inset 0px 0px 4px 1px #e6e6e6;
  box-shadow: inset 0px 0px 4px 1px #e6e6e6;
  border: 1px solid white;
  background: white;
}
pre span {
  color: green;
}

@media screen and (max-width: 1024px) {
  body {
    font-size: 1em;
  }

  .wrap {
    width: 92%;
  }

  .box {
    width: 50%;
  }

  #share #fb-like {
    top: -3px;
  }
}
@media screen and (max-width: 500px) {
  .wrap {
    width: 95%;
  }

  .box {
    width: 100%;
  }

  h1 {
    font-size: 3.8em;
  }

  .tagline {
    font-size: 1.3em;
  }

  .button {
    font-size: 1em;
    padding: 0.5em 1em;
    margin-left: 0.5em;
    margin-right: 0.5em;
  }

  #fork-this {
    display: none;
  }
}


.swipebox-overflow-hidden {
  overflow: hidden!important;
}

#swipebox-overlay img {
  border: none!important;
}

#swipebox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 9999;
  overflow: hidden;
  display: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

#swipebox-slider {
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  position: absolute;
}

#swipebox-slider .slide {
  background: url("img/loader.gif") no-repeat center center;
  height: 100%;
  line-height: 1px;
  text-align: center;
  width: 100%;
  display: inline-block;
}

#swipebox-slider .slide:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}

#swipebox-slider .slide img {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  vertical-align: middle;
}

#swipebox-action, #swipebox-caption {
  position: absolute;
  left: 0;
  z-index: 999;
  height: 50px;
  width: 100%;
}

#swipebox-action {
  bottom: -50px;
}
#swipebox-action.visible-bars {
  bottom: 0;
}

#swipebox-action.force-visible-bars {
  bottom: 0!important;
}

#swipebox-caption {
  top: -50px;
  text-align: center;
}
#swipebox-caption.visible-bars {
  top: 0;
}

#swipebox-caption.force-visible-bars {
  top: 0!important;
}

#swipebox-action #swipebox-prev, #swipebox-action #swipebox-next,
#swipebox-action #swipebox-close {
  background-image: url("img/icons.png");
  background-repeat: no-repeat;
  border: none!important;
  text-decoration: none!important;
  cursor: pointer;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
}

#swipebox-action #swipebox-close {
  background-position: 15px 12px;
  left: 40px;
}

#swipebox-action #swipebox-prev {
  background-position: -32px 13px;
  right: 100px;
}

#swipebox-action #swipebox-next {
  background-position: -78px 13px;
  right: 40px;
}

#swipebox-action #swipebox-prev.disabled,
#swipebox-action #swipebox-next.disabled {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
  opacity: 0.3;
}

#swipebox-slider.rightSpring {
  -moz-animation: rightSpring 0.3s;
  -webkit-animation: rightSpring 0.3s;
}

#swipebox-slider.leftSpring {
  -moz-animation: leftSpring 0.3s;
  -webkit-animation: leftSpring 0.3s;
}

@-moz-keyframes rightSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: -30px;
  }

  100% {
    margin-left: 0px;
  }
}

@-moz-keyframes leftSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: 30px;
  }

  100% {
    margin-left: 0px;
  }
}

@-webkit-keyframes rightSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: -30px;
  }

  100% {
    margin-left: 0px;
  }
}

@-webkit-keyframes leftSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: 30px;
  }

  100% {
    margin-left: 0px;
  }
}

/* Skin 
--------------------------*/
#swipebox-overlay {
  background: #0d0d0d;
}

#swipebox-action, #swipebox-caption {
  text-shadow: 1px 1px 1px black;
  background-color: #0d0d0d;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0d0d0d), color-stop(100%, #000000));
  background-image: -webkit-linear-gradient(#0d0d0d, #000000);
  background-image: -moz-linear-gradient(#0d0d0d, #000000);
  background-image: -o-linear-gradient(#0d0d0d, #000000);
  background-image: linear-gradient(#0d0d0d, #000000);
  -webkit-box-shadow: 0 1px 1px 1px #212121, inset 0 1px 1px 1px black;
  -moz-box-shadow: 0 1px 1px 1px #212121, inset 0 1px 1px 1px black;
  box-shadow: 0 1px 1px 1px #212121, inset 0 1px 1px 1px black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=95);
  opacity: 0.95;
}

#swipebox-action {
  -webkit-box-shadow: 0 -1px -1px 1px #212121, inset 0 -1px -1px 1px black;
  -moz-box-shadow: 0 -1px -1px 1px #212121, inset 0 -1px -1px 1px black;
  box-shadow: 0 -1px -1px 1px #212121, inset 0 -1px -1px 1px black;
}

#swipebox-caption {
  color: white!important;
  font-size: 15px;
  line-height: 43px;
  font-family: Helvetica, Arial, sans-serif;
}