﻿/* 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. */

/* styles for horizontal lines */
#hr_greetingEnd {
    border: 0;
    height: 50px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.0);
    border-width: 10px 0 0 0;
    border-radius: 20px;
}

#hr_greetingEnd::before {
    display: block;
    content: "";
    height: 50px;
    margin-top: -31px;
    border-style: solid;
    border-color: unset;
    border-width: 0 0 1px 0;
    border-radius: 25px;
}

/*a[aria-expanded="true"]::before {
    content: '\f361';
}*/

/* styles for the sidebar */
.dropdown-item:hover {
    background-color: lightgray;
}

.dropdown-toggle:hover {
    background-color: lightgray;
}

.sidebar-item {
    font-size: larger;
}

.sidebar-subitems {
    font-size: larger;
    margin-left: 4.5ex;
    max-width: 25ex;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

ul li a:hover {
    background-color: lightgray;
}

/* 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: chocolate;
  border-color: chocolate;
}

/* 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 */
}

/* set font for HTML Body */
body {
    font-family: Comfortaa,sans-serif;
    font-size: 14px;
}

.show {
    display: revert !important;
}

/* self-defined styles */
.btn-color {
    background-color: #f08100;
    color: white;
}
.label-textarea {
    /* taken from official Bootstrap example */ 
    margin-bottom: .5rem;
}

.message-attribute-content {
    color: black;
    white-space: nowrap;
}

.message-attribute-header {
    font-weight: bold;
    text-decoration: underline;
    color: gray;
}

/* taken from:
 * https://stackoverflow.com/questions/16152275/how-to-resize-twitter-bootstrap-modal-dynamically-based-on-the-content
 */
.modal-dialog-response {
    position: relative;
    display: table; /* This is important */
    overflow-y: auto;
    overflow-x: auto;
    /*top: 0;
    right: auto;
    left: auto;
    bottom: auto;*/
    width: auto;
    min-width: 300px;
}

.text-style {
    background-color: #333232;
    color: white;
}
.reports-count {
    font-size: 1.2vw;
}

.prio {
    font-size: 1.2vw;
    margin-right: 0px;
}

.table-column {
    line-height: 10px;
    width: 1%;
    white-space: nowrap;
}

.table-request {
    table-layout:fixed;
    width:95%;
}

/* style for the login page */
.login-input {
    border: none;
    font-size: 14px;
    border-radius: unset;
    border-width: 0px;
    border-bottom: 1px solid rgb(107, 107, 106);
    color: rgb(107, 107, 106) !important;
    background-color: white;
}

.login-label {
    font-family: 'Source Sans Pro', sans-serif;
    color: rgb(107, 107, 106);
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: center;
}

.login-title {
    font-family: "Source Sans Pro", sans-serif;
    color: rgb(107, 107, 106);
    font-weight: 700;
    font-size: 25px;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: center;
}

.summary-element {
    color: white;
    font-size: large;
    padding-right: 1ex;
}

.button-login {
    width: 100%;
}

.button-popup {
    border-radius: 0;
    width: 15ex;
}

.data-type-header {
    color: gray;
    font-size: large;
    padding-bottom: 1%;
}

.div-table {
    background-color: white;
    max-height: 100vh;
    max-width: 100vw;
}

.greeter {
    font-size: xx-large;
    color: #f08100;
    padding-top: 3%;
}

.ion-icon {
    font-size: 20px;
}

.login-box {
    left: 29%;
    padding: 20px;
    border: 4px;
    border-color: gray;
    border-radius: 5px;
    background-color: white;
    position: absolute;
    top: 30vh;
    width: 400px;
}

.module-licensed {
    display:inline-block;
    border-style: solid;
    border-color: darkorange;
    border-radius: 5px;
    background: darkorange;
    padding: 2%;
}
.module-unlicensed {
    display: inline-block;
    border-style: solid;
    border-color: darkorange;
    border-radius: 5px;
    background: white;
    padding:2%;
}

.nexgen-background-color {
    background-color: #f08100;
}

thead input {
    width: 100%;
}

.topbar {
    min-width: 10%;
    max-width:15%;
    padding-bottom: 0px;
    padding-top: 0px;
    background-color: white;
}

/* styles for the formular popup */
button.nav-link {
    background-color: rgba(0, 0, 0, 0);
}

button.nav-link.active {
    background-color: #f08100;
}

.pill-popup {
    margin: 0.2ex;
}

/** styles for the main page */
/** styles for the main page */
.customer-data {
    background-color: white;
    padding-right: 1vw;
    padding-bottom: 1vh;
}

/* styles for the formular popup */
.formular-group {
    margin-bottom: unset;
}
.input-formular-field {
    margin-left: unset;
    padding-bottom: unset;
    padding-top: unset;
}

.label-formular-field {
    /*padding-bottom: unset;*/
    padding-top: unset;
}

.tab-pill {
    margin-left: unset !important;
}

/* (modifying) styles for the table */
table.dataTable tbody tr td.select-checkbox:before {
    top: 50% !important;
}

/*
taken from: https://stackoverflow.com/questions/5239758/how-can-i-truncate-table-cells-but-fit-as-much-as-content-possible
*/
.table-data-cell {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 1px;
}

table.dataTable tbody tr td.select-checkbox::after {
    top: unset !important;
}

.table-button {
    color: #f08100;
    border-color: #f08100;
}

/* styles for the NexEnergy site */
.btn-calculate {
    background-color: #f69e47;
    text-align: center;
    font-size: 18px;
    width: 20ex;
    color:white;
}

.chart-container {
    /*background-color: white;
    display:none;*/
    height: 80vh;
}

.chart-data-settings {
    background-color:white;
    width: 100%;
}

.chart-result {
    background-color: white;
    padding-bottom: 2ex;
    height: 80vh;
}

.chart-row {
    margin-left: unset;
    margin-right: unset;
}

.chart-settings {
    background-color:white;
    border-color: white;
    height: 66vh;
    /*padding: 2ex;*/
}

.customer-chart {
    padding-top: 1vh;
}

.customers {
    min-width: 307.66px;
    margin-bottom: 5px;
}

.div-col-8 {
    min-width: 185.09px;
}

.fieldset-costs {
    padding-left: 20px;
    height: 50ex;
}

.input-time {
    outline: none !important;
    border-width: 0px !important;
    border: none !important;
    width: 9ex;
}

#label_pricePerHours {
    margin-left: -10px;
}

@media (max-width: 767px) {
    .div-btn-rechnen {
        margin-left: 0px !important;
        margin-top: 5px;
    }

    .label-customers {
        width: 100%;
    }

    .select-customers {
        width: 100%;
        width: 15ex;
    }

    .text-error {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 30px;
    }
}

.text-error {
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    top: 40%;
    left: 40%;
}

/* styles for the issue details popup */
.issue-details-information {
    display: flex;
    justify-content: space-between;
    padding-left:unset !important;
}