#top-panel, span.top-user, span.menu-item, #top-panel > div.logo, span.bell, #event-popup, #event-popup .pop-item, td {
	transition: all 0.2s ease-out;
}

#top-panel, #bottom-panel {
	display: block;
	position: fixed;
	left: 0px;
	right: 0px;
	height: 24px;
	padding: 2px 0px;
	z-index: 100;
}

#top-panel {
	background-image: linear-gradient(to top, rgb(0, 16, 96), rgb(0, 8, 32));
	border-bottom: 1px solid #bbb;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, .5);
	top: 0px;	
}

#bottom-panel {
	background-image: linear-gradient(to bottom, rgb(0, 16, 96), rgb(0, 8, 32));
	border-top: 1px solid #bbb;
	box-shadow: 0px -4px 8px rgba(0, 0, 0, .5);
	bottom: 0px;
	line-height: 24px;
	padding: 0px 4px;
	color: #fff;
}

#top-panel:hover {
	height: 48px;
	background-image: linear-gradient(to top, rgb(0, 16, 128), rgb(0, 32, 160));
	border-color: #ffc;
	box-shadow: 0px 8px 16px rgba(0, 0, 0, .8);
	padding: 0px;
}

span.top-user, span.menu-item, #top-panel > div.logo {
	display: inline-block;
	height: 24px;
	line-height: 24px;
	font-size: 10pt;
	padding-right: 8px;
	padding-left: 32px;
	color: #fff;
	background-repeat: no-repeat;
	background-position: 4px center;
	/*background-image: url(/img/user24_w.png);*/
	float: right;
	cursor: pointer;
}

#top-panel:hover span.top-user, #top-panel:hover span.menu-item, #top-panel:hover > div.logo, #top-panel:hover span.bell {
	height: 48px;
	line-height: 48px;
}

span.bell {
	display: inline-block;
	height: 24px;
	line-height: 24px;
	font-size: 10pt;
	padding: 0px 8px 0px 32px;
	margin-right: 1px;
	color: #777;
	background-repeat: no-repeat;
	background-position: 4px center;
	background-image: url(/img/bell24_g.png);
	float: right;
	cursor: pointer;	
}

span.bell.alarm {
	background-image: url(/img/bella24_g.png);
	font-weight: bold;
	color: #567;
}

span.bell.alarm.highlite {
	background-image: url(/img/bella24_w.png);
	color: #fff;
}

span.bell.alarm.highlite:hover {
	background-image: url(/img/bella24_b.png);
}

span.menu-item.active {
	background-color: #fff;
	color: #000;
}

span.top-user:hover, span.menu-item:hover, #top-panel:hover span.menu-item.active, span.bell:hover {
	color: #000;
	background-color: #ffc;
}

#top-panel > div.logo {
	width: 48px;
	background-image: url(/img/favicon24.png);
	background-position: center center;
	margin: 0px 8px 0px 0px !important;
	padding: 0px;
}

#top-panel:hover > div.logo {
	background-image: url(/img/favicon32_w.png);
}

#top-panel > div.logo:hover {
	/*background-color: rgba(255, 255, 255, .4) !important;*/
	background-image: url(/img/favicon48.png);
}

span.top-user:hover {
	background-image: url(/img/user24_b.png);
}

span.menu-item, #top-panel > div.logo {
	float: left;
	margin-right: 1px;
}

span.menu-item.order {
	background-image: url(/img/order24_w.png);
}
span.menu-item.order:hover, span.menu-item.order.active {
	background-image: url(/img/order24_b.png);
}
span.menu-item.tender {
	background-image: url(/img/tender24_w.png);
}
span.menu-item.tender:hover, span.menu-item.tender.active {
	background-image: url(/img/tender24_b.png);
}
span.menu-item.cart {
	background-image: url(/img/cart24_w.png);
}
span.menu-item.cart:hover, span.menu-item.cart.active {
	background-image: url(/img/cart24_b.png);
}

span.menu-item.forum {
	background-image: url(/img/forum24_w.png);
}
span.menu-item.forum:hover, span.menu-item.forum.active {
	background-image: url(/img/forum24_b.png);
}

span.menu-item.cars {
	background-image: url(/img/car24_w.png);
}
span.menu-item.cars:hover, span.menu-item.cars.active {
	background-image: url(/img/car24_b.png);
}

