/* -- Rouble -- */

@font-face {
	font-family: 'rouble';
	src: url('/css/fonts/tc/webfont-rouble/rouble-webfont.eot');
	src: url('/css/fonts/tc/webfont-rouble/rouble-webfont.eot?#iefix') format('embedded-opentype'),
		 url('/css/fonts/tc/webfont-rouble/rouble-webfont.woff') format('woff'),
		 url('/css/fonts/tc/webfont-rouble/rouble-webfont.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* -- Roboto -- */

@font-face {
	font-family: "Roboto";
	src: url("/css/fonts/Roboto/RobotoThin.woff") format("woff"),
		 url("/css/fonts/Roboto/RobotoThin.woff2") format("woff2"),
		 url("/css/fonts/Roboto/RobotoThin.ttf") format("truetype"),
		 url("/css/fonts/Roboto/RobotoThin.eot") format("opentype"),
		 local('☺');
	font-style: normal;
	font-weight: 100;
}

@font-face {
	font-family: "Roboto";
	src: url("/css/fonts/Roboto/RobotoLight.woff") format("woff"),
		 url("/css/fonts/Roboto/RobotoLight.woff2") format("woff2"),
		 url("/css/fonts/Roboto/RobotoLight.ttf") format("truetype"),
		 url("/css/fonts/Roboto/RobotoLight.eot") format("opentype"),
		 local('☺');
	font-style: normal;
	font-weight: 300;
}

@font-face {
	font-family: "Roboto";
	src: url("/css/fonts/Roboto/RobotoLightItalic.woff") format("woff"),
		 url("/css/fonts/Roboto/RobotoLightItalic.woff2") format("woff2"),
		 url("/css/fonts/Roboto/RobotoLightItalic.ttf") format("truetype"),
		 url("/css/fonts/Roboto/RobotoLightItalic.eot") format("opentype"),
		 local('☺');
	font-style: italic;
	font-weight: 300;
}

@font-face {
	font-family: "Roboto";
	src: url("/css/fonts/Roboto/RobotoRegular.woff") format("woff"),
		 url("/css/fonts/Roboto/RobotoRegular.woff2") format("woff2"),
		 url("/css/fonts/Roboto/RobotoRegular.ttf") format("truetype"),
		 url("/css/fonts/Roboto/RobotoRegular.eot") format("opentype"),
		 local('☺');
	font-style: normal;
	font-weight: 400;
}

@font-face {
	font-family: "Roboto";
	src: url("/css/fonts/Roboto/RobotoMedium.woff") format("woff"),
		 url("/css/fonts/Roboto/RobotoMedium.woff2") format("woff2"),
		 url("/css/fonts/Roboto/RobotoMedium.ttf") format("truetype"),
		 url("/css/fonts/Roboto/RobotoMedium.eot") format("opentype"),
		 local('☺');
	font-style: normal;
	font-weight: 500;
}

@font-face {
	font-family: "Roboto";
	src: url("/css/fonts/Roboto/RobotoBold.woff") format("woff"),
		 url("/css/fonts/Roboto/RobotoBold.woff2") format("woff2"),
		 url("/css/fonts/Roboto/RobotoBold.ttf") format("truetype"),
		 url("/css/fonts/Roboto/RobotoBold.eot") format("opentype"),
		 local('☺');
	font-style: normal;
	font-weight: 700;
}

@font-face {
	font-family: "Roboto";
	src: url("/css/fonts/Roboto/RobotoBlack.woff") format("woff"),
		 url("/css/fonts/Roboto/RobotoBlack.woff2") format("woff2"),
		 url("/css/fonts/Roboto/RobotoBlack.ttf") format("truetype"),
		 url("/css/fonts/Roboto/RobotoBlack.eot") format("opentype"),
		 local('☺');
	font-style: normal;
	font-weight: 900;
}

/* -- End of  Roboto -- */

html {
	height: 100%;
	width:100%;
	overflow-y: scroll;
}
body {
	background: #fff;
	color: #333;
	font: 14px Arial, sans-serif;
	width:100%;
	height: 100%;
	margin: auto;
	padding: 0;
	min-width:1000px;
}
h1, h2, h3, h4, h5, h6 {
	margin: 15px 0;
}
h1, h2, h3 {
	font-weight: normal;
	color: #222222;
}


h1 {font-size: 24px;}
h2 {font-size: 20px;}
h3 {font-size: 18px;}
h4 {font-size: 16px;}
p {
	margin: 15px 0;
}
ul, ol {
	padding-left: 20px;
}
img {
	border: none;
}

.no-display {
	display: none;
}

.overflow-hidden {
	overflow: hidden !important;
	-webkit-overflow-scrolling: touch;
}

.overflow-hidden.html-scroll-fix {
	height: auto;
	min-height: auto;
}

.scroll-stub {
	padding-right: 17px;
	box-sizing: border-box;
}

.header_sale img{
	width:290px!important;
	position: absolute;
	top: -60px;
}

hr {
	color: #ddd;
	background-color: #ddd;
	border: none;
	height: 1px;
	clear: both;
	margin: 15px 0;
}

a[rel="link"]:visited {
	color: #DA4F49;
}

tr.is-deleted td {
	background: #FFD0CC;
}

.global-blur {
	opacity: 0.3!important;
}

/**шапка**/

#header {
    background: url(/i/crm_header_bg.png) no-repeat 100% 0;
    padding: 10px 0px 25px 0px;

    margin:0 20px 20px 20px;
    position: relative;
    border-bottom:1px dashed #dadada;
}

#logo-bico {
    position:absolute;
    z-index: 1;
    top:25px;

    left:30px;
    height: 61px;
    width: 210px;
}

#logo-bico-12 {
	background: url(/i/logo_12.png) no-repeat 0 0;
	width:224px;
	height:110px;
	position:absolute;
	top:0px;
	left:30px;
}

#logo-bico-23 {
	position: absolute;
	z-index: 1;
	top: 15px;
	left: 20px;
}
#logo-bico-23 img {width:220px;}

#logo-bico-9may {
	background-image: url("/i/logo_9may.png");
	background-position: 0 0;
	background-repeat: no-repeat;
	position:absolute;
	z-index: 1;
	top:5px;
	left:30px;
	height: 113px;
	width: 213px;
}



#logo-bico9 {
	background: url(/i/logobico9_crm.png) no-repeat 0 0;
	position:absolute;
	top:0;
	left:0;
	height: 89px;
	margin-left: 20px;
	width: 202px;
}
#logo-bico9_auth {
	background-image: url("/i/logo_9years.jpg");
	background-position: 0 0;
	background-repeat: no-repeat;
	position: absolute;
	top: -150px;
	left: 80px;
	margin: 0;
	height: 134px;
	width: 210px;
}

#logo-bico8 {
	background-image: url("/i/logo.png");
	background-position: 0 0;
	background-repeat: no-repeat;
	position: absolute;
	top: 5px;
	left: 30px;
	margin: 0;
	height: 82px;
	width: 191px;
}
#logo-bico8_auth {
	background-image: url("/i/logo.png");
	background-position: 0 0;
	background-repeat: no-repeat;
	position: absolute;
	top: -100px;
	left: 80px;
	margin: 0;
	height: 82px;
	width: 191px;
}

#logo-bico-default {
	background-image: url("/i/sprite-crm.png");
	background-position: 0 -1px;
	background-repeat: no-repeat;
	display: block;
	float: left;
	height: 60px;
	margin-top: 22px;
	width: 180px;
}

#logged-user {
	color: #222;
	font-size: 12px;
	padding:5px 12px 0 300px;
	position:relative;
	overflow:hidden;
}
#logged-user span.user_name {float:left; font-size:18px; margin-top:30px;}
#logged-user span.user_name span {color:#017eb6; font-size:24px;}
#logged-user a {
	padding: 12px 5px 0 15px;
	color: #017eb6;
}
#logged-user a:hover {
	color: #014d90;
}
#logged-user .send_email {
	float:right;
	position:relative;
	top: 8px;
	padding: 12px 15px 0 0;
}
#logged-user .send_email:before {
	content:"";
	position: absolute;
	top:-5px;
	margin-right:48px;
	right:100%;
	width:1px;
	height:54px;
	background: url(/i/vertical_sep.png) no-repeat 0 0;
}
	
