.grid-photos {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 5px 1fr 5px 1fr 5px 1fr 5px 1fr 5px 1fr 5px 1fr;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.grid-photos .grid-photo img {
    border-radius: 2px;
}

.grid-photos .grid-photo {
    border-radius: 2px;
    position: relative;
    background: #eeeeee;
}

.grid-photos .grid-photo.grid-photo--paginator b {
    font-size: 24px;
    margin-top: 10px;
    display: block;
}

.grid-photos .grid-photo.grid-photo--paginator {
    color: #ffffff !important;
    font-size: 16px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    min-width: 200px;
    background: #e27200;
}

.grid-photos .grid-photo.grid-photo--paginator:hover {
    background: #ff8e41 !important;
}

@media screen and (max-width: 1300px) {
    .grid-photos {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media screen and (max-width: 1199px) {
    .grid-photos .grid-photo {
        height: 150px;
    }
}

@media screen and (max-width: 1023px) {
    .grid-photos {
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-photos .grid-photo {
        height: 130px;
    }
}

@media screen and (max-width: 767px) {
    .grid-photos {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-photos .grid-photo.grid-photo--paginator b {
        font-size: 13px !important;
        margin-top: 5px;
    }

    .grid-photos .grid-photo.grid-photo--paginator {
        font-size: 10px;
        min-width: 120px;
    }
}

@media screen and (max-width: 413px) {
    .grid-photos .grid-photo {
        height: 120px;
    }
}

@media screen and (max-width: 359px) {
    .grid-photos {
        grid-template-columns: repeat(2, 1fr);
    }
}
