#jbms-menu {
  height: 40px;
  line-height: 1.2em;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 13px;
}

#jbms-menu a, #jbms-menu a:hover {
  text-decoration: none;
}

@media (max-width: 1030px) {
  #jbms-menu > div {
    padding: 0 10px;
  }
}
#jbms-menu a,
#jbms-menu li {
  color: #ceb67b;
  display: block;
  cursor: pointer;
}

#jbms-menu a:hover,
#jbms-menu li:hover {
  color: #e9c160;
}

#jbms-menu .jbms-menu-main > a {
  position: relative;
  height: 40px;
}

#jbms-menu .jbms-menu-main > a svg {
  position: relative;
  top: -3px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 500px) {
  #jbms-menu .jbms-menu-main > a span {
    display: none;
  }
}
#jbms-menu .jbms-menu-main .jbms-menu-index {
  display: none;
}

@media (max-width: 999px) {
  #jbms-menu .jbms-menu-main .jbms-menu-index {
    display: block;
    margin-left: 10px;
    font-weight: bold;
    margin-bottom: 5px;
  }
}
#jbms-menu .jbms-menu-main .jbms-menu-submenu {
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
}

#jbms-menu .jbms-menu-main .jbms-menu-submenu div {
  box-sizing: border-box;
  width: 25%;
  float: left;
  padding-left: 20px;
}

@media (max-width: 999px) {
  #jbms-menu .jbms-menu-main .jbms-menu-submenu div {
    padding-left: 10px;
  }
}
@media (max-width: 800px) {
  #jbms-menu .jbms-menu-main .jbms-menu-submenu div {
    width: 50%;
    margin-bottom: 20px;
  }
  #jbms-menu .jbms-menu-main .jbms-menu-submenu div:nth-of-type(2n + 1) {
    clear: both;
  }
}
@media (max-width: 450px) {
  #jbms-menu .jbms-menu-main .jbms-menu-submenu div {
    width: 100%;
    clear: both;
    margin-bottom: 10px;
  }
}
#jbms-menu div {
  max-width: 1000px;
  margin: auto;
  position: relative;
  box-sizing: border-box;
}

#jbms-menu div > ul {
  line-height: 40px !important;
  font-size: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#jbms-menu div > ul li {
  float: left;
  line-height: 40px;
}

@media (min-width: 1000px) {
  #jbms-menu div > ul li:hover .jbms-menu-submenu {
    display: block !important;
  }
}
#jbms-menu div > ul.left {
  float: left;
}

#jbms-menu div > ul.left li {
  padding-right: 20px;
}

@media (max-width: 1000px) {
  #jbms-menu div > ul.left > li:not(.jbms-menu-main) {
    display: none;
  }
}
#jbms-menu div > ul.right {
  float: right;
}

#jbms-menu div > ul.right li {
  padding-left: 20px;
}

#jbms-menu div > ul.right li li {
  padding-left: 20px;
}

#jbms-menu .jbms-menu-submenu {
  display: none;
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  padding-bottom: 10px;
  padding-top: 10px;
  z-index: 1000000;
  box-sizing: border-box;
}

#jbms-menu .jbms-menu-submenu h4 {
  font-size: 14px;
  font-weight: bold;
  color: #c8c8c8;
  line-height: 18px;
  text-align: left;
  margin: 0;
  padding: 0;
}

#jbms-menu .jbms-menu-submenu ul {
  text-align: left;
}

#jbms-menu .jbms-menu-submenu ul li {
  float: none;
  line-height: 26px;
  padding-left: 10px;
  color: #c8c8c8;
}

#jbms-menu .jbms-menu-user svg {
  display: inline-block;
  position: relative;
  top: -3px;
  margin-right: 2px;
  vertical-align: middle;
}

#jbms-menu .jbms-menu-user .jbms-menu-submenu {
  width: 180px;
  right: 0;
}

#jbms-menu .jbms-menu-user .jbms-menu-user-message.jbms-menu-user-message-active {
  color: rgba(255, 0, 0, 0.7);
}

#jbms-menu .jbms-menu-admin {
  position: relative;
  height: 40px;
}

#jbms-menu .jbms-menu-admin svg {
  display: inline-block;
  position: relative;
  top: -3px;
  margin-right: 2px;
  fill: #cbcbcb;
  vertical-align: middle;
}

#jbms-menu .jbms-menu-admin .jbms-menu-submenu {
  width: 180px;
  right: 0;
  top: 40px;
}

@media (max-width: 500px) {
  #jbms-menu .jbms-menu-admin span {
    display: none;
  }
}
#jbms-menu .jbms-menu-chat {
  position: relative;
}

#jbms-menu .jbms-menu-chat svg {
  display: inline-block;
  position: relative;
  top: -1px;
  margin-right: 2px;
  fill: #cbcbcb;
  vertical-align: middle;
}

#jbms-menu .jbms-menu-chat.jbms-menu-chat-on svg {
  fill: #f25518;
}

#jbms-menu .jbms-menu-chat .jbms-menu-submenu {
  width: 180px;
  right: 0;
}

#jbms-menu .jbms-menu-chat .inner {
  display: none;
}

@media (max-width: 600px) {
  #jbms-menu .jbms-menu-chat > a span.inner {
    display: none !important;
  }
}
@media (max-width: 500px) {
  #jbms-menu .jbms-menu-chat span.outer {
    display: none;
  }
}
#jbms-scroll-top {
  display: block;
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #ceb67b;
  font-size: 24px;
  line-height: 40px;
  width: 40px;
  text-align: center;
  cursor: pointer;
  border-radius: 40px;
  z-index: 99999999;
}

