

.imlbWrap {
  position: fixed;
  display: none;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 0 0 0 0;
  z-index: 9998;
  text-align: center;
  background: rgba(40,40,40,0.89);
  box-sizing: border-box;
}
.imlbWrap a {
    text-decoration:none;
}
.imlbWrap::before, .imlbWrap:before {
  content: '';
  position: relative;
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.imlbContent {
    position:absolute;
    top:0px;
    vertical-align: middle;
    width:100%;
    height:100%;
}

.imlbDisplay {
    position:relative;
    padding:35px 100px;
    box-sizing:border-box;
    z-index:100;
}
.imlbDisplay div {
    position:relative;
}
.imlbDisplay div img {
    display:block;
    width:auto;
    max-height: 100%;
    height:auto;
    object-fit:contain;
}
.imlbDisplay .video {
    cursor:pointer;
}

.imlbDisplay img {
    display:block;
    margin:auto;
    width:auto;
    height:auto;
    max-height:100%;
    max-width:100%;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    object-fit:cover;
}
.imlbControls {
    position:fixed;
    top: 50%;
    width:100%;
    margin: -30px 0 0 0;
    z-index: 900;
}
.imlbPrev, .imlbNext {
   font-family: "MrEavesModOT", Arial, Verdana, Tahoma, sans-serif;
   font-size: 0;
   font-weight: normal;
   letter-spacing: .25em;
   text-transform: uppercase;
   color: #fff;
   height: auto;
   width: auto;
   display:inline-block;
   line-height:29px;
   vertical-align:middle;
}

.imlbPrev {
    position:absolute; left:0px; margin-left:25px;-webkit-transition: .25s ease;-moz-transition: .25s ease;transition: .25s ease;
}
.imlbPrev:hover, .imlbPrev:focus {margin-left: 10px;}
.imlbNext {
    position:absolute; right:0px; margin-right:25px;-webkit-transition: .25s ease;-moz-transition: .25s ease;transition: .25s ease;
}
.imlbNext:hover, .imlbNext:focus {margin-right: 10px;}
.imlbPrev::before, .imlbPrev:before,
.imlbNext::after, .imlbNext:after {
    position:relative;
        display: inline-block;
        content: '';
        width: 48px;
        height: 51px;
        vertical-align: middle;
        top:-2px;
    }
.imlbPrev::before, .imlbPrev:before {
     margin-right: 25px; 
     background: url("/images/banner-arrow-sprite.png") no-repeat 0 -61px;
     background-size: 100% auto;
}

.imlbNext::after, .imlbNext:after {
    margin-left: 25px; 
    background: url("/images/banner-arrow-sprite.png") no-repeat 0 0;
    background-size: 100%;
}
.imlbCaption {
    /*padding:0px 25px 15px 25px;*/
    color:#fff;
    text-align:center;
    margin:0 auto;
    width:100%;
    position:fixed;
    font-size: 20px;
    line-height: 1.4em;
    bottom:0px;
    width:100%;
    padding:15px 250px;
    min-height: 120px;
    height:auto;
    max-height:10%;
    overflow-y:auto;
}
.imlbCaption.hidden, .imlbControls.hidden {display: none;}
.imlbClose {
    position:absolute;
    display:block;
    height: 120px;
    width: 120px;
    top: 0;
    right: 0;
    z-index: 500;
}
.imlbClose::before, .imlbClose:before {
    content:'';
    position: absolute;
    display: block;
    top:0;
    right: 0;
    width:0;
    height: 0;
    border-top: 112px solid #d4291b;
    border-left: 112px solid transparent;

}
.imlbClose::after, .imlbClose:after {
    content: '';
    position: absolute;
    display: block;
    top: 18px;
    right: 18px;
    width: 24px;
    height: 24px;
    background: url(/cassette.axd/file/images/refresh-images/menuClose-8a7a63f9dd859d054c626a016e29fa6fb13f08b3.png) no-repeat center center;
    background-size: 24px auto;
    -webkit-filter: drop-shadow(11px 15px 6.25px rgba(0,0,0,.55));
    filter: drop-shadow(11px 15px 6.25px rgba(0,0,0,.55));
    transition: all .25s ease;

}
.imlbClose::after:hover, .imlbClose::after:focus, .imlbClose:after:hover, .imlbClose:after:focus { top: 20px; -webkit-filter: drop-shadow(4px 6px 5.25px rgba(0,0,0,.75)); filter: drop-shadow(4px 6px 5.25px rgba(0,0,0,.75));}

.imlbNoScroll {overflow:hidden; height: 100%;}
.imlbHidden {display:none;}

@media screen and (max-width: 767px) {

    .imlbWrap .imlbClose {
        height: 65px;
        width: 65px;
        background-size: 15px auto;
    }
    .imlbWrap .imlbDisplay {padding:8% 20px 20px 20px;}
    .imlbWrap .imlbControls {
        max-height:30%;
        top: auto;
        bottom: 0;
        margin: 0;
        height: 60px;
    }
    
    .imlbWrap .imlbCaption {font-size:12px;line-height:20px; padding: 15px 50px;}
    .imlbWrap .imlbControls.hidden,.imlbWrap .imlbCaption.hidden {display: none; height: 0; padding: 0; margin: 0; max-height: 0; min-height: 0;}
  /*.imlbPrev::before, .imlbPrev:before, .imlbNext::after, .imlbNext:after { width: 13px; height: 30px; }*/
  .imlbNext { margin-right: 15px;}
  .imlbPrev { margin-left: 15px;}
  .imlbPrev::before, .imlbPrev:before, .imlbNext::after, .imlbNext:after {width: 20px; height: 23px; }
  .imlbPrev::before, .imlbPrev:before {background-size: 100% auto; background-position: 0 -24px;}
  .imlbNext::after, .imlbNext:after {background-size: 100% auto;}
}