html {
    width: 100%;
    height: 100%;
	padding: 0px;
	margin: 0px;
}

@media screen {
	body {
		width: 100%;
		height: 100%;
		padding: 0px;
		margin: 0px;
		background-color: #fefefe;
		-moz-user-select: none;
		-khtml-user-select: none;
		user-select: none;     
	}
	
	.no_content {
		visibility: hidden;
		display: none;
	}
}

@media print {
	body {
		visibility: hidden;
		display: none;
	}
	
	.no_content {
		visibility: visible;
		display: block;
	}
}

.parent {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: auto;
}

.block {
    width: 400px;
    height: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -200px 0 0 -200px;
}

caption {
	text-align: center;
	background-color: #fafafa;
	font-weight: bold;
}

.ajax_loader {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.55);
	background-image: url('../_img/ajax_loader.svg');
	background-position: 50% 50%;
	background-repeat: no-repeat;
	z-index: 9999;
}

.hide {
	display: none;
}

/* Списки файлов и разделов */

ul.A {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

ul.A li.B {
	margin: 0px;
	padding: 0px;
}

ul.A li.C {
	margin: 0px;
	padding: 10px 0px 10px 25px;
}

/* Таблицы */

.table_wrapper {
	width: 100%;
	height: calc(100% - 112px);
	overflow: auto;
	position: relative;
}

.table_wrapper::-webkit-scrollbar-track {
	background-color: #fcfcfc;
	border-top: 1px solid #ccc;
}

.table_wrapper::-webkit-scrollbar {
	width: 10px;
	height: 9px;
}

.table_wrapper::-webkit-scrollbar-thumb {
	background-color: #bbb;
}

.custom_table {
	border-collapse: collapse;
	font-size: 13px;
	min-width: 100%;
}

.custom_table th, .custom_table td {
    border: 1px solid #ccc;
	min-width: 35px;
	height: 35px;
	padding: 5px;
    max-width: 210px;
}

table[is_fixed=Y] {
    position: absolute !important;
    background-color: #fff;
    z-index: 99;
}

table.with_shadow {
    -webkit-box-shadow: 0px 5px 30px -10px rgba(0,0,0,0.55);
    -moz-box-shadow: 0px 5px 30px -10px rgba(0,0,0,0.55);
    box-shadow: 0px 5px 30px -10px rgba(0,0,0,0.55);
}

.custom_table th {
    background-color: #fafafa;
}

.custom_table th.clickable {
    background-color: #eee;
}

.custom_table th.clickable:hover {
    background-color: #ddd;
	cursor: pointer;
}

.custom_table td.clickable {
    background-color: #fff;
}

.custom_table td.clickable:hover {
    background-color: #fafafa;
	cursor: pointer;
}

.custom_table th select {
    width: 200px;
	border: 1px solid #aaa;
	border-radius: 3px;
	margin: 5px 0px 0px 0px;
}

/* Oh Snap */

#ohsnap {
  position: fixed;
  bottom: 0px;
  right: 10px;
  z-index:9999;
}

.alert-red {
  color: white;
  background-color: #DA4453;
}

.alert-green {
  color: white;
  background-color: #37BC9B;
}

.alert-blue {
  color: white;
  background-color: #4A89DC;
}

.alert-yellow {
  color: white;
  background-color: #F6BB42;
}

.alert-orange {
  color:white;
  background-color: #E9573F;
}

.buttons {
  margin-bottom: 20px;
  display: block;
}

.buttons a {
  margin:auto;
  margin-bottom:10px;
  float: none !important;
  text-align: center;

}

.buttons a span { 
  padding-left: 0px; 
}

@media (max-width: 450px) {
  .buttons {
    margin-bottom: 334px;
  }
}

/* Нет доступа */
.no_access {
	width: 100%;
	text-align: center;
}

/* Модальное окно */

#filters_modal label {
	padding: 10px;
	width: 100%;
}

#filters_modal label:hover {
	background-color: #fafafa;
	cursor: pointer;
}

.has_filter {
	background-color: #ffbaba !important;
	color: #b63030 !important;
}
