﻿html {
    position: relative;
    min-height: 100%;
    font-size: 14px; /* sans-serif;*/
}

body {
    margin-bottom: 80px;
    height: 100%;
}


html, body {
    height: 100%;
}

.container, .main-content {
    max-width: 95%; /*1400px;*/
    height: 100%;
    min-width: 90%;
}

.db-watermark {
    position: fixed;
    bottom: 100px;
    left: 5px;
    opacity: .6;
    z-index: 99;
    color: white;
    background-color: red;
    padding: 5px 10px;
    font-size: 2em;
}

/* #region Footer styles */
.footer {
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
    font-size: 0.85em;
}
/* #endregion */

/* #region custom Kendo UI styles */
#configure {
    display: none;
}

.k-panelbar .k-content {
    padding: 20px;
}

p .k-button {
    margin: 0 15px 0 0;
}

.k-state-active .label {
    font-size: 1em;
}


.navbar-header {
    width: 100%;
}

.footer {
    height: 60px;
}

.k-menu .k-item,
.k-menu .k-link {
    width: 100%;
}

.k-menu .k-link {
    box-sizing: border-box;
}

.k-grid {
    height: 95%;
}

.k-grid .k-grid-short {
    max-height: 275px;
}

.k-window {
    box-shadow: 5px 5px 10px #888888;
}

.k-window-titlebar {
    background-color: #ced3db;
}

/*$("[data-uid=f51f5686-6078-42be-ad9a-92d4748bc72b]").find("[role=gridcell]:not(.k-command-cell)")*/
.grid-deleted-row [role=gridcell]:not(.k-command-cell) {
    text-decoration: line-through;
}

.k-toolbar .k-editor-dropdown .k-insertHtml {
    width: 15em;
}

.k-grid .k-toolbar .k-searchbox {
    width: 20em;
}

.k-grid .k-toolbar .k-dropdownlist {
    width: 15em;
}


.k-grid table {
    min-width: 100%;
}
/* #endregion */

.form-group {
    margin-bottom: 1rem;
}
@media (max-width: 767px) {
    #responsive-panel {
        transition: all linear .2s;
    }

    #configure {
        display: block;
        float: right;
    }

    .k-rpanel {
        width: 100%;
    }

    .k-rpanel-expanded {
        margin-top: 1rem;
    }

    .navbar-header {
        width: 100%;
    }

    .footer {
        height: 60px;
    }

    .k-menu .k-item,
    .k-menu .k-link {
        width: 100%;
    }

    .k-menu .k-link {
        box-sizing: border-box;
    }
}


.nav-profile-photo {
    width: 32px;
}

div.scrollable {
    width: 100%;
    height: 85%;
    max-height: 250px;
    margin: 0;
    padding: 0;
    overflow: auto;
}

.wnd-command-buttons {
    bottom: 1em;
    left: 1em;
    padding: 10px;
    width: calc(100% - 2em);
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 64px;
    right: 0;
    background-color: #5798be;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    padding-bottom: 60px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    .sidebar div.sidebar-group {
        margin: 15px;
        display: block;
        transition: 0.3s;
        color: #f8f9fa;
        background-color: transparent;
        background-image: none;
        border: 1px solid;
        border-color: #f8f9fa;
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
        line-height: 1.5;
        border-radius: 0.3rem;
        font-weight: 400;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
    }

        .sidebar span .sidebar-content-header {
            font-size: 1.25rem;
        }

    .sidebar span .sidebar-content {
        font-size: 1rem;
        white-space: pre-line;
    }

    .sidebar span .sidebar-content-la {
        font-size: 1rem;
        text-align: left;
        white-space: pre-line;
    }

    .sidebar a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #ced3db;
        display: block;
        transition: 0.3s;
    }

        .sidebar a:hover {
            color: #f1f1f1;
        }

    .sidebar .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

.openbtn {
/*    font-size: 20px;*/
    cursor: pointer;
/*    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;*/
}

    .openbtn:hover {
        background-color: #444;
    }

/*.tools-sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #888888;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/

/*    bottom: 1em;
    left: 1em;
    padding: 10px;
    width: calc(100% - 2em);
    background-color: white;
*/
/*}*/

.command-buttons {
    position: fixed;
    bottom: 1em;
    left: 1em;
    padding: 10px;
    width: calc(100% - 2em);
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.new-case-button {
    width: 175px;
    margin-right: 35px;
}

.command-buttons-spacer {
    height: 65px;
}

.row [class*="col-"] {
    /*padding-bottom: 4em;*/
}

.countdown-display {
    margin-left: 15px;
    margin-left: 15px;
    border-style: solid;
    border-color: gray;
    border-width: thin;
    border-spacing: 5px;
    padding-left: 7px;
    padding-right: 7px;
}

    .countdown-display.countdown-timeup {
        color: red;
        font-weight: bold;
    }

/* #region Notification styles */

#appNotification {
    font-size: medium;
    background-image: linear-gradient(rgba(255,255,255,.25) 0,rgba(255,255,255,0) 100%);
}

.k-notification h5 {
    padding: 10px 10px 5px 60px;
    font-size: 1.5em;
    line-height: normal;
}

.k-notification img {
    margin: 5px;
    float: left;
}

.k-notification-success {
    background-color: #3ea44e;
    color: #fff;
    border-color: #3ea44e;
}

.k-notification-error {
    background-color: #d92800;
    color: #fff;
    border-color: #d92800;
}

.k-notification-info {
    background-color: #0026d9;
    color: #fff;
    border-color: #0026d9;
}

.notification-lar {
    width: 300px;
    min-height: 75px;
    background-color: #a6a9ac;
    color: #fff;
    text-align:center;    
}

/*.k-notification.k-notification-info {
    padding: 0px;
}
*/
.notification-lar span {    
    font-size: 1em;
    line-height: 5em;
}
/* #endregion */

.notification-container {
    position: relative;
}

.notification-count {
    position:absolute;
    left: 30px;
    top: 20px;
}

.notification-row {
    min-height: 50px;
}

.row .notification-col {
    padding-bottom: 1em;
}

.page-title {
    font-size: 1.5em;
}

.status-ap-active {
    background-color: #94E185;
    border-color: #78D965;
    box-shadow: 0px 0px 4px 1px #94E185;
}

.status-ap-away {
    background-color: #FFC182;
    border-color: #FFB161;
    box-shadow: 0px 0px 4px 1px #FFC182;
}
  
.status-ap-offline {
    background-color: #C9404D;
    border-color: #C42C3B;
    box-shadow: 0px 0px 4px 1px #C9404D;
}

.status {
    content: ' ';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    border: 1px solid #000;
    border-radius: 10px;
}

/*.upload-control-wrapper {
    display: none;
}*/

.dropZoneElement {
    position: relative;
    display: inline-block;
    background-color: #f8f8f8;
    border: 1px solid #c7c7c7;
    width: 100%;
    height: 100px;
    text-align: center;
    align-content: center;
}

.attachment-wrapper {
    text-align: center;
}

.textWrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    font-size: 24px;
    line-height: 1.2em;
    font-family: Arial,Helvetica,sans-serif;
    color: #000;
}

.dropImageHereText {
    color: #2a2929;
    text-transform: uppercase;
    font-size: 12px;
}

.attachment-wrapper:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}