@charset "utf-8";

/* IBM Plex Sans / Mono, Latin subset, served from /main/fonts (SIL OFL 1.1,
   see fonts/license.txt). Characters outside the subset fall back to the
   next font in the stack. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: local("IBM Plex Sans"), local("IBMPlexSans"), url("fonts/IBMPlexSans-Regular-Latin1.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: local("IBM Plex Sans Italic"), local("IBMPlexSans-Italic"), url("fonts/IBMPlexSans-Italic-Latin1.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: local("IBM Plex Sans Bold"), local("IBMPlexSans-Bold"), url("fonts/IBMPlexSans-Bold-Latin1.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 700; font-display: swap;
  src: local("IBM Plex Sans Bold Italic"), local("IBMPlexSans-BoldItalic"), url("fonts/IBMPlexSans-BoldItalic-Latin1.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: local("IBM Plex Mono"), local("IBMPlexMono"), url("fonts/IBMPlexMono-Regular-Latin1.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 700; font-display: swap;
  src: local("IBM Plex Mono Bold"), local("IBMPlexMono-Bold"), url("fonts/IBMPlexMono-Bold-Latin1.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02; }

:root {
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  /* Text colours for every page (contrast on the #F8F8FF background):
     body text and titles 8.3:1, links 6.9:1, secondary text 5.2:1. */
  --text: #294d70;
  --text-muted: #4f6a8f;
  --link: #3f587a;
  --link-visited: #2f3c4c;
}

code, kbd, pre, samp, .mono { font-family: var(--font-mono); }

body {
  font: 0.8em var(--font-sans);
  margin: 0 0 0 0; 
  padding: 0 0 0 0;
  text-align: center;
  color: var(--text);
}
/* Page frame: header bar, content, footer bar. The outer box (#page-container,
   or #wrapper on pages without one) is at least one screen tall and keeps
   room for the footer, so the footer sits at the bottom of the window on
   short pages and after the content on long ones. No JavaScript needed.
   100dvh matches the visible height on phones (Safari's toolbar). */
:root {
  --bar-h: 50px;    /* header and footer bar height */
  --logo-h: 40px;   /* logo height inside the bars */
}
#page-container,
body > #wrapper
{
	position: relative;
	box-sizing: border-box;
	min-height: 100vh;
	min-height: 100dvh;
	padding-bottom: var(--bar-h);
}
#wrapper
{
    text-align: center;
  background: #F8F8FF;
}

html, body
{
	height: 100%;
	margin:0;
   padding:0;   
  background: #F8F8FF;
}
textarea,
input.text,
input[type="text"],
input[type="password"],
.input-checkbox {
-webkit-appearance: none;
border-radius: 0;
border: 1px solid gray;
}

/* Buttons: one style for the whole site - site blue, white text, slightly
   rounded. Pages only change the size (font-size / padding / width). */
input[type="button"],
input[type="submit"],
button.button {
	-webkit-appearance: none;
	appearance: none;
	font-family: var(--font-sans);
	font-weight: 600;
	line-height: 1.2;
	color: #FFFFFF;
	background: #4f6a8f;
	border: 1px solid #3f587a;
	border-radius: 6px;
	padding: 8px 20px;
	cursor: pointer;
	transition: background-color 0.15s;
}
input[type="button"]:hover,
input[type="submit"]:hover,
button.button:hover {
	background: #3f587a;
}
input[type="button"]:active,
input[type="submit"]:active,
button.button:active {
	background: #33496a;
}
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
button.button:focus-visible {
	outline: 2px solid #a6c2de;
	outline-offset: 2px;
}

.logo {
    position: relative;
	font: 1.5em var(--font-sans);
	color: #FFFFFF;
	background: linear-gradient(90deg, #384a61, #6584AD);
    margin: 0;
	text-align: left;
    padding: 0 0 0 0;  
}

img.logo {
	background: transparent;
    margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 10px;
	vertical-align: middle;
}

#heading,
#closer {
	height: var(--bar-h);
	overflow: hidden;
}

#heading img.logo,
#closer img.logo {
	display: block;
	height: var(--logo-h);
	width: auto;
	margin: calc((var(--bar-h) - var(--logo-h)) / 2) 0 0 10px;
}

#closer
{
	position: absolute;
	Border-top-left-radius: 10px;
	left: 0;
	bottom: 0;
	width: 100%;
}

#heading {
	Border-bottom-left-radius: 10px;
}

