body{
  margin: 0px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

.title{
  text-align: center;
}

.description{
  text-align: left;
  font-style: italic;
  color: rgb(44, 44, 44);
}

.metadata{
  padding-top: 10px;
  font-family: monospace;
  font-size: medium;
}

#TOC{
  z-index: +1;
  position: fixed;
  border: solid;
  border-width: 1px;
  text-align: left;
  padding-right: 20px;
  left: 200px;
  max-width: 200px;
}

@media screen and (max-width: 1400px) {
  #TOC {
    display: none;
  }
}

#TOC ol {
  counter-reset: item;
}

#TOC li {
  display: block;
  margin-top: 6px;
  margin-bottom: 6px;
  width: 100%;
  background-color:white;
}

#TOC a:hover {
  background-color: #DDD;
}

#TOC li::before {
  content: counters(item, ".") " - ";
  counter-increment: item;
  margin-left: -20px;
}

#TOC a {
  text-decoration: dotted;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  color: black;
}

.content{
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  text-align: left;
  padding-bottom: 30px;
  margin-bottom: 30px;
  padding-left: 80px;
  
  font-size: 1.2em;
  line-height: 30px;
}

.content a{
  text-decoration: underline dotted;
}

.content a:hover {
  text-decoration: underline;
}

/* Adapted from ➤ https://www.benkuhn.net */
:target::before {
  content: "🗲";
  float: left;
  margin-left: -1.3em;
  opacity: 0;
  animation: flash 2s ease;
  font-size: 2em;
  transform: rotate(0.1turn);
}

@keyframes flash {
  25% {
    opacity:1
  }
}

/* MAYBE Remove this */
.content a:target { 
  background: rgb(221, 221, 221);
}

.content .footnote:target {
  background: rgb(221, 221, 221);
}

.content sup {
  vertical-align: top; 
  position: relative;
  top: -0.5em;
  font-size: 0.6em;
}

.nosidebar{
  padding-right: 20px !important;
  padding-left: 20px !important;
}

.content p {
  text-indent: 0%;
}

.content img {
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.geogebraApp {
  max-width: 100%;
}

.footer {
  z-index: 2000;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30px;
  background-color: rgb(51, 51, 51);
  color: white;
  text-align: center;
  vertical-align: middle;
}

.footer a {
  color: white;
}

.footer p {
margin-top:5px;
}

/* NAVBAR STYLING */

 /* Navbar container */
 .navbar {
  overflow: hidden;
  background-color: #333;
  font-family: Arial;
  height: 46px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: fixed;
  background-color: #f9f9f9;
  width: 100%;
  left: 0;
  z-index: 10;
}

/* Mega Menu header, if needed */
.dropdown-content .header {
  background: red;
  padding: 16px;
  color: white;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 33.33%;
  background-color: #ccc;
  border-right: black;
  height: 250px;
}

.column h4 {
  padding-left: 10px;
  text-decoration-style: dashed;
  text-decoration: underline;
  text-align: center;
}

/* Style links inside the columns */
.column a {
  float: none;
  color: black;
  padding: 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a background color on hover */
.column a:hover {
  background-color: #ddd;
}

.column a:before {
    content:"> ";
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
} 

 /* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
    height: auto;
  }
} 

/*SIDEBAR CSS*/

#main{
  position: relative;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  margin-top: 100px;
}

/*HACK Offset anchor links*/
html{
  scroll-padding-top: 100px;
}

/*HACK padding-right to force wordwrap of links*/
.sidebar{
  z-index: 1900;
  height: 100%;
  width:300px;
  position: fixed;
  top: 46px;
  left: -230px;
  background-color: #efefef;
  padding-top: 30px;
  padding-bottom: 80px;
  padding-right: 60px;
  box-sizing: border-box;
  box-shadow: -3px 0px 5px 5px rgba(0,0,0,0.2);
  transition: all 0.3s;
}

.sidebar:hover, .sidebar:focus
{
  transform: translate3d(230px, 0, 0);
  animation-timing-function: 1s ease-in;
}

.sidebarTitle{
  position:absolute;
  top: 50%;
  transform: rotate(270deg);
	right: -15px;
	font-weight: 800;
  font-size: 1.3em;
}

.sidebar a {
  color: black;
  text-decoration: none;
  font-size: 1.25em;
  display: block;
  text-align: center;
  padding-bottom: 5px;
  padding-top: 5px;
}

.sidebar a:hover {
  text-decoration: underline;
}

.nav_button {
  border-radius: 3px;
  border: solid 1px #000000;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
  background: #f8f8f8;
  color: rgb(0, 0, 0);
  padding: 8px 12px;
  text-decoration: none;
}

.nav_button:hover{
  background: #adadad;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.list_item {
  margin-bottom: 0%;
  margin-top: 20px;
}