﻿body, p {
  font-family: Consolas;
  font-size: 15px;
}

.pright {
  padding-right: 15px;
}

/* BEGIN: Label styles */
.lbl_1 {
  display: inline-block;
  width: 250px;
  height: 20px;
  font-family: consolas;
  font-weight: bold;
  font-size: 14px;
}

.lbl_2 {
  font-family: consolas;
  font-size: 14px;
}

.lbl_3 {
  display: inline-block;
  font-family: consolas;
  font-size: 14px;
  width: 100px;
}

.lbl_4 {
  width: 130px
}
/* END: Label styles */
/* Turns off selecting of text of element in a webpage */
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.panel_top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  overflow-x: hidden;
  overflow-y: hidden;
  background-color: black;
  font-weight: bold;
  display: inline-block;
}

/* A blank line below the top panel, for smoother scrolling */
.panel_top_b {
  position: fixed;
  top: 50px;
  height: 10px;
  width: 100%;
  background-color: white;
}

.panel_top a {
  float: left;
  color: white;
  text-align: center;
  padding: 12px 20px 12px 20px;
  text-decoration: none;
  font-size: 22px;
}

.panel_top a:hover {
  background-color: lightgray;
  color: black;
  border-radius: 10px;
}

.panel_top a:active {
  background-color: #4CAF50;
  color: white;
}

.panel_top a.title {
  background-color: red;
  color: white;
}

.panel_top_right {
  position: absolute;
  right: 0;
}

.panel_top_right a:hover {
  background-color: yellow;
  color: blue;
}

.panel_top_right a:active {
  background-color: brown;
  color: white;
}

.panel_left {
  position: fixed;
  display: inline-block;
  top: 50px;
  left: 0;
  width: 150px;
  background: #eee;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 2px 5px 2px;
  padding-bottom: 50px;
}

/* Top row of the left panel which remains in place when scrolling */
.panel_left_b {
  position: sticky;
  top: -10px;
  background-color: aquamarine;
  margin: -10px 0 0 0;
  padding: 5px 0px 2px 5px;
}

.panel_left a {
  padding: 5px 2px 5px 10px;
  text-decoration: none;
  color: #2196F3;
  display: block;
  word-wrap: break-word;
}

.panel_left a:hover {
  color: #064579;
  background-color: yellow;
  font-size: larger;
  font-weight: bolder;
  border-radius: 10px;
}

.panel_left_b a:hover {
  background-color: aquamarine;
  border-radius: 0px;
}

.panel_main {
  position: static;
  margin-top: 60px;
  margin-left: 145px; /* Same width as the sidebar + left position in px */
  padding-left: 25px;
  margin-bottom: 100px;
  margin-right: -8px;
  background-color: white;
}

.panel_main_bm {
  position: sticky;
  margin-top: 60px;
  margin-left: 145px; /* Same width as the sidebar + left position in px */
  margin-right: -8px;
  background-color: white;
}

.panel_bottom {
  background: #ccc;
  margin-left: 145px;
  padding: 5px 0px 5px 25px;
  margin-right: -8px;
}

/* The styles related to the pop-up menu, it is a positioned grid, with one column, and three rows */
.window_box {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: 25px auto 25px;
  position: fixed;
  width: 0; /* must be zero, otherwise you will see it always */
  height: 0;
  top: 100px;
  left: 33%;
  background-color: black;
  overflow-x: hidden;
  transition: 0.5s;
}

.window_box_header {
  position: sticky;
  top: -10px;
  background-color: orangered;
  margin: -10px 0 0 0;
  z-index: 1;
}

.window_box_footer {
  position: sticky;
  bottom: 0;
  background-color: lightgray;
  z-index: 1;
}

.window_box_header .flex_container, .window_box_footer .flex_container {
  display: flex;
  justify-content: flex-end;
}

.window_box_content {
  margin-top: 2px;
  margin-left: 2px;
  display: block;
  font-size: 15px;
}

.window_box_content.p, .window_box_content.a {
  font-size: 15px;
}

.window_box a {
  padding: 2px;
  text-decoration: none;
  color: white;
  display: block;
  transition: 0.3s;
  font-size: 15px;
}

.window_box_content a:hover {
  color: yellow;
}

.bm_autosuggest_container a {
  color: deepskyblue
}

.bm_autosuggest_container a:hover {
  color: yellow
}

.window_box_header .closebtn, .maximizebtn, .minimizebtn, .clearbtn, .fontupbtn, .fontdownbtn {
  font-size: 25px;
  padding: 8px 10px 0 0;
  flex-grow: 0;
}

.window_box_header .closebtn:hover, .maximizebtn:hover, .minimizebtn:hover, .clearbtn:hover, .fontupbtn:hover, .fontdownbtn:hover {
  color: yellow;
}

.window_box_footer .resize_anchor {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid red;
  border-top: 25px solid transparent;
  flex-grow: 0;
}

.flex_container .header_title {
  font-size: 15px;
  padding: 13px 10px 8px 5px;
  text-align: left;
  flex-grow: 1;
}

.flex_container .footer_title {
  font-size: 15px;
  padding: 4px 10px 0px 5px;
  text-align: left;
  flex-grow: 1;
}

.window_box_header .closebtn:hover, .maximizebtn:hover, .minimizebtn:hover, .clearbtn:hover, .fontdownbtn:hover, .fontupbtn:hover {
  cursor: pointer;
  color: yellow;
}

.cookie_policy {
  color: white;
  padding: 2px 2px 2px 2px;
  font-size: 15px;
}

.debug_policy {
  color: lawngreen;
  padding: 2px 2px 2px 2px;
}

.api_key_policy {
    color: white;
    padding: 2px 2px 2px 2px;
    font-size: 15px;
    height: 250px;
}

.api_bm_autosuggest_policy {
  color: white;
  padding: 2px 2px 2px 2px;
  font-size: 15px;
  height: 250px;
}

.splitter {
  position: fixed;
  height: 100%;
  width: 5px;
  top: 50px;
  left: 150px;
  background-color: skyblue;
}

.top_panel_nav {
  display: flex;
}

.top_panel_nav_right {
  margin-left: auto;
}