/+ Barbone CSS reset to override specific browser styles. */
*
{
  box-sizing: border-box;
}

html, body,  div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd,
q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt,
dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot,
thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, output, ruby, section, summary, time, mark,
audio, video
{
  margin: 0;
  padding: 0;
  border: 0;
  font-size 100%;
  vertical-align: baseline;
}
/* My own specific styles start here. */

article, aside, details, figcaption, figure, footer, header, hgroup, menu,
nav, section
{
  display: block;
}

body
{
   background: #D6D6D6; /* Light gray */
   font-family: Verdana, Tahoma, Arial, sans-serif;
   font-size: 1.15em;
}

.cr
{
  margin-top: 1em;
}

ol
{
  padding-left: 2.6em;
  padding-right: 1em;
  list-style: decimal;
  text-align: left;
  padding-top:0.5rem;
  padding-bottom: 0.5em;
}

ul
{
  padding-left: 2.6em;
  padding-right: 1em;
  list-style: square;
  text-align: left;
  padding-top: 0.5rem;
  padding-bottom: 0.5em;
}

ol.no-space-above,
ul.no-space-above
{
  margin-top: -1.0rem;
}

dt
{
  /* The term in de definition list */
  padding-left: 0;
  padding-right: 1em;
  text-align: left;
  padding-top: 1em;
  padding-bottom: 0;
}

dl
{
  /* Defines an definition list */
  padding-left: 1em;
  padding-right: 1em;
  text-align: left;
  padding-top: 1em;
  padding-bottom: 0;
}

dt.highlight
{
  font-weight: bold;
}

dd
{
  /* The definition of the term in de definition list */
  text-align: left;
  padding-left: 2em;
  padding-top: 0;
  padding-bottom: 0;
}

table
{
  border-collapse: collapse;
  border-spacing: 0;
}

div.main-outline
{
	margin: auto;
	max-width: 1020px;
	width: 98%;
	background:  #F9F9F9; /* White */
	border-radius: 6px;
	border: 1px solid #7B0E07; /* Railjet red */
	box-shadow: 0 0 10px 0px rgba(12, 3, 25, 0.8);
}

main, header
{
	width: 100%;
	min-height: 125px;
}

aside
{
  max-width: 30rem;
  padding-left: 1.2rem;
  margin-left: 1.2rem;
  padding-right: 1.2rem;
  margin-right: 1.2rem;
  float : none;
  box-shadow: inset 5px 0 5px -5px #29627e;
  font-style: italic;
  color: #29627e;
}

h1, h2, h3, h4, h5, h6
{
   text-align: center;
   padding: 0 2%;
   /* padding-left: 5%; */
   color: #0A0A0A;  /* #CD0E8E dark pink */
}

h1
{
  padding-top: 1em;
  font-size:130%;
}

h2
{
  padding-bottom: 0.5em;
  font-size:120%;
}

h3
{
  padding-bottom: 0.5em;
  font-size:110%;
}

h4
{
  padding-bottom: 0.5em;
  font-size:100%;
}

h5
{
  padding-bottom: 0.5em;
  font-size:90%;
}

h6
{
  padding-bottom: 0.5em;
  font-size:80%;
}

div.header-concrete-topic
{
  display: flex;
  flex-direction: row;
  margin-top: 1rem;
  break-after: avoid;
  background-color: #e1e1e1;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

div.header-concrete-topic > *
{
  flex: auto;
  margin-top: 0rem;
  font-weight: 600;
}

div.header-concrete-topic span.comment
{
  float: right;
  font-weight: normal;
}

div.header-concrete-topic span.comment:before
{
  content: "(";
}

div.header-concrete-topic span.comment:after
{
  content: ")";
}

div.header-concrete-line-end
{
  box-sizing: border-box;
  height: 1em;
  border-bottom: 1px solid black;
}

p
{
	text-align: justify;
	padding: 0.5em 1em;
	color: #0A0A0A; /* Black */
}

.center p, .center p ol, p.center
{
	text-align: center;
}

p.source-code
{
  font-variant: no-common-ligatures lining-nums;
  font-family: Consales, "Courier New", "Andale Mono", Monaco, monospace;
  font-size: smaller;
  background: #e1e1e1;
  text-align: left;
  word-wrap: break-word;
  margin-top: 1rem;
}

p.formula, p.calculation
{
  display: table;
  clear: both;
  font-size: 0.9em;
  break-inside: avoid;
}

p.formula /* Bold and with border */
{
  margin: 0.5em auto 0.5em auto;
  padding: 0.5em 1em 0.5em 1em;
  border: 2pt solid black;
  font-weight: bold;
}

p.calculation
{
  margin: -0.5em auto 0.5em auto;
}

span.symbol
{
  font-family: Georgia, Times, TimesNR, "New Century Schoolbook", serif;
  font-variant: expanded;
  font-style: italic;
}

#callout
{
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

#callout {
	width: 100%;
	height: auto;
	background: #7B0E07; /* Railjet red */
	border-bottom: 10px solid #CC0605;
	overflow: hidden;
}

#callout p {
	text-align: right;
	font-size: 0.8em;
	padding: 1em 2% 1em 0;  /* 0.1% 5% 0 0 */
	color: #F9F9F9;  /* White */
}

