/* worksheet tables */
table.worksheet{border-collapse:separate; background-color: white; margin-bottom: 20px;} /* table-layout: fixed;} */

table.worksheet thead th, table.worksheet tfoot th, table.worksheet td.th{border-bottom:1px solid #ddd; border-right:1px solid #eee; padding:7px 7px 5px; text-align:left;}
table.worksheet thead th:last-child, table.worksheet tfoot th:last-child, table.worksheet td.th:last-child{border-right:0px solid #eee;}
table.worksheet tfoot th{border-top:1px solid #ddd; border-bottom:0px solid #eee;}
.no-first-column-headers table.worksheet thead th.column-1,
.no-first-column-headers table.worksheet tfoot th.column-1{border-top:0px solid white; border-bottom:0px solid white;}

table.worksheet td.th{padding-top:20px !important; font-weight:bold; border-color:#aaa; border-right:0px solid white; background-color:white !important;}

table.worksheet tr.white-background td, table.worksheet tr td.white-background{background-color:white !important;}
table.worksheet tr.no-borders td, table.worksheet tr td.no-borders{border-color:white !important;}




table.worksheet tbody{border:5px solid white;}
table.worksheet tbody td{border-right:1px solid #dfdfdf; -webkit-transition:background 300ms; border-bottom:1px solid #dfdfdf; background-color: white; color:#222; padding:7px 7px 5px; width:120px; min-width:120px;}
table.worksheet tbody td:last-child{border-right:0px solid white;}
table.worksheet tbody tr:nth-child(odd) td{background-color: #fafafa;}
table.worksheet tbody tr:first-child td{border-top:5px solid white !important;}
table.worksheet tbody tr:last-child td{border-bottom:5px solid white !important;}

table.worksheet thead th.red-column, table.worksheet td.th.red-column{border-bottom:2px solid red;}
table.worksheet tfoot th.red-column{border-top:2px solid red;}
table.worksheet tbody td.red-column{background-color:#FFECEC; border-color: #e4bcbc !important;}
table.worksheet tbody tr:nth-child(odd) td.red-column{background-color:#FFE8E8;}

table.worksheet thead th.dark-red-column, table.worksheet td.th.dark-red-column{border-bottom:2px solid #ad0000;}
table.worksheet tfoot th.dark-red-column{border-top:2px solid #ad0000;}
table.worksheet tbody td.dark-red-column{background-color: #fae1e1;border-color: #debebe !important;}
table.worksheet tbody tr:nth-child(odd) td.dark-red-column{background-color: #f7dede;}

table.worksheet thead th.darker-red-column, table.worksheet td.th.darker-red-column{border-bottom:2px solid #900000;}
table.worksheet tfoot th.darker-red-column{border-top:2px solid #900000;}
table.worksheet tbody td.darker-red-column{background-color: #F3CDCD; color: #222; border-color: #CEB2B2;}
table.worksheet tbody tr:nth-child(odd) td.darker-red-column{background-color: #EBC1C1;}

table.worksheet thead th.darkest-red-column, table.worksheet td.th.darkest-red-column{border-bottom:2px solid #800000;}
table.worksheet tfoot th.darkest-red-column{border-top:2px solid #800000;}
table.worksheet tbody td.darkest-red-column{background-color: #F1C2C2; color: #222; border-color: #CF9F9F;}
table.worksheet tbody tr:nth-child(odd) td.darkest-red-column{background-color: #EBBBBB;}

table.worksheet thead th.blue-column, table.worksheet td.th.blue-column{border-bottom:2px solid #4370c4;}
table.worksheet tfoot th.blue-column{border-top:2px solid #4370c4;}
table.worksheet tbody td.blue-column{background-color:#F2F2FF; border-color:#cfcfde;}
table.worksheet tbody tr:nth-child(odd) td.blue-column{background-color:#EDEDFF;}
/*
table.worksheet thead th.dark-blue-column{border-bottom:2px solid #35589a;}
table.worksheet tfoot th.dark-blue-column{border-top:2px solid #35589a;}
table.worksheet tbody td.dark-blue-column{background-color: #e8e9ff;}
table.worksheet tbody tr:nth-child(odd) td.dark-blue-column{background-color: #e3e4fa;}*/

table.worksheet thead th.dark-blue-column, table.worksheet td.th.dark-blue-column{border-bottom:2px solid #4370c4;}
table.worksheet tfoot th.dark-blue-column{border-top:2px solid #4370c4;}
table.worksheet tbody td.dark-blue-column{background-color:#e8e8f5; border-color: #c9c9dc;}
table.worksheet tbody tr:nth-child(odd) td.dark-blue-column{background-color:#e1e1f3;}

table.worksheet thead th.dark-grey-column, table.worksheet td.th.dark-grey-column{border-bottom:2px solid #555;}
table.worksheet tfoot th.dark-grey-column{border-top:2px solid #555;}
table.worksheet tbody td.dark-grey-column{background-color:#777; color:white;}
table.worksheet tbody tr:nth-child(odd) td.dark-grey-column{background-color:#707070;}

table.worksheet thead th.grey-column{border-bottom:2px solid #777;}
table.worksheet tfoot th.grey-column{border-top:2px solid #777;}
table.worksheet tbody td.grey-column{background-color:#bbb; color:#222;}
table.worksheet tbody tr:nth-child(odd) td.grey-column{background-color:#acacac;}

table.worksheet thead th.green-column, table.worksheet td.th.green-column{border-bottom:2px solid #30874b;}
table.worksheet tfoot th.green-column{border-top:2px solid #30874b;}
table.worksheet tbody td.green-column{background-color: #dafcdd; border-color:#caeccd;}
table.worksheet tbody tr:nth-child(odd) td.green-column{background-color:#e2fce5;}
table.worksheet tbody tr.subtotal td.green-column{background-color: #d8f1cd; border-right: 1px solid #C6E7B7;}

table.worksheet thead th.dark-green-column, table.worksheet td.th.dark-green-column{border-bottom:2px solid #30874b;}
table.worksheet tfoot th.dark-green-column{border-top:2px solid #30874b;}
table.worksheet tbody td.dark-green-column{background-color: #d7f7db; border-color:#c3e2c6;}
table.worksheet tbody tr:nth-child(odd) td.dark-green-column{background-color:#daf7dd;}
table.worksheet tbody tr.subtotal td.dark-green-column{background-color: #d8f1cd; border-right: 1px solid #C6E7B7;}

table.worksheet thead th.light-green-column, table.worksheet td.th.light-green-column{border-bottom:2px solid #70c780;}
table.worksheet tfoot th.light-green-column{border-top:2px solid #70c780;}
table.worksheet tbody td.light-green-column{background-color:#F1FCEF;}
table.worksheet tbody tr:nth-child(odd) td.light-green-column{background-color:#E9FBE6;}
table.worksheet tbody tr.subtotal td.light-green-column{background-color: #d8f1cd; border-right: 1px solid #C6E7B7;}

table.worksheet thead th.orange-column, table.worksheet td.th.orange-column{border-bottom:2px solid #d96e21;}
table.worksheet tfoot th.orange-column{border-top:2px solid #d96e21;}
table.worksheet tbody td.orange-column{background-color: #fff3e1;  border-color: #e6c3a3;}
table.worksheet tbody tr:nth-child(odd) td.orange-column{background-color: #fbefdd;}

table.worksheet thead th.brown-column, table.worksheet td.th.brown-column{border-bottom:2px solid #7c431c;}
table.worksheet tfoot th.brown-column{border-top:2px solid #7c431c;}
table.worksheet tbody td.brown-column{background-color: #F3E7D1;}
table.worksheet tbody tr:nth-child(odd) td.brown-column{background-color: #F3E2C5;}


table.worksheet thead th.yellow-column, table.worksheet td.th.yellow-column{border-bottom:2px solid #e0d7aa;}
table.worksheet tfoot th.yellow-column{border-top:2px solid #e0d7aa;}
table.worksheet tbody td.yellow-column{background-color:#fff9dc; border-color:#e2dcbe;}
table.worksheet tbody tr:nth-child(odd) td.yellow-column{background-color:#fdf6d5;}

table.worksheet thead th.dark-yellow-column, table.worksheet td.th.dark-yellow-column{border-bottom:2px solid #e0d7aa;}
table.worksheet tfoot th.dark-yellow-column{border-top:2px solid #e0d7aa;}
table.worksheet tbody td.dark-yellow-column{background-color:#f7efc7; border-color:#dcd6b7;}
table.worksheet tbody tr:nth-child(odd) td.dark-yellow-column{background-color:#f7efcc;}


table.worksheet tr.subheader td, table.worksheet tr.subheader th{background-color:white !important; font-size:16px; font-weight:bold; padding-top:25px; border-right:0px solid white; border-bottom: 1px solid #A8A8A8;}
table.worksheet tr.subheader.long td, table.worksheet tr.subheader.long th{width:500px; min-width:500px !important;}
table.worksheet tbody>tr.subheader:nth-child(odd)>td.column-1,
table.worksheet tbody>tr.subheader:nth-child(even)>td.column-1{background-color:white !important; border-right:0px solid white !important;}table.worksheet tr.subtotal td, table.worksheet tr.subtotal th{background-color:#EAEFF7 !important; font-weight:bold; padding-bottom:5px; border-top:1px solid #bbb; border-right:0px solid white; border-bottom:0px solid white;}
table.worksheet tr.subtotal td.column-1, table.worksheet tr.subtotal th.column-1{background-color:white;}

table.worksheet tr.grandtotal, table.worksheet tr.grandtotal,
table.worksheet tr.grand-total, table.worksheet tr.grand-total{border-top:10px solid white;}
table.worksheet tr.grandtotal td, table.worksheet tr.grandtotal th,
table.worksheet tr.grand-total td, table.worksheet tr.grand-total th{
    background-color: #99c5f1 !important;
    font-weight: bold;
    border-top: 20px solid white !important;
    color: #001a2b;
    border-right: 1px solid white !important;
    border-bottom: 1px solid #7badde;
}
table.worksheet tr.grandtotal td span, table.worksheet tr.grandtotal th span,
table.worksheet tr.grand-total td span, table.worksheet tr.grand-total th span{color:#444;}
table.worksheet.hover-highlight tbody tr.grandtotal:hover>td,
table.worksheet.hover-highlight tbody tr.grand-total:hover>td{background-color: #7DA0C0 !important; color: black;}
table.worksheet.hover-highlight tbody tr.grandtotal:hover>td:hover,
table.worksheet.hover-highlight tbody tr.grand-total:hover>td:hover{background-color: #6e8ca9 !important;}

table.worksheet tr.after-grandtotal, table.worksheet tr.after-grandtotal,
table.worksheet tr.after-grand-total, table.worksheet tr.after-grand-total{border-top:10px solid white;}
table.worksheet tr.after-grandtotal td, table.worksheet tr.after-grandtotal th,
table.worksheet tr.after-grand-total td, table.worksheet tr.after-grand-total th{background-color:#C8DBE9 !important; color:#001C36; border-color:white;}
table.worksheet tr.after-grandtotal td span, table.worksheet tr.after-grandtotal th span,
table.worksheet tr.after-grand-total td span, table.worksheet tr.after-grand-total th span{color:#444;}
table.worksheet.hover-highlight tbody tr.after-grandtotal:hover>td,
table.worksheet.hover-highlight tbody tr.after-grand-total:hover>td{background-color:#93B3D1 !important;}
table.worksheet.hover-highlight tbody tr.after-grandtotal:hover>td:hover,
table.worksheet.hover-highlight tbody tr.after-grand-total:hover>td:hover{background-color: #85a2bd !important;}

table.worksheet td.calculated{background-image:url(../icons/calcbg.png);}

table.worksheet.hover-highlight tbody tr:hover>td{background-color: #fff9dc !important; color: #000;}
table.worksheet.hover-highlight tbody tr:hover>td:hover{background-color: #fff8ba !important;}
table.worksheet.hover-highlight tbody tr.no-hover-highlight:hover>td{background-color: white !important; color: #222;}
table.worksheet.hover-highlight tbody tr.subheader:hover>td{background-color: white !important;}
table.worksheet.hover-highlight tbody tr.subtotal:hover>td.column-1{background-color: white !important;}

table.worksheet tbody tr.selected td{background-color: #ffff81 !important; border-color: #ebeb00; color: #000;}
table.worksheet.hover-highlight tbody tr.selected:hover>td{background-color: #F7ff3f !important; color: #000;}
table.worksheet.hover-highlight tbody tr.selected:hover>td:hover{background-color: #f7f700 !important;}


.worksheet.hover-highlight tr:hover>td.alert,
.worksheet.hover-highlight tr:hover>td.alert:hover,
.worksheet.hover-highlight tr:hover>td.alert *{background-color:#ff9090 !important;}

table.worksheet .column-1 a.action{display:block; width:16px; height:16px; float:right; background:url(../icons/report.png); opacity:0.8; margin-left:4px;}
table.worksheet .column-1 a.action.usercard{background:url(../icons/vcard.png);}
table.worksheet .column-1 a.action:hover{opacity:1;}

.table-wrapper table.std-table tbody tr td.updated{-webkit-transition:background 4s; background-color: #DFF5DA !important; border-color: #A5EBA5;}

table.worksheet.hover-highlight th.column-highlight {background-color: #fff9dc !important;}
table.worksheet th.column-highlight {background-color: #F2F7FC !important;}

.worksheet td.align-right{text-align:right; float:none;}
.worksheet.align-right{float:none;}
.worksheet.align-right td:not(.column-1){text-align:right;}

table.worksheet tr td.red-cell{color: #980000 !important; background-color: #ffb1ac !important;}
table.worksheet tr td.red-cell *{color: #980000 !important;}
table.worksheet tr td.red-content, table.worksheet tr td.red-content *{color:#980000 !important;}
table.worksheet.hover-highlight tbody tr:hover>td.red-cell{background-color: #eca49f !important;}
table.worksheet.hover-highlight tbody tr:hover>td.red-cell:hover{background-color: #e09c97 !important;}

table.worksheet tr td.green-cell{color: #005f00 !important; background-color: #a2d6a4 !important;}
table.worksheet tr td.green-cell *{color: #005f00 !important;}
table.worksheet tr td.green-content, table.worksheet tr td.green-content *{color:#005f00 !important;}
table.worksheet.hover-highlight tbody tr:hover>td.green-cell{background-color: #9dcf9f !important;}
table.worksheet.hover-highlight tbody tr:hover>td.green-cell:hover{background-color: #8ebc90 !important;}

/* blue theme tables */
table.blue-theme{border-top:1px solid #e5eff8; border-right:1px solid #e5eff8; margin:1em 0; border-collapse:collapse; table-layout:fixed; }
table.blue-theme tr:nth-child(odd) td{ background-color:#f7fbff }
table.blue-theme tr:nth-child(odd) .column-1{ background-color:#f4f9fe; }
table.blue-theme .column-1{ background-color:#f9fcfe; }
table.blue-theme td{ color:#678197; border-bottom:1px solid #e5eff8; border-left:1px solid #e5eff8; padding:3px 7px; text-align:center; }
table.blue-theme th{ font-weight:normal; color: #678197; text-align:left; border-bottom: 1px solid #e5eff8; border-left:1px solid #e5eff8; padding:3px 7px; }
table.blue-theme thead th, table.blue-theme tfoot th{ background-color:#f4f9fe; text-align:center; font:bold 1.2em/2em "Century Gothic","Trebuchet MS",Arial,Helvetica,sans-serif; color:#66a3d3 }
table.blue-theme tfoot th strong{ font:bold 1.2em "Century Gothic","Trebuchet MS",Arial,Helvetica,sans-serif; margin:.5em .5em .5em 0; color:#66a3d3; }
table.blue-theme tfoot th em{ color:#f03b58; font-weight: bold; font-size: 1.1em; font-style: normal; }

table.blue-theme.hover-highlight tbody tr:hover>td{background-color: #fff9dc; color: #3b4a57;}

table td.calculated{background-image:url(../images/calcbg.png); background-repeat: repeat;}

/* Automatic sizing columns */
table.worksheet.auto-size tbody td, .auto-size table.worksheet tbody td, table.worksheet tbody td.auto-size{white-space:nowrap; min-width:20px; width:auto !important;}

/* fixed column */
.table-wrapper{position:relative;}
.table-wrapper.fixed-column{} /* margin: width of first column */
.table-wrapper.fixed-column .table-inner-wrapper{overflow-x:scroll; overflow-y:visible; margin-left:150px;}
.table-wrapper.fixed-column table{border-collapse:separate;}
.table-wrapper.fixed-column .column-1{position:absolute !important; left:0; top:auto; width:150px; -webkit-box-sizing: border-box;}

.table-wrapper.fixed-column table.blue-theme .column-1{ border-right:1px solid #e5eff8;}
.table-wrapper.fixed-column table.blue-theme thead th.column-1{margin-top:-1px; border-top:1px solid #e5eff8; border-right:1px solid #e5eff8;}

.table-wrapper.fixed-column table.worksheet thead th.column-1{margin-top:1px; border-right:1px solid #dfdfdf; background-color:white;}

/* Lighter font colour for empty cells */
.worksheet td.empty {color: #BBB; white-space: normal;}
.worksheet td.empty .prefix, .worksheet td.empty .suffix {color: #BBB;}

/* Cancelled records */
.worksheet tr.cancelled > td{opacity: 0.5; text-decoration: line-through;}

/* debug */
.table-wrapper.fixed-column table.blue-theme td{width:150px; min-width:150px;}

/* worksheets */
.worksheet td.editing{padding:0 0 0 0; position:relative;}
.worksheet td.editing .select2-container, .worksheet td.editing .worksheet-form, #worksheet_form_input_chzn{border-top:1px solid #004059;
    min-height: 28px; border-left:1px solid #004059; border-right:1px solid #3f708f; border-bottom:1px solid #3f708f; background-color: #e7effc; position:absolute; top:0px; left:0px; right:0px; bottom:0px; outline:none; z-index:1; padding:0 0 0 4px; line-height:99%;}
.worksheet td.editing .worksheet-form::-webkit-input-placeholder{padding-top:3px;}
.worksheet td.editing select.worksheet-form option.placeholder{color:#777;}
.worksheet td.editing.error{}
.worksheet td.editing.error .worksheet-form{border-color:red; color:red;}
.is-electron .worksheet td.editing .worksheet-form {width: 100%;}

.worksheet td{background-position:97% center; background-repeat:no-repeat;}
.worksheet td.error {background-color: #FFC5C5 !important; border-color: #FF9090 !important; color: #4E0000 !important;}
.worksheet td.updated-tick, .worksheet td.updated{background-image:url(../icons/tick.png) !important; background-position:97% center; background-repeat:no-repeat; -webkit-transition:background 10ms !important;}
.worksheet td.busy{background-image:url(../icons/throbber-active.gif) !important; background-position:97% center !important; background-repeat:no-repeat !important; -webkit-transition:background 10ms !important;}

.worksheet td.updated-tick.align-right,
.worksheet.align-right td.updated-tick,
.worksheet td.updated.align-right,
.worksheet.align-right td.updated,
.worksheet td.busy.align-right,
.worksheet.align-right td.busy{background-position:3px center !important;}

.worksheet td.editing textarea {resize: none; height: 100%; max-height: 100%; min-height: 100%; padding: 7px 7px 5px !important; font-size: inherit; line-height: inherit !important;}
.worksheet td.editing.editable-textarea::after {content: "Alt+Enter for new line"; display: block; position: absolute; left: 8px; z-index: 10000; right: 0; background-color: rgba(0, 0, 0, 0.5); bottom: -19px; padding: 2px 5px; color: white; font-size: 11px;}

#worksheet_form_input_chzn.chzn-container-single .chzn-single {
    background: transparent !important;
    border: 0px solid white !important;
    line-height: 30px;
}
.worksheet tr.bulk-selected td {
    background-color: #ffffa8 !important;
    border-color: #e2e28a !important;
}

/* Table: fixed scrollbar */
#table-fixed-scrollbar{position:fixed; bottom:20px; left:0; right:17px; width:auto; height:20px; overflow:hidden; overflow-x:scroll; z-index: 10;}
#table-fixed-scrollbar span{display:block; height:1px; width:auto;}

.has-fixed-scrollbar .table-inner-wrapper,
.mimic-fixed-scrollbar .table-inner-wrapper{overflow-x:hidden !important;}

.modal-content-wrapper.has-table-fixed-scrollbar{overflow-y: scroll; margin-right: -10px; padding-right: 10px;}
.modal-window #table-fixed-scrollbar{position:absolute; left:0; right:0; bottom:39px;}


/* Table: floating headers */
.has-floating-headers.floating-headers-active .floating-headers{position:fixed; top:20px; left:auto; background-color:white; z-index: 10;}
.has-floating-headers .floating-headers{display:none;}


table.display-floating-headers thead tr{display:none;}
table.display-floating-headers thead tr:last-child{display:table-row;}
table.display-floating-headers thead tr:last-child th{position: relative; background-color: white; -webkit-transition:100ms top;}

/* Table: panel */
#table-panel-container{position:absolute; z-index: 11;}
#table-panel{background-color:#fafafa; z-index:3; border:1px solid #aaa; padding:10px; border-radius:5px; position:relative; min-width:200px; width:200px; box-shadow:3px 5px 3px #888;}
#table-panel .table-panel-close{position:absolute; top:2px; right:2px; width:12px; height:12px; text-align:center; vertical-align:middle; border:1px solid #fafafa; color:#999; radius:3px;}
#table-panel .table-panel-close:hover{border:1px solid #e4e4e4; background-color:#f9f9f9; color:#555; text-decoration:none;}
#table-panel .arr1{position:absolute; top:-5px; left:20px; z-index:5; width:0; height:0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #fafafa;}
#table-panel .arr2{position:absolute; top:-6px; left:20px; z-index:4; width:0; height:0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #aaa;}
#table-panel h2{margin:0 0 0 0; font-size:14px; padding:2px 0 10px 0;}

#table-panel a.button{float:right;}
#table-panel-message, #table-panel-error{display:none;}

#table-panel input[type=text],
#table-panel select{border:1px solid #ccc !important; padding:1px 3px 2px 3px !important; max-width:180px;}
#table-panel textarea{border:1px solid #ccc !important; padding:1px 3px 2px 3px !important; resize: none;}
#table-panel input[type=text]:active,
#table-panel select:active{border:1px solid #aaa !important; padding:3px 5px 3px 5px;}
#table-panel input[type=button]{background-color:none !important; border:none !important; float:right !important; width:auto;}

#table-panel input.warning,
#table-panel option.warning{background-color:#FFE9AB; border-color:#EDB974; background:url(../icons/error.png) no-repeat 2px right;}

.std-table tbody tr td.panel-highlighted{border:1px solid #97B1D1 !important; background-color:#D8E3F0 !important;}/* padding-top:6px;}*/

#table-panel-container.display-on-left .arr1{left:auto; right:20px;}
#table-panel-container.display-on-left .arr2{left:auto; right:20px;}

#table-panel.context.move-up-30px{margin-top:-30px;}
#table-panel.context.move-up-30px>span[class*=arr]{margin-top:30px;}

#table-panel.context.move-up-60px{margin-top:-60px;}
#table-panel.context.move-up-60px>span[class*=arr]{margin-top:60px;}

#table-panel.context.move-up-90px{margin-top:-90px;}
#table-panel.context.move-up-90px>span[class*=arr]{margin-top:90px;}

#table-panel.context.move-up-120px{margin-top:-120px;}
#table-panel.context.move-up-120px>span[class*=arr]{margin-top:120px;}

#table-panel.context.move-up-150px{margin-top:-150px;}
#table-panel.context.move-up-150px>span[class*=arr]{margin-top:150px;}

#table-panel.context.move-up-180px{margin-top:-180px;}
#table-panel.context.move-up-180px>span[class*=arr]{margin-top:180px;}

#table-panel.context.move-up-210px{margin-top:-210px;}
#table-panel.context.move-up-210px>span[class*=arr]{margin-top:210px;}

#table-panel.context.move-up-240px{margin-top:-240px;}
#table-panel.context.move-up-240px>span[class*=arr]{margin-top:240px;}

#table-panel.context.move-up-270px{margin-top:-270px;}
#table-panel.context.move-up-270px>span[class*=arr]{margin-top:270px;}

#table-panel.context.move-up-300px{margin-top:-300px;}
#table-panel.context.move-up-300px>span[class*=arr]{margin-top:300px;}

/* Table: panel context */
#table-panel.context{background-color:#F5F6F7; border:1px solid #aaa; border-radius:0px; padding:1px; min-width:100px;}
#table-panel.context .table-panel-close{display:none;}
#table-panel.context .arr1{left:-5px; top:10px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 5px solid #eee; border-left:0px solid;}
#table-panel.context .arr2{left:-6px; top:10px;  border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 5px solid #aaa; border-left:0px solid;}
#table-panel.context h2{padding:2px 0 7px 5px;}
#table-panel.context p{padding:3px;}
#table-panel.context a.button{position:relative; top:-5px; left:-3px;}

.default #table-panel.context{max-width:300px;}
.default #table-panel.context li{list-style-type:none; position:relative;}

.std-table tbody tr td.panel-highlighted.context-highlighted{border:1px dashed #97B1D1 !important; background-color:#D8E3F0 !important;}

#table-panel-message,
#table-panel-error{margin:4px; padding:7px; background-color:#F1F2C9; border:1px solid #F0E659; border-radius:3px;}
#table-panel-error{background-color:#FFEEDB; border-color:#EDA95A;}


#table-panel-container.context.display-on-left #table-panel.context{position:absolute; left:auto;}
#table-panel-container.context.display-on-left #table-panel.context .arr1{left:auto; right:-5px; border-left: 5px solid #eee; border-right:0px solid;}
#table-panel-container.context.display-on-left #table-panel.context .arr2{left:auto; right:-6px; border-left: 5px solid #ccc; border-right:0px solid;}

/* Collapsible records */
table .toggle-collapsible-records-handle{float:right;}
table .toggle-collapsible-records-handle.fa:before{content: "\f068"; color:#777;}
table .toggle-collapsible-records-handle.fa:hover:before{color: #2e2e2e;}
table .collapsed .toggle-collapsible-records-handle.fa:before{content: "\f067";}

table tr.collapsible-record.collapsed {display: none;}
table tr.collapsible-record-lvl2.collapsed-lvl2 {display: none;}
table tr.collapsible-record-lvl3.collapsed-lvl3 {display: none;}
table tr.collapsible-record-lvl4.collapsed-lvl4 {display: none;}

/* Column filters */
table.worksheet .ws-column-filter {border: 1px solid white; border-bottom: 1px solid #B3B3B3; position: absolute; bottom: 4px; left: 0px; right: 0px; background: transparent; border-radius: 0 0 5px 5px; padding: 2px; outline: none; color: #1f366e; font-style:italic;}
table.worksheet .ws-column-filter:focus{border-bottom: 1px solid #91AFCC; background-color: #E5F4FF;}
table.worksheet .active-filter .ws-column-filter {border-bottom: 2px solid #5C9FBE; background-color: #CBE1F3;}
.has-column-filters table.worksheet thead tr:last-child th {padding-bottom: 25px; position: relative;}
.has-active-column-filters table.worksheet tbody tr, table.worksheet tbody tr.hidden-page{display:none;}
.has-active-column-filters table.worksheet tbody tr.grandtotal,
.has-active-column-filters table.worksheet tbody tr.filter-match,
.has-active-column-filters table.worksheet tbody tr.dont-filter,
.has-active-column-filters table.worksheet tbody tr.hidden-page.filter-match{display:table-row;}

.is-electron table.worksheet .ws-column-filter {width: 100%;}

/* Column sorting */
table.worksheet th.sortable{cursor:pointer;}
table.worksheet th.sortable:hover {background-color: #fff6bd;}
table.worksheet th.active-sort {background-color: #fffad4;}
table.worksheet th.active-sort:after{content: ' \2191';
    float: right;
    font-weight: bold;
    font-size: 26px;
    margin: -3px;
    background-color: #2ca9f5;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    color: white;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 20;
    position: relative;
    top: -5px;
    right: -8px;}
table.worksheet th.active-sort.descending:after{content: ' \2193';}

.worksheet td span.placeholder {
    font-style: italic;
    color: #999;
    display: block;
    text-align: left;
}

.worksheet.fluid, .worksheet.fluid table{width:100%}

.worksheet.wrap tr td{white-space: normal !important;}
.worksheet tr td.wrap{white-space: normal !important;}

/* Tooltip styling */
.worksheet td[data-tooltip]{position: relative;}
.worksheet td[data-tooltip]::after{content: attr(data-tooltip); position: absolute; top: -6px; padding: 6px 10px; box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4); background: #fffbb0; color: #444444; border: none; border-radius: 0 4px 4px 4px; text-align: left; line-height: 15px; min-width: 150px; opacity: 0; white-space: pre; z-index: 100; pointer-events: none; transition: opacity 0.3s ease;}
.worksheet td.tooltip-left[data-tooltip]::after{right: 100%;}
.worksheet td[data-tooltip]:hover::after{opacity: 1;}

.worksheet td.editing  .select2-choice{
    background-color: transparent !important;
    background-image: none !important;
    border-width: 0 0 0 0;
    box-shadow:none !important;
}
.worksheet td.editing  .select2-choice>div{display:none;}

.dnd-sort-block tr.dnd-placeholder td {display: none;}
tr.dnd-placeholder td {background: yellow !important;}

.worksheet.clickable-rows td, .worksheet.clickable-rows td *
{
    cursor: pointer;
}


table.worksheet tbody td[class*=spacer],
table.worksheet tbody td[class*=spacer]:hover,
table.worksheet tbody tr:hover td[class*=spacer],
table.worksheet tbody tr:hover td[class*=spacer]:hover {
    background: white !important;
    border-bottom: 1px solid white;
    max-width: 8px;
    width: 8px;
    overflow: hidden;
    padding:0 0 0 0;
    border-top-color: white;
}

table.worksheet tr.subtotal td[class*=spacer] {
    border-right: 1px solid #eaeff7;
}

table.worksheet thead th[class*=spacer]{
    max-width:8px;
    width:8px;
    overflow:hidden;
    color:white;
    border-bottom:1px solid white;
    padding:0 0 0 0;
}
table.worksheet thead th[class*=spacer] *{
    display:none;
}

table.worksheet tfoot th[class*=spacer]{
    max-width:8px;
    width:8px;
    overflow:hidden;
    color:white;
    border-top:1px solid white;
    padding:0 0 0 0;
}

