html {
    overflow-x: hidden;
}

body {
    background: #AF2128;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    line-height: 160%;
    cursor: default;
}

a {
    text-decoration: none;
    border-bottom: 1px solid #0094FF;
    color: #0094FF;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

#page {
    background: #FFFFFF;
    padding: 0 2%;
    position: relative;
    max-width: 740px;
    margin: 30px auto;
    z-index: 2;
    width: 56%;
}

#page-background {
    max-width: 810px;
    position: relative;
    margin: 100px auto;
    padding: 0 2%;
    width: 62%;
}

#page nav {
    padding: 15px 0 10px 0;
}

#page nav ul {
    text-align: justify;
    line-height: 1px;
    font-size: 1px;
}

#page nav ul:after {
    width: 100%;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    content: '';
    display: inline-block;
}

#page nav li {
    font-weight: bold;
    font-size: 16px;
    line-height: 150%;
    display: inline-block;
    margin: 5px 0;
}

#page nav a {
    border: none;
    color: #6A151A;
}

#page nav .active a {
    border-bottom: 2px solid #6A151A;
}

img {
    max-width: 100%;
    vertical-align: top;
}

.frame {
    position: absolute;
    background: top left no-repeat;
}

.frame.top {
    top: -5px;
    left: 0px;
    right: 0px;
    height: 10px;
    background-image: url('../img/frame/frame-top.png');
    background-repeat: repeat-x;
}

.frame.bottom {
    bottom: -5px;
    left: 0px;
    right: 0px;
    height: 10px;
    background-image: url('../img/frame/frame-bottom.png');
    background-repeat: repeat-x;
}

.frame.top-left {
    top: -30px;
    left: -30px;
    width: 55px;
    height: 55px;
    background-image: url('../img/frame/frame-top-left.png');
    z-index: 5;
}

.frame.bottom-left {
    bottom: -30px;
    left: -30px;
    width: 55px;
    height: 55px;
    background-image: url('../img/frame/frame-bottom-left.png');
    z-index: 5;
}

.frame.top-right {
    top: -30px;
    right: -30px;
    width: 55px;
    height: 55px;
    background-image: url('../img/frame/frame-top-right.png');
    z-index: 5;
}

.frame.bottom-right {
    bottom: -30px;
    right: -30px;
    width: 55px;
    height: 55px;
    background-image: url('../img/frame/frame-bottom-right.png');
    z-index: 5;
}

.frame.left {
    left: -5px;
    top: 0px;
    bottom: 0px;
    width: 10px;
    background-image: url('../img/frame/frame-left.png');
    background-repeat: repeat-y;
}

.frame.right {
    right: -5px;
    top: 0px;
    bottom: 0px;
    width: 10px;
    background-image: url('../img/frame/frame-right.png');
    background-repeat: repeat-y;
}

footer {
    font-size: 11px;
    color: #777777;
    line-height: 150%;
    text-align: center;
    padding: 20px;
}

strong, b {
    font-weight: bold;
}

em, i {
    font-style: italic;
}


.flip-h {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.flip-v {
    -moz-transform: scaleY-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipV;
    -ms-filter: "FlipV";
}

.rotate-90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}

.rotate-180 {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}

aside.unit {
    margin-top: 250px;
    color: #FFCDB1;
}

.fixed-background {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}

.fixed-bar {
    position: fixed;
    z-index: 1000;
    background: url('../img/sakura.png') repeat-x center top;
    height: 50px;
    width: 100%;
    top: 0;
    left: 0;
}

#page article {
    min-height: 650px;
}

.input-data img {
    margin-bottom: 0.3em;
    cursor: default !important;
}

.input-data p {
    margin-bottom: 0.3em;
}

.input-data h1 {
    font-weight: bold;
    font-size: 24px;
    line-height: 150%;
}

.input-data h2 {
    font-weight: bold;
    font-size: 18px;
    line-height: 150%;
    margin-top: 18px;
}

.input-data li {
    margin-bottom: 0.3em;
    margin-left: 0.3em
}

.input-data ul li:before {
    content: ' — ';
}