#logged-user .send_email:after {
	content:"";
	position:absolute;
	top:2px;
	right:100%;
	margin-right:5px;
	width:32px;
	height:32px;
	background: url(/i/crm_header_icon.png) no-repeat 0 0;
}

#logout {
	position: relative;
	float:right;
	margin:8px 30px 0 0;
}
#logout a {
	position:relative;
	display:block;
}

#logout a:before {
	content:"";
	position: absolute;
	top:-7px;
	right:100%;
	width:1px;
	height:54px;
	background: url(/i/vertical_sep.png) no-repeat 0 0;
}

#logout a:after {
	content:"";
	position: absolute;
	top:0;
	left:100%;
	width:42px;
	height:42px;
	background: url(/i/login_out.png) no-repeat 0 0;
	
}
#logout a:hover:after {background-position:0 -42px;}
	


/**напоминалка**/

#remind {
	clear:both;
	overflow:hidden;
	margin: 30px 0 0 0;
	/*height: 64px;*/
	padding-left: 260px;
}
#remind table {
	background: none;
	border: none;
	font-size: 11px;
	margin: 0;
	width: auto;
	float:right;
}
#remind table td {
	border: none;
	padding: 0;
	text-indent: 0;
}
#remind table tr:hover {
	background: none;
}

#remind .informer-item{
    margin: 0px 0px 4px 6px;
    float: right;
}
#remind .informer-item a > span {
	margin-right: 6px;
}

#remind a {
	display: none;
	font-size: 12px;
	line-height:14px;
	padding: 4px;
	text-decoration: none;
	vertical-align: middle;
	-webkit-transition: .5s all;
	-moz-transition: .5s all;
	-ms-transition: .5s all;
	-o-transition: .5s all;
	transition: .5s all;
}
#remind a:hover {
	background: #d8e7ee;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#remind a span {
	background: #A91E22;
	background: -moz-linear-gradient(top,  #c60012 0%, #a91e22 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c60012), color-stop(100%,#a91e22));
	background: -webkit-linear-gradient(top,  #c60012 0%,#a91e22 100%);
	background: -o-linear-gradient(top,  #c60012 0%,#a91e22 100%);
	background: -ms-linear-gradient(top,  #c60012 0%,#a91e22 100%);
	background: linear-gradient(to bottom,  #c60012 0%,#a91e22 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c60012', endColorstr='#a91e22',GradientType=0 );

	display: inline-block;
	vertical-align: baseline;
	color: #fff;
	/*float: left;*/
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	min-height: 24px;
	min-width: 24px;
	line-height: 24px;
	margin-right: 4px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#remind a.muted span {
	background: #999;
	background: -moz-linear-gradient(top,  #cccccc 0%, #999999 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cccccc), color-stop(100%,#999999));
	background: -webkit-linear-gradient(top,  #cccccc 0%,#999999 100%);
	background: -o-linear-gradient(top,  #cccccc 0%,#999999 100%);
	background: -ms-linear-gradient(top,  #cccccc 0%,#999999 100%);
	background: linear-gradient(to bottom,  #cccccc 0%,#999999 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#999999',GradientType=0 );
}

#today {
    color: #222;
    font-size: 12px;
    position: absolute;
    top: 27px;
    right: 280px;
}
/*#today:before {
	content:"";
	position: absolute;
	top:-10px;
	margin-right:48px;
	right:100%;
	width:1px;
	height:54px;
	background: url(/i/vertical_sep.png) no-repeat 0 0;
}*/
#today:after {
	content:"";
	position:absolute;
	top:0px;
	right:100%;
	margin-right:5px;
	width:32px;
	height:32px;
	background: url(/i/crm_header_icon.png) no-repeat -32px 0;
}

#today .date{}


/**верхнее меню**/

#topbar {
	margin: 0 0 0 269px;
}
#topbar ul {
	min-height: 35px;
	list-style: none;
	margin: 0;
	padding: 0 12px 0 0;
	position: relative;
}
#topbar > ul {
	border: 1px solid #dbdbdb;
	border-left-width: 1px;
	border-right-width: 1px;
}
#topbar ul li {
	position: relative;
	display: inline-block;
	*display :inline;
	*zoom: 1;
}
#topbar ul li a {
	display: block;
	line-height: 35px;
	padding: 0 10px;
	text-decoration: none;
	white-space: nowrap;
	border-right:1px solid #dadada;
}
#topbar > ul > li:first-child > a {
	border-left: none;
	border-radius: 9px 0 0 30px;
}
#topbar ul li a:hover {
	background: #f5f5f5;
}
#topbar ul li a.active {
	/*background: #fff;*/
	/*border-bottom: 1px solid #fff;*/
	color: #666;
	cursor: default;
	text-decoration: none;
}
#topbar > ul > li > a.active {
	border-left: none;
	margin-left: 0;
}

/**выпадающее меню**/

#topbar ul ul {
	position: absolute;
	top: 29px;
	left: -1px;
	z-index: 1010;
	display: none;
	min-width: 100%;
	height: auto;
	min-height: 40px;
	padding: 1px;
	margin: 0;
	background: #fff;
	border: 1px solid #ccc;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0 0 6px 6px;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
#topbar ul ul li {
	border-bottom: 1px solid #ccc;
	border-left: none;
	border-right: none;
	display: block;
}
#topbar ul ul li:last-child {
	border: none;
}
#topbar ul ul li a {
	background: #fff;
	border: none;
	border-radius: 0;
	line-height: 30px;
	margin: 0;
}
#topbar ul ul li a:hover {
	background: #f5f5f5;
}
#topbar ul li:hover ul {
	display: block;
}


/**левое меню**/

#sidebar {
	position: absolute;
	top: 0;
	left: 0;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	width: 247px;
}
#sidebar ul {
	list-style: none;
	margin: 0 0 0 45px;
	padding: 0;
}
#sidebar ul li {
	display: block;
	position: relative;
}
#sidebar ul li.top-menu {margin:15px 0;}
	#sidebar ul li.top-menu > a:after {
		content:"";
		position:absolute;
		right:100%;
		top:-2px;
		width:40px;
		height:40px;
		margin-right:5px;
		background: url(/i/crm_menu_icons.png) no-repeat -40px 0;
	}

	#sidebar ul li.menu-icon-administration a:after {background-position: 0px 0px;}
	#sidebar ul li.menu-icon-important a:after {background-position: -40px 0px;}
	#sidebar ul li.menu-icon-office a:after {background-position: -80px 0px;}
	#sidebar ul li.menu-icon-supervision a:after {background-position: -120px 0px;}
	#sidebar ul li.menu-icon-client a:after {background-position: -160px 0px;}
	#sidebar ul li.menu-icon-bill a:after {background-position: -200px 0px;}
	#sidebar ul li.menu-icon-subscribe a:after {background-position: -240px 0px;}
	#sidebar ul li.menu-icon-presents a:after {background-position: -280px 0px;}
	#sidebar ul li.menu-icon-site a:after {background-position: -320px 0px;}
	#sidebar ul li.menu-icon-tenders a:after {background-position: -360px 0px;}
	#sidebar ul li.menu-icon-statistics a:after {background-position: -400px 0px;}
	#sidebar ul li.menu-icon-analytics a:after {background-position: -520px 0px;}
	#sidebar ul li.menu-icon-trm a:after {background-position: -560px 0px;}