#event-popup {
	position: fixed;
	display: none;
	right: 0px;
	top: 49px;
	max-width: 240px;
	border: 1px solid #ffc;
	border-top: none;
	border-right: none;
	color: #fff;
	background: #127 linear-gradient(to bottom, rgb(0, 16, 96), rgb(0, 8, 32));
	box-shadow: -4px 4px 8px rgba(0, 0, 0, .5);
	padding-bottom: 16px;
	border-radius: 0px 0px 0px 16px;
	opacity: 0;
	z-index: 102;
}

#event-popup.vis {
	display: inline-block;
	opacity: 1;
}

#event-popup > div.pop-head {
	display: block;
	text-align: left;
	padding-left: 8px;
	padding-bottom: 4px;
	margin-bottom: 16px;
	border-bottom: 1px solid #345;
	height: 26px;
	line-height: 26px;
	max-height: 26px;
	font-weight: bold;
	color: #ffa;
}

#event-popup > div.pop-head > span {
	display: inline-block;
	width: 26px;
	height: 26px;
	float: right;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(/img/close24_w.png);
	cursor: pointer;
}

#event-popup > div.pop-head > span:hover {
	background-color: #fff;
	background-image: url(/img/close24_b.png);
}

#event-popup .pop-item, #event-popup .pop-clear {
	display: block;
	padding: 8px 4px 8px 42px;
	background-repeat: no-repeat;
	background-position: 6px center;
	color: #fff;
	cursor: pointer;
}

#event-popup .pop-item {
	background-image: url(/img/info24_w.png);
}

#event-popup .pop-clear {
	background-image: url(/img/cancel24_w.png);
}

#event-popup .pop-item:hover, #event-popup .pop-clear:hover {
	background-color: #127;
	color: #ffc;
}

#event-popup span.no-data {
	display: block;
	min-width: 160px;
	text-align: center;
	color: #777;
	font-style: italic;
	margin: 12px 0px 16px;
}

#event-popup .inner {
	max-height: 360px;
	overflow-y: auto;
}

table.edit td {
	font-weight: normal;
	padding: 1px 4px;
}

tr.title th {
	font-weight: normal;
	background-image: linear-gradient(to bottom, rgb(255, 255, 255), rgb(210, 210, 210)) !important;
	color: #000 !important;
	font-size: .8em;
	padding: 4px;
}

table.edit tr td:last-of-type {
	border-right-color: #88a !important;
}

table.edit tr:last-of-type td {
	border-bottom-color: #88a !important;
}

table.edit {
	width: 100%;
}

table.edit tr:not(.head) th, table.edit td:not(.head) {
	border: 1px solid #ccc !important;
	background: #fff;
	font-weight: normal;
}

table.edit textarea {
	resize: none;
    overflow: hidden;
	min-height: 17px;
}

table.edit input[type="text"], table.edit input[type="date"], table.edit textarea {
	border: none !important;
	display: block !important;
	min-width: 0px !important;
	width: 100% !important;
	padding: 2px 0px !important;
	word-wrap: break-word;
}

.search_box {
	display: none;
	position: absolute;
	background-color: #fff;
	border: 1px solid #999;
	border-top: none;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, .2);
	width: calc(100% - 4px);
	height: auto;
	left: 1px;
	top: 100%;
	z-index: 100;
}

.search_box > span {
	display: block;
	text-align: left;
	font-size: 1em;
	line-height: 1em;
	padding: 2px 4px;
	color: #000;
}

.search_box > span:hover {
	background-color: #ddd;
	cursor: pointer;
}

fieldset > span.close {
	display: none;
	position: absolute;
	width: 16px;
	height: 13px;
	right: 2px;
	top: 18px;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(/img/del_16x13.png);
	filter: grayscale(100%);
	opacity: .3;
}

fieldset:hover > span.close {
	display: block;
}

fieldset > span.close:hover {
	filter: grayscale(0%);
	opacity: 1;	
}

fieldset > span.txt, #dlg input {
	display: block;
	background-color: #fff;
	border: 1px solid #555;
	border-radius: 4px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, .5);
	text-align: center;
	font-size: 1.2em;
	padding: 4px 8px;
	min-width: 48px;
	cursor: default;
}

#dlg input {
	min-width: 180px;
	width: 180px;
	max-width: 180px;
	height: 19px;
	line-height: 19px;
	font-size: 1em;
	text-align: left;
	cursor: inherit;
}

.dlg-head {
	min-width: 180px !important;
	background-color: #ffa !important;
}

