body {
    background-color: #f5f5f5;
    background-image: url(/img/bg_ice.gif);
    color: #222;
    font: 12px Verdana, Arial, sans-serif;
    line-height: 1.4em;
}

td {
    vertical-align: top;
    text-align: left;
}

a {
    color: #DF8C00;
    text-decoration: none;
}

a:hover {
    color: #DF8C00;
    text-decoration: underline;
}

/*элементы форм*/
fieldset {
    background: #fff;
    /*corner*/
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

input[type="text"], input[type="password"], input[type="file"], textarea, select {
    border-color: #c6c6c6 #dadada #eaeaea;
    background: #fff;
    font-family: inherit;
    /*corner*/
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 3px;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

select {
    border-color: #c6c6c6 #dadada #eaeaea;
    background: #fff;
    padding: 3px;
}

input[type="text"]:hover, input[type="password"]:hover, input[type="file"]:hover, textarea:hover, select:hover {
    color: #666;
    background: #fffdf7 none;
    border-color: #c6c6c6;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="file"]:focus, textarea:focus, select:focus {
    color: #333;
    background: #fffdf7 none;
    border-color: #DDA41D;
    outline: 0;
}

input[type="submit"], input[type="button"], input[type="reset"], .button {
    font-weight: bold;
    color: #fff;
    background: #72747a;
    /* gradient */
    background: -moz-linear-gradient(top, #7B93C6 40%, #5475B9);
    background: -webkit-linear-gradient(top, #7B93C6 40%, #5475B9);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7B93C6', endColorstr='#5475B9');
    /* corner */
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 6px 8px;
    margin: 4px 0;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    border: 1px solid #D4D4D4;
}

input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover, .button:hover {
    background: #DDA41D;
    /* gradient */
    background: -moz-linear-gradient(top, #DDA41D 40%, #C28C0A);
    background: -webkit-linear-gradient(top, #DDA41D 40%, #C28C0A);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#DDA41D', endColorstr='#C28C0A');
}

#nav .fa {
    font-size: 1.1em;
}

#nav.affix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index:10;
}

.yandexform {
    font-family: Verdana, Arial, sans-serif
}

.catch {
    background: #ece9d8;
    border: 1px solid #ccc;
    padding: 4px;
    font-family: Tahoma,Verdana, Arial,sans-serif;
}

/*заголовок новостей на титульной*/
h1 {
    color: #444;
    margin-bottom: 20px;
    font-size: 1.6em;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    font-weight: bold;
}

h1 a {
    color: #444
}

h1 a:hover {
    color: #444
}

h2 {
    background-image: url(img/bg.gif);
    border-bottom: 1px dashed #ddd;
    font-weight: bold;
    font-size: 1.4em;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    padding: 6px 12px;
    margin: 0px;
}

/*загловки страниц и топиков*/
h3 {
    margin: 0px;
    color: #444;
    font-weight: bold;
    font-size: 1.3em;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    padding: 4px 0 6px 0;
}

/*заголовки: комменты, хелп, секции*/
h4 {
    margin: 0px;
    font-weight: bold;
    font-size: 1.1em;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    background: #f5f5f5;
    border-bottom: 1px dashed #ddd;
    padding: 6px 12px;
}

/*подзаголовки: страницы*/
code {
    font-size: 0.9em;
    font-family: Consolas, Courier, sans-serif;
}

form {
    display: inline;
}

hr {
    border: none 0;
    border-top: 1px dashed #CCC;
    height: 1px;
    margin: 0;
}

img {
    border-color: #eee;
}

p {
    margin: 12px 0px 12px 0px
}

/*формат шрифтов*/
.txt_sub {
    font-size: 0.9em;
    font-family: Tahoma, Arial, sans-serif;
    color: #888;
}

/*подписи на форуме, подписи в recentitems*/
.txt_sub a {
    color: #888 !important
}

small,
.txt_small {
    font-size: 0.9em;
    font-family: Tahoma, Arial, sans-serif;
}

em {
    font-style: italic;
    font-family: Georgia, Verdana, Arial, sans-serif;
}

strong {
    font-weight: bold;
}

.centerall {
    text-align: center;
    vertical-align: middle;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.left6px {
    margin-left: 6px;
}

.main {
    padding: 12px
}

.main ul {
    margin: 12px;
}

/* .main div {
    padding: 6px 0 6px 0;
} */

.main_m {
    margin: auto;
    padding: 16px 8px;
}

.main_m a {
    color: #fff
}

.main_r {
    padding: 16px 8px;
    font-family: Tahoma,Verdana, Arial,sans-serif;
}

.main_r p {
    margin-top: 4px;
    margin-bottom: 4px
}

.main_r a {
    color: #324672
}

.main_r p img {
    margin-right: 2px
}

.tooltip-target {
    display: block;
    color: #fff;
}

.tooltip-content {
    display: none
}

.tooltip {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: none;
    width: 140px;
    padding: 6px;
    line-height: 1.2em;
    border: 1px solid #7b93c6;
    background-color: #ece9d8;
    color: #222;
}

.txt_smaller {
    font-size: 0.8em;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    line-height: 1em;
}

.bar_back {
    background-color: #d8dfee;
    border: 1px solid #222;
    color: #222;
    font-size: 0.8px;
    margin-top: 2px;
}

.bar_front {
    background-color: #5a6a8f;
    color: #fff;
    padding: 2px 2px 2px 4px;
}

/*.inline{ background-color: #ECEEFF; border: 1px solid #ddd; padding: 4px; margin: 4px; }*/
/*.quote{ font-size:11px; font-family:Tahoma,Arial,sans-serif; background-color:#fff; border:1px solid #ccc; margin:0px 0px 0px 12px; padding:4px; line-height:1.2em; }*/
blockquote {
    text-indent: 25px;
    background: url(img/quotes1.png) no-repeat 4px 4px;
    border: 1px solid #ccc;
    background-color: #fff;
    margin: 12px 40px;
    font-size: 1em;
    overflow: hidden;
}

blockquote p {
    display: inline;
    margin: 0;
    padding-right: 24px;
    background: url(img/quotes2.png) no-repeat bottom right;
}

.block {
    border-left: 6px solid #ece9d8;
    margin: 6px 6px 6px 18px;
    padding: 12px;
}

.list {
    border-bottom: 1px dashed #e0e0e0;
    margin: 20px 20px 40px 20px;
    padding-bottom: 20px;
}

.main_body {
    border-left: 6px solid #e0e0e0;
    padding: 6px 6px 6px 18px;
}

.main_body ul {
  list-style-type: disc;
  list-style-position: inside;
  margin: 0px;
}

.main_body ul ul {
  list-style-type: circle;
  list-style-position: inside;
  margin-left: 0 0 0 15px;
}

.main_body ol {
  list-style-position: inside;
  margin: 0px;
}

#comments_list {
    padding: 0px 20px 20px 20px
}

#comments {
    margin: 0px 20px 20px 20px
}

#comments input {
    font-family: Verdana, Arial, sans-serif
}

.img_preview {
  cursor: pointer;
}

.img_p {
    max-width: 600px;
    max-height: 600px;
    padding: 4px;
    font-size: 0.9em;
    font-family: Tahoma, Arial, sans-serif;
}

.img_p[align=right] {
    margin: 0px 0px 4px 10px
}

.img_p[align=left] {
    margin: 0px 10px 4px 0px
}

.colleft {
    float: left;
    position: relative;
    margin: 0px 10px 4px 0px;
    display: block;
}

.colright {
    float: right;
    position: relative;
    margin: 0px 0px 4px 10px;
    display: block;
}

.err {
    color: #EA5200
}

.error {
    background: url("/img/unchecked.gif") no-repeat 0px 0px;
    color: #EA5200;
    font-weight: bold;
    padding: 0 0 0 18px !important;
    margin: 20px;
}

.checked {
    background: url("/img/checked.gif") no-repeat 0px 0px;
    color: #0060BF;
    font-weight: bold;
    padding-left: 18px;
}

.hat {
    background-color: #dda41d;
    border-bottom: 2px solid #eee;
    border-top: 2px solid #eee;
    padding: 4px 3px 4px 6px;
    font-family: "Trebuchet MS",Verdana,Arial,sans-serif;
    font-size: 1em;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
}

.hat_rig {
    font-weight: bold;
    background-color: #7b93c6;
    border-bottom: 2px solid #ccc;
    border-top: 2px solid #ccc;
    padding: 4px 3px 4px 6px;
    color: #fff;
    font-family: "Trebuchet MS",Verdana,Arial,sans-serif;
    font-size: 1em;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.com_auth {
    color: #888;
    background: #f5f5f5;
    border-top: 2px solid #ECECEC;
    padding: 6px;
}

.com_text {
    margin: 10px 10px 20px 10px
}

.com_avatar {
    width: 38px;
    height: 38px;
    float: left;
    margin-right: 10px;
    padding: 2px;
    text-align: center;
}

.com_info {
    float: left;
    color: #888;
}

.com_info a.date {
    color: #888;
    text-decoration: none;
}

.com_info img {
    vertical-align: middle
}

.com_votes {
  width: 120px;
  float: right;
  padding-right: 10px;
}

.com_votes .btn-votes { float: right; display:flex; align-items:center; justify-content:center; }
.com_votes .btn-votes input[type="button"] { width:32px; height:32px; border:0; margin: 0; padding: 0; cursor:pointer; }
.com_votes .btn-votes input[type="button"]:hover { filter: none; }
.com_votes .btn-votes .up { background:url('/skins/gnezdo/img/system/up.png') }
.com_votes .btn-votes .up:disabled { background:url('/skins/gnezdo/img/system/up_off.png') }
.com_votes .btn-votes .down { background:url('/skins/gnezdo/img/system/down.png') }
.com_votes .btn-votes .down:disabled { background:url('/skins/gnezdo/img/system/down_off.png') }
.com_votes .btn-votes .label-votes { font-size:1.4em; width:46px; text-align:center; font-weight:bold; }

/*.nav { background-color:#f5f5f5; border:1px solid #e0e0e0; float:right; margin:18px; padding:6px; }
.nav a{ color: #888; text-decoration: none; }*/
.smilies a img {
    background-color: transparent;
    border: 0px;
}

.notice {
    font-size: 1.2em;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    background: #ece9d8;
    border: 1px solid #ccc;
    padding: 2px;
    margin: 8px 18px;
    background-image: url(/img/notice_bg.gif);
}

.notice a {
    color: #DF8C00;
    text-decoration: none;
}

.xsnotice {
    text-align: center;
    padding: 4px;
    margin: 8px 18px;
    background-color: #FFE8C1;
    border: 1px solid #FFCBCF;
    color: #CC1212;
}

.xsnotice a {
    color: #4C6CB0
}

#comments_bump {
    margin-bottom: 20px;
    text-align: center;
}

/*.pajsnav {
    float: right;
    padding: 20px;
}*/
.pagenav {
    text-align: right;
    padding: 20px;
}

.pagenav a,
span.pages {
    padding: 2px;
    background: #f5f5f5;
    margin: 1px;
    border: 1px solid #d5d5d5;
}

span.current {
    padding: 2px;
    font-weight: bold;
    color: #fff;
    background: #888;
    margin: 1px;
    border: 1px solid #222;
}

.gameborder {
    background: #F89799 none repeat scroll 0 0;
    border: 1px solid #6E0F01;
    display: inline;
    float: right;
    padding: 1px;
    margin: 0;
    margin-right: 1em;
}

.game {
    background: #B31706 url(/img/cal_bg.jpg) repeat-x scroll 0 0;
    color: #fff;
    padding: 1px;
    text-align: center;
    width: 3.2em;
}

.game span {
    display: block
}

.game1 {
    font-weight: bold;
    font-size: 1.1em;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    line-height: 0.9em;
}

.game2 {
    font-weight: bold;
    font-size: 2em;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    line-height: 0.7em;
}

.game3 {
    font-size: 0.8em;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.5em;
}

.clear {
    clear: both;
    height: 0;
    overflow: hidden;
}

table.main,
table.cells,
table.cells_small,
table.post_header,
table.plain {
    width: 100%
}

table.main td {
    padding: 3px
}

table.list {
    text-align: justify;
    width: 100%;
}

table.calendar {
    border-collapse: separate;
    border-spacing: 1px;
    cursor: help;
    background: #7b93c6;
}

table.calendar td {
    color: #222;
    vertical-align: middle;
    text-align: center;
}

.twitters {
    border: 1px solid #e5e5e5;
    background-color: #fff;
    padding: 5px;
    margin-bottom: 16px;
    overflow: auto;
}

.twitters ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.twitters p {
    list-style: none;
    margin: 0;
    padding: 0;
}

.twitters .status {
    color: #222
}

.links ul, .greybox ul {
    list-style: none;
    background-color: #f5f5f5;
    background-image: url(/img/bg_ice.gif);
    border: 1px solid #ccc;
    margin: 0 0 12px 0;
}

.links li, .greybox li {
    display: inline-block;
    padding: 12px;
}

.links ul a.selected {
    color: #222
}

.links div, .greybox div {
    clear: left
}

.tabs ul {
    list-style: none;
    text-align: center;
    margin-bottom: 4px;
    padding-bottom: 1px;
}

.tabs li {
    list-style: none;
    display: inline;
    margin-right: -3px;
}

.tabs ul a {
    color: #222;
    padding: 3px;
    background: #e0e0e0;
}

.tabs ul a.selected {
    font-weight: bold;
    background: #f5f5f5;
    border-bottom: 2px solid #dda41d;
}

.tabs div {
    clear: left
}

.list_date {
    float: left;
    color: #888;
    background: #c0c0c0;
    color: #fff;
    font: bold 1.4em "Trebuchet MS", Verdana, Arial, sans-serif;
    padding: 3px;
    margin: 3px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    behavior: url(/skins/gnezdo/border-radius.htc);
}

/*table.cells td{ background-color:#f5f5f5; border-top:1px solid #fff; border-left:1px solid #fff; border-bottom:1px solid #e0e0e0; border-right:1px solid #e0e0e0; padding:3px; }*/

table.cells td {
    background-color: #f5f5f5;
    border: 1px solid #fff;
    padding: 3px;
}

table.cells .box {
    background-color: transparent;
    border: 4px solid #ece9d8;
    padding: 4px;
}

table.cells .today {
    background-color: #e0eaf2
}

table.cells td.coltop {
    background-color: #ece9d8;
    text-align: center;
}

table.cells td.odd {
    background-color: #eee
}

table.cells_small td {
    font-size: 0.9em;
    font-family: Tahoma, Arial, sans-serif;
    background-color: #f5f5f5;
    border: 1px solid #fff;
    padding: 2px;
}

table.cells_small td.coltop {
    background-color: #ece9d8;
    text-align: center;
}

table.post_header td {
    background-color: #e0eaf2;
    border: 1px solid #e0e0e0;
    padding: 3px;
    font-size: 0.9em;
    font-family: Tahoma, Arial, sans-serif;
}

table.plain td {
    padding: 2px;
    border: 0;
}

table.normal td {
    padding: 4px;
    border: 0;
}

table.small td {
    padding: 2px;
}

table.smaller td {
    font-size: 0.8em;
    padding: 1px;
}

table.stand {
    border-collapse: separate;
    border-spacing: 1px;
}

table.stand td {
    background-color: #f8f8f8;
    color: #222;
    padding: 2px;
    vertical-align: middle;
    text-align: center;
}

table.stand_small td {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    color: #222;
    padding: 1px;
    margin: 0px;
}

table.stand_small a {
    color: #222
}

table.stats td {
    border-right-style: dotted;
    border-bottom-style: dotted;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-color: #d0d0d0;
    border-bottom-color: #d0d0d0;
}

.gtop {
    vertical-align: middle;
    height: 98px;
    padding: 4px;
    background-image: url(/img/patternsky_n.png);
    text-align: center;
}

.btop {
    vertical-align: middle;
    background-color: #7b93c6;
    color: #fff;
    font-size: 1em;
    font-family: Tahoma, Arial, sans-serif;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;
    text-align: right;
    font-weight: bold;
}

.btop .list-inline li {
    padding-bottom: 5px; padding-top: 5px
}

.navbar-toggle {
    padding: 2px;
    margin: 0;
}

.icon-bar {
    color: #fff;
}
.bbottom {
    background-color: #7b93c6;
    padding: 4px;
    color: #fff;
    font-weight: bold;
    font-family: Tahoma, Arial, sans-serif;
    border-bottom: 1px solid #ccc;
    border-top: 2px solid #ccc;
}

.ytop {
    background-color: #dda41d;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
    font-family: Tahoma, Arial, sans-serif;
    text-align: right;
}

.ytop .list-inline li {
    padding-bottom: 5px; padding-top: 5px
}

.ytop a,
.btop a,
.bbottom a {
    color: #fff;
    text-decoration: none;
}

.ant {
    /*    float: right;
        display: inline;
        width: 20%;
        margin-left: 3%;
        overflow: hidden;*/
    color: #bbbbbb;
    float: right;
    height: 1em;
}

.ant_page {
    margin: -36px 20px 0 0;
}

.ant_comments {
    margin: -20px 0 0 0;
}

.ant_news {
    margin: -36px 20px 0 0;
}

.ant_common {
    margin: 20px 12px 20px 0;
}
.ant a {
    color: #888;
}

.ad_placeholder_img {
    width: 120px;
    height: 90px;
    float: right;
    display: inline;
}

.ad_placeholder_txt {
    width: 240px;
    height: 90px;
    background-color: #f5f5f5;
    border: 1px solid #d0d0d0;
    overflow: hidden;
}

.ad_placeholder_txt a {
    color: #324672
}

.slider_container {
    margin-top: 7px;
    float: right;
    display: inline;
}

.logo {
    float: left;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 28%;
    max-width: 359px;
    z-index: 2;
}

pre {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

ul.overview {
    list-style: square;
    margin: 12px;
}

ul.overview ul {
    padding-left: 12px;
}

.gallery ul {
    line-height: 1em;
}

.gallery li {
    display: inline;
    list-style: none;
    min-height: 250px;
    float: left;
    margin: 0 10px 10px 0;
    padding: 0;
}

.cards_container {
    -webkit-column-count: 4;
    -webkit-column-gap: 10px;
    -webkit-column-rule: 0px dotted black;
    -moz-column-count: 4;
    -moz-column-gap: 10px;
    -moz-column-rule: 0px dotted black;
    column-count: 4;
    column-gap: 10px;
    column-rule: 0px dotted black;
}
#caps{
    font-family: "Trebuchet MS",Verdana,Arial,sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}
.mid_image {
    display: inline-block;
    position: relative;
    width: 100%;
    padding-bottom: 8px;
}
.mid_image_dummy {
    margin-top: 73%;
}
.mid_image img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.row_tab {
    display: table;
}
.row_tab .tall {
    background: transparent;
    float: none;
    display: table-cell;
    vertical-align: top;
}

.footer {
    clear: both;
    float: left;
    width: 100%;
    background-color: #fff;
}

.right {
    float: right;
}

.blq{
    display: inline-block;
    font-style:italic;
    color: #555555;
    padding: 1.2em 30px 1.2em 30px;
    border-left: 6px solid #78C0A8;
    background: #EDEDED;
}

.bios_list {
  margin: 12px 0 12px 0;
}

.bios_cell {
  border-bottom: 1px dashed #ddd;
  padding: 6px !important;
}

.bios_value {
  font-weight: bold;
}

.hidden {
  visibility: hidden;
}