/**
 * SuperBox
 * The lightbox reimagined. Fully responsive HTML5 image galleries.
 * 
 * Latest version: https://github.com/seyDoggy/superbox
 * Original version: https://github.com/toddmotto/superbox
 * 
 * License <https://github.com/seyDoggy/superbox/blob/master/LICENSE.txt>
 */
.clr { clear: both; }

.superbox-active
{
  word-spacing: 0;
  letter-spacing: 0;
  font-size: 0;
}

.superbox-active *
{
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  word-spacing: normal;
  letter-spacing: normal;
  font-size: 16px;
} 

.superbox-active .superbox-list
{
  position: relative;
  display:inline-block;
  width:12.5%;
  zoom:1;
  overflow: hidden;
  float: left;
  cursor: pointer;
}

.magnificpopup img,
.superbox-active .superbox-list img
{
  width:100%;
  vertical-align:bottom;
  cursor:pointer;
  -webkit-transition: all 1s ease; /* Safari and Chrome */
  -moz-transition: all 1s ease; /* Firefox */
  -ms-transition: all 1s ease; /* IE 9 */
  -o-transition: all 1s ease; /* Opera */
  transition: all 1s ease;
}

.superbox-active .superbox-list img:hover
{
  opacity:.8;
}

.superbox-active .superbox-show
{
  position:relative;
  display:none;
  float:left;
  padding:1.5em;
  width:100%;
  background:#686868;
  /*box-shadow:inset 0 1px 5px #111;*/
  text-align:center;
  border-top: 6px solid #505050;
}

.superbox-active .superbox-show img.superbox-current-img
{
  width:auto;
  height:100%;
  box-shadow:0 1px 4px #222;
  opacity:0;
  max-width:100%;
}

.superbox-active .superbox-close,
.superbox-active .superbox-prev,
.superbox-active .superbox-next
{
  position:absolute;
  width:30px;
  height:30px;
  color: #fff;
  text-decoration: none;
  opacity:0;
  cursor:pointer;
}

.superbox-active .superbox-close
{
  top: 10px;
  right: 15px;
}

.superbox-active .superbox-prev,
.superbox-active .superbox-next
{
  top:50%;
  margin-top: -15px;
}

.superbox-active .superbox-prev
{
  left:10px;
}

.superbox-active .superbox-next
{
  right:10px;
}

.superbox-active .superbox-show > a > i
{
  font-size: 42px;
}

.superbox-active .superbox-close:hover,
.superbox-active .superbox-prev:hover,
.superbox-active .superbox-next:hover
{
  text-decoration:none;
  opacity:1 ! important;
}


.superbox-active .superbox-float
{
  float:left;
}


.csc-textpic-image {
  position: relative;
  -webkit-transition: all 1s ease; /* Safari and Chrome */
  -moz-transition: all 1s ease; /* Firefox */
  -ms-transition: all 1s ease; /* IE 9 */
  -o-transition: all 1s ease; /* Opera */
  transition: all 1s ease;
  overflow: hidden;
}

.magnificpopup:after,
.superbox-active .superbox-list:after {
    position: absolute;
    background-color: rgba(0,0,0,.4);
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    content: "";
    padding-top: 30%;
    font-size: 2em;
    text-align: center;
    color: #fff;
    top:  0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .5s linear;
    box-sizing: border-box;
    z-index: 20;
    -moz-osx-font-smoothing: grayscale;
}

.magnificpopup:after { padding-top: 40%; }

.magnificpopup:hover:after,
.superbox-active .superbox-list:hover:after {
    opacity: 1;
}

.superbox-img:hover {
  /* opacity: 0.7;
  -webkit-transform:scale(1.15);
  -moz-transform:scale(1.15);
  -ms-transform:scale(1.15);
  -o-transform:scale(1.15);
  transform:scale(1.15); */
  cursor: pointer;
}

.magnificpopup:hover > img,
.superbox-list:hover > img {
  -webkit-transform:scale(1.15); /* Safari and Chrome */
  -moz-transform:scale(1.15); /* Firefox */
  -ms-transform:scale(1.15); /* IE 9 */
  -o-transform:scale(1.15); /* Opera */
  transform:scale(1.15);
  cursor: pointer;
}


/*
 * Resonsive Rules
 */

.superbox-active .superbox-2
{
  width:50%;
}

.superbox-active .superbox-4
{
  width:25%;
}

.superbox-active .superbox-6
{
  width:16.66666667%;
}

.superbox-active .superbox-8
{
  width:12.5%;
}




/*  Font Awesome styles
    ------------------------------------------------------- */
.superbox-active [class^="icon-"],
.superbox-active [class*=" icon-"] {
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
}
.superbox-active [class^="icon-"]:before,
.superbox-active [class*=" icon-"]:before {
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  text-decoration: inherit;
  display: inline-block;
  speak: none;
}
/* makes sure icons active on rollover in links */
.superbox-active a [class^="icon-"],
.superbox-active a [class*=" icon-"] {
  display: inline-block;
}
.superbox-active .icon-remove-sign:before    { content: ""; }
.superbox-active .icon-circle-arrow-left:before    { content: ""; }
.superbox-active .icon-circle-arrow-right:before    { content: ""; }


