﻿/* 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 */
}

.unfocussed {
    border: 1px solid transparent;
    background-color: transparent;
}

.infocus {
    border: 1px solid darkviolet;
    background-color: honeydew;
    box-shadow: 0 0 0 0.2rem rgba(148, 0, 211, 0.75);
}

.focussedLabel {
    color: forestgreen;
}

.focussedInput {
    outline-color: darkgreen;
}

.autoTxt {
    display: block;
    color: darkgreen;
    font-weight: bold;
    font-style: italic;
    font-size: 90%;
}

.autoText {
    color: darkgreen;
    background-color: antiquewhite;
    font-size: 90%;
    font-weight: bold;
}

    .autoText::before {
        content: 'Fixed Text: \A';
        white-space: pre-wrap;
        font-size: 75%;
        font-style: italic;
    }

.valOK {
    display: none;
}
.valErr {
    display: block;
    color: #ad0000;
    font-weight: bold;
}
.valPageOK {
    display: none;
}

.valPageErr {
    display: block;
    color: red;
    border: 1px #ad0000 solid;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 5px;
    background-color: mistyrose;
}

.ib{display: inline-block;}

.changed {
    background-color: palegreen;
}

.changeShow {
    background-color: palegreen !important;
    border: 3px palegreen solid !important;
}

.formatted {
    white-space: pre-wrap;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    float: right;
}

    /* Hide default HTML checkbox */
    .switch input {
        display: initial;
        position: relative;
        left: 75px;
        top: -1px;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 63px;
    right: 0;
    bottom: 0;
    height: 20px;
    width: 40px;
    background-color: black;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider.focussed{
    border: 2px red solid;
}
    .slider.focussed:before {
        left: 0;
        bottom: 0;
    }
    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input.default:checked + .slider {
    background-color: #444;
}

input.isTrue:checked + .slider {
    background-color: chocolate;
}

input.isFalse:checked + .slider {
    background-color: dimgray;
}

input.primary:checked + .slider {
    background-color: #2196F3;
}

input.success:checked + .slider {
    background-color: #8bc34a;
}

input.info:checked + .slider {
    background-color: #3de0f5;
}

input.warning:checked + .slider {
    background-color: #FFC107;
}

input.danger:checked + .slider {
    background-color: #f44336;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.slider.changed:before {
    background-color: palegreen;
}

/* Rounded sliders */
.slider.round {
    border-radius: 22px;
}

.slider.round:before {
    border-radius: 50%;
}

.slider.round.changed:before {
    background-color: palegreen;
}


.groupedToggles {
    border: 1px solid grey;
    background-color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.oldTable {
    display: table-cell;
    padding-top: 10px;
    padding-bottom:5px;
}

::placeholder { 
    color: darkgreen; 
    font-style: italic;
}