.wrapper {
    width: 290px;
    padding: 0px;
    font-family: arial;
    box-sizing: border-box;
    margin-left: -10px;
}

.mediumImgBox {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    cursor: pointer;
    opacity: 0;
}

.mediumImgOverlay {
    position: relative;
}

.mediumImgOverlay > div {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

img {
    display: block;
    max-width: 100%;
}

div.left, div.right {
    position: absolute;
    top: 22px;
    cursor: pointer;
    display: none;
    height: 24px;
    width: 14px;
}

.left {
    left: -20px;
    background: url('../../images/site/gallery_arrow_small_L.png');
}

.right {
    right: -20px;
    background: url('../../images/site/gallery_arrow_small_R.png');
}


div.disable {
    display: none !important;
}

.smallImages > img {
    float: left;
    width: 55px;
    height: 55px;
    margin: 5px;
    cursor: pointer;
    border: 1px solid #bfc6cb;
    box-shadow: 0px 2px 4px rgba(0,0,0,.2);
}

.mediumImgMsg {
    font-size: 12px;
    text-align: center;
    margin: 2px 0 5px;
}

.lineImgs {
    background-color: #FFFFFF;
    /*margin-top: 10px;*/
    text-align: center;
    position: relative;
}

.lineImgs:after {
    content: '';
    display: block;
    clear: both;
    float: none;
}

.smallImagesBox {
    max-width: 268px;
    overflow: hidden;
    margin: 0 auto;
}

.smallImages {
  position: relative;
  margin: 0 auto;
}

.bigImgBox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10000;
    margin: -300px 0 0 -251px;
    max-width: 502px;
}

.bigImgClose {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 0;
    width: 25px;
    height: 25px;
    background: url('../../images/site/gallery_close.png');
}

.bigImgInnerBox {
    border: 1px solid #bfc6cb;
    background: #fff;
}

.bigImgBox a {
    position: absolute;
    top: 33%;
    z-index: 9;
    cursor: pointer;
    width: 30px;
    height: 72px;
    opacity: 0;
    transition: opacity 0.2s;
}

.bigImgBox:hover > a {
    opacity: 1;
}

.bigImgInnerBox:hover a {
    opacity: 1;
}

a.preImg {
    background: url('../../images/site/gallery_arrow_big_L.png');
    left: 15px;
}

a.nextImg {
    background: url('../../images/site/gallery_arrow_big_R.png');
    right: 15px;
}

.bigImgBottom.smallImages {
    width: auto !important;
    text-align: center;
    margin-top: 12px;
}

.bigImgBottom.smallImages > img {
    width: 70px;
    height: 70px;
    float: none;
    display: inline-block;
}

img.active {
    border-color: #fd2f82;
}

.boxOverlay {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(0,0,0,.7);
}
