﻿/* 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;
}

.error-padding {
    padding-top: 10%;
}

/* 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;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Header navbar (Bootstrap) with DevExpress theme colors
-------------------------------------------------- */
#header .nav_bar.navbar {
    /* Fallback for browsers without color-mix() */
    background-color: var(--dx-component-color-bg, var(--dx-color-main-bg, #363640));
    border-bottom: var(--dx-border-width, 1px) solid var(--dx-color-primary, var(--dx-color-separator, #515159));
    min-height: var(--dx-toolbar-height, 56px);
    padding: 0 16px;
}

@supports (background-color: color-mix(in srgb, red 50%, blue)) {
    #header .nav_bar.navbar {
        background-color: color-mix(in srgb,
            var(--dx-component-color-bg, var(--dx-color-main-bg, #363640)) 92%,
            var(--dx-color-text, #fff) 8%);
    }
}

/* Logo image */
#header .nav_bar .navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar_logo {
    height: 32px !important;
    width: auto !important;
}

/* Hamburger toggler. Uses the DevExtreme dx-icon-menu glyph so it simply
   inherits the theme text color - no per-theme icon asset needed. */
#header .nav_bar .navbar-toggler {
    padding: 4px 10px;
    border-color: var(--dx-color-border, var(--dx-color-separator, #515159));
    outline: none;
}

#header .nav_bar .navbar-toggler:focus {
    box-shadow: 0 0 0 2px var(--dx-color-primary, #03a9f4);
}

#header .nav_bar .navbar_toggler_icon {
    color: var(--dx-color-text, #fff);
    font-size: var(--dx-font-size-icon, 24px);
    height: auto !important;
    line-height: 1;
}

/* Phone / website links: stacked under the hamburger on small screens,
   inline and right-aligned from the md breakpoint up. */
#header .nav_bar .navbar_links {
    gap: 24px;
}

@media (min-width: 768px) {
    #header .nav_bar .navbar_links {
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    #header .nav_bar .navbar_links {
        gap: 4px;
        padding: 8px 0 12px;
    }

    #header .nav_bar .navbar_extra {
        font-size: 1.15rem;
    }
}

/* Phone / website links - text/icon colors from the theme */
#header .nav_bar .navbar_extra {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    font-size: 1.4rem;
    white-space: nowrap;
    color: var(--dx-color-text, #fff) !important;
}

/* Scoped with #header .nav_bar so it outranks the global
   `.dx-icon { height: 32px !important }` rule further down this file.
   A natural height + line-height:1 lets the parent's align-items:center
   actually center the glyph against the text. */
#header .nav_bar .navbar_icon {
    display: inline-flex;
    align-items: center;
    height: auto !important;
    width: auto !important;
    font-size: 28px;
    line-height: 1;
    margin-right: 6px;
    color: var(--dx-color-icon, var(--dx-color-text, #fff));
}

.dx-icon {
    height: 32px !important;
    width: auto !important;
}

    .dx-icon.fas {
        height: unset !important;
        width: unset !important;
    }

.dx-nav-item {
    display: inline-flex !important;
    background-color: transparent !important;
    vertical-align: top !important;
    position: unset !important;
}

.dx-tab a {
    position: unset !important;
    top: unset !important;
    left: unset !important;
    width: unset !important;
    height: unset !important;
    background-color: unset !important;
    color: unset !important;
    text-decoration: unset !important;
    opacity: 1 !important;
}

.dx-tabs.dx-navbar .dx-tab-text {
    display: unset !important;
    vertical-align: unset !important;
}

.dx-tab-content, .dx-tab-text {
    vertical-align: unset !important;
    text-transform: uppercase !important;
    line-height: unset !important;
    font-weight: 500 !important;
}

.dx-tabs {
    display: inline-block !important;
    text-align: left !important;
}

.dx-tab-text {
    display: inline-block !important;
    margin: 0 auto !important;
    text-align: center !important;
    max-width: 100% !important;
    -webkit-user-drag: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.dx-tabs.dx-navbar .dx-icon {
    display: inline !important;
    margin: 0 auto !important;
}

.dx-popup-title {
    padding: 0 !important;
}