﻿/* 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;
    background-color: antiquewhite;
}

#Kandidater {
    padding: 1px 20px;
    background: rgb(247, 229, 206);
}

    #Kandidater h3 {
        text-align: center;
    }

    #Kandidater ul {
        margin: 40px 10px;
    }

    #Kandidater li {
        padding: 10px;
        background: rgba(0,0,0, 0.2);
        grid-column: span 4;
        text-align: center;
    }

    #Kandidater img {
        height: 90px;
        margin: 10px auto;
    }

.grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /*for å holde bilder 2 og 2 sammen*/
    grid-gap: 10px; /*mellomrom mellom bildene*/
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}
