﻿/* 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 */
}

.bg-ssg {
    background-color: #17254D;
}

.no-underline,
.no-underline:hover,
.no-underline:focus {
    text-decoration: none;
}

.link-normal,
.link-normal:hover {
    text-decoration: none;
    color: inherit;
}

.color-inherit,
.color-inherit:hover {
    color: inherit;
}

.cursor-pointer:hover {
    cursor: pointer !important;
}

.table-flush-sides th:first-child,
.table-flush-sides td:first-child {
    border-left: none;
}

.table-flush-sides th:last-child,
.table-flush-sides td:last-child {
    border-right: none;
}

.modal-dialog.modal-full {
    max-width: calc(100vw - 5rem) !important;
    height: calc(100vh - 5rem) !important;
}

.modal-dialog.modal-full .modal-content {
    height: 100% !important;
}


/* Bootbox modal above modal */
/* Use these bootbox options: */
/* backdrop: false, */
/* onShow: e => $('body').append('<div class="modal-backdrop fade show bootbox-above-modal"></div>'), */
/* onHide: e => $('.modal-backdrop.bootbox-above-modal').remove() */
.bootbox.modal {
    z-index: 1070 !important;
}

.modal-backdrop.bootbox-above-modal {
    z-index: 1060 !important;
}

.modal.modal-above-modal {
    z-index: 1070 !important;
}

.modal-backdrop.modal-above-modal {
    z-index: 1060 !important;
}


/* A way of adding a backdrop over a modal without double-darkening the background
/* Place as first child of .modal-content */
.modal-cloak {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: .5;
    z-index: 1051;
}

/* Place as first child of .modal */
.modal-cloak-backdrop-cover {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 1041;
}


.no-select {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.truncate-overflow-3 {
    --numlines: 3;
    --lineheight: 1.5rem;
    line-height: var(--lineheight);
    max-height: calc(var(--lineheight) * var(--numlines));
    -webkit-box-orient: vertical;
    display: block;
    display: -webkit-box;
    overflow: hidden !important;
    text-overflow: ellipsis;
    -webkit-line-clamp: var(--numlines);
}

.truncate-overflow-1 {
    --numlines: 1;
    --lineheight: 1.5rem;
    line-height: var(--lineheight);
    max-height: calc(var(--lineheight) * var(--numlines));
    -webkit-box-orient: vertical;
    display: block;
    display: -webkit-box;
    overflow: hidden !important;
    text-overflow: ellipsis;
    -webkit-line-clamp: var(--numlines);
}

.row.border-between > [class*='col-']:before,
.row.border-between > .col:before {
    background: #e3e3e3;
    bottom: 0;
    content: " ";
    left: 0;
    position: absolute;
    width: 1px;
    top: 0;
}

.row.border-between > [class*='col-']:first-child:before,
.row.border-between > .col:first-child:before {
    display: none;
}

.custom-context-menu {
    position: fixed;
    z-index: 10000;
    width: 200px;
    background: #f7f7f7;
    border-radius: 5px;
}

.custom-context-menu .custom-context-item {
    padding: 8px 10px;
    font-size: 13px;
    color: #0e1834;
    cursor: pointer;
    border-radius: 0;
    user-select: none;
}

.custom-context-header {
    padding: 8px 10px;
    font-size: 12px;
    user-select: none;
    color: #262626;
    border-bottom-width: 1px;
    border-bottom-color: #d1d1d1;
    border-bottom-style: solid;
    border-radius: 0;
    width: 100%;
}

.custom-context-menu > :first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.custom-context-menu > :last-child {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.custom-context-menu .custom-context-item:hover {
    background: #b9b9b9;
}

label.custom-context-item {
    font-size: calc(15px * 0.8) !important;
    width: 100% !important;
    margin-bottom: 0;
}