/* Variables */
:root {
  --header-height: 54px;
  --toolbar-height: 40px;
  --header-color: #569;
  --background-color: #f0f3f8;
  --block-header-bgcolor: #78b;
  --menu-border-color1: #778;
  --menu-border-color2: #ddeeff;
  --menu-background-color1: #fff;
  --menu-background-color2: #f8fcff;
  --menu-bar-text-color: #fff;
  --menu-text-color: #018;
  --menu-hover-background-color-old: #cfcfcf;
  --menu-hover-color-old: #444;
  --book-menu-font-color: #12a;
}
@media (min-width: 1200px) {
  :root {
    --max-width: 1170px;
  }
}
@media (max-width: 1199px) {
  :root {
    --max-width: 97.5%;
  }
}
/* Visibility */
@media (max-width: 543px) {
  .hidden-xs-down {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .hidden-sm-down {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .hidden-md-down {
    display: none !important;
  }
}
@media (max-width: 1199px) {
  .hidden-lg-down {
    display: none !important;
  }
}
@media (min-width: 544px) {
  .hidden-sm-up {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .hidden-md-up {
    display: none !important;
  }
}
@media (min-width: 992px) {
  .hidden-lg-up {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .hidden-xl-up {
    display: none !important;
  }
}
/* General */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* TODO: Consider content-box */
html {
  position: relative;
}
html.ns .us,
html.ne .ue,
html.nl .ul,
html.ng .ug,
html.nse .use,
html.nlg .ulg,
html.nsel .usel {
  display: none !important;
}
body {
  position: relative;
  margin: 0;
  overflow-y: scroll;
}
#header,
#main-toolbar,
#main-content,
#footer {
  box-sizing: content-box;
  width: 100%;
  max-width: var(--max-width);
  padding: 0 calc((100% - var(--max-width)) / 2);
}
/* Page Header */
#header {
  position: fixed;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-height);
  background-color: var(--header-color);
  color: white;
}
@media (max-width: 991px) {
  #header .img-logo32 {
    display: none;
  }
}
#header .site-name {
  position: relative;
  width: 156px;
  height: 36px;
  flex-grow: 1;
  font: 32px Georgia, "Times New Roman";
  word-spacing: 0;
  letter-spacing: 1px;
}
#header .site-name > span > span {
  font-weight: bold;
}
#header .site-name > .shadow {
  position: absolute;
  top: 3px;
  left: 3px;
  color: #333;
}
#header .site-name > .no-shadow {
  position: absolute;
  top: 0;
  left: 0;
}
#header .site-name > .no-shadow > .object {
  color: #fff;
}
#header .site-name > .no-shadow > .db {
  color: #e0e5f9;
}
#header .header-links {
  justify-content: flex-end;
  display: flex;
  gap: 12px;
  width: 180px;
}
#header .header-links > a {
  display: block;
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  /* to white */
}
@media (max-width: 543px) {
  #header .header-links > a.img-download,
  #header .header-links > a.img-comments {
    display: none;
  }
}
/* Main */
#main {
  position: relative;
  top: 96px;
}
/* Main Toolbar */
#main-toolbar {
  position: fixed;
  top: var(--header-height);
  z-index: 10;
  display: flex;
  align-items: center;
  height: var(--toolbar-height);
  border-bottom: 2px solid gray;
  background-color: white;
  opacity: 1;
}
#main-toolbar .breadcrumbs {
  display: flex;
  flex-grow: 1;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.9rem;
}
#main-toolbar:has(.message-success) {
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
#main-toolbar:has(.message-success) > .message-success {
  color: #3c763d;
}
#main-toolbar:has(.message-info) {
  background-color: #d9edf7;
  border-color: #bce8f1;
}
#main-toolbar:has(.message-info) > .message-info {
  color: #31708f;
}
#main-toolbar:has(.message-warning) {
  background-color: #fcf8e3;
  border-color: #faebcc;
}
#main-toolbar:has(.message-warning) > .message-warning {
  color: #8a6d3b;
}
#main-toolbar:has(.message-danger) {
  background-color: #f2dede;
  border-color: #ebccd1;
}
#main-toolbar:has(.message-danger) > .message-danger {
  color: #a94442;
}
#main-toolbar > [class^="message-"] {
  flex-grow: 1;
  font-weight: bold;
}
/* Main Content */
@media (min-width: 768px) {
  #main {
    min-height: 720px;
  }
}
#main-content {
  /* Note: Must be specific to avoid collision with Monaco auto-complete. */
  position: relative;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding-bottom: 48px;
}
#main-content #left-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--toolbar-height) + 30px);
  margin: 32px 16px;
  align-self: baseline;
}
#main-content #left-margin {
  margin-right: 8px;
  width: 8px;
  min-width: 8px;
  max-width: 8px;
}
#main-content #article {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  margin: 32px 16px 48px 0;
}
#main-content #article.draft {
  background-color: #ffe;
}
body.database-features #main-content #article {
  margin: 0 auto;
}
#main-content #right-sidebar {
  display: none;
}
@media (min-width: 992px) {
  #main-content #right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin: 32px 16px;
    min-width: 300px;
    max-width: 300px;
    width: 300px;
  }
  #main-content #right-sidebar > .block {
    border: 2px solid #67a;
    border-radius: 8px;
    background-color: #f4f6f8;
  }
  #main-content #right-sidebar > .block > h2 {
    margin: 0;
    height: 34px;
    padding: 0 10px;
    overflow: hidden;
    background-color: #67a;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: normal;
  }
  #main-content #right-sidebar > .block > .content {
    padding: 8px;
    font-size: 1rem;
  }
  #main-content #right-sidebar > .block > .content ol {
    padding: 0 12px;
  }
}
/* Page Footer */
#footer {
  margin-top: 48px;
  padding-top: 16px;
  padding-bottom: 16px;
  overflow-x: scroll;
  font-size: 0.9rem;
  background-image: linear-gradient(#569, #235);
  color: white;
}
#footer > .footer-links {
  float: left;
  width: 65%;
}
#footer > .footer-links table {
  border-spacing: 2px;
}
#footer > .footer-links th {
  width: 33%;
  text-align: left;
  text-decoration: underline;
}
#footer > .footer-links th,
#footer > .footer-links td {
  padding: 2px 0;
}
#footer > .footer-links a[href] {
  color: #fff !important;
  line-height: 36px;
}
@media (max-width: 991px) {
  #footer > .footer-links {
    display: none;
  }
}
#footer > .footer-jpab {
  float: right;
  width: 30%;
  margin: 2px;
  padding: 4px;
  text-align: center;
  background-color: #def;
  color: #000;
  border: 0 solid #000;
  border-radius: 16px;
}
#footer > .footer-jpab h2 {
  margin: 16px 0;
  font-size: 1.2rem;
}
#footer > .footer-jpab p {
  padding: 0;
  font-size: 0.6rem;
  line-height: 2em;
}
@media (max-width: 991px) {
  #footer > .footer-jpab {
    display: none;
  }
}
#footer > .footer-message {
  padding-top: 32px;
  font-size: 0.65rem;
  text-align: justify;
  clear: both;
}
#footer > .footer-message p,
#footer > .footer-message a[href] {
  color: #fff;
}
#footer > .footer-message a {
  text-decoration: underline;
}

