html, body {
  height:100%;
}
body {
  font-family: Verdana, sans-serif;
  font-size: 14px;
  color: #222;
  background: #fff;
  background: url(/templates/images/bg.jpg);
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center top;
}
.article code {
  color:#009;
}
.clear {
  clear:both;
  font-size:0;
  overflow:hidden;
}

.header {
  position: relative;
  width: 100%;
  height: 48px;
}
.header_top {
  position: relative;
  width: 95%;
  max-width: 1350px;
  height: 48px;
  margin: auto;
}
.header_top p {
  color: #f5f5ff;
  font-size: 26px;
  font-weight: bold;
  padding: 0;
  margin: 0;
  text-shadow: #0d3967 1px 1px 0, #0d3967 2px 2px 0,
               #0d3967 3px 3px 0, #0d3967 4px 4px 0,
               #0d3967 5px 5px 0;
}
.header p b {
  font-size: 1.2em;
}
.menu {
  width: 100%;
  z-index: 10;
}
.top_menu {
  position: relative;
  width: 95%;
  max-width: 1350px;
  height: 50px;
  margin: auto;
  padding: 3px 0;
}
.top_menu li {
  float: left;
  width: 153px;
  height: 42px;
  text-align: center;
}
.top_menu > ul > li {
  margin-left: 5px;
  overflow: hidden;
}
.top_menu > ul > li:first-child {
  display: list-item;
  width: 50px;
  margin-left: 0;
}
.top_menu > ul > li:first-child a {
  font-size: 30px;
  font-weight: bold;
  padding-top: 4px;
  padding-bottom: 12px;
  line-height: 30px;
}
.top_menu a {
  position: relative;
  display: block;
  padding-top: 11px;
  padding-bottom: 10px;
  text-decoration: none;
  color: #FFF;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  background: #1055a0;
}
.top_menu > ul > li:first-child a {
}
.top_menu a:hover {
  color: #FFF;
  background-color: #349ADB;
}
.top_menu .current a {
  color: #FFF;
  background-color: #3172B2;
}
.top_menu .current a:hover {
  color: #FFF;
  background-color: #349ADB;
}
.top_menu > ul > li > ul {
  margin-top: 3px;
}
.top_menu > ul > li > ul > li {
  height: 0px;
  overflow: hidden;
  clear: both;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  -ms-transition: 0.3s;
}
.top_menu > ul > li > ul > li a {
  background-color: #3078b0;
}
.top_menu > ul > li:hover > ul > li {
  height: 45px;
  overflow: visible;
}
.top_menu > ul > li > ul {
  position: absolute;
}
.top_menu .mobile_button {
  display: none;
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 8px 18px;
  text-decoration: none;
  color: #FFF;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  background: #3075d0;
  height: 45px;
  cursor: pointer;
}
.top_menu .mobile_current {
  display: none;
  position: absolute;
  top: 5px;
  left: 121px;
  padding: 12px 20px;
  text-decoration: none;
  color: #FFF;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  background: #1055a0;
}

@media (max-width: 800px) {
  .top_menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 5px;
    z-index: 10;
  }
  .top_menu > ul {
    margin: 0;
    margin-top: 45px;
  }
  .top_menu > ul > li {
    display: none;
    height: 0;
    clear: both;
    margin: 0;
  }
  .top_menu > ul > li:first-child {
    position: absolute;
    top: 5px;
    left: 65px;
    height: 45px;
    background: #1055a0;
  }
  .top_menu > ul > li:first-child a {
    font-size: 28px;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
    background: #1055a0;
  }
  .top_menu .mobile_button {
    display: block;
  }
  .top_menu .mobile_current {
    display: block;
  }
}

.content {
  position: relative;
  background: #fff;
  width: 95%;
  max-width: 1350px;
  min-height: 80%;
  margin: auto;
  padding: 15px 25px;
  box-sizing: border-box;
}
@media (max-width: 800px) {
  .content {
    margin-top: 55px;
    padding: 5px 10px;
    width: 100%;
  }
}

.content h1 {
  font-family: Tahoma, sans-serif;
  font-weight: bold;
  font-size: 1.8em;
  margin-top: 0.1em;
  margin-bottom: 0.5em;
}
.content h2 {
  font-family: Tahoma, sans-serif;
  font-weight: bold;
  font-size: 1.3em;
  margin-top: 0.5em;
  margin-bottom: 0.7em;
}
.content h3 {
  font-family: Tahoma, sans-serif;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 0.5em;
  margin-bottom: 0.8em;
}
.content p {
  padding: 0;
  padding-bottom: 0.5em;
  margin: 0;
  text-indent: 20px;
  font-size: 15px;
  color: #000;
  line-height: 1.2em;
  text-align: justify;
}
.content a {
  color: #0000bb;
}
.content b,strong {
  font-weight: bold;
}
.content i,em {
  font-style: italic;
}
.content ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
}
.content ul > li {
  font-size: 15px;
  line-height: 1.2em;
  margin-bottom: 0.5em;
}
.content ol {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 1em;
}
.content ol > li {
  font-size: 15px;
  line-height: 1.2em;
  margin-bottom: 0.5em;
}
.content blockquote {
  padding: 0;
  padding-left: 30px;
  margin: 0;
  margin-top: 0.3em;
  margin-bottom: 1em;
  color: #00A;
  font-size: 1em;
  background-color: #fafdff;
}
.content td {
  line-height: 1em;
}

