@media print {
    .noprint {
        display: none;
    }
}

.custom-menu, .query-menu { 
    display: none;
    z-index: 1000;
    position: absolute;
    overflow: hidden;
    border: 1px solid #CCC;
    white-space: nowrap;
    font-family: sans-serif;
    background: #FFF;
    color: #333;
    border-radius: 5px;
    padding: 0;
}
/*
.custom-menu li {
    padding: 8px 12px;
    cursor: pointer;
    list-style-type: none;
    transition: all .3s ease;
    user-select: none;
}
.custom-menu li:hover {
    background-color: #DEF;
}
*/

.custom-menu tr, .query-menu tr {
    padding: 8px 12px;
    cursor: pointer;
    list-style-type: none;
    transition: all .3s ease;
    user-select: none;
}
.custom-menu tr:hover, .query-menu tr:hover {
    background-color: #DEF;
}

.queryHandler {
    color: blue;
}

.table-wrapper {
    height: 90%;
    overflow: auto;
}

.rowclickexec{
    cursor:pointer;
}

body {
	font-family: Arial;
    font-size: 14px;
}

p {
	margin: 0px;
}

input {
	width: 100%;
    font-family: inherit;
    font-size: inherit;
}
input[type='text'] {
	border-radius: 3px;
}
input[type='checkbox'] {
    margin: auto;
}
select {
    width: 100%;
    font-family: inherit;
    font-size: inherit;
}


.icgicon:hover {
	cursor: pointer;
}

.aligncenter {
	text-align: center;
}

.alignleft {
	text-align: left;
}

.alignright {
	text-align: right;
}

textarea {
    width: 100%;
    height: 5em;
    font-family: inherit;
    font-size: inherit;
}

#OrdersKitsTable textarea {
    height: 9em;
}

.rowclosed .fa-plus-square-o, .rowopen .fa-minus-square-o {
    display:block;
}

.rowopen .fa-plus-square-o, .rowclosed .fa-minus-square-o {
    display:none
}

/************* Fixed Table Headers ****************/
.fixed-headers {
    table-layout:fixed;
    height: 95%;
    overflow: auto;
}

.fixed-headers th, .fixed-headers td {
    width: 100px;
}

#orderBacklog .fixed-headers th, #orderBacklog .fixed-headers td {
    width: 110px;
}

#orderBacklog .kitpartcost, #orderBacklog .kitlbrcost, #orderBacklog .kitpkgcost, #orderBacklog .invrowdetailpos {
    display: none;
}
    
.fixed-headers thead tr {
    display: block;
    position: relative;
}

.fixed-headers tbody {
    display: block;
    overflow: auto;
    height: 75vh;
}

.rowwarn {
    background-color: rgba(255, 182, 182, 1);
}

/************* Tabs Styles *************/

#tabshead {
	margin-top: 5px;
	padding: 10px 0px 0px 10px;
}

#tabshead li {
	background: #7aa6c4;
	color: white;
	min-width: 5%;
	border-top: 1px solid white;
	border-right: 1px solid white;
	border-top-right-radius: 1em;
	border-top-left-radius: 1em;
	text-align: center;
	font-size: 12px;
	text-transform: uppercase;
	float: left;
	font-weight: bold;
	list-style: none;
    margin-left: 5px;
}

#tabshead li.group2 {
    background: #9279c5;
}

#tabshead li.group3 {
    background: #c57984;
}

#tabshead li.group4 {
    background: #a6c579;
}

#tabshead li a {
	color:white;
	text-decoration: none;
}

#tabshead li p {
    padding: 10px;
}

#tabshead li:hover, #tabshead .active, #tabshead li.group2.active, #tabshead li.group3.active, #tabshead li.group4.active {
	background: #17547f;
}

.tab-content .leftTable:first-child {
    padding-left: 0px;
}

.tab-content.active {
	display: block;
}

.tab-content.hide {
	display: none;
}

/************* General Table Styles *************/

table {
    border-collapse: collapse;
}
thead {
	padding: 5px;
	font-weight: 500;
}
thead tr {
	background-color: #edf3f7;
    border-bottom: 1px solid silver;
    border-top: 1px solid silver;
}

.subtable thead tr {
    background-color: #efefef;
}

.subtable tbody {
        background-color: #fefee0;
}

.subtable thead tr th:first-child, .subtable tbody tr td:first-child {
    background-color: white;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}


