/*Секретная область для вызова окна KPI менеджеров*/
.secret-area-call-kpi-window {
	display: block!important;
	position: absolute;
	top: 0;
	left: -38px;
	z-index: 999;
	width: 32px;
	height: 32px;
}

.rouble {
	font-family:'rouble' !important;
	font-weight: normal;
    font-style: normal;
}
.kpiWidgetWindow #container {
	height:1px;
	overflow:hidden;
	
}
.kpiWidgetWindow #kpi-window-container {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	background: #FFFFFF;
	width: 100%;
	height: 100%;
	z-index: 9999999;
}
.kpiWidgetWindow p {
	margin:0;
}

.kpiWidgetWindow .kpi-day-window {
	height:100%;
	min-height:100%;
	position:relative;
	z-index:2;
}

.kpiWidgetWindow #back-top {
	opacity:0;
}
* {
	margin:0;
	padding:0;
}
html,  body.kpiWidgetWindow {
	height:100%;
	min-height:100%;
	background:#fff;
}
.kpiWidgetWindow .container {
	min-width:1024px;
	/*height: 100vh;*/
	width:100%;
	min-height:100%;
	height:100%;
	position:relative;
	background:#fff;
}

.kpiWidgetWindow .container.blue {
	min-height:auto;
	height:auto;
	background:transparent;
}

.kpiWidgetWindow .container .wrap .grafick_block {
	width:75%;
	float:left;
	min-height:100%;
	height:100%;
	background:#fff;
}
.kpiWidgetWindow .container .wrap .block_col {
	width:25%;
	float:left;
	/*height: 100vh;*/
	min-height:100%;
	height:100%;
	position:relative;
}
.kpiWidgetWindow .container .wrap .block_col.effects.small.red_fone {
	background:#d70f2b;
}
.kpiWidgetWindow .container .wrap .block_col.effects.small.green_fone {
	background:#21963f;
}
.kpiWidgetWindow .container .wrap {
	min-height:100%;
	position:relative;
	height:100%;
}
.kpiWidgetWindow .container .wrap .block_col.first {
	background:#fffcf5;
}
.kpiWidgetWindow .container .wrap .block_col.second {
	background:#ffeac3;
}
.kpiWidgetWindow .container .wrap .block_col.fird {
	background:#ffdfa6;
}
.kpiWidgetWindow .container .wrap .block_col.fourth {
	background:#fed384;
}
.kpiWidgetWindow .container .wrap h2 {
	position:absolute;
	font-size:24px;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	top:56px;
	left:56px;
	z-index:4;
	margin:0;
}
.kpiWidgetWindow .container .wrap .grafick_block h2 {
	    position: relative;
    margin-bottom: 35px;
}
.kpiWidgetWindow .container .wrap.four_block .block_col:before {
	content:'';
	width:0;
	height:0;
	border-left:16px solid;
	border-right:16px solid transparent;
	border-top:16px solid transparent;
	border-bottom:16px solid transparent;
	position:absolute;
}
.kpiWidgetWindow .container .wrap.four_block .block_col.first:before {
	display:none;	
}
.kpiWidgetWindow .container .wrap.four_block .block_col.second:before {
	border-left-color:#fffcf5;
	bottom:22.8%;
}
.kpiWidgetWindow .container .wrap.four_block .block_col.fird:before {
	border-left-color:#ffeac3;
	bottom:31.8%;
}
.kpiWidgetWindow .container .wrap.four_block .block_col.fourth:before {
	border-left-color:#ffdfa6;
	bottom:38.4%;
}
.kpiWidgetWindow .container .wrap .block_col.effects:before {
	content:'';
	width:0;
	height:0;
	border-left:16px solid #fff;
	border-right:16px solid transparent;
	border-top:16px solid transparent;
	border-bottom:16px solid transparent;
	position:absolute;
	bottom:23.4%;
}
.kpiWidgetWindow .container .wrap .block_col p {
	font-size:14px;
	font-family: "Roboto", sans-serif;
	line-height:1.4;
	width: 90%;
    max-width: 90%;
	display: inline-block;
}
.kpiWidgetWindow .container .wrap .block_col p.red_zone {
	color:#cb1427;
}
.kpiWidgetWindow .container .wrap .block_col p.green_zone {
	color:#21963f;
}
.kpiWidgetWindow .container .wrap .block_col p b {
	font-family: "Roboto", sans-serif;
	font-weight: 700;
}

