﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;*/
  height: 100%;
}
.footer {
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/*
    Identity styling
*/
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.login-form {
    box-shadow: 0 0 50px #000;
}

.login-form input, .login-form button {
    border-radius: 0;
}

.login-header-box {
    text-align: center;
}

.login-header {
    padding-top: 1rem;
}

.register-form {
    width: 500px;
    padding: 0 3rem 0 3rem;
}

.register-form .form-group input, .register-form .form-group .form-control {
    border-radius: 0;
    border: 1px solid #eee;
    border-bottom: 1px solid #111;
    box-shadow: none;
    text-transform: none;
}

.k-window {
    border-radius: 0;
}

/*
    Camera styling
*/

.camera-container {
    display: flex;
    justify-content: center;
}


/*
    Menu styling
*/
.navbar-expand-sm .navbar-nav .nav-link.nav-icon {
    padding: 4px 4px;
    font-size: 1.2rem;
}

.bg-billum {
    background-color: #2c4857;
}


/*
    General
*/

@media only screen and (min-width: 1140px) {
    .container {
        max-width: 95% !important;
    }
}

.footer {
    text-align: center;
}

.k-notification {
    margin-bottom: 20px;
    border-radius: 0;
}

.k-button.k-primary {
    border-color: #22453f;
    background-color: #22453f;
}

.k-input {
    padding: 8px;
}

.help-text {
    margin-top: 5px;
    font-size: 0.75rem;
    font-style: italic;
    color: #777;
}

/*
    Logging styling
*/
.log-grid.k-grid td {
    padding: 2px 4px;
}

.info-row {
    background-color: #99c2ff;
}
.warn-row {
    background-color: #ffb380;
}
.error-row {
    background-color: #ff9999;
}
.fatal-row {
    background-color: #ff0000;
}

.log-text {
    font-size: 2.5vw;
    text-align: center;
}

pre {
    overflow-x: auto;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

/*
    Roles admin
*/
.icon-green {
    color: #5DF162 !important;
    margin: 0 !important;
}

.icon-red {
    color: #F1625D !important;
    margin: 0 !important;
}

.icon-ek {
    color: rgb(2, 77, 94);
    margin: 0 !important;
}

.k-tooltip {
    color: #000;
    background: #FEFEFE;
    padding: 10px;
    border-radius: 0;
    border: 1px solid #CCC;
}

td.override-padding {
    text-align: center;
    padding: 0;
}


.k-edit-form-container {
    width: 100%;
}

.disable-all {
    pointer-events: none;
    opacity: 0.6;
}

.active {
    color: #fff;
    border-radius: 0;
    background-color: #32707E;
}

.k-grid {
    font-size: 0.8rem;
    font-weight: 400;
}

.k-grid th, .k-grid td {
    padding: 5px 24px;
}

#order-container a {
    color: #000;
}

#order-container a:hover {
    text-decoration: none;
    color: #000;
}

input[type="file"] {
    display: none;
}

.file-upload {
    border: 1px solid #22453f;
    background-color: #22453f;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0;
    cursor: pointer;
}

.modified-p {
    margin-bottom: 0;
    color: #888;
    font-size: 0.8rem;
    font-style: italic;
}

#exportExcel {
    display: block !important;
}

.reportingButton {
    height: 100px;
    width: 200px;
}

.k-notification-success {
    border-color: #A3A14B;
    color: #ffffff;
    background-color: #A3A14B;
}

.k-notification-info {
    border-color: #4381A3;
    color: #ffffff;
    background-color: #4381A3;
}

.k-notification-error {
    border-color: #b40b15;
    color: #ffffff;
    background-color: #b40b15;
}

/****** Chat ******/
.chat-container {
    display: grid;
    grid-template-columns: 20rem auto;
}

.chat-tablet-container {

}

.chat-user-container {
    max-height: calc(94vh - 40px);
    min-height: calc(94vh - 40px);
    overflow-y: scroll;
}

.chat-user-frame {
    border-bottom: 1px solid #ccc;
    padding: 0.75rem;
}

.chat-user-frame:hover {
    background-color: #bbddd8;
}

.chat-user-frame.active-frame:hover {
    background-color: #22453f;
}

.active-frame {
    background-color: #22453f;
    color: #ffffff;
}

.active-frame .avatar-circle {
    background-color: #ffffff;
    color: #22453f;
}

.avatar-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 2.5rem;
    text-align: center;
    background-color: #22453f;
    display: inline-block;
    margin-right: 0.5rem;
}

.chat-message-container {
    margin-left: 1rem;
    display: grid;
    align-content: end;
}

.chat-tablet-messages {
    max-height: calc(100vh - (195px + 2.5rem));
    min-height: calc(100vh - (195px + 2.5rem));
    overflow-y: scroll;
    display: grid;
    align-content: end;
}

.chat-messages {
    display: grid;
    max-height: calc(94vh - 4rem);
    overflow-y: scroll;
}

.chat-message {
    display: inline-block;
    background-color: #ccc;
    padding: 0.5rem 0.75rem 0.5rem 0.75rem;
    border-radius: 0.5rem;
    margin-top: 5px;
}

.message-sent {
    justify-self: right;
}

.message-unconfirmed {
    opacity: 0.6;
}

.message-received {
    justify-self: left;
}

.chat-input {
    margin-top: 1rem;
}

.k-button.k-button-icon.send-message-button {
    height: 3rem;
    width: 3rem;
}

.chat-textbox {
    height: 3rem;
    width: calc(100% - 6.6rem);
    border: 1px solid #ddd !important;
}

.chat-unread-messages {
    background-color: #e68a00;
}

.timeadjust {
    padding-right: 0.5rem;
    line-height: 1;
    font-size: 1.5em;
    appearance: textfield;
    -webkit-appearance: textfield;
    background-color: #53938e;
    color: #fff;
    border: none;
}