@import url('normalize.css');
@import url('fonts.css');

html {
	font-size: 62.5%;
	font-weight: 500;
}

body {
	font: 1.6rem 'Montserrat';
	color: #2c2f33;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: #09877d;
	text-decoration: none;
}

p {
	line-height: 160%;
	margin: 0 0 1.5rem;
}

.wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px;
}

.gap {
	padding-top: 15px;
	padding-bottom: 15px;
}

.gap-bottom {
	padding-bottom: 15px;
}

section {
	padding: 20px 0 30px;
}

section + section {
	padding-top: 0;
}

.button {
	background-color: #09877d;
	color: #fff;
	padding: 10px 15px;
	border-radius: 12px;
	display: flex;
	gap:8px;
	align-items: center;
	font-size: 1.6rem;
	display: inline-flex;
	transition: .2s;
}

.button:hover {
	background-color: #086568 !important;
}

.mobile-overlay {
	pointer-events: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top:0;
	background-color: #09877d;
	opacity: 0;
	transition-duration: 0.5s;
	z-index: 3;
}

.mobile-overlay.is-show {
	opacity: .7;
}

.logo, .mobile-logo {
	position: relative;
}


header {
	position: fixed;
/*	max-width: 240px;*/
background-color: #09877d;
	top:0;
	right: 0;
	transform: translateX(100%);
	height: 100%;
	border-radius: 15px 0 0 15px;
/*	overflow: hidden;*/
	z-index: 9;
	transition-duration: 0.5s;
}

header.is-show {
	transform: translateX(0);
}

header .head {
	background-color: #fff;
}

header .head .wrapper {
	padding: 20px 50px 20px 25px;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap:15px;
}

header .logo {
	display: none;
}

.social {
	font-size: 1.2rem;
	color: hsl(var(--primary-color), 0%, 30%);
	max-width: 160px;
}

.phone a {
	color: inherit;
	font-weight: bold;
}

.phone span {
	font-size: 1rem;
	display: block;
	margin-top: 2px;
}


header nav.wrapper {
	padding: 30px 50px 10px 25px;
}

header nav {
	color: #fff;
/*	height: 100%;*/
	display: flex;
	flex-direction: column;
	gap: 25px;
}

header nav a {
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	transition-duration: 0.5s;
}

header nav .sub-menu {
    padding-top: 8px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
    width: max-content;
}


.is-show nav .sub-menu a {
	padding: 6px 0 6px;
}

header nav .sub-menu a {
    padding: 10px 15px;
    text-transform: initial;
    font-weight: normal;
    font-size: 1.4rem;
}

header nav small {
    display: inline-block;
    width: 0px;
		height: 0px;
		margin-left: 8px;
		border-style: solid;
		border-width: 8px 8px 0 8px;
		border-color: #fff transparent transparent transparent;
		transform: rotate(0deg);
		transition: .2s;
}

header nav small.subtriggered {
    transform: rotate(-180deg);
}

header nav small.subtriggered + .sub-menu {
    display: flex;
}

	header:not(.is-show) nav .dropdown {
        position: relative;
        display: flex;
        align-items: center;
        padding-right: 5px;
  }

header:not(.is-show) nav small {
	margin-left: 0px;
	margin-right: 4px;
}


.is-show {
    overflow: scroll;
}

.mobile-header {
	padding: 15px 10px 12px;
	background-color: #fff;
	position: sticky;
	top:0;
	right: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 2;
	-webkit-box-shadow: 0px 7px 8px 0px rgba(122, 122, 122, 0.2);
	-moz-box-shadow: 0px 7px 8px 0px rgba(122, 122, 122, 0.2);
	box-shadow: 0px 7px 8px 0px rgba(122, 122, 122, 0.2);
}

.mobile-logo, .logo, .foo-logo {
	width: 250px;
	height: 53px;
	background-image: url("../images/ui/logo.jpg");
	background-size: 250px 53px;
}

.logo {
	margin-right: auto;
}

