
/*gallery*/
.ldev-gallery-row{
    align-items: stretch;
}
.ldev-gallery-col{
    margin-bottom: 15px;
}
.ldev-question-gallery-item{
    display: inline-block;
    margin: 0 5px 5px 0;
    text-align: center;
    padding: 5px;
}


.ldev-question-gallery-item__title{
    display: block;
    text-align: center;
    margin: 5px 0 0;
}
.ldev-question-gallery-item__caption{
    text-decoration: none;
    display: block;
    color:#363636;
}
.ldev-question-gallery-item__caption:focus,
.ldev-question-gallery-item__caption:active,
.ldev-question-gallery-item__caption:hover{
    text-decoration: none;
    outline: none;
}


.ldev-gallery-style-primary .ldev-question-gallery-item{
    border: 3px solid #eee;
    border-radius: 3px;
    position: relative;
}
.ldev-gallery-style-primary .ldev-question-gallery-item__caption:before{
    display: block;
    content: '';
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: background-color 0.15s ease 0s;
    opacity: 0;
    z-index: -1;
}
.ldev-question-gallery__item-thumb{overflow: hidden}
.ldev-gallery-style-primary .ldev-question-gallery-item img{
    transition: transform 0.15s ease 0s;
    transform: scale3d(1, 1, 1);
}
.ldev-gallery-style-primary .ldev-question-gallery-item:hover .ldev-question-gallery-item__caption:before{
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 1;
    z-index: 2;
}
.ldev-gallery-style-primary .ldev-question-gallery-item:hover img{
    transform: scale3d(1.1, 1.1, 1.1);
}
/*gallery grid*/

.ldev-gallery-col .ldev-question-gallery-item{
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/*gallery slider*/
.slick-slide.ldev-question-gallery-item{text-align: center}
.slick-slide.ldev-question-gallery-item img{margin: 0 auto}
.slick-slide.ldev-question-gallery-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.ldev-question-gallery-wrap .slick-track
{
    display: flex !important;
}

.ldev-question-gallery-wrap .slick-slide
{
    height: inherit !important;
    /*margin: 0 5px;*/
}
/**/

.ldev-question-gallery-item .btn-block{
    position: relative;
    z-index: 5;
    margin: 7px auto 7px;
}