/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *   ofr line  -->  line is a table
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.table-item {
	position: relative;
	width: 100%;
	border-collapse: collapse;
}
/* ----------------
 * cell 1 - img
 * ---------------- */
.img-wrapper {
	box-sizing: border-box;
	margin-top: 5px;
	width: 142px;
	height: 85px;
}
.img-ofr {
	width: 142px;
	height: 85px;
	object-fit: contain;
}
/* ----------------
 * cell 2
 * ---------------- */
/* -- ofr title ---- */
.item-ofr-title {
	font-size: 20px;
	font-weight: bold;
}
.item-ofr-title a {
}
.item-ofr-title a:hover {
	background-color: #e6e6e6;
	border-radius: 4px;
	text-decoration-line: none;
}
/* -- operation -- */
.op-ofr {
	display: inline-block;
	margin-right: 10px;
	padding: 0 8px;
	line-height: 27px;
	border-radius: 8px;
}
.op-buy {
	color: #eeeeee;
	background-color: #508070;
}
.op-buy:hover {
	background-color: #407060;
}
.op-sell {
	color: #ffffff;
	background-color: #c24843;
}
.op-sell:hover {
	background-color: #a22823;
}
.op-coop {
	color: #eeeeee;
	background-color: #3090c0;
}
.op-coop:hover {
	background-color: #2080b0;
}
.op-values {
	display: inline-block;
	color: #888888;
}
@media screen and (max-width: 500px){
	.op-qty { display: none; }
}
/* ----------------
 * cell 3
 * ---------------- */
.item-pck-sign {
	display: inline-block;
	font-size: 25px;
}
.package-0 {
	position: relative;
	top: 3px;
	color: #777777;
}
.package-1 { color: #999999; }
.package-2 { color: #f7a450; }
.package-P { color: #f7a450; }
.item-pck-name {
	display: inline-block;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *   screen size
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@media screen and (min-width: 801px){
	.table-item {
		margin-bottom: 5px;
		border-top: 1px solid #999999;
	}
	.cell-1 {
		width: 160px;
	}
	.img-wrapper {
		background-color: #eeeeee;
	}
	.cell-3 {
		text-align: right;
	}
}
/* ------------------------------------ */
@media screen and (max-width: 800px){
	.table-item {
		position: relative;
		display: block;
		margin-top: 20px;
		border-width: 4px;
		border-style: solid;
		border-color: #aaaaaa;
		border-radius: 10px;
		box-shadow: 0 0 10px #bbbbbb;
	}
	.cell-1 {
		position: absolute;
		right: 2px;
		bottom: 5px;
	}
	.cell-2 {
		display: block;
		margin-top: 45px;
		padding: 0 10px;
	}
	.cell-3 {
		display: block;
		padding: 0 10px;
		min-height: 40px;
	}
	.item-country {
		position: absolute;
		top: 0;
		left: 0;
		padding-left: 10px;
		width: 100%;
		line-height: 40px;
		box-sizing: border-box;
		background-color: #d0d0d0;
		/*background-image: url("../../../all/allSiteData/site-img/background-metal-1.jpg");*/
		background-image: url("../../../../webengine/engineRes/img/bg-plank-05.jpg");
		border-bottom: 1px solid #c0c0c0;
		border-top-left-radius: 7px;
		border-top-right-radius: 7px;
	}
	.item-package {
		position: absolute;
		top: 0;
		right: 10px;
		z-index: 1;
	}
}
