:root {
    /*  --basic-color-1: #009ada;
      --basic-color-1a: #008ace;*/

    --basic-color-1: #0089ff;  /* aktywny */
    --basic-color-1a: #006bc7;

    --basic-color-2: #86929c; /* ikonki */
    --basic-color-3: #384555; /* tekst */
    --basic-color-4: #e5ebf4; /* linie */
    --basic-color-5: #98999a; /* teskt nagĹĂłwki w tabelkach, przy licznikach */
    --basic-color-6: #e5ebf4; /* border buttona */
    --basic-color-7: #eff1f7; /* tlo w boksach */
    --basic-color-8: #d3dae4; /* tlo w kalendarzu (dzien aktywny), wyroznik */
    --basic-color-9: #e45fb9; /* aktywny kolor */
}

body {
    font-family: 'Open Sans';
}

#panel #content {
    /*margin: $grid-space+$fixed-top-header-height $grid-space 0 $grid-space+$fixed-menu-width;*/
    left: 250px;
    top: 0;
    width: calc(100% - 250px);
    /*right: $grid-space;*/
    right: 0;
    bottom: 0;
    overflow: hidden;
    position: absolute;
    /*background: red;*/
    /*padding-top: $grid-space;
        padding-bottom: $grid-space;*/ }
#panel #content #content-segment {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 0;
    padding-right: 0;
    /*  margin-left: 35px;
      margin-right: 15px;*/

}
#panel #content-segment {
    /* position: absolute;*/
    overflow: hidden !important;
    /* TODO: trzeba pĂłĹşniej wyĹÄczyÄ Ĺźeby m.in. tooltipy dobrze siÄ wyĹweitlaĹy */ }
#panel #content-segment.ng-enter {
    transition: opacity 0.5s;
    opacity: 0.0; }
#panel #content-segment.ng-enter-active {
    opacity: 1.0; }
#panel #content-segment.ng-leave {
    display: none; }
#panel #content-segment.ng-enter-active {
    opacity: 1.0; }
#panel #content-segment.ng-leave {
    display: none; }




.view--header {
    position: relative;
    margin-left: 40px;
    margin-right: 30px;
}

.view--title {
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 30px;
    line-height: 45px;
    color: var(--basic-color-3);
}
.view--title .mdi {
    font-size: 45px;
    color: var(--basic-color-1);
}
.view--title > .t-table {
    width: 100%;
}
.view--title > .t-table > .tr > .td:last-child > .t-table {
    float: right;
    margin-right: -6px;
}

.view--title > .t-table > .tr > .td:first-child > .t-table {
    margin-left: -8px;
}
.view--title > .t-table > .tr > .td:first-child > .t-table > .tr > .td:last-child {
    padding-left: 10px;
}

.view--panel {
    margin-top: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid var(--basic-color-4);
    border-bottom: 1px solid var(--basic-color-4);
}
.view--panel > .t-table {
    width: 100%;
    padding-left: 35px;
    padding-right: 30px;
}
.view--panel > .t-table > .tr > .td {
    /* width: 50%;*/
}
.view--panel > .t-table > .tr > .td:last-child {
    width: 100%;
}
.view--panel .table--frame > .tr > .td:first-child {
    padding-right: 30px;
}
.view--panel .table--frame > .tr > .td:last-child {
    border-left: 1px solid var(--basic-color-4);
    padding-left: 30px;
}
.view--panel .table--frame.clear > .tr > .td:last-child {
    border-left: 0;
    padding-left: 0;
}
.view--panel .table--frame.clear > .tr > .td:first-child {
    padding-right: 0;
}

.view--panel .table--frame > .tr > .td:last-child > .t-table {
    width: 100%;
}

