html {
    height: 100%;
}
body {
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Arial,Helvetica,sans-serif;
	height: 100%;
}
body.loginpage{
	background: #96aaab url(images/bg.jpg) 50% 50% no-repeat;
}
#page{
	height: auto;
	min-height: 100%;
	position: relative;
}

#header
{
	height: 56px;
	padding: 0px 30px;
	background: url('images/header.png') repeat-x;
	min-width: 900px;
	color: white;
}
#header.fixed{
	height: 130px;
}
#logo
{
	padding: 10px 20px;
	font-size: 200%;
}
#logo a {
	color: #f1f1f1;
	text-decoration: none;
}

#mainmenu
{
	position: relative;
	z-index: 2;
	height: 34px;
	clear: both;
	/*padding: 0px 30px;*/
	min-width: 900px;
	background: #000;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #050505),
		color-stop(1, #111)
	);
	-moz-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
	-webkit-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
	-o-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
	box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
}
#mainmenu.fixed{
	position: fixed;
	width: 100%;
	top:0;
}
#mainmenu ul
{
	display: block;
	margin: 0;
	overflow: hidden;
}

#mainmenu ul li
{
	float: left;
	list-style: none;
}
#mainmenu ul li:last-child{
	float: right;
}
#mainmenu > ul > li + li {
	background: url('images/split.png') center left no-repeat;
}
#mainmenu ul li a
{
	padding: 10px 15px 9px 17px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: white;
	text-align: center;
	display: block;
	text-decoration: none;
}

#mainmenu ul li.active a
{
	/*background: url('images/selected.png') repeat-x;*/
	color: white;
	background-image: -webkit-gradient( 
		linear, 
		left top, 
		left bottom, 
		color-stop(0, rgb(10,10,10)), 
		color-stop(1, rgb(56,65,76)) 
	);
}
#mainmenu ul li:hover ul
{
	display:block
}
#mainmenu ul li ul {
	display:none;
	list-style: none;
	margin: 0;
	padding: 0;
	background: url('images/transparent.png');
	position: absolute;
}
#mainmenu ul li ul li:last-child{
	float: none;
}
#mainmenu ul li ul li{
	float: none;
	text-align:left;
}
#mainmenu ul li ul li a{
	text-align:left;
	width: 150px;
	padding: 5px 10px;
}
#mainmenu ul li:hover ul li a, #mainmenu ul li.active ul li a, #mainmenu ul li ul li a {
	background: transparent;
}
#mainmenu ul li ul li:hover, #mainmenu ul li ul li.active {
	background: #333;
}

/* main menu end*/
/* bread start */
.bread{
	background: white url('images/background.png') 0px 1px repeat-x;
	padding: 10px 30px 0px 
}
/* bread end */
/* footer start */
#footer{
	background: white url('images/footer.png') repeat-x;
	height: 55px;
	padding-top: 38px;
	text-align: center;
	font-size: 12px;
	color: #333;
	position: relative;
	margin-left: 0;
	clear: both;