.footer {
  position: relative;
  background: #fff;
  width: 95%;
  max-width: 1350px;
  margin: auto;
  padding: 15px 25px;
  border-top: 1px solid #000;
  box-sizing: border-box;
  margin-bottom: 5px;
}

@media (max-width: 800px) {
  .footer {
    width: 100%;
    margin: 0;
    padding: 10px;
  }
}
.footer a {
  margin-right: 15px;
}
pre.monospaced {
  margin:0 0 10px 20px;
  font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace;
}

.exitblock {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.8;
  background: #000;
  z-index: 10;
}
.exitmessage {
  display: none;
  position: fixed;
  background: #fff;
  z-index: 11;
  text-align: center;
  padding: 30px;
}
.exitmessage .exitclose {
  position: absolute;
  right: -8px;
  top: -10px;
  font-size: 14px;
  width: 25px;
  height: 25px;
  line-height: 5px;
  font-weight: normal;
  padding: 0.5em;
  background: #fff;
  color: #555;
  border: 2px solid #ddd;
  border-radius: 13px;
  cursor: pointer;
}
.exitmessage h1 {
  font-size: 32px;
  font-weight: bold;
  color: #f00;
  margin-bottom: 1em;
}
.exitmessage h2 {
  font-size: 30px;
  color: #0a0;
  text-indent:0;
}
.exitmessage h3 {
  font-size: 28px;
  color: #00f;
  text-indent:0;
}
.exitmessage p {
  font-size: 20px;
  color: #555;
  text-indent:0;
  font-weight: bold;
  text-align: center;
}
.exitmessage p span {
  text-decoration: underline;
}
.exitmessage button {
  display: inline-block;
  padding: 10px 35px;
  border-radius: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  margin: 0 10px;
  text-align: center;
  width: 150px;
}
.exitmessage button.answeryes {
  background: #0b0;
  border: 1px solid #080;
}
.exitmessage button.answerno {
  background: #b00;
  border: 1px solid #800;
}
.exitmessage button.answeryes:hover {
  background: #0d0;
}
.exitmessage button.answerno:hover {
  background: #d00;
}
.exitmessage button.answeryes2 {
  background: #0b0;
  border: 1px solid #080;
  width: 290px;
}
.exitmessage button.answeryes2:hover {
  background: #0d0;
}
.article .syntaxhighlighter table .code .container::before {
  display: none !important;
  content: none !important;
}
.article .syntaxhighlighter table td {
  overflow-y: hidden !important;
}
.article .syntaxhighlighter .toolbar {
  display: none !important;
}

@media (max-width: 650px) {
  .exitmessage {
    padding: 20px;
  }
  .exitmessage h1 {
    font-size: 30px;;
  }
  .exitmessage h2 {
    font-size: 28px;;
  }
  .exitmessage h3 {
    font-size: 26px;;
  }
  .exitmessage p {
    font-size: 18px;;
  }
  .exitmessage button {
    padding: 8px 30px;
    font-size: 18px;
    width: 140px;
  }
  .exitmessage button.answeryes2 {
    width: 270px;
  }
}
@media (max-width: 550px) {
  .exitmessage {
    padding: 20px;
  }
  .exitmessage h1 {
    font-size: 28px;;
  }
  .exitmessage h2 {
    font-size: 26px;;
  }
  .exitmessage h3 {
    font-size: 24px;;
  }
  .exitmessage p {
    font-size: 18px;;
  }
  .exitmessage button {
    padding: 8px 30px;
    font-size: 18px;
    width: 140px;
  }
  .exitmessage button.answeryes2 {
    width: 260px;
  }
}
@media (max-width: 450px) {
  .exitmessage {
    padding: 20px 15px 15px 15px;
  }
  .exitmessage h1 {
    font-size: 26px;;
  }
  .exitmessage h2 {
    font-size: 24px;;
  }
  .exitmessage h3 {
    font-size: 22px;;
  }
  .exitmessage p {
    font-size: 18px;;
  }
  .exitmessage button {
    padding: 6px 20px;
    font-size: 18px;
    width: 120px;
  }
  .exitmessage button.answeryes2 {
    width: 250px;
  }
}
@media (max-width: 410px) {
  .exitmessage {
    padding: 20px 10px 5px 10px;
  }
  .exitmessage h1 {
    font-size: 24px;;
  }
  .exitmessage h2 {
    font-size: 22px;;
  }
  .exitmessage h3 {
    font-size: 20px;;
  }
  .exitmessage p {
    font-size: 16px;;
  }
  .exitmessage button {
    padding: 5px 10px;
    font-size: 16px;
    width: 100px;
  }
  .exitmessage button.answeryes2 {
    width: 240px;
  }
}
