/*
 * Responsive HTML5/CSS3 template
 * http://webcodebuilder.com/examples/responsive-html5css3-template/index.html
 *
 * Copyright 2012, WebCodeBuilder
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
@media all{
/*========== основной CSS ==========*/

/*#alert { background-color:#00FFFF;} /*debug*/
	body {
		font:14px Arial, Helvetica, sans-serif;
		margin:0;
		background:#bbb; /*#383838;*/
		width:100%;
		color:#444444;
		}
	a				{color:#466087; text-decoration:underline;}
	a:hover			{text-decoration:none;}
	section, header, footer, nav {display:block;}
	img				{border:0; vertical-align:top; max-width:100%; height: auto; width: auto\9; /* ie8 */}	/*https://habrahabr.ru/post/119127/ эластичные картинки*/
	.video embed,
	.video object,
	.video iframe {width: 100%; height: auto;}	/*https://habrahabr.ru/post/119127/ эластичные видео, max-width:100% (для видео) не работает в Safari решается с помощью небольшого js — wedeal.ru/blog/oshibka-safari-na-ipad-pri-povorote-iz-portrait-v-landscape/*/
/* Кстати, для iPad, iPhone можно сделать так (https://habrahabr.ru/post/119127/):
	normal styles here:
	#wrap {
		width:1024px;
		}
	@media only screen and (orientation:portrait){

	portrait styles here:
	#wrap {
		width:768px;
		}
	}
*/
	form,
	fieldset		{border:0; padding:0; margin:0;}
	h1 {
/*		font:4.285em/1.067em 'PT Sans', Arial, Helvetica, sans-serif; /*60px/64px*/
		font:1.285em/1.167em 'Nunito', Arial, Helvetica, sans-serif; /*18px/21px*/
		margin:0 0 0.167em;
		text-align:center;
		color:#000;
		text-shadow:0px 1px 1px rgba(255,255,255,0.5);
		}
	h2 {
/*		font:1.714em/1.125em Arial, Helvetica, sans-serif; /*24px/27px*/
		font:1.14284em/1.285em Arial, Helvetica, sans-serif; /*16px/18px*/
		color:#666;	/*#fff;*/
		text-align:center;
		margin:0 0 0.417em;
		text-shadow:0px 1px 1px rgba(255,255,255,0.5);
		}
	h3 {
/*		font:1.285em/1.167em 'Nunito', Arial, Helvetica, sans-serif; /*18px/21px*/
		font:1.1em/1.14284em Arial, Helvetica, sans-serif; /*14px/16px*/
		margin:0 0 0.55em;
		text-align:center;
		}
	.subHeading {
		display:block;
		/*font:2.357em/1.151em 'PT Sans', Arial, Helvetica, sans-serif; /*33px/38px*/
		font:1.1em/1.285em 'PT Sans', Arial, Helvetica, sans-serif; /*14px/18px*/
		margin:0 0 1em;
		text-align:center;
		color:#7a7a7a;
		text-shadow:0px 1px 1px rgba(255,255,255,0.5);
		}
	ul				{padding:0; margin:0; list-style:none;}
	section ul,
	article ul		{margin:0 0 0.5em;}
	section li,
	article li {
		padding:0 0 0.5em 1.5em;
		background:url(data:image/gif;base64,R0lGODlhBQAEALMKAKqqqoSEhGdnZ2FhYaioqE5OTpycnH9/f6CgoERERP///wAAAAAAAAAAAAAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjEgNjQuMTQwOTQ5LCAyMDEwLzEyLzA3LTEwOjU3OjAxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgV2luZG93cyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBQTFENDlG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ZERkIxNTE4RDcyMTFFMTlGMjFGRDNGOTMwN0RFRUYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjZERkIxNTI4RDcyMTFFMTlGMjFGRDNGOTMwN0RFRUYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGNkRGQjE0RjhENzIxMUUxOUYyMUZEM0Y5MzA3REVFRiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGNkRGQjE1MDhENzIxMUUxOUYyMUZEM0Y5MzA3REVFRiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrtCTg8AAADjSURBVHjarJQBDcMgEEUZqQEsYGGVgIVOQidhFmaBWUDCKmFIWC1UQscld8mFMBi3XvKTEuDecffTk/deVcImuaSQtClZnEG6svlMeifdhZAJ77+g2KFwYMbkBteLAAL3b2wdh0IV1Et4xUUA4pCIOVYOMhlkhAOdEJdBRtrQWSXUrqsAogrdUDnI4GwUAoJw+Ba/Q16oZgageAhtPNVyaNZb9YfLOGjD+TRB4PsdNXeYgJtqZ7IEspUE8UfQtxwbzeookGnd1/i7KcXS+T+r5tAHvKb2opWDXOtQpxmKxX4EGADGDjXSDl7KfgAAAABJRU5ErkJggg==) no-repeat;
		font-size:1.143em;
		line-height:1.25em;
		font-style:italic;
		color:#444;
		}
	q				{quotes:none; display:block; padding:1.5em 1em 0 40px;}
	q:before		{content:"";}
	q:after			{content:"";}
	cite			{display:block; text-align:right;}
	dl				{margin:0 0 10px;}
	dt				{font-weight:bold;}
	dd				{margin:0 0 10px 20px;}
	form,
	fieldset		{padding:0; margin:0; border:0;}
	.center			{max-width:960px; width:100%; margin:0 auto;}
	.hidden			{display:none;}
	.box-main:after,
	.center:after	{content:""; clear:both; display:block;}
	.right			{float:right;} 
	.left			{float:left;}
	.alignLeft		{float:left; margin-right:1em;}
	.alignRight		{float:right; margin-left:1em;}
	.fullWidth		{width:100%;}
	.fullWidth img	{width:100%;}
	.row			{width:99%; background:#eaeaea; padding:2.857em 0.5%;}	/*99% + 0.5% * 2 = 100% иначе появляется горизонтальный скроллинг*/
	.row:after		{content:""; display:block; clear:both;}
	.row.ad			{padding-top:0.5em; padding-bottom:0.5em;}				/*уменьшаем отступы под блок рекламы*/
	.row #top_adv	{padding-top:0; padding-bottom:0; border:2px solid #ccc; background-color:#e2e2e2;}
	#firm_adv		{border:2px solid #ccc; background-color:#e2e2e2; min-height:3px;}
	#firm_adv:after	{content:""; display:block; clear:both;}
	.common:before	{content:""; display:block; clear:both;}

	.grey {
		background:#7e8794;
		color:#fff;
		border-bottom:1px solid #f6f6f6;
		border-top:1px solid #f6f6f6;
		}

	.grey h1		{color:#fff; text-shadow:0 1px 2px rgba(0,0,0,0.5);}
	.grey h2		{text-shadow:0 1px 2px rgba(0,0,0,0.5);}
	.grey .subHeading {color:#d9e7fb; text-shadow:0 1px 1px rgba(0,0,0,0.5);}
	.grey a{color:#fff;}
	.btn {
		position:relative;
		display:inline-block;
		padding:0.278em;
		font:1.714em/2.375em Arial, Helvetica, sans-serif;
		border:1px solid #d6d6d6;
		background:#dedede;
		text-decoration:none;
		font-weight:bold;
		cursor:pointer;
		width:auto;
		margin:0 -2px;
		overflow:visible;
		
		-webkit-border-radius: 1.67em;
		-moz-border-radius: 1.67em;
		border-radius: 1.67em;
		
		-webkit-transition: background 0.5s ease;
		-moz-transition: background 0.5s ease;
		-o-transition: background 0.5s ease;
		transition: background 0.5s ease;
		}
	* +html .btn	{margin:0;}
	.btn span {
		color:#fff;
		padding:0 1.25em;
		display:block;
		text-shadow: 0px 0 rgba(0,0,0,0.31), 0 1px rgba(0,0,0,0.5), 0px 0 rgba(0,0,0,0.5), 0 0px rgba(0,0,0,0.5);
		
		-moz-box-shadow:   	inset 0 0px 3px rgba(255,255,255,255.75);
		-webkit-box-shadow: inset 0 0px 3px rgba(255,255,255,0.75);
		box-shadow:		 inset 0 0px 3px rgba(255,255,255,0.75);
							
		-webkit-border-radius: 1.25em;
		-moz-border-radius: 1.25em;
		border-radius: 1.25em;
		}
	.btnSmall {
		padding:0.278em;
		text-decoration:none;
		font-size:1.214em;
		line-height:2.35em;
		background:#798493;
		font-weight:bold;
		border:1px solid #505a68;
		
		-webkit-border-radius: 1.47em;
		-moz-border-radius: 1.47em;
		border-radius: 1.47em;
		
		-webkit-transition: background 0.5s ease;
		-moz-transition: background 0.5s ease;
		-o-transition: background 0.5s ease;
		transition: background 0.5s ease; 
		
		-moz-box-shadow:   	0 1px 1px rgba(255,255,255,0.36);
		-webkit-box-shadow: 0 1px 1px rgba(255,255,255,0.36);
		box-shadow:		 0 1px 1px rgba(255,255,255,0.36);
		}
	.btnSmall span {
		color:#fff;
		text-decoration:none;
		padding:0 1.47em;
		display:block;
		text-shadow: 0px 0 rgba(0,0,0,0.31), 0 1px rgba(0,0,0,0.5), 0px 0 rgba(0,0,0,0.5), 0 0px rgba(0,0,0,0.5);
		
		border:1px solid #566270;
		background:#606a78;

		background-image: linear-gradient(bottom, rgb(98,119,149) 0%, rgb(160,188,226) 100%);
		background-image: -o-linear-gradient(bottom, rgb(98,119,149) 0%, rgb(160,188,226) 100%);
		background-image: -moz-linear-gradient(bottom, rgb(98,119,149) 0%, rgb(160,188,226) 100%);
		background-image: -webkit-linear-gradient(bottom, rgb(98,119,149) 0%, rgb(160,188,226) 100%);
		background-image: -ms-linear-gradient(bottom, rgb(98,119,149) 0%, rgb(160,188,226) 100%);

		background-image: -webkit-gradient(
			linear,
			left bottom,
			left top,
			color-stop(0, rgb(98,119,149)),
			color-stop(1, rgb(160,188,226))
			);
		
		-moz-box-shadow:   	inset 0 2px 2px -2px rgba(255,255,255,255.75),
							inset 0 0 0 #fff;
		-webkit-box-shadow: inset 0 2px 2px -2px rgba(255,255,255,0.75),
							inset 0 0 0 #fff;
		box-shadow:		 inset 0 2px 2px -2px rgba(255,255,255,0.75),
							inset 0 0 0 #fff;
							
		-webkit-border-radius: 1.25em;
		-moz-border-radius: 1.25em;
		border-radius: 1.25em;
		}
	.btn:hover 		{background:#1b4648; background:rgba(0,0,0,0.2);}
	.btnSmall:hover	{background:none;}
	.btnSmall:hover span{
		background-image: linear-gradient(bottom, rgb(109,131,164) 0%, rgb(169,199,241) 100%);
		background-image: -o-linear-gradient(bottom, rgb(109,131,164) 0%, rgb(169,199,241) 100%);
		background-image: -moz-linear-gradient(bottom, rgb(109,131,164) 0%, rgb(169,199,241) 100%);
		background-image: -webkit-linear-gradient(bottom, rgb(109,131,164) 0%, rgb(169,199,241) 100%);
		background-image: -ms-linear-gradient(bottom, rgb(109,131,164) 0%, rgb(169,199,241) 100%);

		background-image: -webkit-gradient(
			linear,
			left bottom,
			left top,
			color-stop(0, rgb(109,131,164)),
			color-stop(1, rgb(169,199,241))
			);
		}
	.btn:active		{top:1px;}
	.btn:hover span,
	.btn:active span{color:#fff;}
	.btnGreen span	{
		border:1px solid #5e9048;
		background:#75cf44;
		
		background-image: linear-gradient(bottom, rgb(80,153,46) 0%, rgb(117,207,68) 100%);
		background-image: -o-linear-gradient(bottom, rgb(80,153,46) 0%, rgb(117,207,68) 100%);
		background-image: -moz-linear-gradient(bottom, rgb(80,153,46) 0%, rgb(117,207,68) 100%);
		background-image: -webkit-linear-gradient(bottom, rgb(80,153,46) 0%, rgb(117,207,68) 100%);
		background-image: -ms-linear-gradient(bottom, rgb(80,153,46) 0%, rgb(117,207,68) 100%);

		background-image: -webkit-gradient(
			linear,
			left bottom,
			left top,
			color-stop(0, rgb(80,153,46)),
			color-stop(1, rgb(117,207,68))
			);
		}
	.btnBlue span {
		background:#52b3d3;
		border:1px solid #67a2b4;
		color:#fff;
		
		background-image: linear-gradient(bottom, rgb(66,153,179) 0%, rgb(82,179,211) 100%);
		background-image: -o-linear-gradient(bottom, rgb(66,153,179) 0%, rgb(82,179,211) 100%);
		background-image: -moz-linear-gradient(bottom, rgb(66,153,179) 0%, rgb(82,179,211) 100%);
		background-image: -webkit-linear-gradient(bottom, rgb(66,153,179) 0%, rgb(82,179,211) 100%);
		background-image: -ms-linear-gradient(bottom, rgb(66,153,179) 0%, rgb(82,179,211) 100%);

		background-image: -webkit-gradient(
			linear,
			left bottom,
			left top,
			color-stop(0, rgb(66,153,179)),
			color-stop(1, rgb(82,179,211))
			);
		}
	.formRow	{width:100%; margin:0 0 1.5em;}
	.formRow:after{content:""; display:block; clear:both;}
	.textField{
		width:100%;
		overflow:hidden;
		border:1px solid #505a68;
		background:#798493;
		font-weight:bold;
		padding:0.5em;
		
		-webkit-border-radius: 2em;
		-moz-border-radius: 2em;
		border-radius: 2em;
				
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
		-moz-box-sizing: border-box;	/* Firefox, other Gecko */
		box-sizing: border-box; 
		
		-moz-box-shadow:   	0 1px 1px rgba(255,255,255,0.36);
		-webkit-box-shadow: 0 1px 1px rgba(255,255,255,0.36);
		box-shadow:		 0 1px 1px rgba(255,255,255,0.36);
		}
	input,
	textarea{
		display:block;
		background:#fff;
		font:1em/1.214em Arial, Helvetica, sans-serif;  /*14px/17px*/
		color:#444;
		width:100%;
		padding:0.5em 0.5em;/*0.75em 1.5em;*/
		border:1px solid #505762;
		margin:0;
		
		resize:none;
		
		-moz-box-shadow:   	inset 0 0px 3px rgba(0,0,0,0.75);
		-webkit-box-shadow: inset 0 0px 3px rgba(0,0,0,0.75);
		box-shadow:		 inset 0 0px 3px rgba(0,0,0,0.75);
		
		-webkit-border-radius: 0.2em;/*1.5em;*/
		-moz-border-radius: 0.2em;
		border-radius: 0.2em;
				
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
		-moz-box-sizing: border-box;	/* Firefox, other Gecko */
		box-sizing: border-box;		 /* Opera/IE 8+ */
		}
	textarea		{overflow:auto; height:10.812em;}
	* +html input,
	* +html textarea,
	* +html .textField {width:99%; padding:0;}
	::-webkit-input-placeholder {color:#444;}
	:-moz-placeholder {color:#444;}
	.columns		{width:100%}
	.columns:after	{content:""; display:block; clear:both;}
	.columns > div,
	.columns > article {float:left; vertical-align:top;}
	.columns h2		{text-align:left;}
	.half			{width:48.0%; margin:1.3%;}
	.oneThird		{width:32%; margin:1%;}
	.columns > div:first-child,
	.columns > article:first-child {margin-left:0;}
	.oneThird +.oneThird +.oneThird,
	.threeForth + .oneForth,
	.oneForth + .half,
	.half + .half,
	.half + .oneForth + .oneForth,
	.last			{float:right; margin-right:0;}
	.oneForth		{width:25%;}
	.threeForth		{width:74.5%;}
	.buttons {
		width:100%;
		overflow:hidden;
		text-align:center;
		margin:2.5em 0 0
		}
	.buttons > span {
		background:url(/m/img_mobile/sep-vert.gif) no-repeat 50% 50%;
		display:inline-block;
		font-size:1.714em;
		line-height:1.125em;
		padding:1em 0.75em;
		margin:0 -1px 0 -2px;
		background:#;
		}
	* +html .buttons > span {margin:0 20px;}
	.buttons > span em {font-style:normal; display:block; background:#eaeaea;}
	.imgHolder {
		display:inline-block;
		padding:1px;
		background:#fff;
		border:6px solid #cecece;
		margin-bottom:1em;
		max-width:100%;
		overflow:hidden;
		
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
		-moz-box-sizing: border-box;	/* Firefox, other Gecko */
		box-sizing: border-box;		 /* Opera/IE 8+ */
		}
	* +html .imgHolder {max-width:93.5%; border-width:3%; padding:0;}
	.imgHolder img	{display:block;}
	.grey .imgHolder{border-color:#646e7d;}
	/*main styles*/
	#pagewidth		{width:100%;}

	#header {
		position: static;							/*static block for main navigation menu */
		width: 100%;
		min-height:6em;
		background:#ccc;
		white-space:nowrap;
		}
	#header #menu-hamburger { display:inline-block; max-width:5em; float:left; }
	#header #menu-hamburger:before {		/*значок гамбургера для мобильного меню*/
	  content:"\2261";						/*символ unicode для "гамбургера"*/
	  font:5em "arial";
	  }
	#header #menu-hamburger.close:before {	/*заменяем "гамбургер" на X для закрытия мобильного меню*/
	  content:"\00D7"!important;			/*знак умножения*/
	  font:5.1em "Times New Roman";
	  padding-left:0.1em;
	  font-weight:bold;
	  }

	#header #mainNav { width:100%; text-align:center; }		/*main navigation menu */
	#header #mainNav .ico {					/*icons in main nav bar*/
	  margin-top: 2.0em;
	  margin-left: 0.8em;
	  vertical-align:baseline;
	  float:left;
	  cursor:pointer;
	  }

	#header form	{ display:inline-block; white-space:nowrap; margin-top: 2.0em; }
	#map form img,
	#header form img { cursor:pointer; }	/*кнопка-картинка submit*/
	#map input[type=text],
	#header input[type=text] { width:80%; overflow:hidden; float:left; }	/*поиск по фирмам*/
	#header #setup { float:right; }			/*setup icons in main nav bar*/


	#content	{padding:0; width:100%;}


	.gallery{			/* could be a slider container and just container for text blocks, see <div id="testimonials" in shablone demo */
		background:url(/m/img_mobile/sep-hor.gif) no-repeat 50% 0;
		padding:2px 0;
		position:relative;
		margin:0 auto;
		width:81.25%;
		position:relative;
		}
	.gallery:after {
		content:"";
		position:absolute;
		bottom:0;
		left:0;
		background:url(/m/img_mobile/sep-hor.gif) no-repeat 50% 0;
		width:100%;
		height:2px;
		}

	.news > div {
		border:1px solid #505a68;
		position:relative;
		padding:0 0 50px;
		margin:0 0 30px;
		height:1%;
		}
	.news > div:after {content:""; display:block; clear:both;}
	.news h3 {
		font-size:1.714em;
		line-height:2.583em;
		text-align:center;
		margin:0 0 0.83em;
		border-top:1px solid #909eb2;
		border-bottom:1px solid #545b65;
		background:#5d6a7c;
		
		background-image: linear-gradient(bottom, rgb(93,106,124) 0%, rgb(126,137,153) 100%);
		background-image: -o-linear-gradient(bottom, rgb(93,106,124) 0%, rgb(126,137,153) 100%);
		background-image: -moz-linear-gradient(bottom, rgb(93,106,124) 0%, rgb(126,137,153) 100%);
		background-image: -webkit-linear-gradient(bottom, rgb(93,106,124) 0%, rgb(126,137,153) 100%);
		background-image: -ms-linear-gradient(bottom, rgb(93,106,124) 0%, rgb(126,137,153) 100%);

		background-image: -webkit-gradient(
			linear,
			left bottom,
			left top,
			color-stop(0, rgb(93,106,124)),
			color-stop(1, rgb(126,137,153))
			);
		}
	.news h3 a		{display:block; text-decoration:none; text-shadow:0 1px 2px rgba(0,0,0,0.5);}
	.news .content	{width:83%; overflow:hidden; margin:0 auto;}
	.news .readMore	{
		position:absolute;
		top:100%;
		margin:-2.143em 0 0;
		width:100%;
		text-align:center;
		}
/* not for sliders only: */
	.slides 		{list-style:none; overflow:hidden; padding:0; width:100%;}
	.slides li		{padding:0; position:relative; background:url(/m/img_mobile/sep-vert.gif) no-repeat 50% 50%; }
	* +html .slides li {display:inline; zoom:1; margin:0;}
	.slides blockquote {float:right; width:48%; margin:2.5em 0 0;}
	.slides blockquote:first-child {float:left;}
/* */
	#map {
		border:1px solid #535d6b;
		padding:0.428em;
		background:#798493;
		margin:0 0 1em;
		}
	#map .imgHolder {
		height:1%;
		overflow:hidden;
		background:#fff;
		padding:1px;
		border:0;
		margin:0;
		display:block;
		}
	.form			{width:92%;}
	#testimonials	{margin-top:-2.857em;}
	#testimonials .row {padding:0; background:url(/m/img_mobile/sep-hor.gif) no-repeat 50% 1.5em;}
	#testimonials .row:first-child {background:none;}
	#testimonials	{background:none;}
	#testimonials:after {display:none;}
	#footer {
		width:100%;
		overflow:hidden;
		padding:24px 0;
		color:#333;
		line-height:16px;
		text-align:center;
		}
	#footer a		{color:#666;}

	/*slider's CSS*/
	.swiper-container {width:100%; height:100%;}
	.swiper-slide {
		/* Center slide text vertically */
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		-webkit-justify-content: center;
		justify-content: center;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
		margin-bottom:10px;
		}

	.swiper-slide > div {	/* Из-за стилей центрирования в .swiper-slide, <p> и <div> ведут себя как display:inline-block и мы вынуждены вкладывать внутрь этот <div> */
		text-align:left;
		width:100%;
		vertical-align:top;
		padding:3px 10px;
		margin:3px auto;
		border: 1px solid #ccc;
		background-color: #ddd;
		}

	.swiper-slide .title {
		font-style:italic;
		font-size:large;
		text-align:center;
		}
	.swiper-slide-active {	/* Specific active slide styling: */
		opacity: 1;			/*last slide remain nonactive :(*/
		}
	.swiper-slide-next,
	.swiper-slide-prev {	/* Specific slide styling if they are visible */
		opacity:0.6;
		}

	/* Меняем местоположение стрелок, без !important не переопределяются встроенные в swiper.js стили */
	.swiper-button-prev,
	.swiper-button-next {
		position: relative!important;
		margin-top:30px;
		}
	.swiper-button-prev {
		float:left!important;
		margin-right:10px!important;
		}
	.swiper-button-next {
		float:right!important;
		margin-left:10px!important;
		}
	/* End Swiper's CSS */

	/* Стили самого сайта */
	table.wt	{border-collapse:collapse;}
	table.wt td	{
		font-size:0.7em;
		/*line-height:14px;*/
		padding:0 2px;
		white-space:nowrap;
		text-align:center;
		border:1px solid #B5C8C6;
		background-color:#d6d6d6;
		color:#666;}
	table.wt td.nbrd	{border-left:0 solid #CED8E2; border-top:0 solid #CED8E2; border-bottom:0 solid #CED8E2;}
	table.wt td.today	{background-color:#E6E6E6; font-size:0.8em}
	table.wt caption	{font-size:0.8em; line-height:1em; color:#ccc;}

	.small				{font-size:0.7em;}
	.smallxx			{font-size:0.65em;}
	.fnt90				{font-size:90%;}
	.fnt80				{font-size:80%;}
	.gray				{}

	table.filial img.metro	{vertical-align:bottom; margin-right:4px;}	/*логотип метро в таблице филиалов*/
	.fd_compact img.metro	{vertical-align:middle; margin-right:4px;}	/*логотип метро в карточке фирмы*/

	p.archive {
		float:left;
		text-align:left;
		clear:both;
		margin:2px 0 0 5px;
		padding:2px 2px 2px 25px;
		white-space:nowrap;
		color:#0066CC;
		font-weight:bold;
		background-image:url(/m/img_mobile/archive.gif);
		background-repeat:no-repeat;
		background-position:2px center;
		border:1px solid #C6DDFD;
		background-color:#D8E8FE;
		}

	p.fd			{text-indent:1em; margin:5px 0;}
	p.bull			{background:url(/m/img_mobile/arrow.gif) no-repeat left 6px;}/*для буллета в fd как в .lmenu*/
	p.fld			{text-indent:1em; margin:5px 0; color:#333333;}	/*описание филиала*/
	.colored		{color:#006633;}
	.gray			{color:#707070;}

	a.lmenu			{color:#3b8ac0;	margin-left:4px; margin-right:2px; padding-left:8px; line-height:1.2em; display:block; background:url(/m/img_mobile/arrow.gif) no-repeat left 6px;}

	span.AO {						/*место под АвтономныйОкруг*/
		color:#006633;
		font-family:Verdana,sans-serif;
		font-weight:normal;
		font-size:0.9em;
		padding-left:0 2px;
		display:inline-block;
		vertical-align:top;
		float:left;
		margin-right:3px;
		line-height:1em;
		border:1px solid #C6DDFD; /*#CED8E2;*/
		background-color:#E2EEFE; /*#D8E8FE;*/
		}

	#noscript-warning { text-align:center; color:#990000; font-size:1.9em; }

	.Grid_ul { text-align: center; padding: 0px; margin: auto; }	/*ul-li grid-таблица, не влязящие по ширине элементы переносятся на следующую строку */
	.Grid_ul li {
	  display: inline-block;
	  vertical-align: top;
	  padding: 0px; margin: 4px; text-align: center;
	  *display: inline;												/*для ie7, лучше вынести в отдельные стили */
	  *zoom: 1;	}													/*для ie7, лучше вынести в отдельные стили */
	  .Grid_ul li DIV.radius { border: 1px solid #666; padding: 4px; border-radius: 3px 3px 3px 3px;	/*рамка со скруглёнными краями */
		background-color:#bbb; color: #ccc;}						/*color:#CCCCCC - белые надписи на тёмном фоне когда нет фото */
	  .Grid_ul li div.count	{float:right; color:#777; margin:0 2px 0 5px;}	/*число Фирм_в_Доме*/

	}
@media all and (max-width: 1024px){ }
@media all and (max-width: 960px){
	.center			{padding:0 10px; width:auto;}
	.buttons		{font-size:11px;}
	#header {
		padding:2px 0 0;
		height:0;
		/*overflow:hidden;*/
		position:static;
		}
	#content		{padding:0;}
/*#alert { background-color:#66FF66;}  #alert:after {content:" <1024/960";}	/*debug*/
	}
@media all and (max-width: 780px){
	body			{font-size:13px;}
	.buttons		{font-size:9px;}
	h1				{font-size:3.5em;}
	.subHeading		{font-size:2em;}
	.news h3		{font-size:1.3em;}
/*#alert { background-color:#0099FF;}  #alert:after {content:" <780";}	/*debug*/
	}
@media all and (max-width: 504px){
	body			{font-size:12px;}
	.columns > div,											/* 2 columns <div class="half"> and 3 columns <article class="oneThird"> make in vertical */
	.columns > article {float:none; margin:0; width:100%;}	/* 3 columns <article class="oneThird"> make in vertical */
	.buttons		{font-size:7px;}
	#testimonials li,
	#testimonials .row {background:none;}
	#testimonials blockquote {float:none; width:100%; position:relative;}
	#testimonials blockquote:after {
		background:url(/img_mobile/sep-hor.gif) no-repeat 50% 0;
		content:"";
		position:absolute;
		left:0;
		top:-18px;
		width:100%;
		height:2px;
		}
	#testimonials .row:first-child blockquote:first-child:after {display:none;}
	.flex-direction-nav {display:none;}
	h1				{font-size:3em;}
	.subHeading		{font-size:1.75em;}
	#header form	{width:45%;}
/*#alert { background-color:#FFFF00; }  #alert:after {content:" <504";}	/*debug*/
	}
@media all and (max-width: 320px){
	.buttons > span	{display:none;}
	.buttons .btn	{margin-top:0.5em;}
	.buttons		{margin-top:2em;}
	h1				{font-size:2.5em;}
	.subHeading		{font-size:1.5em;}
	.news h3		{font-size:1.25em;}
	#header form	{width:30%;}
	#header .setup	{display:none;}		/*убираем, ибо не входит по ширине*/
/*#alert { background-color:#FF0000;}  #alert:after {content:" <320";}	/*debug*/
	}
@media all
  and (min-device-width: 768px)
  and (max-device-width: 1024px){
	#header			{padding:2px 0 0; height:0; /*overflow:hidden;*/ position:static;}
	#content		{padding:0;}
	}
@media only screen and (orientation:landscape) {	/*альбомная ориентация - форму поиска можно сделать шире*/
	#header form	{width:70%;}
	}