
.wsLightBox
{
    font-family: 'Signika', sans-serif;
    position: fixed;
    left: 0px;
    right: 0px;
    margin: auto;
    display: none;
    padding: 5px;
    width: 100%;
    -webkit-flex-direction: column;
    flex-direction: column;
    z-index: 2;
    top: 0 !important;
    height: 100vh !important;
}

.wsLightBox.open
{
    display: -webkit-box !important;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox !important;  /* TWEENER - IE 10 */
    display: -webkit-flex !important; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex !important; /* NEW, */
}

.wsLightBoxContentWrapper
{
  text-align:center;
  display:block;
  display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  height: 90%;
}


.wsLightBoxContentWrapper .wsContentWrapper
{
    display: inline-block;
    vertical-align: middle;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: space-around; /* Safari 6.1+ */
    justify-content: space-around;
}

.wsLightBoxContentWrapper .wsArrowLeftWrapper,
.wsLightBoxContentWrapper .wsArrowRightWrapper
{
    display:inline-block;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
    -webkit-align-items: center; /* Safari 7.0+ */
    align-items: center;
    cursor: pointer;
}

.wsLightBoxContentWrapper .wsArrowRightWrapper
{
    -webkit-justify-content: flex-end; /* Safari 6.1+ */
    justify-content: flex-end;
}

/*ToolBar*/
.wsLightBox .wsToolBar
{
    color: #fff;
    text-align: right;
}

.wsLightBox  .wsCloseWrapper
{
    text-align:right;
}

.wsLightBox  .wsClose
{
    display: inline-block;
    width: 20px;
    height: 20px;
    cursor: pointer;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    color: #fff;
    font-size:50px;
    line-height: 0.8;
    margin-right: -7px;
}

.wsLightBox  .wsClose:hover
{
    color: red;
}

.wsLightBox.editorOnly  .wsClose
{
    color: #333;
}

/*img*/
.wsLightBox .wsImg
{
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0 auto;
}

/*Arrows*/
.wsLightBox .wsArrowLeft, .wsLightBox .wsArrowRight
{
    width: 30px;
    height: 30px;
    display: none;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    margin-right:30px;
}

.wsLightBox .wsArrowLeft
{    
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
     margin-left:30px;
}

.wsLightBox .wsArrowRight
{
    float: right;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

/*Footer*/
.wsLightBox .wsFooter 
{
    height: 100px;
    display: none;
    overflow: auto;
    color: #fff;
    text-align:center;
    padding-top: 10px;
}

.wsLightBox .wsFooter > div
{
    margin: 5px 10px 0px 10px;
}

.wsLightBox .wsFooter > div:nth-child(1)
{
    font-weight: bold;
}

/*Modal*/
.wsLightBox.wsModal
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.85;
    display: none;
}

.wsLightBox.wsModal.editorOnly
{
    background-color: #fff;
    opacity: 1;
}

.wsLoadingFlexContainer
{
    width: 100%;
    height: 100%;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
}

.wsLoadingSpinnerBlack
{
    margin: 6em auto;
    font-size: 8px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(0, 0, 0, 0.2);
    border-right: 1.1em solid rgba(0, 0, 0, 0.2);
    border-bottom: 1.1em solid rgba(0, 0, 0, 0.2);
    border-left: 1.1em solid #000000;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

.wsLoadingSpinnerBlack,
.wsLoadingSpinnerBlack:after
{
    border-radius: 50%;
    width: 10em;
    height: 10em;
    outline: 1px solid transparent;
}

@-webkit-keyframes load8 
{
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 
{
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.wsLightBox.wsMobile
{
    box-sizing: border-box;
    padding: 0 10px;
    height: 100%;
}

.wsLightBox.wsMobile .wsImg
{
    width: 100%;
    height: 100%;
    background-size:contain;
}

.wsLightBox.wsMobile .wsContentWrapper
{
    -webkit-flex-grow: 20;
    flex-grow: 20;
}

.wsLightBox.wsMobile .wsContentWrapper > div
{
    height: 100%;
}

.wsLightBox.wsMobile .wsArrowLeftWrapper,
.wsLightBox.wsMobile .wsArrowRightWrapper
{
   display: none;
}

.wsLightBox.wsMobile .wsCloseWrapper,
.wsLightBox.wsMobile .wsToolBar
{
    width: 50%;
    text-align: left;
    display: inline-block;
    padding: 0 20px;
    box-sizing: border-box;
    vertical-align: middle;
}

.wsLightBox.wsMobile .wsCloseWrapper
{
    text-align:right;
}

.wsLightBox.wsMobile .wsClose
{
    margin-right:-10px;

}

.wsLightBox.wsMobile .wsLightBoxContentWrapper .wsContentWrapper
{
    height: 100%;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}


