body {
	/* font-family: 'IM Fell DW Pica', serif; */
	font-family: 'Libre+Baskerville', serif;
	font-size:1.1rem;
	background:#fff;
	line-height:1.75rem;
	color:black;
	/* because of the footer*/
	margin-bottom:40px;
}

body.dark {
	background: #000;
	color: #eee;
}

h1 {
	font-size: 4rem;
}
h1.top {
	text-align: center;
	background: #eee;
}
.dark h1.top {
	background: #333;
}

h2 {
	font-size: 2.5rem;
	margin-top: 4rem;
}
code {
	display:block;
	overflow:none;
	background: #333;
	color: lightgreen;
	padding:10px;
	white-space: pre;
	line-height: 20px;
	border: 4px solid #eee;
	border-radius: 5px;
	margin-bottom:20px;
	margin-left:40px;
	margin-right:40px;
}
.dark code {
	background: #333;
	color: lightgreen;
}

tt {
	color: black;
	background: #eee;
	padding: 5px;
	border: 1px solid #ccc;
	font-size:1.1rem;
}
.dark tt {
	color: lightgreen;
	background: #333;
}

section {
	margin-bottom:80px;
}

figure {
	display:block;
	width:90%;
	padding:10px;
	background:#fff;
	padding:20px;
	margin: 0 40px 20px 40px;
}
figcaption {
	font-style:italic;
}
.figure-caption-number {
	font-weight: bold;
}
.figure-caption-text {
	margin-left: 0.75rem;
}

ul.citations li {
	list-style: none;
}

caption {
	font-weight: bold;
}

dl {
	border:1px solid #eee;
	border-radius: 10px;
	padding:20px;
	background:#f3f3f3;
	border-left:10px solid #ccc;
}
dl dd {
	margin-left:20px;
}
th.dark {
	background:#ccc;
}
th > p.help {
	font-weight: normal;
	color: #666;
}


.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #f5f5f5;
    z-index:1000;
    border-top:1px solid #666;

	box-shadow: 0px -7px 5px 0px rgba(0,0,0,0.25);
	-webkit-box-shadow: 0px -7px 5px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px -7px 5px 0px rgba(0,0,0,0.25);
}
.dark .footer {
	background-color: #333;
}

.container {
}

.navclear {
	display:block;
	height:40px;
}
.footclear {
	display:block;
	height:80px;	
}

.branding {
	text-align: center;
	margin-bottom:40px;
}
.branding .logotype{
	font-size:2rem;
}
.branding .presents{
	font-size:1.5rem;
	font-style: italic;
}
.branding .logo {
	width:150px;
	margin-bottom: 20px;
}

.technical, .further, .detail, .rule {
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: 10px 10px;
	background-size: 110px;
	border:1px solid #888;
	border-radius: 10px;
	padding:10px;
	padding-left:130px;
	overflow:hidden;
	margin-bottom:20px;
	min-height: 144px;
}

.technical {
	background-image: url('i/badge-technical.png');
}

.further {
	background-image: url('i/badge-further.png');
}

.detail {
	background-image: url('i/badge-detail.png');
}

.rule {
	background-image: url('i/badge-rule.png');
}

.font-size-bigger {
	font-size: 1.5rem;
}



blockquote {
	font-weight: 100;
	font-size: 1.4rem;
	max-width: 80%;
	line-height: 1.4;
	position: relative;
	margin: 1em 0;
	padding: .5rem;
}
blockquote span{
	padding: 0 0 0 70px;
	display:block;
}
blockquote cite{
	font-size: 0.7em;
	text-align: center;
	display:block;
}
blockquote:before,
blockquote:after {
	position: absolute;
	color: #f1efe6;
	font-size: 8rem;
	width: 4rem;
	height: 4rem;
}

blockquote:before {
	content: '“';
	top: -1rem;
}

blockquote:after {
	content: '”';
	right: -5rem;
	bottom: 4rem;
}

p.bold {
	font-weight: bold;
}

.navbar {
	background: #eee;
}
.dark .navbar{
	background: #333;
}


#nav-parent {
	display:block;
}
#sidebar {
	display:block;
}
#sidebar.affix {
	position:fixed;
	top:20px;	
}
.bs-docs-sidebar {
	padding-left: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
}

/* all links */
.bs-docs-sidebar .nav>li>a {
    color: #999;
    padding: 4px 20px;
    font-size: 13px;
    font-weight: 400;
}

/* nested links */
.bs-docs-sidebar .nav .nav>li>a {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 30px;
    font-size: 12px;
}
/* all links */
.bs-docs-sidebar .nav>li>a {
    /*add trasnparent border */
    border-left: 2px solid transparent;
}
/* active & hover links */
.bs-docs-sidebar .nav>.active>a, 
.bs-docs-sidebar .nav>li>a:hover, 
.bs-docs-sidebar .nav>li>a:focus {
    color: #563d7c;                 
    text-decoration: none;          
    background-color: transparent;  
    border-left: 2px solid #563d7c; 
}
/* all active links */
.bs-docs-sidebar .nav>.active>a, 
.bs-docs-sidebar .nav>.active:hover>a,
.bs-docs-sidebar .nav>.active:focus>a {
    font-weight: 700;
}
/* nested active links */
.bs-docs-sidebar .nav .nav>.active>a, 
.bs-docs-sidebar .nav .nav>.active:hover>a,
.bs-docs-sidebar .nav .nav>.active:focus>a {
    font-weight: 500;
}

/* hide all (inactive) nested list */
.bs-docs-sidebar .nav ul.nav {
    display: none;           
}
/* show active nested list */
.bs-docs-sidebar .nav>.active>ul.nav {
    display: block;           
}
.bs-docs-sidebar .nav>.active>a {  color: #563d7c; }



.scale-player{
	cursor: pointer;
	position:relative;
	top:2px;
	margin-left:4px;
}
.scale-chicklet {
	background:#eee;
	padding:2px;
	border:1px solid #666;
	border-radius: 3px;
	line-height:20px;
	margin-right:5px;
	display:inline-block;
}
.bracelet {
	border:1px solid #666;
	padding:4px;
	border-radius: 3px;
	margin-right: 5px;
	margin-bottom: 5px;
	background:#eee;
	display:inline-block;
	font-size:13px;
}
.bracelet-group {
	padding-left:5px;
	padding-top:5px;
	border:1px solid #666;
	border-radius: 8px;
	background:#bbb;
	display:inline-block;
	margin-right:8px;
}

.lights {
	height:75px;
	width:51px;
}



.switch {
	margin-top: 12px;
  position: relative;
  display: inline-block;
  width: 40px;
  height: 21px;
}

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

.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: 17px;
  width: 17px;
  left: 2px;
  bottom: 2px;
  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(19px);
  -ms-transform: translateX(19px);
  transform: translateX(19px);
}

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

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

button {
	border-radius: 8px;
}
