*:active, *:focus {outline: none;}
body {position: relative;}
img, a {
    -moz-user-select: none;
    -o-user-select:none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
     user-select: none;
}
h1, h2, h3, h4, h5, form, ul {margin: 0;}
h1, h2 {-ms-word-break: break-all; word-break: break-all; word-break: break-word;}
a.w--current {pointer-events: none;}
a {text-decoration: none; color: inherit;}
.w-richtext p:last-child {margin-bottom: 0;}

.post-item:last-child {
    padding-bottom: 0;
    border: none;
}
.ben__item:last-child {
	border: none;
	padding: 0;
}
.gallery__lbox:first-child {
	grid-row: span 2;
}
 @media only screen and (min-width: 768px) {
	.term__item:not(:last-child):after {
		content: '';
		position: absolute;
		top: 50%;
		right: -4.25rem;
		transform: translateY(-50%);
		width: 4.25rem;
		height: 1rem;
		background-image: url('https://cdn.prod.website-files.com/643e6b8f8b508e75a8dfba3c/68236c267f47c5ddb9585c5a_Arrow%201.svg');
	  background-size: contain;
	  background-repeat: no-repeat;
	}
}
 @media only screen and (max-width: 767px) {
	.term__item:not(:last-child):after {
		content: '';
		position: absolute;
		bottom: -4.25rem;
		right: 50%;
		transform: translateX(-50%);
		width: 1rem;
		height: 4.25rem;
		background-image: url('https://cdn.prod.website-files.com/643e6b8f8b508e75a8dfba3c/682371d633150b31ec09bc46_Arrow%202.png');
	  background-size: contain;
	  background-repeat: no-repeat;
	}
}
@media screen and (max-width: 1160px) {
  html {font-size: calc(1vw / 0.8)}
  .container {max-width: none}
}
@media screen and (max-width: 991px) {
  html {font-size: calc(1vw / 0.62)}
}
@media screen and (max-width: 767px) {
  html {font-size: calc(1vw / 0.48)}
}
@media screen and (max-width: 630px) {
  html {font-size: calc(1vw / 0.4)}
}
@media screen and (max-width: 480px) {
  html {font-size: calc(1vw / 0.3)}
}
@media screen and (max-width: 380px) {
  html {font-size: calc(1vw / 0.25)}
}
.subgallery-wrap {
    scrollbar-color: #7E8596 #F7F8FD;
    scrollbar-width: thin;
}

.subgallery-wrap::-webkit-scrollbar {
    width: 0px; 
    height: 0px;

}

.hero-section{
	z-index: 6;
}

.header {
	z-index: 7;
}

.section.pt-13 {
    z-index: 9;
}








.phones {
	display: flex; gap: 2%;
	min-width: 440px;
}

.container.footer-container {
  grid-column-gap: 0 !important;
}


@media (max-width: 600px) {
  
.w-lightbox-group, .w-lightbox-group .w-lightbox-view, .w-lightbox-group .w-lightbox-view:before {
    height: 100vh;
    right: 0vh;
}
.phones {
    display: none;
}

.w-lightbox-close {
    height: 5.6em;
}

    h1, h2 {
        font-size: 1.3rem;
    }

}

.preimy {
	display: flex;
	justify-content: space-around;
}

.prem-box p {
	max-width: 210px;

}

.prem-cont {
	display: flex;
	width: 100%;
}

.prem-box {
	text-align: center;
	padding-top: 30px;
}


@media (max-width: 600px) {
	.prem-box {
		width: 200px;

	}

	.preimy {
		flex-wrap: wrap;
	}

	.hero-section {
		padding-bottom: 30px;
	}
	.prem-not {
		display: none;
	}
	.hero-nomer {
		margin-right: 33px;
	}
}

@media (max-width: 400px) {
	.prem-box {
		width: 150px;

	}


}