div#ref {
  position: fixed;
  width: 100%;
  z-index: 1;
  font-size: 14px;
  font-weight: lighter;
  padding:15px 15px 15px 15px;
  text-align: right;
  border-bottom: 1px solid lightgrey;
  height: 55px;
  opacity: .99;
  vertical-align: middle;
  backdrop-filter: blur(20px);
}

div#ref a.sectionlink {
  color: #2c3e50;
  margin-right: 15px;
  margin-bottom: 7px;
  vertical-align: middle;
}
@media (min-width: 719px) {
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropbtn {
  font-family: Raleway, Helvetica Neue, Helvetica, Arial, Lucida Grande,sans-serif;
  font-size: 14px;
  border: none;
  margin-right: 5px;
}

button.dropbtn {
  background-color: white;
}

.dropbtn:after {
  font-size:10px;
  color: #ccc;
  content: "\25bc";
  padding-left: 5px;
  margin-right: 5px;
}

.dropdown-content {
  display: none;
  font-size: 14px;
  position: absolute;
  min-width: 230px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border: 1px solid #ccc;
  border-radius: 4px;;
  left: -155px;
  text-align: left;
  padding: 5px 0;
}

.dropdown-content a {
  color: black;
  padding: 2px 10px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {color: fuchsia;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown-divider {
  border-top: 1px solid lightgrey;
  font-weight: bold;
  margin-top: 3px;
  padding-left: 10px;
  padding-top: 7px
}

a.external:after {
  font-size: 18px;
  color: grey;
  content: "\02398";
  padding-left: 5px
}

a.sectionlink:link {
  text-decoration: none;
}
a.sectionlink:visited {
  text-decoration: none;
  text-underline-offset: 4px;
}
a.sectionlink:hover {
  text-decoration: underline fuchsia 2px;
  text-underline-offset: 4px;
  cursor:pointer;
}
a.sectionlink:active {
  text-decoration: underline fuchsia 2px;
}

body .sidebar ul li a:hover {
  color: fuchsia;
  text-decoration: none;
}

body a {
  text-decoration: none;
}
.content a:hover {
  text-decoration: underline;
}
.dropdown-content a.sectionlink:hover {
  text-decoration: none;
}
aside.sidebar {
  top: 54px;
}


.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 28px;
  top:-6px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top:1px;
  left: 0;
  right: 0;
  bottom: 1px;
  border: 1px solid #bbb;
  background-color: #eee;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  height: 22px;
  width: 22px;
  top:1px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

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

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

input:hover + .slider {
  border: 1px solid white;
}
input:checked:focus + .slider {
  box-shadow: 0 0 1px #ddd;
}

input:checked + .slider:before {
  background-color: #666;
  -webkit-transform: translateX(31px);
  -ms-transform: translateX(31px);
  transform: translateX(31px);
}

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

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

.slider-icon:before {
  position: absolute;
  content: "\263c";
  font-size: 18px;
  text-align: center;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider-icon:before {
  content: "\263d";
  font-size: 18px;
  color: rgb(245, 231, 182);
  text-align: center;
  -webkit-transition: .4s;
  transition: .4s;
}

}