#sidebar ul li a {
	border-bottom: 1px dashed #ddd;
	color: #222;
	display: block;
	font-size: 14px;
	line-height: 13px;
	padding: 8px 0px;
	text-decoration: none;
	-webkit-transition: .2s all;
	-moz-transition: .2s all;
	-ms-transition: .2s all;
	-o-transition: .2s all;
	transition: .2s all;
}
#sidebar ul li a.active {
	/*background: #fff;
	border-right: 1px solid #fff;*/
	background:none;
	border-right:none;
	color: #666;
	cursor: default;
	text-decoration: none;
}
#sidebar ul ul {margin:0;}
#sidebar ul ul a {
	border-top: none;
	border-bottom: 1px solid #e8e8e8;
	color: #017eb6;
	font-size: 14px;
	font-weight: normal;
	padding: 6px 0px 6px 0px;
	-webkit-transition: .2s all;
	-moz-transition: .2s all;
	-ms-transition: .2s all;
	-o-transition: .2s all;
	transition: .2s all;
	
}
#sidebar ul li a:hover {
	color:#a91e22;
}

#sidebar ul ul {
	display:none;
} 

#sidebar .top-menu [class^="icon"] {float:right;}

#sidebar ul li a.video-instruction {
	position:absolute;
	width:26px;
	height:26px;
	right:30px;
	top:3px;
	background: url(/i/vid-icon.png) no-repeat 5px 5px;
	margin:0;
	padding:0;
	border:0;
	z-index:10;
}
#sidebar ul li a.video-instruction:after {display:none;}
#sidebar ul li a.video-instruction .hint {
	position:absolute;
	display:none;
	font-size:9px;
	text-transform:uppercase;
	color:#4d90af;
	width:110px;
	bottom:100%;
	left:50%;
	margin-left:-56px;
	margin-bottom:3px;
	background:#eaf6fb;
	line-height:18px;
	padding:1px 0 0 0;
	border:1px solid #58a2c4;
	text-align:center;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#sidebar ul li a.video-instruction .hint:before {
	content:'';
	position:absolute;
	top:100%;
	left:50%;
	margin-left:-5px;
	border-top:5px solid #58a2c4;
	border-right:5px solid transparent;
	border-bottom:5px solid transparent;
	border-left:5px solid transparent;
}
#sidebar ul li a.video-instruction:hover .hint {display:block;}

.ui-widget-header .ui-icon-closethick {background-image: url(/css/jquery/jquery-ui/images/ui-icons_666666_256x240.png);}

/**напоминания**/

#sidebar span.badge {
	background: none;
	border: none;
	color: #a00;
	font-size: 12px;
	font-weight: bold;
	position: absolute;
	padding: 3px 2px;
	right: 10px;
	top: 50%;
	margin-top: -11px;
	text-align: center;
	min-width: 14px;
}
#sidebar span.badge:hover {
	background: #ddd;
}
#topbar .badge {
	/*background: none;*/
	background: #a00;
	border: none;
	border-radius: 8px;
   /* color: #a00;*/
	color: #fff;
	display: inline-block;
	font-size: 10px;
	font-weight: bold;
	line-height: normal;
	position: relative;
	padding: 0 2px 1px 2px;
	right: 4px;
	top: -10px;
	text-align: center;
	min-width: 10px;
}

a.badge + a {
	padding-right: 50px !important;
	width: 160px !important;
}


/**контент**/

#container {
	position: relative;
	padding: 0px 0px 35px 0;
	margin:0 20px;
}
#content {
	background: #fff;
	border-top: none;
	margin-left: 252px;
	min-height: 500px;
	padding: 1px 20px 20px;
}
#content .news-block {
	margin:0 0 10px 0;
	padding:0 0 10px 0;
	border:none;
	border-bottom:1px dashed #dadada;
}
#content .news-block:last-child {
	border:none;
}
#content .news-block .news-date {
	position:relative;
	border:none;
	background:none;
	left:auto;
	top:auto;
	padding-left:130px;
}
#content .news-block .news-date p {padding:0;}
#content .news-block .news-date.all_news {
	padding:2px 0 0 0;
	margin:0;
	background: url(/i/crm_allnews_bg.png) no-repeat 0 0;
	width:91px;
	height:19px;
	-webkit-transition: .3s all;
	-moz-transition: .3s all;
	-ms-transition: .3s all;
	-o-transition: .3s all;
	transition: .3s all;
}
#content .news-block .news-date.all_news:hover {
	opacity:0.7;
}
#content .news-block .news-date.all_news a {
	color:#fff;
	text-decoration:none;
	padding:2px 11px;
}
#content .news-block .comment-ref {
	clear:none;
	border:none;
	background:none;
	margin:10px 0;
	padding:0 0 0 130px;
}
#content .news-block .comment-ref .icon-comment {
	background: url(/i/crm_comment.png);
	width:22px;
	height:18px;
}
#content .news-block img.left {
	float: left;
	margin-right: 10px;
	max-width: 120px;
	min-width: 120px;
}

.left {
	float: left;
}
.right {
	float: right;
}
.clear {
	clear: both;
}
.hide {
	display: none !important;
}
img.left,
img.right {
	margin-bottom: 10px;
	max-width: 250px;
}
img.left {
	float: left;
	margin-right: 20px;
}
img.right {
	float: right;
	margin-left: 20px;
}

.col10 {width: 10%;}
.col20 {width: 20%;}
.col30 {width: 30%;}
.col40 {width: 40%;}
.col50 {width: 50%;}
.col60 {width: 60%;}
.col70 {width: 70%;}
.col80 {width: 80%;}
.col90 {width: 90%;}
.col100 {width: 100%;}

.right-block h2 {color:#222 !important; border: none !important; margin: 10px 0 5px 0;}

.col90 table.detalization {
	white-space:nowrap;
}
/**таблица**/
.floating-head {
	table-layout: fixed;
}
.floating-head td {
	word-wrap: break-word;
}

table {
	background: #fff;
	border-collapse: collapse;
	border: solid #ddd;
	border-width: 1px 0 0 0;
	font-size: 12px;
	margin: 15px 0;
	width: 100%;
}
table tbody tr:nth-of-type(even) {
	background: #f7f7f7;
}
table tbody tr:hover {
	background: #eee;
}

table tbody th,
table tbody td {
	border: solid #ddd;
	border-width: 0 1px 1px 0;
	border-right: 1px solid #eee;
	padding: 5px 4px;
	font-weight: normal;
	vertical-align: top;
}
table tbody th:last-child,
table tbody td:last-child {
	border-right: none;
}

.text-align-center{
	text-align: center!important;
}

table tbody th.text-align-center,
table tbody td.text-align-center {
	text-align: center;
}

table tbody th.text-vertical-align-center,
table tbody td.text-vertical-align-center {
	vertical-align: middle;
}

input[type=checkbox].double-size
{
	/* Double-sized Checkboxes */
	-ms-transform: scale(2); /* IE */
	-moz-transform: scale(2); /* FF */
	-webkit-transform: scale(2); /* Safari and Chrome */
	-o-transform: scale(2); /* Opera */
	padding: 10px;
}

table tbody th {
	font-size: 14px;
	height: 40px;
	text-align: left;
	vertical-align: middle;
}
table tbody th h3 {
	margin: 5px 0;
}
table tbody th a {
	color: #333;
}

table thead,
table tfoot {
	background: #f5f5f5;
	border-bottom: 1px solid #ddd;
}
table thead tr:first-child,
table tfoot tr:first-child {
	height: 20px;
}
table thead tr:last-child,
table tfoot tr:last-child {
	/*height: 40px;*/
}
table thead th,
table tfoot th,
table tr.head td {
	/*background: url("/i/sep.png") no-repeat right center;
	border: none;
	color: #666;
	font-weight: normal;
	font-size: 12px;
	line-height: 14px;
	padding: 0 5px;
	text-align: center;
	vertical-align: middle;*/
	
	height: auto;
	font-size: 14px;
	color: #fff;
	padding: 5px 4px;
	background: #6f6f6f;
	border: solid #ddd;
	border-width: 0 1px 1px 0;
	border-right: 1px solid #eee;
	font-weight: normal;
	line-height: 14px;
	text-align: center;
	vertical-align: middle;
}
table thead th:last-child,
table tfoot th:last-child {
	/*background: none;*/
}

table thead th.sep-down,
table tfoot th.sep-down {
	/*background: none;*/
}
table thead th.sep-up,
table tfoot th.sep-up {
	background: url("/i/sep.png") no-repeat right 100%;
}


.firstcol-head {
	table-layout: fixed;
}
.firstcol-head tbody td:first-child {
	color: #666;
	text-align: right;
	width: 39%;
	max-width: 200px;
}

.table-wrapper {
	/*overflow-x: auto;*/
}

table tr.level-1 td:first-child,
table tr.level-1 th:first-child { 
	padding-left: 30px;
}

table tr.level-2 td:first-child,
table tr.level-2 th:first-child { 
	padding-left: 60px;
}

table tr.level-3 td:first-child,
table tr.level-3 th:first-child { 
	padding-left: 90px;
}

table tr.level-4 td:first-child,
table tr.level-4 th:first-child { 
	padding-left: 120px;
}

table tr.level-4 td:first-child,
table tr.level-4 th:first-child { 
	padding-left: 150px;
}


/*формы*/

.submit-block {
	margin: 20px -20px;
}

#year_selection_block_id {
	display: inline-block;
}
.controls_block {
	display: inline-block;
}
.colHasFormBlock .submit-block {
	border:none;
	background:transparent;
	padding:0;
	text-align:right;
	margin:0 5px 0 0;
}
.colHasFormBlock .submit-block input[type="submit"] {
	color:#000;
	background:#cecece;
}
.colHasFormBlock .submit-block input[type="submit"]:hover {
	background:#aeaeae;
}

