﻿.doc-products {
	display: flex;
	-webkit-box-pack: start; -webkit-justify-content: flex-start; justify-content: flex-start;
	-webkit-flex-wrap: wrap; -moz-flex-wrap: wrap; -ms-flex-wrap: wrap; -o-flex-wrap: wrap; flex-wrap: wrap;
}

.doc-product {
	display: flex;
	justify-content: center;
	-webkit-flex-wrap: wrap; -moz-flex-wrap: wrap; -ms-flex-wrap: wrap; -o-flex-wrap: wrap; flex-wrap: wrap;
	width: 100%;
	border-bottom: 1px solid lightgray;
	margin-bottom: 10px;
	padding-bottom: 5px;
}

.doc-product-image {
	width: 150px;
	margin-top: 25px;
}

.doc-product-content {
	flex-grow: 1;
	margin: 0 10px;
	max-width: 1190px;
}

.doc-product-size {
	min-width: 150px;
	font-weight: bold;
}

.doc-product-table {
	display: flex;
	-webkit-flex-wrap: wrap; -moz-flex-wrap: wrap; -ms-flex-wrap: wrap; -o-flex-wrap: wrap; flex-wrap: wrap;
	border-bottom: 1px solid lightgray;
}

	.doc-product-table.processed, .doc-product tr.processed {
		background: linear-gradient(90deg, #a1cba3, #efefef);
	}

	.doc-product-table:last-of-type {
		border-bottom: none;
	}

.doc-product-line {
	line-height: 38px;
	margin: 0 10px;
}

.doc-product-quantity {
	display: flex;
	-webkit-flex-wrap: wrap; -moz-flex-wrap: wrap; -ms-flex-wrap: wrap; -o-flex-wrap: wrap; flex-wrap: wrap;
	-webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
}

	.doc-product-quantity input {
		max-width: 70px;
	}

@@media (max-width: 850px) {
	.doc-product-quantity {
		width: 100%;
	}
}

@@media (max-width: 360px) {
	.doc-product-content {
		margin: 0;
	}
}

@media (max-width: 1200px) {
	.desktop {
		display: none;
	}
}






.products {
	display: flex;
	justify-content: center;
	-webkit-flex-wrap: wrap; -moz-flex-wrap: wrap; -ms-flex-wrap: wrap; -o-flex-wrap: wrap; flex-wrap: wrap;
}

.product {
	border: 1px solid lightgray;
	margin: 5px;
	padding-bottom: 10px;
	flex-grow: 1;
	min-width: 130px;
	max-width: 180px;
}

.product-details-tabs {
	display: flex;
	border-bottom: 1px solid lightgray;
	margin-bottom: 20px;
}

	.product-details-tabs > div {
		padding: 10px 15px;
		cursor: pointer;
	}

		.product-details-tabs > div.active {
			color: #555;
			cursor: default;
			background-color: #fff;
			border: 1px solid #ddd;
			border-bottom-color: transparent;
			margin-bottom: -1px;
		}

.product-details-tab {
	display: none;
}

	.product-details-tab.active {
		display: block;
	}

.product-details-image {
	min-width: 200px;
	margin: 0 30px;
}

	.product-details-image > img {
		max-width: 100%;
	}

.product-details-content {
	flex-grow: 1;
}

.img-thumbnail {
	display: inline-block;
	max-width: 100%;
	height: auto;
	padding: 4px;
	line-height: 1.42857143;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
.details-param span {
	font-weight: bold;
}

.details-about-header {
	font-weight: bold;
	text-transform: uppercase;
}

.details-color-groups .balance + .valign {
	margin-left: -4px;
}

.details-color-group {
	width: 16px;
	height: 16px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 2px;
}



.purchase-order-header {
	margin: 0 5px;
}
.purchase-order-dropdown {
	min-width: 200px;
	margin: 0 5px;
}
	.purchase-order-dropdown .ui-dropdown-container, .purchase-order-header .ui-dropdown-container {
		width: 100%;
		padding-left: 10px;
	}
.purchase-order-confirmed {
	font-size: 16px;
	padding: 12px;
	border-radius: 3px;
}
.list-line {
	border-bottom: 1px solid #f8f8f8;
	line-height: 40px;
	margin-bottom: 0;
}
	.list-line h3 {
		margin: 0;
	}
	.list-line > div > h3, .list-line > div > div {
		margin: 0 5px;
	}
	

.product-image {
	vertical-align: middle;
	display: table-cell;
	width: 100%;
}
	.product-image img {
		max-width: 100%;
		display: block;
		margin: 0 auto;
	}
.product.primary {
	border: 1px solid #3076ad;
	background: #3076ad;
	color: #fff;
}
.product.success {
	border: 1px solid #5cb85c;
	background: #5cb85c;
	color: #fff;
}
.product.warning {
	color: #856404;
	background-color: #fff3cd;
}