/* 
 * Boxer v3.2.0 - 2014-09-20 
 * A jQuery plugin for displaying images, videos or content in a modal overlay. Part of the Formstone Library. 
 * http://formstone.it/boxer/ 
 * 
 * Copyright 2014 Ben Plum; MIT Licensed 
 */

.boxer-lock {
  overflow: hidden !important;
}
#boxer-overlay {
    background-color: rgba(255,255,255,0.8);
    filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#88ffffff,EndColorStr=#88ffffff);
    -ms-filter: "progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#88ffffff,EndColorStr=#88ffffff)";
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  -webkit-transition: opacity 0.25s linear;
          transition: opacity 0.25s linear;
  width: 100%;
   z-index: 2000005;
  /*z-index: 105;*/
}
.boxer-open #boxer-overlay {
  opacity: 1;
}
#boxer {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 25px #ccc;
  opacity: 0;
  padding: 10px;
  position: absolute;
   z-index: 2000005;
  /*z-index: 105;*/
}
#boxer.inline {
  padding: 30px;
}
#boxer.animating {
  -webkit-transition: left 0.25s ease, opacity 0.25s linear, top 0.25s ease;
          transition: left 0.25s ease, opacity 0.25s linear, top 0.25s ease;
}
#boxer.animating .boxer-container {
  -webkit-transition: height 0.25s ease, width 0.25s ease;
          transition: height 0.25s ease, width 0.25s ease;
}
#boxer.animating .boxer-content {
  -webkit-transition: opacity 0.25s linear;
          transition: opacity 0.25s linear;
}
.boxer-open #boxer,
.boxer-open #boxer .boxer-content {
  opacity: 1;
}
.boxer-open #boxer.loading .boxer-content {
  opacity: 0;
}
#boxer * {
  -webkit-transition: none;
          transition: none;
}
#boxer .boxer-close {
  cursor: pointer;
  display: block;
  height: 30px;
  position: absolute;
  padding: 0;
  right: -40px;
  top: -30px;
  width: 30px;
  text-indent: -99999px;
   z-index: 2000006;
  /*z-index: 106;*/
}
#boxer .boxer-close:before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  color: #333333;
  display: block;
  content: "";
  width: 30px;
  height: 24px;
  background: url(/common/images/btn_modal_icon.png) 0 0 no-repeat;
  background: url(/common/images/btn_modal_icon_ie8.png) 0 0 no-repeat \9;
  background-size: 91px 24px;
  line-height: 30px;
  margin: auto;
  text-align: center;
  text-indent: 0;
  -webkit-transition: color 0.15s linear;
          transition: color 0.15s linear;
}

.no-touch #boxer .boxer-close:hover {
  background-position: -70px -20px;
}
#boxer .boxer-container {
  background: #fff;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
   z-index: 2000005;
  /*z-index: 105;*/
}
#boxer.loading .boxer-container {
  background: #ffffff url(jquery.fs.boxer-loading.gif) no-repeat center;
}
#boxer .boxer-content {
  background: #fff;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  width: 10000px;
}
.no-touch #boxer .boxer-content .boxer-control,
.no-touch #boxer .boxer-content .boxer-control.disabled {
  opacity: 0;
}
.no-touch #boxer .boxer-content:hover .boxer-control {
  opacity: 0.75;
}
.no-touch #boxer .boxer-content:hover .boxer-control:hover {
  opacity: 1;
}
.no-touch #boxer .boxer-content:hover .boxer-control.disabled {
  opacity: 0.3;
  cursor: default !important;
}
#boxer .boxer-image {
  float: left;
}
#boxer .boxer-video {
  height: 100%;
  width: 100%;
}
#boxer .boxer-iframe {
  border: none;
  float: left;
  height: 100%;
  overflow: auto;
  width: 100%;
}
#boxer .boxer-meta {
  clear: both;
}
#boxer .boxer-control {
	display: block;
  cursor: pointer;
  display: block;
 	height: 24px;
  margin-right: auto;
  margin-left: auto;
  position: absolute;
  text-indent: -99999px;
  overflow: hidden;
  top: 0;
  bottom: 0;
 	width: 30px;
  -webkit-transition: opacity 0.25s linear;
          transition: opacity 0.25s linear;
}
#boxer .boxer-control:before {
	display: block;
	content: "";
	width: 30px;
	height: 24px;
 	background: url(/common/images/btn_modal_icon_ie8.png) no-repeat \9;
}

