html {
    font-size: 14px;
    /*
        position: relative;
  min-height: 100%;

  */
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

header {
    background-color: #E7E7E7;
    border-bottom: 2px solid #d8d8d8;
}

footer .footer-secondary {
    color: rgba(255, 255, 255, 0.75);
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

body {
    /*margin-bottom: 60px;*/
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}


.menu-item-image {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: .4rem;
    vertical-align: text-bottom;
}

.menu-item-icon {
    margin-right: .4rem;
}

/* Arrow on nested toggles points right instead of down */
.dropdown-menu .dropend > .dropdown-toggle::after {
    float: right;
    margin-top: .5em;
}

/* Collapsed (mobile) navbar: show nested menus inline and indented */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu .dropdown-menu {
        border: 0;
        box-shadow: none;
        padding-left: 1rem;
    }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

@font-face {
    font-family: "KlintPro";
    src: url("../fonts/KlintPro-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "KlintPro";
    src: url("../fonts/KlintPro-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "KlintPro";
    src: url("../fonts/KlintPro-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "KlintPro";
    src: url("../fonts/KlintPro-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "KlintPro";
    src: url("../fonts/KlintPro-LightItalic.woff2") format("woff2");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

.KlintPro {
    font-family: "KlintPro", Arial, sans-serif;
}

.KlintPro-bold {
    font-weight: 700;
}

.KlintPro-medium {
    font-weight: 500;
}

.KlintPro-light {
    font-weight: 300;
}

.KlintPro-light-italic {
    font-weight: 300;
    font-style: italic;
}

h1 {
    font-family: "KlintPro", Arial, sans-serif;
    color: #2F5461;
    font-weight: 700;
    font-size: 32px;
}

h2 {
    font-family: Arial;
    color: #2F5461;
    font-weight: bold;
    font-size: 22px;
}

.heading-group h4,
.heading-group h3 {
    margin: 0;
}

.DeepHarbourBackground {
    background-color:#2F5461;
}

footer.DeepHarbourBackground a,
footer.DeepHarbourBackground a:visited {
    color: #C5E8EF;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

    footer.DeepHarbourBackground a:hover,
    footer.DeepHarbourBackground a:focus-visible {
        color: #fff;
    }


.LightBlue {
    background-color:#E7EBED;
}

.GrayElement {
    background-color: #E7E7E7;
}

.PrimaryText {
    color:#383838;
}

.SecondaryText {
    color: #B5B5B5;
}


.mitid-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-width: 175px;
    height: 50px;
    padding: 0 1.25rem;
    border: 0;
    border-radius: 0.7rem;
    background-color: #f2f2f2;
    color: #1261cc;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.mitid-login-button img {
    display: block;
    width: auto;
    height: 27px;
    max-width: 72px;
}

.mitid-login-button:hover {
    background-color: #e6e6e6;
    color: #1261cc;
    text-decoration: none;
}

.mitid-login-button:active {
    transform: scale(0.98);
}

.mitid-login-button:focus-visible {
    outline: 2px solid #1261cc;
    outline-offset: 2px;
}

.validation-summary-valid {
    display: none;
}

.Boks1 {
    padding: 32px;
    border-radius:16px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.25);
}

.Boks2 {
    padding: 32px;
    border-radius: 16px;
    outline: 4px;
    background-color: #E7E7E7;
}

.Boks3 {
    padding: 32px;
    border-radius: 16px;
    background-color: #E7EBED;
}

.env-banner {
    width: 100%;
    padding: 6px 12px;
    text-align: center;
    font-weight: 500;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 2000;
}

.env-development {
    background-color: #d9534f; /* red */
}

.env-test {
    background-color: #f0ad4e; /* orange */
    color: #000;
}

.env-staging {
    background-color: #5bc0de; /* blue */
}

.news {
    padding: 20px 0px;
}


.bg-orange {
    background-color: #fd7e14 !important; /* Bootstrap's $orange */
    color: #fff;
}

/*articles  kan slettes hvis vi bibeholder rogers*/

.articles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 20px 0px;
}

.article-card {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 2fr;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
}

.article-image {
    min-height: 250px;
}

    .article-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.article-content {
    padding: 2rem;
}

    .article-content h2 {
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .article-content p {
        margin-bottom: 0;
        white-space: pre-line;
    }

/* Every second article: text on the left, image on the right */
.article-card:nth-child(even) .article-image {
    order: 2;
}

.article-card:nth-child(even) .article-content {
    order: 1;
}

/* Mobile and smaller tablet screens */
@media (max-width: 767.98px) {
    .article-card {
        grid-template-columns: 1fr;
    }

    .article-image {
        min-height: 200px;
    }

    /* Always put the image first on mobile */
    .article-card:nth-child(even) .article-image {
        order: 1;
    }

    .article-card:nth-child(even) .article-content {
        order: 2;
    }

    .article-content {
        padding: 1.25rem;
    }
}
