﻿
.wsCtGallery
{
    height: 100%;
    width: 100%;
    position: relative;
}

.wsCtGallery img.before
{
    height: 100px;
}

.wsCtGallery div.window.type_slideshow
{
    position:relative;
    overflow:hidden;
}

.wsCtGallery div.container
{
    display:none;
}

.wsCtGallery div.window.type_slideshow div.slider
{
    position:absolute;
    top:0;
    width:auto;
    display: block;
}

.wsCtGallery div.window.type_slideshow div.image
{
    display: inline-block;
    vertical-align: top;
    background-repeat: no-repeat;
    background-position: center;
}

.wsCtGallery div.window.type_slideshow div.player
{
    position:absolute;
    top:10px;
    right:8px;
    background: rgba(41, 41, 41, 0.7);
    text-align:right;
    padding: 4px;
    border-radius: 3px;
    cursor: pointer;
    z-index:2;
}

.wsCtGallery div.type_slideshow.wsTopCaption div.player
{
    background: none;
}

.wsCtGallery div.window.type_slideshow div.player div.autoplay {
    font-weight:bold;  
    display:inline;
}

.wsCtGallery div.window.type_slideshow div.player div.autoplay img {
    width:14px;
    vertical-align:middle;
    padding:5px;
    border:0;
}

.wsCtGallery div.window.type_slideshow div.player div.counter {
    color: #fff;
    font-size: 18px;
    padding: 0 5px;
    display:inline;
    vertical-align: middle;
}

.wsCtGallery div.window.type_slideshow div.arrow_left_zone, .wsCtGallery div.window.type_slideshow div.arrow_right_zone
{
    position:absolute;
    width:40px;
    height: 140px;
    top: calc(50% - 70px);
    display: table;
    text-align: center;
}

.wsCtGallery div.window.type_slideshow div.arrow_left_zone
{
    left:0;
}

.wsCtGallery div.window.type_slideshow div.arrow_right_zone
{
    right:0;
}

.wsCtGallery div.window.type_slideshow div.arrow_left_button, .wsCtGallery div.window.type_slideshow div.arrow_right_button
{
    display: table-cell;
    vertical-align: middle;
    width: 40px; 
    height: 40px;
}

.wsCtGallery div.slideshow_stub
{
    background-image: url(/file/app/1/Editor/Icon/Gallery/SlideShow.svg?color1=r127g127b127);
    height: calc(100% - 85px);
    background-size: contain;
    background-repeat: no-repeat;
    top: 0px;
    background-position: center center;
    position: absolute;
    width: 100%;
}


.wsCtGallery div.window.type_slideshow div.arrow_left_button,
.wsCtGallery div.window.type_slideshow div.arrow_right_button
{
    position: absolute;
    width: 40px;
    height: 140px;
    background-color: #292929;
    top: calc(50% - 70px);
    cursor: pointer;
    opacity: 0.7;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
    z-index: 1;
}

.wsCtGallery div.window.type_slideshow div.arrow_left_button
{
    left: 0px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.wsCtGallery div.window.type_slideshow div.arrow_right_button 
{
    right: 0px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.wsCtGallery div.window.type_slideshow div.arrow_left_button:hover,
.wsCtGallery div.window.type_slideshow div.arrow_right_button:hover
{
    opacity: 0.9;
}

.wsCtGallery div.window.type_slideshow img.arrow_left_img,
.wsCtGallery div.window.type_slideshow img.arrow_right_img
{
    height: 50%;
    width: 50%;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
}

.wsCtGallery div.window.type_slideshow img.arrow_left_img
{
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.wsCtGallery div.window.type_slideshow img.arrow_right_img
{
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
}

.wsCtGallery div.window.type_slideshow ul.ul_arrows
{
    position: absolute;
    padding-left: 0;
    bottom: -4px !important;
    margin: 0 !important;
}

.wsCtGallery div.window.type_slideshow ul.ul_arrows li
{
    width: 15px; 
    color: #fff;
    display: inline-block;
    height: 15px;
    background-color: rgba(41,41,41,0.7);
    border-radius: 50%;
    margin: 0 5px;
    position: relative;
}

.wsCtGallery div.window.type_slideshow ul.ul_arrows li.selected:after
{
    content:"";
    width: 11px;   
    height: 11px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    margin: 2px;
}