body { font-family: sans-serif; color: #444; margin-top: 50px; font-size: 11pt; }
[data-bs-theme=dark] body { color: #eee; }

/* links */
a { color: #366088; text-decoration: none }
a.nav-link { color: #366088; text-decoration: none }
a:hover { color: #3c7fbf; text-decoration: none }
a[disabled="disabled"] { pointer-events: none; }
.wiki a  { text-decoration: underline; }
.wiki h1 a, .wiki h2 a, .wiki h3 a { text-decoration: none; }
[data-bs-theme=dark] a { color: #7cabd7; text-decoration: none }
[data-bs-theme=dark] .body a.nav-link { color: #7cabd7; text-decoration: none }
[data-bs-theme=dark] a:hover { color: #7cabd7; text-decoration: none }

/* svg elements */
svg a text  { fill:#366088 }
[data-bs-theme=dark] svg a text  { fill:#7cabd7 }

/* Headers */
h1,h2,h3,h4,h5,h6 { font-family: 'Open Sans', sans-serif; color: #333; margin-bottom: 1rem; }
[data-bs-theme=dark] h1, [data-bs-theme=dark] h2, [data-bs-theme=dark] h3   { color:#ccc; }
[data-bs-theme=dark] .wiki h1, [data-bs-theme=dark] .wiki h2, [data-bs-theme=dark] .wiki h3 { color:#7cabd7; }

h1 { margin-top: 1em; }
h1.title { font-size: 2.5rem; margin-top: 0; margin-bottom: 0; padding-bottom: 0.5rem; border: 0; }
h1.titleb { font-size: 2.5rem; margin-top: 0; margin-bottom: 2rem; padding-bottom: 0.5rem; border-bottom: 1px solid #ddd; }
.title,.titleb { font-family: 'Open Sans', sans-serif; font-weight: 300; color: #777; font-size: 2.5rem; margin-top: 0; margin-bottom: 0; padding-bottom: 0;  }
.subtitle { display: block; font-size: 1.5em; line-height: 1.2em; padding-bottom: 1em; font-weight: normal; color: #6b6c6d; font-style: italic; }
[data-bs-theme=dark] .subtitle { color: #ada9a9; }
.wiki h1,h2,h3,h4,h5,h6 { font-weight: 400; color: #333; }
.wiki h1 { font-size: 1.5rem }
.wiki h2 { font-size: 1.3rem }
.wiki h3 { font-size: 1.2rem }
.wiki .title { margin-bottom: 1rem; }

/* Context icons area */
.ctxmenu { float:right; background-color: #eee; padding:0.5rem 1rem; display: inline-block; box-shadow: 1px 1px 4px #ccc; font-size: 1rem; border-radius: 4px; }
[data-bs-theme=dark] .ctxmenu { background-color: #2d3239; box-shadow: 1px 1px 4px #555;}

p { text-align: justify; margin-bottom: 1rem }

/* images */
img { max-width: 100%; height: auto; display: block; }
img.icon { display:inline; width:18px; height:18px; }
img.icon-sm { display:inline; width:15px; height:15px; margin-bottom: 3px}
img.icon-big { display:inline; width:30px; height:30px; }
.wiki img { max-width: 100%; margin-left: auto; margin-right: auto; }

/* ruler */
hr {border-top: 1px solid #999; margin-bottom: 1rem; }
hr { margin:0; padding: 0; }

/* tables */
table.hcol { border-top: 1px solid #ddd; }
.table { border-bottom: 1px solid #ddd; border-collapse: collapse; border-spacing: 0px; }

thead { font-weight: bold; }
thead td { border-bottom: solid 1px #666; }
tr { display: table-row; vertical-align: inherit; border-color: inherit; }
.table th, td { border-top: 0; }

.intable { width: 100%; 	margin:0!important; }

.wiki table {
	display: table;
    max-width: 100%;
    margin-bottom: 1rem;
    margin-left: 1rem;
    vertical-align: top;
}

.table3 td:first-child { width: 15rem; }
.table3 td:nth-child(2) { font-weight: bold }

.wiki td { border-bottom: 1px solid #ddd; padding: 0.5rem; }
.wiki th { border-bottom: 1px solid #ddd; padding: 0.5rem; }
.wiki thead th { border-bottom: 1px solid #999; padding: 0.5rem; }

[data-bs-theme=dark] .table { border-bottom: 1px solid #666; }
[data-bs-theme=dark] .wiki td { border-bottom: 1px solid #666; }
[data-bs-theme=dark] .wiki th { border-bottom: 1px solid #666; }

.wiki td, th { vertical-align: top; }

/* Makes subelements in a draggable not draggable, for correct D&D of divs with things inside */
/* [draggable] * {pointer-events: none;} */
.dragx * { pointer-events: none; }
.a_side { font-weight: bold }

.op60 { opacity: 0.6; }
.op40 { opacity: 0.4; }

.dropdown-toggle::after { content: none; }

/* Breadcrumb */
.breadcrumb { no-font-weight: bold; }
.bc_sep1,.bc_sep { margin-left: 0.25rem; margin-right:0.25rem}


div.half-hidden { opacity:0.4 }
div.half-hidden:hover { opacity:1 }

.ballot-no { color: red }
.ballot-yes {color: green }
.tasklist { list-style-type: none; margin-left: -1rem; }

/* tags style for button element */
.bt {
  color: white;
  background: #20a4e7;
  padding: 0.5em;
  line-height: 0.6em;
  font-size: 1em;
  border: 0;
  border-radius: 0.4em;
  font-weight: bold;
}

/* tags style for span element */
.tag {
  color: white;
  background: #20a4e7;
  padding: 0.2em 0.5em;
  line-height: 0.6em;
  font-size: 1em;
  border: 0;
  border-radius: 0.4em;
  font-weight: bold;
}

.tag-sm {
	font-size: 0.85em;
}

.tag-type {
  color: #999;
  padding: 0.1rem 0.2rem;
  font-size: 0.55rem;
  border: 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.tag-type2 {
  color: white;
  background: #bbb;
  padding: 0.2rem 0.2rem;
  font-size: 0.5rem;
  border: 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  line-height: 1;
  border-radius: 0.2rem;
  height: 0.9rem;
}

.off { display: none }
.inline-form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px;
}



.medblue0 {
	background: #366088;
}

.medblue1 {
	background: #668db8;
}

.medblue2 {
	background: #93aec5;
}

.medblue3 {
	background: #b6ccdb;
}

.hero {
	color: white;
	background: #668db8;
	padding: 1%;
}

.hero button {
	background: #366088;
}

.hero h1 {
	color: white;
}

.hero p {
	font-size: 1.2em;
}

.list-dir {
	color: #369;
	font-size: 1.2em;
}

.btn-success {
	background-color: #668db8;
	border-color: #668db8;
}

.btn-success:hover {
    background-color: #93aec5;
}



div { resize: both; }

.bg-light { background-color: #d7dde0; }
.bg-dark { background-color: #2c5976!important; }

.nav-hr { border-top: 1px solid #bdbdbd; }

.breadcrumb {
	padding: 6px 12px 6px 12px;
	margin-bottom: 0px;
	font-size: 10pt;
	color: #999;
}

[data-bs-theme=dark] .code {
    border: 1px solid #5e6369;
    background: #34373d;
    padding: 0.5em;
    border-radius: 4px;
}

.code {
    border: 1px solid #ddd;
    background: #f8f8f8;
    padding: 0.5em;
    border-radius: 4px;
}

.ts-control, .ts-control input { background:none!important; color: #999!important; }
