img,
html,
body,
header,
footer,
div {
  border: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::selection {
  background: #2757b0;
  color: #fff;
}
::-moz-selection {
  background: #2757b0;
  color: #fff;
}
a:active,
a:focus {
  outline: 0;
}
a {
  cursor: pointer;
  text-decoration: none;
}
a.pdf {
  padding-right: 40px;
  position: relative;
  color: #2757b0;
}
a.pdf:after {
  content: '';
  width: 32px;
  height: 100%;
  background: url('/gfx/ico_pdf.png') no-repeat center;
  background-size: contain;
  position: absolute;
  top: 0;
  right: 0;
}
a:hover {
  text-decoration: underline;
}
.clear {
  clear: both;
}
.six {
  height: 6px;
}
.ten {
  height: 10px;
}
.twenty {
  height: 20px;
}
.fifty {
  height: 50px;
}
.left {
  float: left;
}
.right {
  float: right;
}
.col {
  height: auto;
  min-height: 50px;
  float: left;
  box-sizing: border-box;
  width: 49%;
  padding: 20px;
}
.col .col {
  width: 100%;
}
.col.rtline {
  border-right: 1px solid #f1f1f1;
}
.wid-1-2 {
  width: 50%;
}
.wid-1-4 {
  width: 25%;
}
.wid-3-4 {
  width: 75%;
}
.wid-2-3 {
  width: 66%;
}
.wid-1-3 {
  width: 33%;
}
.pdd {
  padding: 55px 70px 55px 70px;
  box-sizing: border-box;
}
.pdd.over_txt {
  padding-top: 20px;
}
.pdd_02 {
  padding: 55px 50px 55px 50px;
  box-sizing: border-box;
}
.trans2 {
  transition: all 0.2s ease;
}
html {
  height: 100%;
  width: 100%;
}
body {
  background: #fff;
  height: auto;
  min-height: 100%;
  width: 100%;
  font-family: 'Play', sans-serif;
  color: #5a5a5a;
}
.loader {
  background: url("/gfx/loader.gif") no-repeat center center;
}
hr {
  clear: both;
  color: none;
  background-color: none;
  border: 1px solid #e0e0e0;
  border-style: none none solid;
}
.fancybox-lock,
.fancybox-overlay {
  overflow: visible !important;
}
#loading,
.loading {
  height: 100px;
  background: url('/gfx/loader.gif') no-repeat center;
  width: auto;
}
.error {
  color: red;
}
.ok {
  color: #4f8032;
}
.frame_error,
.frame_ok,
.frame_attention {
  background: rgba(255, 0, 0, 0.1);
  padding: 10px;
  color: red;
  margin: 10px 0 10px 0;
  text-align: center;
}
.frame_ok {
  background: rgba(83, 240, 9, 0.2);
  background-position: 13px center;
  color: green;
}
::-webkit-input-placeholder {
  color: #4a4a4a;
  font-style: italic;
}
:-moz-placeholder {
  color: #4a4a4a;
  font-style: italic;
}
::-moz-placeholder {
  color: #4a4a4a;
  font-style: italic;
}
:-ms-input-placeholder {
  color: #4a4a4a;
  font-style: italic;
}
.invis {
  display: none;
}
.it {
  font-style: italic;
}
.looo {
  height: auto;
  width: 1200px;
  max-width: 100%;
  margin: 0 auto 0 auto;
  position: relative;
  box-sizing: border-box;
}
.ctr {
  text-align: center;
}
.icons {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  background: url('/gfx/icons.png') no-repeat;
  background-size: 200px 276px;
}
.icons-normal {
  background: url('/gfx/icons.png') no-repeat;
  background-size: 200px 276px;
}
/* Slider */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.slick-list {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
}
.slick-list:focus {
  outline: none;
}
.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}
.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.slick-track {
  position: relative;
  left: 0;
  top: 0;
  display: block;
}
.slick-track:before,
.slick-track:after {
  content: "";
  display: table;
}
.slick-track:after {
  clear: both;
}
.slick-loading .slick-track {
  visibility: hidden;
}
.slick-slide {
  float: left;
  height: 100%;
  min-height: 1px;
  display: none;
}
[dir="rtl"] .slick-slide {
  float: right;
}
.slick-slide img {
  display: block;
}
.slick-slide.slick-loading img {
  display: none;
}
.slick-slide.dragging img {
  pointer-events: none;
}
.slick-initialized .slick-slide {
  display: block;
}
.slick-loading .slick-slide {
  visibility: hidden;
}
.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
  display: none;
}
/* inputs */
input,
select,
textarea {
  border: 1px solid #e1e1e1;
  padding: 6px;
  color: #5a5a5a;
  margin: 0;
  background: #fff;
}
input[type=checkbox] {
  float: left;
  border: 0;
  background: none;
  margin: 3px 0 0 0;
}
input[type=radio] {
  float: left;
  border: 0;
  background: none;
}
input.in_short {
  display: inline-block;
  margin: 0;
  width: 70px;
}
input.in_long {
  display: inline-block;
  width: 300px;
  margin: 0;
}
input.inline {
  display: inline-block;
  margin: 2px 2px 2px 0;
}
input[type=submit],
input[type=button] {
  cursor: pointer;
  width: auto;
  display: inline-block;
  padding: 10px 20px 10px 20px;
  color: #fff;
  background: #2757b0;
  text-transform: uppercase;
  border: 0;
}
input[type=submit]:hover,
input[type=button]:hover {
  text-decoration: none;
  background: #163673;
}
input[type=submit]:focus,
input[type=button]:focus {
  color: #fff;
  border: 0;
}
textarea {
  display: block;
  margin: 10px auto 10px 0;
  width: 80%;
  min-height: 100px;
  resize: none;
}
input .error,
textarea .error {
  border: 1px solid red;
}
input:focus,
textarea:focus {
  border: 1px solid black;
  color: black;
}
label.error {
  color: red;
  font-size: 9pt;
  display: block;
  margin-bottom: 3px;
}
header {
  min-height: 120px;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  display: block;
  transition: all 0.1s linear;
  background: #fff;
}
header.stick-top {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 45px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0;
  z-index: 9999;
}
header.stick-top .logo img {
  max-width: 100px;
}
header.stick-top .logo img.pipe {
  max-width: 27px;
}
header.stick-top .logo .subtitle {
  font-size: 0;
}
header .looo {
  height: 100%;
  transition: all 0.1s linear;
}
header .logo:hover {
  text-decoration: none;
}
header .logo img {
  display: inline-block;
  vertical-align: bottom;
  max-width: 200px;
  transition: all 0.1s linear;
}
header .logo img.pipe {
  max-width: 57px;
}
header .logo .subtitle {
  display: block;
  color: #9a9a9a;
  font-size: 18px;
  font-weight: normal;
  margin-top: 5px;
}
header .menu-wrapper {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
header .menu-wrapper .menu-switch {
  display: inline-block;
  vertical-align: middle;
}
header .menu-wrapper a {
  color: #2757b0;
  font-size: 20px;
  padding: 10px 15px;
  display: inline-block;
  vertical-align: middle;
}
header .menu-wrapper a.phone {
  font-size: 28px;
  font-weight: bold;
  position: relative;
  padding-left: 50px;
}
header .menu-wrapper a.phone:after {
  content: '';
  width: 24px;
  height: 33px;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  background: url('/gfx/awax_sprite.png') no-repeat;
  background-size: 150px 75px;
  background-position: -125px 0;
  transition: all 0.1s linear;
}
header .menu-wrapper a.phone:hover:after {
  transform: translateY(-50%) rotate(20deg);
  -webkit-transform: translateY(-50%) rotate(20deg);
}
header .menu-wrapper a:hover {
  color: #163673;
  text-decoration: none;
}
header a.menu_toggle {
  display: none;
  width: 38px;
  height: 30px;
  position: relative;
  padding: 0;
  z-index: 9999;
}
header a.menu_toggle:hover {
  background: none;
}
header a.menu_toggle:hover span {
  background: #2757b0;
}
header a.menu_toggle span {
  display: block;
  position: relative;
  width: 80%;
  height: 5px;
  background: #ababab;
  margin-bottom: 6px;
}
header a.menu_toggle span:last-child {
  margin-bottom: 0;
}
.slider {
  position: relative;
  margin: 0;
  height: 30vw;
  max-height: 505px;
  border-top: 10px solid #ececec;
}
.slider:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 80px 130px 0 130px;
  border-color: #fff transparent transparent transparent;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  z-index: 99984;
}
.slider:after {
  content: '';
  width: 65px;
  height: 65px;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  background: url('/gfx/awax_sprite.png') no-repeat;
  background-size: 150px 75px;
  background-position: -60px 0;
  transition: all 0.1s linear;
  z-index: 99994;
}
.slider article {
  display: inline-block;
  vertical-align: top;
  width: 50%;
  height: 100%;
  position: relative;
}
.slider article.pipes {
  background: url('/gfx/udraznianie-rur.jpg') no-repeat center;
  background-size: cover;
}
.slider article.camera {
  background: url('/gfx/inspekcja-kamera.jpg') no-repeat center;
  background-size: cover;
}
.slider article span {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  padding: 15px 20px;
  background: rgba(40, 87, 176, 0.83);
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  width: 50%;
}
h1 {
  color: #2757b0;
  font-size: 34px;
  font-weight: 400;
  text-align: center;
  padding: 10px 0 10px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 2%;
}
h1.btm {
  border-top: 0;
}
.about {
  padding: 2% 0 40px 0;
  position: relative;
}
.about:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, #f0f0f0, #fff);
}
.gallery {
  text-align: center;
  padding-bottom: 2%;
}
.gallery .gallery-wrapper {
  min-height: 100px;
  background: #ececec;
  padding: 2% 5%;
}
.gallery a {
  display: inline-block;
  padding: 0;
  box-sizing: border-box;
  max-height: 150px;
  max-width: 150px;
  text-align: center;
  margin: 2% 3%;
  box-shadow: 0 0 30px #c0c0c0;
}
.gallery a img {
  max-width: 100%;
  max-height: 100%;
  display: inline-block;
}
.gallery a:hover {
  border-color: #2757b0;
}
.contact h1 {
  margin-bottom: 0;
}
.contact article {
  display: inline-block;
  width: 50%;
  vertical-align: middle;
  height: 100%;
  box-sizing: border-box;
}
.contact article.addr {
  height: auto;
  font-size: 24px;
  line-height: 160%;
}
.contact article.addr .addr-wrapper {
  padding: 5%;
}
.contact article.addr a {
  color: #2757b0;
  font-weight: bold;
}
.contact article.addr address {
  padding: 20px 0 10px 0;
  font-style: normal;
  line-height: 120%;
}
.contact article.addr strong {
  display: block;
  color: #2757b0;
}
.contact article iframe {
  width: 100%;
  height: 30vw;
}
.content {
  min-height: 200px;
  position: relative;
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2%;
  text-align: justify;
  color: #5a5a5a;
  line-height: 160%;
  font-weight: 300;
  font-size: 16px;
  box-sizing: border-box;
}
.content h1:first-letter,
.content h2:first-letter,
.content h3:first-letter {
  text-transform: uppercase;
}
.content h1.lt,
.content h2.lt,
.content h3.lt {
  text-align: left;
}
.content h2 {
  color: #2757b0;
  font-size: 26px;
  font-weight: 300;
  text-align: center;
  margin: 0 0 30px 0;
  padding-top: 3%;
}
.content h3 {
  color: #2757b0;
  font-size: 22px;
  font-weight: 300;
  text-align: center;
  padding-top: 3%;
}
.content p {
  text-align: justify;
  color: #5a5a5a;
  line-height: 160%;
  font-weight: 300;
  font-size: 16px;
}
.content p.mark {
  color: #2757b0;
}
.content p strong {
  font-weight: 600;
}
.content p.ctr {
  text-align: center;
}
.content p a {
  color: #2757b0;
}
.content .img-txt {
  display: inline-block;
  margin: 10px auto 10px auto;
  max-width: 100%;
}
.content .contact {
  width: 70%;
  margin: 0 auto 0 auto;
}
.content ul {
  list-style-type: none;
  font-size: 18px;
}
.content ul li {
  line-height: 140%;
  margin-bottom: 20px;
  position: relative;
  font-weight: 300;
  font-size: 18px;
  color: #5a5a5a;
}
.content ul li:after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  background: #2757b0;
  top: 9px;
  left: -21px;
  display: block;
}
.content ul li p {
  margin: 0;
}
.content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 20px 0 20px 0;
}
.content table td,
.content table th {
  color: #5a5a5a;
  padding: 6px 10px 6px 10px;
  border: 1px solid #ababab;
  font-size: 16px;
}
.content table td.it,
.content table th.it {
  font-style: italic;
}
.content table td.str,
.content table th.str {
  font-weight: 600;
}
.content table th {
  text-align: left;
  color: #2757b0;
  font-weight: 600;
}
.content table.table_form {
  width: 100%;
  margin: 30px auto 30px auto;
}
.content table.table_form .req,
.content table.table_form .red {
  color: #ff0000;
}
.content table.table_form td,
.content table.table_form th {
  padding: 10px;
  border: 0;
}
.content table.table_form textarea,
.content table.table_form input[type=text] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  font-family: 'Gotham Light', sans-serif;
  color: #9a9a9a;
}
.content table.table_form textarea.error,
.content table.table_form input[type=text].error {
  border-color: #ff0000;
}
.content table.table_form select {
  width: 100%;
}
.content table.table_form input[type=submit] {
  display: inline-block;
  padding: 10px 20px 10px 20px;
  background: #2757b0;
  color: #fff;
  font-size: 20px;
  margin: 10px 0 20px 0;
}
.content table.table_form input[type=submit]:hover {
  text-decoration: none;
  background: #163673;
}
.content table.table_form input[type=checkbox] {
  display: none;
}
.content table.table_form input[type=checkbox] + label {
  background: none;
  display: inline-block;
  padding: 0 0 0 40px;
  position: relative;
  font-size: 18px;
  color: #999;
  margin-bottom: 5px;
}
.content table.table_form input[type=checkbox] + label a {
  color: #999;
}
.content table.table_form input[type=checkbox] + label:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: -1px;
  left: 0;
  font-size: 30px;
  text-align: center;
  line-height: 30px;
  border: 2px solid #c0c0c0;
  background: #fff;
}
.content table.table_form input[type=checkbox]:checked + label:after {
  content: '';
  width: 12px;
  height: 4px;
  position: absolute;
  top: 6px;
  left: 5px;
  display: block;
  border-bottom: 3px solid #2757b0;
  border-left: 3px solid #2757b0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.content .input-wrapper {
  width: 100%;
  display: block;
}
.content input[type=radio] {
  display: none;
}
.content input[type=radio] + label {
  background: none;
  display: inline-block;
  padding: 0 0 10px 40px;
  position: relative;
  font-size: 18px;
  color: #9a9a9a;
  margin-bottom: 5px;
  cursor: pointer;
}
.content input[type=radio] + label a {
  color: #9a9a9a;
}
.content input[type=radio] + label:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: -1px;
  left: 0;
  font-size: 30px;
  text-align: center;
  line-height: 30px;
  border: 2px solid #c0c0c0;
  background: #fff;
  border-radius: 50%;
}
.content input[type=radio]:checked + label:after {
  content: '';
  width: 16px;
  height: 16px;
  position: absolute;
  display: block;
  border-radius: 50%;
  background: #2757b0;
  top: 3px;
  left: 4px;
}
.thumb {
  border: 1px solid #ababab;
  padding: 0;
  height: 220px;
  width: 220px;
  display: inline-block;
  margin: 5px 10px 5px 10px;
  text-align: center;
}
.thumb:hover {
  border: 1px solid #2757b0;
}
.a_back {
  display: block;
  color: #2757b0;
  margin-top: 30px;
  text-decoration: none;
}
.a_back:hover {
  text-decoration: underline;
}
footer {
  width: 100%;
  padding: 1%;
  color: #fff;
  font-size: 11px;
  position: relative;
  background: #2757b0;
  clear: both;
}
footer p {
  display: inline-block;
  margin: 0;
  padding: 0;
}
footer a {
  color: rgba(255, 255, 255, 0.5);
  float: right;
}
footer:after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 50px 30px 50px;
  border-color: transparent transparent #2757b0 transparent;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  z-index: 998;
}
.to-top {
  position: fixed;
  display: block;
  width: 30px;
  height: 30px;
  background: #e5e5e5;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.1s linear;
}
.to-top.stick-top {
  opacity: 1;
}
.to-top:after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #2757b0;
  border-top: 2px solid #2757b0;
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%) rotate(-45deg);
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
}
.to-top:hover {
  background: #e1e1e1;
}
.fancybox-overlay {
  z-index: 9999 !important;
}
.fancybox-wrap {
  z-index: 99999 !important;
}
@media all and (max-width: 1250px) {
  header {
    padding: 0 2% 1% 2%;
    min-height: 10px;
  }
  header .logo img {
    max-width: 150px;
  }
  header .logo img.pipe {
    max-width: 40px;
  }
  header .logo .subtitle {
    font-size: 15px;
  }
  .slider {
    border-top: 8px solid #ececec;
  }
  .slider:before {
    border-width: 60px 100px 0 100px;
    top: -8px;
  }
  .slider:after {
    top: -20px;
    transform: translateX(-50%) scale(0.8);
    -webkit-transform: translateX(-50%) scale(0.8);
  }
  .slider article span {
    padding: 15px 20px;
    font-size: 18px;
  }
  h1 {
    font-size: 3vw;
  }
  .contact article.addr {
    font-size: 20px;
  }
  .contact article.addr address {
    padding: 14px 0 7px 0;
  }
}
@media all and (max-width: 900px) {
  header {
    z-index: 9999;
  }
  header a.menu_toggle {
    display: inline-block;
    vertical-align: middle;
    margin-top: 3px;
    margin-left: 10px;
  }
  header .menu-wrapper .menu-switch {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 999999;
    background: #2757b0;
  }
  header .menu-wrapper .menu-switch a {
    width: 100%;
    color: #fff;
    font-size: 17px;
  }
  .slider {
    border-top: 6px solid #ececec;
  }
  .slider:before {
    border-width: 40px 70px 0 70px;
    top: -6px;
  }
  .slider:after {
    top: -30px;
    transform: translateX(-50%) scale(0.6);
    -webkit-transform: translateX(-50%) scale(0.6);
  }
  .slider article span {
    padding: 10px 15px;
    font-size: 15px;
  }
  .content p {
    font-size: 14px;
  }
  .gallery a {
    max-height: 100px;
    max-width: 100px;
  }
  .contact article.addr {
    font-size: 16px;
  }
  .contact article.addr address {
    padding: 10px 0 5px 0;
  }
}
@media all and (max-width: 600px) {
  body {
    padding-top: 45px;
  }
  header {
    position: fixed;
    top: 0;
    left: 0;
    min-height: 45px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0;
    z-index: 9999;
  }
  header .logo img {
    max-width: 100px;
  }
  header .logo img.pipe {
    max-width: 27px;
  }
  header .logo .subtitle {
    font-size: 0;
  }
  header .menu-wrapper {
    margin-top: 2px;
  }
  header .menu-switch {
    font-size: 3vw;
  }
  h1 {
    font-size: 5vw;
  }
  .content p {
    font-size: 3vw;
  }
  .slider {
    height: auto;
    max-height: none;
  }
  .slider:before,
  .slider:after {
    display: none;
  }
  .slider article {
    width: 100%;
    min-height: 40vw;
  }
  .slider article span {
    font-size: 3vw;
  }
  .gallery a {
    max-height: 15vw;
    max-width: 15vw;
  }
  .contact article {
    width: 100%;
  }
  .contact article iframe {
    height: 40vw;
  }
  .contact article.addr {
    font-size: 4vw;
  }
  .contact article.addr address {
    padding: 10px 0 5px 0;
  }
  footer {
    padding: 2vw;
  }
  footer p,
  footer a {
    font-size: 2vw;
  }
  footer:after {
    border-width: 0 30px 20px 30px;
    top: -20px;
  }
  .to-top {
    opacity: 1;
  }
}
@media all and (max-width: 430px) {
  header .menu-wrapper a.phone {
    font-size: 5vw;
    padding: 10px 5px;
    padding-left: 40px;
  }
  header .menu-wrapper a.phone:after {
    content: '';
    width: 24px;
    height: 33px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%) scale(0.7);
    -webkit-transform: translateY(-50%) scale(0.7);
  }
  header .menu-wrapper a.phone:hover:after {
    transform: translateY(-50%) rotate(20deg) scale(0.7);
    -webkit-transform: translateY(-50%) rotate(20deg) scale(0.7);
  }
  header a.menu_toggle {
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
  }
}
/*! fancyBox v2.1.3 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: 99999;
}
.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;
  zoom: 1;
}
.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('/gfx/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('/gfx/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('/gfx/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;
}
.fancybox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  display: none;
  z-index: 8040;
  background: url('/gfx/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, 0.8);
}
