body { overflow-x: hidden; height: 2000px }

th { position: sticky; top: 0; background: #fff; z-index: 10 }
.cup{ cursor: pointer }
.di6{ font-size: 1.4em }
.dev{ background-color: #fff5be !important }
.bgwarning { background-color: #FFFADE !important }
.bgsuccess { background-color: #E5FFE6 !important }
.bgdanger { background-color: #FFEDED !important }
.bgs { background-color: #3EF511 !important }
.bgb { background-color: #000 !important; color: #FFF }
.bgd { background-color: #FF2626 !important; color: #FFF }
.click:hover { background-color: #fff5be }
.txs { color: #888 !important }
.txd { color: red !important }
.txg { color: green !important }
.bactive{ color: #222; text-decoration: none !important }
a { cursor: pointer }
.navbar { position: sticky; top: 0 }
.tdn { text-decoration: none !important }
.bg-lwarning{ background-color: #fff4c9 !important }
.sidebar { position: fixed; left: 0; width: 150px; height: 100%; background-color: #f8f9fa; z-index: 1000; transition: transform .3s; transform: translateX(-100%) }
.sidebar-title { padding: .5rem 1rem }
.sidebar.active { transform: translateX(0) }
.main-content { padding: 15px 15px 15px 250px; transition: margin-left .3s }
.log p{ margin-bottom: .6em }

@media( max-width:1000px ){
	
	.hup1000{
		
		display: none;
		color: red;
		
	}
	
	.main-content {
		padding-left: 15px;
		margin: auto
	}

	.sidebar {
		width: 100%
	}
	
	.container table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap
	} }

input[readonly], textarea[readonly] {
	background-color: #eee !important }

.c2c {
	cursor: pointer }

.blink {
	color: red;
	text-shadow: red 1px 0 10px }

/* Проверка JSON полей */
.invalid-json {
  border: 2px solid #ff6b6b !important;
  background-color: #fff0f0; }

.valid-json {
  border: 2px solid #51cf66 !important; }

.error-message {
  color: #ff6b6b;
  font-size: 0.8em;
  margin-top: 5px;
  display: none; }

[data-check="json"]:invalid + .error-message {
  display: block; }
/* Проверка JSON полей */

/* PBN / RTP */
.pbninv {
	background-color: #bcb9c6 !important;
}
.tvp1c {
	background-color: #ff9999 !important;
}
.tvdel {
	border-left: 6px solid red;
	border-right: 6px solid red;
}
/* PBN / RTP */
