﻿
.wsCtGallery
{
    height: 100%;
    width: 100%;
    position: relative;
}

.wsCtGallery img.before
{
    height: 100px;
}

.wsCtGallery .wsPreviewBigImg
{
    background-image: url(/file/app/1/editor/icon/imageplaceholder.svg?color1=r84g84b84&color2=r232g232b232);
    height: calc(100% - 85px);
    background-size: contain;
    background-repeat: no-repeat;
    top: 0px;
    background-position: center center;
    position: absolute;
    width: 100%;
}

.wsCtGallery .wsPreviewWrapperThumbnail
{
    left: 0px;
    right: 0px;
    text-align: center;
    height: 75px;
    position: absolute;
    bottom: 0px;
}

.wsCtGallery .wsPreviewThumbnail
{
    background-image: url(/file/app/1/editor/icon/imageplaceholder.svg?color1=r84g84b84&color2=r232g232b232);
    height: 100%;
    background-position: center center;
    width: 133px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.wsCtGallery .wsBigThumbnailWrapper
{
    position: absolute;
    overflow: hidden;
}

.wsCtGallery .wsBigThumbnail
{
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
}

.wsCtGallery .wsThumbnailWrapper
{
    position: absolute;
    overflow: hidden;

    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: center;
    justify-content: center;

    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.wsCtGallery .wsThumbnailContainer
{
    position: absolute;
    left: 0;
}

.wsCtGallery .wsThumbnail
{
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    opacity: 0.5;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
    cursor: pointer;
}

.wsCtGallery .wsThumbnail.wsSelected
{
    opacity: 1;
    -webkit-transition: opacity 0s;
    transition: opacity 0s;
}

.wsCtGallery .wsThumbnail:hover
{
    opacity: 1;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}


.wsCtGallery .wsBigThumbnailWrapper .wsArrowLeft,
.wsCtGallery .wsBigThumbnailWrapper .wsArrowRight
{
    position: absolute;
    width: 40px;
    height: 140px;
    background-color: #292929;
    top: calc(50% - 70px);
    cursor: pointer;
    -webkit-transition: opacity .3s, visibility .3s;
    transition: opacity .3s, visibility .3s;
    z-index: 1;
    opacity: 0.7;
    visibility:hidden;
}

.wsCtGallery .wsBigThumbnailWrapper .wsArrowLeft.wsActif,
.wsCtGallery .wsBigThumbnailWrapper .wsArrowRight.wsActif
{
    visibility: visible;
}

.wsCtGallery .wsBigThumbnailWrapper .wsArrowLeft
{
    left: 0px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.wsCtGallery .wsBigThumbnailWrapper .wsArrowRight
{
    right: 0px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}


.wsCtGallery .wsBigThumbnailWrapper .wsArrowLeft:hover,
.wsCtGallery .wsBigThumbnailWrapper .wsArrowRight:hover
{
    opacity: 0.9;
}

.wsCtGallery .wsBigThumbnailWrapper .wsArrowLeftImg,
.wsCtGallery .wsBigThumbnailWrapper .wsArrowRightImg
{
    height: 50%;
    width: 50%;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
}

.wsCtGallery .wsBigThumbnailWrapper .wsArrowLeftImg
{
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.wsCtGallery .wsBigThumbnailWrapper .wsArrowRightImg
{
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
}

.wsCtGallery .wsBigThumbnailWrapper .wsCaptionManager
{
    padding: 12px;
    font-family: 'Signika', sans-serif;
}
