.time-record-table {
    background-color: $content-background-color;
    border-right: 10px solid $content-background-color;
    border-bottom: 10px solid $content-background-color;
    width: 98%;
    margin: 8px 20px 20px;
}

.time-record-table > thead > tr > th {
    vertical-align: bottom;
}

.disable-partial-view {
    pointer-events: none;
    opacity: 0.4;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: $modul-background-color;
}

.entry-type-button {
    margin-top: -15px;
    font-size: 14px;
    background-color: $content-background-color;
    border-left: 1px solid $divider-color;
    float: right !important;
    height: 66px;
    color: $main-text-color;
}

.pressed {
    box-shadow: 5px 5px 10px #888888, -5px 5px 10px #888888;
    z-index: 1;
}

.top-row-margin-bottom {
    margin-bottom: unset;
}

.top-row-large-font {
    font-size: large;
    padding-top: 20px
}

.workobligations
.select2-container--bootstrap 
.select2-selection--multiple 
.select2-selection__rendered {
    border-bottom: none !important;
}

.time-record-loader {
    position: fixed;
    top: 50%;
    left: 50%;
}

.a-outline {
    color: inherit;
    background-color: transparent;
}

.arrow-left {
    position: fixed;
    z-index: 2;
    height: 66px;
    margin-top: -15px;
    padding-top: 20px;
    background: transparent;
    color: transparent;
    width: 34px;
    margin-left: -12px;
    padding-left: 10px;
    border-left: 1px solid $divider-color;
}

.arrow-right {
    position: fixed;
    right: 67px;
    z-index: 2;
    height: 66px;
    margin-top: -15px;
    padding-top: 20px;
    background: transparent;
    color: transparent;
    width: 34px;
    margin-left: -10px;
    padding-left: 10px;

    &.no-offset {
        right: 0px;
    }
}

.timerecord-col {
    font-size: large;
    margin-left: -28px;
    padding-top: 15px;
    display: inline-flex;
    position: relative;
    overflow: hidden;
}

.timerecord-buttons {
    display: inline-flex;
    padding-right: 70px;
}

.work-from-home {
    position: absolute;
    right: 0;
}

.nontransparent-arrow {
    background: $content-background-color !important;
    color: $accent-color !important;
}

.table-striped > tbody > tr:nth-of-type(odd) .time-record-selects .select2-selection {
    background-color: $modul-background-color;
}

.time-record-selects .select2-selection__rendered {
    border: none !important;
    line-height: 19px !important;
    font-size: 13px !important;
    padding-top: 0px !important;
}

.time-record-selects .select2-container .select2-selection--single {
    height: 15px !important;
}

.time-record-selects .select2-selection__arrow {
    height: 14px !important;
}

.table-striped > tbody > tr:nth-of-type(odd) .time-record-timepickers .tr-time-picker {
    background-color: $modul-background-color;
}

.tr-time-picker {
    border: none;
    height: 20px;
    font-size:13px;
}

.entry-type-color:first-child {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px
}

.entry-type-color:last-child {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px
}

.time-records {
    width: 100%;
    height: calc(96vh - 215px);
    overflow-y: scroll;
    overflow-x: hidden;
    margin-bottom: 66px;
}

.time-attendance-records {
    width: 100%;
    height: calc(96vh - 140px);
    overflow-y: scroll;
    overflow-x: hidden;
    margin-bottom: 66px;
}

.stop-recordings {
    box-shadow: 5px 5px 10px #888888, -5px 5px 10px #888888;
    border-bottom: 4px solid $accent-color;
}

#stop-records {
    position: fixed;
    right: 0;
    z-index: 2;
}

#record-button-0 {
    border-left: none;
}

.theme-button-color {
    color: $accent-color !important;
}

.table-striped > tbody > tr:nth-of-type(odd) .time-record-selects .select2apply {
    background-color: $modul-background-color;
    border: none !important;
}

.show-select {
    padding-left: 12px !important;
    margin-top: 3px !important;
    font-family: Arial;
}

.show-placeholder {
    color: #999 !important;
}

.default-icon-color {
    color: #999 !important;
}

.color-total .tooltip-inner {
    background-color: #999 !important;
}

.tr-filter-select .select2-container--focus {
    border-bottom: 1px solid $accent-color !important;
}

.show-table {
    display: table-row-group;
}

.hide-table {
    display: none;
}

