.lp-advantages-17-bottom-part-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}


.lp-gallery-17 {
    padding: 32px 0;
    text-align: center;
}

.lp-gallery-17 .owl-nav, .lp-gallery-17 .owl-dots {
	display: none;
}

.lp-gallery-17-items {
    margin-top: 24px;
    position: relative;
    max-height: 594px;
    overflow: hidden;
}

.lp-gallery-17 .js-gallery-items-grid {
    display: grid;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 100%;
}

.lp-gallery-17 .js-gallery-items-grid._1 {
    grid-template-rows: auto;
    height: 100%;
}

.lp-gallery-17 .js-gallery-items-grid._2 .lp-gallery-17-item {
	width: 100%;
	height: 289px;
}

.lp-gallery-17-items .disabled {
    display: none;
}

.lp-gallery-17-items .owl-stage {
    display: flex;
}

.lp-gallery-17-items .owl-stage-outer {
    overflow: hidden;
}

.lp-gallery-17-items__nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 289px;
}

.lp-gallery-17-arrow {
    position: absolute;
    top: -28px;
}

.lp-gallery-17-arrow--left {
    left: 2px;
}

.lp-gallery-17-arrow--right {
    right: 2px;
}

.lp-gallery-17-item {
    line-height: 0;
    position: relative;
    overflow: hidden;
}

.lp-gallery-17-item:hover img {
    transform: scale(1.2);
}

.lp-gallery-17-item img {
    transition: .7s;
    /* position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media all and (min-width: 600px) {
    .lp-gallery-17 {
        padding: 48px 0;
    }

    .lp-gallery-17-items {
        margin-top: 32px;
        max-height: 576px;
    }    

    .lp-gallery-17 .js-gallery-items-grid {
        grid-template-rows: 280px 280px;
        grid-template-columns: 280px 280px;
    }

    .lp-gallery-17 .js-gallery-items-grid._1 {
        grid-template-columns: auto;
        width: 100%;
    }

    .lp-gallery-17 .js-gallery-items-grid._2 {
        grid-template-rows: 1fr;
        height: 100%;
    }

    .lp-gallery-17 .js-gallery-items-grid._2 .lp-gallery-17-item {
		width: auto;
		height: auto;
	}

    .lp-gallery-17 .js-gallery-items-grid._3 .lp-gallery-17-item:nth-child(3n) {
        grid-area: 2 / 1 / 2 / 3;
    }

    .lp-gallery-17-items__nav {
    	bottom: auto;
    	top: 50%;
    }

    .lp-gallery-17-arrow {
        top: 22px;
    }
}

@media all and (min-width: 960px) {
    .lp-gallery-17 {
        padding: 64px 0;
    }

    .lp-gallery-17-items {
        margin-top: 40px;
        max-height: none;
    }

    .lp-gallery-17 .js-gallery-items-grid {
        grid-template-rows: 448px 448px;
        grid-template-columns: 448px 448px;
        grid-column-gap: 16px;
        grid-row-gap: 16px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-17 {
        padding: 80px 0;
    }

    .lp-gallery-17__title {
        max-width: 842px;
        margin-left: auto;
        margin-right: auto;
    }

    .lp-gallery-17-items {
        margin-top: 48px;
    }

    .lp-gallery-17 .js-gallery-items-grid {
        grid-template-rows: 276px 276px;
        grid-template-columns: 1fr 1fr 2fr;
    }

    .lp-gallery-17 .js-gallery-items-grid._1 {
        grid-template-rows: 568px;
    }

    .lp-gallery-17 .js-gallery-items-grid._2 {
        grid-template-columns: 1fr 1fr;
    }

    .lp-gallery-17 .js-gallery-items-grid._3 {
        grid-template-rows: 1fr;
        grid-row-gap: 0;
        height: 100%;
    }

    .lp-gallery-17 .js-gallery-items-grid._3 .lp-gallery-17-item:nth-child(n) {
        grid-area: 1 / 1 / 1 / 1;
    }

    .lp-gallery-17 .js-gallery-items-grid._3 .lp-gallery-17-item:nth-child(2n) {
        grid-area: 1 / 2 / 1 / 2;
    }

    .lp-gallery-17 .js-gallery-items-grid._3 .lp-gallery-17-item:nth-child(3n) {
        grid-area: 1 / 3 / 3 / 4;
    }

    .lp-gallery-17 .js-gallery-items-grid._4 .lp-gallery-17-item:nth-child(n) {
        grid-area: 1 / 1 / 1 / 1;
    }

    .lp-gallery-17 .js-gallery-items-grid._4 .lp-gallery-17-item:nth-child(2n) {
        grid-area: 1 / 2 / 1 / 2;
    }

    .lp-gallery-17 .js-gallery-items-grid._4 .lp-gallery-17-item:nth-child(3n) {
        grid-area: 2 / 1 / 2 / 3;
    }

    .lp-gallery-17 .js-gallery-items-grid._4 .lp-gallery-17-item:nth-child(4n) {
        grid-area: 1 / 3 / 3 / 4;
    }

    .lp-gallery-17 .js-gallery-items-grid._5 .lp-gallery-17-item:nth-child(n) {
        grid-area: 1 / 1 / 1 / 1;
    }

    .lp-gallery-17 .js-gallery-items-grid._5 .lp-gallery-17-item:nth-child(2n) {
        grid-area: 1 / 2 / 1 / 2;
    }

    .lp-gallery-17 .js-gallery-items-grid._5 .lp-gallery-17-item:nth-child(3n) {
        grid-area: 2 / 1 / 2 / 1;
    }

    .lp-gallery-17 .js-gallery-items-grid._5 .lp-gallery-17-item:nth-child(4n) {
        grid-area: 2 / 2 / 2 / 2;
    }

    .lp-gallery-17 .js-gallery-items-grid._5 .lp-gallery-17-item:nth-child(5n) {
        grid-area: 1 / 3 / 3 / 4;
    }

    .lp-gallery-17-arrow {
        top: 25px;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-17 .js-gallery-items-grid {
        grid-template-rows: 310px 310px;
    }

    .lp-gallery-17 .js-gallery-items-grid._1 {
        grid-template-rows: 636px;
    }
}