.input-data ol {
    list-style-type: decimal;
    list-style-position: inside;
}

label {
    display: block;
}

input[type="text"] {
    width: 100%;
}

textarea {
    width: 100%;
}

.errorlist {
    color: #DD0000;
}

.errorlist li:before {
    content: '↓ ' !important;
}

textarea,
input[type='text'],
input[type='email'] {
    border: 1px solid #ECD47C;
    width: 100%;
    padding: 7px;
}

img.captcha + input + input {
    width: 100px;
    text-align: center;
}

input[type='submit'] {
    background-color: #BE342C;
    border: 1px solid #BE342C;
    border-top: 4px solid #722227;
    display: inline-block;
    color: #ECD47C;
    cursor: pointer;
    vertical-align: top;
    margin: 0;
    margin-top: 7px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.25);
    text-shadow: 1px -1px 2px #000000;
    padding: 7px 35px;
    font-size: 16px;
}

input[type='submit']:active {
    position: relative;
    margin-bottom: 3px;
    border-top: 1px solid #722227;
}

.helptext {
    display: block;
    font-size: 11px;
    color: #777777;
    font-style: italic;
    line-height: 100%;
}

.fieldset,
form {
    margin: 0 auto;
    position: relative;
    max-width: 400px;
}

.loading {
    position: relative;
    min-height: 40px;
}

.loading:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 100;
    background-color: #fff;
    background-image: url('../img/ajax-loader.gif');
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.5;
}

#logo-aside {
    position: absolute;
    width: 50%;
    left: -50%;
    /*background: url('../img/pagoda.png') no-repeat right bottom;
    /* background: blue; */
    text-align: right;
    min-height: 700px;
    padding: 20px;
}

#contacts-aside {
    position: absolute;
    width: 25%;
    right: -25%;
    /*background: url('../img/bamboo.png') no-repeat -50px bottom;
    /* background: blue; */
    min-height: 900px;
    padding: 20px;
}

.input-data blockquote {
    font-style: italic;
    background: #FAFAFA;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 150%;
}

#contacts-aside .aside-content {
    font-size: 15px;
}

.aside-content {
    max-width: 250px;
    color: #e6cf73;
    line-height: 150%;
    padding: 7px;
    margin: -7px;
    text-shadow: 1px -1px 1px #000000;
    background: rgba(175, 33, 40, 0.8);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#bbAF2128', endColorstr='#bbAF2128');
}

.aside-content a {
    color: #e6cf73;
    border-color: #e6cf73;
}

.aside-content h2 {
    font-size: 150%;
}

.aside-content h3 {
    font-size: 120%;
}

table {
    width: 100%;
}

#logo-aside .aside-content {
    float: right;
}

#contacts-aside .aside-content {
    float: left;
}

@media screen and (min-height: 900px) {
    #logo-aside {
        min-height: 850px;
    }
    #contacts-aside {
        min-height: 850px;
    }
}

hr {
    border: none;
    outline: none;
    margin: 7px;
}

#slider {
    position: relative;
}

#slider .slide {
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center center;
    border: 1px solid #D2AB67;
}

#slider .slide img {
    margin: 0;
    max-width: 100%;
}

#slider .nav {
    position: absolute;
    z-index: 1000;
    bottom: 16px;
    left: 16px;
}

#slider .nav span {
    display: inline-block;
    border: 1px solid #D2AB67;
    height: 16px;
    width: 16px;
    cursor: pointer;
    margin-right: 8px;
    background: url('../img/transparent.png');
}

#slider .nav span.active {
    background: #D2AB67;
}

.fixed-bottom {
    position: fixed;
    bottom: 0;
    width: 100%;
}

#page-bottom {
    max-width: 810px;
    position: relative;
    margin: 0 auto;
    padding: 0 2%;
    background: green;
    width: 64%;
}

.aside-bg {
    position: absolute;
    bottom: 0;
}

.left-bg {
    left: -350px;
}

.right-bg {
    right: -350px;
}

#feedback-list dd {
    margin-bottom: 15px;
}