.wrapper-content {
  max-width: 1000px;
  margin: auto;
}

.left {
  float: left;
}

.right {
  float: right;
}

.row {
  clear: both;
  float: none;
  overflow: hidden;
  box-sizing: border-box;
}

.grid {
  float: left;
  box-sizing: border-box;
  zoom: 1;
}

.grid:before {
  content: "";
  display: block;
}

.grid:after {
  content: "";
  display: table;
  clear: both;
}

.float-right {
  float: right;
}

.float-left {
  float: left;
}

.center {
  text-align: center !important;
}

.grid-12 {
  width: 100%;
}

.grid-11 {
  width: 91.66666667%;
}

.grid-10 {
  width: 83.33333333%;
}

.grid-9 {
  width: 75%;
}

.grid-8 {
  width: 66.66666667%;
}

.grid-7 {
  width: 58.33333333%;
}

.grid-6 {
  width: 50%;
}

.grid-5 {
  width: 41.66666667%;
}

.grid-4 {
  width: 33.33333333%;
}

.grid-3 {
  width: 25%;
}

.grid-2 {
  width: 16.66666667%;
}

.grid-1 {
  width: 8.33333333%;
}

.grid-1-8 {
  width: 12.5%;
}

.grid-2-8 {
  width: 12.5%;
}

.grid-3-8 {
  width: 37.5%;
}

.grid-4-8 {
  width: 50%;
}

@media screen and (max-width: 1000px) {
  .grid-desktop-12 {
    width: 100%;
  }
  .grid-desktop-11 {
    width: 91.66666667%;
  }
  .grid-desktop-10 {
    width: 83.33333333%;
  }
  .grid-desktop-8 {
    width: 66.66666667%;
  }
  .grid-desktop-7 {
    width: 58.33333333%;
  }
  .grid-desktop-6 {
    width: 50%;
  }
  .grid-desktop-5 {
    width: 41.66666667%;
  }
  .grid-desktop-4 {
    width: 33.33333333%;
  }
  .grid-desktop-3 {
    width: 25%;
  }
  .grid-desktop-2 {
    width: 16.66666667%;
  }
  .grid-desktop-1 {
    width: 8.33333333%;
  }
}
@media screen and (max-width: 800px) {
  .grid-tablet-12 {
    width: 100%;
  }
  .grid-tablet-11 {
    width: 91.66666667%;
  }
  .grid-tablet-10 {
    width: 83.33333333%;
  }
  .grid-tablet-8 {
    width: 66.66666667%;
  }
  .grid-tablet-7 {
    width: 58.33333333%;
  }
  .grid-tablet-6 {
    width: 50%;
  }
  .grid-tablet-5 {
    width: 41.66666667%;
  }
  .grid-tablet-4 {
    width: 33.33333333%;
  }
  .grid-tablet-3 {
    width: 25%;
  }
  .grid-tablet-2 {
    width: 16.66666667%;
  }
  .grid-tablet-1 {
    width: 8.33333333%;
  }
}
@media screen and (max-width: 600px) {
  .grid-phone-12 {
    width: 100%;
  }
  .grid-phone-11 {
    width: 91.66666667%;
  }
  .grid-phone-10 {
    width: 83.33333333%;
  }
  .grid-phone-8 {
    width: 66.66666667%;
  }
  .grid-phone-7 {
    width: 58.33333333%;
  }
  .grid-phone-6 {
    width: 50%;
  }
  .grid-phone-5 {
    width: 41.66666667%;
  }
  .grid-phone-4 {
    width: 33.33333333%;
  }
  .grid-phone-3 {
    width: 25%;
  }
  .grid-phone-2 {
    width: 16.66666667%;
  }
  .grid-phone-1 {
    width: 8.33333333%;
  }
}
/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
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 {
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  margin: 0;
  padding: 0;
}

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

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
  -webkit-margin-before: 0 !important;
  -webkit-margin-after: 0 !important;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 300;
}

.wrapper-content {
  max-width: 1000px;
  margin: auto;
}

.left {
  float: left;
}

.right {
  float: right;
}

.row {
  clear: both;
  float: none;
  overflow: hidden;
  box-sizing: border-box;
}

.grid {
  float: left;
  box-sizing: border-box;
  zoom: 1;
}

.grid:before {
  content: "";
  display: block;
}

.grid:after {
  content: "";
  display: table;
  clear: both;
}

.float-right {
  float: right;
}

.float-left {
  float: left;
}

.center {
  text-align: center !important;
}

.grid-12 {
  width: 100%;
}

.grid-11 {
  width: 91.66666667%;
}

.grid-10 {
  width: 83.33333333%;
}

.grid-9 {
  width: 75%;
}

.grid-8 {
  width: 66.66666667%;
}

.grid-7 {
  width: 58.33333333%;
}

.grid-6 {
  width: 50%;
}

.grid-5 {
  width: 41.66666667%;
}

.grid-4 {
  width: 33.33333333%;
}

.grid-3 {
  width: 25%;
}

.grid-2 {
  width: 16.66666667%;
}

.grid-1 {
  width: 8.33333333%;
}

.grid-1-8 {
  width: 12.5%;
}

.grid-2-8 {
  width: 12.5%;
}

.grid-3-8 {
  width: 37.5%;
}

.grid-4-8 {
  width: 50%;
}