/*
	-moz-box-shadow: inset 2px 0px 2px rgba(0,0,0,0.8);
	-webkit-box-shadow: inset 2px 0px 2px rgba(0,0,0,0.8);
	-o-box-shadow: inset 2px 0px 2px rgba(0,0,0,0.8);
	box-shadow: inset 2px 0px 2px rgba(0,0,0,0.8);
	*/
	clear: both;
	margin: -93px auto 0 44px;
	position: relative;
	z-index: 10;
}
#clearfooter {
clear: both;
height: 90px;
position: relative;
z-index: 10;
margin-left: 300px;
}
/* footer end */
#sidebar
{
	overflow: hidden;
	position: fixed;
	float: left;
	width: 40px;
	margin-top: 0;
	background: #515151;
	min-height: 100%;
	-moz-box-shadow: 2px 0px 2px rgba(0,0,0,0.8);
	-webkit-box-shadow: 2px 0px 2px rgba(0,0,0,0.8);
	-o-box-shadow: 2px 0px 2px rgba(0,0,0,0.8);
	box-shadow: 2px 0px 2px rgba(0,0,0,0.8); 
	z-index: 1;
}
#sidebar:hover{
	width:290px!important;
}
	#sidebar .showHideSidebar{
		position: absolute;
		top: 50%;
		margin-top:-50px;
		right: -6px;
		height: 50px;
		width: 10px;
		background: repeating-linear-gradient(0deg,#999,#999 3px,#333 5px,#333 7px);
		-moz-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
		-webkit-box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.8);
		-o-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
		box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.8);
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		cursor: pointer;
	}
	#left-menu {
		/*position: relative;*/
		margin: 0;
		padding: 0;
		margin-top: 10px;
	}
		#left-menu li {
			position: relative;
			display: block;
			/*background: #aaa;*/
			/*border: 1px solid black;*/
			list-style-type: none;
			border-top: 1px solid rgba(0,0,0,0.1);
			max-height: 53px;
			white-space: nowrap;
		}
		#left-menu > li {
			padding: 0 10px 0 10px;
		}
		#left-menu li:last-child {
			border-bottom: 1px solid rgba(0,0,0,0.1);
		}
		#left-menu > li:last-child {
			bottom: 0;
			position: absolute;
			width: 269px;
		}
			
			#left-menu li span,
			#left-menu li a {
				color: #fff;
				text-decoration: none;
				padding:10px 0 10px 0;
				display: block;
				overflow: hidden;
				cursor: pointer;
			}
			#left-menu > li > span,
			#left-menu > li > a {
				padding-left: 30px;
				/* height: 16px;
				white-space: nowrap; */
			}
				#menu-icon-home 	{background: url(images/icons/home.png) no-repeat left center; }			
				#menu-icon-exit 	{background: url(images/icons/exit.png) no-repeat left center; }			
				#menu-icon-users 	{background: url(images/icons/users.png) no-repeat left center; }			
				#menu-icon-driver 	{background: url(images/icons/driver.png) no-repeat left center; }			
				#menu-icon-menu 	{background: url(images/icons/menu.png) no-repeat left center; }			
				#menu-icon-routes 	{background: url(images/icons/routes.png) no-repeat left center; }			
				#menu-icon-translation{background: url(images/icons/translation.png) no-repeat left center; }			
				#menu-icon-manager 	{background: url(images/icons/manager.png) no-repeat left center; }			
				#menu-icon-gallery 	{background: url(images/icons/images.png) no-repeat left center; }			
				#menu-icon-videos 	{background: url(images/icons/video.png) no-repeat left center; }			
				#menu-icon-portfolio{background: url(images/icons/portfolio.png) no-repeat left center; }			
				#menu-icon-modules 	{background: url(images/icons/module.png) no-repeat left center; }			
				#menu-icon-content 	{background: url(images/icons/content.png) no-repeat left center; }			
				#menu-icon-wholesaler {background: url(images/icons/wholesaler.png) no-repeat left center; }
				#menu-icon-cart     {background: url(images/icons/cart.png) no-repeat left center; }
			#left-menu li.active{
				background: #333;
				box-shadow: inset 0 2px 2px rgba(0,0,0,0.1);
			}
			#left-menu li.hover{
				background: #444;
				box-shadow: inset 0 2px 2px rgba(0,0,0,0.1);
			}
				#left-menu li.active a{
					color: #fff;
				}
			#left-menu li ul {
				position: absolute;
				top: 0;
				left: 130px;
					margin-left: -4px;
				padding: 0;
				/*width: 100px;*/
				color: #fff;
				z-index: 10;
				-moz-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
				-webkit-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
				-o-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
				box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
			}
				#left-menu li ul li{
					width: 140px;
					text-align: center;
					background: #555;
				}
				#left-menu li ul li:last-child{
					
				}
	#sidebar .hidden {
		display: none;
	}
