body {
	font: 14px/1.2 "Open Sans", Arial, Helvetica, sans-serif;
	color: #555555;
}

table {
	width: 100%;
}

.wrapper {
	position: relative;
	width: 1200px;
	margin: 10px auto;
}

.wrapper > * {
	position: absolute;
}

.logo {
	display: block;
	top: 38px;
	left: 125px;
}

.icon {
	display: inline-block;
	background-image: url(../img/icons.png);
	background-repeat: no-repeat;
}

	.icon.side {
		width: 60px;
		height: 60px;
	}

		.icon.side.a {
			background-position: -13px -16px;
		}
		.icon.side.a.active,
		.active .icon.side.a {
			background-position: -117px -16px;
		}

		.icon.side.b {
			background-position: -17px -99px;
		}
		.icon.side.b.active,
		.active .icon.side.b {
			background-position: -121px -99px;
		}

		.icon.side.c {
			background-position: -17px -190px;
		}
		.icon.side.c.active,
		.active .icon.side.c {
			background-position: -121px -190px;
		}

		.icon.side.d {
			background-position: -17px -283px;
		}
		.icon.side.d.active,
		.active .icon.side.d {
			background-position: -121px -283px;
		}

	.icon.image {
		width: 18px;
		height: 14px;
		background-position: -219px -26px;
		margin: 0 5px -2px;
	}
	.icon.image.active,
	.active .icon.image {
		background-position: -257px -26px;
	}

	.icon.image2x {
		width: 34px;
		height: 28px;
		background-position: -307px -19px;
		margin: 0 5px -7px 0;
	}

	.icon.size {
		width: 41px;
		height: 39px;
		background-position: -228px -151px;
		margin: 0 5px -10px 0;
	}

	.icon.download {
		width: 23px;
		height: 23px;
		background-position: -236px -318px;
		margin: 0 10px -4px 0;
	}

	.icon.filter {
		width: 25px;
		height: 16px;
		background-position: -299px -64px;
		margin: 0 10px -2px 20px;
	}

	.icon.showchecked {
		width: 20px;
		height: 20px;
		background-position: -314px -223px;
		margin: 0 12.5px -2px 22.5px;
	}

	.active .icon.showchecked {
		background-position: -314px -181px;
	}

	.icon.trash {
		width: 18px;
		height: 20px;
		background-position: -315px -318px;
		margin: 0 0 -2px 0;
	}

.total {
	width: 900px;
	top: 30px;
	right: -20px;
	font-size: 18px;
	text-align: right;
}

	.total-counters {
		display: inline-block;
		color: #177fc2;
		font-weight: bold;
		font-size: 26px;
		margin: 0 20px 0 0;
		text-align: left;
	}

	#total_items {
		width: 50px;
	}

	#total_filesize {
		width: 120px;
	}

	button {
		background-color: #177fc2;
		border: none;
		color: #fff;
		text-transform: uppercase;
		text-align: left;
		font-size: 20px;
		font-weight: 400;
		padding: 10px 15px;
		margin: 0;
		cursor: pointer;
	}

		button:focus {
			outline: 1px solid #c5d9e6;
		}

		button:disabled {
			opacity: 0.3;
		}

		button.wide {
			width: 100%;
		}

		button.high {
			height: 65px;
		}

		button.middle {
			height: 47px;
		}

		button.small_font {
			font-size: 18px;
		}

		button.gray {
			background-color: #d7d7d7;
			color: #177fc2;
		}

		button.link {
			background-color: transparent;
			color: #177fc2;
		}

		button.x2 {
			font-size: 200%;
			line-height: .6;
		}

		button.reset {
			background-color: #f8f8f8;
			color: #c21717;
		}

		button.active {
			background-color: #9eca22;
			color: #fff;
		}

