﻿/* 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;
}

a:hover
{
    cursor: pointer !important;
}

.btn-primary {
  color: #fff;
  background-color: var(--csiq-accent-blue, #4a9eff);
  border-color: var(--csiq-accent-blue, #4a9eff);
}

.btn-primary:hover {
    cursor: pointer !important;
    background-color: #3d8fe6;
    border-color: #3d8fe6;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: var(--csiq-accent-blue, #4a9eff);
  border-color: var(--csiq-accent-blue, #4a9eff);
}

/* 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: 40px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.global-warning {
    color: #995900 !important;
    background-color: #ffeacc !important;
    border-color: #ffdfb3 !important;
}

.global-warning .accordion-button::after {
    flex-shrink: 0;
    width: 0.75rem;
    height: 0.75rem;
    background-size: 0.75rem;
}

.global-warning .accordion-button {
    color: #995900 !important;
    background-color: #ffeacc !important;
    border-color: #ffdfb3 !important;
}


.global-warning .accordion-button:not(.collapsed) {
    color: #184370;
    background-color: none;
    box-shadow: none;
}

.global-warning .collapsing {
   /* -webkit-transition: none;
    transition: none;
    display: none;*/
}

#loadingOverlay .k-loading-mask {
    position: fixed !important;
}

.blink {
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* WCAG 2.1 AA: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .blink {
        animation: none;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.k-dialog-content {
    display: flex;
}

.was-validated .form-check-input:valid ~ .form-check-label {
    color: inherit !important;
}

.was-validated .form-control:valid {
    background-color: none !important;
    background-image: none !important;
    border-color: #c9d2e3 !important;
}

.was-validated .form-check-input:valid:checked {
    background-color: #1b4a7c !important;
}

.was-validated .form-check-input:valid {
    border-color: #1b4a7c;
}

.was-validated .form-control:invalid {
    background-image: none !important;
}

.was-validated .form-check-input:valid {
    border-color: #1b4a7c !important;
}

.validated .form-check-input:valid {
    border-color: #1b4a7c !important;
}

/* Globla notification styles
-------------------------------------------------- */
.notifacation-tabs .nav-tabs {
    border-bottom: none;
    font-size: 0.75rem;
}

    .notifacation-tabs .nav-tabs .nav-link {
        border: none;
        border-bottom: 2px solid transparent;
        border-radius: 0 !important;
        color: #6c757d;
        transition: all 0.2s ease;
    }

        .notifacation-tabs .nav-tabs .nav-link.active {
            border-bottom: 2px solid var(--bs-primary);
            color: var(--bs-primary);
            font-weight: 500;
        }

.widget-chat-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: #212837;
    padding: 8px 0 8px 0;
}

    .widget-chat-date:not(:first-child) {
        margin-top: 16px;
    }