/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body.lift {
  line-height: normal;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
th {
  font-weight: bold;
}
th, td {
  vertical-align: middle;
}
strong, b {
  font-weight: bold;
}
/* end reset */

/* forms */
div.controls {
    font-size: 13px;
}

form label.required:after {
    content: '*';
}

form select.datepicker {
    width: auto;
}
/*button, input, label, select, textarea {
  font-size: 92%;
}

button {
  border: 1px solid #84A59D;
  background: #B8CFC9;
  text-align: center;
}

input[type=text], input[type=password], textarea, select {
  border: 1px solid #84A59D;
  padding: 0.1em 0.3em;
}

label {
}

.banner {
  text-align: center;
  margin: 0.5em 0;
}

.flash-notice {
  font-size: 108%;
  font-weight: bold;
  text-align: center;
  color: #2E4741;
}

.flash-error {
  font-size: 108%;
  font-weight: bold;
  text-align: center;
  color: red;
}
*/

body {
  background: black url(../images/bg-lift-middle.jpg) center repeat-y;
  position: relative;
}

body > div.page-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: transparent center top no-repeat;
}

body > div.top {
  background-image: url(../images/bg-lift-top-p.jpg?1);
}

body > div.bottom {
  background-image: url(../images/bg-lift-bottom.jpg);
  background-position: center bottom;
}

body.homepage {
  border-top: 10px solid #005BA6;
  background: black url('../images/bg-metal.jpg');
}

body.homepage:before,
body.homepage:after{
  display: none;
}

.homepage #page {
  min-height: 714px;
  position: relative;
  background: #d9dad5 url('../images/bg-start.jpg') no-repeat center 0px;
}

.homepage #page.new-year {
	background-image: url('../images/bg-start-ny.jpg');
}

#left-door, #right-door {
  position: absolute;
  height: 469px;
  top: 183px;
  cursor: pointer;
}

#left-door .top, #right-door .top {
  position: absolute;
  top: 0;
  width: 90%;
  height: 12px;
}

#left-door {
  width: 158px;
  left: 314px;
  background: url('../images/left-door.jpg') no-repeat bottom left;
}

#left-door:after {
  display: block;
  height: 469px;
  width: 2px;
  content: ' ';
  background: url('../images/left-door.jpg') no-repeat bottom right;
  position: absolute;
  right: 0;
}

#left-door .top {
  background: url('../images/left-door-top.png') no-repeat;
}

#left-door .top:after {
  display: block;
  height: 12px;
  width: 11%;
  content: ' ';
  background: url('../images/left-door-top.png') no-repeat top right;
  position: absolute;
  left: 100%;
}

#right-door {
  width: 159px;
  right: 320px;
  background: url('../images/right-door.jpg') no-repeat bottom right;
}

#right-door:after {
  display: block;
  height: 469px;
  width: 2px;
  content: ' ';
  background: url('../images/right-door.jpg') no-repeat bottom left;
  position: absolute;
  left: 0;
}

#right-door .top {
  background: url('../images/right-door-top.png') no-repeat top right;
  right: 0;
}

#right-door .top:before {
  display: block;
  height: 12px;
  width: 11%;
  content: ' ';
  background: url('../images/right-door-top.png') no-repeat top left;
  position: absolute;
  right: 100%;
}


#enter {
  display: block;
  position: absolute;
  top: 370px;
  left: 674px;
  color: #005BA6;
  font-size: 32px;
  font-style: italic;
  font-weight: bold;
  text-align: right;
  width: 131px;
  height: 43px;
  padding-top: 10px;
}

#enter.hl {
  background: url('../images/hl-button.png') no-repeat 6px 28px;
}

#enter:active, #enter:focus {
  border: 0;
  outline: 0;
}

#levels {
  position: absolute;
  top: 114px;
  left: 420px;
  color: #626262;
  font-size: 12px;
}

.homepage .content-text {
  line-height: normal;
}

#levels span.active {
  color: #00FF06;
  text-shadow: 1px 1px 2px #00FF06, -1px -1px 2px #00FF06, -1px 1px 2px #00FF06, 1px -1px 2px #00FF06;
  font-size: 110%;
}