ul.tabs {
	top: 125px;
	right: 0;
	display: inline-block;
	list-style: none;
	padding: 0 0 0 0;
	margin-right: -8px;
	z-index: 100;
}

	.tabs li {
		position: relative;
		display: inline-block;
		width: 170px;
		height: 40px;
		border: 1px solid #c6c6c6;
		margin: 0 -3px 0;
		padding: 15px 20px;
		transform: skewX(-15deg);
		cursor: pointer;
		background-color: white;
	}

	.tabs li:hover {
		border-color: #a0a0a0;
		border-bottom-color: #c6c6c6; 
	}

	/*.tabs li:last-child:after {
		content: "";
		position: absolute;
		width: 22px;
		height: 72px;
		background: white;
		transform: skewX(15deg);
		top: -1px;
		right: -13px;
		border-left: 1px solid #c6c6c6;
	}*/

		.tabs li > div {
			transform: skewX(15deg);
			position: relative;
		}

			.tabs .icon.side {
				position: absolute;
				top: 0;
				right: -10px;
			}

			.tabs-content h2,
			.tabs h2 {
				margin: 0;
				padding: 0 0 8px 0;
				font-size: 18px;
				font-weight: normal;
				text-transform: uppercase;
			}

			.tabs-content .total,
			.tabs .total {
				color: #ababab;
				font-size: 12px;
				font-weight: bold;
			}

	.tabs .active,
	.tabs .active .total {
		color: #177fc2;
	}

	.tabs li.active {
		margin-top: -9px;
		padding-top: 24px;
		border-bottom-color: #f3f3f3;
		cursor: default;
		z-index: 100;
		background-color: #f3f3f3;
	}

		/*.tabs li.active:not(:last-child):after {*/
		.tabs li:last-child:after,
		.tabs li.active:after {
			content: "";
			position: absolute;
			width: 22px;
			height: 80px;
			background-color: #fff;
			transform: skewX(15deg);
			top: 0;
			right: -12px;
			border-right: 1px solid #c6c6c6;
		}

		.tabs li.active:after {
			background-color: #f3f3f3;
		}

	.tabs li.active:hover {
		border-color: #c6c6c6;
		border-bottom-color: #f3f3f3;
	}

	.tabs li:last-child:after {
		height: 70px;
	}

	.tabs li.active:last-child:after  {
		height: 80px;
	}

.tabs-content {
	width: 100%;
	padding: 10px;
	border: 1px solid #c6c6c6;
	top: 210px;
	background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAACRCAAAAAAnGI0WAAAAHElEQVR42mP5zMKABTJCaIJyhMUZ6S+GEKWG3wBlDwNEiElwqwAAAABJRU5ErkJggg==) 0 0 repeat-x;
	/*background: -moz-linear-gradient(top, #f3f3f3 0%, #ffffff 50%);
	background: -webkit-linear-gradient(top, #f3f3f3 0%,#ffffff 50%);
	background: linear-gradient(to bottom, #f3f3f3 0%,#ffffff 50%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3f3f3', endColorstr='#ffffff',GradientType=0 );*/
}

	.tabs-content table {
		width: 100%;
		text-align: center;
		border-spacing: 6px;
		table-layout: fixed;
	}

	.tabs-content table:after {
		position: absolute;
		content: "";
		bottom: -20px;
		height: 20px;
		width: 1px;
	}

		.tabs-content thead {
			background-color: #fff; /*e6e6e6*/
		}

		.tabs-content .scrollable {
			display: block;
			height: 120px;
			overflow: auto;
		}

		.tabs-content .table-body {
			height: 500px;
		}

		.tabs-content tbody tr {
			position: relative;
		}

		/*.tabs-content tbody tr::after {
			content: "";
			display: block;
			position: absolute;
			left: 0;
			width: 100%;
			height: 1px;
			margin-top: -8px;
			border: 20px solid #fff;
			border-top: none;
			border-bottom: none;
			box-sizing: border-box;
			background-color: #e6e6e6;
			z-index: 100;
		}

		.tabs-content tbody tr:first-child::after {
			background-color: transparent;
		}*/

		.tabs-content td {
			padding: 10px;
			width: 17.5%;
			vertical-align: middle;
		}

		.tabs-content td.first {
			width: 30%;
		}

		.tabs-content thead td.first {
			background-color: transparent;
			padding: 0;
		}

		.tabs-content thead td.first button:first-child {
			/*margin-bottom: 10px;*/
		}

		.tabs-content h2 {
			color: #177fc2;
		}

		.tabs-content p {
			margin-top: 40px;
			margin-left: 170px;
			font-size: 1.4em;
		}

		.tabs-content .light {
			background-color: #fff; /*f8f8f8*/
		}

			.tabs-content input[type=checkbox] {
				display: none;
			}

			.tabs-content input[type=checkbox] + label {
				display: inline-block;
				padding: 0 0 0 0px;
				background: transparent url(../img/icons.png) -219px -268px no-repeat;
				height: 24px;
				width: 24px;
			}

			.tabs-content input[type=checkbox]:checked + label {
				background-position: -260px -268px;
			}

			.tabs-content input[type=checkbox]:disabled + label {
				opacity: 0.5;
			}

			.tabs-content input.multicheckbox + label {
				background-position: -218px -220px;
			}

			.tabs-content input.multicheckbox:checked + label {
				background-position: -258px -220px
			}

		.tabs-content img {
			float: left;
		}

.popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 1000px;
	margin-left: -500px;
	background-color: #eee;
	z-index: 999;
	box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
}

	.popup .header,
	.popup .content {
		padding: 20px 40px;
	}

	.popup .header {
		background-color: #d7d7d7;
	}

	.popup .filter {
		display: inline-block;
		float: left;
	}

	.popup .filter.col-1 {
		width: 25%;
	}

	.popup .filter.col-2 {
		width: 50%;
	}

		.popup .filter.col-2 ul {
			column-count: 2;
		}

		.popup .filter.x2 ul {
			column-count: 4;
		}

		.popup .row {
			padding-bottom: 40px;
		}

		.popup .row::before {
			content: "";
			position: absolute;
			left: 40px;
			width: 100%;
			height: 36px;
			margin: -20px -40px 0;
			background-color: #d5eaf7;
			z-index: -1;
		}

		.popup .row::after {
			content: "";
			clear: both;
			display: table;
		}

		.popup .row:last-child {
			padding-bottom: 0;
		}

		.popup .filter .title {
			/*background-color: #d5eaf7;*/
			margin: -20px -40px 0;
			padding: 10px 40px;
			text-transform: uppercase;
		}

		.popup ul {
			list-style: none;
			margin: 10px 40px 10px 0;
			padding: 10px 0;
			border-right: 1px solid #c6c6c6;
		}

			/* Customize the label (the container) */
			.container {
			  display: inline-block;
			  position: relative;
			  padding-left: 27px;
			  margin-bottom: 20px;
			  line-height: 20px;
			  cursor: pointer;
			  -webkit-user-select: none;
			  -moz-user-select: none;
			  -ms-user-select: none;
			  user-select: none;
			}

			/* Hide the browser's default checkbox */
			.container input {
			  position: absolute;
			  opacity: 0;
			  cursor: pointer;
			}

			/* Create a custom checkbox */
			.checkmark {
			  position: absolute;
			  top: 0;
			  left: 0;
			  height: 17px;
			  width: 17px;
			  background-color: #fff;
			  border: 1px solid #616161;
			}

			/* On mouse-over, add a grey background color */
			.container:hover input ~ .checkmark {
			  background-color: #fafafa;
			}

			/* When the checkbox is checked, add a blue background */
			.container input:checked ~ .checkmark {
			  background-color: #fff;
			}

			.container input:disabled ~ .checkmark,
			.container input:disabled ~ .label {
			  opacity: 0.3;
			}

			/* Create the checkmark/indicator (hidden when not checked) */
			.checkmark:after {
			  content: "";
			  position: absolute;
			  display: none;
			}

			/* Show the checkmark when checked */
			.container input:checked ~ .checkmark:after {
			  display: block;
			}

			/* Style the checkmark/indicator */
			.container .checkmark:after {
			  left: 5px;
			  top: 1px;
			  width: 5px;
			  height: 10px;
			  border: solid #5f5e5e;
			  border-width: 0 2px 2px 0;
			  -webkit-transform: rotate(45deg);
			  -ms-transform: rotate(45deg);
			  transform: rotate(45deg);
			}

		.popup .row .filter:last-child ul {
			border: none;
			margin-right: 0;
		}

		.popup .row .filter:last-child .title {
			margin-right: -40px;
			padding-right: 0; 
		}

		.popup#result {
			height: 583px;
		}

		.popup#result .content {
			background-color: #fff;
			height: 500px;
		}

.fog {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.5);
	z-index: 800;
}

.blur {
	filter: blur(5px);
	transition-property: filter;
    transition-duration: .4s;
}

.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #2299dd;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 2px;
}

.lightbox {
	position: relative;
	display: block;
}

	.lightbox:hover::before {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 999;
		display: block;
		content: "";
		width: 180px;
		height: 120px;
		background: transparent url(../img/zoom.png) 50% 50% no-repeat;
	}