:root{
  --bs-primary: #427e93;
  --bs-primary-rgb: #427e93;
  --bs-dropdown-link-active-bg:  var(--bs-primary) !important;
  --bs-link-color: darkred !important;
  --bs-nav-link-color: red !important;
  --bs-nav-link-hover-color: darkred !important;
  --bs-info: #427E93 !important;
}
html{
height:100%;
margin: 0;
padding: 0;
}
body {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 1em;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
h1{
	color: inherit !important;
}
a{
    color: darkred;
    text-decoration: underline;
}
.topnav {
	  overflow-x: auto;
	  background-color: #ffffff;
}

.topnav a{
	float: left;
}
img.profile{
    height: 2em;
    width: auto;
    border-radius: 10px;
    vertical-align: middle;
}

div.scrollmenu {
overflow: auto;
	white-space: nowrap;
	background-color:white;
	width: 100%;
}
.sticky{
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 2000;
}
.block{
	display: inline-block;
	margin: 0 2px;
}
div.scrollmenu a {
display: inline-block;
}

div.scrollmenu a:hover {
}

#floatmenu{
	position: absolute;
	top: 0;
	left: 0;
	height: auto;
	z-index: 5000;
	padding: 5px;
	color: white;
	background-color: #427E93;
	border-radius: 0 0 1em 0;
}
#page_title{
	position: relative;
}
#floatmenuold{
        /*position: fixed;*/
        top: 0;
        right: 0;
        /*left: 0;*/
        height: auto;
        text-align: right;
        z-index: 5000;
        padding: 5px;
        color: white;
        background-color: #427E93;
        border-radius: 0 0 1em 1em;
}
#togglemenu,#toggleuser{
	position: absolute;
	width: 10em;
	z-index: 9999;
}
#togglemenu .menu-button{
	padding: 0.5em 0;
}
#user_button, #menu_button{
	display: inline-block;
}
#user_button{
	display: inline-block;
	position: relative;
	top: 0;
	right: 1em;
}
#menu_button{
        display: inline-block;
        position: relative;
	padding: 0.25rem;
}
#menu_button_old{
        display: inline-block;
        position: relative;
        top: 0.5em;
        float: left;
        left: 1em;
}
/* The side navigation menu */
#sidebar {
  height: 100%; /* 100% Full-height */
  width: 225px; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 5000; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  /*background-color: #427E93; Light */
  background-color: #326070;
  color: white;
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.25s; /* 0.5 second transition effect to slide in the sidenav */
  white-space: nowrap;
  border-right: 2px solid #cccccc;
}
#sidebar a:hover{
  color: white;
  background-color: #427E93;
}
#sidebar a{
  display: block;
  padding: 0.25em 0.1em;
}
.nav{
  margin: 0 0.25em;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main_content{
  margin-top: 0.5rem;
  margin-right: 0.5rem;
  margin-left: 0.5rem;
}
.offset{
  position: relative;
  top: -2em;
}
.bottombar{
  position: fixed;
  z-index: 5000;
  background-color: white;
  width: 100%;
  bottom: 0;
  border-top: 2px solid #c8c8c8;
  padding-top; 2px;
}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
#opennav{
  display: none;
}
@media screen and (max-width: 700px) {
  #topbar {margin-left: 0}
  #closenav {display: none;}
  #opennav {display: inline-block;}
}
img.icon{
  height: 1.5em;
  width: auto;
}
img.logo{
  height: 3em;
  width: auto;
  max-width: 80%;
  background-color: white;
}


#togglemenu{
	left: 0;
	padding: 1em;
	background: white;
	border: 0.5em solid #427E93;
}
#toggleuser{
	right: 0;
	padding: 1em;
	background: white;
	border: 0.5em solid #427E93;
}
.hover:hover{
	background-color: #aaa;
}
#user_icon img{
	height:1em;
	width:auto;
	border-radius:50%;
	z-index:50;
	position: relative;
	bottom: -0.25em;
	left: -0.75em;
}
#user_button: hover{
        color: black;
}
.menu-button{
	display: inline-block;
	/*padding: 1em 0;*/
	text-decoration: none;
	font-size: 1em;
	color: white;
	width: 100%;
	vertical-align: middle;
}
.menu-button i{
	font-size:1.25em;
}
.menu-button:hover {
	background-color: #aaa;
	color: black;
}
.button{
        display: inline-block;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        border-radius: 5px;
	text-align: center;
        /*background-color: #52758C; darker*/
        /*background-color: #003366;*/
        background-color: #427E93;
        color: white;
}
.button:hover {
        background-color: #aaa;
        color: black;
}
.button .active {
	/*background-color: #52758C; darker*/
	background-color: white;
	color: black;
}
a.profile{
  display: inline-block;
  text-decoration: none;
  padding: 10px;
  color: #427E93 !important;
  background-color: white !important;
  border: 2px solid #427E93;
}
a.profile:hover {
  background-color: #427E93 !important;
  color: white !important;
}
a.login{
  display: inline-block;
  text-decoration: none;
  padding: 10px;
  border: 2px solid #006600;
  background-color: #006600 !important;
  color: white !important;
}
a.login:hover {
  color: black !important;
  background-color: #00DD00 !important;
}
a.logout{
  display: inline-block;
  text-decoration: none;
  padding: 10px;
  color: #770000 !important;
  background-color: white !important;
  border: 2px solid #770000;
}
a.logout:hover {
  background-color: #770000 !important;
  color: white !important;
}
a.email{
  position: relative;
  top: -5em;
}
.inactive{
	color: white;
}
.small-font{
 	font-size: 75%;
}

