.htCore tbody tr th,.htCore tbody tr td{
    height: 32px;
    line-height: 32px;
    padding: 0 10px;
}

.htCore thead th{
    height: 32px;
    line-height: 32px;
}

/* ###################################################################### */

.handsontable tr {
    background: #444;
}

.handsontable td, .handsontable th {
    border-bottom: 1px solid #e8e8fd;
    border-right: 1px solid #e8e8fd;
    color: #444;
}

.handsontable th {
    background-color: #f6f7fa;
    color: #444;
}

.ht_master:not(.innerBorderInlineStart):not(.emptyColumns) tbody tr th,.ht_master:not(.innerBorderInlineStart):not(.emptyColumns) thead tr th:first-child,.ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.htGhostTable) tbody tr th,.ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.ht_clone_top):not(.htGhostTable) thead tr th:first-child{
    border-left:1px solid #e8e8fd;
    border-right-width:0
}

.handsontable .ht_clone_bottom_inline_start_corner td:first-of-type,.handsontable .ht_clone_inline_start td:first-of-type,.handsontable .ht_clone_top_inline_start_corner td:first-of-type,.handsontable th:first-child,.handsontable.ht-wrapper:not(.htFirstDatasetColumnNotRendered) td:first-of-type{
    border-left:1px solid #e8e8fd;
}

.handsontable tr:first-child td, .handsontable tr:first-child th {
    border-top: 1px solid #e8e8fd;
}

.handsontable.htRowHeaders thead tr th:nth-child(2) {
    border-left: 1px solid #e8e8fd;
}

[dir=rtl].handsontable.htRowHeaders thead tr th:nth-child(2){
    border-right:1px solid #e8e8fd;
}

.handsontable .ht_clone_top th:nth-child(2){
    border-left-width:0;
    border-right:1px solid #e8e8fd;
}

.handsontable th:last-child{
    border-bottom: 1px solid #e8e8fd;
    border-left: none;
    border-right: 1px solid #e8e8fd;
}

.handsontable tbody th.ht__highlight, .handsontable thead th.ht__highlight {
    background-color: #e8e8fd;
}

/* ###################################################################### */

.night .handsontable tr {
    background: #444;
}

.night .handsontable td, .night .handsontable th{
    background-color: #333;
    border-bottom: 1px solid #444;
    border-right: 1px solid #444;
    color: #bbb;
}

.night .handsontable th {
    background-color: #181a1b;
    color: #bbb;
}

.night .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) tbody tr th,.night .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) thead tr th:first-child,.night .ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.htGhostTable) tbody tr th,.night .ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.ht_clone_top):not(.htGhostTable) thead tr th:first-child{
    border-left:1px solid #444;
    border-right-width:0
}

.night .handsontable .ht_clone_bottom_inline_start_corner td:first-of-type,.night .handsontable .ht_clone_inline_start td:first-of-type,.night .handsontable .ht_clone_top_inline_start_corner td:first-of-type,.night .handsontable th:first-child,.night .handsontable.ht-wrapper:not(.htFirstDatasetColumnNotRendered) td:first-of-type{
    border-left:1px solid #444
}

.night .handsontable tr:first-child td, .night .handsontable tr:first-child th {
    border-top: 1px solid #444;
}

.night .handsontable.htRowHeaders thead tr th:nth-child(2) {
    border-left: 1px solid #444;
}

.night [dir=rtl].handsontable.htRowHeaders thead tr th:nth-child(2){
    border-right:1px solid #444;
}

.night .handsontable .ht_clone_top th:nth-child(2){
    border-left-width:0;
    border-right:1px solid #444;
}

.night .handsontable tbody th.ht__highlight,.night .handsontable thead th.ht__highlight{
    background-color:#242627;
}

.night .htContextMenu .ht_master table.htCore{
    border-color:#444;
}

.night .htContextMenu table tbody tr td.htSeparator{
    border-top:1px solid #444;
    cursor:default;
    height:0;padding:0
}

.night .htContextMenu table tbody tr td.current{
    background:#222;
}

.night .htContextMenu table tbody tr td.htDisabled{
    color:#666;
    cursor:default
}
.night .htContextMenu table tbody tr td.htDisabled:hover{
    background:#222;
    color:#666;
    cursor:default
}