#callout p a {
	color: #F9F9F9; /* White */
	text-decoration: none;  /* pink */
}

audio
{
	display: block;
	margin: 0 auto;
}

figure,
video
{
	text-align: center;
	max-width: 100%;
	height: auto;
	width: auto;
}

.portrait figure,
.portrait video
{
  padding:3%;
	text-align: center;
	max-width: 30%;
	height: auto;
	width: auto;
}

nav ul
{
	overflow:  hidden; /* To contain the float, add space to the top */
	list-style: none;
	margin: 0 40px -18px 40px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  padding-top: 0;
  padding-bottom: 0;
}

nav ul li
{
   float: left;
   width: 16.666666%; /* li width is 100% / number of buttons */
}

nav ul li a
{
	/* width: 8em; */
   display: block;
   border: 2px solid #0A0A0A;
   border-right: none; /* prevents borders to double up between buttons */
   padding: 5px 1px 5px 1px;
   background: #CC0605;  /* Red */
   font-weight: bold;
   font-size: 18px;
   text-align: center;
   text-decoration: none; /* Take underline out */
   color: #F9F9F9;  /* White */
}

nav ul li:last-of-type a
{
   border-right:2px solid #0A0A0A;
}

nav ul li a:hover, nav ul li.active a
{
	background-color: #7B0E07;  /* Railjet red */
	color: #F9F9F9;  /* White */
}

nav.sub-menu ul {
   margin-top: 13px;
}

nav.sub-menu ul li a {
   background: #A5A5A5;  /* Dark silber */;
}

nav.sub-menu ul li a:hover, nav.sub-menu ul li.active a {
	background-color: #23282B;  /* Black grey */
	color: #F9F9F9;  /* White */
}

nav.tertiary-menu ul {
   margin-bottom: 0;
}

nav.tertiary-menu ul li a {
   background-color:  #F9F9F9;  /* White */
   color: #23282B;  /* Black grey */
}

nav.tertiary-menu ul li a:hover, nav.tertiary-menu ul li.active a {

	background: #A5A5A5;  /* Dark silber */;
	color: #F9F9F9;  /* White */
}

div.banner
{
  margin: 15px 40px -18px 40px;
}

img
{
	width: 98%;
}

#my-photo
{
  width: 78px;
}

#my-blog-image
{
  width: 140px;
}

.banner img
{
  overflow:  hidden; /* To contain the float, add space to the top */
  padding-left: 0;
  text-align: center;
  width: 100%;
  border-top: 1px solid #0A0A0A;  /* Black */
	border-bottom: 1px solid #0A0A0A;  /* Black */
}

figure.full-width
{
  margin: 1em;
}

.full-width img
{
	max-width: 100%;
}

img.to-be-determined,
img.in-progress
{
  max-width: 6rem;
  margin: -0.2rem;"
}

.clearfix
{
	clear: both;
}