#dlg fieldset {
	display: inline-block;
}

.st1 {
	background-image: url('/img/ost1.png');
}

.st2 {
	background-image: url('/img/ost2.png');
}

.st3 {
	background-image: url('/img/ost3.png');
}

.st4 {
	background-image: url('/img/ost4.png');
}

.tp1 {
	background-image: url('/img/ortp1.png');
}

.tp2 {
	background-image: url('/img/ortp2.png');
}

.tp3 {
	background-image: url('/img/ortp3.png');
}

.clock24 {
	background-image: url('/img/clock24.png');
}

.id24 {
	background-image: url('/img/id24.png');
}

.org24 {
	background-image: url('/img/org24.png');
}

.money24 {
	background-image: url('/img/money24.png');
}

.user24 {
	background-image: url('/img/user24.png');
}

.cnt24 {
	background-image: url('/img/cnt24.png');
}

.group24 {
	background-image: url('/img/group24.png');
}

.brand24 {
	background-image: url('/img/brand24.png');
}

.tmc24 {
	background-image: url('/img/tmc24.png');
}

.sand24 {
	background-image: url('/img/sand24.png');
}

.car24 {
	background-image: url('/img/car24_b.png');
}

.info24 {
	background-image: url('/img/info24_b.png');
}

.delivery24 {
	background-image: url('/img/delivery24.png');
}


/* users x24 */

.user24_1 {
	background-image: url('/img/users/1x24w.png');
}

.user24_2 {
	background-image: url('/img/users/2x24w.png');
}

.user24_3 {
	background-image: url('/img/users/3x24w.png');
}

.user24_4 {
	background-image: url('/img/users/4x24w.png');
}

.user24_5 {
	background-image: url('/img/users/5x24w.png');
}

.user24_6 {
	background-image: url('/img/users/6x24w.png');
}

.user24_1:hover, .user24w_1 {
	background-image: url('/img/users/1x24.png') !important;
}

.user24_2:hover, .user24w_2 {
	background-image: url('/img/users/2x24.png') !important;
}

.user24_3:hover, .user24w_3 {
	background-image: url('/img/users/3x24.png') !important;
}

.user24_4:hover, .user24w_4 {
	background-image: url('/img/users/4x24.png') !important;
}

.user24_5:hover, .user24w_5 {
	background-image: url('/img/users/5x24.png') !important;
}

.user24_6:hover, .user24w_6 {
	background-image: url('/img/users/6x24.png') !important;
}

/* users x48 */

.user48_1 {
	background-image: url('/img/users/1x48.png') !important;
}

.user48_2 {
	background-image: url('/img/users/2x48.png') !important;
}

.user48_3 {
	background-image: url('/img/users/3x48.png') !important;
}

.user48_4 {
	background-image: url('/img/users/4x48.png') !important;
}

.user48_5 {
	background-image: url('/img/users/5x48.png') !important;
}

.user48_6 {
	background-image: url('/img/users/6x48.png') !important;
}

/* horizontal divider */

hr.horz {
	display: inline-block;
	border: none;
	width: 1px;
	height: 1em;
	line-height: 1em;
	background: #ccc linear-gradient(to bottom, rgb(210, 210, 210), rgb(160, 160, 160));
	margin: 0px 4px 0px 8px;
}

#bottom-panel .cur {
	display: inline-block;
	text-align: center;
	width: 12px;
	height: 12px;
	line-height: 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: bold;
	color: #113;
	background-color: #fff;
}

.countdown {
	display: inline-block;
	height: 20px;
	line-height: 20px;
	padding: 2px 0px 2px 18px;
	background-repeat: no-repeat;
	background-position: 0px center;
	background-image: url(/img/clock16_b.png);
	
}


.bk_thumb {
	height: 64px !important;
	border: 2px solid transparent;
	border-radius: 4px;
	margin: 0px 4px 4px 0px;
	opacity: .8;
	cursor: pointer;
	transition: all 0.2s ease-out;
}

.bk_thumb:hover {
	border-color: #359;
	opacity: 1;
	transform: scale(1.1);
}

.pages > span {
	display: inline-block;
	border: 1px solid #ddd;
	background-color: #fff;
	min-width: 20px;
	text-align: center;
	cursor: default;
	transition: all 0.2s ease-out;
	padding: 2px 2px;
}

.pages > span.a, .pages > span:hover {
	background-color: #113;
	color: #fff;
}