.rules {
  position: absolute;
  width: 110px;
  height: 157px;
  top: 182px;
  left: 124px;
  background: url('../images/bg-rules.png') no-repeat;
  padding: 12px 16px;
    overflow: hidden;
}

.content-text .rules img.logo {
  margin-bottom: 6px;
}

.content-text .rules p {
  font-size: 5px;
  text-indent: 0;
  line-height: 1.2em;
}

#page {
  width: 950px;
  margin: auto;
  position: relative;
  padding-top: 46px;
  min-height: 763px;
}

header {
  height: 119px;
}

.logo {
  display: block;
  background: url('../images/logo/long.png') no-repeat left center;
  padding-left: 1.8em;
  text-decoration: none;
  font-weight: bold;
  font-style: italic;
  letter-spacing: -0.05em;
  color: #005ba6;
  width: 100%;
  height: 36px;
  background-size: contain;
  margin-bottom: 14px;
}

.logo:visited {
  color: #005ba6;
}

span.gray {
  color: #1d1f20;
/*  color: #868889;*/
}

header .logo-wrapper {
  color: #005ba6;
  font-size: 12px;
}

header .logo {
  font-size: 22px;
}

header .logo-wrapper address {
  text-align: center;
  margin-top: 5px;
  font-style: italic;
}

header h1 {
  color: #868889;
  font-size: 22px;
  position: absolute;
  top: 21px;
  left: 272px;
  width: 500px;
  font-style: italic;
}

header a.support {
  display: block;
  position: absolute;
  top: 88px;
  right: 44px;
  background: transparent url('../images/support.png') no-repeat right center;
  width: 55px;
  height: 44px;
  padding: 23px 65px 0 0;
  color: #005BA6;
  text-align: right;
  font-style: italic;
}


aside {
  position: absolute;
  top: 46px;
  height: 500px;
}

aside.left {
  left: 70px;
  width: 258px;
}

.panel {
  position: relative;
  background: #e8e8e8 url('../images/alum-light.jpg');
  padding: 14px;
  box-shadow: 0 0 3px 1px #aaa;
  border-radius: 3px;
  margin-bottom: 16px;
}

.panel .screw {
  width: 8px;
  height: 8px;
  position: absolute;
  background: transparent url('../images/screw.png') no-repeat
}

.panel .screw.lt {
  left: 6px;
  top: 6px;
}

.panel .screw.rt {
  right: 6px;
  top: 6px;
}

.panel .screw.lb {
  left: 6px;
  bottom: 6px;
}

.panel .screw.rb {
  right: 6px;
  bottom: 6px;
}

aside .panel {
  width: 223px;
  min-height: 200px;
}

aside.left .panel ul {
  list-style: none;
  margin: 0 0 10px 0;
  border-top: 5px solid #005ba6;
  border-bottom: 5px solid #005ba6;
  padding: 10px 0;
}

aside.left .panel ul li {
}

aside.left .panel ul li a {
  padding-left: 44px;
  background: url('../images/bg-button.png') no-repeat;
  height: 40px;
  display: block;
  line-height: 40px;
  vertical-align: middle;
  font-size: 14px;
  color: #1d1f20;
  text-decoration: none;
  font-style: italic;
  position: relative;
}

aside.left .panel ul li.active a {
  color: #005ba6;
}

aside.left .panel ul li[class*="_calculator"] a,
aside.left .panel ul li[class*="_customer"] a
{
  letter-spacing: -0.1px;
  margin-right: -1em;
  font-size: 13px;
}

aside.left .panel ul li a .button {
  width: 36px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 24px;
  font-style: normal;
  color: #3e3e3e;
}

aside.left .panel ul li.active a .button {
  color: #005ba6;
  text-shadow: 0 0 6px #00f6ff;
}


aside.left .panel ul li.__osmd a .button {
	color: #29FF00;
}

aside.left .panel ul li.__osmd.active a .button {
	color: #29FF00;
	text-shadow: 0 0 6px #00ff12;
}

