/* Album & Image Gallery Plus Lightbox - public styles */

.aigpl-gallery-wrp,
.aigpl-gallery-album-wrp {
    margin: 0 -5px;
    box-sizing: border-box;
}

.aigpl-gallery-wrp *,
.aigpl-gallery-album-wrp * {
    box-sizing: border-box;
}

.aigpl-clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.aigpl-columns {
    float: left;
    padding: 5px;
    position: relative;
}

.aigpl-col-1 { width: 100%; }
.aigpl-col-2 { width: 50%; }
.aigpl-col-3 { width: 33.3333%; }
.aigpl-col-4 { width: 25%; }
.aigpl-col-5 { width: 20%; }
.aigpl-col-6 { width: 16.6667%; }

.aigpl-img-wrp {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.aigpl-img-wrp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aigpl-caption {
    padding: 10px;
    background: #f9f9f9;
    text-align: center;
}

.aigpl-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.aigpl-title a {
    text-decoration: none;
    color: inherit;
}

.aigpl-desc {
    font-size: 14px;
    color: #666;
}

/* Album photo count badge */
.aigpl-photo-count {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
}

/* Slider arrows */
.aigpl-gallery-slider-wrp {
    position: relative;
}

.aigpl-gallery-slider .slick-prev,
.aigpl-gallery-slider .slick-next,
.aigpl-gallery-slider-wrp .slick-prev,
.aigpl-gallery-slider-wrp .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 32px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    font-family: FontAwesome;
    font-size: 18px;
    padding: 0;
}

.aigpl-gallery-slider .slick-prev,
.aigpl-gallery-slider-wrp .slick-prev {
    left: 5px;
}

.aigpl-gallery-slider .slick-next,
.aigpl-gallery-slider-wrp .slick-next {
    right: 5px;
}

.aigpl-gallery-slider .slick-prev::before,
.aigpl-gallery-slider-wrp .slick-prev::before {
    content: "\f104";
}

.aigpl-gallery-slider .slick-next::before,
.aigpl-gallery-slider-wrp .slick-next::before {
    content: "\f105";
}

.aigpl-gallery-slider .slick-dots,
.aigpl-gallery-slider-wrp .slick-dots {
    list-style: none;
    text-align: center;
    margin: 10px 0 0;
    padding: 0;
}

.aigpl-gallery-slider .slick-dots li,
.aigpl-gallery-slider-wrp .slick-dots li {
    display: inline-block;
    margin: 0 3px;
}

.aigpl-gallery-slider .slick-dots li button,
.aigpl-gallery-slider-wrp .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
}

.aigpl-gallery-slider .slick-dots li.slick-active button,
.aigpl-gallery-slider-wrp .slick-dots li.slick-active button {
    background: #333;
}

.aigpl-hide {
    display: none !important;
}

/* Breadcrumb */
.aigpl-breadcrumb-wrp {
    padding: 8px 10px;
    margin-bottom: 10px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
}

.aigpl-breadcrumb-wrp .aigpl-breadcrumb {
    color: #0073aa;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .aigpl-col-5 { width: 25%; }
    .aigpl-col-6 { width: 25%; }
}

@media (max-width: 767px) {
    .aigpl-col-2, .aigpl-col-3, .aigpl-col-4, .aigpl-col-5, .aigpl-col-6 { width: 50%; }
}

@media (max-width: 480px) {
    .aigpl-col-2, .aigpl-col-3, .aigpl-col-4, .aigpl-col-5, .aigpl-col-6 { width: 100%; }
}
