﻿/* 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 */
}
.body-content {
    padding-top: 4rem; /* top padding, asp.net special fix so that top of page is not rendered behind navbar */
}


/* Own definitions */

table.infotable {
    border-spacing: 5px;
}

td.infotable,
th.infotable {
    border: 1px solid #cccccc;
    padding: 5px;
}

th.infotable {
    background-color: #f8f9fa; /* old green #60b7b7*/
}

/* Customer table */
table.customertable {
    border-spacing: 5px;
}

td.customertable,
th.customertable {
    border: 1px solid #cccccc;
    padding: 5px;
}

th.customertable {
    background-color: #f8f9fa; /* old green #60b7b7*/
}

/* License activation data table */
table.licenseactivationdatatable {
    border-spacing: 5px;
}

td.licenseactivationdatatable,
th.licenseactivationdatatable {
    border: 1px solid #cccccc;
    padding: 5px;
}

th.licenseactivationdatatable {
    background-color: #f8f9fa; /* old green #60b7b7*/
}


/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}


select.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.edittable {
    border-spacing: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
    min-width: 1px;
}

.edittable td {
    padding: 5px;
}

.edittable-sub {
    border-spacing: 0;
    border-collapse: collapse;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
    min-width: 0px;
    
}

.edittable-sub td {
    padding: 0px;
    margin: 0px;
}

#searchpane {
    position: fixed;
    width: 16%;
    left: 1%;
    height: 93%;
    top: 4rem;
    z-index: 0;
    background-color: #f8f9fa;
    border-right-style: solid;
    border-right-width: thin;
    border-right-color: lightgrey;
    padding: 7px;
    overflow-y: auto;
}

#customerpane {
    position: fixed;
    height: 6rem;
    right: 1%;
    width: 81%;
    top: 4rem;
    z-index: 0;
    background-color: white;
    padding: 2px;
    padding-left: 10px;
    overflow-y: auto;
}

#poolspane {
    position: fixed;
    height: 15rem;
    right: 1%;
    width: 81%;
    top: 10rem;
    z-index: 0;
    background-color: white;
    border-bottom-style: solid;
    border-bottom-width: thin;
    border-bottom-color: lightgrey;
    padding: 2px;
    padding-left: 10px;
    overflow-y: auto;
}

#licensespane {
    position: fixed;
    height: 59%;
    right: 1%;
    width: 81%;
    top: 25rem;
    z-index: 0;
    background-color: white;
    padding: 2px;
    padding-left: 10px;
    overflow-y: auto;
}


.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

th-small, .th-small {
    font-size: 0.85rem;
}

.fit-content {
    white-space: nowrap;
    width: 1%;
}