/*Filter*/
.rock-gallery-filter {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px 20px 20px 20px;
}

.rock-gallery__row {
    position: relative;
}

.rock-gallery-filter__top {
    display: flex;
    font-family: "Manrope", Sans-serif;
}

.rock-gallery-filter__title {
    font-size: 30px;
    font-weight: normal;
    line-height: 37px;
    text-align: left;
    flex-grow: 1;
}

.rock-gallery-filter__close {
    font-size: 14px;
    font-weight: normal;
    line-height: 21px;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    color: #677389;
    display: none;
    cursor: pointer;
}

.rock-gallery-filter__clear {
    font-size: 14px;
    font-weight: normal;
    line-height: 21px;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    color: #677389;
    display: none;
    cursor: pointer;
}

.rock-gallery-filter__options {
}

.rock-gallery-filter__label {
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #677389;
    font-family: "Inter", Sans-serif;
    margin: 20px 0 6px 0;
}

.rock-gallery-filter__input {
    border: 1px solid #CBD2E0;
    border-radius: 4px;
    color: #A0ABC0;
    padding: 11px 8px;
    font-size: 16px;
}

.rock-gallery__tag-container {
    border: 1px solid #CBD2E0;
    border-radius: 4px;
    color: #A0ABC0;
    padding: 8px 6px 8px 6px;
    font-size: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #fff;
}

.rock-gallery__icon {
    flex-basis: 20px;
    flex-shrink: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rock-gallery__tag-input {
    flex-grow: 1;
    flex-shrink: 1;
    display: flex;
    flex-wrap: wrap;
}

.rock-selected-tag {
    background: #eff4ff;
    padding: 2px 12px 2px 12px;
    border-radius: 85px;
    color: #225ED8;
    margin: 1px 1px 1px 1px;
    font-size: 14px;
}

.rock-gallery-filter__actions {
    display: none;
}

.rock-gallery-filter__toggle {
    display: flex;
    align-items: center;
}

.rock-gallery-filter__switcher {
    background: #CBD2E0;
    -webkit-appearance: none;
    width: 48px;
    height: 27px;
    border-radius: 20px;
    margin: 0 5px 0 5px;
    position: relative;
    outline: none;
}

.rock-gallery-filter__switcher:checked {
    background: #225ED8;
}

.rock-gallery-filter__switcher:before {
    content: "";
    width: 25px;
    height: 25px;
    position: absolute;
    background: #fff;
    border-radius: 20px;
    left: 1px;
    top: 1px;
    bottom: 1px;
    transition: 0.5s;
}

.rock-gallery-filter__switcher:checked:before {
    left: 22px;
}

.rock-gallery-filter__toggle-lable {
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #2D3648;
}

.rock-gallery-filter__input-options {
    color: #171923;
    font-size: 16px;
}

.input-options--active {
    display: block;
}

.rock-gallery-filter__option {
    width: 100%;
    height: 100%;
    padding: 5px 5px 5px 5px;
    margin: 0 0 1px 0;
}

.rock-gallery-filter-openclose {
    display: none;
}

.rock-gallery-filter__option-row {
    display: flex;
    align-items: center;
    margin: 0 0 5px 0;
}

#rock-gallery-url {
    display: none;
    opacity: 0;
}

@media only screen and (max-width: 768px) {

    .rock-gallery-filter {
        background-color: #F5F8FF;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999999;
        border-radius: 0;
        overflow: auto;
        display: none;
    }

    .rock-gallery-filter--active {
        display: block;
    }

    .rock-gallery-filter__close {
        display: flex;
    }

    .rock-gallery-filter__actions {
        display: flex;
        flex-wrap: wrap;
    }

    .rock-gallery-filter__btn {
        flex-basis: 100%;
        margin: 20px 0 0 0;
        border-radius: 8px;
        padding: 10px 0 10px 0;
    }
    
    .filter--cancel {
        background-color: #fff;
        color: #677389;
        border-color: #fff;
        border: 1px solid #CBD2E0;
    }
    
    .filter--apply{
        background-color: #225ED8;
        color: #fff;
        border-color: #225ED8;
    }

    .filter--cancel:hover {
        background-color: #fff;
        color: #677389;
        border-color: #fff;
    }
    
    .filter--apply:hover {
        background-color: #1649BC;
        border-color: #1649BC;
    }

    .rock-gallery-filter-openclose {
        display: flex;
        justify-content: flex-end;
        padding: 0 20px 24px 20px;
    }

    .rock-gallery-filter-openclose__btn {
        font-size: 18px;
        line-height: 27px;
        padding: 12px 18px 12px 18px;
        background: #fff;
        border-radius: 12px;
        border: 1px solid #eaeff7;
    }

    .rock-gallery-filter-openclose__btn svg {
        margin: 0 10px 0 0;
    }

    /*Loop*/

    .rock-gallery__items {
        grid-template-columns: 1fr !important;
    }

    .rock-gallery__image > img {
        width: 100%;
    }
}

/*Loop*/

.rock-gallery__loop {

}

.rock-gallery-load {
    display: flex;
    justify-content: center;
}

.rock-gallery-notfound {
    font-size: 18px;
    color: #677389;
    line-height: 26px;
    text-align: center;
}

.rock-gallery__items {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 20px;
    transition: all 0.5 ease-in-out;
}

.rock-gallery__item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E2E7F0;
    overflow: hidden;
    transition: all 0.1s ease-in-out;
    height: 100%;
}

.rock-gallery__item:hover {
    box-shadow: 0 0 0 3px #225ED8;
}

.rock-gallery__image {
    position: relative;
}

.rock-gallery__image img {
    object-fit: cover;
    height: 216px !important;
}

.rock-gallery__content {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    font-family: "Inter", Sans-serif;
}

.rock-gallery__title {
    flex-basis: 100%;
    font-size: 20px;
    font-weight: normal;
    line-height: 24px;
    color: #171923;
    height: 75px;
    overflow: hidden;
}

.rock-gallery__summary {
    color: #4A5568;
    font-size: 16px;
    line-height: 24px;
    margin: 8px 0 0 0;
    height: 75px;
    overflow: hidden;
}

.rock-gallery__meta-data {
    margin: 8px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    flex-basis: 100%;
    font-size: 14px;
    line-height: 21px;
    color: #A0ABC0;
}

.rock-gallery__date, .rock-gallery__share {
    flex-basis: 100%;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.rock-gallery__date svg {
    margin: 0 5px 0 0;
}

.rock-gallery__tag {
    flex-basis: 100%;
    font-size: 14px;
    font-weight: normal;
    line-height: 21px;
    color: #A0ABC0;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.rock-gallery__label {
    font-size: 14px;
    font-weight: normal;
    line-height: 21px;
    color: #A0ABC0;
}

.rock-gallery__item-type {
    font-size: 16px;
    font-weight: normal;
    line-height: 21px;
    color: #171923;
}

.rock-gallery__tag-interactive, .rock-gallery__tag-quick {
    background: #F5F8FF;
    border-radius: 10px;
    padding: 2px 8px;
    border: 1px solid #CBD2E0;
    display: flex;
    align-items: center;
    color: #677389;
    font-size: 12px;
}

.rock-gallery__tag-quick {
    margin: 5px 0 0 0;
}

.rock-gallery__tag-interactive svg, .rock-gallery__tag-quick svg {
    margin: 0 5px 0 0;
}