.container {
	width: fit-content;
	margin: auto;
	padding: 1%;
}

.table_container {
	margin: auto;
	padding: 1%;
}
.description {
	min-width: 50%;
	overflow: auto;
}
.qty_elem {
	width: 3em;
}
.price_elem {
	width: 5em;
}
table {
	border-collapse: collapse;
	padding: 3px;
	border-radius: 7px;
	box-shadow: -1px -1px 5px 5px #EEE;
}
.heading {
	font-weight: bold;
	text-shadow: 0 0 6px #DDD;
	padding: 2px 2px 2px 15px;
	white-space: pre;
}

.component_heading {
	background: #EEE;
	width: auto;
	min-width: 5em;
	border: solid 1px #DDD;
	white-space: normal;
}
.item_select {
	width: 100%;
}

input:hover { 
	background: #EEE;
}

select:hover{
	background: url(/static/select.png) 99% / 10px no-repeat #EEE;
	padding-right: 13px;
}
option {
	background: #FFF;
	border-radius: inherit;
}

select {
	border-radius: 3px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: url(/static/select.png) 99% / 10px no-repeat #FFF;
	padding-right: 13px;
}
.multi_button {
	padding: 0px 4px 0px 4px;
}
button {
	border-radius: 4px;
}

button:hover {
	background-color:#002e5b; color:#FFF;
}

.button {
	border-radius: 4px;
	text-decoration: none;
	background-color: #EEEEEE;
	color: #333333;
	padding: 2px 6px 2px 6px;
	border-top: 1px solid #CCCCCC;
	border-right: 1px solid #333333;
	border-bottom: 1px solid #333333;
	border-left: 1px solid #CCCCCC;
}

.button:hover {
	background-color:#002e5b; color:#FFF;
	cursor: pointer;
}

tr:nth-child(even), table.dataTable tbody tr.even{
	background: #EEE;
}

.dataTable tbody tr:hover {
	 filter: brightness(75%);
}

td.component {
	border: solid 1px #DDD;
	padding: 3px;
	max-width: 20vw;
	overflow: auto;
	white-space: nowrap;
	text-align: center;
}

td.component.quote {
	max-width: none;
	text-align: left;
	
}

.identity_field {
	border: solid 1px #DDD;
	padding-left: 5px;
	width: 50em;
	white-space: nowrap;
	
}
td.component td.identity_field:nth-of-type(1) {
	max-width: none;
}

.nobox {
	border: none;
	padding: 0px 5px 0px 5px;
}
.invalid {
	background: #F66;
}
.description {
	border: solid 2px #CCC;
	border-radius: 4px;
}
.tablesorter-headerDesc {
	background-image:url(/static/down.jpg);
	background-repeat:no-repeat;
	background-position:right;
	background-size:15px 15px;
	padding-right:15px;
}
.tablesorter-headerAsc {
	background-image:url(/static/up.jpg);
	background-repeat:no-repeat;
	background-position:right;
	background-size:15px 15px;
	padding-right:15px;
}
.btn {
	display: inline-block;
	margin: 3px;
	text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #000;
    background-color: #CCC;
    border-color: #EEE;
	box-shadow: 1px 1px 2px 2px #777;
}
.suggestion_box {
	float: right;
	background-color: rgba(0,0,0,0.02);
	padding: 4px;
	border-radius: 5px;
}

div#configuration {
	display: none;
	margin: 20px;
	padding: 3px;
	border-radius: 5px;
	border: solid 1px black;
}
div#configuration span, select {
	display: table-cell;
	padding: 4px;
}
div#configuration select {
	padding-right: 13px;
	width: 100%;
}
div#configuration .trow {
	display: table-row;
}
div#configuration .trow:nth-child(even) {
	background: #EEE;
}

.dataTables_wrapper .filters input {
	width: 100%;
}
.dataTables_wrapper label {display: block;}
.dataTables_length * {display: inline; padding-top: 0.555em; padding-left: 0.755em; }

@media screen and (max-width: 640px) {
	#configForm td {
		display: table-row;
	}
	#description_container {
		display: block !important;
		margin-top: 15px;
	}
}