.menu-button {
  position: fixed;
  right:10px;
  width: 30px;
  top:15px;
  height: 30px;
  z-index: 77;
  color: #09877d;
  transition-duration: 0.5s;
}
.menu-button .icon {
  transition-duration: 0.5s;
  position: absolute;
  height: 2px;
  width: 30px;
  top: 50%;
  margin-top: 4px;
  background-color: currentColor;
}
.menu-button .icon:before {
  transition-duration: 0.5s;
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: currentColor;
  content: "";
  top: -6px;
}
.menu-button .icon:after {
  transition-duration: 0.5s;
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: currentColor;
  content: "";
  top: 6px;
}
.menu-button.open .icon {
  transition-duration: 0.5s;
  transform: rotateZ(-180deg);
}
.menu-button.open .icon:before {
	width: 20px;
  transform: rotateZ(-45deg) scaleX(0.75) translate(-6px, -3px);
}
.menu-button.open .icon:after {
	width: 20px;
  transform: rotateZ(45deg) scaleX(0.75) translate(-6px, 3px);
}
.menu-button:hover {
  cursor: pointer;
}

h1 {
	margin-top: 3rem;
	margin-bottom: 1rem;
}

.slider {
	position: relative;
	z-index: 0;
	background: #3F85C2;
	background: linear-gradient(-90deg, #3F85C2, #3BCC64);
	color: #fff;
	text-align: center;
}

.slider:before {
	content: "";
	position: absolute;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
	background-image: url("../images/ui/slide.png");
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: -1;
	opacity: .2;
}

.buttons {
	display: flex;
	justify-content: center;
	gap:15px;
}

.slider .buttons {
	margin-top: 25px;
}

.slider .button {
/*	background-color: #3e84c2;*/
	border:3px solid #056159;
}

.button.button-light {
	background-color: transparent;
}

.slider .button.button-light {
	border-color: #fff;
}

body:not(.index) .about h1 {
		margin-top: 0;
	}


.about {
	font-size: 1.4rem;
}

.about .wrapper {
	display: flex;
	flex-direction: column;
	gap:25px;
}

.about .image {
	border-radius: 20px;
	overflow: hidden;
}

.uslugi {
	display: flex;
	flex-direction: column;
	gap:20px;
}

.uslugi > div {
	background-color: #d8f5fb;
	border-radius: 25px;
	padding: 10px 20px;
	font-size: 1.4rem;
}

.obslug {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-top: 40px;
}

.obslug > div {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap:15px;
	width: calc(50% - 15px);
}

.obslug img {
	max-width: 80px;
}

.preim {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 40px;
}

.preim > div {
	border-radius: 25px;
	padding: 10px 20px;
	color: #fff;
	font-size: 1.4rem;
}

.preim > div:nth-of-type(1) {
	background-color: #1970b8;
}
.preim > div:nth-of-type(2) {
	background-color: #1971b6;
}
.preim > div:nth-of-type(3) {
	background-color: #1980a2;
}
.preim > div:nth-of-type(4) {
	background-color: #189981;
}
.preim > div:nth-of-type(5) {
	background-color: #16b55b;
}
.preim > div:nth-of-type(6) {
	background-color: #15d135;
}

.dropdown summary {
	color: #1970b8;
	cursor: pointer;

}

.dropdown details {
	margin: 0 auto 15px;
	text-align: center;
	padding: 20px 30px;
	border-radius: 25px;
	border: 2px solid #b6e0e9;
	max-width: 660px;
}

details summary::-webkit-details-marker {
  display: none
}
details > summary {
  list-style: none;
}

details[open] > summary {
	margin-bottom: 15px;
}

details[open] summary ~ * {
  animation: sweep .5s ease-in-out;
}
@keyframes sweep {
  0%    {opacity: 0; transform: translateX(-10px)}
  100%  {opacity: 1; transform: translateX(0)}
}

.uslugi-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 40px;
}