.sortable-placeholder {
    background-color: $table-hover-row-background-color;
}

.sortable-color {
    background-color: $table-hover-row-background-color;
}

table.modal-entry-table > tbody, .modal-entry-table {
    display: block;
}

.modal-entry-table > tbody {
    height: 200px;
    overflow-y: scroll;
}

.modal-entry-table tr:after {
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
}

.modal-entry-table {
    margin: 0px;
}

.entry-thead-noborder {
    border-right-color: transparent !important;
}

.checkbox-menu-timerecords li input {
    margin: 0px 5px !important;
    top: 2px;
    position: relative;
}

.timerecords-footer {
    margin-left: 0;
    padding-right: 60px;
    z-index: 999;
}

.timerecords-footer-left-span {
    font-size: 18px;
    position: absolute;
    margin-top: 5px;
}

#leave-days-button {
    position: absolute;
    top: 5px;
    right: 5px;
}

.leave-days-info-menu {
    position: absolute;
    top: -80px;
    right: -160px;
}

.timerecord-sum {
    padding-left: 10px;
    padding-right: 10px;
    float: right;
    text-align: right;
    display: flex;
    height: 66px;
}

.timerecord-padding {
    padding-left: 10px;
    padding-right: 10px;
}

.timerecord-entrytypemodal-header {
    padding: 20px 30px 0px !important;
    border-bottom: none !important;
}

.records-height {
    height: calc(96vh - 283px);
}

.attendance {
    background-color: $content-background-color;
}

.current-status {
    background: $content-background-color;
    width: 150px;
    text-align: left;
    border: 1px solid #888;
    color: #888;
}

.padding-top-td-attendance {
    padding-top: 13px;
    padding-bottom: 0px;
}

.entry-type-table-padding {
    padding-top: 7px;
    padding-bottom: 0px;
}

.entry-type-table-checkbox {
    padding-top: 5px;
    padding-bottom: 0px;
}

.workobligations .select2-search__field {
    width: auto !important;
}

.workobligations .select2-search__field {
    width: auto !important;
}

.saldo-dropdown-list,
.leave-days-dropdown-list {
    padding: 5px;
    font-weight: 600;
}

.theme-text-color {
    color: $main-text-color;
}

#attendance-filter-form .select2-search__field {
    padding: 0px;
}

.timerecord-request-table {
    margin: 0px 20px 20px;
}

.multi-no-border
.select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered {
    border-bottom: none !important;
}

.red-saldo {
    color: red;
}

.saldo-dropdown-icon,
.leave-days-dropdown-icon {
    width: fit-content;
    float: right;
}

.label-overflow {
    width: 115px;
    display: inline-block !important;
}

.timerecord-focus-bottom-border
.select2-container--focus {
    border-bottom: 1px solid $accent-color;
}

.timerecord-focus-bottom-border
.select2-search__field {
    border-bottom: unset !important;
}

.timeattendance-colors {
    display: flex;
    padding-top: 18px;
}

.timeattendance-table-totals {
    text-align: right;
}

.timeattendance-th {
    position: sticky;
    top: 0;
    background: $modul-background-color;
}

.timeattendance-static-header {
    position: sticky;
    border-top: 20px solid $content-background-color;
    width:101%;
}

.locked-filters {
    pointer-events: none;
    opacity: 0.4;
}

.work-home-col {
    border-right: none !important;
    display: flex;
}

.hw-switch-m-l{
    margin-left:30px;
}

.timeattendance-table-div {
    height: calc(100% - 20px);
}

.table.custom-mobile-table th {
    position: sticky;
    top: 0;
    z-index: 9;
    background: $table-header-background-color;
}

table.custom-mobile-table thead {
    background: unset;
}

.time-record-table th {
    background: $content-background-color !important;
}

.color-total-th {
    min-width: 262px;
    height: 40px;
}

.newrequest-textarea {
    max-width: 100%;
}

#new-request-modal button.dropdown-toggle {
    border-bottom: none;
}

.padding-right-0 {
    padding-right: 0;
}

.height-34 {
    height: 34px;
}

.request-comment-button {
    padding: 0;
    padding-right: 10px;
    height: 18px;
    margin-top: -5px;
}

.padding-bottom-12 {
    padding-bottom: 12px;
}

#AttendanceRecordsID .showhidecolumns {
    width: 99%;
}

