﻿/* 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 */
}

//BS

.tittel_felt {
    display: inline;
    float: left;
}

.tittel {
    white-space: nowrap;
}

.datafil {
    font-size: 65%;
    list-style-type: none;
    padding: 0em;
}
.selected_fil {
    font-weight: bold;
    visibility: visible;
}

.fil {
    visibility: collapse;

}

.fase {
    margin: 1em;
}
.prosess {
    margin: 1em;
    padding-left: 2em;
}

.oppgave {
    margin: 1em;
    padding-left: 2em;
}

.lite-ikon {
    width: 20px;
    height: 20px;
    margin-right: 0.5em;
}

.version_info
{
    margin-left: 2em; 
    margin-right: 2em;
}
/* Hentet fra Episerver-POC for trekantmodellen*/
.trekantmodell {
    width: 800px;
    height: 400px;
}

.trekant_topp {
    width: 100%;
    display: inline-block;
    height: 70%;
}

.trekant_bunn {
    width: 100%;
    display: inline-block;
    height: 30%;
}

.trekant_topp_del {
    width: 50%;
    display: inline;
    height: 100%;
    float: left;
}

.trekant_venstre_venstre {
    shape-outside: polygon(100% 0%, 0% 100%, 0% 0%);
    clip-path: polygon(100% 0%, 0% 100%, 0% 0%);
    float: left;
    width: 40%;
    height: 100%;
}

.trekant_venstre_hoyre {
    shape-outside: polygon(100% 0%, 0% 100%, 100% 100%);
    clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
    float: right;
    width: 50%;
    height: 100%;
    background-image: linear-gradient(#8ACEC8, #005E53);
}

.trekant_hoyre {
    shape-outside: polygon(0% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
    float: left;
    width: 50%;
    height: 100%;
    background-image: linear-gradient(#8ACEC8, #005E53);
}

.trekant_bunn_midt {
    width: 40%;
    height: 100%;
    float: left;
    margin-left: 40%;
    padding-top: 3%;
}

.trekant_tekst {
    font-size: 1em;
}

.tekst_halign {
    margin-left: 5%;
}

.tekst_valign {
    margin-left: 5%;
}

.tekst_bunn {
}

.tekst_trekant_side {
    vertical-align: middle;
}

.tekst_trekant_dimensjon {
    line-height: 2.5em;
    font-weight: bold;
}

.tekst_senter {
    text-align: center;
}

.bfk_tooltip {
    position: relative;
}

.bfk_tooltip_img{
    width: 12px;
    height: 12px;
}

.ikon24 {
    width: 24px;
    height: 24px;
    margin-right: 1em;
}

.bfk_tooltip .bfk_tooltip_tekst {
    display: inline-block;
    font-weight: normal;
    font-size: smaller;
    visibility: hidden;
    width: 400px;
    background-color: #FFFFAA;
    color: black;
    /*text-align: center;*/
    border-radius: 6px;
    padding: 3px;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

    .bfk_tooltip:hover .bfk_tooltip_tekst {
        visibility: visible;
    }

/* Slutt trekantmodell */

/* UML diagram*/

.uml_tabell {
    font-size: 80%;
    margin-bottom: 2em;
    border: 1px solid gray;
    border-collapse: collapse;
    min-width: 25em;
}

.uml_tabell thead {
    border-bottom: 1px solid gray;
}

.uml_entitet_kolonne_navn
{
    width: 40%;
}

.uml_entitet_kolonne_verdi {
    width: auto;
}

.uml_entity_navn {
    font-weight: bold;
    text-align: center;
}

.uml_abstrakt {
    font-style: italic;
}

.fase_pil {
    width: 300px;
    height: 100px;
    background-image: url("../img/fase_pil.png");
    display: table-cell;
    word-wrap: break-word;
    padding-left: 35px;
    padding-right: 1em;
    color: white;
    font-weight: bold;
    vertical-align: middle;
}

.fase_pil_inaktiv {
    background-image: url("../img/fase_pil_inaktiv.png");
}

.fase_pil a {
    color: white;
}

.fase_pil_tekst {
}

.prosess {
    display: block;
    font-weight: bold;
    background-color: green;
}

.prosess_aktiv {
    background-color: lightblue;
}

.prosess_tekst {
}

.prosess_inaktiv {
    font-weight: normal;
    color: darkgrey;
    background-color: inherit;
}

.oppgave {
    display: block;
    font-weight: bold;
}

.oppgave_aktiv {
    background-color: lightblue;
}


.oppgave_inaktiv {
    font-weight: normal;
    color: darkgrey;
    background-color: inherit;
}

.sporsmal {
    padding: 5px;
    background-color: lightgray;
    border: 1px solid gray;
    border-radius: 6px;
    width: fit-content;
}
.sporsmal_tekst {
    font-style: italic;
    font-weight: bold;
}

.svar_tekst {
    margin-left: 0.2em;
}

.check_level_2 {
    padding-left: 1em;
}

.sporsmal textarea {
    min-width: 500px;
    min-height: 100px;
}

.layout_fase {
    display: table;
    width: 100%;
}

.layout_prosess_del {
    display: table-cell;
}

.layout_oppgave_del {
    display: table-cell;
    clear: both;
}

.layout_sporsmal_del {
    display: block;
}

.bfk_tooltip .objekt_id_flyby_tekst {
    text-align: left;
    display: inline-block;
    font-weight: normal;
    visibility: hidden;
    width: 100px;
    background-color: khaki;
    color: black;
    border-radius: 6px;
    border: 1px solid gray;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    text-wrap: none;
}

.bfk_tooltip:hover .objekt_id_flyby_tekst {
    visibility: visible;
}

/* kolonnelayout*/

.fase_kolonne {
    width: 320px; 
    display: table-cell;
    word-wrap: break-word;
    vertical-align: top;
}

.prosess_i_kolonne {
    margin-left: 1em;
    font-size: 0.9em;
}
.oppgave_i_kolonne {
    margin-left: 1em;
    font-size: 0.85em;
}

.under_kolonner {
    display: block;
}

.element_type {
    font-weight: bold;
}

.tekstreferanse {
    font-size: 85%;
}

.kunnskapstekst { /*Brukes også i egen frame, derfor starter vi "fra bunnen"*/
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 14px;
}
.kunnskapstekst_tittel {
    font-weight: bold;
}

.kunnskapstekst_tekst {
    font-size: 90%;
}

/* test*/
.test_muligefeil {
    text-indent: 2em;
    font-size: 80%;
    font-style: italic;
}

.testresultat_linje {
    text-indent: 2em;
    font-size: 90%;
    margin-bottom: 0;
}

.emneliste_kolonne {
    display: table-cell;
    width: 20%;
}

.emnereferanser_kolonne {
    display: table-cell;
    width: 75%;
}

.emne_aktiv {
    font-weight: bold;
    font-size: 0.9em;
}

.emne_inaktiv {
    font-weight: normal;
    font-size: 0.8em;
}