#logouttext{
	position: relative;
	font: 23px var(--font-sans);
	font-weight: bold;
	color: #FFFFFF;
    margin: 0;
	text-align: right;
    padding: 0 10px 0 0;
	float: right;
}

#logouttext a:link{color:#FFFFFF;}
#logouttext a:visited{color:#FFFFFF;}

table.linksbox {
	Border-radius: 10px;
    background: #a6c2de;
	Border-spacing: 0px;
	border-collapse: separate;
    float: right;
    text-align: left;
    border: 3px solid white;
    margin: 5px 0px 0px 5px;	
	min-width: 150px;
}

table.linksbox tr th {
	font-size: 1.6em;
	font-weight: bold;
	color: var(--text);

}

table.linksbox tr th,
table.linksbox tr td {
    border-bottom: 3px solid white;
    padding: 2px;
}


table.linksbox td {
	
    font-size: 1em;
    font-weight: bold;
}


/* bottom-right border-radius */
table.linksbox tr:last-child td:last-child {
	border-bottom: none;
}
 
table.linksbox tr:nth-child(even) {
    background-color: #dae6f1;
}

table.linksbox div{

padding-left: 10px;
padding-right: 10px;

}	

input.youtube,
form.youtube,
div.youtube
{
	
	font: 2em var(--font-sans);
	width: 100%;
	
}

progress[value]::-moz-progress-bar { 
  background-image:linear-gradient(#384a61, #6584AD);

}

progress::-webkit-progress-value {
  background: #384a61;
}

progress::-moz-progress-bar {
  background: #ebebeb;
}

progress::-webkit-progress-value {
  background: #384a61;
}

progress::-webkit-progress-bar {
  background: #ebebeb;
}
progress.youtube
{
	
	width: 95%;
	height: 50px;
	background: #ebebeb;
	border: 1px solid gray;
	
}

input.youtube[type="button"]
{

	font-size: 2em;
	font-weight: 600;   /* input.youtube's font shorthand above resets it */
	width: 20%;
	display:inline-block;
}


.search-box,.close-icon,.search-wrapper {
	position: relative;
}


.search-box,.close-icon{
	padding: 10px;
}

.search-wrapper {
	width: 90%;
	margin: auto;
}
.search-box {
	width: 80%;
	border: 1px solid #ccc;
  outline: 0;
  border-radius: 15px;
  margin: auto;
  
}

.close-icon {
	border:1px solid transparent;
	background-color: transparent;
	display: inline-block;
	vertical-align: middle;
  outline: 0;
  cursor: pointer;
}
.close-icon:after {
	content: "X";
	display: block;
	width: 15px;
	height: 15px;
	position: absolute;
	background-color: #FA9595;
	z-index:1;
	right: 35px;
	top: 0;
	bottom: 0;
	margin: auto;
	padding: 2px;
	border-radius: 50%;
	text-align: center;
	color: white;
	font-weight: normal;
	font-size: 12px;
	box-shadow: 0 0 2px #E50F0F;
	cursor: pointer;
}


table.timeremaining {
	width: 100%;
	Border-spacing: 0px;
	border: 1px solid #6584AD;
	border-collapse: separate;	
}
	
table.timeremaining td {
	
	font: 2em var(--font-sans);
	text-align:left; 
	border: 1px solid #6584AD;
	padding: 5px;
}
 
a:link{
    color: var(--link);
}

a:visited{
    color: var(--link-visited);
}

td.underline {
    background: #F8F8FF;
    padding: 2px 10px 2px 10px;
    border-style: solid solid solid solid;
    border-bottom: 4px;
    border-color: white white white white;
}

h1.mainarticle {
    margin: 15px 0 12px;
    font-size: 2.5em;
    font-weight: bold;
    font-style: italic;
    color: var(--text);
    text-align: center;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

h2.mainarticle {
    font-size: 1.6em;
    font-weight: bold;
    border-bottom: 1px solid;
    width: 50%;
}

span.mainarticle {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text);
}

hr.mainarticle {
    height: 5px;
    text-align: center;
    border: none;
    background: #6582a5;
    margin: 7px 0 0 0;
    padding: 0 0 0 0;
}

#article {
  font-family: var(--font-sans);
  font-size: 1.2em;
  text-align: left; 
  padding: 20px; 
  margin: 0 0 0 0;
  color: var(--text);
  background: #F8F8FF;
  overflow: auto;
}

#linkstop{
    text-align: center;
}
#linksbottom{
    text-align: center;
}