html,
input,
select,
textarea,
button {
  font: 16px Roboto, Arial, Helvetica, Verdana, Sans-Serif;
}
@media (min-width: 544px) {
  html,
  input,
  select,
  textarea,
  button {
    font-size: 16px;
  }
}
@media (min-width: 768px) {
  html,
  input,
  select,
  textarea,
  button {
    font-size: 17px;
  }
}
@media (min-width: 992px) {
  html,
  input,
  select,
  textarea,
  button {
    font-size: 18px;
  }
}
@media (min-width: 1200px) {
  html,
  input,
  select,
  textarea,
  button {
    font-size: 19px;
  }
}
body {
  line-height: 1.8rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px 0;
  font-weight: bold;
  color: #235;
}
h1 {
  font-size: 1.5rem;
}
h2 {
  font-size: 1.2rem;
  margin-top: 48px;
  scroll-margin-top: 120px;
  /* for internal links due to the sticky header (doesnt fit forms due to background). */
}
.text h2 {
  margin-top: -50px;
  padding-top: 82px;
}
h3 {
  font-size: 1.1rem;
  margin: 24px 0 16px 0;
}
h4,
h5,
h6 {
  font-size: 1rem;
  margin: 24px 0 0 0;
}
p,
dd {
  padding: 0;
  margin: 12px 0;
  color: #222;
}
dt {
  font-weight: bold;
}
hr {
  margin: 0;
  height: 0;
  border: 1px solid gray;
}
.indented {
  margin-left: 48px;
}
pre,
code,
a.code {
  font-family: "Roboto Mono", Consolas, Monaco, monospace;
}
pre {
  padding: 0;
  white-space: pre;
  overflow: visible;
  line-height: 1.45rem;
  font-size: 0.9rem;
  tab-size: 1;
  background: none;
  border: none;
}
pre .vertical-gap {
  display: block;
  height: 8px;
}
pre.pre-wrap {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (min-width: 768px) {
  pre {
    tab-size: 2;
  }
}
@media (min-width: 1200px) {
  pre {
    tab-size: 3;
  }
}
code,
a[href].code {
  background-color: #f8f8f8;
  padding: 0 2px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
}
pre a[href].code,
article > a {
  background-color: transparent !important;
  border: none !important;
}
pre a[href] {
  color: #035;
  border-bottom: 1px dashed #9ac;
}
ol,
ul {
  padding-inline-start: 0;
}
#article ol,
#article ul {
  margin-left: 16px;
}
ol > li {
  list-style: decimal;
}
li {
  margin: 0 0 4px 16px;
}
.p_description {
  margin-bottom: 16px;
}
.toc > h2 {
  font-size: 1.1rem;
  margin-top: 16px;
}
.toc > a {
  display: block;
  width: fit-content;
  margin: 0 0 4px 16px;
  padding-left: 20px;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: center left;
}
a[href] {
  font-weight: normal;
  text-decoration: none;
  color: #01c;
}
article a[href] {
  text-decoration: underline 1px #abf;
}
article a[href^="http"] {
  /*padding-right: 20px;*/
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: right -20%;
  width: 12px;
  height: 12px;
  padding-left: 2px;
}
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
#article table td,
#article table th {
  padding: 8px;
  border: #89a solid 1px;
  overflow-wrap: break-word;
}
table.borderless {
  border: none;
}
table.borderless th,
table.borderless td {
  border: none;
}
table.padding16 td,
table.padding16 th {
  padding: 16px;
}
table.zebra tbody tr:nth-child(odd) {
  background: #fbfcff;
}
table.zebra tbody tr:nth-child(even) {
  background: #f1f2fa;
}
table.side-header {
  /* in use on the Features page */
}
table.side-header th {
  width: 220px;
}
@media (max-width: 543px) {
  table.side-header th,
  table.side-header td {
    display: block;
    padding: 0;
    border: none;
    text-align: left;
  }
  table.side-header th {
    margin-top: 16px;
    width: 100%;
  }
}
table.round-corners {
  border-collapse: collapse;
  padding: 0;
  border: none;
}
table.round-corners th,
table.round-corners td {
  border: 1px solid #ccc;
}
table.round-corners tr:first-child > th:first-child {
  border-top-left-radius: 5px;
}
table.round-corners tr:first-child > th:last-child {
  border-top-right-radius: 5px;
}
table.round-corners tr:last-child > td:first-child {
  border-bottom-left-radius: 5px;
}
table.round-corners tr:last-child > td:last-child {
  border-bottom-right-radius: 5px !important;
}
.hidden {
  display: none;
}
.clear {
  clear: both;
}
.clear-after::after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.linethrough {
  text-decoration: line-through;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  margin: 0 auto;
}
.img {
  background-repeat: no-repeat;
  color: #68f;
}
.icon {
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
}
.size16 {
  width: 16px;
  height: 16px;
}
.size20 {
  width: 20px;
  height: 20px;
}
.size24 {
  width: 24px;
  height: 24px;
}
.size32 {
  width: 32px;
  height: 32px;
}
.size64 {
  width: 64px;
  height: 64px;
}
img.user {
  width: 100px;
  height: 100px;
}
/* for account and posts */
.file-link {
  display: flex;
  align-items: center;
  column-gap: 4px;
  height: 48px;
}
.file-link > i {
  width: 40px;
  height: 40px;
}
ins,
del {
  margin: 2px !important;
  padding: 2px !important;
  color: black;
  border: 1px solid #777;
}
.format {
  border-bottom: 2px dashed orange;
  padding-bottom: 1px;
}
ins,
body.objectdb .ICE-Tracking ins.ice-ins {
  background-color: #dfd !important;
  text-decoration: none;
}
del,
body.objectdb .ICE-Tracking del.ice-del {
  background-color: #fdd !important;
  /* text-decoration: line-through;
  text-decoration-color: red; text-decoration-style: double; */
}
.highlight {
  background-color: yellow;
}
.foldable:not(.folded) .foldable-summary {
  display: none;
}
.folded .foldable-content {
  display: none;
}
.folding-icon::before {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  line-height: 16px;
  text-align: center;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.3em;
}
.foldable:not(.folded) .folding-icon::before {
  content: "−";
}
.foldable.folded .folding-icon::before {
  content: "+";
}