.uslugi-list > div {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap:5px;
	width: calc(50% - 8px);
	border-radius: 25px;
	overflow: hidden;
  box-shadow: 0px 2px 8px 0px rgba(2, 0, 0, 0.15);
  padding-bottom: 15px;
}

.uslugi-list h3 {
	font-size: 1.4rem;
}

.swiper, .swiper-container {
    padding-bottom: 30px !important;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0px !important;
}

.swiper-otzivi .swiper-slide > div {
	background-color: #fff;
	border-radius: 25px;
	padding: 20px 20px 30px;
}

.swiper-otzivi p {
	font-size: 1.5rem;
}

.swiper-otzivi .swiper-slide span {
	font-size: 1.4rem;
	margin-top: 5px;
	display: block;
}

.content ul {
	line-height: 160%;
	max-width: 800px;
	font-style: italic;
	background-color: #eee;
	padding: 20px 30px 20px 35px;
	border-radius: 25px;
	border: 1px solid #ddd;
}

.breadcrumbs {
	margin-top: 20px;
	font-size: 1.4rem;
}

table {
    margin:25px auto 0;
	border-collapse:collapse;
	border-spacing:0;
	font-size: 1.4rem;
	overflow: hidden;
	width: 100%;
	max-width: 600px;
}

table td {
	border-color:#aaa;
	border-style:solid;
	border-width:1px;
	overflow:hidden;
	padding:5px 10px;
	word-break:normal;

}
table th {
	background-color: #aaa;
	color: #fff;
	border-style:solid;
	border-width:1px;
	overflow:hidden;
	padding:5px 10px;
	word-break:normal;
}

table tr td:first-child {
	text-align: left;
}

table tr td + td {
	/* text-align: center; */
}

table td {
	vertical-align:middle;
	color:#444;
	padding:8px 18px;
}

table tbody tr:nth-child(2n) {
	background-color: #eee;
}
table small {
    display:block;
}

footer h2 {
	text-align: center;
}

.foo-contacts {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap:15px;
}

.foo-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap:10px;
	margin-top: 30px;
	font-size: 1.3rem;
}

.foo-links a {
	text-decoration: underline;
	color: #2c3137;
}

.foo-links .foo-logo {
	order: 4;
}

.marked {
	background-color: #d8f5fb;
}

.modal {
    display: none;
    vertical-align: middle;
    position: relative;
    z-index: 10;
    max-width: 280px;
    text-align: left;
}

.form-personal {
	padding: 10px;
	background-color: #fff;
	border-radius: 20px;
}

.form-personal h3 {
/*	color: #fff;*/
	font-size: 2rem;
}

.form-personal .inputs {
	display: flex;
	flex-direction: column;
	gap:20px;
}

.form-personal .inputs > * {
	border: 2px solid #dbdbdb;
  padding: 10px;
  border-radius: 4px;
  background-color: #f5f5f5;
}

.form-personal .inputs > *:hover,
.form-personal .inputs > *:focus {
	background-color: #dcfbf9;
}

.form-personal .inputs button {
	font-size: 1.4rem;
	color: hsl(0, 0%, 100%);
	cursor: pointer;
	background-color: #09877d;
	text-transform: uppercase;
	transition: .5s;
}

.form-personal .inputs button:hover {
	background-color: #09877d;
}


@media (min-width: 520px) {
	.slider:before {
	    background-size: contain;
	}
	.modal {
	    max-width: 420px;
	}

}

@media (min-width: 720px) {
		.slider .wrapper {
			max-width: 1024px;
		}
		.slider .wrapper > * {
	    width: 60%;
	  }
	  .slider {
	    text-align: left;
	}
	.buttons {
    justify-content: flex-start;
	}
	.slider:before {
    left: 30%;
    opacity:.8;
/*    background-size: cover;*/
	}
	
}