.page--sizes {
    display: table;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
.page--sizes div:first-child {
    border-left: 1px solid var(--basic-color-6);
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 2px;
    -moz-border-radius-bottomleft: 2px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px; }
.page--sizess div:last-child {
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 2px;
    -moz-border-radius-bottomright: 2px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px; }
.page--sizes div {
    display: table-cell;
    cursor: pointer;
    height: 44px;
    vertical-align: middle;
    padding-left: 15px;
    padding-right: 15px;
    border-top: 1px solid var(--basic-color-6);
    border-bottom: 1px solid var(--basic-color-6);
    border-right: 1px solid var(--basic-color-6);
    background-color: #fff;
    box-shadow: none;
    color: #223a53;
    font-size: 14px;
    font-family: "Open Sans";
    font-weight: normal;
    -webkit-transition: border-color ease-in-out 0.1s;
    -o-transition: border-color ease-in-out 0.1s;
    transition: border-color ease-in-out 0.1s; }
.page--sizes div.active {
    background: var(--basic-color-1);
    color: #fff;

}

.view--panel .table--name .tr .td:first-child {
    font-size: 18px;
    font-weight: 600;
    color: var(--basic-color-1);
}
.view--panel .table--name .tr .td:nth-child(2) {
    padding-left: 10px;
    color: var(--basic-color-2) !important;
    border-bottom: 0 !important;
    font-family: 'Open Sans';
    font-size: 20px;
    font-weight: 600 !important;
}
.view--panel .table--name .tr .td:last-child {
    padding-left: 10px;
    color: var(--basic-color-5) !important;
    border-bottom: 0 !important;
    font-family: 'Open Sans';
    font-size: 18px;
    font-weight: 300 !important;
    white-space: nowrap;
}

.view--panel .table--counter .tr .td:first-child {
    font-size: 40px;
    font-weight: 700;
    color: var(--basic-color-1);
}
.view--panel .table--counter .tr .td:last-child {
    padding-left: 10px;
    color: var(--basic-color-5) !important;
    border-bottom: 0 !important;
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: 600 !important;
}
.view--panel .table--counter--rev .tr .td:last-child {
    font-size: 40px;
    font-weight: 700;
    color: var(--basic-color-1);
}
.view--panel .table--counter--rev .tr .td:first-child {
    padding-right: 10px;
    color: var(--basic-color-5) !important;
    border-bottom: 0 !important;
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: 600 !important;
}
.f-right {
    float: right;
}

.button--circle {
    font-size: 45px;
    line-height: 45px;
    color: var(--basic-color-1);
}


.search--input--frame {
    line-height: 15px;
}
.search--input {
    background: transparent;
    position: relative;
    border: 1px solid #ddd;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 300;
    line-height: 15px;
    width: 200px;
    height: 39px;
    /* padding-left: 15px; */
    padding: 7px 15px 7px 15px;
    margin-right: 10px;
    margin-top: -4px;
}
.search--input::placeholder {
    color: var(--basic-color-2);
    opacity: 1;
}

.search--input:-ms-input-placeholder {
    color: var(--basic-color-2);
}

.search--input::-ms-input-placeholder {
    color: var(--basic-color-2);
}
.t-table {
    display: table;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }

.t-table .tr {
    display: table-row; }

.t-table .td {
    display: table-cell;
    position: relative; }

.t-table .td.v-align-middle {
    vertical-align: middle;
}



.menu-list > ul {
    text-underline: none !important;
}
.menu-list .sublist {
    display: none;
}
.menu-list .sublist.active {
    display: block;
    margin-bottom: 40px;
}
.menu-list > ul > li {
    text-underline: none !important;
}
.menu-list > ul > li .t-table {
    background: #fff;
    width: 100%;
    color: #fff !important;
    /*   height: 40px;*/
    /*  line-height: 14px;*/
    font-size: 12px;
    padding: 0 15px 0 15px;
    text-decoration: none !important;
    position: relative;
}
.menu-list > ul > li .t-table:hover {
    background: var(--basic-color-1);
}

.menu-list > ul > li .t-table.back {
    /* background: #f1813c;*/
    background: transparent;
}
.menu-list > ul > li .t-table.back:hover {
    background: #ff9a5c;
}
.menu-list > ul > li div.disabled .t-table {
    background: var(--basic-color-1) !important;
    color: #888 !important;
}
.menu-list > ul > li a.active .t-table:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--basic-color-1a);
}
.menu-list > ul > li a .t-table:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: transparent;
}
.menu-list > ul > li a.active .t-table {
    background: var(--basic-color-1) !important;
    text-decoration: none !important;
}
.menu-list > ul > li a .t-table {
    padding-top: 5px;
    padding-bottom: 5px;
}
.menu-list > ul > li .t-table .td {
    vertical-align: middle;
    text-decoration: none;
    color: var(--basic-color-3);
}
.menu-list > ul > li .t-table:hover .td,
.menu-list > ul > li > .menu.active > .t-table .td {
    color: #fff;
}
.menu-list > ul > li > .menu > .t-table .td:last-child,
.menu-list > ul > li > .menu.active > .t-table .td:last-child {
    font-size: 18px;
    font-weight: 400;
    padding-bottom: 5px;
    padding-top: 5px;
}
.menu-list > ul > li .t-table .td:first-child {
    width: 35px;
    font-size: 22px;
    color: var(--basic-color-2);
}
.menu-list > ul > li .t-table:hover .td:first-child {
    color: #fff;
}
.menu-list > ul > li {
}