@media screen and (max-width: 1000px) {
  .grid-desktop-12 {
    width: 100%;
  }
  .grid-desktop-11 {
    width: 91.66666667%;
  }
  .grid-desktop-10 {
    width: 83.33333333%;
  }
  .grid-desktop-8 {
    width: 66.66666667%;
  }
  .grid-desktop-7 {
    width: 58.33333333%;
  }
  .grid-desktop-6 {
    width: 50%;
  }
  .grid-desktop-5 {
    width: 41.66666667%;
  }
  .grid-desktop-4 {
    width: 33.33333333%;
  }
  .grid-desktop-3 {
    width: 25%;
  }
  .grid-desktop-2 {
    width: 16.66666667%;
  }
  .grid-desktop-1 {
    width: 8.33333333%;
  }
}
@media screen and (max-width: 800px) {
  .grid-tablet-12 {
    width: 100%;
  }
  .grid-tablet-11 {
    width: 91.66666667%;
  }
  .grid-tablet-10 {
    width: 83.33333333%;
  }
  .grid-tablet-8 {
    width: 66.66666667%;
  }
  .grid-tablet-7 {
    width: 58.33333333%;
  }
  .grid-tablet-6 {
    width: 50%;
  }
  .grid-tablet-5 {
    width: 41.66666667%;
  }
  .grid-tablet-4 {
    width: 33.33333333%;
  }
  .grid-tablet-3 {
    width: 25%;
  }
  .grid-tablet-2 {
    width: 16.66666667%;
  }
  .grid-tablet-1 {
    width: 8.33333333%;
  }
}
@media screen and (max-width: 600px) {
  .grid-phone-12 {
    width: 100%;
  }
  .grid-phone-11 {
    width: 91.66666667%;
  }
  .grid-phone-10 {
    width: 83.33333333%;
  }
  .grid-phone-8 {
    width: 66.66666667%;
  }
  .grid-phone-7 {
    width: 58.33333333%;
  }
  .grid-phone-6 {
    width: 50%;
  }
  .grid-phone-5 {
    width: 41.66666667%;
  }
  .grid-phone-4 {
    width: 33.33333333%;
  }
  .grid-phone-3 {
    width: 25%;
  }
  .grid-phone-2 {
    width: 16.66666667%;
  }
  .grid-phone-1 {
    width: 8.33333333%;
  }
}
.wrapper-content div.content main .admin h2 {
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  display: inline-block;
  border-bottom: 1px solid #b3ab96;
  padding-bottom: 5px;
  background: none;
  margin: 20px 0 10px 0;
  color: white;
  text-shadow: none;
}

.wrapper-content form div {
  clear: both;
  overflow: hidden;
  margin-bottom: 10px;
}

.wrapper-content form label {
  display: block;
  float: left;
  width: 150px;
  line-height: 28px;
}

.wrapper-content form input[type=text],
.wrapper-content form input[type=password],
.wrapper-content form select {
  width: 400px;
  float: left;
  height: 28px;
}

.wrapper-content form select {
  width: 200px;
}

.wrapper-content form input[type=checkbox] ~ label {
  float: none;
  display: inline-block;
  position: relative;
  top: -3px;
  width: 400px;
}

.wrapper-content form input[type=checkbox] {
  margin-left: 150px;
}

.wrapper-content form input[type=submit],
.wrapper-content form button[type=submit] {
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.8);
  height: 28px;
  background: #323232;
  color: #f0f0f0;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.wrapper-content form input[type=submit]:hover,
.wrapper-content form button[type=submit]:hover {
  background: #c8c8c8;
  color: #323232;
}

.wrapper-content form textarea {
  box-sizing: border-box;
  padding-top: 5px;
  padding-bottom: 5px;
}

.wrapper-content form textarea:not(.textarea-inline) {
  height: 400px;
  margin-top: 20px;
  width: 100%;
}

.wrapper-content form textarea.textarea-inline {
  width: 500px;
  height: 100px;
  float: left;
}

.wrapper-content form#SettingIndexForm textarea {
  width: 500px;
  margin-top: 0;
  height: 60px;
  float: left;
}

.wrapper-content form ::-webkit-input-placeholder {
  color: #777777;
}

.wrapper-content form :-moz-placeholder {
  color: #777777;
  opacity: 1;
}

.wrapper-content form ::-moz-placeholder {
  color: #777777;
  opacity: 1;
}

.wrapper-content form :-ms-input-placeholder {
  color: #777777;
}

.grid-6 form div {
  width: 200px;
  float: left;
  clear: none;
}

.grid-6 form input[type=text] {
  width: 200px;
  float: left;
}

.grid-6 form div.submit {
  width: 100px;
  margin-left: 20px;
}

.grid-6 form div.submit input[type=submit] {
  width: 100px;
  float: left;
}

.NFI-button {
  width: 50px !important;
  float: left;
  background: #323232;
  color: #f0f0f0;
  border: 1px solid rgba(0, 0, 0, 0.8);
  line-height: 26px;
  box-sizing: border-box;
  transition: all 0.4s ease-in-out;
}

.NFI-button:hover {
  background: #c8c8c8;
  color: #323232;
}

.NFI-filename {
  width: 150px !important;
  float: left;
}

strong {
  font-weight: 700;
}

.wrapper-content div.content main a,
.wrapper-content div.content main article .page-content a,
.jbms-content a {
  color: #ceb67b;
  text-decoration: none;
}

.wrapper-content div.content main a a:hover,
.wrapper-content div.content main article .page-content a a:hover,
.jbms-content a a:hover {
  text-decoration: underline;
}

