﻿/* 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;
}

/* 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 - flexbox column so a short page does not overflow by the footer height
-------------------------------------------------- */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > .container {
  flex: 1 0 auto;
}
.footer {
  flex-shrink: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}


/* Support for larger resolution displays */
@media (min-width: 1440px) {
    .container {
        max-width: 1300px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1456px;
    }
}

/* ExtendControls dark theme. Palette mirrors the marketing site at
   Helvar Extend Common/extendcontrols-site/style.css - keep the two in step. */
[data-bs-theme="dark"] {
    --bs-body-bg: #23282d;
    --bs-body-color: #e4e9ea;
    --bs-secondary-color: #a6b1b3;
    --bs-tertiary-bg: #2b3138;
    --bs-border-color: #4a525a;
    --bs-primary: #72afb6;
    --bs-primary-rgb: 114, 175, 182;
    --bs-link-color-rgb: 170, 207, 211;
    --bs-link-hover-color-rgb: 199, 226, 229;
    --bs-emphasis-color: #ffffff;
}

/* Bootstrap compiles the solid-button colours, so the brand teal has to be set
   on the variant rather than via --bs-primary. */
.btn-primary {
    --bs-btn-bg: #72afb6;
    --bs-btn-border-color: #72afb6;
    --bs-btn-color: #10211f;
    --bs-btn-hover-bg: #5f9aa1;
    --bs-btn-hover-border-color: #5f9aa1;
    --bs-btn-hover-color: #10211f;
    --bs-btn-active-bg: #5f9aa1;
    --bs-btn-active-border-color: #5f9aa1;
    --bs-btn-active-color: #10211f;
    --bs-btn-disabled-bg: #72afb6;
    --bs-btn-disabled-border-color: #72afb6;
    --bs-btn-disabled-color: #10211f;
}

.extend-navbar {
    --bs-navbar-color: #e4e9ea;
    --bs-navbar-hover-color: #aacfd3;
    --bs-navbar-active-color: #ffffff;
    background-color: #2b3138;
}

.portal-hero {
    background: linear-gradient(160deg, #213739 0%, #23282d 65%);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}
.portal-hero__logo {
    height: 56px;
    margin-bottom: 1.25rem;
}

.portal-card {
    background-color: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.portal-card:hover {
    transform: translateY(-3px);
    border-color: var(--bs-primary);
    color: var(--bs-body-color);
}
.portal-card .card-title {
    color: var(--bs-primary);
}