aside.left address {
  color: #005ba6;
  padding-left: 16px;
  font-style: italic;
  margin-bottom: 10px;
}

aside.left .panel .skype {
  display: block;
  background: transparent url('../images/bg-button-skype.png') no-repeat;
  height: 26px;
  line-height: 26px;
  padding-left: 32px;
  color: #1D1F20;
  text-decoration: none;
  font-style: italic;
  margin-left: 45px;
}

#page .content-text {
  margin: 0 71px 16px 341px;
  padding-bottom: 20px;
  position: relative;
  min-height: 420px;
}

footer {
  height: 59px;
  background: transparent url('../images/bg-main-bottom.png') no-repeat;
  width: 850px;
  margin: auto;
  line-height: 38px;
  padding: 0 80px;
  position: relative;
  font-style: italic;
  color: #babcbd;
  margin-top: 85px;
}

footer .logo {
  background-image: url('../images/logo-footer.png');
  margin-right: 30px;
  float: left;
}

footer .logo .gray {
  color: #babcbd;
}

.left .panel ul li._osmd a:after,
.left .panel ul li._ru_osmd a:after,
.left .panel ul li._uk_osmd a:after{
  content: '1700 грн.';
  display: block;
  background: transparent url('../images/sale.png') no-repeat;
  color: white;
  margin-top: -36px;
  margin-left: 87px;
  padding-left: 16px;
  line-height: 31px;
  height: 33px;
  font-size: 12px;
  font-weight: bold;
}

body.homepage .counters {
  position: absolute;
  top: 372px;
  left: 131px;
  margin-left: 0;
}

body .counters {
  margin-left: 71px;
}

#translate-element {
    position: absolute;
    right: 20px;
    border: 1px solid #D5D5D5;
    border-radius: 3px;
    padding-right: 16px;
    width: 114px;
}

#translate-element:after {
    content: '▼';
    position: absolute;
    top: -1px;
    right: 5px;
    color: gray;
    font-size: 84%;
    z-index: 1;
    width: 11px;
}

#translate-element:hover {
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Для Firefox */
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Для Safari и Chrome */
    box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */
}

#translate-element.noshadow:hover {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

#translate-element a {
    display: block;
    padding: 0px 7px 0px 33px;
    background: transparent url(../images/flags/ru.png) no-repeat 5px 4px;
    line-height: 1.7em;
    cursor: pointer;
}

#translate-element a.ru {
    background-image: none;
}

#translate-element a.uk {
    background-image: url(../images/flags/ua.png);
}

#translate-element a.en {
    background-image: url(../images/flags/gb.png);
}

#translate-element a.de {
    background-image: url(../images/flags/de.png);
}

#translate-dropdown {
    width: 130px;
    position: absolute;
    display: none;
    top: -1px;
    left: -1px;
    background: #E8E8E8 url('../images/alum-light.jpg');
    border: 1px solid #D5D5D5;
    border-radius: 3px;
    z-index: 1000;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Для Firefox */
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Для Safari и Chrome */
    box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */
}

#translate-dropdown a:hover {
    background-color: #D5D5D5;
}

dl.profile dt {
    clear: left;
    float: left;
    width: 130px;
    font-style: italic;
}



dl.profile dd {
    font-weight: bold;
    margin-left: 135px;
    width: 200px;
}

legend {
    font-size: 108%;
}

body.lift .form-horizontal .control-label {
    padding-top: 7px;
}

body.lift .form-actions a {
    display: inline-block;
    font-size: 13px;
    margin-left: 1em;
}