.dropdown-left-80 {
    left: -80% !important;
}

#RecordsID .select2-container--focus {
    padding-bottom: 7px;
}

.enable-filters-scroll {
    height: calc(100% - 300px);
    overflow-y: scroll;
    overflow-x: hidden;
    margin-bottom: 20px !important;
}

.align-arrow {
    margin-right: 12px;
}

.dropdown-position {
    top: 45px;
    left: calc(100% - 75px);
}

.alnright {
   text-align: right;
}

#RecordsID > table {
    animation-duration: 0.001s;
    animation-name: nodeInserted;
}

.absence-control-table tr > * {
    vertical-align: middle;
}

.absence-control-table tr td:first-child,
.absence-control-table tr th:first-child {
    text-align: center;
}

.absence-control-table tbody td.separate-mess {
    white-space: break-spaces;
}

.mobile-scroll-wrapper {
    height: 100%;
    max-height: 80vh;
}

.from-WF-task-disabled {
    background-color: #f1f2f4 !important;
    cursor: not-allowed;
    opacity: 1 !important;
}

.from-WF-task-disabled i {
    color: unset;
}

@keyframes nodeInserted {
    from {
        opacity: 0.99;
    }

    to {
        opacity: 1;
    }
}

.time-record-row,
.time-record-row td,
.time-record-row td div.row {
    height: 25px;
}

.select2OnClick {
    border-bottom: none;
    padding: 8px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 11px !important;
    font-size: 13px !important;
    padding-top: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.startDate-padding {
    padding-left: 38px;
}

#absence-planned-working-hours .modal-content {
    overflow-y: scroll;
    max-height: 600px;
}

tr.planned-record {
    border-top: 2px solid #fff;
    border-bottom: 4px solid #fff;
}

tr.planned-record td {
    background-color: $table-header-background-color !important;
}

tr.planned-record td span,
tr.planned-record td div {
    color: #999 !important;
}

tr.AcPlannedHours {
    position: sticky;
}

tr.AcPlannedHours > td { // td in which is table for planned hours
    padding: 0px;
}

tr.AcPlannedHours th {
    border: 0px;
}

tr.AcPlannedHours table {
    margin-bottom: 0px;
}

tr.AcPlannedHours tbody {
    background-color: $table-header-background-color !important;
}

@media only screen and (max-width: 1600px) and (min-width: $min-screen-md) {
    #stopwatch-div {
        padding-top: 10px;
    }
}

@media only screen and (max-width: 350px) {
    .totals-info-menu {
        margin-right: 10px;
    }
}

.plannedInput {
    background-color: inherit;
}

@media screen and (min-width: 1645px) {
    .time-record-selects span.m-l-sm {
        vertical-align: sub;
    }
}

//Laptop S and large sizes
@media only screen and (min-width:$min-screen-md) {
    .time-record-table {
        border-left: 10px solid $content-background-color;
    }

    .ta-modal-size {
        width:600px
    }

    .absence-control-modal {
        width: 770px !important;
    }

    .totals-info-menu {
        top: -10%
    }

    tr.AcPlannedHours table tbody tr:last-child {
        border-bottom: 10px solid #fff;
    }

    tr.AcPlannedHours table thead th:first-child {
        vertical-align: middle;
    }

    .not-future-plan {
        border-bottom: none;
    }

    .future-plan-start-time {
        padding-left: 38px;
    }

    .future-plan-end-time {
        padding-left: 36px;
    }
}

//Laptop S
@media only screen and (max-width: $max-screen-md) and (min-width: $min-screen-md) {
    #stopwatch-div {
        font-size: small;
    }

    .absence-control-modal {
        width: 770px !important;
    }
}