.wrapper-content div.content main a,
.wrapper-content div.content main article .page-content a,
.jbms-content a,
.wrapper-content div.content main img,
.wrapper-content div.content main article .page-content img,
.jbms-content img {
  outline: none;
}

.wrapper-content div.content main h1,
.wrapper-content div.content main article .page-content h1,
.jbms-content h1,
.wrapper-content div.content main h2,
.wrapper-content div.content main article .page-content h2,
.jbms-content h2,
.wrapper-content div.content main h3,
.wrapper-content div.content main article .page-content h3,
.jbms-content h3,
.wrapper-content div.content main h4,
.wrapper-content div.content main article .page-content h4,
.jbms-content h4,
.wrapper-content div.content main h5,
.wrapper-content div.content main article .page-content h5,
.jbms-content h5,
.wrapper-content div.content main h6,
.wrapper-content div.content main article .page-content h6,
.jbms-content h6 {
  border: none;
  text-align: left;
  margin: 0;
  padding: 0;
  color: #FFCC99;
  text-shadow: 5px 5px 7px #000000;
  font-family: "Times New Roman", serif;
  font-weight: 500;
}

.wrapper-content div.content main h1,
.wrapper-content div.content main article .page-content h1,
.jbms-content h1,
.wrapper-content div.content main h2,
.wrapper-content div.content main article .page-content h2,
.jbms-content h2 {
  font-size: 34px;
  width: 70%;
  margin: 10px auto;
  padding-bottom: 5px;
}

.wrapper-content div.content main h1,
.wrapper-content div.content main article .page-content h1,
.jbms-content h1,
.wrapper-content div.content main h2,
.wrapper-content div.content main article .page-content h2,
.jbms-content h2,
.wrapper-content div.content main h3,
.wrapper-content div.content main article .page-content h3,
.jbms-content h3,
.wrapper-content div.content main h4,
.wrapper-content div.content main article .page-content h4,
.jbms-content h4 {
  text-align: center;
}

.wrapper-content div.content main h1,
.wrapper-content div.content main article .page-content h1,
.jbms-content h1 {
  border-bottom: 1px solid #88490C;
}

.wrapper-content div.content main h2,
.wrapper-content div.content main article .page-content h2,
.jbms-content h2 {
  margin-top: 30px;
}

.wrapper-content div.content main h3,
.wrapper-content div.content main article .page-content h3,
.jbms-content h3 {
  line-height: 36px;
  font-size: 26px;
}

.wrapper-content div.content main h4,
.wrapper-content div.content main article .page-content h4,
.jbms-content h4 {
  font-size: 20px;
  line-height: 30px;
}

.wrapper-content div.content main h5,
.wrapper-content div.content main article .page-content h5,
.jbms-content h5 {
  font-size: 18px;
}

.wrapper-content div.content main h6,
.wrapper-content div.content main article .page-content h6,
.jbms-content h6 {
  font-size: 1em;
  font-family: "Open Sans";
}

.wrapper-content div.content main img.img,
.wrapper-content div.content main article .page-content img.img,
.jbms-content img.img {
  display: inline-block;
}

.wrapper-content div.content main img.img.right,
.wrapper-content div.content main article .page-content img.img.right,
.jbms-content img.img.right {
  display: block !important;
  float: right;
  margin-left: 5px;
}

.wrapper-content div.content main img.img.left,
.wrapper-content div.content main article .page-content img.img.left,
.jbms-content img.img.left {
  display: block !important;
  float: left;
  margin-right: 5px;
}

.wrapper-content div.content main img.img.center,
.wrapper-content div.content main article .page-content img.img.center,
.jbms-content img.img.center {
  display: block !important;
  float: none;
  margin: 5px auto;
}

.wrapper-content div.content main ol,
.wrapper-content div.content main article .page-content ol,
.jbms-content ol {
  list-style-type: decimal;
}

.wrapper-content div.content main div.columns.columns-2,
.wrapper-content div.content main article .page-content div.columns.columns-2,
.jbms-content div.columns.columns-2 {
  /* Chrome, Safari, Opera */
  -moz-column-count: 2;
  /* Firefox */
  column-count: 2;
}

.wrapper-content div.content main div.columns.columns-3,
.wrapper-content div.content main article .page-content div.columns.columns-3,
.jbms-content div.columns.columns-3 {
  /* Chrome, Safari, Opera */
  -moz-column-count: 3;
  /* Firefox */
  column-count: 3;
}

.wrapper-content div.content main div.columns.columns-4,
.wrapper-content div.content main article .page-content div.columns.columns-4,
.jbms-content div.columns.columns-4 {
  /* Chrome, Safari, Opera */
  -moz-column-count: 4;
  /* Firefox */
  column-count: 4;
}

.markup-wrapper.fullscreen {
  position: fixed;
  width: 1000px;
  top: 50px;
  bottom: 0;
  z-index: 1000;
}

.markup-wrapper.fullscreen textarea {
  display: block;
  position: absolute;
  top: 50px;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 1001;
  height: auto;
  margin: 0;
  background: rgba(255, 255, 255, 0.8);
}

.markup-wrapper.fullscreen .markup-buttons {
  position: absolute;
  margin-top: 0px;
  top: 0;
  left: 0;
  z-index: 1001;
}

.markup-background {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
}

.markup-wrapper .markup-buttons {
  margin-top: 30px;
}

.markup-wrapper .markup-buttons span {
  display: block;
  float: left;
  padding: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-size: 24px;
  margin-right: 10px;
  color: #ceb67b;
  cursor: pointer;
}

