.modal-body  {
	overflow: hidden;
	position: static;
}

.appLoader {
	background: #ffffff;
	width:100%;
	height: 100%;
	position: fixed;
	z-index: 999999;
	top: 0px;
	left: 0px;
	text-align: center;
}

.appLoader.save {
	background: rgba(255,255,255,0.9);
}

.appLoader .progress {
	left: 50%;
    position: relative;
    top: 50%;
    margin-left: -289px;
    width: 535px;
}

.tab-content {
  overflow: visible;
}

body {
   margin-top:76px;
   margin-bottom: 20px;
}

.appContent {
	padding-top: 20px;
	padding-bottom: 20px;
}

.navbar-inner {
	min-height: 0px;
}

#appMenu.navbar .btn-navbar {
	padding-top: 3px;
	padding-bottom: 3px;
}

.navbar .nav > li > a {
	padding: 6px 10px;
}

.brand.appName, .venName {
	padding-top: 4px;
	padding-bottom: 4px;
}

.modal-backdrop {
	background-color: #ffffff;
}

.add-on .tooltip-inner {
	text-shadow: none;
}

.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle {
	background-color: #666666;
}

ul.nav li.dropdown-hover:hover ul.dropdown-menu {
    display: block;  
    margin-top: 0px;
}

.subnav {
	margin-top: 33px !important;
	z-index: 20;
}

.subnav .brand {
	font-size: 16px;
}

.sidebar-nav {
    padding: 9px 0;
}

.disabled, .disabled a {
	background-image: none;
	box-shadow: none;
	cursor: default;
	opacity: 0.65;
	color: #999999 !important;
}

.table th, .table td {
	overflow: hidden;
	white-space: nowrap;
}

table.table tr td:first-child, table.table tr td:last-child,
table.table tr th:first-child, table.table tr th:last-child {
	/*text-align: center;
	width: 1px;
	white-space: nowrap;*/
}

table.table table.table tr th:first-child {
	width: 30px;
}

table.table table.table tr th:last-child {
	width: 240px;
}

table.table table.table.news tr th:last-child {
	width: 175px;
}

td .pull-left {
	display: inline-block;
	float: none;
}

.noresize {
	resize: none;
}

.move-hover {
	cursor: move;
}

.btn.move {
	padding-left: 3px;
	padding-right: 3px;
}

.btn.move i {
	width:9px;
}

.btn.move.up i, .btn.move.top i {
	background-position: -291px -96px;
}

.btn.move.down i, .btn.move.bottom i {
	background-position: -314px -96px;
}

.ckeditor {
	display: none;
}

table.table tbody tr:first-child .btn.move.top, table.table tbody tr:last-child .btn.move.bottom,
table.table tbody tr:first-child .btn.move.up, table.table tbody tr:last-child .btn.move.down {
	visibility:hidden;
}

table.table table tbody tr .btn.move {
	visibility:visible !important;
}

table.table table tbody tr:first-child .btn.move.top, table.table table tbody tr:last-child .btn.move.bottom,
table.table table tbody tr:first-child .btn.move.up, table.table table tbody tr:last-child .btn.move.down {
	visibility:hidden !important;
}

table.table .accordion-group {
	border:0px;
	text-align: left;
}

table.table .accordion-heading {
	text-align: right;
}

table.table table.table-striped td {
      background-color: #fff !important;
	  border-radius: 0px !important;
}

table.table table.table-striped th {
	  border-radius: 0px !important;
	  font-size: 10px;
	  line-height: 10px;
}

@media (min-width: 480px) {
	.form-horizontal .row-fluid .control-label {
	  width: 29%;
	}

	.form-horizontal .row-fluid .controls {
	  margin-left: 32%;
	}
}
/* ----------------------------------------------------- */

@media (max-width: 979px) {
	body {
		margin-top: 0px;
		margin-bottom: 0px;
	}
	.subnav {
		margin-top: 0px !important;
	}
	#appMenu.navbar-fixed-top {
		margin-bottom: 0px;
	}
	.appContent {
		padding-top: 0px;
		padding-bottom: 0px;
	}
	
}
/*@media (max-width: 1025px) {*/
	table.table-fixed {
		table-layout: fixed;
	}

	table.table-fixed tr th:first-child, table.table-fixed tr th:last-child {
		width: auto;
	}
	
	table.table-fixed th, table.table-fixed td{
		text-overflow: ellipsis;
	}
}

@media only screen and (max-width: 800px) {
	table thead:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
	table * html thead { zoom: 1; }
	table *:first-child+html .cf { zoom: 1; }
	table { width: 100%; border-collapse: collapse; border-spacing: 0; }
	table.table-bordered {border: 1px solid #DDDDDD;}
	 
	table th,
	table td { margin: 0; vertical-align: top; border-top: 0px !important; border-bottom: 0px !important;}
	table th { text-align: left; }
	table { display: block; position: relative; width: 100%; }
	table thead { display: block; float: left; }
	table tbody { display: block; width: auto; position: relative; overflow-x: auto; white-space: nowrap; }
	table thead tr { display: block; }
	table th { display: block; text-align: right; }
	table tbody tr { display: inline-block; vertical-align: top; }
	table td { display: block; min-height: 1.34em; text-align: left; }
	 
	 
	/* sort out borders */
	 
	table th { border-bottom: 0; border-left: 0 !important; }
	table td { border-left: 0; border-right: 0; border-bottom: 0; }
}

.cke {
	border: 1px solid #CCCCCC !important;
	border-radius: 4px 4px 4px 4px !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.cke_top, .cke_inner {
	border-radius: 4px 4px 0px 0px !important;
}

.cke input {
	height: auto;
}

.graf {
	font-family: monospace;
	-moz-font-family: -moz-fixed;
}

.graf li {
	line-height: 17px !important;
}

.graf a {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}

.focus {
	box-shadow: 0px 0px 10px #aaaaaa;
}
	.highlight {
		/*min-height: 150px;*/
		border: 2px dashed #666;
		margin-bottom: 30px;
	}
	.ui-sortable-helper {
		background: #ffffff;
		box-shadow: 0px 0px 10px #ccc;
		padding: 10px;
	}
	.ui-sortable-helper > hr.break {
		display: none;
	}
