﻿.alboms .albom-item {
    padding: 0px;
}

.gallery-title {
    /*padding: 0;*/
    overflow: hidden;
    height: auto;
    max-height: 45px;
    line-height: 1.5;
    width: 100%;
    margin-bottom: 0;
}

.gallery-description {
    height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    /* padding: 15px; */
    margin-bottom: 20px;
}

.albomview.picture {
    /* width: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
    /*max-width: 300px;*/
    max-width: 232px;
    width: 85%;
    height: 232px;
}

.picture.thumbnail {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    padding: 0px;
    border-radius: 0px;
    border-color: #d9d5d5;
    height: 100%;
}

.albomview.picture img {
    max-height: 230px;
    /*max-width: 238px;
    max-height: 238px;*/
}

.albom-item {
    padding: 0px;
}


.image-galery {
    width: 200px;
    height: 200px;
}

.border-image {
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 7px;
    margin: 3px;
}

.image {
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-block;
    margin: 2px;
}

    .image img {
        -moz-transition: all 1s ease-out;
        -o-transition: all 1s ease-out;
        -webkit-transition: all 1s ease-out;
        float: left;
    }

.galleryview.picture {
    display: table;
    table-layout: fixed;
}

.silde-show-offer {
    height: 340px;
}

.grid {
    background: rgba(0,0,0,0);
    margin-bottom: 40px;
}

    /* clear fix */
    .grid:after {
        content: '';
        display: block;
        clear: both;
    }

/* ---- .grid-item ---- */

.grid-item {
    float: left;
    width: 33.333%;
}

    .grid-item img {
        width: auto;
    }

.picture {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    padding: 0px;
    border-radius: 0px;
    border-color: #d9d5d5;
    display: table;
    table-layout: fixed;
    margin: 0 0 15px 0;
    width: 100%;
}

    .picture a {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
    }

.gallery-item {
    margin-bottom: 20px;
    height: 100%;
    padding: 20px;
}

.middle-content {
    text-align: center;
}

.picture:hover .cover-bg, .picture:hover .view-hover-image {
    display: block;
}