/* END Sidebar*/
#content {
	margin-left: 40px;
    padding: 6px 20px 20px;
	background: #fff;
 	
}
#content .form{padding: 15px 24px;}
#content .form .row{border-bottom:1px dotted #CECECE;overflow: hidden;padding-bottom: 5px;margin-top:5px;}
#content .form .row label{width:200px;}
#content .form .row .field, #content .form .row .redactor_box, #content .form .row .cke_browser_webkit{float:left;}
#content .form .row .redactor_box, #content .form .row .cke_browser_webkit{width: 70%;}
#content .form .row input, #content .form .row textarea{width:500px;}
#content .form .row input[type="checkbox"]{width:auto;}
#content .form .row .btn{width:auto;}
#content .form .row select{width:512px;}

#content ul.yiiPager a, #content ul.yiiPager a:link, ul.yiiPager a:visited {
	border: solid 1px #a1a1a1;
	font-weight: bold;
	color: #a1a1a1;
	padding: 1px 6px;
	text-decoration: none;
	-webkit-border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-khtml-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
}
#content ul.yiiPager .selected a {
	background: #a1a1a1;
	color: white;
	font-weight: bold;
}
/* buttons start */
#buttons{
	/*float:right;*/
	position: fixed;
	top: 13px;
	right: 33px;
	height: 33px;
}
#buttons .portlet-content{
	margin: 0;
	padding: 0;
}
#buttons ul{
	/*overflow: hidden;*/
}
#buttons li{
	float:left;
}
#buttons li a{
	border: 1px solid #333;
	font-weight:normal;
	cursor: pointer;
	text-decoration: none;
	color: white;
	display: inline-block;
	padding: 5px 15px 5px 15px;
	margin: 0 2px;
	background: rgb(56,65,76);
	-webkit-transform: translate(0,-1px);
    -moz-transform: translate(0,-1px); 
    -o-transform: translate(0,-1px);
	-webkit-box-shadow: 
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
	-moz-box-shadow: 
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
	box-shadow:
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
}
#buttons li.saveForm a{
	background: #686868;
}
#buttons li a:hover{
	-webkit-transform: translate(0,0px);
    -moz-transform: translate(0,0px); 
    -o-transform: translate(0,0px);
	-webkit-box-shadow: 
		0 2px 2px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 
		0 2px 2px rgba(0, 0, 0, 0.3);
	box-shadow:
		0 2px 2px rgba(0, 0, 0, 0.3);
}
#buttons li a:active{
	-webkit-box-shadow: 
		inset 0 2px 2px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 
		inset 0 2px 2px rgba(0, 0, 0, 0.3);
	box-shadow:
		inset 0 2px 2px rgba(0, 0, 0, 0.3);
}
#buttons.fixed {
	position: fixed;
	top: 36px;
	right: 10px;
}
/* buttons end */

