@import url(https://fonts.googleapis.com/css?family=Roboto:500,400italic,300,500italic,300italic,400&subset=latin,cyrillic-ext);
body,
h2,
h3,
h4,
input,
textarea,
ul,
ol,
p {
  margin: 0;
  padding: 0;
  outline: none;
 
}

li {
  list-style: none;
}

a:hover {
  text-decoration: none;
  outline: none;
}
a img {
  border: none;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
}

/*article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
}*/
audio,
canvas,
video {
  display: inline-block;
}

p {
  margin: 15px 0;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden], template {
  display: none;
}

html {
  background: #fff;
  color: #000;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
  font-family: sans-serif;
}

body {
  margin: 0;
}

a {
  background: transparent;
}
a:focus {
  outline: none;
}
a:hover, a:active {
  outline: none;
}

h2 {
  line-height: 26px;
}

h1,
h2,
h3,
h4 {
  color: #555555;
  margin: 0;
  font-weight: 500;
}

h1 {
  font-size: 24px;
  line-height: 36px;
}

h2 {
  font-size: 24px;
  line-height: 36px;
}

h3 {
  font-size: 20px;
  line-height: 24px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 0.83em;
}

h6 {
  font-size: 0.75em;
}

p.attention {
  color: #fa8564;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: 500;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}

q:before,
q:after {
  content: '';
  content: none;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
  white-space: normal;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  border: none;
  vertical-align: baseline;
}

button,
input {
  line-height: normal;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
input[disabled] {
  cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

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

body {
  background: url(../img/bg.jpg) 50% 0 no-repeat;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #313131;
}

input,
textarea {
  padding: 0 10px;
}

input[type=text],
input[type=search],
textarea {
  padding: 0 10px;
  border: 1px solid #353a42;
  background: #e3ddd9;
}

textarea {
  padding: 10px;
}

a {
  color: #f68e56;
}
a:hover {
  text-decoration: none;
}

.arrow {
  border-radius: 50%;
  border: 1px solid #f68e56;
  width: 16px;
  height: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  display: inline-block;
}
.arrow img {
	margin-top: 2px;
}
.cost_block {
  background: #f68e56;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  padding: 14px 10px 8px;
  color: #fff;
}
.nav_menu {
  text-align: right;
}
.nav_menu li {
  display: inline-block;
  vertical-align: top;
  padding: 20px;
}
.nav_menu li a {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
}
.nav_menu li.active {
  background: #31353b;
}
.nav_menu li.active a {
  color: #f68e56;
}
.nav_menu.nav_menu_bottom li.active {
  background: none;
}
.nav_menu.nav_menu_bottom li.active a {
  color: #f68e56;
}
.nav_menu.nav_menu_bottom li a {
  color: #3c4149;
}

nav {
  background: #3c4149;
  height: 60px;
}

.logo {
  display: inline-block;
  margin: 10px 0 10px 5px;
}
.contact_wrapper {
  float: right;
  margin: 30px 15px 0 0;
}
.city_wrapper {
  display: inline-block;
  vertical-align: middle;
}
.city_wrapper {
  color: #3c4149;
  margin: 12px 270px 0 0;
  position: relative;
  width: 205px;
}
.city_wrapper > img {
  margin: 0 8px;
}
.city_wrapper .city_name {
  height: 16px;
  margin-left: 5px;
  cursor: pointer;
}
.city_wrapper .city_name img {
  margin-left: 5px;
}
.city_wrapper .city_name .city_list {
  display: none;
  background: white;
  border: 1px solid #ccc;
  position: absolute;
  left: 10px;
  top: 25px;
}
.city_wrapper .city_name .city_list a {
  min-width: 110px;
  text-decoration: none;
  padding: 5px 10px;
  display: inline-block;
  color: #3c4149;
}
.city_wrapper .city_name,
.city_wrapper img {
  display: inline-block;
  vertical-align: middle;
}
.phone_wrapper {
  background: #dbdbdb;
  border-radius: 0 0 6px 6px;
  font-weight: 500;
  color: #d95007;
  font-size: 28px;
  line-height: 32px;
  padding: 2px 5px 5px 5px;
  margin:30px 0 0;
  z-index: 999;
  text-align: right;
}
.phone_wrapper a {
  font-size: 19px;
  line-height: 25px;
  margin-right: 4px;
  color: #d95007;
}
.phone_wrapper span,
.phone_wrapper img {
  display: inline-block;
  vertical-align: top;
}
.phone_wrapper img {
  margin: 9px 8px 0 8px;
}
.phone_wrapper p {
  margin: 0;
}

.content_wrapper {
  background: #e3ddd9 url(../img/bg_content.jpg) 50% 0 no-repeat;
  border-radius: 8px 8px 0 0;
}

.promo_block {
  float: right;
  vertical-align: middle;
  margin: 60px 50px 60px 0;
}
.promo_block span {
  display: inline-block;
  text-align: center;
  background: #3c4149; 
  font-size: 16px;
  line-height: 20px;
  padding: 12px 40px;
  color: #ffffff;
}
.promo_block p {
  margin: 0;
}

.menu_house {
  clear: both;
  text-align: center;
}
.menu_house li {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  margin: 45px 10px 20px;
}
.menu_house li a {
  color: #3c4149;
  text-decoration: none;
}
.menu_house li div {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  background: #3c4149;
  border: 4px solid #f68e56;
  width: 212px;
  height: 148px;
}
.menu_house li span {
  font-weight: 500;
  width: 180px;
  display: block;
  padding: 25px 20px;
}
.menu_house li.active div {
  background: #f68e56;
}
.menu_house li.active div:after {
  position: absolute;
  right: 0;
  bottom: -16px;
  left: 0;
  content: '';
  margin: auto;
  width: 0;
  display: inline-block;
  border-top: 12px solid #f68e56;
  border-right: 50px solid transparent;
  border-left: 50px solid transparent;
}

.sidebar {  
  margin: 0;
}
.sidebar .menu_sidebar {
  background: #3c4149;
}
.sidebar .menu_sidebar li {
  position: relative;
}
.sidebar .menu_sidebar li a {
  display: block;
  text-decoration: none;
  padding: 10px 5px 10px 20px;
  color: #c4c6ca;
}
.sidebar .menu_sidebar li a:hover {
  color: #f68e56;
}
.sidebar .menu_sidebar li span {
  display: block;
  background: #31353b;
  font-weight: 500;
  padding: 10px 5px 10px 20px;
  color: #f68e56;
}
.sidebar .menu_sidebar li .arrow {
  position: absolute;
  top: 9px;
  right: 10px;
}
.sidebar .menu_sidebar li.active > a {
  background: #31353b;
  font-weight: 500;
  border-left: 4px solid #f68e56;
  padding: 10px 5px 10px 16px;
  color: #f68e56;
}
.time_wrapper {
  line-height: 36px;
  margin-top: 25px;
  border: 1px solid #3c4149;
}
.time_wrapper div,
.time_wrapper span {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  height: 36px;
  font-weight: 500;
}
.time_wrapper div {
  font-size: 15px;
  width: 178px;
}
.time_wrapper span {
  font-size: 18px;
  width: 80px;
  font-weight: 500;
  background: #3c4149;
  color: #c4c6ca;
}
.currency_wrapper {
  border: 1px solid #3c4149;
  text-align: center;
  padding: 0 20px 35px;
  margin-top: 25px;
}
.currency_wrapper h4 {
  font-size: 16px;
  font-weight: 300;
  margin: 15px 0 3px;
  font-weight: 500;
}
.currency_wrapper > span {
  color: #ee5c0e;
}
.currency_wrapper ul li {
  border-bottom: 1px solid #aa9b91;
  display: inline-block;
  padding: 15px 0 5px;
}
.currency_wrapper ul li img,
.currency_wrapper ul li span,
.currency_wrapper ul li strong,
.currency_wrapper ul li div {
  display: inline-block;
  margin-left: 10px;
}
.currency_wrapper ul li img:first-child {
  margin-left: 0;
}
.currency_wrapper ul li div {
  width: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid #ee5c0e;
}
.currency_wrapper ul li.down div {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 12px solid #ee5c0e;
  border-bottom: none;
}
.news_block_wrapper {
  font-size: 12px;
  line-height: 16px;
  margin-top: 20px;
}
.news_block_wrapper h2 {
  line-height: 28px;
}
.news_block_wrapper ul {
  margin: 10px 0;
}
.news_block_wrapper ul li {
  border: 1px solid #454950;
  padding: 7px;
}
.news_block_wrapper ul li p {
  margin: 5px 0;
}

.content {  
  margin-bottom: 30px;
}
.content.no_sidebar {
	width: 100%;
	padding: 0 20px;
}
.news_block_wrapper {
  font-weight: 500;
}
.news_block_wrapper h2 {
  display: inline-block;
  margin-right: 10px;
  line-height: 38px;
}
.news_block_wrapper ul {
  margin: 10px 0 38px;
}
.news_block_wrapper ul li {
  margin: 6px 0;
}
.news_block_wrapper ul li span {
  display: inline-block;
  font-size: 12px;
  color: #606670;
  background: #d5cdc8;
  border-radius: 4px;
  margin-right: 10px;
  line-height: 20px;
  height: 20px;
  padding: 0 5px;
}

.content_article {
  font-size: 15px;
  line-height: 19px;
  padding-right: 20px;
}
.content_article img {
  float: right;
  margin: 5px 0 10px 35px;
}

.best_deals_wrapper h2 {
  text-align: center;
}
.best_deals_wrapper ul {
  text-align: center;
  margin: 10px 0 50px;
}
.best_deals_wrapper ul li {
  width: 460px;
  height: 256px;
  background: #3c4149;
  text-align: left;
  margin: 8px;
  display: inline-block;
  vertical-align: top;
}
.best_deals_wrapper ul li img {
  width: 256px;
}
.best_deals_wrapper ul li > div {
  display: inline-block;
  vertical-align: top;
  width: 184px;
  padding-left: 20px;
  color: #fff;
}
.best_deals_wrapper ul li > div h4 {
  font-size: 15px;
  color: #fff;
  margin: 20px 0 10px;
}
.best_deals_wrapper ul li > div p { 
  height: 110px;
}
.best_deals_wrapper ul li > div span {
  display: inline-block;
  width: 184px;
  background: #f68e56;
  text-align: center;
  line-height: 40px;
  height: 40px;
}
.search_wrapper {
  margin-bottom: 25px;
}
.search_wrapper input {
  display: inline-block;
  vertical-align: middle;
}
.
.search_wrapper .search_button {
  background: #353a42 url(../img/icon_search.png) 12px 50% no-repeat;
  height: 44px;
  width: 100px;
  cursor: pointer;
  font-size: 16px;
  color: #f68e56;
  padding: 0 0 0 13px;
}
.catalog_header {
  background: #3c4149;
  padding: 13px 0 13px 20px;
}
.catalog_header h1,
.catalog_header h4 {
  color: #f68e56;
  font-size: 16px;
  line-height: 17px;
}
.catalog_wrapper { 
  border-left: 1px solid #3c4149;
  border-right: 1px solid #3c4149;
  margin: 10px 0;
}
.catalog_wrapper ~ h3 {
  margin-top: 25px;
}
.catalog_wrapper .catalog_content {
  padding: 5px 0;  
}
.catalog_wrapper .catalog_content > div {
  display: table-cell;
  vertical-align: top;
  border-left: 1px solid #bfb6b1;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 16px;
}
.catalog_wrapper .catalog_content > div:first-child {
  border-left: none;
}
.catalog_wrapper .catalog_content > div p {
  margin: 10px 0 0;
}
.catalog_wrapper .catalog_content > div p:first-child {
  margin-top: 0;
}
.catalog_wrapper .catalog_content > div p span {
  font-weight: 500;
}
.catalog_wrapper .catalog_img {
 
  text-align: center;
}
.catalog_wrapper .catalog_img img {
  border: 1px solid #000;
 
  margin-top: 5px;
}
.catalog_wrapper .catalog_description {
 
}
.catalog_wrapper.rent .catalog_description {

}
.catalog_wrapper .catalog_demands {
 
}
.catalog_wrapper .catalog_cost {
 
  padding: 5px;
}
.catalog_wrapper .catalog_cost .catalog_more {
  
  
}
.catalog_wrapper .catalog_cost .catalog_more span,
.catalog_wrapper .catalog_cost .catalog_more .catalog_more_arrow {
 
  vertical-align: middle;
  height: 44px;
}
.catalog_wrapper .catalog_cost .catalog_more span {
 
  background: #353a42;
}
.catalog_wrapper .catalog_cost .catalog_more .catalog_more_arrow {
  background: #282c33;
  width: 44px;
}

.card_wrapper {
  font-size: 13px;
  line-height: 17px;
  padding-bottom: 40px;
}
.card_wrapper p {
  margin: 10px 0;
}
.card_wrapper span {
  font-weight: 500;
}
.card_wrapper .card_map {
  margin: 10px 0 30px;
  border: 1px solid #3c4149;
  height: 272px;
}
.card_wrapper input[type="text"] {
  height: 25px;
}
.card_wrapper input[type="submit"] {
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  background: #f68e56;
  height: 44px;
  color: #fff;
  margin-top: 10px;
}


.vm_item_left {
  width: 272px;
  margin-top: 10px;
}
> a {
  font-size: 14px;
  line-height: 20px;
}
> span {
  font-style: italic;
  margin-bottom: 10px;
  display: inline-block;
}
.vm_item_main_img img {

}
.vm_item_sec_img_wrapper {
	margin: 1px -1px 0;
}
.vm_item_sec_img {
  display: inline-block;
  vertical-align: top;
  margin: 1px;
  cursor: pointer;
}
.vm_item_sec_img.vm_item_first {
  margin-left: 0;
}
.vm_item_sec_img img {
  width: 87px;
}

.vm_item_comment {
  margin-top: 15px;
}
.vm_item_comment h4 {
  color: #f68e56;
}
.vm_item_comment .vm_item_comment_text {
  margin-bottom: 20px;
  font-style: italic;
}

 .vm_item_block > div {

  vertical-align: top;
}
 .vm_item_block .vm_item_block_left {

  padding-right: 5px;
  border-right: 1px solid #bfb6b1;
}
 .vm_item_block .vm_item_block_right {

  padding: 0 5px 0 8px;
}
 .vm_item_block .vm_item_block_right > p:first-child {
  margin-top: 0;
}
 .vm_item_order_form_wrapper .catalog_header {
  margin-top: 15px;
}
 .vm_item_order_form_wrapper .vm_item_order_form {
  border: 1px solid #3c4149;
  border-top: none;
  padding: 18px;
  overflow: hidden;
}
 .vm_item_order_form_wrapper .vm_item_order_form label {
  display: inline-block;
  margin-bottom: 10px;
}
 .vm_item_order_form_wrapper .vm_item_order_form label span,
 .vm_item_order_form_wrapper .vm_item_order_form label input {
  display: inline-block;
  vertical-align: middle;
}
 .vm_item_order_form_wrapper .vm_item_order_form label span {
  width: 100px;
  font-size: 13px;
  line-height: 14px;
  font-weight: 300;
}
 .vm_item_order_form_wrapper .vm_item_order_form label input {
  width: 190px;
}
 .vm_item_order_form_wrapper .vm_item_order_form input[type="submit"] {
  width: 130px;
  float: right;
}

.card_reviews_wrapper .card_reviews_content {
  border: 1px solid #3c4149;
  border-top: none;
  padding: 25px;
}
.card_reviews_wrapper .card_reviews_content form > div {

}
.card_reviews_wrapper .card_reviews_content .card_reviews_left {
 
}
.card_reviews_wrapper .card_reviews_content .card_reviews_left input[type="text"] {

  margin-bottom: 12px;
}
.card_reviews_wrapper .card_reviews_content .card_reviews_left label input,
.card_reviews_wrapper .card_reviews_content .card_reviews_left label span {
  display: inline-block;
  vertical-align: middle;
}
.card_reviews_wrapper .card_reviews_content .card_reviews_left label input {
  margin-right: 5px;
}
.card_reviews_wrapper .card_reviews_content .card_reviews_left label span {
  font-weight: 300;
}
.card_reviews_wrapper .card_reviews_content .card_reviews_right {
  width: 288px;
}
.card_reviews_wrapper .card_reviews_content .card_reviews_right textarea {
  height: 75px;
  width: 266px;
  resize: none;
}

.card_reviews_item {
  border: 1px solid #3c4149;
  margin-top: 15px;
  padding: 10px;
}
.card_reviews_item > div {
  display: inline-block;
  vertical-align: top;
}
.card_reviews_item .card_reviews_item_avatar {
  height: 84px;
  width: 84px;
  margin-right: 10px;
}
.card_reviews_item .card_reviews_item_avatar img {
  border: 1px solid #3c4149;
  width: 82px;
  height: 82px;
}
.card_reviews_item .card_reviews_item_content {
  width: 524px;
  font-size: 12px;
}
.card_reviews_item .card_reviews_item_content .card_reviews_item_date {
  background: #d5cdc8;
  border-radius: 4px;
  margin-right: 10px;
  color: #606670;
  display: inline-block;
  line-height: 20px;
  font-size: 12px;
  height: 20px;
  padding: 0 5px;
}
.card_reviews_item .card_reviews_item_content span {
  font-size: 14px;
}

footer {
  background: #3c4149;
}
footer .container {
  padding: 40px 0 25px;
}
footer .container p,
footer .container .logo {
  display: inline-block;
  vertical-align: bottom;
}
footer .container p {
  font-size: 12px;
  color: #fff;
  width: 440px;
  margin: 0 335px 0 20px;
}
footer .container .logo img {
  width: 158px;
}

.blog h1 {
	margin-bottom: 15px;
}

.blog h2 {
	font-size: 20px;
	line-height: 20px;
}

.blog h2 span {
	display: inline-block;
	font-size: 12px;
	color: #606670;
	background: #d5cdc8;
	border-radius: 4px;
	margin-right: 5px;
	line-height: 20px;
	height: 20px;
	padding: 0 5px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Image replacement
 */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */
.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
  *zoom: 1;
}

.alpha {
  margin-left: 30px;
}

.metrokarta_wrapper {
	background: #fff;
	width: 940px;
}

#metrokarta {
  margin: 0 auto !important;
}

.pagination ul li {
	display: inline;
	padding: 0 5px;
}

.pagination ul li  {
	font-weight: 500;
}

.pagination ul li.pagination-start, .pagination ul li.pagination-prev, .pagination ul li.pagination-next, .pagination ul li.pagination-end, .pagination ul li a {
	font-weight: normal;
}

.pagination {
	text-align: center;
}

/* Формы заказа */

.vm_info_zakaz_form {
	display: none;
}

.vm_info_zakaz_form.active {
	display: inline-block;
	border: 1px solid #f68e56;
	padding: 5px;
	width: 492px;
	height: 184px;
}

.vm_info_zakaz_form td.error input[type=text] {
	border: 1px solid red;
}

.vm_info_zakaz_form input[type=text] {
	width: 300px;
}

.vm_info_tab {
	display: inline-block;
	padding: 5px 10px;
	background: #3c4149;
	cursor: pointer;
	line-height: 27px;	
	font-weight: 500;
	color: #ffffff;
}

.vm_info_tab.active {
	background: #f68e56;
	color: #313131;
}

.card_wrapper.rent  .vm_item_block .vm_item_block_right {
	width: auto;
	padding: 0;
}

/* fancybox*/
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap, .fancybox-skin, .fancybox-outer, .fancybox-inner, .fancybox-image, .fancybox-wrap iframe, .fancybox-wrap object, .fancybox-nav, .fancybox-nav span, .fancybox-tmp {
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    vertical-align: top;
}

.fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 8020;
}

.fancybox-skin {
    position: relative;
    background: #f9f9f9;
    color: #444;
    text-shadow: none;
    border-radius: 4px;
}

.fancybox-opened {
    z-index: 8030;
}

.fancybox-opened .fancybox-skin {
    box-shadow: 0 0 50px rgba(0, 0, 0, .5);
}

.fancybox-outer, .fancybox-inner {
    position: relative;
}

.fancybox-inner {
    overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
    -webkit-overflow-scrolling: touch;
}

.fancybox-error {
    color: #444;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding: 15px;
    white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.fancybox-image {
    max-width: 100%;
    max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
    background-image: url(../img/fancybox/fancybox_sprite.png);
}

#fancybox-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -22px;
    margin-left: -22px;
    background-position: 0 -108px;
    opacity: .8;
    cursor: pointer;
    z-index: 8060;
}

#fancybox-loading div {
    width: 44px;
    height: 44px;
    background: url(../img/fancybox/fancybox_loading.gif) center center no-repeat;
}

.fancybox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 8040;
}

