.orderdesc-page .speedbar { margin-bottom: 16px; }
.orderdesc-page #dle-content > .title { margin-top: 0; }
@media (max-width: 700px) {
	.orderdesc-page .navigation { margin-left: -20px; margin-right: -20px; margin-bottom: -20px; border-top: 1px solid #3b3b3b; }
}

.orderbox { background-color: rgba(59,59,59, 0.5); padding: 16px; border-radius: 10px; margin-bottom: 24px; }
.orderbox-head { line-height: 16px; }
.orderbox-title { font-weight: bold; text-transform: uppercase; opacity: .5; }

.orderbox-checks { display: flex; flex-wrap: wrap; font-size: 12px; margin-bottom: 16px; margin-top: -8px; }
.orderbox-checks > .custom-check { margin-right: 20px; margin-top: 8px; }
.orderbox-checks > .custom-check .custom-check-icon { margin-right: 7px; }

/* INPUT & RELATED */
.orderbox-input { margin: 16px 0; position: relative; }
.orderbox-input > input { width: 100% !important; }

.orderdesc-related {
	position: absolute; left: 0; top: 100%; z-index: 100; margin: 8px 0 0; padding: 12px 0; box-sizing: border-box; width: 100%;
	list-style: none; background-color: #3b3b3b; border: 1px solid #353535; border-radius: 8px; box-shadow: 0 8px 32px -10px rgb(0 0 0 / 30%);
}
.orderdesc-related-close {
	position: absolute; right: 0; top: 100%; z-index: 101; margin: 8px 0 0; padding: 16px;
	line-height: 14px; width: 46px; height: 46px; box-sizing: border-box; border: 0 none; background: none;
	cursor: pointer; transform: translateY(-10px);
	transition: opacity .2s ease, visibility 0s ease, transform .2s ease;
}
.orderdesc-related:not([style*="none"]) + .orderdesc-related-close { opacity: 1 !important; visibility: visible !important; transform: translateY(0); }

.orderdesc-related.nowhide + .orderdesc-related-close, .orderdesc-related.nowhide { display: none !important; }
.orderdesc-related-close > i { opacity: .5; transition: opacity .15s ease; }

.orderdesc-related li.orderdesc-related-h { margin-bottom: 10px; color: #A9B2A0; }
.orderdesc-related li {
	line-height: 18px; overflow: hidden; position: relative; z-index: 1;
	padding: 6px 16px; display: flex; align-items: center;
}
.orderdesc-related li:not(:first-child) { border-top: 1px solid #353535; }

.orderdesc-related li i { margin-right: 7px; }
.orderdesc-related li .orderdesc-rating { margin-left: auto; }
.od__related-title { flex: 1; overflow: hidden; min-width: 0; margin-top: 1px; margin-right: 10px; text-overflow: ellipsis; white-space: nowrap; }
.od__related-title a { color: #94AB7B; text-decoration: none !important; }

@media (min-width: 992px) {
    .od__related-title a:hover { opacity: .8; }
    .orderdesc-related-close:hover > i { opacity: .4; }

    .od__related-title::after { content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); opacity: 0; transition: opacity .15s ease; }
	.orderdesc-related li:hover .od__related-title::after { opacity: 1; }
}

/* RULES */
.order-rules-link { text-decoration: none !important; float: right; margin: -8px; padding: 8px; font-size: 12px; color: #95ac7c; }
.open-rules .order-rules-link > span:nth-child(1) { display: none !important; }
.open-rules .order-rules-link > span:nth-child(2) { display: inline !important; }
.open-rules .order-rules { display: block !important; }
.order-rules { padding: 0 !important; list-style: none !important; }
.order-rules a { text-decoration: underline; color: inherit !important; }
.order-rules a:hover { opacity: .8; }

/* TABS */
.order-tabs { display: flex; flex-wrap: wrap; font-size: 14px; margin-bottom: 16px; }
.order-tabs * { box-sizing: border-box; }
.order-tabs > a {
	display: flex; margin: 8px 8px 0 0; align-items: center; border: 1px solid rgba(255,255,255,0.1); text-decoration: none !important; line-height: 22px; height: 32px; padding: 6px 11px 4px 11px;
	color: rgba(204,204,204,.8); font-weight: bold; border-radius: 6px; background: none; position: relative;
	transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.order-tabs > a > i { margin-right: 4px; margin-top: -1px; vertical-align: middle; }
.order-tabs > a.active {
	color: rgba(204,204,204,1) !important; border-color: #93AB7B !important;
	box-shadow: inset 0 0 6px 0 #93AB7B, 0 0 6px 0 #93AB7B;
}

@media (min-width: 992px) {
	.order-tabs > a:hover, .order-tabs > a:active { color: rgba(204,204,204,1); border-color: rgba(255,255,255,0.2); }
}

.od__related-edit { display: block; margin-top: 2px; line-height: 15px; }

/* === Стол заказов === */
.orderdesc-area { padding: 20px; }
.orderdesc-h { font: bold 18px/30px Calibri; color: #333; }
.orderdesc-cancel:hover,
.orderdesc-doadd:hover { box-shadow: 0 0 3px rgba(60,140,200,.5); }

.orderdesc-statusinfo { list-style: none; padding: 0 5%; margin: 10px 0 0; }
.orderdesc-statusinfo:after { content: ""; display: table; clear: both; }
.orderdesc-statusinfo li { float: left; width: 20%; font: normal 12px/22px Arial; color: #444; text-align: center; }
.orderdesc-statusinfo li a,
.orderdesc-statusinfo li a:hover { text-decoration: none; }
.orderdesc-statusinfo li a:hover span { text-decoration: underline; color: #ff5f43; }
.orderdesc-related li .od-deny,
.orderdesc-table td .od-deny { cursor: help; }

.orderdesc-table { margin-top: 10px; width: 100%; border-top: 1px solid #ccc; border-collapse: collapse; }
.orderdesc-table tr:nth-child(odd) { background: #fafaff; }
.orderdesc-table tr:hover { background: #eee; }
.orderdesc-table td { height: 22px; margin: 0; padding: 0; text-align: center; font: bold 11px/22px Arial; color: #666; border-bottom: 1px solid #ccc; }
.orderdesc-table td.od_td_title { text-align: left; padding: 2px 0 2px 10px; height: 18px; line-height: 18px; }

/* ORDER LIST */
.order-list { margin-bottom: 20px; }
.order-item { border-top: 1px solid #3B3B3B; padding: 15px 0; display: flex; }
.order-item-cont { flex: 1 1 auto; margin-right: 15px; align-self: center; }
.order-item-cont a { text-decoration: none !important; }
.order-item-title { font-weight: bold; line-height: 1.3; }
.order-item-title a { color: #95ac7c; }
.order-item-icon { min-width: 40px; position: relative; font-size: 24px !important; margin-right: 15px; }
.order-item-icon .fas {
	display: flex; align-items: center; justify-content: center; border-radius: 50%; width: 40px; height: 40px; background-color: rgba(255,255,255,0.1);
	transition: color .2s ease, background-color .2s ease;
}
.order-item-icon label { margin: 0; padding: 0; font: inherit; cursor: pointer; }
.order-item-icon label > input { position: absolute; left: 0; top: 0; opacity: 0; visibility: hidden; }
.order-item-icon label > input:checked + .fas { background-color: #94AB7B !important; color: #fff !important; }

@media (min-width: 992px) {
	.order-item-title a:hover { opacity: .8; }
	.order-item-meta a:hover { color: #CCC; }
	.order-item-icon:hover label > input + .fas { background-color: rgba(255,255,255,0.07); }
}
.order-item-rate { margin-left: auto; }

.orderdesc-rating {
	color: #ccc; display: flex; align-items: center; justify-content: space-between; position: relative; padding: 6px 7px 4px 7px;
    height: 24px; min-width: 36px; line-height: 14px; border-radius: 12px; transition: opacity .2s ease, box-shadow .2s ease;
    text-align: center; background-color: rgba(255,255,255, 0.1); box-sizing: border-box;
    text-decoration: none !important; font-size: 12px; font-weight: bold; cursor: pointer;

    -webkit-touch-callout: none;
  	-webkit-user-select: none;
 	 -khtml-user-select: none;
  	-moz-user-select: none;
  	-ms-user-select: none;
  	user-select: none;
}
.orderdesc-related .orderdesc-rating { padding: 4px 6px 2px 6px; height: 20px; }

.orderdesc-rating::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900;
	-moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased;
    display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; line-height: 1;

	content: "\f164"; margin-right: 4px; margin-top: -2px;
}

@media (min-width: 992px) {
	.orderdesc-rating:hover { opacity: .8; }
	.order-item:hover .orderdesc-rating-green { box-shadow: 0 0 12px 0 #94AB7B; }
}
.orderdesc-rating-green { background: #94AB7B; color: #fff; }

/* EDIT  */
.orderdesc-edit { font: normal 10px Arial; color: #d28c00; }
.orderdesc-edit:hover { color: #000; }
#orderdesc-edit { padding: 10px !important; }

.show-alerts { position: fixed; top: 0; right: 12px; z-index: 1003; }

.show-alerts > div {
	background: #505050; padding: 11px 15px 9px 15px; box-shadow: 0 2px 24px 0 rgba(0,0,0,.2); border-radius: 15px 0 15px 15px; margin-top: 12px;
	color: #ccc; white-space: nowrap; display: flex; align-items: center; width: auto; float: right; clear: both; cursor: default; box-sizing: content-box;
}
.show-alerts > div:empty, .status_info:empty { display: none !important; }
.show-alerts > div::before { content: ""; display: block; width: 8px; min-width: 8px; height: 8px; border-radius: 50%; background-color: #FFA702; margin-right: 8px; margin-top: -1px; }
.status_info { border-radius: 5px; padding: 2px 4px; margin: 0 4px 0 4px; border: 1px dotted #929292; display: inline-block;}