#ngg_page_content table {
    width: 100%;
}

#ngg_page_content table td,
#ngg_page_content table th {
    text-align: left;
    word-wrap: break-word;
}

#ngg_page_content select,
#ngg_page_content input[type=checkbox] {
    font-size: inherit;
}

#ngg_page_content .label_column {
	height: 27px;
}

#ngg_page_content .sort_column {
    width: 1em;
}

#ngg_page_content table input[type=text],
#ngg_page_content table input[type=number] {
    width: 100%;
    max-width: 150px;
    min-width: 60px;
}

#ngg_page_content table input[type=text][readonly],
#ngg_page_content table input[type=text][readonly]:focus {
	border: none !important;
	background: transparent !important;
	box-shadow: none;
}

#ngg_page_content table .title_field {
    max-width: none !important;
}

#no_pricelist_items {
	display:none;
}

#ngg_page_content table input.shipping_rate {
	width: 60px;
}

#ngg_page_content .delete_item {
    cursor: pointer;
}

#ngg_page_content .title_empty {
    border: solid 1px red;
}

/* Styling for pricelist categories */
.pricelist_category_collection .title_column {
    width: 200px;
}

.pricelist_category_collection .price_column {
    width: 153px;
}

/* Styling for digital downloads category/source */
#ngg_digital_downloads_content {
    width: auto !important;
}

#digital_downloads_licensing_page {
	width: 315px;
}

#digital_downloads .resolution_column {
    white-space: nowrap;
    overflow: visible;
    word-break: keep-all;
    word-wrap: normal;
}

#manual_pricelist .title_column,
#digital_downloads .title_column {
    width: 300px;
}

#manual_pricelist .price_column {
    width: 153px;
}

#digital_downloads .title_column {
    width: 200px;
}

#digital_downloads .price_column {
    width: 150px;
}

#digital_downloads .resolution_column {
    width: 80px;
}

#digital_downloads .resolution_column input {
    max-width: 60px !important;
    width: 100%;
}

/* Styling for print catalog source */
#print_catalog_dialog {
/*	top: 10%;*/
/*	left: 25%;*/
/*	width: 50%;*/
/*	height: 80%;*/
/*	z-index: 20000;*/
}
.catalog-dialog {
	height: 100%;
}
.catalog-dialog .catalog-wrap {
	height: 100%;
/*	border: solid 2px #bbb;*/
/*	background: white;*/
}
.catalog-dialog .catalog-container {
/*	padding: 40px 40px 25px 40px;*/
}
.catalog-dialog .catalog-header {
}
.catalog-dialog .catalog-header:after {
  content: "";
  display: table;
  clear: both;
}
.catalog-dialog .catalog-header .header-title {
	display: inline-block;
	float: left;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 12pt;
	margin: 0;
}
.catalog-dialog .catalog-header .header-buttons {
	display: inline-block;
	float: right;
}
.catalog-dialog .catalog-header .header-buttons a.button {
	margin-right: 1em;
}
.catalog-dialog .catalog-header .header-buttons a.button:last {
	margin-right: 0;
}
.catalog-dialog .catalog-container:after {
  content: "";
  display: table;
  clear: both;
}
.catalog-dialog .catalog-categories {
	background: transparent;
	border: none;
	margin: 0.8em 0 0 0;
	margin: 0;
	list-style: outside none none;
}
.catalog-dialog .catalog-categories:after {
  content: "";
  display: table;
  clear: both;
}
.catalog-dialog .catalog-categories li {
	float: left;
	margin: 0 0.3em 0 0;
	display: inline-block;
	vertical-align: center;
	border-bottom: solid 3px transparent;
	font-weight: normal;
	-webkit-transition-property: border-bottom-color, font-weight;
	transition-property: border-bottom-color, font-weight;
}
.catalog-dialog .catalog-categories li a {
	text-decoration: none;
	display: block;
	padding: 1.1em;
	outline: none !important;
	color: inherit !important;
}
.catalog-dialog .catalog-categories li.selected {
	border-bottom-color: #669933;
	font-weight: bold;
}
.catalog-dialog .catalog-categories li.selected a {
	padding: 1em;
}
.catalog-dialog .catalog-panel-container {
	overflow: auto;
	margin-top: 1.1em;
	margin-bottom: 0.8em;
}
.catalog-dialog table.items-table {
	width: 100%;
	margin-top: 0.3em;
}
.catalog-dialog table.items-table tr.item-content {
	cursor: pointer;
}
.catalog-dialog table.items-table td,
.catalog-dialog table.items-table th {
	text-align: left;
	padding-bottom: 0.4em;
}
.catalog-dialog table.items-table th {
	text-transform: uppercase;
	padding-bottom: 0.6em;
}
.catalog-dialog table.items-table td.item-label,
.catalog-dialog table.items-table th.item-label {
	width: 55%;
}

