/* https://zellwk.com/blog/check-empty-input-css/ */

/* Show red borders when filled, but invalid
input:not(:placeholder-shown) {
  border-color: hsl(0, 76%, 50%);;
}

/* Show green borders when valid */
/* input:valid {
  border-color: hsl(120, 76%, 50%);
} */ */

/* https://htmlmag.com/article/an-introduction-to-css-preprocessors-sass-less-stylus */
/* https://stackoverflow.com/questions/26263616/link-external-css-file-only-for-specific-div */
/* .shpinx {
  @import 'alabaster.css';
} */


.table-borderless > tbody > tr > td,
.table-borderless {
    border-bottom: 0;
    border-top: 0;
}

div.sphinx {
  width: 0px;
  font-size: 14px;
  line-height: 1.5;
}


.error {
  color: red
}

.file{
    display:block;
    position: relative;
    width: 200px;
    height: 200px;
    /* background: url(http://icons.iconarchive.com/icons/paomedia/small-n-flat/1024/device-camera-icon.png) no-repeat center center; */
    background: url(bird.jpg) no-repeat center center;
    background-size: cover;
  }
  
  .file input{
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
  }

  .inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
  }

  .inputfile + label {
    font-size: 1.25em;
    font-weight: 700;
    color: white;
    background-color: black;
    display: inline-block;
}

.inputfile:focus + label,
.inputfile + label:hover {
    background-color: red;
}

.inputfile + label {
	cursor: pointer; /* "hand" cursor */
}

.inputfile:focus + label {
	outline: 1px dotted #000;
	outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
	pointer-events: none;
}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}

/* .active {
  background-color: lightgray;
} */

/* Underline active */
.navbar-nav > li {
  float: left;
  position: relative;
}


.navbar-default .navbar-nav .active a::after {
  border-bottom: 5px solid  rgb(218, 41, 28);
  bottom: -10px;
  content: " ";
  left: 0;
  position: absolute;
  right: 0;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color:rgb(218, 41, 28);
  }

  
.navbar-light .navbar-nav .active a::after {
  border-bottom: 5px solid  rgb(0, 156, 222);
  bottom: -10px;
  content: " ";
  left: 0;
  position: absolute;
  right: 0;
}
  
.navbar-light .navbar-nav > li > a {
  /* color: #b32400 Change active text color here */
  color: rgb(0, 156, 222);
}  

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > li > a {
  color: #ffe6e6;
  /* #ffcccc */
}  

.navbar .navbar-brand {
  padding-top: 8px;
}
.navbar .navbar-brand img {
  height: 30px;
  width:auto;
}

/* Always show scrollbar in browser to prevent repositioning */
/* https://stackoverflow.com/questions/1417934/how-to-prevent-scrollbar-from-repositioning-web-page */
html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

#myBtn {
  /* display: none; Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

pre{
  background-color: #ffffff; 
  border: 0;
} 

td.center{ 
  text-align: center; /* Or right or left */
}

thead th { 
  background-color: rgb(233, 233, 233);
  position: sticky;
  top: -1px}