table.half-block
{
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

div.container
{
  display: block;
	overflow: hidden;
	margin: 0 1%;
	padding: 0;
	width: auto;
	position: relative;
}

.onehalf-columb-left,
.onehalf-columb-right /* do not add 'div' here because it will disable floats */
{
	width: 48%;
	margin: 0;
	padding: 0 1%;
	flex: 1 0 auto;
}

.onehalf-columb-left
{
	float: left;
}

.onehalf-columb-right
{
	float: right;
}

.onehalf-columb-left p,
.onehalf-columb-right p
{
   margin: 0 auto;
   padding: 0;
}

.onehalf-columb-left ol,
.onehalf-columb-right ol
{
  padding-right: 0.5em;
}

.onehalf-columb-left img,
.onehalf-columb-right img
{
   margin: 0 auto 1em auto;
   max-width: 100%;
}

.onehalf-columb-left figure,
.onehalf-columb-right figure,
.onehalf-columb-left video,
.onehalf-columb-right video
{
	display: block;
	margin: auto;
  padding-left: 0;
	max-width: 100%;
	height: auto;
	width: auto;
}

.onethird-columb /* do not add 'div' here because it will disable floats */
{
	width: 31.3%;
	float: left;
	margin: 0;
  padding: 0 1%;
	flex: 1 0 auto;
}

.onethird-columb p
{
   margin: 0 auto;
   padding: 0;
}

.onethird-columb img
{
	margin-right: auto;
  max-width: 100%;
}

.onethird-width
{
	width: 50%; /* 60% */
	float: left;
  margin-left: 25%;
	/* text-align: center; */
}

.onethird-width figure,
.onethird-width video
{
	display: block;
	margin: auto;
  padding-left: 0;
	/* text-align: center; */
	max-width: 100%;
	height: auto;
	width: auto;
}

.left-col
{
	width: 55%;
	float: left;
	margin: -2% 1% 1% 1%;
}

.sidebar
{
	width: 40%;
	float: right;
	margin: 1%;
	text-align: center;
}

/* --- FOOTER --- */
footer
{
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	background: #23282B; /* Black grey */
	border-top: 10px solid #A5A5A5; /* Dark silber */
	width: 100%;
	overflow: hidden;
}

footer img.logo
{
  width: 62px;
	display:block;
	float: left;
	margin: 11px 5px 2px 15px;

}

footer ul
{
	list-style: none;
	display:block;
	float: left;
	margin-top:0;
	padding-left: 0.5em;
}

footer ul li
{
	text-align: left;
	font-size: 17px;
	line-height: 22px;
	padding:  0;
	color: #F9F9F9; /* White */
}

figure.under_construction > img
{
	display: block;
	margin-left: auto;
	margin-right: auto;
  width: 90%;
  max-width: 250px;
}

sub
{
   font-size: 75%;
   position: relative;
   top: 0.3em;
}

sup
{
   font-size: 75%;
   position: relative;
   bottom: 0.3em;
}

/*-------- MEDIA WIDTH 478px -------*/
@media screen and (max-width: 478px) {
	body
	{
		font-size: 17px;
	}

	ol, ul
  {
    padding-left: 1.5em;
  }

	dd
	{
    padding-left: 1em;
  }

	h1
	{
    padding-top: 0.5em;
  }

  img.to-be-determined
  {
    width: 5rem;
    margin: 0;
  }

  aside
  {
  padding-right: 0;
  margin-right: 0;
  }
}
/*-------- MEDIA WIDTH 748px -------*/
@media screen and (max-width: 740px) {
	ol, ul
  {
    padding-left: 2.3em;
  }
  dd
  {
    padding-left: 1.5em;
  }

	nav
	{
		width: 100%;
		margin-bottom: 19px;
	}

	nav ul
	{
		list-style: none;
		padding-left: 0;
		margin: 0 10px -19px 10px;
		border: 1.5px solid  #0A0A0A;  /* Black */
	}

	nav ul li
	{
		text-align: center;
		height: 48px;
		margin-left: 0 auto;
		width: 50%;
	}

	nav ul li a
	{
		padding: 1.0em;
		border: 1.5px solid  #0A0A0A;  /* Black */
		border-bottom: none; /* prevents borders to double up between buttons */
		font-size: 16px;
	}

	nav.sub-menu
	{
		margin-top: -19px;
	}

	nav.sub-menu ul li:last-of-type a
	{
	   border-bottom: 2px solid #0A0A0A;
	}

	  nav.tertiary-menu ul
  {

	margin-bottom: -19px;
  }

	div.banner
  {
    margin: 0 10px;
		width: auto;
  }

	.left-col
	{
		width: 100%;
	}

	.sidebar
	{
		width: 100%;
	}

	table.half-block
  {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }

	div.container
  {
    display: block;
    margin: 1%;
  	padding: 0;
  	max-width: auto;
  }

	.onehalf-width
	{
		float: none;
		width: 100%; /* 60% */
		margin: 0;
	}

	p, ol. ul
	{
	  margin-left: -0.5em;
	  margin-right: -0.5em;
	}

	.onehalf-columb-left,
	.onehalf-columb-right
	{
		float: none;
		width: auto;
		margin: 0 10px 0 10px;
	}

	.onehalf-columb-left p,
	.onehalf-columb-right p
	{
    margin-bottom: 1em;
   	padding: 0;
	}

	.onehalf-width figure,
	.onehalf-width video,
	.onehalf-columb-left > figure,
  .onehalf-columb-right > figure
	{
	/* text-align: center; */
		display: block;
		margin: auto;
		max-width: 90%;

   }

	.onethird-width
	{
		float: none;
		width: 100%; /* 60% */
		margin: 0;
	}

	.onethird-columb
	{
		float: none;
		width: 100%;
		margin: 0;
		padding: 0;

	}

	.onethird-columb p
	{
		margin-left: 0.5em;
	  margin-right: 0.5em;
	}

	.onethird-columb figure,
	.onethird-columb video,
	.onethird-width figure,
	.onethird-width video,
	.onethird-columb img
	{
	/* text-align: center; */
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 1em;
		max-width: 80%;

   }

   img.to-be-determined
    {
      width: 6rem;
      margin: 0;
    }

	/*
	.onethird-width figure, .onethird-width video
	{
		text-align: center;
		max-width: 252px;
		max-height: 336px; /* Limits the height of portrait figures and video on smaller screens
		height: auto;
		width: auto;
	}
	*/

	/*	.portrait figure, .portrait video
	{
   	padding: 3%;
		text-align: center;
		max-width: 20%;
		height: auto;
		width: auto;
   }
   */

}



