/*Для плагина сортировки таблиц*/
	th.tablesorter-headerSortUp { 
		background: #006cbf; /* Old browsers */
		background: -moz-linear-gradient(top,  #006cbf 0%, #0088cc 99%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#006cbf), color-stop(99%,#0088cc)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #006cbf 0%,#0088cc 99%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #006cbf 0%,#0088cc 99%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #006cbf 0%,#0088cc 99%); /* IE10+ */
		background: linear-gradient(to bottom,  #006cbf 0%,#0088cc 99%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#006cbf', endColorstr='#0088cc',GradientType=0 ); /* IE6-9 */
		color: #ffffff;
	} 

	th.tablesorter-headerSortDown { 
		background: #0088cc; /* Old browsers */
		background: -moz-linear-gradient(top,  #0088cc 1%, #006cbf 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#0088cc), color-stop(100%,#006cbf)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #0088cc 1%,#006cbf 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #0088cc 1%,#006cbf 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #0088cc 1%,#006cbf 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #0088cc 1%,#006cbf 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0088cc', endColorstr='#006cbf',GradientType=0 ); /* IE6-9 */
		color: #ffffff;
	} 

	th.tablesorter-header { 
	    cursor: pointer; 
	} 


/*для второго дополнительного верхнего меню*/
	.subnav-fixed {
	    left: 0;
	    position: fixed;
	    right: 0;
	    top: 40px;
	    z-index: 999;
	    border-color: #D5D5D5;
	    border-radius: 0 0 0 0;
	    border-width: 0 0 1px;
	    box-shadow: 0 1px 0 #FFFFFF inset, 0 1px 5px rgba(0, 0, 0, 0.1);
	}

	.subnav {
		width: 100%;
		height: 36px;
		background-color: #EEE;
		background-repeat: repeat-x;
		background-image: -moz-linear-gradient(top, whiteSmoke 0%, #EEE 100%);
		background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,whiteSmoke), color-stop(100%,#EEE));
		background-image: -webkit-linear-gradient(top, whiteSmoke 0%,#EEE 100%);
		background-image: -ms-linear-gradient(top, whiteSmoke 0%,#EEE 100%);
		background-image: -o-linear-gradient(top, whiteSmoke 0%,#EEE 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 );
		background-image: linear-gradient(top, whiteSmoke 0%,#EEE 100%);
		border: 1px solid #E5E5E5;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
		margin-bottom: 9px;
		padding-top: 8px;
	}

/*мелкие плюшки*/

[class^="uicon-"],
[class*=" uicon-"] {
  display: inline-block;
  width: 14px;
  height: 14px;
  *margin-right: .3em;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url("../img/position_dyn_pic_bg.png");
  background-position: 0px 0px;
  background-repeat: no-repeat;
  font-size: 8pt;
  font-style: normal;
  padding-left: 14px;
  vertical-align: middle;
}

.uicon-up {
background-position: 0 -14px;
color: green;
}

.uicon-down {
background-position: 0 0;
color: red;
}

.invis{
 font-size: 0;
 line-height: 0px;
 cursor: help;
}
.invis::after{
content: "";
display: inline-block;
height: 10px;
border-bottom: 2px dotted;
width: 10px;
margin-left: 2px;
}

	div.widg {
		background: none repeat scroll 0 0 #F9F9F9;
		border: 1px solid #CDCDCD;
		clear: both;
		margin-top: 16px;
		margin-bottom: 16px;
	}
	div.widg-bar {
		background-color: #efefef;
		background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#fdfdfd), to(#eaeaea));
		background-image: -webkit-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
		background-image: -moz-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
		background-image: -ms-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
		background-image: -o-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
		background-image: -linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
		border-bottom: 1px solid #CDCDCD;		
		padding: 3px;
		min-height: 30px;
		line-height: 30px;
	}
	div.widg-content {
		padding: 3px;
		max-height: 400px;
		overflow-y:auto;
	}

	.check-access-list {
		list-style: none;
		padding: 0;
		margin: 0;
	}
		.check-access-list li {
			float: left;
			margin: 0 6px 0 0;
		}
		.check-access-list li:last-child {
			margin-right: 0;
		}
			.check-access-list li a {
				display: block;
			}
				.check-access-list li a .ico {
					text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
					display: inline-block;
					height: 21px;
					width: 22px;
					text-align: center;
					font-size: 11.844px;
					font-weight: bold;
					overflow: hidden;
					box-sizing: border-box;
					background-color: #999999;
					color: #fff;
					font-style: normal;
					border-radius: 3px;
					-webkit-transition: all .2s ease-out .2s;
					-moz-transition: all .2s ease-out .2s;
					-o-transition: all .2s ease-out .2s;
					transition: all .2s ease-out .2s;
				}
				.check-access-list li a.no-valid .ico {
					background-color: #b94a48;
				}

/**
 * Tooltip Styles
 */

/* Base styles for the element that has a tooltip */
[data-tooltip],
.tooltip {
	position: relative;
	cursor: pointer;
}

/* Base styles for the entire tooltip */
[data-tooltip]:before,
[data-tooltip]:after,
.tooltip:before,
.tooltip:after {
	position: absolute;
	visibility: hidden;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	opacity: 0;
	-webkit-transition:
			opacity 0.2s ease-in-out,
			visibility 0.2s ease-in-out,
			-webkit-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
	-moz-transition:
			opacity 0.2s ease-in-out,
			visibility 0.2s ease-in-out,
			-moz-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
	transition:
			opacity 0.2s ease-in-out,
			visibility 0.2s ease-in-out,
			transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform:    translate3d(0, 0, 0);
	transform:         translate3d(0, 0, 0);
	pointer-events: none;
}

/* Show the entire tooltip on hover and focus */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after,
[data-tooltip]:focus:before,
[data-tooltip]:focus:after,
.tooltip:hover:before,
.tooltip:hover:after,
.tooltip:focus:before,
.tooltip:focus:after {
	visibility: visible;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
}

/* Base styles for the tooltip's directional arrow */
.tooltip:before,
[data-tooltip]:before {
	z-index: 1001;
	border: 6px solid transparent;
	background: transparent;
	content: "";
}

/* Base styles for the tooltip's content area */
.tooltip:after,
[data-tooltip]:after {
	z-index: 1000;
	padding: 8px;
	width: 60px;
	background-color: #000;
	background-color: hsla(0, 0%, 20%, 0.9);
	color: #fff;
	content: attr(data-tooltip);
	font-size: 14px;
	line-height: 1.2;
	text-align: center;
}

/* Directions */

/* Top (default) */
[data-tooltip]:before,
[data-tooltip]:after,
.tooltip:before,
.tooltip:after,
.tooltip-top:before,
.tooltip-top:after {
	bottom: 100%;
	left: 50%;
}

[data-tooltip]:before,
.tooltip:before,
.tooltip-top:before {
	margin-left: -6px;
	margin-bottom: -12px;
	border-top-color: #000;
	border-top-color: hsla(0, 0%, 20%, 0.9);
}

/* Horizontally align top/bottom tooltips */
[data-tooltip]:after,
.tooltip:after,
.tooltip-top:after {
	margin-left: -37px;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after,
[data-tooltip]:focus:before,
[data-tooltip]:focus:after,
.tooltip:hover:before,
.tooltip:hover:after,
.tooltip:focus:before,
.tooltip:focus:after,
.tooltip-top:hover:before,
.tooltip-top:hover:after,
.tooltip-top:focus:before,
.tooltip-top:focus:after {
	-webkit-transform: translateY(-12px);
	-moz-transform:    translateY(-12px);
	transform:         translateY(-12px);
}

/* Left */
.tooltip-left:before,
.tooltip-left:after {
	right: 100%;
	bottom: 50%;
	left: auto;
}

.tooltip-left:before {
	margin-left: 0;
	margin-right: -12px;
	margin-bottom: 0;
	border-top-color: transparent;
	border-left-color: #000;
	border-left-color: hsla(0, 0%, 20%, 0.9);
}

.tooltip-left:hover:before,
.tooltip-left:hover:after,
.tooltip-left:focus:before,
.tooltip-left:focus:after {
	-webkit-transform: translateX(-12px);
	-moz-transform:    translateX(-12px);
	transform:         translateX(-12px);
}

/* Bottom */
.tooltip-bottom:before,
.tooltip-bottom:after {
	top: 100%;
	bottom: auto;
	left: 50%;
}

.tooltip-bottom:before {
	margin-top: -12px;
	margin-bottom: 0;
	border-top-color: transparent;
	border-bottom-color: #000;
	border-bottom-color: hsla(0, 0%, 20%, 0.9);
}

.tooltip-bottom:hover:before,
.tooltip-bottom:hover:after,
.tooltip-bottom:focus:before,
.tooltip-bottom:focus:after {
	-webkit-transform: translateY(12px);
	-moz-transform:    translateY(12px);
	transform:         translateY(12px);
}

/* Right */
.tooltip-right:before,
.tooltip-right:after {
	bottom: 50%;
	left: 100%;
}

.tooltip-right:before {
	margin-bottom: 0;
	margin-left: -12px;
	border-top-color: transparent;
	border-right-color: #000;
	border-right-color: hsla(0, 0%, 20%, 0.9);
}

.tooltip-right:hover:before,
.tooltip-right:hover:after,
.tooltip-right:focus:before,
.tooltip-right:focus:after {
	-webkit-transform: translateX(12px);
	-moz-transform:    translateX(12px);
	transform:         translateX(12px);
}

/* Move directional arrows down a bit for left/right tooltips */
.tooltip-left:before,
.tooltip-right:before {
	top: 3px;
}

/* Vertically center tooltip content for left/right tooltips */
.tooltip-left:after,
.tooltip-right:after {
	margin-left: 0;
	margin-bottom: -16px;
}


.wheel {
	z-index: 100;

	-webkit-animation-name: spin;
	-webkit-animation-duration: 2000ms;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-moz-animation-name: spin;
	-moz-animation-duration: 2000ms;
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: linear;
	-ms-animation-name: spin;
	-ms-animation-duration: 2000ms;
	-ms-animation-iteration-count: infinite;
	-ms-animation-timing-function: linear;

	animation-name: spin;
	animation-duration: 600ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
@-ms-keyframes spin {
	from { -ms-transform: rotate(0deg); }
	to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
	from { -moz-transform: rotate(0deg); }
	to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
	from { -webkit-transform: rotate(0deg); }
	to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
	from {
		transform:rotate(0deg);
	}
	to {
		transform:rotate(360deg);
	}
}

#access-table {
	border: 1px solid #FFF;
	border-right: none;
	border-bottom: none;
	border-collapse: collapse;
	border-spacing: 0;
	max-width: 100%;
	width: 100%;
}
	#access-table td,
	#access-table th {
		border: 1px dashed #ECF0F1;
		padding: 6px 4px;
	}
		#access-table tbody td div {
			margin: 0;
			list-style: none;
			display: -webkit-box;
			display: -moz-box;
			display: -ms-flexbox;
			display: -webkit-flex;
			display: flex;
			-webkit-flex-flow: row wrap;
			justify-content: space-around;
		}
	#access-table td:not(.user) {
		width: 75px;
	}
	#access-table .user {
		padding: 10px 15px 10px 10px;
		text-align: right;
		position: relative;
		width: 120px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
		#access-table .user.user-head {
			vertical-align: bottom;
		}
	#access-table .vertical div {
		position: relative;
		height: 72px;
		width: 40px;
		text-align: center;
		margin: auto;
	}
		#access-table .vertical div span {
			-moz-transform:rotate(-90deg);
			-webkit-transform:rotate(-90deg);
			-o-transform:rotate(-90deg);
			-ms-transform:rotate(-90deg);
			filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=90);
			white-space:nowrap;
			width:0;
			height:0;
			position:absolute;
			bottom:10px;
			left:0;
			display:block;
			line-height:40px;
		}
	.ico-access {
		text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
		display: inline-block;
		height: 21px;
		width: 22px;
		text-align: center;
		font-size: 16px;
		font-weight: bold;
		overflow: hidden;
		box-sizing: border-box;
		background-color: #999999;
		color: #fff;
		font-style: normal;
		border-radius: 3px;
		-webkit-transition: all .2s ease-out .2s;
		-moz-transition: all .2s ease-out .2s;
		-o-transition: all .2s ease-out .2s;
		transition: all .2s ease-out .2s;
		line-height: 1.4;
		margin: 2px 4px 0 4px;
		cursor: pointer;
	}
		.ico-access.not {
			background: #b94a48;
		}

.navbar .nav > li:last-child > a {
	padding-left: 0;
	padding-right: 0;
}