﻿@import "main.less";

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    font: inherit;
    margin: 0;
}

h5 {
    margin: 0;
}

html {
    padding: 0;
    color: black;
    background: #EFEFEF;
}

section.main
{
    margin-top: 80px;
}

body
{
    font-size: 14px;
    margin: 0 auto;
    max-width: 1200px;
    background-color: transparent;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

.tooltip {
    position: fixed;
}

.margin-left-large 
{
    margin-left: 30px;
}

.margin-left-small 
{
    margin-left: 5px;
}

.vertical-mid 
{
    vertical-align: middle;
}

a:focus, .btn:focus {
    outline: 5px auto @borderColor
}
b {
    font-weight: bold !important;
}

.btn-group .btn:first-child
{
    margin-left: 5px;
}

.sunday
{
    background-color: #FFC7C7 !important;
}

.saturday
{
    background-color: #E0FFE0 !important;
}

.accepted {
    color: #3DBA61;
    font-weight: bold;
}
.pending {
    color: #818181;
    font-weight: bold;
}
.rejected {
    color: #ED1F27;
    font-weight: bold;
}

.dropdown-menu 
{
    li
    {
        a
        {
            text-align: left !important;
        }
    }
}

.table-grid th{
    cursor:pointer;
}

.dimension-table td{
    font-size:0.75em;
    padding:0 2px;
}

.dimension-table td:nth-child(2){
    border-right:solid 1px #000;
}

.alert-danger{
    padding:10px;
    margin-bottom:10px;
}

.sticky-filter {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 81px;
    z-index: 4;
    margin-bottom: 0px !important;
}

.special-div {
    height: 21px;
    width: 100%;
    top: 60px;
    background-color: #EFEFEF;
    position: sticky;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    z-index: 100;
}

.special-div2-absence {
    height: 24px;
    width: 1025px;
    top: 271px;
    background-color: #EFEFEF;
    position: sticky;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    z-index: 3;
}

.special-div2-overtime {
    height: 24px;
    width: 100%;
    top: 228px;
    background-color: #EFEFEF;
    position: sticky;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    z-index: 2;
}
 
.special-div2-odbicia {
    height: 23px;
    width: 100%;
    top: 131px;
    background-color: #EFEFEF;
    position: sticky;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    z-index: 2;
}

.special-div2-grafik {
    height: 32px;
    width: 100% !important;
    top: 170px;
    background-color: #EFEFEF;
    position: sticky;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    z-index: 2;
    display: flex;
    align-items: center;
}

.grafik2-width {
    width: 100% !important;
}

.sticky-buttons-absence {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    height: 43px;
    top: 314px !important;
}

.sticky-buttons-overtime {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    height: 43px;
    top: 272px !important;
}

.table-odbicia, .table-absence, .table-overtime, .table-bonuses-admin {
    padding-left: 0;
    padding-top: 0;
}

.table-odbicia table thead tr > th {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 174px !important;
    z-index: 2;
}

.table-odbicia table thead tr:nth-child(2) > th {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 202px !important;
}

.table-absence table thead tr > th {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 357px !important;
    z-index: 2;
}

.table-absence table thead tr:nth-child(2) > th {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 386px !important;
    z-index: 2;
}

.table-overtime table thead tr > th {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 315px !important;
    z-index: 2;
}

.table-overtime table thead tr:nth-child(2) > th {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 375px !important;
    z-index: 2;
}

.table-grafik2 table thead tr > th {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 204px !important;
    z-index: 2;
}

.table-grafik2-month table thead tr > th {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 224px !important;
    z-index: 2;
}

.table-grafik2 .grafik-grid {
    overflow: unset !important;
}

.table-grafik2-month .grafik-grid {
    overflow: unset !important;
}

.table-grid thead tr {
    height: 29px;
}

.well2 {
    background-color: #f5f5f5;
    margin-left: 5px;
    width: 1015px;
    z-index: 3;
}

.padding-imitation-odbicia {
    height: 24px;
    background-color: #f5f5f5;
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 154px;
    width: 100%;
    z-index: 3;
    margin-left: 5px;
}

.padding-imitation-absence {
    height: 19px;
    background-color: #f5f5f5;
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 295px;
    width: 1018px;
    margin-left: 2px;
    z-index: 3;
}

.padding-imitation-overtime {
    height: 20px;
    background-color: #f5f5f5;
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 252px;
    width: 100%;
    margin-left: 5px;
    z-index: 3;
}

.absence-filter {
    height: 190px;
}

.odbicia-filter {
    height: 50px;
}

.overtime-filter {
    height: 147px;
}

.grafik-filter {
    height: 30px;
    padding: 5px 5px 5px;
}

.maintenance-text {
    margin-top: 80px;
    margin-left: -55px;
    color: red;
    font-size: large;
    text-transform: uppercase;
}

.userInfo > .bootstrap-select {
    width: 330px !important;
 }

.pasek-select > .bootstrap-select {
    margin: 0 0 0 !important;
}

.pasek-select > .bootstrap-select > .btn {
    margin-left: 0 !important;
}

.menu-width {
    width: 205px !important;
}

.pasek-table tr td:first-child {
    width: 120px;
}

.pasek-table {
    margin-left: 5px;
}

.pasek-input-width {
    width: 120px !important;
}

.pasek-pass-width {
    width: 220px !important;
}

.session-text {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}

.sessionTimer {
    width: 100%;
    padding: 10px 15px;
    text-align: center;
}

.session {
    border: 1px solid #808080 !important;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.grafik2-buttons {
    top: 192px;
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    width: 100% !important;
    height: 32px !important;
    background-color: #EFEFEF;
    z-index: 2;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.pointer-cursor {
    cursor: pointer !important;
}

.text-cursor {
    cursor: text !important;
}

.normal-cursor {
    cursor: context-menu !important;
}

.note-icon {
    display: inline-block;
    cursor: pointer;
    color: red;
}

.settings-buttons{
    margin-left: 5px;
}

.remote-work-symbol {
    color: green;
}

.absences-hints-row {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.absences-hitns-table {
    height: 280px;
    width: 100%;
    overflow-y: auto;
    display: block;
}

.absences-hitns-table >
tbody {
    width: 100%;
    display: table;
}

.absences-hitns-table >
thead {
    width: 100%;
    display: table;
}

.app-logo {
    max-height: 30px;
    height: 30px;
    width: 135px;
    background-image: url('./images/logo.png');
    background-size: 135px 30px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.sticky-buttons-bonuses-admin {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    height: 43px;
    top: 99px !important;
}

.padding-imitation-bonus-admin {
    height: 19px;
    background-color: #f5f5f5;
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 80px;
    width: 1018px;
    margin-left: 2px;
    z-index: 3;
}

.table-bonuses-admin table thead tr > th {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 140px !important;
    z-index: 2;
}

.table-bonuses-admin table thead tr:nth-child(2) > th {
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -ms-sticky !important;
    position: -o-sticky !important;
    top: 158px !important;
}

.bootstrap-checkbox > button.btn.btn-large {
    padding: 6px 0 6px 2px
}

.bonuses-fix-header {
    width: calc(~"100% - 17px") !important;
    width: -webkit-calc(~"100% - 17px") !important;
    width: -moz-calc(~"100% - 17px") !important;
    max-width: calc(~"100% - 17px") !important;
    max-width: -webkit-calc(~"100% - 17px") !important;
    max-width: -moz-calc(~"100% - 17px") !important;
}

.bonusesAction {
    position: relative;
}

.bonusesAction > .bonuses-alert {
    position: absolute;
    top: 15px;
    left: 2px;
    height: 7px;
    width: 7px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
}

.tableFixHead {
    overflow-y: auto;
}

.tableFixHead thead {
    height: 56px;
}

.tableFixHead thead tr {
    height: 28px;
}

.tableFixHead table thead tr th {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tableFixHead table thead tr .fix-second-position {
    position: sticky;
    top: 28px !important;
}

.tableFixHead table {
    border-collapse: collapse;
    width: 100%;
}

.tableFixHead table thead th {
    font-size: 12px;
    border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
    background-color: #f5f5f5;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e6e6e6));
    background: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background: -ms-linear-gradient(top, #ffffff, #e6e6e6);
    background: -o-linear-gradient(top, #ffffff, #e6e6e6);
    color: #333333;
    border-style: solid;
    border-width: 0 0 1px 1px;
    font-weight: normal;
    padding-top: 5px;
    padding-bottom: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.tableFixHead table tbody td {
    font-size: 12px;
    padding-top: 3px;
    padding-bottom: 3px;
    border-bottom: 1pt solid !important;
    border-bottom-color: rgba(0, 0, 0, 0.25) !important;
    border-right: 1pt solid !important;
    border-right-color: rgba(0, 0, 0, 0.25) !important;
    text-align: center;
}

.bonuses-number-input input::-webkit-outer-spin-button, .bonuses-number-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bonuses-number-input input[type=number] {
    -moz-appearance: textfield;
}

.odbicia-delete-btn, .odbicia-delete-btn-center {
    display: none;
    color: red;
    padding: 2px 5px;
    font-size: 12px;
    cursor: pointer;
    position: absolute;
}

.odbicia-delete-btn {
    bottom: -2px;
    right: 0;
}

.odbicia-delete-btn-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

td:hover .odbicia-delete-btn, td:hover .odbicia-delete-btn-center {
    display: inline;
}

.odbicia-cell {
    position: relative;
    padding-inline: 10px !important;
    min-width: 205px;
    height: 80px !important;
    padding: 5px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #333;
}
.odbicia-cell-error{
    position: absolute;
    bottom: 0;
    right: 0;
}
.add-button-display {
    display: none;
}

.odbicia-cell-nieob:hover .add-button-display, .odbicia-cell-nadg:hover .add-button-display {
    display: inline;

}
.odbicia-grid {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr;
    gap: 2px 10px;
    width: 100%;
    justify-self: end;
}

.odbicia-grid .label {
    height: 18px;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #666;
    justify-self: start;
}

.odbicia-grid .bold {
    font-weight: bold;
    color: #000;
}

.odbicia-grid .italic-green {
    font-style: italic;
    color: #28a745;
}

.odbicia-grid .italic-bold {
    font-weight: bold;
    font-style: italic;
    color: #000;
}

.odbicia-cell-worker {
    min-width: 160px;
    max-width: 205px;
    white-space: normal;
}
.odbicia-grid {
    border-collapse: separate;
    border-spacing: 0;
    max-height: 72vh !important;
}
.odbicia-grid th {
    border-width: 0 1px 1px 0 !important;
}
.odbicia-arrows {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    font-weight: bold;
    font-size: larger;
    margin-bottom: 5px;
}
.odbicia-arrows .glyphicon-chevron-left, .odbicia-arrows .glyphicon-chevron-right {
    visibility: hidden;
}
.odbicia-cell:hover .glyphicon-chevron-left, .odbicia-cell:hover .glyphicon-chevron-right {
    visibility: visible;
}
.odbicia-cell-hidden {
    visibility: hidden;
}
.odbicia-cell:hover .odbicia-cell-hidden {
    visibility: visible;
}

.glyphicon-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

.check-mark {
    display: none !important
}

.row-container {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.right-pane {
    flex: 1;
    max-width: 88%;
    margin-left: 2%;
}

.sticky-menu {
    height: fit-content;
    top: 0;
    position: sticky;
    z-index: 100;
}

.login-center {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.bootstrap-select .dropdown-menu li.custom-notSelected > a::before {
    content: "\f096";
    font-family: "FontAwesome";
    display: inline-block;
    margin-right: 8px;
    color: #007bff;
}

.bootstrap-select .dropdown-menu li.custom-selected > a::before {
    content: "\f046";
    font-family: "FontAwesome";
    display: inline-block;
    margin-right: 8px;
    color: #007bff;
}

.autocomplete-wrapper {
    width: 330px;
    position: relative;
    display: inline-block
}

.autocomplete-wrapper ul {
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    z-index: 9999;
}

.autocomplete-wrapper-divider {
    font-weight: bold;
    background: -webkit-linear-gradient(top, #77ccff, #194d7b);
    color: white
}

.title-div {
    display: inline-flex;
    height: 58px;
    justify-content: center;
    flex-direction: column;
    margin-left: 10px;
}

.title-name-surname {
    color: #00a2e8;
    font-weight: bold;
    font-size: 12px;
    cursor: default;
}

.title-region {
    font-weight: bold;
    font-size: 12px;
    cursor: default;
}