tbody {
	font-size: 13px;
}

tbody td, th {
	padding: 5px;
}

.subtable th, #Messages thead th {
    padding: 0px 5px;
}

caption, .heading {
	padding: 5px;
	margin: 5px 0px;
	background: #efefef;
	font-weight: bold;
	font-size: 15px;
	text-align: center;
}

.listtable {
	border-collapse: collapse;
	width: 100%;
}

.captionadd {
	font-weight: normal;
	font-size: 12px;
}

.captionadd:hover {
        cursor: pointer;
}

.rowhead {
	font-size: 13px;
	padding: 3px 5px;
}

.mintablehead {
    font-size: 14px;
}

.mintablehead tr {
    border-top: none;
    border-bottom: 3px double silver;  
    background: none;
}


.mintablehead2 {
    font-size: 14px;
}

.mintablehead2 tr {
    border-top: none;
    background: none;
}

.mintablehead2 th {
    padding: 0px;
}

#maincontent {
	border-top: 1px solid grey;
	clear: both;
	padding: 0 10px;
	height: 90%;
}

.button{
    background-color: #17547f;
    border-radius: .5em;
    color: white;
    padding: 5px 9px;
    font-size: 12px; 
    font-weight: bold;
}

.button:hover {
    background-color: #3d99db;
    cursor: pointer;
}

.hoverlink {
    cursor: pointer;
}

.hsubmenu {
    border-bottom: 1px solid silver;
}

.hsubmenuitem {
    display: inline-block;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.hsubmenuitem:hover {
    cursor: pointer;
}

.hsubmenuitem .fa {
    visibility: hidden;
    color: white;
}
.hsubmenuitem.hsubactive p {
    background-color:#ba1714;
}


.hsubmenuitem.hsubactive .fa {
    visibility: visible;
}

.submenucontent {
    display:none;
    margin-top: 10px;
}

.submenucontent.active {
    display: block;
}

.hsubmenuitem p {   
    text-align: center;
    background: #17547f;
    border-radius: .3em;
    color:white;
    padding: 7px 10px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}
#listscontent > div {
	width: 22%;
	margin: 10px 10px 0px 0px;
	border: 1px solid black;
	float:left;
	padding: 0 10px 0 10px;
	height: 95%;
	overflow: auto;
}
#shipTBIsTable tr.isTBI td:nth-child(n+3){
    background-color: #def3c3;
}

.dtrack {
	text-align: center;
}


.blockhead {
	font-weight: bold;
	font-size: 16px;
	background: #efefef;
	padding: 10px;
	text-align: center;
}

.inactive {
	color: red;
}

.vendor {
	border-bottom: 1px solid silver;
	padding: 5px;
}

.vendname, .custname {
	margin: 3px 0px;
	font-weight: bold;
	font-size: 15px;
	float: left;
}

.venddata {
	margin: 0px;
	padding-left: 15px;
	font-size: 13px;
	clear:both;
}

#vendlist .vendor:nth-child(odd) {
	background: #f1f6f9;
}

.tbihide {
    visibility: hidden;
}


.customer {
	padding: 2px 5px;
}

.custline {
	width:100%;
	border-top: 1px solid silver;
}

.custline .editdel {
	margin: 3px 0px;
}

.shipdata {
	padding-left: 15px;
	font-size: 13px;
	clear: both;
	margin: 0px 0px 5px 0px;
}

.shipname {
	font-weight: bold;
}

.editdel {
	float: right;
	font-size: 15px;
	font-weight: normal;
	color: blue;
}
.float-left {float:left;}
.third{width:33%;}
.fourth{width:25%;}

/* Modal Styles */
#modal-wrap {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.8);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10000;
    display: none;
}

#modal-content {
    display: block;
    margin: 40px auto;
    padding: 0;
    position: relative;
    text-align: center;
}

#modal-content, .simplemodal-data {
    display: block;
    height: 80%;
    left: 10%;
    padding: 0;
    position: absolute;
    text-align: center;
    top: 5%;
	width: 80%;
	border: 1px solid silver;
	border-radius: .5em;
	background: #ffffff;
}

#modal-close {
	position: absolute;
	top: 5px;
	right: 10px;
	border: 2px solid black;
	border-radius:50%;
	padding: 3px 5px;
}
#modal-close:hover {
	cursor: pointer;
}