.fancybox-nav {
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    /* helps IE */
    -webkit-tap-highlight-color: transparent;
    z-index: 8040;
}

.fancybox-prev {
    left: 0;
}

.fancybox-next {
    right: 0;
}

.fancybox-nav span {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 34px;
    margin-top: -18px;
    cursor: pointer;
    z-index: 8040;
    visibility: hidden;
}

.fancybox-prev span {
    left: 10px;
    background-position: 0 -36px;
}

.fancybox-next span {
    right: 10px;
    background-position: 0 -72px;
}

.fancybox-nav:hover span {
    visibility: visible;
}

.fancybox-tmp {
    position: absolute;
    top: -99999px;
    left: -99999px;
    max-width: 99999px;
    max-height: 99999px;
    overflow: visible !important;
}

/* Overlay helper */
.fancybox-lock {
    overflow: visible !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: none;
    z-index: 8010;
}

.fancybox-overlay-fixed {
    position: fixed;
    bottom: 0;
    right: 0;
}

.fancybox-lock .fancybox-overlay {
    overflow: auto;
    overflow-y: scroll;
}

/* Title helper */
.fancybox-title {
    visibility: hidden;
    font-style: normal;
    font-size: 13px;
    line-height: 20px;
    position: relative;
    text-shadow: none;
    z-index: 8050;
}

.fancybox-opened .fancybox-title {
    visibility: visible;
}

.fancybox-title-float-wrap {
    position: absolute;
    bottom: 0;
    right: 50%;
    margin-bottom: -35px;
    z-index: 8050;
    text-align: center;
}

.fancybox-title-float-wrap .child {
    display: inline-block;
    margin-right: -100%;
    padding: 2px 20px;
    background: transparent;
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgba(0, 0, 0, .8);
    border-radius: 15px;
    text-shadow: 0 1px 2px #222;
    color: #fff;
    font-weight: bold;
    line-height: 24px;
    white-space: nowrap;
}

.fancybox-title-outside-wrap {
    position: relative;
    margin-top: 10px;
    color: #fff;
}

.fancybox-title-inside-wrap {
    padding-top: 10px;
}

.fancybox-title-over-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 10px;
    background: #000;
    background: rgba(0, 0, 0, .8);
}