/* table start */
.wrapper_content{
	
	border: 1px solid #ddd;
	-webkit-box-shadow: 
		0 15px 10px -10px rgba(0, 0, 0, 0.5), 
		0 1px 4px rgba(0, 0, 0, 0.3), 
		0 0 40px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 
		0 15px 10px -10px rgba(0, 0, 0, 0.5), 
		0 1px 4px rgba(0, 0, 0, 0.3), 
		0 0 40px rgba(0, 0, 0, 0.1) inset;
	box-shadow:
		0 15px 10px -10px rgba(0, 0, 0, 0.5),
		0 1px 4px rgba(0, 0, 0, 0.3),
		0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.wrapper_content .el-finder{
	margin:20px;
	width:auto;
}
#content .wrapper_content h1{
		font-size: 20px;
		margin-bottom: 15px;
		line-height: 29px;
		margin: 0;
		padding: 7px 20px;
		border-bottom: 1px solid #ddd;
		background-image: -webkit-gradient(
			linear,
			left top,
			left bottom,
			color-stop(0.5, #ffffff),
			color-stop(1, #ededed)
		);

		/* box-shadow: 0 0 6px rgba(0, 0, 0, 0.1) inset; */
	}
#content .grid-view{
	margin: 0 14px 14px;
}
#content .grid-view table{
	border: none;
}
#content table th, #content table td
{
	font-size: 0.9em;
	border: none;
	padding: 0.3em;
}
#content table tr {}
#content table tr.return {
background-color: rgba(255, 0, 0, 0.17);}
#content .index{clear: both; margin-top:40px;}
/*#content .grid-view{clear: both;}*/
#content table td, #content table th{padding:5px;}
#content table {border-top:1px solid #DDD; background: #fff; border-collapse: collapse;}
/*#content table th {background: #EFEFEF}*/
#content table th {
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #DEDEDE),
		color-stop(0.6, #D2D2D2)
	);
}
#content table.niceTable{width:100%;}
#content table td{vertical-align: top}
#content table th{color:black; font-weight:bold;}
#content table th a{color:black; font-weight:bold;}
#content table tbody tr:hover, #content table tbody tr.hover {background: #eaf7ff ;}
#content table tr.odd {background: #ECECEC;}
#content table tr.even {background: #fdfdfd;}
#content table tr.change {background: #FEB4B4!important;}
#content table tr.save {background: #B4FEBB!important;}
#content table tr.bb {border-bottom: 1px solid #B6B5B5;}
#content .grid-view .button-column {width:73px}
table input{width:100%;}
input[type="checkbox"], input[type="radio"], input[type="submit"] {width:auto;}
.lInp{width:30px;}
.lmInp{width:100px;}
.mInp{width:200px;}
b.mInp{display: inline-block;}
input.mInp{width:198px;}
.bInp{width:400px;}
.inp95{width:95px;}
.inp155{width:155px;}
.inp70{width:70px; display: inline-block;}
.inp70p{width:70%; display: inline-block;}
.inp23p{width:23%; display: inline-block;}
.halfInp{width:45%; display: inline-block;}
select.halfInp{width:46%;}
.remove, .addBtn{width:15px; height:15px; display:inline-block;color:#fff; border-radius: 8px; text-decoration: none; line-height: 15px; text-align: center; cursor: pointer; font-size: 16px; font-weight: bold; border: 1px solid #AEAEAE;}
.remove:hover, .addBtn:hover{color:#3D3D3D;}
.remove{background: #FF0000; line-height: 14px}
.addBtn{background: #00D82C}
.btns a, a.btn{
	font-weight: normal;
	cursor: pointer;
	text-decoration: none;
	color: white;
	display: block;
	padding: 1px 3px;
	text-align: center;
	margin: 2px;
	background: rgb(56,65,76);
	border:1px solid #000;
	border-radius: 0;
	width: auto;
	height: auto;
	font-size: 13px;
}
a.btn{
	width:auto;
	padding: 2px 10px;
	display: inline-block;;
}
.btns a:hover, a.btn:hover{
	border:1px solid #D6D6D6;
	color: #fff;
}
/* tables end */

/*login*/
#page.loginpage {
	margin:  0;
	padding: 0;
}
#page.loginpage .content{
	padding-top:30px;
background: white url('images/background.png') 0px 1px repeat-x;
}
/*error*/
div.form .errorMessage {
	color: red;
	font-size: 0.9em;
	display: block;
	clear: both;
}
/*index*/
#counter {
  /*width: 938px;*/
  margin: 0 auto 22px;
  clear: both;
  height: 74px;
  background: url('images/counter.png') no-repeat center bottom;
  padding-top: 38px;
  font-size: 20px;
  color: #333;
  line-height: 18px;
  font-weight: bold;
  text-align: center;
}
#counter p  {
	margin: 0;
}
#counter p span {
  color: #cc0000;
  font-size: 24px;
  margin-right: 51px;
}
#counter p span.last {
  margin-right: 0;
}
div.clear{width:100%;clear:both;overflow:hidden;}
div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin:1em 0;
	border:2px solid #ddd;
	clear:both;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

.portlet
{

}

.portlet-decoration
{
	padding: 3px 8px;
	background: #B7D6E7;
	border-left: 5px solid #6FACCF;
}
.portlet-decoration hr{display:none;}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	padding: 5px;
	margin: 0;
	color: #298dcd;
}

.portlet-content
{
	margin: 0 0 15px 0;
	padding: 5px 8px;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font: bold 12px Arial;
	color: #0066A4;
	display: block;
	padding: 2px 0 2px 8px;
	line-height: 15px;
	text-decoration: none;
}

