.lp-photo-7-main__item img {
    /*width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    min-width: 0 !important;*/
}

/*.lp-gallery-1__buttons-item {
    margin: 0 0 16px;
}*/

@media all and (min-width: 600px) {

    /*.lp-gallery-1__buttons-item {
	    margin: 0 16px 16px 0;
	}*/
}

.lp-photo-7__main {
    font-size: 0;
}

.lp-photo-7__wrap {
    padding: 38px 0 34px;
}

@media all and (min-width: 600px) {
    .lp-photo-7__wrap {
        padding: 50px 0 46px;
    }
}

@media all and (min-width: 1380px) {
    .lp-photo-7__wrap {
        padding: 66px 0 46px;
    }
}

.lp-photo-7-head {
    padding: 6px 0;
    text-align: center;
}

.lp-photo-7-head__title {
    color: var(--text-color-base);
    padding: 4px 0;
    width: 100%;
    margin: 0;
}

@media all and (min-width: 600px) {
    .lp-photo-7-head__title {
        padding: 8px 0;
    }
}

@media all and (min-width: 1200px) {
    .lp-photo-7-head__title {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media all and (min-width: 1380px) {
    .lp-photo-7-head__title {
        max-width: 100%;
    }
}

.lp-photo-7-main {
    padding: 6px 0;
}

@media all and (min-width: 1380px) {
    .lp-photo-7-main {
        padding: 18px 0;
    }
}

.lp-photo-7-main__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media all and (min-width: 600px) {
    .lp-photo-7-main__wrap {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        margin: 0 -12px;
        justify-content: center;
    }
}

@media all and (min-width: 960px) {
    .lp-photo-7-main__wrap {
        margin: 0 -12px;
    }
}

@media all and (min-width: 1200px) {
    .lp-photo-7-main__wrap {
        margin: 0 -12px;
    }
}

@media all and (min-width: 1380px) {
    .lp-photo-7-main__wrap {
        margin: 0 -16px;
    }
}

.lp-photo-7-main__item {
    margin: 8px 0;
    display: flex;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    align-items: center;
    justify-content: center;
}

@media all and (min-width: 600px) {
    .lp-photo-7-main__item {
        width: 176px;
        height: 132px;
        margin: 12px;
    }
}

@media all and (min-width: 960px) {
    .lp-photo-7-main__item {
        width: 210px;
        height: 157px;
        margin: 12px;
    }
}

@media all and (min-width: 1200px) {
    .lp-photo-7-main__item {
        width: 270px;
        height: 202px;
        margin: 12px;
    }
}

@media all and (min-width: 1380px) {
    .lp-photo-7-main__item {
        width: 298px;
        height: 223px;
        margin: 16px;
    }
}

body .lp-photo-7-main__item-pic {
    display: block;
    width: 100%;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    height: 100%;
    object-fit: cover;
}

.lp-photo-7-main__item-pic:hover {
    transform: scale(1.2);
}


.lp-photo-7__buttons-wrap {
    text-align: center;
}



.lp-photo-7__buttons {
    text-align: center;
    justify-content: center;
    display: flex;
    margin: 0 -16px -16px 0;
    flex-wrap: wrap;
}


@media all and (min-width: 600px) {
    .lp-photo-7__buttons-wrap {
    }

    .lp-photo-7__buttons {
        display: inline-flex;
    }
}