@media (min-width: 800px) {
	.wrapper {
		padding: 20px;
	}

	.button {
    padding: 10px 20px;
	}


	h1 {
		font-size: 3.6rem;
	}

	h2 {
		font-size: 2.8rem;
	}

	.mobile-br {
		display: none;
	}
	
	.menu-button, .mobile-header {
		display: none;
	}

	header nav a {
	    font-weight: normal;
	    text-transform: unset;
	}
	header {
		position: sticky;
		top:0;
		width: 100%;
		transform: translateX(0);
		border-radius: 0;
		-webkit-box-shadow: 0px 7px 8px 0px rgba(122, 122, 122, 0.06);
		-moz-box-shadow: 0px 7px 8px 0px rgba(122, 122, 122, 0.06);
		box-shadow: 0px 7px 8px 0px rgba(122, 122, 122, 0.06);
	}
	.mobile-overlay {
		display: none;
	}

	header .logo {
		display: unset;
	}
	
	.social {
		display: flex;
		gap:8px;
	}

	header .head .wrapper, header nav {
		flex-direction: row;
	}

	header .head .wrapper {
		padding: 15px 20px 10px;
		justify-content: space-between;
		align-items: center;
		gap: 20px
	}

	header nav {
		justify-content: center;
		background-color: transparent;
		gap: unset;
	}

	header nav.wrapper {
		padding: 0;
	}

	header nav a {
		padding: 8px 12px;
		color: #fff;
	}

	header nav a.active, header nav a:hover, header nav .dropdown.active {
		background-color: #086568;
	}

	header nav .dropdown > a {
    display: block;
  }

  header nav .sub-menu {
      padding-top: 0;
      display: none;
      position: absolute;
      left: 0px;
      top: 100%;
      z-index: 999;
      background: #09867d;
     -webkit-box-shadow: 0px 7px 8px 0px rgba(122, 122, 122, 0.12);
      -moz-box-shadow: 0px 7px 8px 0px rgba(122, 122, 122, 0.12);
      box-shadow: 0px 7px 8px 0px rgba(122, 122, 122, 0.12);
  }

  header nav .dropdown:hover .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: max-content;
}

header nav .dropdown:hover small {
    transform: rotate(-180deg);
}

	.index .about {
		margin-top: 30px;
	}

	.about .wrapper {
		display: flex;
		flex-direction: row-reverse;
		align-items: flex-start;
		gap:30px;
	}

	.about .text {
		flex:1;
	}

	.about .image {
		max-width: 400px;
		flex-basis: 500px;
	}

	.uslugi {
	    flex-direction: row;
	    flex-wrap: wrap;
	}

	.uslugi > div {
	    width: calc(50% - 10px);
	}
	.obslug {
	    gap: 40px;
	}

	.obslug > div {
    width: calc(25% - 30px);
	}

	.preim {
	    gap: 30px;
	    margin-top: 40px;
	}
	.preim > div {
	    width: calc(33.3333% - 20px);
	}

	.uslugi-list {
	    gap: 24px;
	}
	.uslugi-list > div {
    width: calc(33.3333% - 16px);
	}

	.foo-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.modal {
        max-width: 620px;
        width: 400px;
    }
    .form-personal {
    padding: 15px;
}



}

@media (min-width: 880px) {
	.foo-links {
	    justify-content: space-between;
	}
	.foo-links .foo-logo {
		order: -1;
	}
}

@media (min-width: 1024px) {
	.slider .wrapper > * {
	    width: 50%;
	  }
	  .slider:before {
        left: 35%;
    }

    h4 {
	    font-size: 1.9rem;
	}
	.uslugi-list {
        gap: 20px;
    }
    .uslugi-list > div {
        width: calc(20% - 16px);
    }

    .uslugi-list > div > div {
	    margin-top: auto;
	}

}

@media (min-width: 1200px) {
	/*header .logo svg, footer .logo svg {
		width: 200px;
		height: 56px;
	}*/
	
/*	.button {
		padding: 9px 18px;
		border-radius: 4px;
		gap:10px;
		align-items: center;
		font-size: 1.5rem;
		
	}*/

	.button svg {
		width: 30px;
		height: 30px;
	}

	

	



}

@media (min-width: 1366px) {
	
}

