/**
 * Lightcase - jQuery Plugin
 * The smart and flexible Lightbox Plugin.
 *
 * @author		Cornel Boppart <cornel@bopp-art.com>
 * @copyright	Author
 *
 * @version		2.5.0 (11/03/2018)
 */
/**
 * Lightcase settings
 *
 * Note: Override default settings for your project without touching this source code by simply
 * defining those variables within a SASS map called '$lightcase-custom'.
 *
 * // Example usage
 * $lightcase-custom: (
 *   'breakpoint': 768px
 * );
 */
@font-face{
  font-weight: normal;
  font-style: normal; 
  font-family: 'lightcase';
  src: url('../fonts/lightcase.eot?55356177');
  src: url('../fonts/lightcase.eot?55356177#iefix') format('embedded-opentype'), url('../fonts/lightcase.woff?55356177') format('woff'), url('../fonts/lightcase.ttf?55356177') format('truetype'), url('../fonts/lightcase.svg?55356177#lightcase') format('svg');
}

[class*='lightcase-icon-']:before{
  display: inline-block;
  width: 1em;
  text-align: center;
  text-decoration: inherit;
  text-transform: none;
  font-weight: normal;
  font-style: normal;
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  font-family: 'lightcase', sans-serif;
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  speak: none;
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

/* Codes */
.lightcase-icon-play:before{
  content: '\e800';
}

.lightcase-icon-pause:before{
  content: '\e801';
}

.lightcase-icon-close:before{
  content: '\e802';
}

.lightcase-icon-prev:before{
  content: '\e803';
}

.lightcase-icon-next:before{
  content: '\e804';
}

.lightcase-icon-spin:before{
  content: '\e805';
}

/**
 * Mixin providing icon defaults to be used on top of font-lightcase.
 *
 * Example usage:
 * @include icon(#e9e9e9)
 */
/**
 * Mixin providing icon defaults including a hover status to be used
 * on top of font-lightcase.
 *
 * Example usage:
 * @include icon-hover(#e9e9e9, #fff)
 */
/**
 * Provides natural content overflow behavior and scrolling support
 * even so for touch devices.
 *
 * Example usage:
 * @include overflow()
 */
/**
 * Neutralizes/resets dimensions including width, height, position as well as margins,
 * paddings and styles. Used to enforce a neutral and unstyled look and behavoir!
 *
 * Example usage:
 * @include clear(true)
 *
 * @param boolean $important
 */

@keyframes lightcase-spin{
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(359deg);
  }
}

#lightcase-case{
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2002;
  display: none;
  text-align: left;
  text-shadow: 0 0 10px rgba(0, 0, 0, .5); 
  font-size: 13px;
  font-family: arial, sans-serif;
  line-height: 1.5;
}

html[data-lc-type=inline] #lightcase-content,
html[data-lc-type=ajax] #lightcase-content,
html[data-lc-type=error] #lightcase-content{
     box-shadow: none; 

  -o-box-shadow: none;
}
html[data-lc-type=inline] #lightcase-content .lightcase-contentInner,
html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner,
html[data-lc-type=error] #lightcase-content .lightcase-contentInner{
     box-sizing: border-box; 

  -o-box-sizing: border-box;
}

html[data-lc-type=image] #lightcase-content .lightcase-contentInner{
  position: relative;
  overflow: hidden !important;
}

#lightcase-case p.lightcase-error{
  overflow: hidden;
  margin: 0;
  color: #aaa; 
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
}

.lightcase-open body{
  overflow: hidden;
}
.lightcase-isMobileDevice .lightcase-open body{
  max-width: 100%;
  max-height: 100%;
}

#lightcase-info{
  position: absolute;
  padding-top: 15px;
}
#lightcase-info #lightcase-title,
#lightcase-info #lightcase-caption{
  margin: 0;
  padding: 0;
  text-overflow: ellipsis; 
  font-weight: normal;
  line-height: 1.5;
}
#lightcase-info #lightcase-title{
  color: #aaa; 
  font-size: 17px;
}
#lightcase-info #lightcase-caption{
  clear: both;
  color: #aaa; 
  font-size: 13px;
}
#lightcase-info #lightcase-sequenceInfo{
  color: #aaa; 
  font-size: 11px;
}

#lightcase-loading{
  position: fixed;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  z-index: 2001;
  margin-top: -.5em;
  margin-left: -.5em;
  width: 1.123em;
  height: auto;
  text-align: center;
  text-shadow: none;
  text-shadow: 0 0 15px #fff;
  font-size: 38px;
  font-size: 32px;
  line-height: 1;
  opacity: 1;
  -moz-transform-origin: 50% 53%;
  animation: lightcase-spin .5s infinite linear;
}
#lightcase-loading,
#lightcase-loading:focus{
  color: #fff;
  text-decoration: none;
  transition: color, opacity, ease-in-out .25s; 

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#lightcase-loading> span{
  display: inline-block;
  text-indent: -9999px;
}

a[class*='lightcase-icon-']{
  position: fixed;
  z-index: 9999;
  width: 1.123em;
  height: auto;
  outline: none;
  text-align: center;
  text-shadow: none;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}
