﻿:root {
    --kendo-font-size: 14px; /* default is usually 14px */
}

.k-chart text, .k-stockchart text, .k-gauge text {
    font-size: 12px !important; /* pick your size */
}

/* Tooltips are HTML, not SVG */
.k-chart .k-tooltip, .k-stockchart .k-tooltip, .k-chart-tooltip {
    font-size: 16px !important;
}

.container {
    width: 98%;
}

@media (min-width: 1200px) {
    .container {
        width: 96%;
    }
}
@media (min-width: 1400px) {
    .container {
        width: 94%;
    }
}
@media (min-width: 1600px) {
    .container{
        width: 94%;
    }
}

@media (min-width: 1800px) {
    .container{
        width: 92%;
    }
}

@media (min-width: 2000px) {
    .container{
        width: 90%;
    }
}


.w30 {width:30em;}
.w100p { width:100%;}

.SSIBody {
    padding-top: 48px;
    padding-bottom: 48px;
    }

#AppPageContainer {
    margin-top:48px;
}

.tw-app-menu {
    z-index: 1100;
    min-width: 300px; 
    min-height:600px;
}

.highlight {
    background-color: yellow;
}

.tw-app-menu {z-index:1100;}
.navbar-fixed-top {
    z-index: 1055;
    height: 42px;
}
.tw-app-page {margin-top:8px;}

a {
    color: #156fa8; /* for contrast, override bootstrap */
}

.tw-app-menu .row {
    margin-left: 3px;
    margin-right: 3px
}
.col-nopadding {
    padding:0px;
}

h1 {font-size:30px;}
h2 {font-size:28px;}

.modal {top:48px !important; z-index:1070;}
.modal-backdrop {z-index:1069;}
.dropdown-inline { display:inline; margin-bottom:6px;}
    .dropdown-inline h3, .dropdown-inline h4 {
        display: inline;
        margin: 0;
    }

/*.dropdown-menu {max-height:600px; overflow-y:auto;}*/

 .word-wrap{
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;

}

.ctr {text-align:center}

.open > .dropdown-menu {z-index:1060;}

.nav>li>a {padding-top:6px; padding-bottom:6px;}

.form-group {margin-bottom:4px;}

select.form-control {
    padding: 6px 3px;
}

.twHeaderRow h3 {
    margin: 0 0 0 0;
}
.twHeaderRow > div {margin-top:8px; margin-bottom:10px}

a.link-simple { text-decoration:none; }

 .tw-nav-header {
        margin-top: 10px;
        margin-bottom: 6px;
    }

.tw-select-item {
    padding: 6px;
    border-bottom: 1px solid SteelBlue;
    cursor: pointer;

}
.tw-select-item:hover {
    background-color: revert;
    outline: rgba(0, 123, 255, 0.3) solid 3px;
    outline-offset: -3px;
    color: #000;
}
.tw-select-item a {
    cursor: pointer;
}
    
.k-state-selected span.text-muted {
    color: #000;
}

.tw-button-menu .nav > li > a {
    padding: 6px 10px;
}
.tw-button-menu {
    margin-bottom:6px;
}

.tw-button-menu h4 {
    margin:0px;padding: 6px 10px;
}

.tw-item-title {
    margin:0px; padding: 6px 10px;
    /*white-space:nowrap; overflow-x:hidden;*/
}

@media only screen and (max-width: 768px) {
    .tw-nav-header {
        margin-top: 5px; margin-bottom: 3px;
    }
}

.col-chk {  opacity:.5; 
   width:100%; padding-top:3px; padding-bottom:3px;
}

@media only screen and (max-width: 768px) {

    .headerSpace {
        display: none;
    }
}

a.link-disabled {
    pointer-events:none; 
    cursor:not-allowed; 
    color:grey !important;
}

span.stars-off {
    display:inline-block; vertical-align:middle; width: 63px; height: 16px; background: url(../Images/star-rating-16.png) 0 -16px;
}

span.stars-on {
    display: inline-block; height: 16px; background: url(../Images/star-rating-16.png) 0 0px;
}

