/******************************
*******************************
Toggle Control
*******************************
*******************************/

.tx-toggle
{
	padding-top: 7px;
}

.tx-toggle-control
{
	display: inline-block;
	width: 38px;
	height: 18px;
	cursor: pointer;
}

.tx-toggle-off
{
	background-image: url('controls/tx-toggle-off.png');
	background-repeat: no-repeat;
}

.tx-toggle-on
{
	background-image: url('controls/tx-toggle-on.png');
	background-repeat: no-repeat;
}

td .tx-toggle-control
{
	margin-top: 8px;
}

.tx-toggle-container[disabled=disabled] .tx-toggle-control
{
	cursor: not-allowed;
}

.modal-body .tx-toggle-container label
{
	margin-left: 10px;
}

/******************************
*******************************
Smart Search Control
*******************************
*******************************/

.tx-smart-search-results
{
	overflow-y: scroll;
	max-height: 300px;
	position: absolute;

    z-index: 1060;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    padding-top: 5px;
    padding-right: 0px;
    padding-bottom: 5px;
    padding-left: 0px;
    margin: 2px 0 0;
    margin-top: 2px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border-top-color: rgba(0, 0, 0, 0.14902);
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: rgba(0, 0, 0, 0.14902);
    border-right-style: solid;
    border-right-width: 1px;
    border-bottom-color: rgba(0, 0, 0, 0.14902);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: rgba(0, 0, 0, 0.14902);
    border-left-style: solid;
    border-left-width: 1px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-top-color: rgba(0, 0, 0, 0.14902);
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: rgba(0, 0, 0, 0.14902);
    border-right-style: solid;
    border-right-width: 1px;
    border-bottom-color: rgba(0, 0, 0, 0.14902);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: rgba(0, 0, 0, 0.14902);
    border-left-style: solid;
    border-left-width: 1px;
    border-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);

}

.tx-smart-search-results li.tx-smart-search-group
{
	cursor: not-allowed;
	font-weight: bold;
}

.tx-smart-search-results li
{
	display: block;
	padding: 6px 20px;
	clear: both;
	font-weight: 400;
	line-height: 1.42857143;
	color: #333;
	white-space: nowrap;
	border-top: 1px dotted #ccc;
	cursor: pointer;
}

.tx-smart-search-results li.tx-smart-search-nested
{
	padding: 6px 20px 6px 36px;
}

.tx-smart-search-results li:first-child
{
	border-top: none;
}

.tx-smart-search-results li:hover
{
	background-color: #eee;
}

.modal-dialog .dropdown-menu
{
	top: 220px !important;
	left: 15px !important;
}

.tx-smart-search-option .fa
{
	margin-right: 4px; 
}

/******************************
*******************************
Ajax Search Control
*******************************
*******************************/

.tx-ajax-search-results
{
	overflow: auto;
	position: absolute;
	display: block;

	padding: 0 !important;
	margin: 2px 0 0 0 !important;
}

.tx-ajax-search-results tbody
{
	max-height: 200px;
	overflow-y: scroll;
	display: block;
}

.tx-ajax-search-results li
{
	display: block;
	padding: 6px 20px;
	clear: both;
	font-weight: 400;
	line-height: 1.42857143;
	color: #333;
	white-space: nowrap;
	border-top: 1px dotted #ccc;
	cursor: pointer;
}

.tx-ajax-search-results thead th
{
	border:1px solid #ddd; 
	padding: 4px;
}

.tx-ajax-search-results tbody td
{
	border:1px solid #ddd; 
	padding: 4px;
	cursor: pointer;
}

.tx-ajax-search-results tr:first-child
{
	border-top: none;
}

.tx-ajax-search-results tbody tr:hover
{
	background-color: #eee;
}

.tx-ajax-add-all
{
	cursor: pointer;
	text-align: center !important; 
}

/******************************
*******************************
Catalog Search Control
*******************************
*******************************/

.tx-xcatalog-search-input
{
	background-color: #fff !important;
}

.tx-xcatalog-search-results
{
	overflow: auto;
	position: absolute;
	display: block;

	padding: 0 !important;
	margin: 2px 0 0 0 !important;
}

.tx-xcatalog-search-results .dataTables_wrapper
{
	margin-top: 10px;
}

.tx-xcatalog-search-results .dataTables_filter
{
	display: none;
}

.tx-xcatalog-search input.disabled
{
	background-color: #eee !important;
}

/******************************
*******************************
Spinner Control
*******************************
*******************************/

.tx-spinner-input
{
	background-color: #fff !important;
	text-align: center;
}

/******************************
*******************************
POS Search
*******************************
*******************************/

.tx-pos-browser-search label
{
	display: none;
}

.tx-pos-browser-search .input-group
{
	margin: 0 20px;
}

.tx-pos-item-browser-item-list
{
	padding-left: 0;
	margin: 0 5px;
	font-size: 16px;
	list-style-type: none;

	min-height: 300px;
	max-height: 300px;
	overflow-y: scroll;

	background-color: #eee;
	border: 1px solid #ddd;
}

.tx-pos-item-browser-item
{
	cursor: pointer;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 16px;
	background-color: #fff;
}

.tx-pos-item-browser-item:hover
{
	background-color: #eee;
}

.tx-pos-item-browser-item .icon-right
{
	float: right;
	margin: 3px 3px 0 0; 
	font-weight: bold;
}

.tx-pos-item-browser-item .icon-left
{
	float: left;
	margin: 3px 10px 0 0; 
	font-weight: bold;
}

.tx-pos-item-browser-item-stock
{
	font-size: 12px;
	color: #aaa;
}

.tx-pos-item-browser-loading
{
	text-align: center;
	margin: 10px 0;
}

.tx-pos-checkout-item
{
	height: 40px;
}

.tx-pos-checkout-item-details
{
	font-weight: bold;
}

.tx-pos-checkout-item-details td
{
	padding-top: 10px !important;
}

.tx-pos-checkout-item-edit
{
	background-color: #ddd;
}

.tx-pos-checkout-quantity
{
	width: 80px;
}

.tx-pos-checkout-price, .tx-pos-checkout-discount
{
	width: 120px;
}

.tx-pos-checkout-edit-label
{
	font-size: 12px;
}

.tx-pos-checkout-item-r:hover
{
	background-color: #eee;
	cursor: pointer;
}

.tx-pos-checkout-payment-note
{
	font-size: 10px;
}

.tx-pos-checkout-item-delete
{
	float: right;
	margin-right: 4px;
}