/*
ul li {
    padding-left: 0;
    background: transparent;
}
*/
.handsontable:not(.ganttChart).htCore td {
    color: #000;
    font-weight: normal;
    height: 42px;
}

/*.htContextMenu {*/
/*z-index: 1;*/
/*}*/
.handsontableInputHolder table.htCore td, .htContextMenu table.htCore td {
    height: 21px;
}

.handsontable th {
    text-align: left;
}

#content table.ui-datepicker-calendar {
    width: 100%;
    margin-top: 2px;
    padding-bottom: 0;
}

#content table.ui-datepicker-calendar td {
    padding: 1px;
    border-right: none;
    border-bottom: none;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button, .ui-datepicker .ui-datepicker-title select {
    font-size: 12px;
}

.ui-datepicker-calendar th {
    background: #E6E6E6;
    border-right: none;
    color: #555555;
    font-weight: bold;
}

table.htCore td.htDimmed {
    background: #fbfbfb;
    color: #999;
}

.handsontable table {
    padding-bottom: 0;
}

.handsontable tbody th,
.handsontable tbody tr:first-child th:first-child {
    border-top: 0 !important;
}

.handsontable tbody tr:first-child th:first-child {
    box-shadow: inset 0 1px 0 0 #ccc;
}

.handsontable thead th {
    border-top-width: 0;
}

.handsontable thead tr:first-child th {
    border-top-width: 1px;
}

/* Full Screen */

.in-fullscreen {
    overflow: hidden;
}

.in-fullscreen body {
    background: #fff;
}

.in-fullscreen #supportTab {
    z-index: -1;
}

.fullscreen {
    position: fixed;
    top: 0;
    bottom: 0px;
    left: 0;
    right: 0;
    width: 100% !important;
    background: #fff;
    padding-bottom: 80px;
    padding-top: 60px
}

.fullscreen .handsontable:not(.ht_master):not(.ht_clone_left):not(.ht_clone_top):not(.ht_clone_bottom):not(.ht_clone_top_left_corner):not(.autocompleteEditor) {
    width: 100% !important;
    height: 100% !important;
}

.fullscreen-opened {
    position: fixed;
    z-index: 999;
    top: 15px;
    right: 15px;
}

.left.fullscreen-opened {
    left: 25px;
    right: auto;
    bottom: 7px;
}

.right.fullscreen-opened {
    right: 200px;
    bottom: 7px;
}

.handsontableInputHolder input:focus,
.handsontableInputHolder textarea:focus,
.handsontableInputHolder select:focus,
.handsontableInputHolder input[type="text"]:focus,
.handsontableInputHolder input[type="password"]:focus {
    border: 0;
    box-shadow: 0 0 0 2px #5292F7 inset;
}

.handsontable th span {
    white-space: pre-line;
    word-wrap: normal;
    padding-right: 10px;
    display: block;
}

.handsontable thead tr:nth-child(2) th span {
    padding-right: 0;
    white-space: pre;
}

.flowChart .handsontable .handsontable th span {
    padding-right: 0;
}

.handsontable th span.colHeader {
    white-space: pre-line;
}

.ganttChart th span.colHeader {
    white-space: nowrap;
}

/* Pikaday tweaks */
.pika-single thead {
    background-color: #fff !important;
}

.pika-single td,
.pika-single th {
    border: 0 !important;
}

.ganttChart:before,
.ganttChart:after {
    display: none;
    content: ' ';
    position: absolute;
}

.ganttChart:before {
    width: 208px;
    height: 13px;
    top: 50%;
    left: 50%;
    margin-top: -6.5px;
    margin-left: -104px;
    background: url('../images/loadingAnimation.gif') no-repeat;
    z-index: 108;
}

.ganttChart:after {
    z-index: 107;
    background: #f4f4f4;
    background: rgba(244, 244, 244, 0.75);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hotloading .ganttChart:before,
.hotloading .ganttChart:after {
    display: block;
}

.handsontable button {
    color: initial;
    border: initial;
    border-radius: initial;
    box-shadow: initial;
    display: initial;
    font-size: initial;
    font-weight: initial;
    margin-bottom: initial;
    padding: initial;
    text-align: initial;
    text-shadow: initial;
    width: initial;
    min-width: initial;
    -webkit-appearance: initial;
    box-sizing: initial;
    line-height: initial;
}

.handsontable .htUIMultipleSelectSearch input {
    height: initial !important;
    padding: 4px !important;
}

.handsontable table tr th button.changeType {
    border: 1px solid #bbb !important;
    color: #bbb !important;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
}

.handsontable table tr th.htFiltersActive button.changeType {
    border: 1px solid #509272 !important;
    color: #18804e !important;
    background-color: #d2e0d9;
}

.htUIMultipleSelectHot.handsontable table.htCore td {
    padding: 5px 6px 0 !important;
    height: initial;
}

.htMultiCheckEditor {
    position: absolute;
    width: auto;
    height: auto !important;
    border: 1px solid #CCC;
    background: #FFF;
    padding: 0.5em;
}

.htMultiCheckEditor label {
    margin-bottom: 0.5em;
    margin-right: 1em;
    margin-left: 0;
    padding-bottom: 0;
}