.rotate {
    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

/*============  RESPONSIVE PANEL / LEFT MENU =================*/
.menu-sidebar .well {margin-bottom:3px;}

.menu-sidebar{
     /*width:100%; */
     top:78px;
     min-width:inherit;
     z-index:1050;
     background-color:none !important;
     padding:4px;
}

.menu-sidebar .k-rpanel-expanded {
    z-index:1071;
}

@media (min-width: 992px) {


    .sidebar2 {
        top: 0px;
        z-index: 1049;
    }
}
    .menu-sidebar .sidebar2 {
        z-index: 999;
    }

    @media (min-width: 993px) {
        .menu-sidebar {
            overflow-y: scroll;
        }
    }

    @media (max-width: 992px) {
        .menu-sidebar {
            background: #fff;
            border-left: 1px solid #e5e5e5;
            top: 78px;
            bottom: 48px;
            max-width: 320px;
            max-height: 80%;
        }

        .menu-sidebar.k-rpanel-expanded {
            box-shadow: 0 0 10px rgba(0,0,0,.3);
        }
    }


    @media screen and ( min-height: 400px ) {
        .menu-sidebar:not(.k-rpanel-expanded) {
            height: 280px;
        }
    }

    @media screen and ( min-height: 500px ) {
        .menu-sidebar:not(.k-rpanel-expanded) {
            height: 380px;
        }
    }

    @media screen and ( min-height: 600px ) {
        .menu-sidebar:not(.k-rpanel-expanded) {
            height: 480px;
        }
    }

    @media screen and ( min-height: 700px ) {
        .menu-sidebar:not(.k-rpanel-expanded) {
            height: 580px;
        }
    }

    @media screen and ( min-height: 800px ) {
        .menu-sidebar:not(.k-rpanel-expanded) {
            height: 680px;
        }
    }

    @media screen and ( min-height: 900px ) {
        .menu-sidebar:not(.k-rpanel-expanded) {
            height: 780px;
        }
    }

    @media screen and ( min-height: 1000px ) {
        .menu-sidebar:not(.k-rpanel-expanded) {
            height: 880px;
        }
    }

    @media screen and ( min-height: 1200px ) {
        .menu-sidebar:not(.k-rpanel-expanded) {
            height: 1080px;
        }
    }

    .table-settings {
        width: 100%;
    }

        .table-settings td {
            padding: 2px;
        }


    .disabledItem {
        color: #777777
    }

    .GRANTED {
        background-color: #c3f6c3; /* lightgreen;*/
    }

.GRANTED-Cancel, .GRANTED-CANCEL, .CANCELREQUESTED {
    background-color: yellowgreen;
}

    .REQUESTED {
        background-color: yellow;
    }


    .DENIED {
        background-color: #fc9d9d; /*lightcoral;*/
    }

    .CANCELLED {
        background-color: orange;
        font-weight: bold;
    }

    .OVER_BALANCE {
        color: red;
        font-weight: bold;
    }


        .GRANTED a, .GRANTED-Cancel a, .GRANTED-CANCEL a, .CANCELLED a, .OVER_BALANCE a, .DENIED a, .REQUESTED a, .CANCELREQUESTED a {
            font-weight: bold;
            color: black;
        }


    /* ============= CPACK ======================*/
    .twMsg {
        margin-bottom: 1px;
        padding: 3px;
        border-bottom: 1px solid #efefef;
    }

    .twMsgLink:hover {
        text-decoration: none;
    }

    .min-bottom {
        margin-bottom: 2px;
    }


    @media print {


        .container {
            width: 100%;
        }

        .pagebreak {
            page-break-before: always;
        }
    }

    /* Add to remove scrollbar from popups */
    .modal .nav-tabs form {
        width: 97%;
    }

    @media only screen and (max-width: 480px) {
        .tab-content.well {
            padding: 4px;
        }
    }

    .modal-footer span.label {
        white-space: pre-wrap;
    }


    .modal {
        overflow-y: auto;
    }

    .popover {
        max-width: 36em;
    }

    /* =============== /EMP/AVAIL  ===========*/

    .not-enabled {
        background-color: LightGray;
    }

    /* =========== EMP/SCH ================ */


    .swapCount {
        color: darkorange;
        font-size: .84em;
        font-weight: bold;
        border: 1px solid darkorange;
        border-radius: 3px;
        padding: 0px 1px 0px 1px;
    }

    .shiftCount {
        color: cornflowerblue;
        font-size: .84em;
        font-weight: bold;
    }

    .leaveDay {
        color: forestgreen;
        font-size: .84em;
        font-weight: bold;
    }

    .partialLeaveDay {
        color: darkseagreen;
        font-size: .84em;
        font-weight: bold;
    }

    .directedToMe {
        color: red;
        font-size: .84em;
        font-weight: bold;
    }

    .leave {
        background-color: navajowhite;
    }

    .disabled {
        background-color: #d7d7d7;
    }

    .myShift {
        background-color: yellow;
    }

    .emptyShift {
        background-color: lightpink;
    }



    .truncate-title {
        display: inline-block;
        max-width: 240px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .avlupd {
        color: rebeccapurple;
        font-weight: bold;
        float: right;
        font-size: .9em;
    }

    /* =========== CPACK ================== */
    .item-active {
        background-color: #d9edf7;
    }

    a.linky {
        color: #0065c8;
        cursor: pointer;
    }

    .tw-inline {
        display: inline-block;
    }

    .k-pager-md {
        padding-inline: 3px;
        padding-block: 3px;
    }

    /* ACCESSIBILITY OVERRIDES */
    .label {
        font-size: 12px;
    }


        .label.label-warning {
            background-color: #DF8A13;
        }

    .k-pager-numbers .k-button-text {
        color: #000;
    }

    .badge {
        background-color: #555;
    }

    .badge-primary, .label-primary, .progress-bar-info {
        background-color: #156fa8;
        /*#2f4d6d;*/
    }

    .badge-darkred, .badge-danger, .label-danger, .btn-danger, .progress-bar-danger {
        background-color: #C70039;
    }

    .badge-success, .label-success, .btn-success, .progress-bar-success {
        background-color: #347934;
    }

    .badge-warning, .label-warning, .btn-warning, .progress-bar-warning {
        /*background-color: #c87c11;*/
        color: #000;
        background-color: #ffc107; /* #f0ad4e;  orange;*/
    }

    .btn-danger {
        /*color: black;*/
    }

    .k-grid .k-table-tbody > .k-table-row:not(.k-detail-row):hover, .k-grid .k-table-tbody > .k-table-row:not(.k-detail-row).k-hover {
        background-color: #fafafa;
    }

    a.link-darkred, span.text-darkred {
        color: #C70039;
    }

    .text-light {
        color: gainsboro;
    }

    .text-success2 {
        color: #347934;
    }

    h1.h1-em1, h1.head-inline, h2.head-inline, h3.head-inline, h4.head-inline {
        font-size: 1.1em;
        font-weight: bold;
        margin: 0px;
        display: inline;
    }

    .h2-head {
        font-size: 1.2em;
        font-weight: normal;
        color: black;
        margin-top: 0px;
    }

    .h2-bhead {
        font-size: 1.2em;
        font-weight: bold;
        color: black;
        margin-top: 0px;
    }

    .h3-head {
        font-size: 1.1em;
        font-weight: normal;
        color: black;
        margin-top: 0px;
    }

    .h3-bhead {
        font-size: 1.1em;
        font-weight: bold;
        color: black;
        margin-top: 0px;
    }

    .h3-normal {
        font-size: 1em;
        font-weight: normal;
        color: black;
        margin-top: 0px;
    }

    .badge.bg-info {
        color: #000;
        background-color: #5bc0de;
    }

    .bg-lightgreen {
        background-color: #ccffcc;
    }

    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }


    .dropdown-menu {
        max-height: 80vh;
        overflow-y: scroll;
    }

    /* SHIMS FOR Bootstrap 5.3 */
    .progress-bar-info {
        background-color: #0d6efd;
        border-right: .5px solid darkblue;
    }

    .mb-0 {
        margin-bottom: 0;
    }

    .progress {
        height: 1.2rem;
        font-size: .75rem;
        display: flex;
        margin-bottom: 0px;
    }

    .progress-bar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        text-align: center;
        white-space: nowrap;
    }


    .text-primary2 {
        color: #2f4d6d; /* #375a7f;*/
    }

    .text-purple {
        color: mediumslateblue;
    }

    .text-darkred {
        color: #C70039;
    }

    .text-warn {
        color: #FF6600;
    }