.markup-wrapper textarea {
  margin: 0;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.wrapper-content main a {
  color: #ceb67b;
  text-decoration: none;
}

.wrapper-content main a:hover {
  text-decoration: underline;
}

.wrapper-content div.content main > nav .breadcrumb {
  overflow: hidden;
  height: 20px;
  list-style-type: none;
  position: relative;
}
.wrapper-content div.content main > nav .breadcrumb li {
  float: left;
}
.wrapper-content div.content main > nav .breadcrumb li:after {
  content: ">";
  padding-left: 5px;
  padding-right: 5px;
  font-size: 10px;
  font-family: Arial;
}
.wrapper-content div.content main > nav .breadcrumb li:last-of-type:after {
  content: "";
}

.wrapper-content main article h2 {
  font-size: 22px;
  font-weight: 400;
}

.wrapper-content main article img,
.wrapper-content main article iframe {
  display: block;
  margin: auto;
}

.wrapper-content main article img {
  max-width: 100%;
  margin-top: 10px;
  margin-bottom: 5px;
}

.wrapper-content main article p {
  line-height: 18px;
  margin-bottom: 10px;
}

.wrapper-content main article .meta {
  text-align: right;
}

.wrapper-content main article .meta time {
  line-height: 20px;
  text-align: right;
}

.wrapper-content main article .meta a {
  line-height: right;
}

.wrapper-content main article .more {
  text-align: right;
  line-height: 30px;
}

/* tagi */
.page-content {
  margin-top: 20px;
  font-size: 14px;
  line-height: 24px !important;
  text-align: justify;
}

.page-content p,
.page-content li {
  font-size: 14px;
  line-height: 24px !important;
  text-align: justify;
}

.page-content b {
  font-weight: 700;
}

.page-content ul {
  list-style-type: disc;
  margin-bottom: 10px;
}

.page-content li {
  margin-left: 30px;
  text-align: left;
}

.page-content p + ul {
  margin-top: -10px;
}

.page-content iframe {
  margin-bottom: 20px !important;
}

.page-content .hint {
  position: relative;
  cursor: help;
  display: inline-block;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.7);
}

.page-content .hint .hint-text {
  display: none;
}

.page-content .hint.hint-no-highlight {
  border-bottom: none;
}

.page-content .hint:hover .hint-text {
  display: block;
  z-index: 10000;
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px;
  border-radius: 10px;
  border-top-left-radius: 0;
  min-width: 20px;
  background: rgba(0, 0, 0, 0.7);
}

.page-content h1 {
  font-size: 22px;
  margin-top: 25px;
  color: #f87719;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(110, 41, 8, 0.6);
  margin-bottom: 10px;
  text-align: center;
}

.page-content h2 {
  font-size: 18px;
  margin-top: 25px;
  color: #f87719;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(110, 41, 8, 0.6);
  margin-bottom: 10px;
  text-align: center;
}

.page-content h3 {
  font-size: 18px;
  margin-top: 25px;
  color: #f87719;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(110, 41, 8, 0.6);
  margin-bottom: 10px;
  text-align: left;
}

.page-content h4 {
  font-size: 18px;
  margin-top: 15px;
  color: #ff7612;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(110, 41, 8, 0.6);
  margin-bottom: 10px;
}

.page-content h5 {
  color: #f0e2d9;
  font-size: 15px;
  line-height: 20px;
  margin-top: 10px;
  font-weight: 400;
  margin-bottom: 10px;
  text-align: left;
}

.page-content h5:first-of-type {
  margin-top: 10px;
}

.spoiler {
  display: none;
}

.show-spoiler {
  cursor: help;
  display: inline-block;
}

.jbms-gallery {
  background: rgba(0, 0, 0, 0.2);
  padding: 5px;
  border-radius: 5px;
}

.jbms-gallery-description {
  line-height: 1.3;
  padding: 3px 5px;
}

.jbms-gallery ul {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 10px;
}

.jbms-gallery li {
  margin-left: 0;
  text-align: center;
  opacity: 0.9;
}

.jbms-gallery li img {
  max-width: 100%;
  margin: 0 !important;
}

.jbms-gallery li:hover {
  opacity: 1;
}

