﻿/* 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: #00A6E2;
}

.blue {
    background-color: blue;
}

.btn-primary {
    color: #fff;
    background-color: #00A6E2;
    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 */
}

.boxgreen {
    display: inline-block;
    padding: 8px;
    border: 1px solid black;
    background-color: greenyellow;
    color: black;
}

.boxred {
    display: inline-block;
    padding: 8px;
    border: 1px solid black;
    background-color: palevioletred;
    color: black;
}

.boxblue {
    display: inline-block;
    padding: 8px;
    border: 1px solid black;
    background-color: aqua;
    background-color: lightblue;
    color: black;
}

.form-label {
    font-weight: bold;
    margin-bottom: -2px;
    margin-top: 5px;
}

.text-primary {
    margin-top: 15px;
}

.weekallocationcell{
    text-align: center;
}

.numbers {
    text-align: right;
}

/*Cookies*/
.cookie-consent {
    z-index: 10;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1em;
    background-color: #406893;
    color: white;
    margin-bottom: 0;
    border-radius: 0;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: auto;
    justify-content: center;
}
.cookie-item-1 {
    margin-right: 0.5em;
}
.cookie-item-2 {
    margin-right: 0.75em;
}
.cookie-item-3 {
}

/*Filer box wrap*/
.filter-box-wrap {       
    padding: 0.5rem;
    height: 180px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
}
.filter-box-wrap .form-check {
    padding-right: 0.5rem;
}
.badge-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
    border-radius: 10rem;
}

.badge-primary {
    color: #fff;
    background-color: #2FA4E7;
}


.space-between {
    justify-content: space-between;
    flex-direction: row-reverse;
}

/*
Inför nya avtalet 2.0
*/
.save-background {
    display: none;
    z-index: 1061;
    width: 100%;
    height: 100%;
    background-color: black;
    position: fixed;
    opacity: 0.5;
    top: 0;
    left: 0;
}

.save-indication {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #598EC6; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    z-index: 1061;
}

.x-save-background {
    z-index: 1061;
    width: 100%;
    height: 100%;
    background-color: black;
    position: fixed;
    opacity: 0.5;
    top: 0;
    left: 0;
}

.x-save-indication {
    position: fixed;
    top: 50%;
    left: 50%;
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #598EC6; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    z-index: 1061;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}