/* Common for all devices */
#menu-mode {
  display: none;
}
#main-menu {
  /* never visible */
}
#main-menu nav,
#main-menu div {
  margin: 0;
  padding: 0;
}
#main-menu nav {
  list-style-type: none;
}
#main-menu div,
#main-menu a {
  white-space: nowrap;
  color: var(--menu-text-color);
  line-height: 1.8rem;
}
#main-menu div.m-linkless > a:hover {
  text-decoration: none !important;
  cursor: default;
}
#main-menu a {
  vertical-align: middle;
  padding: 0 6px 0 23px;
  /*  space for the left side icon */
}
#main-menu a > i {
  font-style: normal;
}
#main-menu a.icon {
  background-position: 0 48%;
  background-size: 20px 20px;
}
#main-menu input[type="checkbox"] {
  display: none;
  margin: 0;
  height: 0;
}
#main-menu label {
  margin: 0;
  display: inline-block;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-position: center center;
}
#main-menu a[class*="img-"] {
  background-position: 1% 48%;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  padding: 0 12px 0 28px;
}
/* Large Devices */
@media (min-width: 992px) {
  /* Old (single column) menu: */
  /* #main-menu > nav > div.m-old {
    &:hover > nav, div:hover > nav { display: block; }
    nav {
      position: absolute; top: $header-height - 18px; left: 0; z-index: 100;
      width: $sub-menu-width; margin: 0; line-height: 28px;
      nav { top: -1px; left: $sub-menu-width - 2; }
      div {
        z-index: 200; left: -2px; height: 44px;
        margin: 0; padding: 8px 0 5px 0; width: 100%;
        background-color: $menu-background-color1;
        border: 2px solid $menu-border-color1; border-top-width: 1px; border-bottom-width: 1px;
        &:first-child { border-top-width: 2px; }
        &:last-child { border-bottom-width: 2px; }
        &:hover { color: $menu-hover-color-old; background: $menu-hover-background-color-old; }
        > a { flex-grow: 1;}
      }
    }
  }*/
  #main-menu {
    z-index: 100;
    flex-grow: 1;
    height: var(--header-height);
    display: flex;
    align-items: flex-end;
    /* only for small devices */
  }
  #main-menu > div {
    /* 1st level - menu bar item */
    height: calc(var(--header-height) - 12px);
    padding: 0 6px 6px 6px;
    position: relative;
    /* 2nd level */
  }
  #main-menu > div > a {
    height: 100%;
    margin: 0;
    padding: 0 2px 0 6px !important;
    font-size: 0.95rem;
    color: var(--menu-bar-text-color);
    background: none;
  }
  #main-menu > div:hover {
    background-color: var(--menu-background-color1);
    border-color: var(--menu-border-color1);
  }
  #main-menu > div:hover > a {
    color: var(--menu-text-color);
  }
  #main-menu > div nav {
    display: none;
  }
  #main-menu div {
    display: flex;
    align-items: center;
  }
  #main-menu a {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
  }
  #main-menu label {
    display: none !important;
  }
  #main-menu > div {
    border-radius: 4px;
    /* Arrow down connecting a top menu item to the primary popover (visible on hover): */
    /* Common to the primary popover and the secondary popover: */
    /* Primary popover (2nd level, visible on hover): */
    /* Extension of 3rd level and beyond: */
    /* Special effects: */
  }
  #main-menu > div > nav,
  #main-menu > div::after,
  #main-menu > div.m-api > nav > div > nav {
    visibility: hidden;
  }
  #main-menu > div:hover > nav,
  #main-menu > div:hover::after,
  #main-menu > div.m-api:hover > nav > div:hover > nav,
  #main-menu > div.m-api:hover > nav > div:hover > nav > div > nav {
    visibility: visible;
  }
  #main-menu > div > nav,
  #main-menu > div::after {
    transition: all 0.05s ease-in 0.1s;
  }
  #main-menu > div::after {
    position: absolute;
    left: 50%;
    bottom: 1px;
    margin-left: -6px;
    width: 12px;
    height: 12px;
    content: "";
    background-color: var(--menu-background-color2);
    transform: rotate(45deg);
    border-radius: 1px 0 0;
    border-left: 3px solid var(--menu-border-color1);
    border-top: 3px solid var(--menu-border-color1);
  }
  #main-menu > div nav {
    display: flex;
    flex-wrap: wrap;
  }
  #main-menu > div > nav,
  #main-menu > div.m-api > nav > div > nav {
    width: 960px;
  }
  #main-menu > div > nav {
    position: fixed;
    top: calc(var(--header-height) - 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 16px;
    flex-direction: column;
    background-color: var(--menu-background-color2);
    border: 3px solid var(--menu-border-color1);
    border-radius: 8px;
    /* Rows on the primary popover (2nd level): */
  }
  #main-menu > div > nav > div {
    margin: 6px 0;
    padding: 4px 8px;
    background-color: var(--menu-background-color1);
    border: 2px solid var(--menu-border-color2);
    border-radius: 8px;
    /* Lists on the right side of the primary popover (3rd level +), */
    /* Levels below the 3rd level are hidden unless an m-ext-* class is set */
  }
  #main-menu > div > nav > div > a {
    width: 160px;
    flex-shrink: 0;
  }
  #main-menu > div > nav > div nav > div {
    margin: 0 8px 0 0;
  }
  #main-menu > div > nav > div nav > div > nav {
    display: none;
  }
  #main-menu > div > nav a > i {
    display: none;
  }
  #main-menu > div > nav a[href]:hover {
    text-decoration: underline;
  }
  #main-menu > div.m-manual > nav > div > nav > div,
  #main-menu > div.m-new-examples > nav > div > nav > div,
  #main-menu > div.m-api > nav > div > nav > div {
    /* unfold 3rd level */
  }
  #main-menu > div.m-manual > nav > div > nav > div > a,
  #main-menu > div.m-new-examples > nav > div > nav > div > a,
  #main-menu > div.m-api > nav > div > nav > div > a {
    font-weight: bold;
  }
  #main-menu > div.m-manual > nav > div > nav > div > a::after,
  #main-menu > div.m-new-examples > nav > div > nav > div > a::after,
  #main-menu > div.m-api > nav > div > nav > div > a::after {
    content: ":";
    margin-left: 0;
    padding-left: 2px;
  }
  #main-menu > div.m-manual > nav > div > nav > div,
  #main-menu > div.m-new-examples > nav > div > nav > div,
  #main-menu > div.m-api > nav > div > nav > div,
  #main-menu > div.m-manual > nav > div > nav > div > nav,
  #main-menu > div.m-new-examples > nav > div > nav > div > nav,
  #main-menu > div.m-api > nav > div > nav > div > nav {
    display: contents;
  }
  #main-menu > div.m-api > nav > div > a {
    font-weight: normal;
  }
  #main-menu > div.m-api > nav > div > a::after {
    display: none;
  }
  #main-menu > div.m-api > nav > div > nav {
    position: absolute;
    top: calc(100% - 3px);
    padding: 16px;
    left: -3px;
    display: flex;
    background-color: #ffe;
    border: 3px solid var(--menu-border-color1);
    border-top: 1px solid var(--menu-border-color1);
    border-radius: 8px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  #main-menu > div.m-diamonds > nav > div > nav [class*="img"] {
    background: none;
    padding-left: 0;
  }
  #main-menu > div.m-diamonds > nav > div > nav a {
    display: inline;
    /* to avoid underlined diamonds */
    padding: 0 !important;
  }
  #main-menu > div.m-diamonds > nav > div > nav a:after {
    content: "\2666";
    margin: 0 8px 0 8px;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
  }
  #main-menu > div.m-diamonds > nav > div > nav > a:last-child:after {
    display: none;
  }
  #main-menu > div.m-diamonds > nav > div > nav > div:last-child > nav > a:last-child:after {
    display: none;
  }
  #main-menu > div.m-col > nav {
    flex-direction: row;
  }
  #main-menu > div.m-col > nav > div {
    flex-direction: column;
    flex: 1;
    padding-bottom: 24px;
    background-color: var(--menu-background-color2);
    border: none;
  }
  #main-menu > div.m-col > nav > div > a,
  #main-menu > div.m-col > nav > div > nav {
    background-color: var(--menu-background-color1);
    border: 2px solid var(--menu-border-color2);
    border-radius: 8px;
  }
  #main-menu > div.m-col > nav > div > a {
    z-index: 200;
    position: absolute;
    width: auto;
    height: 40px;
    padding: 2px 8px;
    background-image: none;
  }
  #main-menu > div.m-col > nav > div > nav {
    position: relative;
    top: 20px;
    flex-direction: column;
    width: 100%;
    padding: 40px 24px 24px 24px;
  }
  #main-menu > div.m-col > nav > div > nav a {
    height: 48px;
  }
  #main-menu > div.m-admin > nav > div > a {
    width: 130px;
  }
  #main-menu > div.m-examples > nav {
    width: 640px;
  }
  #main-menu > div.m-examples > nav > div > a {
    width: 260px;
    margin-left: 24px;
  }
  #main-menu > div.m-examples > nav > div > nav {
    flex-direction: column;
  }
  #main-menu > div.m-new-examples > nav > div > a {
    width: 220px;
    margin-left: 24px;
  }
  .img-bars {
    display: none;
  }
}
/* Small Devices (Full Screen Menu): */
@media (max-width: 991px) {
  .img-bars {
    display: block;
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
  }
  #menu-mode:checked ~ #header #main-menu {
    display: block;
  }
  #menu-mode:checked ~ #main,
  #menu-mode:checked ~ #footer {
    display: none;
  }
  #main-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    padding: 4px 12px;
    /*a { padding-right: 0 !important; }*/
    /* visible when checked */
  }
  #main-menu div {
    padding: 4px 2px;
    font-size: 1.2rem;
    line-height: 1.8rem;
  }
  #main-menu div > nav > a {
    display: block;
    margin: 8px 0;
  }
  #main-menu div a.active {
    background-color: #ff8;
    border: 1px solid #ff8;
    border-radius: 12px;
  }
  #main-menu div.active-trail > a {
    font-weight: bold;
  }
  #main-menu nav {
    margin-left: 20px;
    display: none;
  }
  #main-menu input[type="checkbox"]:checked ~ nav {
    display: block;
  }
  #main-menu label {
    /* parent's arrow */
    display: inline-block;
    width: 24px;
    height: 1.8rem;
    vertical-align: middle;
    background-size: 24px 24px;
    background-position: 0 40%;
  }
  #main-menu .api-diagram,
  #main-menu .diagram,
  #main-menu .label-types-main,
  #main-menu .label-types-all {
    display: none;
  }
}
/* New JPA Diagram: */
@media (min-width: 992px) {
  #main-menu div.m-api > nav {
    flex-direction: row !important;
    justify-content: center;
    gap: 24px 8px;
    padding: 360px 0 8px 0 !important;
  }
  #main-menu div.m-api > nav > div[class^="m-"] {
    border: none !important;
    margin: 0 !important;
    padding: 0;
  }
  #main-menu div.m-api > nav > div[class^="m-"] > a {
    margin: 0 !important;
    width: auto;
    padding: 5px 12px 5px 32px !important;
    height: 30px !important;
    line-height: 30px;
    font-size: 17px;
  }
  #main-menu div.m-api > nav > div[class^="m-"] a {
    font-size: 17px;
  }
  .api-diagram {
    position: absolute;
    top: 0;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: inherit !important;
  }
  .api-diagram marker {
    overflow: visible;
    visibility: visible;
  }
  .api-diagram > a {
    display: flex;
    align-items: center;
    position: absolute !important;
    padding: 4px 12px 4px 32px !important;
    font-size: inherit !important;
  }
  .api-diagram > a:hover {
    background-color: #ffd;
  }
  div.m-api > nav > div[class^="m-"]:hover > a {
    background-color: #ffe;
  }
  div.m-api > nav > .m-core:hover ~ .api-diagram > a.node-persistence,
  div.m-api > nav > .m-core:hover ~ .api-diagram > a.node-entitymanagerfactory,
  div.m-api > nav > .m-core:hover ~ .api-diagram > a.node-entitymanager,
  div.m-api > nav > .m-core:hover ~ .api-diagram > a.node-entitytransaction {
    background-color: #ffe;
  }
  div.m-api > nav > .m-queries:hover ~ .api-diagram > a.node-criteriabuilder,
  div.m-api > nav > .m-queries:hover ~ .api-diagram > a.node-criteriaqueryt,
  div.m-api > nav > .m-queries:hover ~ .api-diagram > a.node-query,
  div.m-api > nav > .m-queries:hover ~ .api-diagram > a.node-typedqueryx,
  div.m-api > nav > .m-queries:hover ~ .api-diagram > a.node-parametert {
    background-color: #ffe;
  }
  div.m-api > nav > .m-control:hover ~ .api-diagram > a.node-persistenceutil,
  div.m-api > nav > .m-control:hover ~ .api-diagram > a.node-persistenceunitutil,
  div.m-api > nav > .m-control:hover ~ .api-diagram > a.node-cache,
  div.m-api > nav > .m-control:hover ~ .api-diagram > a.node-entitygraph,
  div.m-api > nav > .m-control:hover ~ .api-diagram > a.node-entitygrapht {
    background-color: #ffe;
  }
  div.m-api > nav > .m-metamodel:hover ~ .api-diagram > a.node-metamodel {
    background-color: #ffe;
  }
}

