*{
	margin: 0;
	padding: 0;
}

body {
  border: 0;
  background-color: #feefa4;
  background-image: url("img/fon_forum.gif");
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 125%;
}

#body-gray {
  background-color: #eeeeee;
  background-image: url("img/white_carbon.png");
}

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

a {
  color: #00C;
}

a:hover {
  color: #D00;
}

#footer {
  width: 100%;
  border-top: 1px solid #999999;
  margin-top: 15px;
  margin-bottom: 5px;
  text-align: left;
  vertical-align: top;
}

#footer td.footer-nav {
  padding: 5px;
  padding-left: 10px;
  text-align: left;
  vertical-align: top;
  font-size: 85%;
}

#footer td.counters {
  text-align: right;
  vertical-align: bottom;
}

.yandex-metrika {
  float: right;
}

.btn,
.sendbutton {
  padding: 2px 8px 3px;
  line-height: 1.5;
  border: 1px solid #bbb;
  border-radius: 3px;
  /* background: #f7f7f6; */
  color: #030303;
  transition-duration: .2s;
  text-decoration: none;
  font-size: .9em;
  /*    box-shadow: 0 1px 3px #bbb; */
}

.btn:hover,
.btn:focus,
.sendbutton:hover,
.sendbutton:focus {
  /*	border-color: #eee #888 #888 #eee; */
  /* background: #ddd; */
  color: #000000;
  cursor: pointer;
}

.center {
  text-align: center;
}

.ta-left {
  text-align: left !important;
}

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

.ta-right {
  text-align: right !important;
}

.va-top {
  vertical-align: top !important;
}

.va-middle {
  vertical-align: middle !important;
}

.va-bottom {
  vertical-align: bottom !important;
}

.outlink {
  text-decoration: none;
  color: #0000BB;
}

.inlink {
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.message-status {
  color: #666;
  font-size: 80%;
  font-weight: normal;
}

/* ---------------------------------------
   баннеры
*/
#top-banners {
  height: 0px;
  width: 100%;
  border-spacing:1px;
  align-self: center;
}

#top-banners #top-banner-left {
  text-align:center;
  width:33%;
}

#top-banners #top-banner-center {
  text-align:center;
}

#top-banners #top-banner-right {
  text-align:center;
  width:33%;
}

.global-warning {
  padding: 5px;
  margin-left: 5px;
  margin-bottom: 5px;
}

/* ---------------------------------------
   страница Поиск
*/
#yandex_search_form {
  padding: 10px;
}

#yandex_search_form #button-submit {
  padding-left: 3px;
  padding-right: 3px;
}

#yandex_search_form input {
  margin-top: 5px;
  margin-bottom: 5px;
}

#bottom-banners {
  margin-left: 20px;
  margin-top: 15px;
  padding: 5px;
}

div.message-banner {
  float:right;
}

div.advice {
  margin-left: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* ---------------------------------------
   советы и рекламные строчки
*/

.topic .advice,
.topic .advert {
  width: fit-content;
  max-width: 600px;
  text-align: center;
  margin-top: 8px;
  margin-left: 0px;
  margin-bottom: 8px;
}

.index .advice,
.index .advert {
  width: fit-content;
  max-width: 600px;
  text-align: center;
  margin-top: 8px;
  margin-left: 0px;
  margin-bottom: 8px;
}

.advice {
  font-size: 85%;
  color: black;
  padding: 3px 5px 3px 5px;
  border-radius: 0 10px 10px 0;
  border-top: 1px solid #dc4;
  border-bottom: 1px solid #8f8116;
  border-right: 1px solid #8f8116;
  background-color: #fffac9;
  border-radius: 0 10px 10px 0;
}

.advert {
  font-size: 90%;
  color: black;
  padding: 3px 10px 3px 7px;
  border-top: 1px solid #dc4;
  border-bottom: 1px solid #8f8116;
  border-right: 1px solid #8f8116;
  background-color: #fffac9;
  border-radius: 0 10px 10px 0;
  box-shadow: 1px  1px 1px 1px #dbddb7;  /* ↘ */
}

.contur {
  text-shadow: 1px 1px 3px black;
}

.ban {
  background-color: #FEAAAA;
  /* font-weight: normal; */
}

.warning {
  background-color: #FEFEAA;
  /* font-weight: normal; */
}

.twinks-list {
  background-color: white;
  margin: 5px;
  padding: 10px;
}