#boxer:hover .boxer-control:before {
 	background: url(/common/images/btn_modal_icon.png) no-repeat;
 	background-size: 91px 24px;
}

#boxer .boxer-control.previous {
  left: 10px;
}
#boxer .boxer-control.previous:before {
	background-position: -30px 0;
}
#boxer .boxer-control.next {
  right: 10px;
}
#boxer .boxer-control.next:before {
	background-position: -61px 0;
}

#boxer .boxer-control.disabled {
  opacity: 0.3;
}
#boxer .boxer-position {
  color: #999;
  font-size: 11px;
  margin: 0;
  padding: 15px 10px 5px;
}
#boxer .boxer-caption p {
  margin: 0;
  padding: 15px 10px 10px 10px;
}
#boxer .boxer-caption.gallery p {
  padding-top: 0;
}

#boxer .boxer-caption.gallery p:after {
	padding: 0;/*resset*/
}
#boxer.mobile {
    background-color: rgba(0,0,0,0.8);
    filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#88000000,EndColorStr=#88000000);
    -ms-filter: "progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#88000000,EndColorStr=#88000000)";
  border-radius: 0;
  height: 100%;
  left: 0;
  padding: 40px 10px 0;
  position: fixed;
  top: 0;
  width: auto;
}
#boxer.mobile .boxer-close {
  background-color: transparent;
  background-position: -70px -60px;
  border-radius: 0;
  right: 0;
  top: 5px;
}
#boxer.mobile .boxer-container {
  background: none;
  position: relative;
}
#boxer.mobile .boxer-content {
  background-color: transparent;
}
#boxer.mobile .boxer-control {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  margin: -20px 0 0;
  top: 50%;
}
#boxer.mobile .boxer-control.previous {
  float: left;
  left: 10px;
}

#boxer.mobile .boxer-control.previous:before {
	display: block;
	content: "";
	width: 60px;
	height: 24px;
	background: url(/common/images/btn_modal_icon.png) -31px 0 no-repeat;
	background-size: 91px 24px;
}

#boxer.mobile .boxer-control.next {
  float: right;
  right: 30px;
}
#boxer.mobile .boxer-control.next:before {
	display: block;
	content: "";
	width: 30px;
	height: 24px;
	background: url(/common/images/btn_modal_icon.png) -61px 0 no-repeat;
	background-size: 91px 24px;
}

#boxer.mobile .boxer-control.disabled {
  opacity: 0.3;
}
@media screen and (min-width: 980px) {
  #boxer.mobile .boxer-control {
    opacity: 1 !important;
  }
  #boxer.mobile .boxer-control.disabled {
    opacity: 0.3 !important;
  }
}
#boxer.mobile .boxer-meta {
  bottom: 0;
  background-color: transparent;
  left: 0;
  padding: 15px 0 10px;
  position: absolute;
  width: 100%;
}
#boxer.mobile .boxer-position {
  padding: 0 50px;
}
#boxer.mobile .boxer-caption p {
  color: #eee;
  padding: 10px 70px 0 50px;
}
#boxer.mobile .boxer-image {
  -webkit-transition: none !important;
          transition: none !important;
  -webkit-transform: translate(0px, 0px);
      -ms-transform: translate(0px, 0px);
          transform: translate(0px, 0px);
}
#boxer.mobile.animated .boxer-image {
  -webkit-transition: -webkit-transform 0.25s ease-out !important;
          transition: transform 0.25s ease-out !important;
}
#boxer.mobile.loading .boxer-container {
  background: url(/common/images/jquery.fs.boxer-loading-dark.gif) no-repeat center;
}
#boxer.mobile.inline .boxer-content,
#boxer.mobile.iframe .boxer-content {
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