.bg-flag {
    background-color: #fff;
    font-weight: bold;
    margin-left: 3px;
    border: 1px solid #ccc;
}

/* CHAT */
.chat-panel {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 175px);
}

.chat-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

    .chat-panel .panel-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .chat-panel .row {
        flex: 1;
        display: flex;
        min-height: 0;
    }

        .chat-panel .row > [class^="col-"] {
            display: flex;
            flex-direction: column;
            min-height: 0;
        }

.empinfo {
    cursor: pointer;
}

.chat-messages {
    overflow-y: auto;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    min-height: 0;
}

.chat-message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    background-color: #f8f8f8;
    max-width: 85%;
}

.my-message {
    margin-left: auto;
    background-color: #e3f2fd;
}

.my-blocked-message {
    margin-left: auto;
    background-color: #f8d7da;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.message-time {
    font-size: 0.8em;
    color: #888;
}

.message-owner {
    color: #888;
}

.message-content {
    white-space: pre-wrap;
    word-break: break-word;
    color:#000;
}

.item-active {
    background-color: #e9ecef;
}

.participant-item {
    padding: 8px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-close-red {
    border: none;
    background: transparent;
    color: #dc3545;
    padding: 0 4px;
    font-size: 1.1em;
    line-height: 1;
}

    .btn-close-red:focus {
        outline: none;
        box-shadow: none;
    }

    .btn-close-red:hover {
        color: #a71d2a;
        background: transparent;
    }

    .fw-bold{
        font-weight:bold;
    }