.wrapper-content div.content main .news {
  position: relative;
}
.wrapper-content div.content main .news article {
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
}
.wrapper-content div.content main .news article h4:first-of-type {
  background: url("https://heroes.net.pl/cms/jb-cms/news-icon.png") no-repeat left center;
  padding: 0 0 0 26px;
  width: 60%;
  margin-top: 0;
  float: left;
  text-align: left;
  box-sizing: border-box;
}
.wrapper-content div.content main .news article .news-meta {
  width: 40%;
  box-sizing: border-box;
  float: right;
  text-align: right;
  line-height: 16px;
  font-size: 13px;
  margin-top: 4px;
}
.wrapper-content div.content main .news article .news-content {
  clear: both;
  padding-top: 7px;
  font-size: 13px;
  margin-bottom: 10px;
}
.wrapper-content div.content main .news article .news-content img {
  display: block !important;
  margin: 7px auto;
  max-height: 300px;
  border: 1px solid #e7cf8c;
  padding: 4px;
}
.wrapper-content div.content main .news article .news-comments-details {
  text-align: right;
  font-size: 13px;
  position: relative;
  line-height: 16px !important;
  min-height: 16px;
}
.wrapper-content div.content main .news article .news-comments-details span {
  display: block;
  position: absolute;
  width: 300px;
  top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.wrapper-content div.content main .news article .news-comments-details .news-more {
  display: block;
  position: absolute;
  left: 300px;
  padding-left: 20px;
  padding-right: 20px;
  top: 0;
}
.wrapper-content div.content main .news .separator {
  background: url(https://heroes.net.pl/cms/jb-cms/separator.png);
  height: 33px;
  width: 400px;
  margin: 20px auto;
  opacity: 0.6;
}
.wrapper-content div.content main .news .news-archive {
  overflow: hidden;
  padding-bottom: 12px;
  margin-left: 10px;
  position: relative;
}
.wrapper-content div.content main .news .news-archive ul {
  margin: 0 0 0 14px;
  list-style-type: none;
  padding: 0;
}
.wrapper-content div.content main .news .news-archive ul li {
  float: left;
  width: 80px;
  margin: 0;
  padding: 0;
  line-height: 24px !important;
  text-align: center;
}
.wrapper-content div.content main .news .comments .comment {
  width: 90%;
  margin: 10px auto;
  border: 1px solid #bd9639;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  position: relative;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  display: grid;
  grid-template-columns: 20% 25px auto 60px;
  grid-template-rows: 30px auto;
  grid-column-gap: 0;
  grid-row-gap: 0;
  grid-template-areas: "author flag details operations" "author content content content";
}
.wrapper-content div.content main .news .comments .comment .comment-author {
  grid-area: author;
  text-align: center;
  line-height: 17px;
  align-self: start;
  padding: 0 10px;
  box-sizing: border-box;
}
.wrapper-content div.content main .news .comments .comment .comment-author img {
  display: block !important;
  margin: 3px auto;
  max-width: 60px;
  max-height: 60px;
}
.wrapper-content div.content main .news .comments .comment .comment-anchor {
  grid-area: flag;
  background: url("https://heroes.net.pl/cms/jb-cms/news-icon.png") no-repeat center center;
  width: 16px;
  height: 20px;
  display: block;
}
.wrapper-content div.content main .news .comments .comment .comment-operations {
  grid-area: operations;
  text-align: right;
}
.wrapper-content div.content main .news .comments .comment .comment-operations a {
  display: none;
  padding: 3px;
  margin-left: 5px;
}
.wrapper-content div.content main .news .comments .comment:hover .comment-operations a {
  display: inline-block;
}
.wrapper-content div.content main .news .comments .comment .comment-details {
  grid-area: details;
  line-height: 21px;
}
.wrapper-content div.content main .news .comments .comment .comment-details time {
  font-size: 12px;
  display: inline-block;
}
.wrapper-content div.content main .news .comments .comment .comment-details .comment-details-edited {
  display: inline-block;
  margin-left: 10px;
  opacity: 0.6;
  font-size: 0.8em;
}
.wrapper-content div.content main .news .comments .comment .comment-content {
  grid-area: content;
  font-size: 13px;
  line-height: 18px;
  padding-right: 5px;
}
.wrapper-content div.content main .news .comments .comment.comment-empty {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
}
.wrapper-content div.content main .news legend {
  color: #bd9639;
  padding: 0 10px 0 10px;
  font-size: 16px;
  display: block;
}
.wrapper-content div.content main .news textarea {
  margin: 0;
  height: 100px;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  outline: none !important;
  padding: 5px;
  box-sizing: border-box;
}
.wrapper-content div.content main .news button[type=submit] {
  margin: 0 auto;
  display: block;
  width: 200px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  color: #f0f0f0;
}
.wrapper-content div.content main .news button[type=submit]:hover {
  background: rgba(0, 0, 0, 0.9);
  color: #f0f0f0;
}
.wrapper-content div.content main .news .comment-form fieldset {
  width: 90%;
  margin: 10px auto;
  border: 1px solid #bd9639;
  border-radius: 10px;
  position: relative;
  padding: 10px;
  box-sizing: border-box;
}
.wrapper-content div.content main .news .icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: #bd9639;
  fill: #bd9639;
}

.alert {
  position: relative;
  padding: 10px;
  background: rgba(255, 0, 0, 0.5);
  margin: 10px 0;
  border-radius: 5px;
}
.alert.alert-success {
  background: rgba(0, 255, 0, 0.5);
}
.alert .btn-close {
  display: none;
}

body[class*=jconfirm-no-scroll-] {
  overflow: hidden !important;
}

.jconfirm {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999999;
  font-family: inherit;
  overflow: hidden;
}
.jconfirm .jconfirm-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.4s;
  background: rgba(0, 0, 0, 0.3);
}
.jconfirm .jconfirm-bg.jconfirm-bg-h {
  opacity: 0 !important;
}
.jconfirm .jconfirm-scrollpane {
  perspective: 500px;
  perspective-origin: center;
  display: table;
  width: 100%;
  height: 100%;
}
.jconfirm .jconfirm-row {
  display: table-row;
  width: 100%;
}
.jconfirm .jconfirm-cell {
  display: table-cell;
  vertical-align: middle;
}
.jconfirm .jconfirm-holder {
  max-height: 100%;
  padding: 50px 0;
}
.jconfirm .jconfirm-box-container {
  transition: transform;
}
.jconfirm .jconfirm-box {
  max-width: 400px;
  background: rgba(21, 21, 21, 0.9);
  color: white;
  border-radius: 4px;
  position: relative;
  outline: none;
  padding: 15px 15px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}
