html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  width: 100%;
  min-width: 980px;
  line-height: 1.5em;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  color: #373f51;
  background: url("../images/background.jpg") no-repeat center center / cover;
  background-attachment: fixed;
}
a {
  color: #337ab7;
}
a:link {
  text-decoration: none;
  font-weight: normal;
}
a:visited {
  text-decoration: none;
  font-weight: normal;
}
a:active {
  text-decoration: underline;
}
a:hover {
  text-decoration: underline;
}
a.download {
  display: inline-block;
  height: 32px;
  width: 100%;
  line-height: 41px;
  padding-left: 40px;
  margin-bottom: 15px;
  font-size: 20px;
  background: url("../images/download.png") no-repeat center left;
}
h1 {
  color: #337ab7;
  padding: 2px 0;
  font-size: 30px;
  font-weight: bold;
}
h2 {
  color: #337ab7;
  padding: 2px 0;
  font-size: 25px;
}
h3 {
  color: #337ab7;
  margin: 15px 0 0;
  padding: 0;
  font-size: 20px;
}
h4 {
  color: #337ab7;
  padding: 0px;
  font-size: 14px;
}
h1,
h2,
h4 {
  margin: 0px;
}
h2,
h3,
h4 {
  font-weight: normal;
}
#wrapper {
  height: 100%;
  width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}
header {
  width: 100%;
  min-width: 980px;
  overflow: hidden;
}
header #header_title {
  padding: 100px 0 40px;
  width: 100%;
  text-align: center;
}
header #header_title h1 {
  font-size: 60px;
  line-height: 60px;
}
header #header_title h1 a {
  color: #337ab7;
  text-decoration: none;
}
header #header_title h1 a:hover {
  text-shadow: 1px 0 2px #337ab7;
  font-weight: normal;
  text-decoration: none;
}
header #header_content {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding-bottom: 25px;
  position: relative;
}
header #header_content ul {
  padding: 0px;
  list-style: none;
  text-align: center;
}
header #header_content ul li {
  margin: 0 0 0 25px;
  display: inline-block;
}
header #header_content ul li:first-child {
  margin-left: 0px;
}
header #header_content ul li a {
  display: inline-block;
  width: 70px;
  height: 70px;
  background-image: url("../images/links_sprite.png");
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 0;
}
header #header_content ul li a:hover {
  background-position-y: -70px;
}
header #header_content ul li a.patreon {
  background-position-x: -70px;
}
header #header_content ul li a.twitter {
  background-position-x: -140px;
}
header #header_content ul li a.github {
  background-position-x: -210px;
}
header #header_content ul li a.nightkosh {
  background-position-x: -280px;
}
header #lang_bar {
  float: right;
  height: 64px;
  width: 32px;
  margin: 0 10px 0 -42px;
}
header #lang_bar a {
  display: inline-block;
  height: 32px;
  width: 32px;
  background-repeat: no-repeat;
  background-image: url("../images/lang_sprite.png");
}
header #lang_bar a#en_link {
  background-position: 0 0;
}
header #lang_bar a#ru_link {
  background-position: 0 -32px;
}
#menu {
  width: 100%;
  min-width: 980px;
  padding: 15px 0;
  margin: 25px 0;
  background: #ffffff;
  border: 2px solid #373f51;
}
#menu menu {
  width: 980px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}
#menu menu li {
  padding: 0 20px;
  display: inline-block;
}
#menu menu li a {
  font-size: 26px;
  text-decoration: none;
  color: #337ab7;
}
#menu menu li a:hover {
  text-shadow: 1px 0 2px #337ab7;
}
main {
  width: 100%;
  min-width: 980px;
  padding: 20px 60px;
  z-index: 10;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #373f51;
}
main #content {
  float: left;
  width: 650px;
  padding-right: 40px;
}
main #content h2 {
  height: 28px;
  margin: 0 0 17px;
  padding-top: 10px;
  font-size: 22px;
}
main #content p {
  text-align: justify;
  margin-bottom: 10px;
}
main #content img {
  width: 100%;
}
main #content ul {
  margin-bottom: 20px;
}
main #content li {
  list-style: disc;
  margin-left: 15px;
}
main #content .youtube {
  width: 100%;
  height: 365px;
}
main #content ul.video {
  list-style: none;
  margin: 0;
  padding: 0;
}
main #content ul.video li {
  overflow: hidden;
  height: 365px;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin: 0 0 25px;
  padding: 0;
}
main #content ul.video li:last-child {
  border-bottom: none;
}
main #content ul.video .player {
  padding-bottom: 20px;
}
main #content ul.video .player .preview_container .preview {
  height: 365px;
  width: 100%;
}
main #content ul.video .player .play_icon {
  height: 365px;
  width: 100%;
  margin-top: -360px;
  background: url("../images/play-mq.png") no-repeat center center;
  cursor: pointer;
  position: relative;
}
main #content .download_widget {
  width: 100%;
  border: none;
}
main #content .download_widget#refurins_textures {
  width: 720px;
}
main #sub_menu {
  float: right;
  width: 225px;
  margin-bottom: 15px;
  padding: 15px 0;
  font-size: 20px;
}
main #sub_menu > div > li {
  padding-bottom: 10px;
}
footer {
  width: 100%;
  min-width: 980px;
  margin: 25px auto;
  background: #ffffff;
  border: 2px solid #373f51;
}
footer > div {
  width: 940px;
  padding: 20px;
  margin: 0 auto;
  text-align: center;
}
footer > div a {
  font-weight: bold;
}
footer > div p {
  margin: 0;
}
.margin_top_30 {
  margin-top: 30px;
}
.modal-content {
  background-color: #ffffff;
}
.modal-content a {
  background-color: #ffffff;
  border: none;
  color: #337ab7;
  font-size: 15px;
}
.modal-content button {
  color: #337ab7;
  opacity: 1;
  text-shadow: none;
}