//tablet
@media only screen and (min-device-width: $min-screen-sm) and (max-device-width: $max-screen-sm) {
    table.custom-mobile-table thead {
        background: $table-header-background-color;
    }

    table.custom-mobile-table th:nth-child(1n) {
        display: none;
    }

    table.custom-mobile-table th:nth-child(1),
    table.custom-mobile-table th:nth-child(2),
    table.custom-mobile-table th:nth-child(3),
    table.custom-mobile-table th:nth-child(4) {
        display: inline-flex;
        width: 25%;
    }

    table.custom-mobile-table td:nth-child(1n) {
        display: flex;
        background: $content-background-color;
    }

    table.custom-mobile-table td:nth-child(1),
    table.custom-mobile-table td:nth-child(2),
    table.custom-mobile-table td:nth-child(3),
    table.custom-mobile-table td:nth-child(4) {
        display: inline-flex;
        width: 25%;
        background: $modul-background-color;
        border-top: 1px solid $divider-color;
        border-bottom: 1px solid $divider-color;
        height: 42px;
    }

    table.custom-mobile-table td:nth-child(1n):before {
        content: attr(label);
        font-weight: bold;
        width: 120px;
        min-width: 120px;
    }

    table.custom-mobile-table td:nth-child(1):before,
    table.custom-mobile-table td:nth-child(2):before,
    table.custom-mobile-table td:nth-child(3):before,
    table.custom-mobile-table td:nth-child(4):before {
        display: none;
    }

    //time-record table
    .time-record-table thead {
        background: $content-background-color !important;
    }

    .time-record-table {
        width: 95%;
        margin: 10px 20px 20px;
        border-bottom: none;
        border-right: none;
    }

    .time-record-table tbody tr {
        border-left-width: 5px;
        border-left-style: solid;
    }

    table.time-record-table th:nth-child(2),
    table.time-record-table th:nth-child(6) {
        display: inline-block;
        width: 25%;
        height: 33px !important;
        padding-top: 12px;
    }

    table.time-record-table th:last-child {
        width: 16% !important;
        display: inline-block;
        height: 33px;
    }

    table.time-record-table td:nth-child(5) {
        display: inline-block;
        width: 10%;
        background: $modul-background-color;
        border-bottom: 1px solid $divider-color;
        border-top: 1px solid $divider-color;
        height: 42px;
    }

    table.time-record-table td:nth-child(1),
    table.time-record-table td:nth-child(2),
    table.time-record-table td:nth-child(3),
    table.time-record-table td:nth-child(4) {
        width: 22.5%;
    }

    .time-record-selects .select2-selection--single {
        width: 120%;
    }

    .ta-modal-size {
        width: 600px
    }

    .timerecords-footer {
        padding-left: 15px;
    }
}

@media only screen and (max-device-width: $max-screen-sm) {
    .time-record-row > td {
        height: 35px;
    }

    .records-margin {
        margin-left: 38px !important;
    }
}

//mobile
@media only screen and (max-device-width: $max-screen-xs) {
    .mobile-hidden {
        display: none !important;
    }

    .employee-mobile-width {
        width: 85% !important;
    }

    table.custom-mobile-table thead {
        background: $table-header-background-color;
    }

    table.custom-mobile-table th:nth-child(1n) {
        display: none;
    }

    table.custom-mobile-table th:nth-child(1),
    table.custom-mobile-table th:nth-child(2) {
        display: inline-flex;
        width: 50%;
    }

    table.custom-mobile-table td:nth-child(1n) {
        display: flex;
        background: $content-background-color;
    }

    table.custom-mobile-table td:nth-child(1),
    table.custom-mobile-table td:nth-child(2) {
        display: inline-flex;
        width: 50%;
        background: $modul-background-color;
        border-top: 1px solid $divider-color;
        border-bottom: 1px solid $divider-color;
        height: 42px;
    }

    table.custom-mobile-table td:nth-child(1n):before {
        content: attr(label);
        font-weight: bold;
        width: 120px;
        min-width: 120px;
    }

    table.custom-mobile-table td:nth-child(1):before,
    table.custom-mobile-table td:nth-child(2):before {
        display: none;
    }

    //time-record table
    .time-record-table thead {
        background: $content-background-color !important;
    }

    .hw-switch-m-l {
        margin-left: 10px;
    }

    .time-record-table {
        width: 90%;
        margin: 10px 20px 20px;
        border-bottom: 2px solid #fff;
        border-right: 2px solid #fff;
    }

    .color-total-th {
        padding-top: 12px;
        min-width: unset;
        height: 33px;
    }

    .time-record-table tbody tr {
        border-left-width: 3px;
        border-left-style: solid;
    }

    table.time-record-table th:nth-child(2) {
        display: none;
    }

    table.time-record-table th:nth-child(1),
    table.time-record-table th:nth-child(6) {
        width: 45% !important;
    }

    table.time-record-table th:nth-child(6),
    table.time-record-table th:nth-child(9) {
        display: inline-block;
    }

    table.time-record-table th:nth-child(9) {
        height: 33px;
        width: 10% !important;
    }

    table.time-record-table td:nth-child(1) {
        width: 100%;
    }

    table.time-record-table td:nth-child(2) {
        display: flex;
        background: $content-background-color;
        width: 100%;
        height: unset;
        border-bottom: unset;
    }

    table.time-record-table td:nth-child(2):before {
        display: flex;
    }

    .action-buttons-mobile {
        display: inline-table;
        padding-left: 30px;
    }

    .time-record-row .row {
        width: 100%;
    }

    .time-records {
        margin-bottom: 0;
    }

    .timerecords-scroll { 
        overflow-y: scroll;
        overflow-x: hidden;
    }

    // Limit calendar-approve-table size to parent size
    /*#calendar-approve-table {
        display: block;
        overflow: auto;
    }*/

    // Every Datatable column in separate row
    #calendar-approve-table > tbody > .odd.parent {
        display: block;
        width: 100%;
        border-bottom: 1px solid #ddd;
    }

    #calendar-approve-table > tbody > .odd.parent > td {
        border-bottom: none;
    }

    #calendar-approve-table > tbody > .even.parent {
        display: block;
        width: 100%;
        border-bottom: 1px solid #ddd;
    }

    #calendar-approve-table > tbody > .even.parent > td {
        border-bottom: none;
    } 
    //

    .startDate-padding {
        padding-left: 0px;
    }

    .time-record-padding {
        padding-left: 20px;
    }

    .leave-days-info-menu {
        right: -90px;
    }
}