.content-text .loan {
    float: right;
    text-align: center;
    width: 180px;

    background-color: #e9e7d3;
    background-image: -ms-linear-gradient(top, #bbb, #E9E0B5);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#bbb), to(#E9E0B5));
    background-image: -webkit-linear-gradient(top, #E7E5D1, #e9e7d3);
    background-image: -o-linear-gradient(top, #bbb, #E9E0B5);
    background-image: -moz-linear-gradient(top, #bbb, #E9E0B5);
    background-image: linear-gradient(top, #bbb, #e9e7d3);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#bbbbbb', endColorstr='#E9E0B5', GradientType=0);
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #D5D5D5;
    padding-bottom: 4px;
}

.content-text .loan p {
    text-indent: 0;
}

.loan .amount {
    font-size: 300%;
    color: #05C;
    margin-left: 0.4em;
}

table .date {
    text-align: center;
}

table .value {
    text-align: right;
}

.content-text table.payments {
    width: 100%;
}

.content-text table.payments .nav {
    text-align: center;
}

#pay .modal-body p {
    text-align: center;
    text-indent: 0;
}

#pay .modal-body p img {
    vertical-align: middle;
}

.content-text #pay .modal-body ul {
    margin-left: 80px;
}

.btn.message {
    text-align: justify;
    text-indent: 0;
}

#conditions {
    font-size: 80%;
    height: 15em;
    overflow: auto;
    padding: 0.2em 1em;
    border: 1px solid #CCC;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
    display: none;
    margin-left: 23px;
}

#conditions p, #conditions h1, #conditions h2, #conditions h3, #conditions h4, #conditions li {
    line-height: 1.5em;
}

#conditions h1 {
    text-indent: 0;
}

.content-text ul.news {
    list-style: none;
    padding-left: 0;
}

.content-text ul.news li {
    list-style: none;
    padding-bottom: 1.5em;
    border-bottom: 1px solid blue;
    margin-bottom: 1.5em;
}


.content-text ul.news li h2 {
    margin-bottom: 0.2em;
    font-size: 120%;
}

.content-text ul.news li .date {
    font-size: 80%;
    font-weight: normal;
}

.content-text .pager p {
    text-indent: 0;
}

.content-text p.neighbors {
    margin-top: 1em;
    line-height: 1.1em;
}

.modal {
    width: 640px;
}

.content-text .vote {
    clear: both;
    margin-top: 19px;
}

.content-text .vote h2 {
    text-align: center;
    font-size: 120%;
    font-weight: normal;
    color: red;
    text-indent: 0;
}

.content-text .vote p {
    text-align: center;
    text-indent: 0;
}

.content-text .vote .voted a {
    opacity:0.4;
    filter:alpha(opacity=40); /* For IE8 and earlier */
}

.content-text .vote .voted a:hover {
    opacity: 1;
    filter: none; /* For IE8 and earlier */
}

.content-text .vote .voted a.active {
    opacity: 1;
    filter: none; /* For IE8 and earlier */
}

.counters > a {
    display: inline-block;
    vertical-align: top;
}

.counters > a {
    display: inline-block;
    vertical-align: top;
}

.counter .jp-audio {
    display: inline-block;
    vertical-align: top;
}

.read-more {
    margin: 5px 0;
    padding: 0;
    position: relative;
}

.read-more:after {
    display: block;
    content: '';
    clear: both;
}

.read-more a {
    float: right;
    height: 24px;
    line-height: 24px;
    position: relative;
    margin: 0;
    padding: 0 10px 0 14px;
    background: #0088cc;
    color: #fff;
    text-decoration: none;
    margin-right: 13px;
}

.read-more a:after {
    content: "";
    position: absolute;
    top: 0;
    right: -12px;
    width: 0;
    height: 0;
    border-color: transparent transparent transparent #0088cc;
    border-style: solid;
    border-width: 12px 0 12px 12px;
}

.read-more a:hover {
    background: #555;
}

.read-more a:hover:after {
    border-color: transparent transparent transparent #555;
}

.content-text ul.news.top {
    padding: 10px 6px;
    margin: 0 -6px;
    border: 1px solid #D5D5D5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .1);
    margin-bottom: 2em;
}

.content-text ul.news.top li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.content-text .countdown ul {
	padding-left: 0;
}

.building {
	position: relative;
	width: 386px;
	margin-left: 34px;
}

.building > div {
	width: 244px;
	background-repeat: no-repeat;
	margin-left: 71px;
}

