/* =========================
 * CSS Reset
 * =========================
 */
html, body, div, span, h1, h2, p, a, acronym, strong, ul, li, table, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

ul {
    list-style: none
}

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

/* =========================
 * Layout
 * =========================
 */
html, body {
    background: #fff;
    font: normal 1em / 1.5 sans-serif;
    height: 100%;
    max-width: 1100px;
    margin: auto;
}
html {
    text-align: center;
}
body {
    display: table;
    font-family: tahoma, verdana, sans-serif;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5em;
    text-align: left;
    width: 100%;
    margin: auto;
}

.l-header {
    display: table-header-group;
}

.l-content {
    display: table-row;
    vertical-align: top;
}

.l-footer {
    display: table-footer-group;
    vertical-align: bottom;
}

.l-cell {
    display: table-cell;
    min-width: 500px;
}

.l-header .l-cell, .l-footer .l-cell {
    height: 1px;
}

/* Global styles */
.g-nobr {
    white-space: nowrap;
}

/* =========================
 * Header
 * =========================
 */
/* Website title */
.b-header-title {
    height: 100px;
    margin: 0 auto;
    text-align: center;
    width: 341px;
}

.b-header-title strong {
    background: #f6e4c4 url("/i/backgrounds/b-header-title.png") no-repeat center center;
    color: #4c453a;
    display: block;
    height: 72px;
    font-size: 30px;
    font-weight: normal;
    line-height: 55px;
}

.b-header-title span {
    color: #918470;
    display: block;
    font-size: 22px;
    font-weight: normal;
    line-height: 20px;
}

.b-header-title a {
    text-decoration: none;
}

/* Error page has different colour in the header */
.b-header-title.error strong {
    color: #4c3a3a;
}

.b-header-title.error span {
    color: #914b4b;
}

/* Language selection */
.b-header-lang {
    display: inline;
    float: right;
    font-size: 12px;
    height: 20px;
    line-height: 16px;
    margin: 20px 30px 0 0;
    position: relative;
    text-align: right;
}

.b-header-lang a{
    text-decoration: none;
    padding-left:22px;
    background: no-repeat 0 3px;
}
.b-header-lang.ru a{
    background-image: url("/i/flags/ru_16.gif");
}
.b-header-lang.en a{
    background-image: url("/i/flags/en_16.gif");
}
.b-header-lang a .text{
    text-decoration: underline;
}
/* =========================
 * Content
 * =========================
 */
.b-content {
    padding: 40px 40px 0px;
}

.b-content p, .b-content h2 {
    margin-bottom: 1em;
    max-width: 60em;
}

.b-content p.hidden {
    color: #fff;
}

.b-face {
	margin-right: -10px;
    float: right;
    padding: 0 0 1.5em 2em;
}

.b-face img {
	border: 1px solid #ccc;
}

/* =========================
 * Things newer be here
 * =========================
 */
.b-things_never_be_here {
    font-size: 12px;
    margin: 0 11px;
    padding: 0 20%;
}

.b-things_never_be_here h2 {
    text-align: center;
}

/* List of things */
.b-things_never_be_here dl {
    display: block;
    height: 1.3em;
    margin: 10px 0;
    overflow: visible;
}

.b-things_never_be_here dt {
    display: block;
    float: left;
    text-align: center;
    width: 25%;
}

.b-things_never_be_here dt span {
    border-bottom: 1px dashed;
    cursor: pointer;
    margin: 0 5px;
}

.b-things_never_be_here dt.selected span {
    border-bottom: none;
    cursor: default;
}

/* Descriptions of things */
.b-things_never_be_here dd {
    display: none;
}

.b-things_never_be_here .b-description {
    background: #fdf9e0;
    border: 1px solid #c9c2ac;
    color: #333;
    display: block;
    margin-bottom: 10px;
    padding: 7px 12px;
}

.b-things_never_be_here .b-description .b-close {
    cursor: pointer;
    display: inline;
    float: right;
    font-weight: bold;
    margin: -6px -5px 5px 5px;
}

/* =========================
 * Footer
 * =========================
 */
.b-footer {
    background: #c8d3e5 url("/i/backgrounds/_sprt_b-footer.png") repeat-x 0px -300px;
    font-size: 12px;
    margin: 0 20px;
    padding: 20px 20px 15px;
    position: relative;
    overflow: hidden;
}

.b-footer .text-left {
    width: 20%;
    padding-right: 10px;
}

.b-footer .text-right {
}

.b-footer .frame-left, .b-footer .frame-right {
    display: block;
    height: 150px;
    left: 0px;
    position: absolute;
    top: 2px;
    width: 9px;
}

.b-footer .frame-left {
    background: url("/i/backgrounds/_sprt_b-footer.png") no-repeat 0 0;
    left: 0px;
}

.b-footer .frame-right {
    background: url("/i/backgrounds/_sprt_b-footer.png") no-repeat 0 -150px;
    left: auto;
    right: 0px;
}

