@charset "UTF-8";

* {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

aside,
nav,
footer,
header,
section {
  display: block;
}

html {
  font-size: 15px;
}

html,
body {
  height: 100%;
  min-width: 320px;
}

body {
  line-height: 1;
  font-family: "Arial";
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: "Arial";
  font-size: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
  background-color: inherit;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

body {
  color: #000;
}

body._lock {
  overflow: hidden;
}

.wrapper {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: url(/mobile/img/backd.gif);
}

._container {
  max-width: 905px;
  margin: 0 auto;
}

.icon-menu {
  display: none;
}

.page {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

body {
  font: 13px Verdana, Arial, Helvetica, sans-serif;
}

input,
button {
  border: 1px solid #000000;
  font: inherit;
  background-color: #e0c89b;
  margin: 5px;
  border-radius: 3px;
  font-size: 14px;
}

input[type="text"],
input[type="password"] {
  text-align: center;
  width: 120px;
  margin: 5px;
  padding: 5px;
  border-radius: 3px;
  font-size: 14px;
}

button {
  display: block;
  margin: 0 auto;
  font-weight: bold;
  padding: 5px 15px;
}

a {
  text-decoration: none;
  color: #81302f;
}

a:hover {
  text-decoration: underline;
}

.centered {
  margin-left: auto;
  margin-right: auto;
}

.hidden {
  display: none;
}

table.borderless {
  border-spacing: 0px;
  border-collapse: collapse;
}

ul {
  list-style: square;
  padding-left: 5px;
}

#page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

#header {
  height: 175px;
  margin: 0 0 0 -45px;
  position: relative;
}

#header img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

#footer {
  max-width: 797px;
  text-align: center;
  font-size: 11px;
  color: #666666;
  clear: both;
  padding: 5px 5px 15px 5px;
  white-space: unset;
}

/* Новости */

#main {
  margin: 0 0 0 45px;
  max-width: 540px;
}

#content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 100%;
}

.main-header {
  height: 30px;
  background: url(/mobile/img/tops.gif) no-repeat;
}

.main-footer {
  height: 12px;
  background: url(/mobile/img/down_br.gif) no-repeat;
}

#sidebar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-radius: 10px;
  width: 360px;
}

.block-middle {
  min-width: 100%;
}

.sideblock-header {
  height: 30px;
  background: url(/mobile/img/topw1.gif) no-repeat;
}

.sideblock-footer {
  height: 12px;
  background: url(/mobile/img/downw1.gif) no-repeat;
}

.block-left {
  width: 13px;
  background: url(/mobile/img/left.gif) repeat-y;
}

.block-right {
  width: 13px;
  background: url(/mobile/img/rights.gif) repeat-y;
}

.block-content {
  background: url(/mobile/img/back.gif);
}

.block-title {
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

.block-content P {
  text-align: left;
  line-height: 15px;
}

.block-content .error {
  text-align:center;
}
 
.block-content .enter-message{
    text-align: center;
}
/* Блок входа/регистрации */

#login-page TD{
	padding: 2px;
}

#login-submit{
	margin-top: 10px;
    margin-bottom: 10px;
}

#register-page TD{
	padding: 2px;
}

#register{
	margin-top: 10px;
    margin-bottom: 10px;
}

#login-block,
#enter-block {
  text-align: center;
}

.login-header {
  height: 39px;
}

.login-header div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  float: left;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 10px 0 0 33px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}

.login-header a {
  color: black;
  font-weight: bold;
  padding: 0 0 0 8px;
}

#login-header-login {
  background: url(/mobile/img/topw13.gif) no-repeat;
  display: none;
}

#login-header-register {
  background: url(/mobile/img/topw11.gif) no-repeat;
}

#login-header-footer {
  background: url(/mobile/img/topw12.gif) no-repeat;
  height: 17px;
}

.prompt {
  color: gray;
}

.error {
  color: red;
}

#enter-login {
  font-weight: bold;
  margin: 0 auto;
}

#slider {
  position: relative;
  left: 6px;
  top: -52px;
  height: 40px;
}

.width100 {
  width: 100%;
}

td,
th {
  padding: 0px;
  border: 0px;
}

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

.align_left {
  text-align: left;
}

.align_right {
  text-align: right;
}

.align_center {
  text-align: center;
}

H1 {
  font-size: 12px;
}

FORM {
  font-size: 14px;
}

p.block-title {
  text-align: center;
  padding: 10px 0;
}

/* Меню */

.menu__link {
  color: #270f0f;
}

.menu__link:hover {
  color: #8a530c;
}

.menu__list {
  height: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 17px 5px 0 120px;
  text-transform: uppercase;
  font-size: 12px;
  border-radius: 4px;
  padding: 0 20px 0 150px;
  margin: 0 0 0 -60px;
  background: url(/mobile/img/lastf.gif) no-repeat;
}

.menu__list li {
  font-weight: bold;
  padding: 20px 10px;
  font-size: 12px;
  border-bottom: solid #d18f14 2px;
}

@media (max-width: 767.98px) {
  ._container {
    max-width: none;
    padding: 0 10px;
  }

  .icon-menu {
    display: block;
    position: absolute;
    top: 18px;
    right: 10px;
    width: 30px;
    height: 18px;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span {
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    top: calc(50% - 1px);
    left: 0px;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #f8f2f2;
  }

  .icon-menu span:first-child {
    top: 0px;
  }

  .icon-menu span:last-child {
    top: auto;
    bottom: 0px;
  }

  .icon-menu._active span {
    -webkit-transform: scale(0);
        -ms-transform: scale(0);
            transform: scale(0);
  }

  .icon-menu._active span:first-child {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    top: calc(50% - 1px);
  }

  .icon-menu._active span:last-child {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    bottom: calc(50% - 1px);
  }

  #header {
    max-height: 100px;
    margin: 0 0 0 -20px;
  }

  #footer {
    max-width: 410px;
    text-align: unset;
  }

  #main {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 400px;
            flex: 0 1 400px;
    margin: 0 auto;
  }

  #content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    max-width: 320px;
    border-radius: 5px;
    padding: 10px 0;
    margin: 0 auto;
  }

  .main-header {
    display: none;
  }

  .main-footer {
    display: none;
  }

  #sidebar {
    max-width: 320px;
  }

  .menu__body {
    -webkit-transform: translate(0px, -100%);
        -ms-transform: translate(0px, -100%);
            transform: translate(0px, -100%);
    -webkit-transition: all 0.8s ease 0s;
    -o-transition: all 0.8s ease 0s;
    transition: all 0.8s ease 0s;
    position: fixed;
    width: 100%;
    height: 350px;
    top: 0;
    left: 0;
    overflow: auto;
    margin: 10px;
    margin: 0 auto;
    background: url(/mobile/img/back.gif);
    border-radius: 4px;
    opacity: 0.9;
  }

  .menu__body._active {
    -webkit-transform: translate(0px, 0%);
        -ms-transform: translate(0px, 0%);
            transform: translate(0px, 0%);
  }

  .menu__link {
    color: #3a2203;
    display: block;
    font-size: 16px;
  }

  .menu__list {
    background: none;
    display: block;
    opacity: 0.7;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .page {
    position: relative;
    left: 25%;
  }
}