/*хлебные крохи*/

.breadcrumb {
  padding: 8px 15px;
  margin: 0 0 20px;
  list-style: none;
  background-color: #f5f5f5;
}
.breadcrumb li {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
.breadcrumb .divider {
  padding: 0 5px;
  color: #999;
}
.breadcrumb .active {
  color: #999999;
}


/*статистика по оплатам*/

.gistogram-horizont {
	border-radius: 3px;
	color: #333;
	font-size: 12px;
	font-weight: bolder;
	line-height: 16px;
	text-indent: 2px;
	height: 16px;
	-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
	-moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
	text-shadow: 1px 1px 0 #363636, 1px 1px 3px #2C2C2C;
	position: relative;
}

.gistogram-horizont .overplan {
	background-image: url("/i/fireball.png");
	height: 25px;
	position: absolute;
	right: -6px;
	top: -5px;
	width: 72px;
}

.gistogram-horizont .text {
	position: relative;
	z-index: 10;
}
.gistogram-horizont .striped,
.gistogram-horizont .bg-blue {padding:0 5px;}

.bg-red {
	color: #fff;
	background-color: #dd514c;
	background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
	background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: linear-gradient(to bottom, #ee5f5b, #c43c35);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0);
}
.bg-blue {
	color: #fff;
	background-color: #0e90d2;
	background-image: -moz-linear-gradient(top, #149bdf, #0480be);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
	background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
	background-image: -o-linear-gradient(top, #149bdf, #0480be);
	background-image: linear-gradient(to bottom, #149bdf, #0480be);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
}

.bg-green {
	color: #fff;
	background-color: #5eb95e;
	background-image: -moz-linear-gradient(top, #62c462, #57a957);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
	background-image: -webkit-linear-gradient(top, #62c462, #57a957);
	background-image: -o-linear-gradient(top, #62c462, #57a957);
	background-image: linear-gradient(to bottom, #62c462, #57a957);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0);
}

pre {
	display: block;
	padding: 9.5px;
	margin: 0 0 10px;
	font-size: 13px;
	font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
	line-height: 20px;
	word-break: break-all;
	word-wrap: break-word;
	white-space: pre;
	white-space: pre-wrap;
	background-color: whiteSmoke;
	border: 1px solid #CCC;
	border: 1px solid rgba(0, 0, 0, 0.15);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

a.fake-link {
	color: #444;
	border-bottom: none;
	text-decoration: none;
}

a.fake-link:hover {
	color: #014D90;
	border-bottom: 1px solid #014D90;
}

.big-data-in-limited-area {
	width: 350px;
	max-height: 130px;
	overflow-x: hidden;
	overflow-y: auto;
}

/* цветные информеры в списке клиентов */
.informer-block {
	display:inline-block;
	position: relative;
	top: 5px;
	width: 20px;
	height: 20px;
}

.striped {
	background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
	background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
	background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
	background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
	background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
	-webkit-background-size: 40px 40px;
	   -moz-background-size: 40px 40px;
		 -o-background-size: 40px 40px;
			background-size: 40px 40px;
}

.popup-help {
	position: absolute;
	display:none;
	padding: 5px 10px 10px;
	background-color: white;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding;
	background-clip: padding-box;
	border: 1px solid #CCC;
	border: 1px solid rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	z-index:10;
}

/*Ошибки к формам*/
.error-note.dot p {
	margin: 5px;
	color: #B94A48;
	font-weight: bold;
	font-size: 14px
}

#string{
	width:100%;
	position: fixed;
	left: 0px;
	bottom: -60px;
	margin:60px auto;
	line-height:28px;
	padding: 0 10px;
	border-radius:4px;
	box-shadow:0 1px 2px #777;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	background: rgb(238,238,238);
	background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,238,238,1)), color-stop(100%,rgba(204,204,204,1)));
	background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
	background: -o-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
	background: -ms-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
	background: linear-gradient(to bottom,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 );
}

.marquee{
	height:30px;
}


/* НАЧАЛО Добавлено Тарасовым Денисом */

table tbody tr.success > td,
table tbody td.success {
	background-color: #dff0d8;
}

table tbody tr.error > td:not(.warning):not(.success):not(.info),
table tbody td.error {
	background-color: #f2dede;
}

table tbody tr.warning > td,
table tbody td.warning {
	background-color: #fcf8e3;
}

table tbody tr.info > td,
table tbody td.info {
	background-color: #d9edf7;
}

/* Тут Кирилл немного добавил */
table thead tr.num > th,
table tr.num td {
	background-color: #e2e2e2;
	color:#000;
}

/* КОНЕЦ Добавлено Тарасовым Денисом */
/* ----- Понаписал тут Денис :) ---- */

#back-top {
    position:fixed;
    left:50%;
    padding:0;
    margin:0 0 0 -34px;
}
#back-top a {
    width:40px;
    height:40px;
    padding:5px 5px 2px 5px;
    background:#fff;
    overflow:hidden;
    /*border:4px solid #dbdbdb;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;*/
    border-top:4px solid #dbdbdb;
    border-left:3px solid #dbdbdb;
    border-right:3px solid #dbdbdb;
    border-top-left-radius: 20px 30px;
    border-top-right-radius: 20px 25px;
    box-shadow:0px 0px 20px -10px #000;
}
#back-top span {
    width: 40px;
    height: 40px;
    display: block;
    background: url(/i/crm_rollup_icon.png) no-repeat center center;
    opacity: 0.7;
    text-indent:-9999px;
}

.reminder_manager {
	position:relative;
	overflow:hidden;
	list-style:none;
	margin:0;
	padding:0;
}

.reminder_manager > li {
	position:relative;
	display:block;
	float:left;
	width:400px;
	padding:15px 15px 40px;
	margin:0 20px 20px 0;
	background:#e9ebee;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
.reminder_manager > li a:first-child {
	font-size:18px;
	color:#005aaa;
	text-decoration:none;
}
.reminder_manager > li img {margin:0 10px 0 0;}

.reminder_manager > li p {margin:15px 0 0;}

.reminder_manager a.rm_more {
	position:absolute;
	bottom:10px;
	right:10px;
	display:block;
	margin:0;
	background: url(/i/crm_allnews_bg.png) no-repeat 0 0;
	width:91px;
	height:19px;
	color:#fff;
	padding:2px;
	text-align:center;
	font-size:12px;
	text-decoration:none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: .3s all;
	-moz-transition: .3s all;
	-ms-transition: .3s all;
	-o-transition: .3s all;
	transition: .3s all;
}
.reminder_manager a.rm_more:hover {
	opacity:0.7;
}

.analytics_preview {
	width:100%;
	border-collapse:collapse;
	border:none;
	border-width:0;
	margin:0;
	font-size:100%;
}
.analytics_preview th {border-right: none; border-bottom:none; font-size:18px; color:#0457a1; height:auto; padding:15px 0 0 0;}
.analytics_preview th:first-child, .analytics_preview th:last-child {border-bottom:2px solid #dadada;}
.analytics_preview td, .analytics_preview tr {
	background:none !important;
	border-top:none !important;
	border-left:none !important;
	border-right:none !important;
	border-bottom:none !important;
}
.analytics_preview td {padding:5px 0 0 0;}

.analytics_table .infoblock table tr td b{
	font-size: 15px!important;
	font-weight: 600!important;
}

.analytics_table.infoblock table.default tr td a:visited{
	color: #236D9A;
}
.analytics_table.infoblock table.default tr td a:focus {
	color: #236D9A;

}

.analytics_table {
	width:100%;
	border:none;
	border-width:0px;
}
.analytics_table a:hover {text-decoration:none;}
.analytics_table th {
	height: auto;
	font-size: 14px;
	color: #fff;
	padding: 5px 4px;
	background: #6f6f6f;
	border: solid #ddd;
	border-width: 0 1px 1px 0;
	border-right: 1px solid #eee;
}
.analytics_table th:last-child,
.analytics_table tfoot th:last-child {
	background:#6f6f6f;
}
.analytics_table th .inline {display:inline-block;}
.analytics_table th .inline span {cursor:pointer;}

.analytics_table tr:last-child,
.analytics_table tfoot tr:last-child {
	height: auto;
}
table tfoot tr td {
	padding: 5px 4px;
	background:#dfdfdf;
	border: solid #ddd;
	border-width: 0 1px 1px 0;
	border-right: 1px solid #eee;
	font-weight:bold;
}
.analytics_table tfoot tr td:last-child {border:none;}

.analytics_table td.status {position:relative; padding-right:25px;}
.analytics_table td.status span.ready {
	display:block;
	float:left;
	margin:0px 5px 0 0;
	width:11px;
	height:11px;
	background:#39b54a;
	border:1px solid #1e932e;
	border-radius:50%;	
}
.analytics_table td.status span.forming {
	display:block;
	float:left;
	margin:2px 5px 0 0;
	width:12px;
	height:12px;
	background:url(/img/crm/waiting.gif) 0px 0px no-repeat;
}
.analytics_table td.status .label {
	background: none !important;
	color: #005bab !important;
	text-shadow: none !important;
	font-weight: normal !important;
	text-decoration: none !important;
	padding: 0;
	margin: 0;
}
.analytics_table td.status .remove {
	position: absolute;
	top: 4px;
	right: 5px;
}

.analytics_table .inline .icon-up, .analytics_table .inline .icon-down {opacity:0.5; background-image: url("/i/sprite-crm-1.png");}
.analytics_table .inline .icon-up.hover, .analytics_table .inline .icon-up:hover {background-position: -82px -162px !important; opacity:1;}
.analytics_table .inline .icon-down.hover, .analytics_table .inline .icon-down:hover {background-position: -82px -142px !important; opacity:1;}


form .analytics-form-wrapper {
	background: #f5f5f5;
	border: 1px solid #ddd;
	padding:0 10px 10px 10px;
}

.analytics_filter .submit-block {
	/*background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 10px;*/
	background:none;
	border:none;
	margin:0px 0px;
	padding: 10px 0 5px 210px;
}
.analytics_filter .element-group.bottom-separator {}


.analytics_filter_options {
	width:100%;
	margin:0 0 10px 0;
}
.analytics_filter_options tr {background:none !important;}

.analytics_filter_options div {}
.analytics_filter_options label {font-weight:bold;}

.title_red {color:#aa0000; font-size:18px;}
.title_blue {color:#005aaa; font-size:24px;}
.title_black {color:#222222; font-size:18px; padding:5px 0;}

#waiting-window {
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.7);
	z-index:9999;
}
#waiting-window .win {
	position:absolute;
	top:50%;
	left:50%;
	width:430px;
	height:150px;
	margin-left:-250px;
	margin-top:-100px;
	background:#fff;
	text-align:center;
	padding:50px 35px 0px 35px;
}
#waiting-window .win strong {font-size:20px; font-weight:normal; color:#005aaa;}
#waiting-window .win p {font-size:16px;}
#waiting-window .win p i {color:#aa0000; font-style:normal; font-weight:bold;}
#waiting-window .win span {font-size:12px;}
#waiting-window .win .close {
	position:absolute;
	top:5px;
	right:7px;
	font-size:11px;
}

.analytics .submit {
	color: #fff;
	text-shadow: none;
	background-color: #0074cc;
	*background-color: #0055cc;
	background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
	background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
	background-image: -o-linear-gradient(top, #0088cc, #0055cc);
	background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
	background-image: linear-gradient(top, #0088cc, #0055cc);
	background-repeat: repeat-x;
	border-color: #0055cc #0055cc #003580;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	filter: progid:dximagetransform.microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);
	filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
.analytics .submit:hover {
	background-color: #0055cc;
	*background-color: #004ab3;
	color:#fff;
}
.graph-i {padding-left:25px; position:relative;}
.graph-i:before {
	content:"";
	position:absolute;
	top:4px;
	left:5px;
	width:16px;
	height:16px;
	background: url(/img/crm/analytics-icons.png) 0px 0px no-repeat;
}

.xls-i-new {
	background-image: url(/i/excel_1.png);
	background-repeat: no-repeat;
	background-size: contain;
	display: inline-block;
	height: 16px;
	width: 16px;
	position: relative;
	vertical-align: text-bottom;
	margin-left: 0!important;
}

.xls-i {padding-left:25px; position:relative;}
.xls-i:before {
	content:"";
	position:absolute;
	top:4px;
	left:5px;
	width:16px;
	height:16px;
	background: url(/img/crm/analytics-icons.png) -16px 0px no-repeat;
}
.print-i {padding-left:25px; position:relative;}
.print-i:before {
	content:"";
	position:absolute;
	top:4px;
	left:5px;
	width:16px;
	height:16px;
	background: url(/img/crm/analytics-icons.png) -32px 0px no-repeat;
}
.download-i {padding-left:25px; position:relative;}
.download-i:before {
	content:"";
	position:absolute;
	top:1px;
	left:5px;
	width:16px;
	height:16px;
	background: url(/img/crm/analytics-icons.png) -48px 0px no-repeat;
}
.video-i {padding-left:25px; position:relative;}
.video-i:before {
	content:"";
	position:absolute;
	top:1px;
	left:5px;
	width:16px;
	height:16px;
	background: url(/img/crm/analytics-icons.png) -64px 0px no-repeat;
}
.merge-i {padding-left:25px; position:relative;}
.merge-i:before {
	content:"";
	position:absolute;
	top:4px;
	left:5px;
	width:16px;
	height:16px;
	background: url(/img/crm/arrow-in.png)  0px 0px  no-repeat;
}
.reload-i {padding-left:25px; position:relative;}
.reload-i:before {
	content:"";
	position:absolute;
	top:4px;
	left:5px;
	width:16px;
	height:16px;
	background: url(/img/crm/arrow-circle.png)  0px 0px  no-repeat;
}
.highlight {background:#fff200;}

.video_training {
	position:absolute;
	top:14px;
	right:20px;
}
.video_training a {
	position:relative;
	display:block;
	height:32px;
	padding:0 10px 0 45px;
	line-height:32px;
	background: url(/i/l_video.png) 7px 0 no-repeat #468cca;
	color:#fff;
	text-decoration:none;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: .4s all;
	-moz-transition: .4s all;
	-ms-transition: .4s all;
	-o-transition: .4s all;
	transition: .4s all;
}
.video_training a:hover {background: url(/i/l_video.png) 7px 0 no-repeat #aa0000;}
.form-buttons-block, .elements-searchform {position:relative;}

.forecast-the-winner {
	position:relative;
	background: #dc3c3c;
	display: none/*inline-block*/;
	padding: 5px 10px;
	text-decoration: none !important;
	color: #fff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border:1px solid #da2e2e;
	-webkit-box-shadow:inset 0px 1px 1px 0px #e36161;
	-moz-box-shadow:inset 0px 1px 1px 0px #e36161;
	box-shadow:inset 0px 1px 1px 0px #e36161;
}
.forecast-the-winner:hover {background:#e94f50; color:#fff !important;}

.table-bottom-caption {
	position:relative;
	float: right;
	padding: 10px;
	font-size: 18px;
	z-index:999;
}
.hidden-by-pagination {
    display: none;
}
.paginator-button-more {
	position:relative;
	display: block;
	border: none;
	width: 140px;
	margin: 27px auto 0 auto;
}
.paginator-button-more:before {
	content:'';
	position:absolute;
	top:0;
	right:100%;
	width:16px;
	height:16px;
	margin:0 5px 0 0;
	background: url(/i/sprite-crm.png) no-repeat -122px -112px;
}
.analytics-mode {
	width: 24px;
	height: 24px;
	background: url(/i/analytics-card-icons.png) no-repeat 0px 0px;
	display: inline-block;
	margin: 0px 0px -5px 10px;
}

.analytics-mode.noAccess {background-position:0px 0px;}
/* TODO:areAnalyticsAccessOptionsOn */
/* .analytics-mode.demo {background-position:0px -24px;} */
.analytics-mode.demo {background-position:0px 0px;}
.analytics-mode.standard {background-position:0px -24px;}
.analytics-mode.standardPlus {background-position:0px -48px;}
.analytics-mode.unlimited {background-position:0px -72px;}
.analytics-mode.custom {background-position:0px -72px;}

.contractors-mode {
	width: 24px;
	height: 24px;
	background: url(/i/contractor-card-icons.png) no-repeat 0px 0px;
	display: inline-block;
	margin: 0px 0px -5px 10px;
}
.contractors-mode.promo {background-position:0px 0px;}
.contractors-mode.demo {background-position:0px -24px;}
.contractors-mode.standard {background-position:0px -48px;}

.editable-report-title {
	display:block;
	cursor:pointer;
	min-height:16px;
	background:url(/i/edit-icon.png) 100% -16px no-repeat;
}
.editable-report-title:hover {background-position:100% 0px;}
#modal-report-caption-id {width:100%; height:32px;}

.title_red #editable-report-title-id {position:relative;}
.title_red #editable-report-title-id:after {
	content:'';
	display:inline-block;
	width:16px;
	height:16px;
	background:url(/i/edit-icon.png) 100% -16px no-repeat;
	cursor:pointer;
	margin:0 0 0 5px;
	vertical-align:middle;
}
.title_red #editable-report-title-id:hover:after {background-position:100% 0px;}

.header-charts {
	position:relative;
	background:#f7f7f7 url(/i/header-agraph-icon.png) 10px 9px no-repeat;
	border-top:1px solid #dddddd;
	border-bottom:1px solid #dddddd;
	font-size:18px;
	margin:10px 0 0 0;
	padding:10px 10px 10px 40px;
}
.header-charts span {color:#898989;}
.header-charts-desc {
	position:relative;
	display:block;
	padding:6px 10px;
	font-size:12px;
	color:#000;
	border-bottom:1px solid #dddddd;
}
.charts-footer {
	position:relative;
	display:block;
	min-height:25px;
	padding:10px;
	margin:0 0 40px 0;
	border-top:1px solid #dddddd;
	border-bottom:1px solid #dddddd;
}
.charts-footer p {
	float:left;
	font-size:12px;
	margin:0;
	color:#898989;
}

.commercial-offer td {padding: 7px 10px; font-size:14px;}
.commercial-offer th {text-align:left; padding:5px 10px;}
.commercial-offer a.file {margin:0 0 0 20px;}
.commercial-offer-rules {
	position: absolute;
	display: block;
	margin: -38px 0 0 370px;
}
.commercial-offer-rules a.co-rules-link {
	position:relative;
	display:inline-block;
	height:16px;
	line-height:16px;
	padding:0;
	margin:0 25px 0 18px;
	text-decoration:none;
	border-bottom:1px dashed #0057a5;

}
.commercial-offer-rules a.co-rules-link:before {
	content:"";
	position:absolute;
	right:100%;
	top:1px;
	margin:0 3px 0 0;
	width:16px;
	height:16px;
	background:url(/i/info-pub.png) 0 0 no-repeat;
}
.commercial-offer-rules a.co-download-xls {
	position:relative;
	display:inline-block;
	height:16px;
	line-height:16px;
	padding:0;
	margin:0 0 0 18px;
	text-decoration:none;
	border-bottom:1px dashed #0057a5;

}
.commercial-offer-rules a.co-download-xls:before {
	content:"";
	position:absolute;
	right:100%;
	top:1px;
	margin:0 5px 0 0;
	width:16px;
	height:16px;
	background:url(/i/sprite-crm.png) -162px -182px no-repeat;
}


.commercial-offer-rules .rules-block {
	position:absolute;
	top:100%;
	background:#ffffe8;
	padding:10px;
	border:1px solid #bcbcbc;
	display:none;
	width:300px;
	margin:5px 0 0 0;
	-webkit-box-shadow: 0px 0px 16px -5px #000;
	-moz-box-shadow: 0px 0px 16px -5px #000;
	box-shadow: 0px 0px 16px -5px #000;
	z-index:9999;
}
.commercial-offer-rules .rules-block .close {
	position:absolute;
	top:5px;
	right:5px;
	text-decoration:none;
	background:url(/i/close.gif) 100% -1px no-repeat;
	border:none;
	font-size:11px;
	padding:0 16px 0 0;
	z-index:999;
}
.commercial-offer-rules .rules-block h3 {
	position:relative;
	margin:0 0 10px 0;
	color:#005aaa;
}

.mtop35 {
	margin-top: 35px;
}

.commoffer-subtable {
	padding-left: 30px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/*-------Аналитика-------*/

.analytics_filter .layout-zone {clear:both;}

.button-zone {
	position:relative;
	border-top:1px solid #bdbdbd;
	margin:10px 0 0 0;
}
.button-zone .controls {width:auto; padding:0; border-right:1px solid #ccc; margin-right:5px; vertical-align:middle;}
.button-zone .control-group {display:inline-block; margin:0;}
.button-zone .control-group .labels {display:none;}
.button-zone .control-group:last-child .controls {border:none; padding:0; margin:0;}
.button-zone .button-primary {margin:0 0 0 0;}
.button-zone .additional-fields-toggler {margin:0 0 0 3px;}
.button-zone .element-group.top-separator {margin-top:0px;}
.element-group.top-separator {border:none !important;}

.additional-fields-zone {
	border-top:1px dashed #7f7f7f;
	margin: 10px;
	padding: 10px 0 0 0;
}
.additional-fields-zone .element-group.left-column .labels   {width:40% !important;}
.additional-fields-zone .element-group.left-column .controls {width:58% !important;}
.additional-fields-zone .element-group.right-column {padding-right:0px;}
.additional-fields-zone .element-group.right-column .labels   {width:44% !important;}
.additional-fields-zone .element-group.right-column .controls {width:54% !important;}

/*-----------------------*/
	

@media screen and (max-width:1400px) {
	#header {margin: 0 10px 20px 10px;}
	#container {margin:0 10px;}
	#logo-bico {left:10px;}
	#sidebar {width:235px;}
	#sidebar ul li a {font-size:15px; font-weight:bold;}
	#sidebar ul ul a {font-size:14px; font-weight:normal;}
	#topbar {margin: 0 0 0 250px;}
	#content {margin-left: 235px;}
	#logged-user {padding: 5px 12px 0 250px;}
}

@media print {
	body, article {width: 100%; margin: 0; padding: 0;}
	@page {margin: 1cm;}
	#logo-bico {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	#logo-bico:before {
		content:'www.bicotender.ru';
		position:absolute;
		top:100%;
		margin-top:5px;
	}
	#today {right:0;}
	#header {background:none !important;}
	.elements-searchform {display:none;}
	#searchform {display:none !important;}
	#remind table {display:none !important;}
	button.print-i, button.xls-i, .download-i, .refresh {display:none;}
	.analytics .js-toggle-element-id-searchform {display:none;}
	#header #logout, #header .send_email {display:none;}
	#sidebar {display:none;}
	#topbar {display:none;}
	#content {margin:0;}
	.analytics > .title_red {font-size:28px;}
	@page {size:landscape;}
	#back-top {display:none !important;}
    tr.hidden-by-pagination {display:table-row;}
    .pagination {display:none;}
	#charts, 
	#content { 
		width: auto; 
		margin: 0 5%; 
		padding: 0; 
		border: 0; 
		float: none !important; 
		color: black; 
		background: transparent none; 
	}
}

/*div#result_company_checked_competitor, div#result_company_checked_customer {*/
   /*height: 200px;*/
    /*overflow-y: scroll;*/
/*}*/

span.count_competited {
    font-size: 11px;
    font-weight: bold;
    color: rgb(111, 102, 240);
}

span#filtered_clients_count {
    border-bottom: 1px dashed blue;
    cursor: pointer;
}

.negotiation a.active {text-decoration: none; font-weight: bold;}

span.chk_com_address {
    font-size: 11px;
    font-style: italic;
}

#close_sidebar {
	cursor: pointer;
	position: relative;
	right: 10px;
	top: -40px;
}

div.fullscreen#container > div#sidebar {
    left: -300px;
}

div.fullscreen#container > div#content { margin-left: 0; }
div.fullscreen#container > div#topbar { margin-left: 0}

tr.ticket-more-million {
	background-color: #ffd886;
}

.tarif-archive {
	background-color: rgba(145, 144, 118, 0.24);
}

div.red_inform {
	color: red;
}

.color-desc_box {
	display: inline-block;
	margin-right: 8px;
}

.priority_client_row {
	background-color: #ffdc9b;
}

.legend_box {
	width: 16px;
	height: 16px;
	border: 1px solid black;
	float: left;
	margin-right: 5px;
}


span#top_refresh_informers {
	cursor: pointer;
	color: #005bab;
}

div#top_refresh_informers_div {
	text-align: right;
}

/*Блок продления подписок*/
.no-match-count-block .js-prolong-subscribe {
	display: inline-block;
}
.no-match-count-block .prolong-preloader {
	display: inline-block;
	background: url('/i/loading_small.gif') no-repeat 0 0;
	width: 16px;
	height: 16px;
}

/*---Перенос для CKE---*/
.cke_source {white-space: pre-wrap !important;}

a.selected_link {
	text-decoration: none;
	border-bottom: 1px dashed;
	font-style: italic;
}

a.unselected_link {
	text-decoration: none;
}

textarea.textarea_robots {
	height: 700px;
}

/*Стили оформления бегущих цифер вкладка TRM презентационная страница*/

.tender-map-info-blocks {
	width: 100%;
	text-align:center;
	padding:20px 0 10px 0;
	opacity:0;
   -webkit-transition: all 0.2s ease-in!important;
	-moz-transition: all 0.2s ease-in!important;
	-o-transition: all 0.2s ease-in!important;
	transition: all 0.2s ease-in!important; 
}
.map-info-block .odometer .odometer-inside {
    display: inline-block;
}
.map-info-block .odometer .odometer-inside span {
    display: inline-block;
}
.tender-map-info-blocks .map-info-block {
	display: inline-block;
	width: 24%;
	vertical-align: top;
	
}
 .tender-map-info-blocks .map-info-block i {
	display:inline-block;
	width:100%;
	text-align:center;
	font-size:38px;
	font-family:'Roboto', sans-serif;
	 font-weight: 700;
	line-height:50px;
	margin:0 0 7px 0;
	color:#2b333e;	
	font-style:normal;
}
 .tender-map-info-blocks .map-info-block p {
	font-size:16px;
	display:inline-block;
	width:100%;
	text-align:center;
	font-family:'Roboto', sans-serif;
	color:#212121;
	margin:0;
}
.odometer.odometer-auto-theme, .odometer.odometer-theme-default {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  position: relative;
}
.odometer.odometer-auto-theme .odometer-digit, .odometer.odometer-theme-default .odometer-digit {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  position: relative;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-digit-spacer, .odometer.odometer-theme-default .odometer-digit .odometer-digit-spacer {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  visibility: hidden;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-digit-inner, .odometer.odometer-theme-default .odometer-digit .odometer-digit-inner {
  text-align: left;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-ribbon, .odometer.odometer-theme-default .odometer-digit .odometer-ribbon {
  display: block;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-ribbon-inner, .odometer.odometer-theme-default .odometer-digit .odometer-ribbon-inner {
  display: block;
  -webkit-backface-visibility: hidden;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-value, .odometer.odometer-theme-default .odometer-digit .odometer-value {
  display: block;
  -webkit-transform: translateZ(0);
}
.odometer.odometer-auto-theme .odometer-digit .odometer-value.odometer-last-value, .odometer.odometer-theme-default .odometer-digit .odometer-value.odometer-last-value {
  position: absolute;
}
.odometer.odometer-auto-theme.odometer-animating-up .odometer-ribbon-inner, .odometer.odometer-theme-default.odometer-animating-up .odometer-ribbon-inner {
  -webkit-transition: -webkit-transform 2s;
  -moz-transition: -moz-transform 2s;
  -ms-transition: -ms-transform 2s;
  -o-transition: -o-transform 2s;
  transition: transform 2s;
}
.odometer.odometer-auto-theme.odometer-animating-up.odometer-animating .odometer-ribbon-inner, .odometer.odometer-theme-default.odometer-animating-up.odometer-animating .odometer-ribbon-inner {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}
.odometer.odometer-auto-theme.odometer-animating-down .odometer-ribbon-inner, .odometer.odometer-theme-default.odometer-animating-down .odometer-ribbon-inner {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}
.odometer.odometer-auto-theme.odometer-animating-down.odometer-animating .odometer-ribbon-inner, .odometer.odometer-theme-default.odometer-animating-down.odometer-animating .odometer-ribbon-inner {
  -webkit-transition: -webkit-transform 2s;
  -moz-transition: -moz-transform 2s;
  -ms-transition: -ms-transform 2s;
  -o-transition: -o-transform 2s;
  transition: transform 2s;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.odometer.odometer-auto-theme, .odometer.odometer-theme-default {
  font-family: "Helvetica Neue", sans-serif;
  line-height: 1.1em;
}
.odometer.odometer-auto-theme .odometer-value, .odometer.odometer-theme-default .odometer-value {
  text-align: center;
}
.mp-tit {
	font-size: 24px;
    color: #2b333e;
    margin: 0;
    display: inline-block;
	font-family:'Roboto', sans-serif;
	padding: 15px 20px;
}

fieldset {
	border: 1px solid #ddd;
	border-radius: 5px;
}

fieldset.inline {
	display: inline;
}

div.tcs_company_table {
	margin: 0 20px;
}

/*Стили */
.trm-presentation-page .trm-comp-inst-running {
	color: #4BA632;
}
.trm-presentation-page .trm-comp-inst-running:before {
	content: '';
	background: url('/i/loading_small.gif') no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 5px;
}

#content .competitor-saved-params-block {
	border-top: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
	padding: 4px 0px;
}
#content .competitor-saved-params-block .competitor-saved-param {
	display: inline-block;
	padding: 3px 0px 3px 10px;
	border-left: 1px solid #AAAAAA;
}

.manager-tree-table tbody tr:nth-of-type(even),
.manager-tree-table tbody tr:nth-of-type(even) td.scrollable {
	background: #f7f7f7;
}

.manager-tree-table tbody tr:nth-of-type(odd),
.manager-tree-table tbody tr:nth-of-type(odd) td.scrollable {
	background: white;
}

.manager-tree-table tr.container td {
	font-weight: bold;
}

.manager-tree-table tr.container td .percent {
	font-weight: normal;
}

.manager-tree-table tr.container td.manager {
	white-space: nowrap;
}

.manager-tree-table tr.container td.manager a {
	color: #333;
}

.manager-tree-table .tooltip {
	font-weight: normal;
	text-align:left;
	min-width: 500px;
}

.manager-tree-table .additional-info {
	font-size: 12px;
}

.manager-tree-table .additional-info-toggler {
	float: right;
	text-decoration: none;
}

span.bill_is_void_label {
	background-color:#B94A48;
	color:#fff;
	padding: 1px;
}
span.bill_is_processed_label {
	background-color:#0ea907; color:#fff;
	padding: 1px;
}

table.table-with-custom-columns > tbody > tr.mark_red {
	background-color: #ffcccc;
}

table.table-with-custom-columns > tbody > tr.mark_orange {
	background-color: #ffd73a;
}

table.table-with-custom-columns > tbody > tr.mark_green {
	background-color: #ccffcc;
}

.centered {
	text-align: center;
}

label.table-field-settings-block > span.extended {
	border-bottom: 1px dashed #456ef7;
}

div#datepicker-day-clients {
	width: 100%;
	display: none;
}

table#day-clients-tab td {
	font-size: 10px;
	text-align: center;
}

button.ui-organizer-button {
	position: absolute;
	left: 75px;
	bottom: 0;
	font-size: 12px;
}

div#incall_container {
	position: fixed;
	color: white;
	display: none;
	z-index: 10000;
	text-align: center;
	left:0;
	right:0;
}
.incall__container-wrap {
	display:inline-block;
	position:relative;
	box-shadow:0 5px 25px rgba(0,0,0,.8);
	padding: 20px;
	color:#000;
	font-size:16px;
	font-weight:bold;
	background-image: -ms-linear-gradient(top, #F1F1F1 30%, #BBBBBB 100%);
	background-image: -moz-linear-gradient(top, #F1F1F1 30%, #BBBBBB 100%);
	background-image: -o-linear-gradient(top, #F1F1F1 30%, #BBBBBB 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(30, #F1F1F1), color-stop(100, #BBBBBB));
	background-image: -webkit-linear-gradient(top, #F1F1F1 30%, #BBBBBB 100%);
	background-image: linear-gradient(to bottom, #F1F1F1 30%, #BBBBBB 100%);

}
.incall__phone {
	max-width:100px;
	position:relative;
	margin:0 auto 20px;
  	
}

.incall__phone-item {
	-webkit-animation-name: pulse;
  	animation-name: pulse;
	animation-duration: 2s;
    animation-delay: 100ms;
    animation-iteration-count: infinite;
	border:2px solid #f17263;
	border-radius:50%;
	padding:20px 22px;
	box-sizing:border-box;
	display:block;
	box-shadow: 0 0 20px rgba(255,255,255,.9);
}

.incall__close {
	position:absolute;
	right:0;
	top:0;
	width:30px;
	height:30px;
	display:block;
	background:url('/img/tc/close.png') center center no-repeat;
	cursor:pointer;
	z-index:2;
}
.incall__phone img {
	max-width:100%;
}

div#messenger_notify_container {
	position: fixed;
	color: white;
	display: none;
	z-index: 10000;
	text-align: center;
	left:0;
	right:0;
}
.messenger_notify__container-wrap {
	display:inline-block;
	position:relative;
	box-shadow:0 5px 25px rgba(0,0,0,.8);
	padding: 20px;
	color:#000;
	font-size:16px;
	font-weight:bold;
	background-image: -ms-linear-gradient(top, #F1F1F1 30%, #BBBBBB 100%);
	background-image: -moz-linear-gradient(top, #F1F1F1 30%, #BBBBBB 100%);
	background-image: -o-linear-gradient(top, #F1F1F1 30%, #BBBBBB 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(30, #F1F1F1), color-stop(100, #BBBBBB));
	background-image: -webkit-linear-gradient(top, #F1F1F1 30%, #BBBBBB 100%);
	background-image: linear-gradient(to bottom, #F1F1F1 30%, #BBBBBB 100%);

}
.messenger_notify__phone {
	max-width:100px;
	position:relative;
	margin:0 auto 20px;

}

.messenger_notify__phone-item {
	-webkit-animation-name: pulse;
  	animation-name: pulse;
	animation-duration: 2s;
    animation-delay: 100ms;
    animation-iteration-count: infinite;
	border:2px solid #f17263;
	border-radius:50%;
	padding:20px 22px;
	box-sizing:border-box;
	display:block;
	box-shadow: 0 0 20px rgba(255,255,255,.9);
}

.messenger_notify__close {
	position:absolute;
	right:0;
	top:0;
	width:30px;
	height:30px;
	display:block;
	background:url('/img/tc/close.png') center center no-repeat;
	cursor:pointer;
	z-index:2;
}
.messenger_notify__phone img {
	max-width:100%;
}


@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }

  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}

div.missed_calls_container {
	height: 250px;
	overflow-y: scroll;
}

/* ---- TELEGRAM ---- */
.telegram_chat_span {
	position: relative;
	display: inline-block;
	margin: 0 0 20px 0;
}
.telegram_chat_span:before {
	content: "Начать чат с клиентом";
	position: absolute;
	display: none;
	top: -44px;
	left: -9px;
	text-align: center;
	background-color: #333333;
	color: #fff;
	padding: 5px 0;
	border-radius: 5px;
	width: 115px;
	font-size: 12px;
	line-height: 14px;
	cursor: default;
	z-index: 9;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
	-webkit-animation: fadeIn 0.3s ease-in-out;
	animation: fadeInTelegram 0.3s ease-in-out;

}
.telegram_chat_span:after {
	content: '';
	position: absolute;
	display: none;
	top: -6px;
	left: 41px;
	margin: 0;
	border-width: 8px;
	border-color: transparent;
	border-top-color: #333333;
	border-style: solid;
	-webkit-animation: fadeIn 0.3s ease-in-out;
	animation: fadeInTelegram 0.3s ease-in-out;
	z-index: 10;
}
.telegram_chat_span:hover:before,
.telegram_chat_span:hover:after {display: block;}
.telegram_chat_ico {
	position: relative;
	display: block;
	float: left;
	width: 24px;
	height: 24px;
	background: url(/img/crm/telegram.svg) 0 0 no-repeat;
}
.telegram_chat_span a {
	position: relative;
	display: inline-block;
	font-size: 14px;
	line-height: 24px;
	padding: 0 0 0 7px;
}
@-webkit-keyframes fadeInTelegram {
	0% {
		opacity:0;
		transform: scale(0.6);
	}

	100% {
		opacity:100%;
		transform: scale(1);
	}
}

@keyframes fadeInTelegram {
	0% { opacity:0; }
	100% { opacity:100%; }
}

/*---add archive .doc functional ssirotenko 17.02.19--- */
.modal-wrapper {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 1000;
	background: rgba(0,0,0,.45);
	display: none;
	align-items: center;
	justify-content: center;
}
.modal-inner {
	background: #fff;
	padding: 20px 15px;
	width: 360px;
	border-radius: 5px;
	position: relative;
}
.modal-inner > .close-modal {
	position: absolute;
	top: 0px;
	right: -5px;
	background: transparent;
	border: none;
	font-size: 18px;
	color: #a2a2a2;
}
.modal-inner .form-row {
	margin: 10px 0px;
}
.modal-inner .form-row label > span {
	margin-right: 5px;
}
.modal-inner > .close-modal:hover {
	color: #222;
}

/* Страница роботов в статистике */

.robot-modal-btn {
	width: 16px;
	height: 16px;
	padding: 0;
	font-size: 0;
	line-height: 0;
	border: none;
	text-shadow: none;
	background-color: transparent;
	background-image: none;
}