//tablet and mobile
@media only screen and (max-width: $max-screen-sm) {
    .time-record-timepickers {
        padding-top: 8px !important;
        padding-bottom: 0px !important;
    }

    .tr-time-picker::-webkit-calendar-picker-indicator {
        display: none;
    }

    .tr-time-picker {
        margin: 0px !important;
        padding: 0px !important;
        height: 100%;
        width: 100%;
        bottom: 8px;
    }

    .mobile-clock-icon {
        margin-top: 4px;
        width: 13px;
        height: 13px;
        display: inline-block;
        margin-right: 18px;
    }

    .records-margin-0 {
        margin: 0px !important;
    }

    #timerecord-col {
        overflow-x: scroll;
    }

    #timerecord-col::-webkit-scrollbar {
        width: 0px;
        height: 0px;
    }

    .table-striped > tbody > tr:nth-of-type(odd) .time-record-timepickers .tr-time-picker {
        background-color: $content-background-color;
    }

    table.custom-mobile-table thead {
        background: $table-header-background-color;
    }

    .panner {
        background: $content-background-color !important;
        color: $accent-color !important;
    }

    .entry-type-color {
        max-height: 10px;
    }

    .time-record-selects .select2-selection__arrow {
        right: -30px;
        top: 4px;
    }

    .time-record-selects .select2-selection {
        background-color: transparent !important;
    }

    .time-record-selects {
        white-space: nowrap;
    }

    .timerecord-col {
        padding-left: 39px !important;
    }

    .work-from-home {
        position: unset;
    }

    .mobile-scroll-wrapper {
        height: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
        padding: 0px 15px;
        max-height: unset;
    }

    .time-records,
    .time-attendance-records {
        margin-bottom: 0;
    }

    #AttendanceRecordsID {
        padding: 0px 10px 0px 0px;
    }

    .mobile-scroll-wrapper,
    .mobile-content {
        margin-right: -15px;
        margin-left: -15px;
    }

    .timerecords-footer {
        position: relative;
        padding: 0px 45px 0px 15px;
    }

    .alnright {
        text-align: unset;
    }

    .time-attendance-records {
        overflow-y: unset;
        overflow-x: unset;
    }


    tr.AcPlannedHours {
        width: 100% !important;
        background-color: unset !important;
    }

    tr.AcPlannedHours > td {
        width: 100% !important;
        display: flex !important;
    }

    tr.AcPlannedHours table {
        margin: 0 !important;
    }

    tr.AcPlannedHours tr {
        border-left: 0 !important;
    }

    .time-record-padding {
        padding-left: 20px;
    }
}

//iPad pro
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
    .time-records {
        height: calc(96vh - 203px);
    }

    .timerecords-footer-left-span {
        font-size: 14px;
    }

    .ta-modal-size {
        width: 600px;
    }
}