#modalWarnings {
    float: left;
    height: 87%;
    text-align: left;
    width: 49%;
    padding-right: 10px;
    border-right: 1px solid silver;
    overflow: auto
}

#modalNotes {
    float: left;
    height: 87%;
    text-align: left;
    width: 49%;
    padding-left: 10px;
    overflow: auto;
}

#modalMessage {
    padding: 10px;
}

#modal-content-container {
    padding: 10px;
}

#modalWarningTable {
    width: 95%;
}

.modalWarningRow {
    border-bottom: 1px solid silver;
}

.addwarn:hover {
    cursor: pointer;
}

.notesHead {
    width: 100%;
    background-color: red;
    color: white;
    text-align: center;
    padding: 3px 0px;
    font-weight: bold;
    font-size: 12px;
}

.noteitem {
    font-weight: bold;
}

.notessubhead {
    font-style: italic;
    text-decoration: underline;
    padding-top: 10px;
}

.messagecontent {
    border-bottom: 1px solid silver;
    padding:5px 0px;
    font-size: 13px;
    line-height: 150%;
}

.bernnsButtonsOnBottom {
    position: fixed;
    bottom: 17%;
    right: 45%;
}

.bernnsButtonsOnBottom button {
    margin: 0px 5px;
}
.ttable{
    display: table;
}
.tcell {
    display: table-cell;
    padding-left: 5px;
}
.trow {
    display: table-row;
}
/* End Modal Style */


.hovPointer:hover {
    cursor: pointer;
    background-color: #ffff80;
}
.fleft{
    float:left;
    margin-left: 2px;
}

.fa {
	color: #17547f;
}

.fa-lock {
    font-size: 16px !important;
}

.fa-minus-circle {
	color: red;
}

.fa-exclamation-circle {
	color: green;
    font-size: 16px !important;
}

.fa-exclamation-triangle {
	color: red;
    font-size: 16px !important;
}

.button .fa-barcode {
    color: white;
}

.fa-barcode {
    font-size: 16px !important;
    color: black;
}

.fa-list-alt {
    font-size: 17px !important;
}

fa-arrow-circle-right {
    font-size: 20px !important;
}

.leftTable {
	padding: 0px 5px;
	float: left;
}

.rightTable {
	float: left;
	border-left: 1px solid #17547f;
	border-right: 1px solid #17547f;
	height: 100%;
	padding: 0px 10px;
}

/*  Tooltips */
/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    font-weight: normal;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #17547f;
    color: #fff;
    text-align: left;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 12px;
    padding: 5px;
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    top: 8px;
   	right: 15px;
    z-index: 1;
}

.toolleft {
    left: 15px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

.headertable {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid silver;
	font-weight: normal;
    background-color: #ffff80;
    margin-bottom: 5px;
}

.headertable td {
    padding: 5px 2px;
    vertical-align: top;
    font-size: 12px;
}


#aosubmit, #aocancel, #adcancel {
	vertical-align: bottom;
}

#aksubmit, #akcancel {
	vertical-align: top;
}

#aosubmit .fa, #aocancel .fa {
	font-size: 18px;
}

/************* Order Table Column Widths & Row Height*************/
.LineItemTable, .DelItems, .kitrev, .kituprev, #akitrev {
	height: 2.5em;
}

.datecol {
	width: 5em;
}

.smallpricecol {
	width: 2.5em;
}

.pricecol, idcol {
	width: 4.5em;
}

.price2col, idcol {
	width: 2.5em;
}

.dbidcol {
	width: 7em;  
}

.qtycol {
	width: 4em;  
}

.invcol {
    width: 3em;
}

.pocol, .partnocol, .idcol {
	width: 8em;
}

.scrollcol {
    width: 9px;
}

.vendcol {
    width: 7em;
}

.custcol {
	width: 6em;
}

.bldgcol {
    width: 5em;
}
.revcol {
    width: 2em;
}

.concol {
    width: 2em;
}

.iconcol {
    width: 1.0em;
    text-align: center;
    padding: 5px 0px;
}

.iconcol:hover {
    cursor: pointer;
}

.statuscol {
    width: 4em;
}

.desccol {
    width: 20em;
}

.itemdesccol {
    width: 12em;
}
.otSAName {
	width: 8em;
}

.taskdesccol {
    width: 40em;
}

