/**
 * TLC Hospice gallery page — layout overrides on top of vendor shuffle/blueimp CSS.
 */

#gallery_control.gallery_control {
    width: 100%;
}

#gallery_control .filter-options .btn:not(.CategorySelectAll)[data-group=""] {
    display: none !important;
}

#gallery_control .filter-options.btn-group {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 16px;
}

#gallery_control .filter-options.btn-group .btn {
    float: none;
    margin: 0 8px 8px 0;
    border-radius: 4px !important;
    white-space: normal;
    line-height: 1.3;
    padding: 0.6em 0.9em;
    font-size: 14px;
    background-color: #34495e;
    border: 1px solid #2c3e50;
    color: #fff;
}

#gallery_control .filter-options.btn-group .btn:hover {
    background-color: #2c3e50;
    border-color: #243342;
    color: #fff;
    text-decoration: none;
}

#gallery_control .filter-options .btn.active {
    background-color: #f0f0f0;
    border-color: #ccc;
    color: #404041;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

#gallery_control .filter-options .btn.active:hover {
    background-color: #e8e8e8;
    color: #404041;
}

#gallery_control #grid.row-fluid {
    position: relative;
    width: 100%;
    margin-left: 0;
}

#gallery_control #grid .picture-item {
    cursor: pointer;
    background: #fff;
}

#gallery_control #grid .itemSizing {
    height: 100%;
    overflow: hidden;
}

#gallery_control #grid .itemSizing img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery_control #blueimp-gallery .modal {
    display: none !important;
}
