/*
 * Crowsons Computing CSS 
 *
 * Copyright (c) 2009-2019 Fred Crowson 
 * $Id: ict.css,v 1.76 2025/08/13 10:33:29 fred Exp $ 
 * Any Queries please contact ict@crowsons.com 
 */
/* at rules */
@font-face {
	font-display: optional;
}
/* Common elements */
html,body {
	height: 100%;
	width: 100%;
}
main {
  max-width: 100%;
  padding: 1lh; /* lh - line height */
  margin: 1ch;
}
p {
  text-align: left;
  white-space: normal;
}
p.menu {
  color:  #2700B3;
  text-align: left;
}
h1, h2, h3 {
  background-color: inherit; a
  clear: both;
  color: #006699;
}
h4 {
	color: white;
	font-size: 12px;
	margin: 0px;
	padding: 0.25em;
	text-align: center;
	transition: all 0.6s;
	-webkit-transition: all 0.6s;
}
h4.coach {
	color: #ffffff;
	font-size: 12px;
	margin: 0px;
	padding: 0.25em;
	text-align: left;
}
h4.diary {
	margin: 0.25em;
	padding: 0.25em;
	text-align: center;
	width: 80%;
}
h5 {
	margin: 0.25em;
	padding: 0.25em;
	text-align: center;
}
a:active, a:link, a:visited {
  background-color: inherit; 
  color : #2700b3;
}
a:hover {
  background-color: inherit; 
  color : #dd6900; 
  text-decoration: underline; 
}
a.ct {
  background-color: inherit;
  color: #ffffff;
}
a.red {
  background-color: inherit;
  color: #ff0000;
}
a.menu {
  background-color: inherit;
  color: #2700b3;
}
a.midred {
  background-color: inherit;
  color: #ff0000;
  font-size: 12px;
}
li {
	text-align: left;
}
pre {
    background-color: #103300;
    border-radius: 10px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
    border-width: 1px;
    border-color: #103300;
    border-style: solid;
    color: #00ff00;
    margin-left: 5%;
    margin-right: 8%;
    overflow: auto;
    padding: 0.5em;
    padding-left: 1em;
    border-radius: 10px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
}
pre, code {
	font-family: "Monaco", "Courier New", "monospace";
	font-size: 12px;
	margin: auto;
	min-width: 20em;
	white-space: pre;
	width: 90%;
}
cite {
	padding: 5em 2em 5em;
}
blockquote{
	padding: 5em 2em 10em;
}
/* keyboard keys */
kbd {
	border-radius: 3px;
	padding: 1px 2px 0;
	border: 1px solid black;
	background-color: #eee;
	border-radius: 3px;
	border: 1px solid #b4b4b4;
	box-shadow:
	    0 1px 1px rgba(0, 0, 0, 0.2),
	    0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
	color: #333;
	display: inline-block;
	font-size: 0.85em;
	font-weight: 700;
	line-height: 1;
	padding: 2px 4px;
	white-space: nowrap;
 }
/* forms */
form {
	display: table;
}
fieldset {
	border: 1px solid #003399;
	width: 75%;
}
label {
	display: table-cell;
}
input {
	display: table-cell;
}
#number {
	width: 4em;
}
.buttonHolder {
	text-align: center;
}
/* boxes */
*, *::before, *::after {
	box-sizing: border-box;
}
/* tags */
a.tag {
	background-color: #99ccff;
	border: 1px solid #003399;
	border-radius: 10px;
	clear: left;
	color: #0000cc;
	font-size: 9.5pt;
	margin-left: 0.25em;
	padding: 0px 0.5em 1px 0.5em;
	vertical-align: text-top;
	text-decoration: none;
}
.tags {
	margin-right: 0.25em; 
	line-height: 1.5;
}
/* subtitles */
.vtt {
	font-family: Arial;
	font-weight: bold;
	color: blue;
	opacity: 1; 
	text-align: left;
}