.taskarea {
    width: 10em;
}
/* 

#orderTable td, #listorderrow th, #orderLinesTable td, #listorderLinesrow th, #kitTable td, #listkitrow th, #DelLineItems th, #DeliveriesTable td, #IncPOTable th, #IncPOTable td, #IncPOLineItemTable th, #IncPOLineItemTable td, .listtable td, .listtable th, #modalWarningTable td, #openInvoicesTable th {
	border-right: 1px solid silver;
}

#orderTable td:nth-last-child(-n+4), #orderLinesTable td:nth-last-child(-n+4), #listorderLinesrow th:nth-last-child(-n+4), #filterkitrow td, #kitTable td:nth-last-child(-n+3), #DelLineItems th:nth-last-child(-n+5), #DeliveriesTable td:nth-last-child(-n+5), #listkitrow th:nth-last-child(-n+3), #IncPOTable th:nth-last-child(-n+3), #IncPOTable td:nth-last-child(-n+3), #IncPOLineItemTable th:nth-last-child(-n+3), #IncPOLineItemTable td:nth-last-child(-n+3), .listtable td:last-child, .listtable th:last-child, #modalWarningTable td:last-child, #stuffToInvoice td:nth-last-child(-n+2),#shipmentsTable th:nth-last-child(-n+2), #todaysInvoicesTable th:nth-last-child(-n+3),#todaysInvoices td:nth-last-child(-n+3), #invoiceList td:nth-last-child(-n+2),#openInvoicesTable th:nth-last-child(-n+2), #consigninvhdr th:nth-last-child(-n+3), #consigninvbdy td:nth-last-child(-n+2)  {
	border-right: none;
}



*/

.listtable td {
    border-bottom: 1px solid #e6e6e6;
}

/************* Delivery Items Table*************/
.nodelstatus {
	visibility: hidden;
}

.delinvoiced .fa-truck {
	visibility: visible;
	color: #ff0000;
}
.delshipped .fa-truck {
	visibility: visible;
	color: #00c000;
}

.ShipThisPO .fa-truck {
    font-size: 20px;
    padding: 0px 5px;
}

#LineItemBal {
    padding: 0px 10px;
    color: white;
    font-weight: bold;
}

.greenbal {
    background-color: green;
}

.redbal {
    background-color: red;
}

.yellowbal {
    background-color: orange;
}

/************* Add Kit Table*************/
#addkitrow td, #filterkitrow td {
	text-align: center;
	font-weight: bold;
	font-size: 12px;
}

.addkitlink:hover, .addorderlink:hover, .addorderdellink:hover, .addpartrevlink:hover, .addpartlink:hover, .addpartnotelink:hover, .addrefdoclink:hover {
    cursor: pointer;
}

/************* Kits Table*************/

#kitTable td {
    vertical-align: top;
}

#listkitrow {
    background-color: #edf3f7;
}

#listkitrow th {
	border-bottom: 1px solid silver;
}

.taskcomp {
    background-color: #e8ffc1;
}

/************* Parts Tables*************/

#partsNoteTable td, #partsPrintTable td, #partsRevTable td, #refDocTable td, #POPOIs td {
    vertical-align: top;
}

#partsNoteTable td {
    border-bottom: 1px solid silver;
}

/************* Reference Doc Tables*************/

#nonpartrefDocTable td {
    vertical-align: top;
}

/************* To Do List Table*************/
#TaskItems td {
    vertical-align: top;
    font-size: 1.2em
}

#TaskItems td .fa {
    font-size: 17px;   
}

.liststab {
    border: 1px solid silver !important;
    border-radius: .25em;
    margin: 5px 5px 10px 5px !important;
    height: auto !important;
    width: auto !important;
    padding: 5px 15px !important;
    color: white;
    background-color: #17547f;
    
}

.selectedOrder, .selectedOrder td {
    background-color: #e6ffcc !important;
    font-weight: bold;
}

/*
#orderTable tr:not(.selectedOrder), #POPos tr:not(.selectedOrder) {
    opacity: .6;
}
*/

.liststab.listselected {
    background-color: #ba1714;
}

.liststab:hover {
    cursor: pointer;
}

#listcontainer {
    clear: both;
    float: none !important;
}

.helpnotes {
    max-width: 15%;
}

.helpnotes p {
    margin-bottom: 10px;
    font-size: 12px;
}

#reportResults > div {
    display: none;
}

#processingreport {
    display: none;
}

#reportResults tbody td, .fixed-headers th {
    padding: 10px;
    border-bottom: 1px solid silver;
}

