/*
    Defining colors as variables in CSS:
        https://www.w3schools.com/css/css3_variables.asp
        https://www.freecodecamp.org/news/learn-css-variables-in-5-minutes-80cf63b4025d/
        https://dev.to/ananyaneogi/create-a-dark-light-mode-switch-with-css-variables-34l8
*/

:root {
  --container: #3C3F41; /* alternatively can use #222f3e as well */
  --answerPanel: #2B2B2B;
  --highlighted: #0180FF;
  --textColor1: #AFB1B3;
  --textColor2: #018690;
  --anchors: #8395a7;
  --bold: white;
}

body {
    font-family: Tahoma, Helvetica, sans-serif;
    padding:20px;
    font-size:12px;
	margin: 0; 
	padding: 0; 
	border: 0; 
	outline: 0;
	background-color: var(--container);
	color: var(--textColor2);
}

h2 {
    font-size:18px;
    font-weight:bold;
    margin:0;
    margin-bottom:15px;
}

h1, h2, h3,
h4, h5, h6 {
    color: var(--textColor2);
}

p b, p strong, li b, li strong {
    color: var(--bold);
}

.demo-info{
	padding:0 0 12px 0;
}
.demo-tip{
	display:none;
}
.label-top{
    display: block;
    height: 22px;
    line-height: 22px;
    vertical-align: middle;
}

.header {
	height:2%;
	margin: auto;
    font-size: 20px;
	width:30%;
}

.footer {
	text-align: center;
	height:1%;
	margin: auto;
    font-size: 12px;
}

a {
  color: var(--anchors);
  //font-weight: bold;
}

#dlg {
	color: var(--container);
	//font-family: "Trebuchet MS", "Helvetica", "Arial",  "Verdana", "sans-serif";
	font-family: Tahoma, Helvetica, sans-serif;
	font-weight: bold;
}

#toc a {
    text-decoration: none;
    color: var(--textColor1);
}

.tag-label {
  position: relative;
  display: block;
  margin: 4px 0 0 4px;
  padding: 2px 6px 2px 6px;
  float: left;
  vertical-align: top;
  text-decoration: none;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  background: var(--answerPanel);
  color: var(--textColor1);
  font-size:10px;
}

/****************************************/
/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #576574;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #718093;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #8395a7;
}
/****************************************/

code {
    font-family: "Consolas", "monaco", "monospace";
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    background-color: LightGray !important;
    border: 1px dashed grey !important;
    color: black !important;
    padding: 1px 2px;
}

div table {
	//font-family: "Trebuchet MS", "Helvetica", "Arial",  "Verdana", "sans-serif";
	font-family: Tahoma, Helvetica, sans-serif;
	font-size: 13px;
	border: dotted 1px #636e72;
	border-collapse: collapse;
}

div table td{
	padding: 5px;
	border: dotted 1px #636e72;
}

div table th{
	padding: 5px;
	border: dotted 1px #636e72;
	background-color: #636e72;
	color: #EAF1DD;
}

div table tr:nth-child(even){
	background-color: #b2bec3;
	color: #636e72;
}

div table tr:nth-child(odd){
	background-color: #dfe6e9;
	color: #636e72;
}