.lp-gallery-27._left .lp-gallery-27-title {
    margin-right: auto;
    text-align: left;
}

.lp-gallery-27 {
    overflow: hidden;
}

.lp-gallery-27._right .lp-gallery-27-title {
    margin-left: auto;
    text-align: right;
}

.lp-gallery-27._center .lp-gallery-27-title {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.lp-gallery-27 {
    padding: 40px 0;
}

@media all and (min-width: 600px) {
    .lp-gallery-27 {
       /* padding: 56px 0; */
	   padding: 0px 0;
    }
}

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

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

.lp-gallery-27-title {
    margin-bottom: 16px;
}

@media all and (min-width: 600px) {
    .lp-gallery-27-title {
        margin-bottom: 40px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-27-title {
        margin-bottom: 48px;
        max-width: 848px;
    }
}

.lp-gallery-27-photo-wrap {
    position: relative;
}

.lp-gallery-27-photo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: 100%;
    font-size: 0;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    position: relative;
}

.lp-gallery-27-arrows {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.lp-gallery-27-photo__item-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.lp-gallery-27-photo__item {
    overflow: hidden;
    position: relative;
    padding: 0;
    width: calc(100vw - 31px);
    height: 300px;
}

@media all and (min-width: 600px) {
	.lp-gallery-27-arrows {
	    right: 19px;
	}
	
    .lp-gallery-27-photo__item {
        padding: 0;
        height: 300px;
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
    }

    .lp-gallery-27-photo__item + .lp-gallery-27-photo__item {
        width: 376px;
        margin-left: 24px;
    }
}

@media all and (min-width: 960px) {
    .lp-gallery-27-photo__item {
        height: 408px;
    }

    .lp-gallery-27-photo__item + .lp-gallery-27-photo__item {
        width: 616px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-27-photo__item {
        height: 552px;
    }

    .lp-gallery-27-photo__item + .lp-gallery-27-photo__item {
        width: 762px;
    }
    
    .lp-gallery-27-arrows {
    	right: 17px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-27-photo__item {
        height: 600px;
    }

    .lp-gallery-27-photo__item + .lp-gallery-27-photo__item {
        width: 856px;
    }
}

.lp-gallery-27-photo.owl-carousel .lp-gallery-27-photo__item img {
    width: 100%;
    height: 100%;
    -webkit-transition: -webkit-transform 0.8s;
    transition: -webkit-transform 0.8s;
    transition: transform 0.8s;
    transition: transform 0.8s, -webkit-transform 0.8s;
    will-change: transform;
    object-fit: cover;
}

.lp-gallery-27-photo__item img:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.lp-gallery-27 .owl-item {
    opacity: 0.4;
    -webkit-transition: opacity 800ms;
    transition: opacity 800ms;
}

.lp-gallery-27 .owl-item.active {
    -webkit-transition: opacity 800ms;
    transition: opacity 800ms;
    opacity: 1;
}

.lp-gallery-27 .owl-item.active.cloned {
    -webkit-transition: opacity 800ms;
    transition: opacity 800ms;
}

.lp-gallery-27 .owl-item.active + .owl-item {
    opacity: 1;
    -webkit-transition: opacity 800ms;
    transition: opacity 800ms;
}

.lp-gallery-27 .lp-gallery-27-photo .owl-stage-outer {
    overflow: hidden;
    position: relative;
}

.lp-gallery-27 .lone_elem .owl-item {
	display: flex;
}

.lp-gallery-27 .lone_elem .lp-gallery-27-photo__item {
	flex: 1 1 100%;
}

.lp-gallery-27-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 16px -8px -16px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media all and (min-width: 600px) {
    .lp-gallery-27-dots {
        margin-top: 24px;
    }
    
    .lp-gallery-27-photo__item {
    	width: 272px;
    }
    
    .lp-gallery-27-photo__item._odd {
    	width: 616px;
    }
    
    .lp-gallery-27 .lp-gallery-27-photo .owl-stage-outer {overflow: visible}
    
    .lp-gallery-27-photo__item {
    	width: 176px;
    }
    
    .lp-gallery-27-photo__item._odd {
    	width: 376px;
    }
}

@media all and (min-width: 960px) {
    .lp-gallery-27-photo__item {
    	width: 272px;
    }
    
    .lp-gallery-27-photo__item._odd {
    	width: 616px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-27-dots {
        margin-top: 32px;
    }
    
    .lp-gallery-27-photo__item {
    	width: 368px;
    }
    
    .lp-gallery-27-photo__item._odd {
    	width: 762px;
    }
}

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

    .lp-gallery-27-photo__item {
    	width: 408px;
    }
    
    .lp-gallery-27-photo__item._odd {
    	width: 856px;
    }
    
    .lp-gallery-27-arrows {
    	right: 19px;
    }
}

.lp-gallery-27-dots .owl-dot {
    display: block;
    margin: 0 8px 16px;
    background-color: var(--primary-color-base);
    opacity: 0.3;
    border: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    outline: none;
}

@media all and (min-width: 600px) {
    .lp-gallery-27-dots .owl-dot {
        width: 16px;
        height: 16px;
    }
}

.lp-gallery-27-dots .owl-dot.active {
    opacity: 1;
}

.lp-gallery-27__buttons {
	margin: 32px -8px -16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;

}

.lp-gallery-27__button {
 	width: 100%;
  letter-spacing: 0.01em;
  margin: 0 8px 16px;

}

@media all and (min-width: 600px) {
    .lp-gallery-27__button {
	 	width: auto;
	}
}

.lp-gallery-27._right .lp-gallery-27__buttons {
    justify-content: flex-end;
}

.lp-gallery-27._left .lp-gallery-27__buttons {
    justify-content: flex-start;
}

.lp-gallery-27-arrow._hide {
    display: none;
}