.jconfirm .jconfirm-box .jconfirm-icon-c {
  display: inline-block;
}
.jconfirm .jconfirm-box .jconfirm-icon-c .exclamation-mark {
  display: block;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  border-radius: 30px;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.7);
  color: black;
  font-weight: bold;
  margin-right: 15px;
}
.jconfirm .jconfirm-box .jconfirm-icon-c .exclamation-mark:before {
  content: "!";
}
.jconfirm .jconfirm-box .jconfirm-buttons {
  text-align: right;
  margin-top: 20px;
}
.jconfirm .jconfirm-box button {
  margin-left: 20px;
  display: inline-block;
  background: rgba(0, 0, 0, 0.5);
  color: #f0f0f0;
  border: none;
  padding: 5px 20px;
  font-size: 15px;
}
.jconfirm .jconfirm-box button:hover {
  background: rgba(0, 0, 0, 0.9);
  color: #f0f0f0;
}
.jconfirm .jconfirm-box button.red {
  background: rgba(255, 0, 0, 0.5);
}
.jconfirm .jconfirm-box button.red:hover {
  background: rgba(255, 0, 0, 0.9);
  color: #f0f0f0;
}
.jconfirm .jconfirm-box .jconfirm-title {
  font-size: 20px;
}
.jconfirm .jconfirm-box .jconfirm-content {
  margin-top: 10px;
  font-size: 15px;
  line-height: 20px;
}

.wrapper-content {
  max-width: 1000px;
  margin: auto;
}

.left {
  float: left;
}

.right {
  float: right;
}

.row {
  clear: both;
  float: none;
  overflow: hidden;
  box-sizing: border-box;
}

.grid {
  float: left;
  box-sizing: border-box;
  zoom: 1;
}

.grid:before {
  content: "";
  display: block;
}

.grid:after {
  content: "";
  display: table;
  clear: both;
}

.float-right {
  float: right;
}

.float-left {
  float: left;
}

.center {
  text-align: center !important;
}

.grid-12 {
  width: 100%;
}

.grid-11 {
  width: 91.66666667%;
}

.grid-10 {
  width: 83.33333333%;
}

.grid-9 {
  width: 75%;
}

.grid-8 {
  width: 66.66666667%;
}

.grid-7 {
  width: 58.33333333%;
}

.grid-6 {
  width: 50%;
}

.grid-5 {
  width: 41.66666667%;
}

.grid-4 {
  width: 33.33333333%;
}

.grid-3 {
  width: 25%;
}

.grid-2 {
  width: 16.66666667%;
}

.grid-1 {
  width: 8.33333333%;
}

.grid-1-8 {
  width: 12.5%;
}

.grid-2-8 {
  width: 12.5%;
}

.grid-3-8 {
  width: 37.5%;
}

.grid-4-8 {
  width: 50%;
}

@media screen and (max-width: 1000px) {
  .grid-desktop-12 {
    width: 100%;
  }
  .grid-desktop-11 {
    width: 91.66666667%;
  }
  .grid-desktop-10 {
    width: 83.33333333%;
  }
  .grid-desktop-8 {
    width: 66.66666667%;
  }
  .grid-desktop-7 {
    width: 58.33333333%;
  }
  .grid-desktop-6 {
    width: 50%;
  }
  .grid-desktop-5 {
    width: 41.66666667%;
  }
  .grid-desktop-4 {
    width: 33.33333333%;
  }
  .grid-desktop-3 {
    width: 25%;
  }
  .grid-desktop-2 {
    width: 16.66666667%;
  }
  .grid-desktop-1 {
    width: 8.33333333%;
  }
}
@media screen and (max-width: 800px) {
  .grid-tablet-12 {
    width: 100%;
  }
  .grid-tablet-11 {
    width: 91.66666667%;
  }
  .grid-tablet-10 {
    width: 83.33333333%;
  }
  .grid-tablet-8 {
    width: 66.66666667%;
  }
  .grid-tablet-7 {
    width: 58.33333333%;
  }
  .grid-tablet-6 {
    width: 50%;
  }
  .grid-tablet-5 {
    width: 41.66666667%;
  }
  .grid-tablet-4 {
    width: 33.33333333%;
  }
  .grid-tablet-3 {
    width: 25%;
  }
  .grid-tablet-2 {
    width: 16.66666667%;
  }
  .grid-tablet-1 {
    width: 8.33333333%;
  }
}
@media screen and (max-width: 600px) {
  .grid-phone-12 {
    width: 100%;
  }
  .grid-phone-11 {
    width: 91.66666667%;
  }
  .grid-phone-10 {
    width: 83.33333333%;
  }
  .grid-phone-8 {
    width: 66.66666667%;
  }
  .grid-phone-7 {
    width: 58.33333333%;
  }
  .grid-phone-6 {
    width: 50%;
  }
  .grid-phone-5 {
    width: 41.66666667%;
  }
  .grid-phone-4 {
    width: 33.33333333%;
  }
  .grid-phone-3 {
    width: 25%;
  }
  .grid-phone-2 {
    width: 16.66666667%;
  }
  .grid-phone-1 {
    width: 8.33333333%;
  }
}
/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
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 {
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  margin: 0;
  padding: 0;
}

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

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

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

strong {
  font-weight: 700;
}

body {
  background: url("../img/background.jpg");
  background-size: cover;
  font-family: "Open Sans";
  font-weight: 300;
  font-size: 13px;
}

a {
  color: #4b84cd;
  text-decoration: none;
}

a,
img {
  outline: none;
}

.wrapper-content {
  width: 1000px;
  margin: 34px auto 0 auto;
}

.wrapper-content > header {
  height: 255px;
  width: 1000px;
  background: url("../img/header_new.png") no-repeat;
  position: relative;
}