/* calendar */
/*
.fc-slats table tbody tr:hover {
    background: #eee;
}*/
.fc-agendaWeek-view tr {
    height: 60px;
}

.fc-agendaDay-view tr {
    height: 60px;
}
.fc-time-grid .fc-slats td {
    height: 60px !important;
}

.button-hover{
    background-color: rgba(20, 20, 20, 0.10);
    border-radius: 3px;
    color: #9B9B9B;
    position: relative;
    font-size: 36px;
    cursor: pointer;
    height: 51px;
    margin-left: 4px;
    margin-right: 4px;
    margin-top: 4px;
    margin-bottom: 4px;
}
.button-hover > .mdi {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 20px;
}
.fc-ltr .fc-time-grid .fc-event-container {
    margin: 0 !important;
    margin-right: 15px !important;
}
.fc-time-grid .fc-slats td {
    vertical-align: top !important;
    position: relative;
}
.fc-time-grid .fc-slats td > span {
    position: absolute;
    margin-left: -38px;
    margin-top: -9px;
}
.fc-time-grid .fc-slats td > span:before {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: #c4cdda;
    right: -9px;
    top: 0;
    bottom: 0;
    margin: auto;
}

/* schedule */

.view {
    width: 100%;
}

.wrapper {
    position: relative;
    overflow: hidden;

    white-space: nowrap;
}

.schedule-table-frame {
    padding-left: 40px;
    padding-right: 30px;
}
.schedule-table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    margin-top: 20px;
}
.schedule-table td {
    border: 1px solid #f5f5f5;
}
.schedule-table thead th {
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 5px solid #f5f5f5;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
}
.schedule-table thead th:first-child,
.schedule-table tbody td:first-child {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    /*   background: green;*/
    position: sticky;
    position: -webkit-sticky;
    left: 0;
    text-align: left;
}
.schedule-table thead th:not(:first-child),
.schedule-table tbody td:not(:first-child) {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}

.schedule-table thead th.today,
.schedule-table tbody td.today {
    position: relative;
}
.schedule-table thead th.today:before,
.schedule-table tbody td.today:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var( --basic-color-8);
    z-index: -1;
}
.schedule-table tbody td:first-child {
    padding: 10px;
    line-height: 0;
    font-size: 16px;
    vertical-align: top;
}
.schedule-table tbody td:not(:first-child) {
    padding: 0;
    line-height: 0;
    vertical-align: top;
    font-size: 14px;
}
.schedule-table tbody tr td {
    position: relative;
}
.schedule-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid var(--basic-color-4);
}
.schedule-table thead tr th {
    border-bottom: 1px solid var(--basic-color-4);
}
.schedule-table thead th:not(:last-child) {
    border-right: 1px solid var(--basic-color-4);
}
.schedule-table tbody td:not(:last-child) {
    border-right: 1px solid var(--basic-color-4);
}