.reportTitle {
    text-align: center;
    font-weight: bold;
    padding: 0 0 20px 0;
}

#reportMenu a {
    color: blue;
}

#reportMenu a:hover {
    cursor: pointer;
}

.reportnotes {
    font-size: 12px;
    text-align: center;
}
.reportnotes p {
    margin: 5px 0px;
}

.editableContentArea.normal img {
    max-width: 250px;
}

.editableContentArea.normal img:hover {
    cursor: zoom-in;
}

.editableContentArea.large img {
    max-width: none;
}

.editableContentArea.large img:hover {
    cursor: zoom-out;
}

.disablecolor td {
    color: red;
}

.noOpenDel td {
    color: red;
    background-color: lavenderblush;
}
.noOpenDel:hover td {
    background-color: #ffff80;
}

.lowstock {
    background-color:pink;
}

.helpdocbutton {
    float: right;
    padding: 5px 10px;
    background-color: red;
    color: white;
    font-weight: bold;
    border-radius: .5em;
    font-size: 12px;
    margin-top: 5px;
    margin-right: 5px;
}

.helpdocbutton a {
    color: white;
    text-decoration: none;
}

.invdetailrow .warning, .invdetailrow .docHandler, .invdetailrow .KitCust {
    display: none;
}

.invdetailrow td {
    vertical-align: top;
    font-size: 13px;
}

.invdetailrow tr:first-child {
    font-weight: bold;
    background-color: #f2f2f2;
    text-align: center;
}

.invdetailrow table {
    width: 99%;
    float: right;
    border: 1px solid silver;

}

.ptbutton {
    padding: 7px 10px;
    margin: 5px;
    border: 1px solid #7aa6c4;
    color: white;
    background-color: #7aa6c4;
    float:left;
    border-radius: .3em;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
	cursor: pointer;
}

.ptbutton:hover {
    background-color: #17547f;
	
}

.ptTypes {
    display: inline-block;
    margin-right: 2em;

}

.ptTypes input {
    text-align: left;
    width: auto;
}

.ptTypes div {
    border: 1px solid silver;
    margin  5px 15px 5px 0px;
    display: inline-block;
    padding: 5px;
}

.ptTypes img {
        max-height: 25px;
}

#partMaterialListTable input[type="checkbox"] {
    width: auto;
}

#OrdersKitsTable tr {
    vertical-align: top;
}

#OrdersKitsTable table td {
    border-bottom: none;
    padding: 0px 5px 5px 5px;
}

.tablesubfields {
    padding: 0px;
}

.tablesubfields table {
    width: 100%;
}

.tablesubfields .subfieldheadings {
    white-space: nowrap;
}

.tablesubfields td {
    vertical-align: top;
}

.messagebox {
    border: 1px solid silver;
    padding: 10px;
    display: block;
    background-color: aliceblue;
}

.messagescontent {
    display: inline-block;
    background-color: white;
    width: 90%;
    border: 1px solid silver;
}

.messagecontrols {
    float: right;
    width: 8%;
    text-align: center;
}

.messageson {
    height: 40%;
    transition: slow;
}

.messagesoff {
    height: 10%;
    transition: slow;
}

.fa-toggle-on {
    color: green;
}

.fa-toggle-off {
    color: silver;
}

.dellinewarn {
    background-color: yellow;
}

.smallbutton {
    margin-left: 1em;
    padding: 0px 5px;
    background-color: #ba1714;
    color: white;
    border: 1px solid #ba1714;
    border-radius: .25em;
    font-weight: bold;
}

.tbimessagetable tr:first-child td {
    padding-top: 0px;
}

.ptitemtable td {
    padding: 5px 2px;
}

#listCreations tr.solditem {
    display: none;
    background-color: lightpink;
}

.clickitems p {
    padding: 5px;
    color: white;
    background-color: #7aa6c4;
}

.clickitems p:hover {
    cursor: pointer;
    background-color: #17547f;
}

.ordercomplete {
    background-color: lemonchiffon;
    display: none;
}

.redtruck {
    color: red;
}

.greentruck {
    color: green;
}

.yellowtruck {
    color: yellow;
}

.ounpaid, .selectedOrder .ounpaid {
    background-color: #c57984 !important;
}
.opartpaid, .selectedOrder .opartpaid {
    background-color: yellow !important;
}
.opaid, .selectedOrder .opaid {
    background-color: #a6c579 !important;
}