a[class*='lightcase-icon-'],
a[class*='lightcase-icon-']:focus{
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  transition: color, opacity, ease-in-out .25s; 

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a[class*='lightcase-icon-']> span{
  display: inline-block;
  text-indent: -9999px;
}
a[class*='lightcase-icon-']:hover{
  color: white;
  text-shadow: 0 0 15px white;
}
.lightcase-isMobileDevice a[class*='lightcase-icon-']:hover{
  color: #aaa;
  text-shadow: none;
}
a[class*='lightcase-icon-'].lightcase-icon-close{
  position: fixed;
  top: 15px;
  right: 15px;
  bottom: auto;
  margin: 0;
  outline: none; 
  opacity: 0;
}
a[class*='lightcase-icon-'].lightcase-icon-prev{
  left: 15px;
}
a[class*='lightcase-icon-'].lightcase-icon-next{
  right: 15px;
}
a[class*='lightcase-icon-'].lightcase-icon-pause,
a[class*='lightcase-icon-'].lightcase-icon-play{
  left: 50%;
  margin-left: -.5em;
}

#lightcase-overlay{
  position: fixed;
  top: -9999px;
  bottom: -9999px;
  left: 0;
  z-index: 2000;
  display: none;
  min-height: 100%;
  width: 100%;
  background: #333;
}

@media screen and (max-width: 640px){
  html[data-lc-type=inline] #lightcase-case,
  html[data-lc-type=ajax] #lightcase-case{
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    overflow: auto !important; 
    margin: 0 !important;
    padding: 55px 0 70px 0;
    width: 100% !important;
    height: 100% !important;
  }
  html[data-lc-type=inline] #lightcase-content,
  html[data-lc-type=ajax] #lightcase-content,
  html[data-lc-type=error] #lightcase-content{
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    background: none !important;
  }
  html[data-lc-type=inline] #lightcase-content .lightcase-contentInner,
  html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner,
  html[data-lc-type=error] #lightcase-content .lightcase-contentInner{
    padding: 15px;
  }
  html[data-lc-type=inline] #lightcase-content .lightcase-contentInner,
  html[data-lc-type=inline] #lightcase-content .lightcase-contentInner> *,
  html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner,
  html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner> *,
  html[data-lc-type=error] #lightcase-content .lightcase-contentInner,
  html[data-lc-type=error] #lightcase-content .lightcase-contentInner> *{
    max-width: none !important; 
    width: 100% !important;
  }
  html[data-lc-type=inline] #lightcase-content .lightcase-contentInner> *:not(iframe),
  html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner> *:not(iframe),
  html[data-lc-type=error] #lightcase-content .lightcase-contentInner> *:not(iframe){
    max-height: none !important; 
    height: auto !important;
  }
  html.lightcase-isMobileDevice[data-lc-type=iframe] #lightcase-content .lightcase-contentInner iframe{
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  html[data-lc-type=inline] #lightcase-content .lightcase-contentInner .lightcase-inlineWrap,
  html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner .lightcase-inlineWrap,
  html[data-lc-type=error] #lightcase-content .lightcase-contentInner .lightcase-inlineWrap{
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    background: none !important;
  }
  #lightcase-content h1,
  #lightcase-content h2,
  #lightcase-content h3,
  #lightcase-content h4,
  #lightcase-content h5,
  #lightcase-content h6,
  #lightcase-content p{
    color: #aaa;
  }
  #lightcase-case p.lightcase-error{
    padding: 30px 0;
  }
  #lightcase-info #lightcase-title{
    position: fixed;
    top: 10px;
    left: 0;
    padding: 5px 15px;
    max-width: 87.5%;
    background: #333;
  }
  .lightcase-fullScreenMode #lightcase-info{
    padding-right: 15px; 
    padding-left: 15px;
  }
  html:not([data-lc-type=image]):not([data-lc-type=video]):not([data-lc-type=flash]):not([data-lc-type=error]) #lightcase-info{
    position: static;
  }
  a[class*='lightcase-icon-']{
    bottom: 15px;
    font-size: 24px;
  }
  #lightcase-overlay{
    opacity: 1 !important;
  }
}

@media screen and (min-width: 641px){
  html:not([data-lc-type=error]) #lightcase-content{
    position: relative;
    z-index: 1;
    background-color: #fff;
       box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    text-shadow: none;

    -webkit-backface-visibility: hidden; 
    -o-box-shadow: 0 0 30px rgba(0, 0, 0, .5);
  }
  html[data-lc-type=image] #lightcase-content,
  html[data-lc-type=video] #lightcase-content{
    background-color: #333;
  }
  html:not([data-lc-type=error]) #lightcase-content .lightcase-contentInner .lightcase-inlineWrap{
    overflow: auto;
       box-sizing: border-box; 
    padding: 30px;

    -o-box-sizing: border-box;
  }
  #lightcase-content h1,
  #lightcase-content h2,
  #lightcase-content h3,
  #lightcase-content h4,
  #lightcase-content h5,
  #lightcase-content h6,
  #lightcase-content p{
    color: #333;
  }
  #lightcase-case p.lightcase-error{
    padding: 0;
  }
  a[class*='lightcase-icon-'].lightcase-icon-pause,
  a[class*='lightcase-icon-'].lightcase-icon-play{
    opacity: 0;
  }
  a[class*='lightcase-icon-']{
    bottom: 50%;
    margin-bottom: -.5em;
  }
  a[class*='lightcase-icon-']:hover,
  #lightcase-case:hover~ a[class*='lightcase-icon-']{
    opacity: 1;
  }
}

@media screen and (max-width: 640px) and (min-width: 641px){
  html[data-lc-type=image] #lightcase-content .lightcase-contentInner,
  html[data-lc-type=video] #lightcase-content .lightcase-contentInner{
    line-height: .75;
  }
}