.operations li a:visited
{
	color: #0066A4;
}

.operations li a:hover
{
	background: #80CFFF;
}
.popup  {
	position: fixed;
	bottom: 10px;
	right: 20px;
	width: 300px;
	max-height: 400px;
	overflow-y: scroll;
	padding: 30px 10px 10px;
	background: white;
	border: 1px solid black;
	z-index: 9999;
	font-size:12px;
}

.popup .closePopup{display: block;position: absolute;right: 10px;top:10px;cursor:pointer;}

.row.big p{overflow:hidden;}
.row.big p label{width:100%;}
.grid-view .onpage {float: left;}
.grid-view .pager {float: right;}
/************TABS***************/
.tabs {width:100%;border-bottom: 1px solid #CECECE;height:27px;margin-bottom:20px;}
.tabs .tab{display: block; float:left; padding:5px 15px; border: 1px solid #CECECE; color:#333; border-bottom: none; background: #CECECE; margin: 0 3px;text-transform: uppercase; text-decoration: none; -webkit-border-radius: 4px 4px 0px 0px;-moz-border-radius: 4px 4px 0px 0px;-khtml-border-radius: 4px 4px 0px 0px;border-radius: 4px 4px 0px 0px;}
.tabs .tab.active{margin-bottom:-1px; top: 1px; position: relative; background: #fff; color:#000;}
.screen{display:none}
.screen.visible{display:block}

/* *** Кнопка Вверх *** */
.b-top {z-index:2600;position:fixed;right:0;bottom:10px;width:34%;margin-left:50%;opacity: 0.5;filter:alpha(opacity=50);}
.b-top:hover {opacity:1;filter:alpha(opacity=100);cursor:pointer;}
.b-top-but {
	z-index:2600;
	position:absolute;
	display:block;
	right:6px;bottom:0;
	/*margin:0 0 0 100%;*/
	padding:20px 4px 4px;
	font-size: 12px;
	font-weight: normal;
	color:white;
	background:#cdcdcd url(http://site.yandex.ru/static/css/blocks/b-j-top/b-j-top.png) no-repeat 50% 6px;
	border:1px solid #aaa;
	/*box-shadow: 0px 8px 6px -6px rgba(0,0,0,0.8);*/
	border-radius: 4px;
}
.b-top-but:hover {
	-webkit-transform: translate(0,-2px);
    -moz-transform: translate(0,-2px); 
    -o-transform: translate(0,-2px);
	-webkit-box-shadow: 
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
	-moz-box-shadow: 
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
	box-shadow:
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
}

.loginWrap {
	width:320px;
	top:50%;
	left:50%;
	margin-top:-110px;
	margin-left:-170px;
	position:absolute;
	border: 1px solid #ddd;
	-webkit-box-shadow: 
		0 15px 10px -10px rgba(0, 0, 0, 0.5), 
		0 1px 4px rgba(0, 0, 0, 0.3), 
		0 0 40px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 
		0 15px 10px -10px rgba(0, 0, 0, 0.5), 
		0 1px 4px rgba(0, 0, 0, 0.3), 
		0 0 40px rgba(0, 0, 0, 0.1) inset;
	box-shadow:
		0 15px 10px -10px rgba(0, 0, 0, 0.5),
		0 1px 4px rgba(0, 0, 0, 0.3),
		0 0 40px rgba(0, 0, 0, 0.1) inset;
	background: #fff;
}
.loginWrap div.egida{
	background: url('images/egida.png') 0 0 no-repeat;
	width:31px;
	height:34px;
	position: absolute;
	top:4px;
	left:63px;
}
.loginWrap h1{
	text-align: center;
	font-size: 20px;
	margin-bottom: 15px;
	line-height: 29px;
	margin: 0;
	padding: 7px 20px;
	border-bottom: 1px solid #ddd;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0.5, #ffffff),
		color-stop(1, #ededed)
	);
}
.loginWrap .form{
	padding:20px;
}
.e-btn{
	border: 1px solid #333;
	font-weight: normal;
	cursor: pointer;
	text-decoration: none;
	color: #FFF;
	display: inline-block;
	padding: 5px 15px 5px 15px;
	margin: 0;
	background: #38414C;
}
.errorMessage{color:red;}
#login-form{text-align: center;margin:10px auto;}
#login-form .row {clear:both; overflow: hidden;}
#login-form .row input[type=text], #login-form .row input[type=password]{float:right; width: 160px}
#login-form .row.submit input{float:right}
.form .row {margin:5px;}
.form .row.rememberMe label {float: left;width:179px;text-align:left;}
.form .row.rememberMe input {float: left;text-align:right;margin: 2px 10px 0 0;}
.form .row label{display:block;float:left;width:100px;text-align: left;}
.small-text {
  font-size: 85%;
}
#fc{z-index: 9; width: auto}
#fc td{padding: 0}
ul.yiiPager{
	margin-bottom: 20px!important;
	display: inline-block!important;
}
.filters{ padding: 10px;}
.filters form{ margin: 10px 0;}
.filters form b{ width:100px; display: inline-block;}
.hidden{display: none;}
.hiddenTr{display:none;}
.status_dogovor_2, .status_dogovor_2::selection {background: grey; color:#fff;}
.status_dogovor_3, .status_dogovor_3::selection {background: #3A76B1; color:#fff;}
.status_dogovor_1, .status_dogovor_1::selection {background: green; color:#fff;}
.status_dogovor_0, .status_dogovor_0::selection {background: red; color:#fff;}
.custom-combobox {
    position: relative;
    display: inline-block;
    width:200px;
    background: #fff; border:1px solid gray;
    padding: 1px 2px;
}
  .custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background: transparent;
border: none;
    padding: 0;
    border-radius: 0;
    /* support: IE7 */
    *height: 1.7em;
    *top: 0.1em;
  }
  .custom-combobox-input {
    margin: 0;
    padding: 0;
  }
.custom-combobox-input{ background:#fff; border:none; border-radius: 0}
.ui-widget-content{background: #fff;}
.ui-autocomplete.ui-widget-content {max-width:500px; height:300px; overflow-y: scroll; overflow-x:hidden;}

.mapWrapper{}
.mapWrapper .map{height:100%;position: relative; width:60%; float:left;}
.mapWrapper .mapsInfo{position: relative;width:30%; height: 100%; background: #fff; float:left; }
.infoRoutes{overflow-y: auto; height: 100%}
.mapsInfo .filters {padding: 5px}
.mapsInfo .filters select, .mapsInfo .filters input{width:30%; min-width: 77px; margin: 2px; padding: 3px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.infoRoutes ul {list-style: inside; list-style-type: none; margin: 0 10px; padding: 0;}
.infoRoutes ul li{margin: 5px 0; overflow: hidden; word-break: break-all; font-weight: bold; cursor: pointer;}
.infoRoutes ul li ul, .infoRoutes ul li .driver_info{display: none; margin:0;}
.infoRoutes ul li.active ul, .infoRoutes ul li.active .driver_info{display: block;}
.infoRoutes ul li ul li{border: 1px solid #CECECE; padding: 2px;}
.infoRoutes ul li .driver_info{font-size: 11px; margin-left: 20px}
.sortable {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.sortable.grid {
	overflow: hidden;
}
.sortable li {
	list-style: none;
	border: 1px solid #CCC;
	background: #F6F6F6;
	color: #000;
	font-size: 12px;
	margin: 5px;
	padding: 5px;
}
.sortable.grid li {
	line-height: 80px;
	float: left;
	width: 80px;
	height: 80px;
	text-align: center;
}
.handle {
	cursor: move;
}
.sortable.connected {
	width: 200px;
	min-height: 100px;
	float: left;
}
li.disabled {
	opacity: 0.5;
}
li.highlight {
	background: #FEE25F;
}
li.sortable-placeholder {
	border: 1px dashed #CCC;
	background: none;
}


.markerInfo {padding: 5px;width: 450px;}
.markerInfo .firstHeading{margin-top: 0; margin-bottom: 5px; font-size: 14px;}
.markerInfo .firstHeading span{color:red;}
.markerInfo .firstHeading span.order_id{color:black;}
.markerInfo p{margin: 5px 0;}
/*.mapsColor{background: #fff; position: absolute; bottom: 111px; left: 59px; padding: 10px;height: 100px;overflow: auto}*/
.mapsColor{background: #fff;padding:0 0 0 5px; height: 100%;overflow: auto;width: 9%;float: left;position: relative}
.mapsColor ul {list-style: inside; list-style-type: none; margin: 0;padding: 0}
.mapsColor li { margin: 2px 0;}
.mapsColor li:hover, .mapsColor li.current { text-decoration: underline; cursor: pointer;}
.mapsColor li.current span{background:#CC00FF!important}
.mapsColor span{width:10px; height: 10px; display: inline-block; border:1px solid black; margin-right: 5px}
.markerContent .info {list-style: inside; list-style-type: none; margin: 5px 0; padding: 0;}
.markerContent .info li{display: inline-block; margin-right: 10px;}
.markerContent .info input {width:20px;}
.markerContent .productsInfo {list-style: inside; margin: 0; padding: 0;}
.markerInfo .success {background: #AEFF7B;}
.markerContent input, .markerContent select {border: 1px solid #ccc; padding: 1px;}
.popup{display:none; position: fixed; top:50%; left:50%; width:300px; height: 100px; margin: -100px 0 0 -150px; background: #fff; overflow: hidden;}
.ymaps-2-1-17-balloon__content > ymaps {width:auto!important;}
.showOnMap {background: #333; color:#ccc; padding: 2px 10px; text-decoration: none;}
.showOnMap.save{background: #0CB500; color:#000;}
.inp163{width: 163px}
.mInp2{width:158px}

.route_comment_1{
	background-color: #7FFFbf;
	color: black;
}
.route_comment_2{
	background-color: #91a9f0;
	color: black;
}
.route_comment_4{
	background-color: #FFF7A4;
	color: black;
}



.drivermap, .schedule {
	width: 100%;
}
.drivermap thead th.num {width: 5%;}
.drivermap thead th.client {width: 10%;}
.drivermap thead th.addr {width: 25%;}
.drivermap thead th.comment {width: 25%;}
.drivermap thead th.from_car {width: 20%;}
.drivermap thead th.summ {width: 5%;}
.drivermap thead th.tara {width: 5%;}
.drivermap thead th.money {width: 5%;}

.drivermap tbody .fr {
	cursor: pointer;
}
.drivermap tbody .sr {
	display: none;
}
.schedule tr td {
	text-align: center;
}
.drivermap tbody tr:hover {
	color: black;
}
.schedule th:nth-child(5),.schedule td:nth-child(5) {
	background: rgb(236,236,236);
}
.schedule .redb {
	color: red;
}
.schedule .greenb {
	color: green;
}
.schedule .wd a img:hover {
	opacity: 0.5;
}

#rform > div > input {
    width: 250px;
}

.save-btn-col {
	text-align: center;
}
.save-btn {
	font-size: 18px;
	padding: 10px 30px;
	cursor: pointer;
	background: #4078f7;
	color: #fff;
	border: 1px solid #0A246A;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
	transition: .3s;
}
.save-btn.error {
	background: #f74071;
	border: 1px solid #6a0a27;
}
.save-btn:disabled {
	opacity: .5;
}
.save-btn:hover {
	background: #8ce5e2;
	color: #000;
	transition: .3s;
}
.send-to-business, .sent-to-business {
	font-weight: normal;
  cursor: pointer;
  text-decoration: none;
  color: white;
  display: block;
  padding: 1px 3px;
  text-align: center;
  margin: 2px;
  background: rgb(56,65,76);
  border: 1px solid #000;
  border-radius: 0;
  width: auto;
  height: auto;
  font-size: 13px;
}
.send-to-business{
	background: rgb(56,65,76);
}
.sent-to-business {
  background: red;
}