.kpiWidgetWindow .wrap-information {
	padding-top:112px;
	padding-left:28px;
}
.kpiWidgetWindow .container .wrap .block_col.first .wrap-information {
	padding-left:56px;
}
.kpiWidgetWindow .container .wrap .block_col .wrap-information .info {
	min-height:38px;
	margin:0 0 25px 0;
	width:100%;
}
.kpiWidgetWindow .container .wrap .block_col .wrap-information .info .scale {
	/*display:inline-block;
	max-width:90%;
	float:left;*/
}
.kpiWidgetWindow .container .wrap .block_col .wrap-information .info p.red_zone .scale i {
	background:#cb1427;
}
.kpiWidgetWindow .container .wrap .block_col .wrap-information .info p.green_zone .scale i {
	background:#21963f;
}
.kpiWidgetWindow .container .wrap .block_col .wrap-information .info p .scale i {
	display:inline-block;
	height:14px;
	vertical-align:middle;
	max-width:85%;
}
.kpiWidgetWindow .container .wrap .block_col .wrap-information .info p .count {
	display:inline-block;
	vertical-align:middle;
	margin:0 0 0 5px;
}
.kpiWidgetWindow .hide_block.float {
	position:absolute;
	z-index:4;
	top:53px;
	left:28px;
	
}
.kpiWidgetWindow .container .wrap .block_col .wrap-information .info p .count.zero {
	margin:0;
}
.kpiWidgetWindow .ancor_bt {
	position:absolute;
	bottom:40px;
	text-align:center;
	left:0;
	right:0;
}
.kpiWidgetWindow .ancor_bt a {
	text-decoration:none;
	font-family:'Roboto', sans-serif;
	font-size:16px;
	color:#000;
	-webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
	padding:7px 56px 8px 20px;
	border:1px solid #000;
	border-radius:20px;
	-o-border-radius:20px;
	-moz-border-radius:20px;
	-webkit-border-radius:20px;
	line-height:1;
	box-sizing:border-box;
	background:transparent;
	position:relative;
}
.kpiWidgetWindow .ancor_bt a:after {
	content:'';
	width:20px;
	height:10px;
	background:url(/img/crm/kpi/arrow-black.png)center center no-repeat;
	display:inline-block;
	position:absolute;
	position: absolute;
    top: 50%;
    margin-top: -4px;
    margin-left: 10px;
	-webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
	
}
.kpiWidgetWindow .ancor_bt a:hover {
	border:1px solid transparent;
	color:#fff;
	background:rgba(0,0,0,.4);
	
}
.kpiWidgetWindow .ancor_bt a:hover:after {
	background:url(/img/crm/kpi/arrow-white.png)center center no-repeat;
}
.kpiWidgetWindow .infoblock_alt {
	position:absolute;
	bottom:21%;
	padding-left:28px;
}
.kpiWidgetWindow .container .wrap .block_col .infoblock_alt p.counter {
	font-size:74px;
	font-family:'Roboto', sans-serif;
	font-weight: 300;
	color:#fff;
	line-height:1;
}
.kpiWidgetWindow .container .wrap .block_col .infoblock_alt p {
	color:#fff;
}
.kpiWidgetWindow .container .wrap.ratings h2 {
	font-size:24px;
	text-transform:uppercase;
	font-family:'Roboto', sans-serif;
	font-weight: 700;
	padding:20px 0 20px 56px;
	position:relative;
	top:auto;
	left:auto;
	letter-spacing: 6px;
}
.kpiWidgetWindow .container .wrap.ratings .best {
	padding:50px 0 45px 56px;
	
}