#main-menu input[type="checkbox"]:checked ~ label { background-image: url("data:image/svg+xml,%3Csvg fill='%23018' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E%3C!--Font Awesome Free 5.5.0 by @fontawesome - https://fontawesome.comLicense - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)--%3E");} 
#main-menu input[type="checkbox"]:not(:checked) ~ label, mark.img-right { background-image: url("data:image/svg+xml,%3Csvg fill='%23018' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 192 512'%3E%3Cpath d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'/%3E%3C/svg%3E%3C!--Font Awesome Free 5.5.0 by @fontawesome - https://fontawesome.comLicense - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)--%3E");} 
/* Form */
/*
.fake-caret {
  display: inline-block;
  width: 1px;
  height: 1em;
  background-color: black;
  animation: blink 1s step-start infinite;
  vertical-align: bottom;
}

.fake-selection {
  background-color: rgba(0, 120, 215, 0.3);
}
*/
/* Widget */
.labeled-widget {
  display: flex;
  flex-direction: column;
  margin: 16px 8px 20px 0;
}
.labeled-widget:last-child {
  margin-bottom: 0;
}
.labeled-widget.string-widget {
  flex-grow: 1;
}
.labeled-widget > .label {
  display: inline-block;
  width: 100%;
  margin: 4px;
  font-weight: 700;
}
.labeled-widget > .widget {
  width: 99%;
}
.labeled-widget > .widget > .before-control {
  margin: 8px 0;
}
.labeled-widget > .widget > .after-control {
  margin: 4px 0 8px;
  color: #737373;
}
.labeled-widget > .widget-collection > .after-control {
  margin-top: -24px;
}
@media(min-width: 768px) {
  .form-horizontal .labeled-widget {
    flex-direction: row;
    width: 100%;
  }
  .form-horizontal .labeled-widget > label,
  .form-horizontal .labeled-widget .label {
    width: 30%;
    margin-right: 16px;
    text-align: right;
  }
  .form-horizontal .labeled-widget > .widget {
    flex-grow: 1;
  }
}
.widget-control {
  display: table;
  width: 100%;
  position: relative;
  margin: 4px 0 12px 0;
}
.widget-control > .widget-addon {
  display: table-cell;
  width: 1%;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  color: #555;
  background-color: #eee;
  border: 1px solid #ccc;
}
.widget-control > .widget-addon .disabled {
  opacity: 0.2;
}
.widget-control > .widget-addon .icon {
  width: 16px;
  height: 16px;
  background-position: center center;
}
.widget-control > .widget-addon:first-child {
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
.widget-control > .widget-addon:last-child {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}
.widget-control > .form-control {
  flex-grow: 1;
}
.widget-control > .form-control:not(:first-child) {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.widget-control > .form-control:not(:last-child) {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.widget-fieldset {
  margin: 8px 0;
  padding: 0;
}
.widget-fieldset > fieldset {
  margin: 0;
  padding: 8px;
  border: none;
}
.widget-collection,
.widget-map {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 16px;
}
.widget-collection .widget-fieldset,
.widget-map .widget-fieldset {
  border: #ddd solid 1px;
  border-radius: 4px;
}
.widget-collection .widget-fieldset > fieldset,
.widget-map .widget-fieldset > fieldset {
  margin: 16px;
}
.widget-collection > .widget,
.widget-map > .widget {
  margin: 0;
}
.widget-collection button,
.widget-map button {
  align-self: flex-start;
}
.widget:has(.widget-error) > .form-control {
  border-color: red;
}
.widget:has(.widget-error) > .widget-error {
  position: absolute;
  margin-top: -16px;
  color: red;
  font-size: 80%;
}
.filter-form,
.inline-form {
  display: flex;
  flex-wrap: wrap;
}
.filter-form .labeled-widget,
.inline-form .labeled-widget {
  display: inline-flex;
}
.inline-form {
  margin: 16px 0;
}
/* Form Controls */
.form-control,
.form-control-inline {
  height: 32px;
  padding: 4px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.form-control {
  display: block;
  width: 100%;
}
input[type="datetime-local"].form-control {
  width: unset;
}
label {
  display: inline-flex;
  align-items: center;
  margin: 4px;
  font-weight: 700;
}
input[type="radio"] {
  margin: 0 8px;
}
textarea.form-control {
  height: auto;
  overflow-x: scroll;
}
text-area pre {
  padding: 8px;
  border: #ddd solid 1px;
  background-color: #fafafa;
}
.rich-text-control {
  display: flex;
  width: 100%;
}
.rich-text-control > .rich-editing,
.rich-text-control > textarea {
  flex-grow: 1;
  width: 50%;
}
/* Editor Ribbon */
.cls-editor-ribbon {
  position: fixed;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  top: calc(var(--header-height) + var(--toolbar-height) + 2px);
  background-color: #fffacd;
  border: 12px solid #fffacd;
}
.cls-editor-ribbon .content-tabs {
  margin-top: -4px;
  width: var(--max-width);
}
.cls-editor-ribbon .content-tabs > .nav {
  margin: 0;
  background-color: #fffacd;
}
.cls-editor-ribbon .content-tabs > .content {
  margin-top: -1px;
  padding: 8px 16px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.cls-editor-ribbon .content-tabs > .content button {
  margin-left: 4px;
}
.cls-editor-ribbon button {
  margin: 0 2px;
  padding: 4px;
  height: 30px;
  min-width: 30px;
  border-width: 1px;
  border-radius: 4px;
  font-size: 0.85rem;
}
.cls-editor-ribbon button.active,
.cls-editor-ribbon #editor-embed.active {
  background-color: yellow;
}
.cls-editor-ribbon .tab-view label {
  height: 30px;
  padding: 3px 4px;
}
.cls-editor-ribbon .embed-content,
.cls-editor-ribbon .link-content,
.cls-editor-ribbon .review-content {
  display: flex !important;
  align-items: center;
}
.cls-editor-ribbon .embed-content > select,
.cls-editor-ribbon .link-content > select,
.cls-editor-ribbon .review-content > select {
  display: inline-flex;
  padding: 4px;
  width: unset;
  margin: 0 8px;
}
.cls-editor-ribbon .embed-content > button,
.cls-editor-ribbon .link-content > button,
.cls-editor-ribbon .review-content > button {
  margin: 0 16px;
  height: 30px;
}
.cls-editor-ribbon .review-content {
  justify-content: space-between;
  align-items: center;
}
.cls-editor-ribbon .review-content > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cls-editor-ribbon ~ #main-content {
  padding-top: calc(var(--header-height) + var(--toolbar-height) + 12px);
  margin-bottom: 80px;
}
#main:has(.cls-editor-ribbon) #left-sidebar {
  top: calc(var(--header-height) + var(--toolbar-height) + 12px + 112px);
}
.rich-text-control {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.rich-text-control .rich-editing,
.rich-text-control textarea,
.rich-text-control .plain,
.rich-text-control .splitter {
  display: none;
  overflow: hidden;
  height: 100%;
}
.rich-text-control .rich-editing,
.rich-text-control .plain {
  flex: 1;
  padding: 10px;
}
.rich-text-control .splitter {
  min-width: 5px;
  cursor: col-resize;
  background: #ccc;
}
.rich-text-control .plain pre {
  white-space: pre-wrap;
}
.rich-text-control h2 {
  scroll-margin-top: 225px;
}
/*.cls-editor-ribbon:has(.editor-view-source:checked) ~
    #main-content .rich-text-control > textarea { display: block; }*/
.cls-editor-ribbon:has(.editor-view-source:checked) ~ #main-content .rich-text-control > .plain,
.cls-editor-ribbon:has(.editor-view-source:checked) ~ #main-content .rich-text-control .splitter {
  display: block;
}
.cls-editor-ribbon:has(.editor-view-source:checked) ~ #main-content .rich-text-control > .plain,
.cls-editor-ribbon:has(.editor-view-source:checked) ~ #main-content .rich-text-control rich-editing {
  width: 50%;
  margin: 0 8px;
}
.cls-editor-ribbon:has(.editor-view-source:checked) ~ #main-content .rich-text-control .float-right {
  float: none !important;
  margin: 0 !important;
}
/*.cls-editor-ribbon:has(.editor-view-rich-text:checked,.editor-view-dual:checked) ~*/
#main-content .rich-text-control > .rich-editing {
  display: block;
}
.cls-editor-ribbon:has(.editor-view-block:checked) ~ #main-content .rich-editing {
  /*
  > p::after { content: "p"; position: absolute; right: -4px; top: -12px; }
  > h2::after { content: "h2"; position: absolute; right: -4px; top: -12px; }
  > ol::after { content: "ol"; position: absolute; right: -4px; top: -12px; }
  > ul::after { content: "ul"; position: absolute; right: -4px; top: -12px; }
  > .embed::after { content: "embed"; position: absolute; right: -2px; top: -9px; }
  */
}
.cls-editor-ribbon:has(.editor-view-block:checked) ~ #main-content .rich-editing > h1,
.cls-editor-ribbon:has(.editor-view-block:checked) ~ #main-content .rich-editing > h2,
.cls-editor-ribbon:has(.editor-view-block:checked) ~ #main-content .rich-editing > h3,
.cls-editor-ribbon:has(.editor-view-block:checked) ~ #main-content .rich-editing > h4,
.cls-editor-ribbon:has(.editor-view-block:checked) ~ #main-content .rich-editing > p,
.cls-editor-ribbon:has(.editor-view-block:checked) ~ #main-content .rich-editing > figcaption,
.cls-editor-ribbon:has(.editor-view-block:checked) ~ #main-content .rich-editing > pre,
.cls-editor-ribbon:has(.editor-view-block:checked) ~ #main-content .rich-editing > ol,
.cls-editor-ribbon:has(.editor-view-block:checked) ~ #main-content .rich-editing > ul,
.cls-editor-ribbon:has(.editor-view-block:checked) ~ #main-content .rich-editing > .embed {
  position: relative;
  outline: 1px dotted #777;
  outline-offset: 4px;
}
#main:has(.editor-view-full:checked) .rich-focus {
  background-color: #fff;
  position: absolute;
  z-index: 5;
  top: 100px;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 16px;
}
#main:has(.editor-view-full:checked) #left-sidebar,
#main:has(.editor-view-full:checked) ~ footer {
  display: none;
}
.rich-editing:focus-visible {
  outline: none;
}
.rich-editing a {
  cursor: pointer;
}
.embed {
  position: relative;
  caret-color: transparent;
  cursor: pointer;
}
.embed::selection,
.embed *::selection {
  background: transparent;
  color: inherit;
}
.embed.selected,
img.selected {
  outline: 2px solid #0078d4;
  background-color: rgba(0, 120, 255, 0.1);
}
/* Hide the actual checkbox */
input[type="checkbox"].toggle {
  display: none;
}
.toggle-button {
  display: inline-block;
  padding: 2px 4px;
  border: 1px solid #000;
  border-radius: 4px;
  background-color: #eee;
  color: #000;
  font-weight: normal;
  line-height: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
input[type="checkbox"]:checked + label.toggle-button {
  background-color: #ff0;
}
/*
.cls-editor-ribbon:has(.view-rich-full-screen:checked)
    ~ #main-content .rich-text-control {
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
*/
/* Messages and Validation */
.save-message {
  float: right;
  font-weight: bold;
}
.save-message-succeed {
  color: green;
}
.save-message-failed {
  color: red;
}
.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: 0.2;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  filter: alpha(opacity=50);
  opacity: 0.5;
}
.has-success .form-control,
.has-success .wizard-addon {
  color: #3c763d;
  border-color: #3c763d;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-success .form-control:focus,
.has-success .wizard-addon:focus {
  border-color: #2b542c;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
}
.has-error .form-control,
.has-error .wizard-addon {
  color: #a94442;
  border-color: #a94442;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-error .form-control:focus,
.has-error .wizard-addon:focus {
  border-color: #843534;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}
.form-error {
  clear: both;
}
/* Fix bootstrap round border on the left */
.flatpickr-input + input {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}
/* CKEditor */
.form-control.rich-inline-editing {
  border: 1px;
  padding: 0 !important;
}
.cke_textarea_inline {
  margin: 0 -1px !important;
}
.cke {
  padding: 0 !important;
}
.cke_inner {
  padding: 1px;
}
.cke_top {
  padding: 3px;
}
.cke_toolgroup {
  background: #ffffff none;
}
.cke_textarea_inline {
  margin-top: 80px;
}
.cke_editable_inline {
  margin: 16px 20px 64px 16px;
  padding: 4px;
  outline: 1px dotted lightgray;
}
.cke_contents iframe {
  padding: 4px;
}
.item-thread .rich-classic-editing {
  height: 372px;
}
.thread-servlet .cke,
.thread-servlet .cke_inner {
  border-radius: 0;
}
.thread-servlet .cke {
  margin: 1px;
  padding: 0;
}
.thread-servlet .cke_inner {
  background: #e0e0e0;
}
.thread-servlet .cke_bottom {
  display: none;
}
.section-forum .cke {
  /*border-color: #556699;*/
  border-width: 2px;
}
.section-forum .forum-post-content .cke {
  margin: 0 -14px;
}
.cke_combopanel {
  width: auto !important;
  max-width: 180px !important;
}
/* Monaco Editor */
.code-editing-wrapper {
  height: 800px;
  resize: vertical;
  overflow: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding-bottom: 16px;
}
.code-editing {
  height: 100%;
  width: 98%;
  /* width solves an horizontal scroll issue */
}
.code-editing .editor {
  height: 100%;
}
/* Auto Complete */
.suggestions {
  position: absolute;
  left: 41px;
  top: 34px;
  z-index: 100;
  width: 500px;
  margin: 0;
  padding: 0 !important;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  list-style-type: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.suggestion {
  margin: 0;
  padding: 6px 20px;
  line-height: 18pt;
}
.suggestion.selected {
  color: #fff;
  background-color: #0097cf !important;
}
.suggestion > .path {
  display: none;
}
/* File Upload */
.odb-file-upload {
  display: inline !important;
}
.file-line {
  display: flex;
  align-items: center;
}
.file-line i {
  margin-left: 8px;
}
.fileinput-button {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.fileinput-button input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  font-size: 200px !important;
  cursor: pointer;
}
.filefield-icon {
  margin: -2px 4px 0 0 !important;
  vertical-align: middle;
}
.btn.file-remove {
  margin: 4px 0;
  padding: 0;
  height: 36px;
}
.progress {
  height: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.progress .progress-bar {
  float: left;
  width: 0;
  height: 100%;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  background-color: #337ab7;
}
/* Focus */
.form-control:focus,
.form-control-inline:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
/* Disabled */
.form-control[disabled],
.form-control[readonly] {
  background-color: #eeeeee;
  opacity: 1;
}
.form-control[disabled] {
  cursor: not-allowed;
}
/* Misc. */
.vsb-main {
  vertical-align: top !important;
}
/* Model dialog (for login) */
.panel {
  margin-top: 32px;
  background-color: #fff;
}
.more {
  display: block;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 8px 0 0;
  height: 32px;
  line-height: 14px;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  touch-action: manipulation;
  user-select: none;
  cursor: pointer;
  text-decoration: none !important;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn:hover,
.btn:focus,
.btn.focus {
  color: #333;
  text-decoration: none;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn.disabled,
.btn[disabled],
.btn fieldset[disabled] .btn {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  box-shadow: none;
  opacity: 0.65;
}
a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}
.btn-primary {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
}
.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #286090;
  border-color: #122b40;
}
.btn-primary:hover {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
  color: #fff;
  background-color: #204d74;
  border-color: #122b40;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-image: none;
}
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
.btn-lg {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
}
.btn-block {
  display: block;
  width: 100%;
}
/* Custom Buttons (from https://charliepark.org/bootstrap_buttons/) */
.btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #cfcfcf !important;
  background-repeat: repeat-x;
  background-image: linear-gradient(#fcfcfc, #cecece);
  border-color: #cecece #cecece #c3c3c3;
  color: #333 !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.29);
  -webkit-font-smoothing: antialiased;
  border-radius: 6px;
  font-size: 0.9rem;
}
@media (min-width: 120px) {
  .btn-custom {
    min-width: 60px;
  }
}
.btn-custom.button-left {
  float: left;
  /*margin: 0 12px 0 0;*/
}
.btn-custom.button-right {
  float: right;
  /*margin:  0 0 0 12px;*/
}
.btn-custom.button-center {
  margin-left: 50%;
  transform: translateX(-50%);
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.active,
.open>.dropdown-toggle.btn-custom {
  background-color: #9ae9f9 !important;
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fafdfe", endColorstr="#99e9f9");
  background-image: linear-gradient(#fafdfe, #99e9f9);
  border-color: #99e9f9 #99e9f9 #82e4f8;
  color: #333 !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.33);
  -webkit-font-smoothing: antialiased;
}

/* Pure CSS tabs with content: */
.content-tabs > input[type=radio],
.content-tabs > .content > div {
  display: none;
}
.content-tabs > ul {
  margin-left: 0 !important;
  border-bottom: 1px solid #ddd;
}
.content-tabs > ul label {
  position: relative;
  display: block;
  float: left;
  margin-left: 8px;
  margin-bottom: -1px;
  padding: 4px 12px;
  line-height: 1.42857143;
  color: #0011cc;
  font-weight: normal;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
}
.content-tabs > ul label:first-child {
  margin-left: 24px;
}
@media (max-width: 543px) {
  .content-tabs > ul label {
    margin-left: 4px;
    padding: 4px 8px;
  }
}
.content-tabs > ul label.active {
  background-color: #ff0 !important;
}
.content-tabs > ul label:hover,
.content-tabs > ul label:focus {
  text-decoration: none;
  background-color: #eee;
  border-color: #ccc #ccc #ccc;
  cursor: pointer;
}
.content-tabs > input[type=radio]:checked:nth-child(1) ~ ul > label:nth-child(1),
.content-tabs > input[type=radio]:checked:nth-child(2) ~ ul > label:nth-child(2),
.content-tabs > input[type=radio]:checked:nth-child(3) ~ ul > label:nth-child(3),
.content-tabs > input[type=radio]:checked:nth-child(4) ~ ul > label:nth-child(4),
.content-tabs > input[type=radio]:checked:nth-child(5) ~ ul > label:nth-child(5),
.content-tabs > input[type=radio]:checked:nth-child(6) ~ ul > label:nth-child(6),
.content-tabs > input[type=radio]:checked:nth-child(7) ~ ul > label:nth-child(7),
.content-tabs > input[type=radio]:checked:nth-child(8) ~ ul > label:nth-child(8),
.content-tabs > input[type=radio]:checked:nth-child(9) ~ ul > label:nth-child(9),
.content-tabs > input[type=radio]:checked:nth-child(10) ~ ul > label:nth-child(10),
.content-tabs > input[type=radio]:checked:nth-child(11) ~ ul > label:nth-child(11),
.content-tabs > input[type=radio]:checked:nth-child(12) ~ ul > label:nth-child(12),
.content-tabs > input[type=radio]:checked:nth-child(13) ~ ul > label:nth-child(13),
.content-tabs > input[type=radio]:checked:nth-child(14) ~ ul > label:nth-child(14),
.content-tabs > input[type=radio]:checked:nth-child(15) ~ ul > label:nth-child(15),
.content-tabs > input[type=radio]:checked:nth-child(16) ~ ul > label:nth-child(16),
.content-tabs > input[type=radio]:checked:nth-child(17) ~ ul > label:nth-child(17),
.content-tabs > input[type=radio]:checked:nth-child(18) ~ ul > label:nth-child(18),
.content-tabs > input[type=radio]:checked:nth-child(19) ~ ul > label:nth-child(19),
.content-tabs > input[type=radio]:checked:nth-child(20) ~ ul > label:nth-child(20) {
  color: #555;
  background-color: #fff;
  cursor: default;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.content-tabs > input[type=radio]:checked:nth-child(1) ~ ul + .content > div:nth-child(1),
.content-tabs > input[type=radio]:checked:nth-child(2) ~ ul + .content > div:nth-child(2),
.content-tabs > input[type=radio]:checked:nth-child(3) ~ ul + .content > div:nth-child(3),
.content-tabs > input[type=radio]:checked:nth-child(4) ~ ul + .content > div:nth-child(4),
.content-tabs > input[type=radio]:checked:nth-child(5) ~ ul + .content > div:nth-child(5),
.content-tabs > input[type=radio]:checked:nth-child(6) ~ ul + .content > div:nth-child(6),
.content-tabs > input[type=radio]:checked:nth-child(7) ~ ul + .content > div:nth-child(7),
.content-tabs > input[type=radio]:checked:nth-child(8) ~ ul + .content > div:nth-child(8),
.content-tabs > input[type=radio]:checked:nth-child(9) ~ ul + .content > div:nth-child(9),
.content-tabs > input[type=radio]:checked:nth-child(10) ~ ul + .content > div:nth-child(10),
.content-tabs > input[type=radio]:checked:nth-child(11) ~ ul + .content > div:nth-child(11),
.content-tabs > input[type=radio]:checked:nth-child(12) ~ ul + .content > div:nth-child(12),
.content-tabs > input[type=radio]:checked:nth-child(13) ~ ul + .content > div:nth-child(13),
.content-tabs > input[type=radio]:checked:nth-child(14) ~ ul + .content > div:nth-child(14),
.content-tabs > input[type=radio]:checked:nth-child(15) ~ ul + .content > div:nth-child(15),
.content-tabs > input[type=radio]:checked:nth-child(16) ~ ul + .content > div:nth-child(16),
.content-tabs > input[type=radio]:checked:nth-child(17) ~ ul + .content > div:nth-child(17),
.content-tabs > input[type=radio]:checked:nth-child(18) ~ ul + .content > div:nth-child(18),
.content-tabs > input[type=radio]:checked:nth-child(19) ~ ul + .content > div:nth-child(19),
.content-tabs > input[type=radio]:checked:nth-child(20) ~ ul + .content > div:nth-child(20) {
  display: block;
}
/* Virtual Tabs with no content (external links with TAB visualization) */
.nav {
  padding-left: 0;
  list-style: none;
}
.nav > li {
  position: relative;
  display: block;
  margin-left: 8px;
}
@media (max-width: 543px) {
  .nav > li {
    margin-left: 4px;
  }
}
.nav > li > a {
  position: relative;
  display: block;
  padding: 4px 8px;
}
@media (max-width: 543px) {
  .nav > li > a {
    padding: 10px 4px;
  }
}
.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background-color: #eee;
}
.nav > li > a > img {
  max-width: none;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background-color: #eee;
  border-color: #337ab7;
}
.nav-tabs {
  margin: 24px 0 !important;
  border-bottom: 1px solid #ddd;
}
.nav-tabs > li {
  float: left;
  margin-bottom: -1px;
}
.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.42857143;
  color: #0011cc;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
}
.nav-tabs > li > a:hover {
  border-color: #eee #eee #ddd;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #555;
  cursor: default;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
/* Panels */
.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.panel-body {
  padding: 16px 24px 16px 24px;
}
.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
  /*> a, > small, > .small, > small > a, > .small > a { color: inherit; }*/
}
.panel-title a {
  all: unset;
  color: #00e;
  cursor: pointer;
}
.panel-footer {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel-default {
  border-color: #ddd;
}
.panel-default > .panel-heading {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
}
/*
.panel-default > .panel-heading + .panel-collapse > .panel-body { border-top-color: #ddd; }
.panel-default > .panel-heading .badge { color: #f5f5f5; background-color: #333; }
.panel-default > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #ddd; }
*/
.clearfix:before,
.clearfix:after,
.nav:before,
.nav:after,
.panel-body:before,
.panel-body:after {
  display: table;
  content: " ";
}
.clearfix:after,
.nav:after,
.panel-body:after {
  clear: both;
}

.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  -o-transform: translate(0, -25%);
  transform: translate(0, -25%);
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999;
  /*border: 1px solid rgba(0, 0, 0, .2);*/
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}
.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}
.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: 0.5;
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
.modal-header .close {
  margin-top: -2px;
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.modal-body {
  position: relative;
  padding: 15px;
}
.modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}
@media (min-width: 768px) {
  .modal-dialog {
    width: 720px;
    margin: 30px auto;
  }
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
  .modal-sm {
    width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}
