/* font size for different screen sizes */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
}
@media (min-width: 992px) {
  body {
    font-size: 17px;
  }
}
@media (min-width: 1200px) {
  body {
    font-size: 18px;
  }
}

/* font awesome stuff */
.fa-ul,
.ai-ul {
  margin-left: 2em;
}

.fa-li,
.ai-li {
  left: -1.5em;
  width: 1.28571429em;
}

.fa-li.fa-lg,
.ai-li.fa-lg {
  left: -1.6em;
}

.list-inline {
  padding-left: 0;
  list-style: none;
  margin-left: -1ex;
}
.list-inline > li {
  display: inline-block;
  padding-left: 1ex;
  padding-right: 0ex;
}

/* navigation bar */
.navbar {
  background-color: #111;
  font-size: 100%;
  min-height: 0px;
  padding: 0 0 0 0;
}

.navbar-nav {
  flex-direction: row;
}

.nav > li > a {
  position: relative;
  display: block;
  padding: 0.8ex 1ex;
  color: white;
  text-decoration: none;
}

.nav > li > a:hover {
  color: black;
  background-color: white;
  text-decoration: none;
}

/* mathjax stuff */
/* .MathJax {
  font-size: 16px !important;
} */

/* style for HTML converted using GitHub /markdown API */
.markdown-body {
  box-sizing: border-box;
  min-width: 200px;
  max-width: 980px;
  margin: 0 auto;
  padding: 45px;
  padding-top: 25px;
  padding-bottom: 0px;
}

/* GitHub translates math in markdown to a math-renderer ts component.
 * (I inspected the Markdown preview of a GitHub Issue until I found it).
 * We don't have this, but define the HTML element anyway.
 */
/* .math-renderer {
  background-color: "none";
} */

body.retro {
  background-color: aqua;
  font-family: Kode Mono;
}

body.retro tr:nth-child(even) {
  background-color: pink;
}

body.retro tr:nth-child(odd) {
  background-color:greenyellow;
}

tbody{
  width: 100%;
  display: table;
}

 /* The switch - the box around the slider */
 .switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
} 
