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

/* Generelle styling for layout */
.mitid-login-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    font-family: Arial, sans-serif;
}

.mitid-login-intro h1 {
    color: #333;
    font-size: 2em;
    margin-bottom: 15px;
}

.mitid-login-intro p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Styling for MitID logo */
.mitid-logo svg {
    width: 150px; /* Juster størrelsen efter behov */
    height: auto;
    margin: 30px auto;
    display: block; /* Sikrer centring af SVG'en */
}

/* Styling for login-knap */
.mitid-login-button button {
    background-color: #005BBB; /* Standard MitID blå farve */
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%; /* Gør knappen bredere */
    max-width: 300px; /* Maksimal bredde for knappen */
}

    .mitid-login-button button:hover {
        background-color: #004a99; /* Mørkere blå ved hover */
    }

/* Styling for hjælpetekst */
.mitid-help-text {
    margin-top: 25px;
    font-size: 0.95em;
    color: #777;
}

    .mitid-help-text a {
        color: #005BBB;
        text-decoration: none;
    }

        .mitid-help-text a:hover {
            text-decoration: underline;
        }
.login-container {
    max-width: 420px;
    margin: 40px auto;
    padding: 25px 30px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', sans-serif;
}

.login-header h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.login-body {
    text-align: center;
}

.mitid-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.login-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.login-body a {
    color: #005BBB;
    text-decoration: none;
}

    .login-body a:hover {
        text-decoration: underline;
    }

.top-banner {
    background-image: url('/img/samtykke-header.png');
    background-size: cover; /* Fylder hele området */
    background-position: center top; /* Justér til evt. center center, hvis ønsket */
    background-repeat: no-repeat;
    height: 300px;
    color: white;
}

    .top-banner .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* mørk overlay */
        z-index: 1;
    }

    .top-banner nav {
        position: relative;
        z-index: 2;
    }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Halvgennemsigtig sort */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}