﻿/* 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. */

/* Ej radbrytning vid bindestreck, t ex datum *** Oklart om den funkar! */
.no-break-hyphen {
    word-break: keep-all !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}

/* Automatisk bredd på table */
.table-auto-width {
    table-layout: auto;
    width: auto;
}

@media print {
    /* Vid utskrift */
    a {
        text-decoration: none !important; /* Ta bort understrykning från länkar */
        color: black !important; /* Ändra färgen på länkar till standardtextfärgen */
    }
    .btn-link {
        text-decoration: none !important;
        color: black !important;
    }
    body {
        font-size: 8pt;
        margin: 0 !important; /* Lägg till detta */
        padding: 0 !important; /* Lägg till detta */
    }

    .container-fluid { /* Ändra till container-fluid */
        margin: 10px;
        width: 100% !important; /* Lägg till !important */
    }

    html, body {
        height: 100% !important; /* Lägg till detta */
        width: 100% !important; /* Lägg till detta */
    }

    /* Tar bort striped vid utskrift */
    table.table-striped tbody tr:nth-of-type(odd) {
        background-color: #fff !important; /* Ingen bakgrundsfärg vid utskrift */
    }
    .badge, .badge-pill, .rounded-pill {
        background: #fff !important;
        color: #000 !important;
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    .text-decoration-line-through {
        text-decoration: line-through !important;
        color: rgba(128,128,128,0.2) !important; /* Gör texten grå */
    }
    .footer {
        position: static !important;
        width: auto !important;
        line-height: normal !important;
    }
}


body {
    font-family: 'Roboto', sans-serif;
}

/* Change input control border color */
.form-control, .input-group-text {
    border: 1px solid #0080ff;
}

a.btn:hover {
    cursor: pointer !important;
}

/* Färger */
.bg-yellow-100 {
    background-color: #fff3cd; /* Färgkoden för $yellow-100 */
}

/* Start Loader
-------------------------------------------------- */
/*#loading {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('http://i.stack.imgur.com/FhHRx.gif') 50% 50% no-repeat;
}*/

.loaderbody {
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    background-color: rgba(128,128,128,0.2);
    z-index: 2147483647;
}

.loader {
    border: 16px solid #f3f3f3;  
    border-top: 16px solid #3498db; 
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 45%;
    left: 40%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hide {
    display: none;
}

/* Slut Loader
-------------------------------------------------- */


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: 40px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 40px; /* Vertically center the text there */
}