.btn-round{
	border-radius: 5px;
}
.odd{
	background-color:#EEEEEE
}
.even{
}
.yes{
  color:#007700;
  font-weight: bold;
}
.maybe{
  color:darkorange;
}
.no{
  color:#770000;
  font-weight: bold;
}
.blue{
  /*color:#003366;*/
  color: #427E93;
}
.yes-bg{
  background-color:#007700;
  color: white;
}
.maybe-bg{
  background-color:orange;
  color: white;
}
.no-bg{
  background-color:#CC0000;
  color: white;
}
.blue-bg{
  /*background-color: #003366;*/
  background-color: #427E93;
  color: white;
}
.blue-border{
  border: 0.5em solid #427E93;
}
.heading2{
  display: block;
  font-size: 1.25em;
  padding: 10px 10px;
  /*background-color: #003366;*/
  background-color: #427E93;
  color: white;
  border: inherit;
  border-radius: 5px;
  margin-bottom: 5px;
}
.heading{
  color:  var(--bs-primary-rgb) !important;
}
.heading,.heading-nocolor{
  display: block;
  font-size: 1.5em;
  padding: 10px 10px;
  /*background-color: #003366;*/
  border: inherit;
  border-radius: 5px;
  margin-bottom: 5px;
}
.subheading{
  display: block;
  font-size: 1.25em;
  padding: 10px 10px;
  /*background-color: #003366;*/
  background-color: #CCCCCC;
  color: black;
  border: inherit;
  border-radius: 5px;
  margin-bottom: 5px;
}
/* TABLES */
table{
  border-collapse: collapse;
}
.info{
  /*background-color: #003366;*/
  background-color: #427E93;
  color: white;
}
.header{
  background-color: #404040;
  color: white;
}
.cell td, .cell th{
  /*padding: 0 5px;*/
  border-style: solid;
  border-width: 0px 1px;
  border-color: #CCCCCC;
}
.nice td, .nice th, .nice{
  padding: 0.75em 0.5em;
}
.hash{
  display: inline-block;
  background-color: #c9c9c9;
  padding:0.5em 1.5em;
  font-size: 1.25em;
}
.striped-rows .row:nth-of-type(odd) {
  background-color: #f8f9fa; /* Light gray */
}
/* TOOLTIPS */
/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 20em;
    background-color: #666;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    bottom: 125%;
    left: 50%;
    margin-left: -10em;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}
.tooltiptext{
    z-index: 100;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #666 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.accordion-button:not(.collapsed){
  --bs-accordion-btn-bg: white;
  --bs-accordion-active-bg: #666;
  --bs-accordion-active-color: white;
}
.accordion-button:not(.collapsed)::after{
   --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button.collapsed{
  --bs-accordion-btn-bg: var(--bs-primary-rgb);
  --bs-accordion-btn-color: white;
  --bs-accordion-active-color: white;
  --bs-accordion-active-bg: #666;
}
.accordion-button.collapsed::after{
   --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.btn-primary{
  --bs-btn-bg: var(--bs-primary-rgb);
  --bs-btn-color: white;
  --bs-btn-hover-bg: #008473;
  --bs-btn-hover-color: white;
}

.bg-primary{
  --bs-body-color: white;
  background-color: var(--bs-primary-rgb) !important;
}
.navbar-nar .nav-item, .nav-link{
  --bs-nav-link-color: black !important;
  --bs-nav-link-hover-color: darkred !important;
  --bs-body-color: white;
  padding-right: 0.6em;
  padding-left: 0.6em;
}
.dropdown-menu{
  --bs-dropdown-link-active-bg:  var(--bs-primary) !important; 
}

.navbar-dark{
  border-bottom: 4px solid black;
}
.navbar-nav .active{
  color: white !important;
  background-color: var(--bs-primary-rgb) !important;
}