.scheduleSetDate {
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 2px solid #ebeef2;
    font-size: 15px;
    color: #74808c;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

.scheduleEventItem:hover .event-options {
    display: block;
}

.event-options {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--basic-color-1);
    opacity: 0.9;
}
.scheduleEventItem.null:hover .event-options {
    background: var(--basic-color-2);
}
.event-options-frame {
    margin: auto;
    display: table;
    margin-top: 8px;
}
.event-item {
    width: 35px;
    height: 35px;
    float: left;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    cursor: pointer;
}

.scheduleEventItem.null:hover .event-options .event-item i {
    color: #fff;
}

.event-item i {
    text-align: center;
    font-size: 20px;
    line-height: 31px;
    color: var(--basic-color-3);
}
.event-item:hover i {
    color: #fff;
}

.scheduleEventItem {
    position: relative;
    border: 0 solid transparent;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    height: 50px;
    padding: 16px;
    margin: 10px;
    font-size: 18px;
    line-height: 18px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.scheduleEventItem.work:before {
    content: '';
    position: absolute;
    left: -46px;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;

    background: -webkit-repeating-linear-gradient(
            145deg,
            #239e4c 1px,
            #209649 2px,
            #209649 11px,
            #239e4c 12px,
            #239e4c 20px
    );
    background: repeating-linear-gradient(
            -55deg,
            #239e4c 1px,
            #209649 2px,
            #209649 11px,
            #239e4c 12px,
            #239e4c 20px
    );

    -webkit-animation-name: MOVE-BG;
    -webkit-animation-duration: 1.6s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    animation-name: MOVE-BG;
    animation-duration: 1.6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.scheduleEventItem.null {

    /*     position: absolute;
         top: 0;
         right: 0;
         left: 0;
         bottom: 0;*/
}
.scheduleEventItem.leave:before {
    content: '';
    position: absolute;
    left: -46px;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;

    background: -webkit-repeating-linear-gradient(
            145deg,
            #666666 1px,
            #5e5e5e 2px,
            #5e5e5e 11px,
            #666666 12px,
            #666666 20px
    );
    background: repeating-linear-gradient(
            -55deg,
            #666666 1px,
            #5e5e5e 2px,
            #5e5e5e 11px,
            #666666 12px,
            #666666 20px
    );

    -webkit-animation-name: MOVE-BG;
    -webkit-animation-duration: 1.6s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    animation-name: MOVE-BG;
    animation-duration: 1.6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.scheduleEventItem.sick:before {
    content: '';
    position: absolute;
    left: -46px;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;

    background: -webkit-repeating-linear-gradient(
            145deg,
            #A01511 1px,
            #86110e 2px,
            #86110e 11px,
            #A01511 12px,
            #A01511 20px
    );
    background: repeating-linear-gradient(
            -55deg,
            #A01511 1px,
            #86110e 2px,
            #86110e 11px,
            #A01511 12px,
            #A01511 20px
    );

    -webkit-animation-name: MOVE-BG;
    -webkit-animation-duration: 1.6s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    animation-name: MOVE-BG;
    animation-duration: 1.6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.scheduleEventItem.other:before {
    content: '';
    position: absolute;
    left: -46px;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;

    background: -webkit-repeating-linear-gradient(
            145deg,
            #8e89a0 1px,
            #807b90 2px,
            #807b90 11px,
            #8e89a0 12px,
            #8e89a0 20px
    );
    background: repeating-linear-gradient(
            -55deg,
            #8e89a0 1px,
            #807b90 2px,
            #807b90 11px,
            #8e89a0 12px,
            #8e89a0 20px
    );

    -webkit-animation-name: MOVE-BG;
    -webkit-animation-duration: 1.6s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    animation-name: MOVE-BG;
    animation-duration: 1.6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


@-webkit-keyframes MOVE-BG {
    from {
        -webkit-transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(46px);
    }
}

@keyframes MOVE-BG {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(46px);
    }
}


.loading {
    height: auto;
    text-align: center;
    color: #4c3f2e;
    position: relative;
    overflow: hidden;
    padding: 1rem;
    margin: 3%;
    font-style: italic;
}

.animationBg {
    position: absolute;
    left: -46px;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;

    background: -webkit-repeating-linear-gradient(
            145deg,
            #f8e9db 1px,
            #fff5ed 2px,
            #fff5ed 11px,
            #f8e9db 12px,
            #f8e9db 20px
    );
    background: repeating-linear-gradient(
            -55deg,
            #f8e9db 1px,
            #fff5ed 2px,
            #fff5ed 11px,
            #f8e9db 12px,
            #f8e9db 20px
    );

    -webkit-animation-name: MOVE-BG;
    -webkit-animation-duration: 1.6s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    animation-name: MOVE-BG;
    animation-duration: 1.6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.day-style-all {
    font-size: 15px;
    color: var(--basic-color-3);
}
.day-table {
    margin: auto;
    display: table;
}
.day-style {
    font-size: 35px;
    line-height: 35px;
    font-weight: 600;
    color: var(--basic-color-3);
    float: left;
}
.day-name {
    font-size: 16px;
    font-weight: 300;
    color: var(--basic-color-3);
    float: left;
    margin-left: 5px;
}
.day-style-all.today .day-style,
.day-style-all.today .day-name {
    color: var(--basic-color-1);
}
.schedule-person-tab .avatar img,
.schedule-person-tab .avatar {
    width: 50px;
    height: 50px;

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.schedule-person-tab .namesurname {
    font-size: 16px;
    padding: 10px;
    font-weight: 600;
}
.schedule-person-tab .position {
    font-size: 13px;
    padding: 10px;
}

/* fullcalendar */
.fc-day-header {
    padding: 10px !important;
}

.fc-unthemed th, .fc-unthemed td, .fc-unthemed thead, .fc-unthemed tbody, .fc-unthemed .fc-divider, .fc-unthemed .fc-row, .fc-unthemed .fc-content, .fc-unthemed .fc-popover, .fc-unthemed .fc-list-view, .fc-unthemed .fc-list-heading td {
    border-right: 0px !important;
}

.fc-unthemed th:first-child, .fc-unthemed td:first-child {
    border-left: 0px !important;
}
.fc-unthemed td:first-child {
    border-top: 0px !important;
}
.fc-unthemed th:first-child {
    border-top: 0px !important;
}
.fc-widget-content {
    border-bottom: 0px !important;
}
.fc-event {
    border-radius: 5px !important;
    padding: 5px !important;
}
.fc-content .fc-time {
    font-size: 15px !important;
}
.fc-content .fc-time .fc-title {
    padding-left: 10px;
    font-weight: bold;
}
.fc-content .fc-desc {
    margin-top: 5px;
    line-height: 18px;
}


.fc-button,
.fc-today-button {
    border-color: #fff !important;
    background: #fff !important;
    height: 44px !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    border-radius: 5px !important;
    cursor: pointer;
    color: #7f8d9e !important;
    font-weight: 400;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14px;
    text-align: center;
    font-family: "Open Sans";
    line-height: 42px;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    margin-right: 10px;
}
.fc-button.fc-state-active {
    background: var(--basic-color-1a) !important;
    color: #fff !important;
}

.fc-left {
    display: table-row;
}
.fc-left button {
    display: table-cell;
}
.fc-left button.fc-next-button {
    margin-left: 10px;
}
.fc-left .btn-date.solid {
    display: table-cell !important;
}
.t-table.fc-table {
    float: right;
    margin-right: -10px;
}
.fc-view-container {
    margin-top: 20px;
}
.fc-unthemed td.fc-today,
.fc-today {
    background: var( --basic-color-8) !important;
}
.fc-today .day-style,
.fc-today .day-name{
    color: var(--basic-color-1) !important;
}
.fc-unthemed td {
    border-color: var(--basic-color-4) !important;
}
.fc-reception-header {
    font-size: 18px;
    font-weight: 400;
}

.headlist.logout {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

/* wysiwyg editor */
.note-editable {

}

.note-editable ul li {
    font-size: 14px;
    line-height: 20px;
}
.note-editable ul {
    padding-left: 30px;
}
.note-editable ul li:before {
    background-color: #000;
    content: "";
    display: inline-block;
    margin-right: 7px;
    margin-bottom: 2px;
    height: 5px;
    width: 5px;
}