﻿/* 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 */
    position: relative;
    min-height: 100vh;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem; /* Footer height */
    white-space: nowrap;
    line-height: 2.4rem; /* Vertically center the text there */
}

main {
    padding-bottom: 2.5rem; /* Footer height */
}

.align-right {
    float: right;
}


/* TABLES */
table {
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0 0 20px 0;
    border-collapse: collapse;
}

th {
    padding: 5px;
    /* NOTE: th padding must be set explicitly in order to support IE */
    text-align: left;
    font-weight: bold;
    line-height: 2em;
    color: #FFF;
    background-color: #555;
}

tbody td {
    padding: 10px;
    line-height: 18px;
    border-top: 1px solid #E0E0E0;
}

tbody tr:nth-child(2n) {
    background-color: #F7F7F7;
}

td.number, th.number {
    /*text-align: right;*/
}
td input[type=number] {
    text-align: right;
}
thead tr th:last-child, tbody tr td:last-child {
    padding-right: 10px;
}
thead tr th:first-child, tbody tr td:first-child {
    padding-left: 10px;
}

table td span {
    position: relative !important;
    margin-bottom: 5px;
    padding: 0 !important;
}


table.dataTable,
table.dataTable th,
table.dataTable td {
    box-sizing: border-box !important;
}

/*td.number, th.number {*/
    /* text-align: right; */
    /*}*/

table td.downloads i.fal {
    font-size: 1.1em;
}
table td.downloads a.document-link {
    display:block;
}