.building > div.roof {
	height: 152px;
	background-image: url(../images/building-top.png);
}

.building > div.under {
	height: 163px;
	width: 386px;
	margin-left: 0;
	background-image: url(../images/building-bottom.png);
	background-position: 0 100%;
}

.building > div.body {
	background-image: url(../images/building-middle.png);
	background-repeat: repeat-y;
}

.building .floor-data {
	display: block;
	position: absolute;
	left: 330px;
	width: 100px;
	bottom: 20px;
	border: 1px solid #005ba6;
	border-left: none;
	background: url('../images/alum-light.jpg');
	font-weight: normal;
	white-space: nowrap;
	padding: 0 10px;
	line-height: 24px;
	border-radius: 4px;
	text-align: center;
}

.building .floor-data:before {
	content: '';
	display: block;
	width: 15px;
	height: 15px;
	border: 1px solid #005ba6;
	border-bottom: none;
	border-right: none;
	position: absolute;
	top: 4px;
	left: -7px;
	transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	background: url('../images/alum-light.jpg');
	z-index: 101;
}

.building .floor-data .flats-data {
	display: none;
}

.building .floor-data:hover .flats-data {
	display: block;
	position: absolute;
	bottom: -1px;
	left: 1px;
	border: 1px solid #005ba6;
	background: url('../images/alum-light.jpg');
	border-radius: 4px;
	padding: 0 2px;
	z-index: 100;
}

.content-text .building .floor-data:hover .flats-data table {
	border-spacing: 0;
	border-collapse: collapse;
	border: none;
	outline: none;
	min-width: 114px;
}

.building .floor-data:hover .flats-data table td {
	line-height: normal;
	padding: 2px 5px;
	border: 0;
	text-align: right;
}

.building .floor-data:hover .flats-data table td.total {
	border-top: 1px solid #005ba6;
}

#online-help {
    position: fixed;
    top: 188px;
    width: 200px;
    height: 200px;
    background: #e8e8e8 url('../images/alum-light.jpg');
    border: 2px solid white;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    border-left: none;
    left: 0;
    padding: 10px;
}

#online-help.collapsed {
    left: -150px;
}

#online-help > a {
    display: block;
    color: #000000;
}

#online-help > a:hover {
    text-decoration: none;
}

#online-help .rotated {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    -o-transform: rotate(-90deg);
    width: 180px;
    position: absolute;
    top: 88px;
    left: 95px;
}

#online-help h3 {
    font-size: 200%;
    width: 140px;
    text-align: center;
    color: #005ba6;
}

#online-help img {
    width: 140px;
}

#online-help .skype {
    display: block;
    background: transparent url('../images/bg-button-skype.png') no-repeat;
    height: 26px;
    line-height: 26px;
    padding-left: 32px;
    color: #1D1F20;
    text-decoration: none;
    font-style: italic;
    font-size: 150%;
    margin-bottom: 5px;
    margin-left: 16px;
}

#online-help p {
    text-align: center;
}

.content-text p.links {
    text-indent: 0;
}

#jp_container_1 {
    width: 86px;
    display: block;
}

div#jp_container_1.jp-audio ul.jp-controls {
    width: 86px;
    height: 29px;
    overflow: hidden;
}

#jp_container_1 div.jp-interface ul.jp-controls a {
    width: 86px;
}

#jp_container_1 div.jp-interface ul.jp-controls a div {
    margin-left: 27px;
    font-size: 8px;
    background: #cccccc;
    height: 29px;
    text-indent: 0;
    padding: 3px 6px;
    color: #777777;
}

#jp_container_1 div.jp-interface ul.jp-controls a:hover {
    text-decoration: none;
}

#jp_container_1 div.jp-interface ul.jp-controls a:hover div {
    color: blue;
}

.control-group.error .help-inline {
    line-height: 1.2em;
}

p.poem {
    padding-left: 72px;
    margin-top: 20px;
    font-style: italic;
    color: black;
}

p.poem img {
    height: 90px;
    float: left;
    margin-left: -79px;
    margin-top: 9px;
}