.kpiWidgetWindow .container .wrap.ratings .best.week {
	background:url(/img/crm/kpi/6c2740.png) left top no-repeat, #6b2740;
}
.kpiWidgetWindow .container .wrap.ratings .best.month {
	background:url(/img/crm/kpi/153491.png) left top no-repeat, #153491;
}
.kpiWidgetWindow .container .wrap.ratings .best h3 {
	font-family:'Roboto', sans-serif;
	font-weight: 700;
	font-size:24px;
	color:#fff;
	margin:0;
	
}
.kpiWidgetWindow .container .wrap.ratings .best .items_best_wrap {
	margin:20px 0 0 0;
}
.kpiWidgetWindow .container .wrap.ratings .best .items_best_wrap .item_best {
	display:inline-block;
	width:30%;
	background:#fff;
	text-align:left;
	box-sizing:border-box;
	margin-left:28px;
	position:relative;
	vertical-align:top;
	
}
.kpiWidgetWindow .container .wrap.ratings .best .items_best_wrap .item_best.free_block {
	background:rgba(255,255,255,.4);
}

.kpiWidgetWindow .container .wrap.ratings .best .items_best_wrap .item_best.free_block span.top_position {
	line-height: 126px;
    display: block;
    text-align: center;
    color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.6);
    font-size: 64px;
    font-family: 'Roboto', sans-serif;
	font-weight: 700;
    height: 100%;
    box-sizing: border-box;
    padding-left: 15px;
}
.kpiWidgetWindow .container .wrap.ratings .best .items_best_wrap .item_best.free_block span.top_position:after {
	content:'';
	display:inline-block;
	width:10px;
	height:10px;
	border-radius:50%;
	background: rgba(255,255,255,.8);
	margin: 0 0 0 5px;
}
.kpiWidgetWindow .container .wrap.ratings .best .items_best_wrap .item_best:nth-of-type(1) {
	margin-left:0px;
}
.kpiWidgetWindow .item_best .img, .item_best .values_block {
	float:left;
}
.kpiWidgetWindow .item_best .img {
	width:132px;
	height:132px;
	overflow:hidden;
}
.kpiWidgetWindow .item_best .img img {
	width:100%;
}
.kpiWidgetWindow .item_best .values_block {
	padding: 0 0 0 20px;
    float: none;
    overflow: hidden;
}
.kpiWidgetWindow .item_best .values_block p.title {
	font-size:14px;
	font-family:'Roboto', sans-serif;
	font-weight: 700;
	margin:10px 0 8px;
	color:#000;
}
.kpiWidgetWindow .item_best .values_block p.title.lider i {
	color:#eeb61b;
	font-style:normal;
	font-family:'Roboto', sans-serif;
	font-weight: 700;
	line-height:1;
	font-size:16px;
	display:inline-block;
	height:16px;
	position:relative;

}
.kpiWidgetWindow .item_best .values_block .free_position_name {
	color:#000;
}
.kpiWidgetWindow .item_best.topper:after {
	content:'';
	width:37px;
	height:10px;
	position:absolute;
	right:10px;
	top:-10px;
	background:url(/img/crm/kpi/1000.png) left top no-repeat;
}
.kpiWidgetWindow .container .wrap.ratings {
	min-height:auto;
	height:auto;
}
.kpiWidgetWindow .item_best .values_block p.title.lider i.arrow_down {
	top:-2px;
}
.kpiWidgetWindow .right_icon {
	float:right;
	margin-right:20px;
	background:url(/img/crm/kpi/rouble_plus.png) center center no-repeat;
	width:16px;
	height:18px;
}
.kpiWidgetWindow .item_best .values_block p.bottom {
	 font-size: 14px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.4;
}
.kpiWidgetWindow .item_best .values_block p a {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.4;
 
    display: inline-block;
	color:#4780c5;
	min-height:56px;
	margin-bottom:12px;
}
.kpiWidgetWindow .item_best.free_block .img {
	text-align: center;
	font-size:76px;
}
.kpiWidgetWindow .item_best.free_block {

}
.kpiWidgetWindow .wrap.ratings.kpi table {
    padding-left: 16px;
    border-spacing: 0;
    border: none;
    width: auto;
	font-size:14px;
    margin: 0;
	border-collapse: collapse;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr th {
	vertical-align:top;
	text-align:left;
	font-family:'Roboto', sans-serif;
	font-size:13px;
	padding:0 0 25px 40px!important;
	color:#000;
	background:transparent;
	border:none;
}
.kpiWidgetWindow .wrap.ratings.kpi table thead {
	background:transparent;
	border:none;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr {
	background:transparent;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr th.numeric,
.kpiWidgetWindow .wrap.ratings.kpi table tr th.employee {
	padding-left:0!important;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr th.right {
	text-align:right;
	float:none;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr td {
	padding:10px 0;
	font-family:'Roboto', sans-serif;
	vertical-align:top;
	border:none;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr th.numeric,
.kpiWidgetWindow .wrap.ratings.kpi table tr td.numeric {
	width:56px;
	text-align:right;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr td.numeric {
	padding-top:20px;
}

.kpiWidgetWindow .wrap.ratings.kpi table tr.empty_rresult_row_in_table td.numeric {
	padding-top:10px;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr.empty_rresult_row_in_table span.empty_position {
	margin-left:10px;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr td.employee .img {
	width:64px;
	height:64px;
	display:inline-block;
	vertical-align:middle;
	margin:0 15px 0 10px;
	overflow:hidden;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr td.employee .img img {
	max-width:100%;
	width:100%;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr td.employee a {
	 font-size: 14px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.4;
    display: inline-block;
	color:#4780c5;
	vertical-align:middle;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr td.right {
	text-align:right;
	float:none;
	vertical-align:middle;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr td.right.cash {
	font-family:'Roboto', sans-serif;
	padding-left:40px;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr td.employee {
	padding-right:80px;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr td.trfic_time {
	padding-left:40px;
	vertical-align:middle;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr {
	position:relative;
	height:auto;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr:hover td {
	background:#fef9f3;
}
.kpiWidgetWindow .wrap.ratings.kpi table tr:hover:after {
	content:'';
	position:absolute;
	width:100%;
	height:84px;
	background:#fef9f3;
	left:0;
	z-index:-1;
}
.kpi-day-window .now_is_free_place {
	margin-top: 10px;
	margin-left: 10px;
}

/*.wrap.ratings.kpi table tr:hover:before {
	content:'';
	position:absolute;
	width:100%;
	height:84px;
	background:#fef9f3;
	left:0;
	z-index:-1;
}*/
.kpiWidgetWindow .wrap.ratings.kpi table thead tr:hover:after {
	display:none;
}
.kpiWidgetWindow .container .wrap.ratings.kpi {
	overflow:hidden;
	border-bottom:1px solid #dadadc;
	height:auto;
	min-height:auto;
	padding-bottom:45px;
}
.kpiWidgetWindow .container .wrap.ratings.kpi.otdel {
	border-bottom:0;
}
.kpiWidgetWindow .container .wrap.ratings.kpi h2 {
	padding-bottom:0;
	margin:0;
	text-transform: none;
	letter-spacing:normal;
}
.kpiWidgetWindow .container .wrap.ratings.kpi h2 span {
	letter-spacing: 6px;
}
.kpiWidgetWindow .good_day h2 {
	padding:59px 0 59px 58px;
	font-family:'Roboto', sans-serif;
	font-weight: 700;
	font-size:24px;
	margin:0;
	
}
.kpiWidgetWindow .good_day {
	background:url(/img/crm/kpi/f9d92b.png)left top no-repeat,#f9d92b;
}
.kpiWidgetWindow .fixed_back {
	position:fixed;
	background:#fff;
	z-index:1;
	width:100%;
	height:100%;
	top:0;
	left:0;
}
.kpiWidgetWindow .closeKpi {
	position: fixed;
    top: 15px;
    right: 15px;
    z-index: 999;
    width: 40px;
    opacity: 0.4;
    height: 40px;
    background: url(/img/tc/presentation/button_close_red.png) no-repeat;
    background-size: contain;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
	cursor:pointer;
}
.closeKpi:hover {
	opacity: 1;
}

.kpiWidgetWindow .photo {
	background-size:cover!important;
	width:100%;
	height:100%;
	display:block;
	
}
.kpi-day-window .small-title-text {
	font-size: 10px;
}
.kpi-day-window .kpi-over-plan-text {
	font-family: "Roboto", sans-serif;
	font-weight: 700;
}
.kpi-day-window .kpi-over-plan-text .rouble {
	font-weight: bold;
}
@media screen and (min-width:1240px) {
	p.manager_name a br {
		display:none;
	}
}