.wrapper-content > header h1 {
  position: absolute;
  top: 60px;
  left: 210px;
  width: 300px;
}

.wrapper-content > header h1 img {
  max-width: 100%;
}

.wrapper-content > header h2 {
  position: absolute;
  left: 68px;
  top: 60px;
}

.wrapper-content > header nav.admin {
  bottom: 9px;
}

.content {
  width: 1000px;
  min-height: 600px;
  position: relative;
}

.content > nav {
  position: relative;
  min-height: 300px;
  box-sizing: border-box;
  width: 230px;
  float: left;
  margin-bottom: 270px;
}

.content > nav:before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 97px;
  right: 0;
  bottom: 84px;
  left: 0;
}

.content > nav > ul {
  margin-top: 11px;
  margin-bottom: 5px;
}

.content > nav > ul li {
  width: 230px;
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  margin: 0px auto;
  padding-top: 2px;
  padding-bottom: 3px;
  text-align: center;
  background: url("../img/button_big.png") no-repeat 0 0;
  transition: all 0.4s ease-in-out;
}

.content > nav > ul > li:hover {
  background: url("../img/button_big_hoover.png") no-repeat 0 0 !important;
}

.content > nav > ul li a {
  box-sizing: border-box;
  display: block;
  text-decoration: none;
  font-size: 16px;
  line-height: 42px;
  color: #e3bb76;
  font-weight: 900;
  font-family: "Times New Roman Bold";
  text-transform: uppercase;
}

.content > nav > ul li > a {
  color: #e3bb76;
  text-shadow: 0 0 3px #e3bb76;
  text-decoration: none;
}

.content > nav > ul li ul li {
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  margin: 0px auto;
  text-align: center;
  height: 32px;
  background: url("../img/button_small.png") no-repeat 0 0;
}

.content > nav > ul li ul > li:hover {
  background: url("../img/button_small_hoover.png") no-repeat 0 0 !important;
}

.content > nav > ul li ul li a {
  color: #533b2c !important;
  text-shadow: 0 0 3px #4b4b4b;
  text-transform: uppercase;
  line-height: 31px;
  font-size: 13px;
}

.content > main {
  color: black;
  float: right;
  width: 750px;
  min-height: 400px;
  position: relative;
  padding: 30px;
  background: url("../img/content_top.png") no-repeat 0 0, url("../img/content_bottom.png") no-repeat left bottom;
  box-sizing: border-box;
}

.content > main a {
  color: #4b84cd;
  font-weight: 600;
  text-decoration: none;
}

.wrapper-content div.content main h1 {
  color: #533b2c !important;
  border-bottom: 1px solid #d0b299 !important;
}

.wrapper-content div.content main h2 {
  color: #533b2c !important;
}

.wrapper-content div.content main h3 {
  color: #533b2c !important;
}

.wrapper-content div.content main h4 {
  color: #533b2c !important;
}

.wrapper-content main > nav ul {
  height: 23px;
}

.content > main:before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 17px;
  right: 0;
  bottom: 5px;
  left: 0;
  background: url("../img/content_middle.png") top left repeat-y;
}

.content > main > nav ul,
.content > main > article,
.content > main > .admin,
.content > main > .message {
  position: relative;
  z-index: 1;
}

.content > main p,
.content > main li {
  font-size: 14px !important;
  line-height: 24px !important;
  font-weight: 400;
}

.content > main img {
  display: inline-block !important;
  border-radius: 0;
}

.content > main table {
  display: table;
  border-radius: 3px;
  border-spacing: 2px;
  border: 3px ridge #dfb26b;
  background: rgb(0, 0, 0);
  margin: 10px auto !important;
  text-align: left;
}

.content > main table td,
.content > main table th {
  border: 3px ridge #dfb26b;
  background-image: url(http://h3boardgame.heroes.net.pl/img/tablebg.png);
  padding: 8px;
}

.content > main table th {
  font-family: "Roboto";
  font-weight: 500;
  font-size: 14px;
}

.content > main table td {
  vertical-align: middle;
  font-size: 13px;
  line-height: 22px;
  font-weight: 400;
}

.content > main table td li {
  font-size: 13px !important;
}

.content > main table img {
  margin: 0;
  padding: 0;
  display: inline !important;
  max-width: none;
}

.border {
  border: 2px groove #ffcc99 !important;
}

#flashMessage {
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
  text-align: center;
  color: black;
  border-radius: 20px;
  margin-bottom: 20px;
}

.wrapper-content > footer {
  clear: both;
  background: url("../img/footer.png") no-repeat left 20px;
  line-height: 50px;
  height: 90px;
  padding-left: 30px;
  padding-top: 25px;
  color: #f7d599;
  font-weight: 400;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.wrapper-content > footer a {
  color: #4b84cd;
  font-weight: 600;
  text-decoration: none;
}

#model {
  background: url(../img/model.png) no-repeat center;
  width: 141px;
  height: 242px;
  position: absolute;
  right: 38px;
  bottom: -260px;
  z-index: 100;
}

.wrapper-content div.content main .admin table.admin-table {
  color: black;
}

.wrapper-content main article p {
  color: black;
}

.gallery {
  text-align: center;
  border: none !important;
  background: none !important;
}

.gallery td {
  text-align: center;
  border: none !important;
}

.gallery a img {
  display: inline;
}

.lyrics tr:last-of-type td {
  text-align: center;
}

form#SettingIndexForm {
  position: relative;
  z-index: 1000;
}

pre code.hljs {
  background: transparent !important;
}