/* quotes */
.quote {
	background-color: #cccccc;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	display: block;
	margin: 1em;
	padding: 1em;
}
.quote::before, .quote::after {
	content: "''" / "quote";
	width: auto;
}
/* python code */
.py, .python {
	background: #23241f;
	color: #66d9ef;
	display: block;
	font-size: medium;
	padding: 0.5em;
	max-width: 90%;
}
.pyindent {
	padding-left: 2em;
}
/* shell code */
.shell {
	background: #000033;
	color: #00cccc;
	display: block;
	font-size: medium;
	margin: 2px;
	/* overflow-x: auto; */ /* horizontal scrolling */ 
	padding: 0.5em;
	border-radius: 10px;
}
.shell::before {
	content: "$ " / "dollar symbol";
	color: #008000;
	width: auto;
}
.shell.min {
	width: min-content;
}
.shell.min::before {
	color: #008000;
	width: auto;
}
.cli {
	background: #cccccc;
	border-radius: 5px;
	color: #000000;
	font-family: monospace;
	font-weight: bold;
	padding: 0.2em;
	margin: 1px;
}
.diff {
    	background-color: #103300;
	display: block;
	white-space: pre;
	color: #ffffff;
	font-family: monospace;
	font-weight: bold;
	padding: 0 1em 1em 1em;
	margin: 1px;
}
.error {
	background: #cccccc;
	color: #ff0000;
	font-family: monospace;
	min-width: 20em;
	white-space: pre-line;
}
.inline {
	background: #103300;
	color: #00ff00;
	padding: 0.2em;
	margin: 1px;
}
.invisible {
	color: #fff;
	font-size: 8px;
	text-align: center;
}
.switch {
	background: #000033;
	color: #00cccc;
	margin: 1px;
	overflow-x: auto;
	padding: 0.1em;
}
.small-caps {
	font-variant-caps: small-caps;
}
/* Grids */
.gridwrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1em;
	grid-auto-rows: minmax(30%, auto);
}
.gridone {
	grid-column: 1;
	grid-row: 1;
}
.gridtwo {
	grid-column: 2;
	grid-row: 1;
}
/* Specific div's for Page Layout */
/* margins: top right bottom left */
/* # represent id . represent classes */
#page {
  background-color: #ffffff;
  border: 1px #98aab1 solid;
  color: inherit;
  position: relative;
  max-width: clamp(350px, 98%, 1400px);
  margin: auto;
}
#header {
  clear: both;
  height: 1%;
  left: 10px;
  margin: 2px 2px;
  min-width: 600px;
  min-height: 100px;
  position: absolute;
  width: 80%;
}
#title {
  float: left;
  min-width: 350px;
  margin: 15px 175px; 
  padding: 10px 10px 10px 10px;
  position: inherit;
  text-align: center;
  width: 50%;
}
#menu {
  background-color: #cccccc;
  color: inherit;
  left: 10px;
  position: absolute;
  min-width: 12ch; 
  max-width: 14ch; 
  margin: 2px 2px 5px 5px; 
  top: 40px;
  width: 15%;
}
#content {
  clear: left;
  min-height: 500px;
  max-width: clamp(350px, 80%, max(90vw, 2rem));
  margin: 5px 100px 10px 170px; 
  padding: 10px 5px 60px 5px;
  position: relative;
  text-align: left;
}
#stuff {
    max-width: 70ch;
}
#photos {
  clear: left;
  position: inherit;
  min-width: 250px;
  margin: 5px 5px 5px 5px; 
  padding: 5px 5px 5px 5px; 
  text-align: left;
  top: 50px;
}
#footer {
  font-size: 10px;
  position: inherit;
  padding: 10px 10px;
  margin: 40px 5px 10px 5px;
  text-align: center;
}
#altText{
  background: #FFF9BD;
  border: 1px solid black;
  display: block;
  font-size: 11px;
  margin: 0px auto;
  padding: 2px 10px;
  width: 60%;
}
/* errors */
div#content span.err {
	background-color: #cccccc;
	border: 1px #666666 solid;
	color: #ff0000;
	font-family: "Monaco", "Courier New", "monospace";
	font-size: 12px;
	min-width: 20em;
	white-space: pre-line;
}
/* Copyright */
.copyleft {
  background-color: inherit; 
  color: #444444;
  font-size: 8px;
  text-align: center;
}

/* Reference Tooltips v2 */
/* details are more for menu's */
details {
	padding: 0.5em 0.5em 0;
}

