.header-container {
    padding: 20px 0;
    background-color: #e3f2fd;
}

.header-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
            align-items: center;

    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    margin-bottom: 10px;
}

.code-form input {
    height: 40px;
    border: 0;
    border-radius: 5px;
}

.code-form {
    width: 100%;  
    max-width: 170px;
}

.code-form .form-group {
    margin: 0;
}

.code-form .error {
    margin-bottom: 0;
}

.main-container {
    padding: 60px 0;
}

.current-date {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.workers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.worker {
    padding: 20px 0;
    overflow-x: auto;
}

.worker + .worker {
    border-top: 1px solid #c9cdd0;
}

.worker-form {
    margin: 0 -5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
            flex-direction: row;
}

.worker-column {
    padding: 0 5px;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}

.worker-item {
    width: 205px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}

.worker-actions {
    width: 70px;
    padding-top: 5px;
    margin-right: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}
.worker-actions a {    
    width: 30px;
    height: 30px;
    color: #5d99c6;
    border: 1px solid #5d99c6;
    font-size: 14px;
    border-radius: 50%;
    margin-right: 5px;
    text-decoration: none;
    -webkit-transition: color .2s ease, background-color .2s ease;
    transition: color .2s ease, background-color .2s ease;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.worker-actions a:hover {
    background-color: #5d99c6;
    color: #fff;
}

.worker-name {
    color: #75a478;
    font-weight: 700;
    min-width: 130px;
}

.worker-name .w-name {
    font-size: 20px;
    padding: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.worker-input input[type="radio"] {
    display: none;
}

.worker-input label {    
    border: 2px solid;    
    border-radius: 5px;
    font-weight: 700;
    padding: 6px 10px;
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
    background-color: #fff;
    cursor: pointer;
    -webkit-transition: color .2s ease, background-color .2s ease, border-color .2s ease, -webkit-box-shadow .2s ease;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, -webkit-box-shadow .2s ease;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, -webkit-box-shadow .2s ease;
}

.worker-input label:hover {
    -webkit-box-shadow: 0 0 0 3px currentcolor;
            box-shadow: 0 0 0 3px currentcolor;
    border-color: transparent;
}

.worker-input input:checked + label:hover {
    -webkit-box-shadow: 0 0 0;
            box-shadow: 0 0 0;
}

.worker-input input:checked + label {
    color: #212529;
    cursor: default;
}

.worker-input-start label {
    color: #75a478;
    border-color: #a5d6a7;    
}

.worker-input-start input:checked + label {
    background-color: #a5d6a7;
    border-color: transparent;   
}

.worker-input-dinner label {
    color: #cbc26d;
    border-color: #fff59d;
}

.worker-input-dinner input:checked + label {
    background-color: #fff59d;
    border-color: transparent;   
}

.worker-input-smoke label {
    color: #ba6b6c;
    border-color: #ef9a9a;
}

.worker-input-smoke label svg {    
    height: 16px;
}

.worker-input-smoke svg path {
    fill: #ba6b6c;
}

.worker-input-smoke input:checked + label {
    background-color: #ef9a9a;
    border-color: transparent;   
}

.worker-input-smoke input:checked + label svg path {
    fill: #212529;
}

.worker-input-pause label {
    color: #5d99c6;
    border-color: #90caf9;
}

.worker-input-pause input:checked + label {
    background-color: #90caf9;
    border-color: transparent;   
}

.worker-input-stop label {
    color: #808e95;
    border-color: #b0bec5;
}

.worker-input-stop input:checked + label {
    background-color: #b0bec5;
    border-color: transparent;   
}

.worker-time {
    font-weight: 700;
    color: #75a478;
    text-align: center;
}

.worker-schedule {
    color: #5d99c6;
    line-height: 1.2;
}

.worker-schedule .w-sc-title {
    font-weight: 700;
}

@-webkit-keyframes cam-notify {
    0% {
        -webkit-transform: translateX(100%);
                transform: translateX(100%);
    }
    2% {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }    
    98% {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }
    100% {
        -webkit-transform: translateX(100%);
                transform: translateX(100%);
    }
}

@keyframes cam-notify {
    0% {
        -webkit-transform: translateX(100%);
                transform: translateX(100%);
    }
    2% {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }    
    98% {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }
    100% {
        -webkit-transform: translateX(100%);
                transform: translateX(100%);
    }
}

.cam-notification {
    position: fixed;
    top: 100px;
    right: 0;
    z-index: 1;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    border-left: 4px #ffd925 solid;
    padding: 18px 25px;
    width: auto;
    max-width: 300px;
    background-color: #fff;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);

    -webkit-animation-name: cam-notify;

            animation-name: cam-notify;
    -webkit-animation-duration: 5s;
            animation-duration: 5s;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
}

.enter-code-modal .modal-header {
    padding: 0;
    border-bottom: 0;
}

.enter-code-modal .close {
    position: absolute;
    top: 5px;
    right: 10px;
    z-index: 1;    
}

.enter-code-modal .close:focus {
    outline: none;
}

.enter-code-modal .modal-body {
    padding: 30px;
}

.enter-code-modal label {
    font-weight: 700;
}

.enter-code-modal .form-group {
    margin: 0;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 300px;
    }
}


.sign-out {
    margin-left: auto;
    color: #5d99c6;
    text-decoration: none;
}

.sign-out:hover {
    text-decoration: none;
}

@media (min-width: 768px) {
    .header-inner {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
    }

    .logo {
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .worker {
        overflow-x: visible;
    }
}





/*========================================
USER STATS PAGE
=========================================*/

.user-stats-page .notification-msg {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    border-left: 4px #ffd925 solid;
    padding: 18px 25px;
    background-color: #fff;
    margin-bottom: 40px;
}

.user-stats-page .current-date-period {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.user-stats-page .user-main-stats-wrapper {
    margin-bottom: 40px;
    text-align: center;
}

.user-stats-page .user-main-stats-inner {
    height: 100%;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
            justify-content: center;
}

.user-stats-page .user-stats-title {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.user-stats-page .user-stats-data {
    font-size: 20px;
    font-weight: 700;
}

.user-stats-page .user-tabs {
    font-size: 18px;
}

.user-stats-page .user-tab-content {
    padding: 20px 0;
}

.user-stats-page .table {
    margin-bottom: 50px;
}

.user-stats-page .table-striped tbody tr:nth-of-type(odd) {
    background-color: #eef7fe;
}

.user-stats-page .table th {
    border-top: 0;    
}

.user-stats-page .table td {
    border-top: 1px solid #e0edf7;
    position: relative;
}

.user-stats-page .table thead th {
    border-bottom: 2px solid #e0edf7;
}

.user-stats-page .user-detailed-table > tbody > tr > td:first-child {
    font-weight: 700;
}

/*.user-stats-page .user-detailed-table > tbody > tr {
    display: none;
}*/

.user-stats-page .user-detailed-table > tbody > .total-row {
    display: table-row;
}

.user-stats-page .user-detailed-table.active > tbody > tr {
    display: table-row;
}

.user-stats-page .user-detailed-table > tbody > .green-row {
    color: #1a7e20;
}

.user-stats-page .user-detailed-table > tbody > .red-row {
    color: #d13c3e;
}

.user-stats-page .toggle-detailed {
    color: #5d99c6;
    text-decoration: none;
    border-bottom: 1px dotted currentcolor;
}

.user-stats-page .toggle-detailed:hover {
    color: #007bff;
}

.user-stats-page .today-tab .table > thead > tr > th,
.user-stats-page .today-tab .table > tbody > tr > td  {
    width: 25%;
}

.user-stats-page .chart-tab .day-off {
    color: #1a7e20;
}

.user-stats-page .chart-tab .highlight {
    background-color: #a5d6a7;
    border-top: 1px solid #93c896;
}

.user-stats-page .stats-tab .list-group-item {
    padding: 0;    
}

.user-stats-page .stats-tab .stats-date-wrapper {
    padding: .75rem 1.25rem;
}

.user-stats-page .stats-tab .collapse-content {
    padding: .75rem 0;
}

.user-stats-page .stats-tab .stats-date-wrapper button {
    font-weight: 700;
    text-decoration: none;
    padding: 0;
    color: #495057;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.user-stats-page .stats-tab .list-group-item:first-child .stats-date-wrapper {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.user-stats-page .stats-tab .activated .stats-date-wrapper {
    background-color: #5d99c6;
    color: #fff;
}

.user-stats-page .stats-tab .stats-date-wrapper button span {
    color: #5d99c6;
    margin-right: 15px;
}

.user-stats-page .stats-tab .stats-date-wrapper button .stats-date-wrapper__inner {
    width: 100%;
    margin-right: 0;
    text-align: left;
}

.user-stats-page .stats-tab .stats-date-wrapper button .schedule {    
    font-size: 12px;
}

.user-stats-page .stats-tab .activated .stats-date-wrapper button span {
    color: #fff;
}


.user-stats-page .stats-tab .activated {
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.user-stats-page .stats-tab .activated .stats-date-wrapper button {    
    color: #fff;
}

.ill-btn {
    display: inline-block;
    color: #ba6b6c;
    border-color: #ef9a9a;
    border: 2px solid;
    border-radius: 5px;
    font-weight: 400;
    padding: 1px 10px;        
    margin: 0;
    text-align: center;
    background-color: #fff;
    font-size: 16px;
    margin-left: 30px;
    text-decoration: none;
}

.ill-btn.active,
.ill-btn:hover {
    background-color: #ef9a9a;
    border-color: transparent;
    color: #212529;
    text-decoration: none;
}

.ill-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #d13c3e;
}

.rec_before_after {
    color: #007bff;
    font-size: 20px;    
}

.message_form {
    width: 100%;
    max-width: 800px;
    margin-bottom: 30px;
}

.message_form textarea {
    min-height: 80px;
}

.messages {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 800px;
    margin-bottom: 60px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.messages li {
    border-radius: 10px;    
    max-width: 640px;
    width: 100%;    
    margin-bottom: 20px;
    padding: 10px 15px;
    line-height: 1.2;
    background-color: #f5f5f5;
    margin-left: auto;
    margin-right: 0;
}

.messages li .fio {
    font-weight: 700;
}

.messages li .date {
    font-size: 14px;
    color: #999;
}

.messages .admin_message {
    background-color: #e3f2fd;
    margin-right: auto;
    margin-left: 0;
}

@media (min-width: 768px) {
    .user-stats-page .stats-tab .stats-date-wrapper button {
        display: inline-block;
    }
}

.small-txt {
    font-size: 12px;
}

.user-main-stats-inner__table {
    text-align: left;
}

.user-stats-page .user-stats-data_blue {
    color: #007bff;
}

.user-stats-page .user-stats-data_green {
    color: #1a7e20;
}

.user-main-stats-inner__numbers {
    color: #BB12FF;
    display: inline;
}
.hide-salary {display: none;}
a.show-salary {color: rgb(170, 170, 170, .75);display:inline-block;margin-left:1rem;}

.user-stats-page .show-salary .hide {display:none;}

.user-stats-page.show-salary .show-salary .show {display:none;}
.user-stats-page.show-salary .show-salary .hide {display:inline;}

/*main.show-salary .show-salary .hide {display:inline;}*/

.user-stats-page.show-salary .hide-salary,
main.show-salary .hide-salary {display:inline;}