@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #479cc8;
}

[class*="sidebar-"] .nav-treeview > .nav-item > .nav-link.active,
[class*="sidebar-"] .nav-treeview > .nav-item > .nav-link.active:hover,
[class*="sidebar-"] .nav-treeview > .nav-item > .nav-link.active:focus {
    background-color: #ffc107;
    color: #343a40;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}


.span-hover:hover {
    cursor: pointer;
    text-decoration: underline;
}

.text-hover:hover {
    cursor: pointer;
    text-decoration: underline;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/*Private chat ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
.privateChat {
    position: relative;
    border-radius: 3px;
    background: white;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    width: 113%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-top-color: #f39c12;
    padding-left: 10px;
    padding-right: 10px;
}

.privateChat h1 {
    font-size: 23px;
}

.privateChatMessages {
    padding-bottom: 20px;
    border-bottom: 1px solid #f4f4f4;
}

.message-info {
    display: inline;
    font-size: 13px;
}

.message-username {
    font-weight: 900;
    color: black;
}

.message-creationDate {
    font-size: 12px;
    font-weight: 400;
    color: #999;
    margin-left: 283px;
}

.message-text {
    background: #d2d6de;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #d2d6de;
    margin: 5px 0 0 50px;
    color: #444444;
}

.message-YourText {
    background: #d2d6de;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #d2d6de;
    margin: 5px 0 0 50px;
    color: #f39c12;
}

.CompanySystemAddModal {
    padding: 0;
    z-index: 200;
}

.CompanySystemAddModal input[type=submit] {
    margin-top: 15px;
}

/*Head-------------------------------------------------------------------------------------------------*/
.Head {
    display: table;
    position: relative;
    border-radius: 3px;
    background: white;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    width: 110%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-top-color: #f39c12;
    padding-left: 10px;
    padding-right: 10px;
}

/*Analysis settings titles-----------------------------------------------------------------------------------*/
.analysis-title {
    margin: 15px 0 5px 0;
}

/*Systems list ------------------------------------------------------------------------------------------*/
div.systems-list > div.row {
    padding: 10px;
}

.navbar-expand .navbar-nav {
    width: 100%;
}

.btn-warning {
    font-size: 14px;
    font-weight: bold;
}

.btn-danger {
    font-size: 14px;
    font-weight: bold;
}

.btn-secondary {
    font-size: 14px;
    font-weight: bold;
}


/*Body*/
.content-wrapper {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 0%), url(/img/bg.png);
    background-size: cover; /* <------ */
    background-repeat: no-repeat;
    background-position: center center;
}

.content-header {
    background: white;
}

/*--------------SCROLLBAR------------------*/
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888 !important;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

.modal-max {
    max-width: 160vh;
}

.orange_alert {
    background-color: #f39c12 !important;
}

.hidden_ticket {
    background-color: slategrey !important;
    color: #FFF !important;
}

.hidden_ticket a {
    color: #FFF !important;
}

.draft_ticket {
    background-color: slategrey !important;
    color: #FFF !important;
}

.draft_ticket a {
    color: #FFF !important;
}

.red_ticket {
    background-color: red !important;
}

.ticket_complete {
    background-color: #28a745 !important;
    color: #fff !important;
}

.ticket_complete a {
    color: #fff !important;
}

.version_complete {
    background-color: #28a745 !important;
    color: #fff !important;
}

.version_alert {
    background-color: #DC3545 !important;
    color: #fff !important;
}

.version_yellow {
    background-color: #fffb00 !important;
}

.system_alert {
    background-color: #DC3545 !important;
    color: #fff !important;
}

.version_alert a {
    color: #fff !important;
}

.version_complete a {
    color: #fff !important;
}

.system_alert a {
    color: #fff !important;
}

.rowstyle {
    border-bottom: solid 1px lightgrey;
    padding-top: 10px;
    padding-bottom: 10px;
}


.date-width {
    width: 150px;
}

.ticket_row {
    justify-content: right
}

.ticket_column {
    display: flex;
    flex-direction: column;
}


.gs-img img {
    max-width: 100%;
    max-height: 100%;
}


/*Row Cell*/
.tr-hover:hover {
    background-color: gainsboro;
}

/*<td> with borders*/
.td-border {
    border-right: 1px #dee2e6 solid;
    vertical-align: middle;
    text-align: center;
    border-bottom: 1px #dee2e6 solid;
}

.th-schedule-day {
    width: 12%;
    border-right: 1px #dee2e6 solid;
}


.p-modal {
    color: #47A8D8;
}

.p-modal:hover {
    color: #0056B3;
    cursor: pointer;
}

ul[role=tablist] {
    flex-wrap: wrap;
}

.invisible-scroll {
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.invisible-scroll::-webkit-scrollbar {
    display: none;
}

.invisible-scroll-x {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.invisible-scroll-x::-webkit-scrollbar {
    display: none;
}

.filter-date-picker {
    width: 14em;
}

.ticket_closed {
    background-color: rgba(40, 167, 69, 0.55) !important;
}

.ticket_closed a {
    color: #212529 !important;
}

body.mobile-chat-mode {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    max-width: 100%;
}

body.mobile-chat-mode .wrapper {
    height: 100% !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

body.mobile-chat-mode .content-wrapper,
body.mobile-chat-mode .content,
body.mobile-chat-mode .chat-page-root {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
    height: calc(var(--hd-vvh, 100dvh) - var(--hd-topbar-h, 0px)) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box;
}

body.mobile-chat-mode .content-wrapper {
    position: fixed !important;
    top: var(--hd-topbar-h, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.mobile-chat-mode .content {
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

body.mobile-chat-mode .wa-root,
body.mobile-chat-mode .wa-list,
body.mobile-chat-mode .wa-thread-root,
body.mobile-chat-mode .mob-chat-root {
    width: 100%;
    height: 100%;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100%;
    overflow: hidden !important;
    box-sizing: border-box;
}

body.mobile-chat-mode .wa-thread-body {
    flex: 1 1 auto !important;
    width: 100%;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100%;
    overflow: hidden !important;
    box-sizing: border-box;
}

body.mobile-chat-mode .chat-page-root {
    position: fixed;
    top: var(--hd-topbar-h, 0px);
    left: 0;
    right: 0;
    height: calc(var(--hd-vvh, 100dvh) - var(--hd-topbar-h, 0px)) !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* scroll jen uvnitř listu a message containeru */
body.mobile-chat-mode .wa-list-body,
body.mobile-chat-mode #msgContainer {
    width: 100%;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

body.mobile-chat-mode .hd-app-footer,
body.mobile-chat-mode .main-footer {
    display: none !important;
}

/* mobile chat: kill AdminLTE content-wrapper min-height */
body.mobile-chat-mode .content-wrapper {
    min-height: 0 !important;
    height: calc(var(--hd-vvh, 100dvh) - var(--hd-topbar-h, 0px)) !important;
    max-height: calc(var(--hd-vvh, 100dvh) - var(--hd-topbar-h, 0px)) !important;
    overflow: hidden !important;
}

body.mobile-chat-mode .content {
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
}