summary {
	font-weight: bold;
	margin: -0.5em -0.5em 0;
	padding: 0.5em;
}

details[open] {
	padding: 0.5em;
}

details[open] summary {
	margin-bottom: 1em;
}

/* Reference Tooltips */
.ref {
	position: relative;
	vertical-align: baseline;
}
.refno {
    bottom: 1ex;
    color: #006699;
    cursor: pointer;
    font-family: Verdana, sans-serif;
    font-size: .7em;
    font-weight: bold;
    left: 2px;
    position: relative;
    text-decoration: underline;
}
.reftext {
    background-color: #ffffff;
    bottom: 5px ;
    border: 1px solid;
    display: inline-block;
    font-family: Verdana, sans-serif;
    font-size: .7em;
    line-height: 1.1;
    left: 25px;
    min-height: 5em;
    min-width: 20em;
    overflow: auto;
    padding: 5px;
    top: 1.75em;
    position: absolute;
    word-wrap: break-word;
    z-index: 9999;
}
/* Various Colours */
.black {
  color: #000000;
  font-size: 10px;
}
.codered {
  background-color: inherit;
  color: #ff0000;
  font-size: 12px;
  font-family: "Monaco", "Courier New", "monospace";
}
.smalltext {
  font-size: 10px;
}
.smalltextcen {
  font-size: 10px;
  text-align: center;
}
.smalltextln {
  color: #993399;
  font-size: 10px;
  text-decoration: none;
}
.smalltextred {
  background-color: inherit; 
  color: #ff0000;
  font-size: 10px;
  text-align: center;
}
.mid {
  font-size: 12px;
  text-align: center;
}
.midred {
  background-color: inherit;
  color: #ff0000;
  font-size: 12px;
  text-align: center;
}
.midbold {
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}
.midnoc {
  color: #ff0000;
  background-color: inherit;
  font-size: 12px;
}
.std {
  font-size: 16px;
  text-align: center;
}
.green {
  background-color: inherit;
  color: #006600;
  font-size: 16px;
  text-align: left;
}
.blue {
  background-color: inherit;
  color: #3399ff;
  font-size: 16px;
  text-align: left;
}
.purple {
  background-color: inherit;
  color: #663399; /* rebeccapurple */
  font-size: 16px;
  text-align: left;
}
.stdg {
  background-color: inherit;
  color: #660066;
  font-size: 16px;
  text-align: center;
}
.stdp {
  background-color: inherit;
  color: #660066;
  font-size: 16px;
  text-align: center;
}
.red {
  background-color: inherit;
  color: #ff0000;
  font-size: 16px;
  text-align: left;
}
.stdred {
  background-color: inherit;
  color: #ff0000;
  font-size: 16px;
  text-align: left;
}
.tc {
  text-align: center;
}
.textleft {
  text-align: left;
}
.textright {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}
.print {
  color: #000000;
  background-color: #ffffff;
  border: 1px solid black;
  text-align: left;
}
img.imgleft {
	float: left;
	margin: 0px 5px 5px 0px;
}
img.imgcenter {
	display: block;
	margin: 0 auto;
}
img.imgright {
	float: right;
	margin: 0px 0px 5px 5px;
}
/* Table elements */
table {
  border-collapse: separate; /* separate, collapse */
  border-width: 2px;
  border-spacing: 2px;
  border-style: none;
  width: 90%;
}
th {
  background-color: #006699; 
  border-width: 1px;
  color: #ffa34f; 
  font-size: 12px; 
  font-weight: bold;
  height: 25px;
  padding: 2px;
}
th.mid {
  text-align: center;
}
td {
  border-style: inset;
  border-width: 1px;
  padding: 2px;
  text-align: center;
}
td.left {
  border-style: inset;
  border-width: 1px;
  padding: 2px;
  text-align: left;
  white-space: normal;
}
td.right {
  border-style: inset;
  border-width: 1px;
  padding: 2px;
  font-weight: bold;
  text-align: right;
  white-space: normal;
}
td.high {
  background-color: #cccccc;
  color: #ff0000;
  font-size: 16px; 
  font-weight: bold;
  text-align: center;
}
