/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
 * 
 * Version: 1.3.4 (11/11/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
#fancybox-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1104;
  display: none;
}

#fancybox-loading div {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 480px;
  background-image: url("../img/fancybox.png");
}

#fancybox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  display: none;
}

#fancybox-tmp {
  padding: 0;
  margin: 0;
  border: 0;
  overflow: auto;
  display: none;
}

#fancybox-wrap {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  z-index: 1101;
  outline: none;
  display: none;
  box-sizing: content-box;
}

#fancybox-outer {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  box-shadow: 2px 2px 3px black;
  background: #fff;
}

#fancybox-content {
  width: 0;
  height: 0;
  padding: 0;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1102;
  border: 0 solid #7489d5;
  border-radius: 5px;
  box-sizing: content-box;
}
#fancybox-content > div {
  border-radius: 5px;
}

#fancybox-hide-sel-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1101;
}

#fancybox-close {
  padding-top: 1px;
  right: -6.66667px;
  top: -6.66667px;
  width: 22px;
  height: 22px;
  border-radius: 21px;
  display: none;
  position: absolute;
  cursor: pointer;
  z-index: 2000;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
  background-color: #ff7f0b;
  font-size: 0;
  line-height: 0;
}
#fancybox-close:hover, #fancybox-close:active {
  background-color: #ff420b;
}
#fancybox-close:before {
  content: "";
  margin: 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  border: 1px solid #ffffff;
  display: block;
  background: transparent url(../img/fancybox_custom.png) 0 0 no-repeat;
  background-origin: border-box;
  background-size: 300% 100%;
  box-sizing: border-box;
}

#fancybox-error {
  color: #444;
  font: normal 12px/20px Arial;
  padding: 14px;
  margin: 0;
}

#fancybox-img {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  line-height: 0;
  vertical-align: top;
  border-radius: 5px;
}

#fancybox-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

#fancybox-left, #fancybox-right {
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 35%;
  cursor: pointer;
  outline: none;
  background: transparent;
  z-index: 1102;
  display: none;
}

#fancybox-left {
  left: 0;
}

#fancybox-right {
  right: 0;
}

#fancybox-left-ico, #fancybox-right-ico {
  padding-top: 1px;
  top: 50%;
  left: -9999px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 21px;
  position: absolute;
  cursor: pointer;
  z-index: 2000;
  display: block;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
  background-color: #ff7f0b;
  font-size: 0;
  line-height: 0;
}
#fancybox-left-ico:hover, #fancybox-left-ico:active, #fancybox-right-ico:hover, #fancybox-right-ico:active {
  background-color: #ff420b;
}
#fancybox-left-ico:before, #fancybox-right-ico:before {
  content: "";
  margin: 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  border: 1px solid #ffffff;
  display: block;
  background-origin: border-box;
  background: transparent url(../img/fancybox_custom.png) 0 0 no-repeat;
  background-size: 300% 100%;
  box-sizing: border-box;
}
#fancybox-left-ico#fancybox-left-ico:before, #fancybox-right-ico#fancybox-left-ico:before {
  background-position: 50% 0;
}
#fancybox-left-ico#fancybox-right-ico:before, #fancybox-right-ico#fancybox-right-ico:before {
  background-position: 100% 0;
}

#fancybox-left:hover, #fancybox-right:hover {
  visibility: visible;
  /* IE6 */
}

#fancybox-left:hover span {
  left: 20px;
}

#fancybox-right:hover span {
  left: auto;
  right: 20px;
}

.fancybox-bg {
  position: absolute;
  padding: 0;
  margin: 0;
  border: 0;
  width: 20px;
  height: 20px;
  z-index: 1001;
}

#fancybox-bg-n {
  top: -20px;
  left: 0;
  width: 100%;
  /*background-image: url('../img/fancyBox/fancybox-x.png');*/
}

#fancybox-bg-ne {
  top: -20px;
  right: -20px;
  /*background-image: url('../img/fancybox.png');
  background-position: -40px -162px;*/
}

#fancybox-bg-e {
  top: 0;
  right: -20px;
  height: 100%;
  /*background-image: url('../img/fancyBox/fancybox-y.png');
  background-position: -20px 0;*/
}

#fancybox-bg-se {
  bottom: -20px;
  right: -20px;
  /*background-image: url('../img/fancybox.png');
  background-position: -40px -182px;*/
}

#fancybox-bg-s {
  bottom: -20px;
  left: 0;
  width: 100%;
  /*background-image: url('../img/fancyBox/fancybox-x.png');
  background-position: 0 -20px;*/
}

#fancybox-bg-sw {
  bottom: -20px;
  left: -20px;
  /*background-image: url('../img/fancybox.png');
  background-position: -40px -142px;*/
}

#fancybox-bg-w {
  top: 0;
  left: -20px;
  /*height: 100%;
  background-image: url('../img/fancyBox/fancybox-y.png');*/
}

#fancybox-bg-nw {
  top: -20px;
  left: -20px;
  /*background-image: url('../img/fancybox.png');
  background-position: -40px -122px;*/
}

#fancybox-title {
  font: normal 100%/1.1 latoRegular, Helvetica, sans-serif;
  z-index: 1102;
  /*background: #FF0000;*/
}

.fancybox-title-inside {
  padding-bottom: 16px;
  /*text-align: center;*/
  color: #767b7f;
  background: #fff;
  position: relative;
}

.fancybox-title-outside {
  padding-top: 10px;
  color: #fff;
}

.fancybox-title-over {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #FFF;
  text-align: left;
}

#fancybox-title-over {
  padding: 10px;
  background-image: url("../img/fancyBox/fancy_title_over.png");
  display: block;
}

.fancybox-title-float {
  position: absolute;
  left: 0;
  bottom: -20px;
  height: 32px;
}

#fancybox-title-float-wrap {
  border: none;
  border-collapse: collapse;
  width: auto;
}

#fancybox-title-float-wrap td {
  border: none;
  white-space: nowrap;
}

#fancybox-title-float-left {
  padding: 0 0 0 15px;
  background: url("../img/fancybox.png") -40px -90px no-repeat;
}

#fancybox-title-float-main {
  color: #FFF;
  line-height: 29px;
  font-weight: bold;
  padding: 0 0 3px 0;
  background: url("../img/fancyBox/fancybox-x.png") 0 -40px;
}

#fancybox-title-float-right {
  padding: 0 0 0 15px;
  background: url("../img/fancybox.png") -55px -90px no-repeat;
}

/*Explorer styles relocated in explorer.css*/