.catalog-dialog table.items-table td.item-added,
.catalog-dialog table.items-table th.item-added {
    text-align: right;
    padding-right: 3em;
}
.catalog-dialog table.items-table .item-added input[type="checkbox"] {
    display: none;
}
.catalog-dialog table.items-table .item-added input[type="checkbox"] + label {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #ccc;
    border-radius: 25%;
    cursor: pointer;
    display: inline-block;
    font-size: 10px;
    height: 13px;
    width: 13px;
    line-height: 12px;
    margin-bottom: 2px;
    padding-left: 0;
    text-align: center;
    vertical-align: middle;
}
.catalog-dialog table.items-table .item-added input[type="checkbox"] + label .fa {
    color: #fff;
    display: none;
    line-height: inherit;
}
.catalog-dialog table.items-table .item-added input[type="checkbox"]:checked + label {
    background-color: #5f5f5f;
    border: 1px solid transparent;
}
.catalog-dialog table.items-table .item-added input[type="checkbox"]:checked + label .fa {
    display: block;
}
.catalog-dialog table.items-table th.item-added input[type="checkbox"] + label {
    margin-left: 0.4em;
}
.catalog-dialog table.items-table th.item-added input[type="checkbox"] + label .fa {
}
.catalog-dialog table.items-table .item-default .item-added input[type="checkbox"]:checked + label {
}

/** Add Product modal */
#new_product_wrapper {
    height: 225px;
    display: flex;
    flex-direction: column;
    margin: 28px 15px 15px 15px;
    box-sizing: border-box;
}

#new_product_source_list {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex: 100 25 auto;
    margin-top: -32px;
}

#new_product_source_list ul {
    margin: auto;
}

#new_product_source_list li {
    margin: 0;
    padding: 16px;
}

#new_product_source_list li:hover {
    background-color: #ececec;
    cursor: pointer;
}

#ngg_page_content .delete_item {
    cursor: pointer;
}

.new_product_source_title {
    display: block;
    font-size: 1.4em;
}

#new_product_source_form {
    flex: 100 25 auto;
}

#new_product_buttons_wrapper {
    text-align: right;
    height: 32px;
}

#new_product_button_add {
    display: none;
}

.new_pricelist_product_row {
    margin-bottom: 20px;
}

.new_pricelist_product_row span {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: bold;
}

.new_pricelist_product_row input {
    font-size: 18px;
    color: #555;
    border: 1px solid #DDD;
    padding: 10px;
}

.new_pricelist_product_row select {
    margin: 1px;
    padding: 10px;
    height: 46px;
    line-height: 46px;
    font-size: 18px;
    color: #555;
    border: 1px solid #DDD;
}

.new_pricelist_product_row input[type=text],
.new_pricelist_product_row input[type=number],
.new_pricelist_product_row select {
    width: 100%;
    height: auto;
}

#ngg_page_content .title_empty {
    border: solid 1px red;
}

.ngg_manage_pricelist tfoot {
    background-color: transparent !important;
}

/* Manage Orders Page */

@media (max-width: 1110px) {
    .post-type-ngg_order #ngg_page_content tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column),
    .post-type-ngg_order #ngg_page_content .wp-list-table th.column-primary~th {
        padding: 10px;
        display: table-cell;
    }
    .post-type-ngg_order #ngg_page_content .check-column,
    .post-type-ngg_order #ngg_page_content .column-order_gateway,
    .post-type-ngg_order #ngg_page_content .column-order_hash,
    .post-type-ngg_order #ngg_page_content .column-order_coupon,
    .post-type-ngg_order #ngg_page_content .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before {
        display:none !important;
    }
    .post-type-ngg_order #ngg_page_content .wp-list-table thead th.column-primary {
        width: auto;
    }

}

@media (max-width: 424px) {
    .ngg-admin.post-type-ngg_order #ngg_page_content .column-order_status {
        display:none !important;
    }
}

.ngg-lab-order-error .lab-order-status,
.ngg-lab-order-error .ngg-order-status {
    cursor: help;
}

.order_status .resubmit-lab-order,
.lab-order-status-icon {
    display: none !important;
}

.order_status.ngg-lab-order-error .lab-order-status-icon,
.order_status.ngg-lab-order-error .lab-order-status-label {
    display: inline-block !important;
    color: #dd6699;
}

.order_status.ngg-lab-order-awaiting-confirmation .lab-order-status-icon {
    display: inline-block !important;
    color: #dd6699;
}

.order_status.ngg-lab-order-error .resubmit-lab-order {
    display: block !important;
}