/* reset -------------------------- */
html,
body,
div,
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
dfn,
del,
p,
blockquote,
fieldset,
input,
textarea,
select,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
button,
canvas,
video {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
address,
caption,
cite,
code,
th,
dfn,
del {
  font-weight: normal;
  font-style: normal;
}
ul,
ol {
  list-style: none;
}
fieldset,
img {
  border: none;
}
caption,
th {
  text-align: left;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
input[type="button"],
input[type="submit"],
input[type="reset"],
button {
  cursor: pointer;
}
input[type="button"],
input[type="submit"],
input[type="reset"],
button,
input[type="search"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
}
input,
button,
textarea {
  line-height: normal;
  font-family: 'Lato';
}
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;
}
input[type="hidden"],
[hidden],
.hidden {
  display: none;
}
textarea {
  overflow: auto;
  resize: none;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
.clearfix {
  display: block;
}
audio,
canvas,
video {
  display: inline-block;
}
a > img {
  vertical-align: bottom;
}
strong,
.strong,
b {
  font-weight: bold;
}
em,
.italic,
i {
  font-style: italic;
}
del,
.del {
  text-decoration: line-through;
}
:focus {
  outline: none;
}
img {
  max-width: 100%;
}
/* tools -------------------------- */
.clear {
  clear: both;
  display: block;
  line-height: 0;
  height: 0;
  font-size: 0;
}
.clearfix:after,
.wrap:after,
.spanning:after,
.content:after,
.main:after,
aside:after,
section:after,
article:after,
.text:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
  font-size: 0;
}
.align-left {
  float: left !important;
}
.align-right {
  float: right !important;
}
.overflow-hidden {
  overflow: hidden;
  display: block;
}
input {
  -webkit-appearance: none;
  border-radius: 0;
}
/* common -------------------------- */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-regular-webfont.eot');
  src: url('../fonts/lato-regular-webfont.eot#iefix') format('embedded-opentype'), url('../fonts/lato-regular-webfont.woff') format('woff'), url('../fonts/lato-regular-webfont.ttf') format('truetype'), url('../fonts/lato-regular-webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-italic-webfont.eot');
  src: url('../fonts/lato-italic-webfont.eot#iefix') format('embedded-opentype'), url('../fonts/lato-italic-webfont.woff') format('woff'), url('../fonts/lato-italic-webfont.ttf') format('truetype'), url('../fonts/lato-italic-webfont.svg') format('svg');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-bold-webfont.eot');
  src: url('../fonts/lato-bold-webfont.eot#iefix') format('embedded-opentype'), url('../fonts/lato-bold-webfont.woff') format('woff'), url('../fonts/lato-bold-webfont.ttf') format('truetype'), url('../fonts/lato-bold-webfont.svg') format('svg');
  font-weight: 700;
  font-style: normal;
}
html {
  height: 100%;
  background: #fff;
}
body {
  height: 100%;
  font-family: 'Lato';
  font-size: 75%;
  line-height: 1.5;
  color: #4d4d4d;
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
.main {
  min-height: 100%;
  overflow: hidden;
  padding-bottom: 180px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.wrap {
  margin: 0 auto;
  width: 1000px;
}
a {
  color: #0645ad;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
.error {
  color: #ff0000 !important;
  border-color: #ff0000 !important;
}
.success {
  color: #00cc00 !important;
  border-color: #00cc00 !important;
}
.disabled {
  color: #999999 !important;
  border-color: #999999 !important;
  cursor: default !important;
}
.input-text,
.textarea {
  width: 100%;
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.textarea {
  font-family: 'Lato';
}
.button {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.green {
  font-size: 14px;
  color: green;
}
/* header -------------------------- */
header {
  background: url(../images/header.png) repeat-x;
  height: 136px;
  border-bottom: 1px solid #5f6dda;
}
header nav {
  float: right;
}
header nav li {
  position: relative;
  float: left;
}
header nav li:hover a,header li.current-menu-item a,header .current-post-ancestor a {
  background: #2c3472;
}
header nav li:hover ul {
  display: block;
}
header nav li ul {
  background: #2c3472;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  min-width: 240px;
  display: none;
}
header nav li ul li {
  float: none;
}
header nav li ul a {
  font-size: 12px;
  line-height: 16px;
  text-transform: none;
  padding: 8px 20px;
  display: block;
}
header nav li ul a:hover {
  background: #5b66c3;
  color: #fefefe;
}
header nav a {
  font-size: 12px;
  line-height: 87px;
  text-transform: uppercase;
  color: #fff;
  display: block;
  padding: 0 11px;
}
.top {
  height: 49px;
  float: right;
}
.phone,
.mailto {
  font: 13px/13px 'Helvetica', Arial;
  color: #7c88e9;
  margin: 17px 0 0 47px;
  padding: 0 0 0 28px;
  position: relative;
  float: left;
}
.phone:before,
.mailto:before {
  background-image: url(../images/sprite.png);
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
}
.phone:before {
  background-position: -148px 0;
  width: 19px;
  height: 18px;
}
.mailto:before {
  background-position: -127px 0;
  width: 19px;
  height: 18px;
}
.logo {
  font-size: 24px;
  line-height: 53px;
  font-style: bold;
  text-transform: uppercase;
  color: #FFF; <!-- #1e255c; -->
  text-shadow: 0 1px 2px #6c7cfa;
  margin-top: 20px;
  padding-left: 85px;
  position: relative;
  float: left;
}
.logo:before {
  background: url(../images/sprite.png) no-repeat;
  content: "";
  width: 67px;
  height: 53px;
  top: 0;
  left: 0;
  position: absolute;
}
.logo a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
/* footer -------------------------- */
footer {
  background: #27408B;  <!--#2c3472; -->
  height: 180px;
  margin-top: -180px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-top: 1px solid #1d245b;
}
footer nav {
  margin-top: 45px;
  float: right;
}
footer nav a {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
}
footer nav a:hover,footer .current-menu-item a,footer .current-post-ancestor a {
  color: #5b66c3;
}
footer nav li {
  margin-left: 34px;
  float: left;
}
footer nav li:first-child {
  margin-left: 0;
}
footer .separator {
  display: block;
  clear: both;
  margin-bottom: 15px;
  border-bottom: 1px solid #5b66c3;
}
.logo-footer {
  font-size: 14px;
  line-height: 44px;
  color: #fff;
  text-transform: uppercase;
  font-style: bold;
  margin: 29px 0 26px;
  padding-left: 65px;
  position: relative;
  float: left;
}
.logo-footer:before {
  background: url(../images/sprite.png) no-repeat -69px 0;
  content: "";
  width: 56px;
  height: 44px;
  top: 0;
  left: 0;
  position: absolute;
}
.logo-footer a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.developer {
  font-size: 12px;
  line-height: 16px;
  color: #7c88e9;
  float: right;
}
.developer a {
  color: #d8b500;
  text-decoration: underline;
}
.developer a:hover {
  text-decoration: none;
}
.copy {
  font-size: 12px;
  line-height: 16px;
  color: #7c88e9;
  float: left;
}
.copy span {
  color: #d8b500;
}
.about-bg {
  background: url(../images/bg.jpg) no-repeat top center;
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  display: block;
  clear: both;
  height: 360px;
}
.about-bg .wrap {
  position: relative;
  height: 360px;
}
.about-bg .wrap h2 {
  background: rgba(213, 185, 22, 0.8);
  font-size: 16px;
  line-height: 50px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
  position: absolute;
  left: 0;
  bottom: 52px;
  padding: 0 50px;
}
.about-box {
  display: block;
  clear: both;
  padding: 60px 0;
}
.ab-item {
  text-align: center;
  width: 304px;
  height: 340px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #c7c7c7;
  margin-left: 40px;
  padding: 55px 20px 0;
  position: relative;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  float: left;
}
.ab-item:first-child {
  margin-left: 0;
}
.ab-item h2 {
  font-size: 16px;
  line-height: 16px;
  text-transform: uppercase;
  font-weight: bold;
  color: #1e1e1e;
  margin-bottom: 20px;
}
.ab-item p {
  font-size: 12px;
}
.ab-item p a {
  text-decoration: underline;
}
.ab-item p a:hover {
  text-decoration: none;
}
.ab-item .input-text {
  font-size: 12px;
  color: #4d4d4d;
  border: 1px solid #c7c7c7;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background-color: #fff;
  height: 30px;
  margin-bottom: 13px;
  padding: 0 11px;
}
.ab-item .textarea {
  font-size: 12px;
  color: #4d4d4d;
  border: 1px solid #c7c7c7;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background-color: #fff;
  height: 81px;
  margin-bottom: 15px;
  padding: 11px;
}
.ab-item .button {
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background-color: #5563d5;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  width: 100%;
  height: 45px;
  border: 0;
}
.abi-icon {
  background: #fff;
  line-height: 68px;
  width: 68px;
  height: 68px;
  border: 1px solid #c7c7c7;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  left: 50%;
  top: -34px;
  margin: 0 0 0 -34px;
  position: absolute;
}
.abi-icon span {
  background-image: url(../images/sprite.png);
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle;
}
.abii-1 {
  background-position: -225px 0;
  width: 25px;
  height: 26px;
}
.abii-2 {
  background-position: -252px 0;
  width: 32px;
  height: 24px;
}
.abii-3 {
  background-position: -197px 0;
  width: 26px;
  height: 22px;
}
.gray-box {
  background-color: #f2f2f2;
  -moz-box-shadow: inset 0 0 13px rgba(166,166,166,.75);
  -webkit-box-shadow: inset 0 0 13px rgba(166,166,166,.75);
  box-shadow: inset 0 0 13px rgba(166,166,166,.75);
  padding: 56px 0;
  position: relative;
}
.ph-icon {
  background: #fff;
  text-align: center;
  line-height: 68px;
  width: 68px;
  height: 68px;
  border: 1px solid #c7c7c7;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  left: 50%;
  top: -34px;
  margin: 0 0 0 -34px;
  position: absolute;
}
.ph-icon span {
  background-image: url(../images/sprite.png);
  background-repeat: no-repeat;
  background-position: -286px 0;
  width: 26px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
}
.catalog-list {
  display: block;
  width: 105%;
}
.catalog {
  background: #fff;
  width: 302px;
  height: 358px;
  border: 1px solid #c7c7c7;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  position: relative;
  margin: 0 43px 43px 0;
  float: left;
}
.catalog a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
}
.catalog h2 {
  font-size: 12px;
  color: #4d4d4d;
  display: table;
  width: 100%;
  height: 70px;
}
.catalog h2 span {
  text-align: center;
  text-transform: uppercase;
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  height: 70px;
  padding: 0 15px;
}
.img-place-middle {
  display: block;
  height: 288px;
  width: 302px;
}
.catalog .cat-img {
  display: table;
  width: 302px;
  height: 288px;
}
.catalog .cat-img span {
  display: table-cell;
  position: relative;
  text-align: center;
  vertical-align: middle;
  width: 100%;
}
.catalog .cat-img img {
  max-width: 290px;
  max-height: 280px;
}
.gray-box .catalog {
  margin-bottom: 0;
}
/* content -------------------------- */
.spanning {
  clear: both;
}
.breadcrumbs {
  font-size: 12px;
  color: #4d4d4d;
  display: block;
  clear: both;
  padding: 40px 0 30px;
}
.breadcrumbs a {
  text-decoration: underline;
}
.breadcrumbs a:hover {
  text-decoration: none;
}
.sep-bd {
  margin: 0 5px;
}
.page-title {
  display: block;
  clear: both;
  margin-bottom: 15px;
}
.page-title h1 {
  font-size: 16px;
  text-transform: uppercase;
  color: #1e1e1e;
  font-weight: bold;
}
.map {
  display: block;
  position: relative;
  height: 422px;
}
.map iframe,
.map ymaps.ymaps-2-1-17-events-pane {
  width: 100%;
  height: 422px;
  -moz-box-shadow: inset 0 0 13px rgba(166,166,166,.75);
  -webkit-box-shadow: inset 0 0 13px rgba(166,166,166,.75);
  box-shadow: inset 0 0 13px rgba(166,166,166,.75);
}
.map .ab-item {
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: 195px;
  height: auto;
  bottom: 0;
  padding-top: 121px;
}
.map .abi-icon {
  background: #474747;
  top: 26px;
}
.map .abii-3 {
  background-position: -169px 0;
}
#map {
  display: block;
  clear: both;
  height: 422px;
  -moz-box-shadow: inset 0 0 13px rgba(166,166,166,.75);
  -webkit-box-shadow: inset 0 0 13px rgba(166,166,166,.75);
  box-shadow: inset 0 0 13px rgba(166,166,166,.75);
}
.ab-contact .ab-item {
  height: 170px;
}
.ab-contact .ab-item p {
  font-size: 14px;
}
.abii-4 {
  background-position: -317px -1px;
  width: 37px;
  height: 42px;
}
.abii-5 {
  background-position: -359px 0;
  width: 35px;
  height: 33px;
}
.abii-6 {
  background-position: -127px -24px;
  width: 36px;
  height: 36px;
}
.text {
  display: block;
  clear: both;
  margin-bottom: 30px;
}
.text h2,
.text h3,
.text p,
.text ul,
.text ol {
  font-size: 14px;
  color: #4d4d4d;
  margin-bottom: 20px;
}
.text h2 {
  text-transform: uppercase;
  font-size: 16px;
}
.text h3 {
  text-transform: uppercase;
  font-size: 14px;
}
.text ul {
  list-style: inside disc;
}
.text ol {
  list-style: inside decimal;
}
.product-item {
  display: block;
  clear: both;
  margin-bottom: 30px;
}
.product-photo {
  width: 318px;
  height: 398px;
  border: 1px solid #a5a5a5;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background-color: #fff;
  position: relative;
  float: left;
  margin: 0 0 35px;
}
.product-photo .pagination {
  text-align: center;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  z-index: 500;
}
.product-photo .pagination li {
  display: inline-block;
}
.product-photo .pagination li a {
  background: #5664d6;
  text-indent: -9999px;
  width: 10px;
  height: 10px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  margin: 0 5px;
  float: left;
}
.product-photo .pagination li.current a {
  background: #d7b427;
}
.slides_container {
  position: relative;
  display: block;
  height: 398px;
}
.slides_control {
  height: 398px;
  overflow: hidden;
}
.slide {
  width: 318px;
  height: 398px;
}
.product-photo .cat-img {
  display: table;
  width: 318px;
  height: 100%;
}
.product-photo .cat-img span {
  text-align: center;
  text-transform: uppercase;
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  height: 288px;
}
.product-photo .cat-img span img {
  max-width: 306px;
  max-height: 398px;
}
.description {
  width: 650px;
  float: right;
}
.description h2,
.description h3,
.description p,
.description ul,
.description ol {
  font-size: 13px;
  color: #4d4d4d;
  margin-bottom: 15px;
}
.description img {
  margin: 0 15px 10px 0;
  float: left;
}
.description ul {
  list-style: inside disc;
}
.description ol {
  list-style: inside decimal;
}
.tab {
  background-color: #f2f2f2;
  -moz-box-shadow: inset 0 0 13px rgba(166,166,166,.75);
  -webkit-box-shadow: inset 0 0 13px rgba(166,166,166,.75);
  box-shadow: inset 0 0 13px rgba(166,166,166,.75);
  margin-bottom: 1px;
  padding: 18px 0 21px;
  position: relative;
}
.tabs {
  display: table;
  width: 100%;
  margin-bottom: -1px;
  position: relative;
  z-index: 5;
}
.tabs li {
  font-size: 14px;
  color: #4d4d4d;
  text-align: center;
  cursor: pointer;
  display: table-cell;
  height: 50px;
  vertical-align: middle;
  border: 1px solid #d5d5d5;
  background-color: #fdfdfd;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMSAxIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48bGluZWFyR3JhZGllbnQgaWQ9Imxlc3NoYXQtZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMTAwJSIgeDI9IjAlIiB5Mj0iMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNmMWYxZjEiIHN0b3Atb3BhY2l0eT0iMSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZhZmFmYSIgc3RvcC1vcGFjaXR5PSIxIi8+PC9saW5lYXJHcmFkaWVudD48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2xlc3NoYXQtZ2VuZXJhdGVkKSIgLz48L3N2Zz4=);
  background-image: -webkit-linear-gradient(bottom, #f1f1f1 0%, #fafafa 100%);
  background-image: -moz-linear-gradient(bottom, #f1f1f1 0%, #fafafa 100%);
  background-image: -o-linear-gradient(bottom, #f1f1f1 0%, #fafafa 100%);
  background-image: linear-gradient(to top, #f1f1f1 0%, #fafafa 100%);
  border-left: 0;
}
.tabs li:first-child {
  -moz-border-radius: 2px 0 0;
  -webkit-border-radius: 2px 0 0;
  border-radius: 2px 0 0;
  border-left: 1px solid #d5d5d5;
}
.tabs li:last-child {
  -moz-border-radius: 0 2px 0 0;
  -webkit-border-radius: 0 2px 0 0;
  border-radius: 0 2px 0 0;
}
.tabs .active {
  background: #fff;
  border-top: 3px solid #5664d6;
  border-bottom: 0;
}
.box {
  display: none;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #cfcfcf;
  -moz-border-radius: 0 0 2px 2px;
  -webkit-border-radius: 0 0 2px 2px;
  border-radius: 0 0 2px 2px;
  background-color: #fff;
  padding: 20px;
}
.box h2,
.box h3,
.box p,
.box ul,
.box ol {
  font-size: 12px;
  color: #4d4d4d;
  margin-bottom: 15px;
}
.box h2 {
  font-size: 16px;
  color: #5664d6;
  text-transform: uppercase;
}
.box h3 {
  font-size: 14px;
  color: #5664d6;
  text-transform: uppercase;
}
.box ul {
  list-style: inside disc;
}
.box ol {
  list-style: inside decimal;
}
.box.visible {
  display: block;
}
.box table {
  width: 100%;
  border-top: 3px solid #d8b500;
  margin-bottom: 30px;
}
.box td {
  font-size: 12px;
  vertical-align: middle;
}
.box td p {
  margin-bottom: 0;
}

/*! 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;
  z-index: 8020;
}

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

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

.fancybox-opened .fancybox-skin {
  -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
     -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
          box-shadow: 0 10px 25px rgba(0, 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: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  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('../images/fancybox_sprite.png');
}

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

#fancybox-loading div {
  width: 44px;
  height: 44px;
  background: url('../images/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 url('http://tetz.com.ua/wp-content/themes/tetz2/images/blank.gif'); /* helps IE */
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  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;
  visibility: hidden;
  max-width: 99999px;
  max-height: 99999px;
  overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !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;
  background: url('../images/fancybox_overlay.png');
}

.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: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  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, 0.8);
  -webkit-border-radius: 15px;
     -moz-border-radius: 15px;
          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);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
     only screen and (min--moz-device-pixel-ratio: 1.5),
     only screen and (min-device-pixel-ratio: 1.5){

  #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
    background-image: url('../images/fancybox_sprite-2x.png');
    background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
  }

  #fancybox-loading div {
    background-image: url('../images/fancybox_loading-2x.gif');
    background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
  }
}