html, button, input, select, textarea {color: #222;}
html {}
body {font: 14px Verdana, "Geneva CY", "DejaVu Sans", sans-serif; line-height: 1.4; color: #555555; background:url('../img/bg.jpg') repeat-x center top; min-width: 1024px;}
html, body {height: 100%;}
::-moz-selection {background: #b3d4fc; text-shadow: none;}
::selection {background: #b3d4fc; text-shadow: none;}
hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 10px 0; padding: 0;}
img {vertical-align: middle;}
fieldset {border: 0; margin: 0; padding: 0;}
textarea {resize: vertical;}
h1, h2, h3, .nazvanie, .phone, ul.menu, .card {font-family:"Times New Roman", "Times CY", "Nimbus Roman No9 L", serif;}
.chromeframe {margin: 0.2em 0; background: #ccc; color: #000; padding: 0.2em 0;}
a {color:#8a1e74; border-bottom: 1px dotted #8a1e74; text-decoration: none;}
a:hover, .usluga a:hover {border-bottom: none;}

.zalivka {background: url('../img/footer.jpg') repeat-x center bottom;}
.container {margin: 0 auto; width: 984px; padding: 0 20px;}

/* ==========================================================================
   Header styles
   ========================================================================== */
header {height: 170px; background: url('../img/header.jpg') no-repeat center top;}
.phone, .logo {float: left;}
.logo img {height: 92px;margin-top:5px;}
.logo a {border-bottom: none;}
.phone {font-size: 22px; padding-top: 20px; color: #8a1e74; text-align: right; background: url('../img/phone.png') no-repeat 335px 30px; width: 532px; line-height:22px;}
.phone span a {color: #555; font-size: 21px; border-bottom: 0;}
.phone address {font: 10px Verdana, "Geneva CY", "DejaVu Sans", sans-serif; color: #555; font-style: normal;}

ul.menu {list-style: none;text-align: center; margin: 10px 0 15px 0; font-size:0; line-height: 0; padding: 0;}
ul.menu, .button {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background: #8a1e74;
	background: -moz-linear-gradient(top,  #8a1e74 0%, #be719b 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8a1e74), color-stop(100%,#be719b));
	background: -webkit-linear-gradient(top,  #8a1e74 0%,#be719b 100%);
	background: -o-linear-gradient(top,  #8a1e74 0%,#be719b 100%);
	background: -ms-linear-gradient(top,  #8a1e74 0%,#be719b 100%);
	background: linear-gradient(to bottom,  #8a1e74 0%,#be719b 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8a1e74', endColorstr='#be719b',GradientType=0 );
}
ul.menu li {display: inline-block; border-left: 1px dotted #fff; font-size: 18px; line-height: 25px; }
ul.menu li a {padding: 10px 15px; color: #fff; border-bottom: none; display: block;}
ul.menu li:first-child {border-left: none;}
ul.menu li a:hover, .button:hover, .active {background: #8a1e74;}
ul.menu li:last-child {
	display: none;
}
ul.menu li.impaired img {
	cursor: pointer;
	filter: invert(100%);
	-webkit-filter: invert(100%);
	margin-left: 15px;
}

/* ==========================================================================
   Content styles
   ========================================================================== */
.content, .sidebar {float: right}
.content {width: 624px; padding: 10px 0 20px 20px; min-height: 500px;}

.sidebar {width: 340px; padding: 10px 0 20px 0;}
.nazvanie {font-size: 25px; color:#8a1e74}

h1.razdel {text-transform: uppercase; border-bottom: 0; text-align: left;}
.content h1, .content h2, .content h3 {text-transform: uppercase;}

.uslugi ul {padding: 0 0 0 20px; margin: 10px 0;}
.uslugi li {font-size: 17px; text-transform: uppercase;}
.uslugi li li {font-size: 15px; text-transform: none;}
.uslugi li a {color: #555;}

.card {padding-top: 10px;}
.card p:first-child {font-size: 21px; color: #8a1e74; background: url('../img/chat.png') no-repeat left center; padding-left: 40px;}
.card img {border-radius: 10px;}

/* ==========================================================================
   Footer styles
   ========================================================================== */
footer {padding-top: 15px; font-size: 11px; border-top: 0}
.copyright, .podelis, .sarstudio {float: left;}
.copyright {width: 490px; padding-right: 10px;}
.podelis {width: 242px; text-align: center;}
.podelis a {border-bottom: none; margin: 4px;}
.pluso .pluso-010011000110-04 a.pluso-more {display: none;}
.sarstudio {text-align: right; width:232px; padding-left: 10px;}
.licenz {font-size: 10px; clear: left;}
.footer-info__bottom {
	text-align: center;
	margin-top: 15px;
}

/*---------------------------------
 *	News slider > Vertical
 *---------------------------------*/			
.newslider-vertical {width:100%;height:385px; margin-top: 10px;}

/* Nav */
.newslider-vertical .sliderkit-nav {width:300px;height:383px; left: 658px;}
.newslider-vertical .sliderkit-nav-clip li{margin-bottom:15px;}
.newslider-vertical .sliderkit-nav-clip li a{height:67px;width:308px;padding:8px;text-align:left;font-size:12px;color:#000;text-decoration:none;background:#fff; border:1px solid #999; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}
.newslider-vertical .sliderkit-nav-clip li a:hover,
.newslider-vertical .sliderkit-nav-clip li a:focus, .newslider-vertical .sliderkit-nav-clip li.sliderkit-selected a {color:#555; background: #f2f2f2;}

/* Panel */
.newslider-vertical .sliderkit-panels {position:absolute;left:0;width:643px;height:383px;overflow:hidden;border:1px solid #999; 	-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}
.newslider-vertical .sliderkit-panel {left:0;top:0;width:643px;height:383px;}
img.tabs-panel, img.slider-img-indent {height: 100%; width: 100%; border:1px solid #999; 	-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}

/* News block */
.newslider-vertical .sliderkit-nav-clip h3 {color: #555; font: 13px Verdana, "Geneva CY", "DejaVu Sans", sans-serif; margin: 0 0 8px 0;}
img.slider-img-indent {width: 110px; float: left; margin-right: 10px;}
.newslider-vertical .sliderkit-nav-clip p {margin:0; font-size: 11px; line-height: 11px;}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.content img {border: 1px solid #8a1e74}
.img-left {float: left; margin: 0 15px 10px 0;}
.img-right {float: right; margin: 0 0 10px 15px;}
.clearfix:before, .clearfix:after {content: " "; display: table;}
.clearfix:after {clear: both;}
.clearfix {*zoom: 1;}

/* ==========================================================================
   Form and table styles
   ========================================================================== */
form {width: 98%; overflow: hidden; padding: 0 1%;}
form div {float: left; width: 98%; margin-bottom: 5px;}
form label {float: left; width: 100%;}
form input[type=text], form textarea, .form-control {width: 95%; background: #fff; border: 1px solid #8a1e74; padding: 5px 10px;}
.button {margin: 10px 0 0 80px; cursor: pointer; padding: 8px 13px; border: none; color: #fff;}
.feedback2error {font-size: 16px; color: red}
.feedb {background: url('/design/img/mail.png') no-repeat left center; padding-left: 40px;}

th, td {border: 1px dotted #8a1e74; padding: 4px 9px;}
th {background: #f6ebf3;
background: -moz-linear-gradient(top,  #f6ebf3 0%, #fffdfe 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6ebf3), color-stop(100%,#fffdfe));
background: -webkit-linear-gradient(top,  #f6ebf3 0%,#fffdfe 100%);
background: -o-linear-gradient(top,  #f6ebf3 0%,#fffdfe 100%);
background: -ms-linear-gradient(top,  #f6ebf3 0%,#fffdfe 100%);
background: linear-gradient(to bottom,  #f6ebf3 0%,#fffdfe 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6ebf3', endColorstr='#fffdfe',GradientType=0 );}

/* Gallery */
#lightgallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}
#lightgallery a {border-bottom: 0}
#lightgallery img {height: auto; width: 100%; max-height: 100%; margin: 0 !important}

.usluga {position: relative; padding-bottom: 20px;}
.usluga span {position: absolute; left: 20px; top: 20px; font-size: 22px; width: 250px; color: #000; text-shadow: 0 0 5px #FFFFFF;}
.usluga ul {position: absolute; top: 20px; right: 20px; width: 260px; padding: 10px; background-color: rgba(0, 0, 0, 0.3); -webkit-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px; margin: 0;}
.usluga li {display: block; font-size: 14px;}
.usluga a {color: #fff; border-bottom: 0;}

.sotrudniki {
	padding-top: 10px;
	display: flex;
	align-items: center;
	font-size: 22px;
}
.sotrudniki img {
	width: 35%; 
	height: auto; 
	margin: 0 30px 10px 0;
}
.sotrudniki p {margin: 0 0 5px 0; font-weight: 700;}
.sotrudniki ul {padding: 0; font-size: 14px;}
.sotrudniki-text {padding: 0 10px;}

.content table {
	width: 100% !important;
}

.burger {
	display: none;
	position: fixed;
	top: 12px;
	right: 15px;
}
.toggle {
	display: inline-block;
	position: relative;
	left: calc(100% - 2rem);
	width: 30px;
	height: 26px;
	cursor: pointer;
	-webkit-transition: .5s ease-in-out;
	 -moz-transition: .5s ease-in-out;
	   -o-transition: .5s ease-in-out;
	      transition: .5s ease-in-out;
	-webkit-transform: rotate(0deg);
	 -moz-transform: rotate(0deg);
	   -o-transform: rotate(0deg);
	      transform: rotate(0deg);
}
.toggle span {
  position: absolute;
  left: 0;
  display: block;
  width: 30px;
  height: 3px;
  background: #8a1e74;
  opacity: 1;
  -webkit-transition: .25s ease-in-out;
     -moz-transition: .25s ease-in-out;
       -o-transition: .25s ease-in-out;
          transition: .25s ease-in-out;
  -webkit-transform: rotate(0deg);
     -moz-transform: rotate(0deg);
       -o-transform: rotate(0deg);
          transform: rotate(0deg);
}
.toggle span:nth-child(1) {
  top: 0;
}

.toggle span:nth-child(2) {
  top: 9px;
}

.toggle span:nth-child(3) {
  top: 18px;
}

.toggle.open span:nth-child(1) {
  top: 9px;
  -webkit-transform: rotate(135deg);
     -moz-transform: rotate(135deg);
       -o-transform: rotate(135deg);
          transform: rotate(135deg);
}
.toggle.open span:nth-child(2) {
  left: -60px;
  opacity: 0;
}

.toggle.open span:nth-child(3) {
  top: 9px;
  -webkit-transform: rotate(-135deg);
     -moz-transform: rotate(-135deg);
       -o-transform: rotate(-135deg);
          transform: rotate(-135deg);
}

/* Media */
@media screen and (max-width: 991px) {
	body {
		min-width: auto;
	}
	.burger {
		display: inline-block;
	}
	.container {
		width: calc(100% - 30px);
		padding: 0 15px;
		background: url(../img/header.jpg) no-repeat center top;
		background-size: 100% 170px;
	}
	header {
		height: auto;
		background: none;
	}
	ul.menu li:last-child {
		display: block;
		font-size: 14px;
		color: #fff;
		padding: 30px 0 10px 25px;
	}
	.messenger {
		display: flex !important;		
	}
	.messenger a {
		margin-right: 10px;
		padding: 0 !important;
		margin-top: 5px;
	}
	.phone, .logo, .content, .sidebar, .copyright, .podelis, .sarstudio {
		width: 100%;
		padding: 10px 0;
		float: none;
		clear: both;
	}
	.copyright, .sarstudio, .licenz {
		text-align: center;
	}
	.licenz {
		padding-bottom: 10px;
	}
	.logo {
		padding: 0;
	}
	.logo img {
		height: 39px;
		width: 190px;
	}
	.phone {
		text-align: center;
		background-position: 50px 15px;
		padding-bottom: 0;
	}
	.phone address {
		margin-top: 5px;
	}
	ul.menu {
		border-radius: 0;
		display: flex;
    	flex-direction: column;
		position: fixed;
		top: 35px;
		left: 0;
		width: 100%;
		max-width: 260px;
		-webkit-transform: translateX(-150%);
		    -ms-transform: translateX(-150%);
		        transform: translateX(-150%);
		padding: 15px 10px;
		z-index: 50;
		background-color: #fff;
		-webkit-transition: 0.4s all;
		-o-transition: 0.4s all;
		transition: 0.4s all;
		z-index: 500;
		box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
		text-align: left;
	}

	ul.menu.active {
		-webkit-transform: translateX(0);
		    -ms-transform: translateX(0);
		        transform: translateX(0);
	}
	ul.menu li {
		line-height: 20px;
		border-left: 0;
	}
	.content table {
		font-size: 12px;
	}
	.content table td {
		padding: 6px;
	}
	.content table th, .content table td {
		white-space: normal !important;
	}
	footer {
		height: auto;
	}
}
@media screen and (max-width: 575px) {
	.usluga ul {
		background: rgba(0,0,0,.5);
	}
	.content {
		text-align: left;
		min-height: inherit;
	}
	.content h1 {
		font-size: 20px;
		text-align: center;
	}
	.content h2 {
		font-size: 18px;
		text-align: center;
	}
	.content img {
		margin: 10px auto !important;
		float: none !important;
		max-width: 100%;
		display: block;
	}	
	.content .documents a {
		display: inline-block;
		width: calc(33.33% - 4px);
	}
	.card img {
		display: block;
		margin: 0 auto;
	}
	.usluga {
		border-bottom: 1px dotted #8a1e74;
	}
	.usluga span {
		width: auto;
	}
	.usluga ul {
		width: auto;
		position: relative;
		right: auto;
		margin-bottom: 20px;
	}
	.usluga li {
		line-height: 2;
	}
	.nazvanie {
		font-size: 20px;
		text-align: center;
	}
	.sotrudniki {
		flex-direction: column;
	}
	.sotrudniki p, .sotrudniki small {
		text-align: center;
		display: block;
	}
	.sotrudniki small {
		font-size: 70%;
	}
	.sotrudniki img {
		width: 95% !important;
		height: auto !important;
	}
	.sotrudniki ul {
		padding-left: 20px;
	}
	#lightgallery {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 4px;
	}
	.sliderkit {
		width: calc(100% + 30px);
		height: 300px;
		border: 0;
		margin-left: -15px;
		border-top: 1px solid #333;
		border-bottom: 1px solid #333;
	}
	.sliderkit .sliderkit-panel {
		width: 100%;
		height: 300px;
	}
	.sliderkit .sliderkit-panels {
		width: 100%;
		height: 300px;
		border-radius: 0;
		border: 0;
	}
	.sliderkit .sliderkit-nav {
		width: 100%;
		height: 70px;
		left: 0;
		bottom: 20px;
		top: auto;
	}
	.sliderkit .sliderkit-nav-clip li a {
		height: auto;
		width: auto;
		padding: 4px;
		border-radius: 0;
		text-align: center;
		margin: 0;
		min-height: 70px;
	}
	.sliderkit .sliderkit-nav-clip ul {
		display: flex;
		justify-content: space-around;
	}
	.sliderkit .sliderkit-nav-clip {
		width: 100% !important;
	}
	img.tabs-panel, img.slider-img-indent {
		width: auto;
		height: 300px;
		border-radius: 0;
		object-fit: cover;
		border: 0;
	}
	.sliderkit-nav img {
		width: auto;
		height: 46px;
		margin-right: 0;
		float: none;
	}
	.sliderkit .sliderkit-nav-clip ul li {
		margin: 0 1px;
	}
	.newslider-vertical .sliderkit-nav-clip h3 {
		font-size: .55rem;
		margin-bottom: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		min-height: 24px;
		margin-top: 2px;
	}
	.newslider-vertical .sliderkit-nav-clip p {
		display: none;
	}
	h1.razdel {
		border-top: 0;
	}
}

.send-form__agree {
	font-size: 12px;
	margin-top: 10px;
}

.inspectors a {
	display: block;
	margin-bottom: 14px;
	border-color: transparent;
}
.inspectors a:hover {
	border-bottom: 0;
}