/* ---------------------------------*/
/* Basic Layout ------------------- */
/* ---------------------------------*/

:root {
	
	--maincolor: #ffcea6;
	--secondarycolor: #ac1629;
	--thirdcolor: #1d405c;
	--bgcolor: #f9f9f9;
	
/*
	--maincolor: rgba(220,255,0, 1);
	--secondarycolor: #075f29; 
	--thirdcolor: rgb(60,60,160);
	--bgcolor: rgb(245,245,240);
*/
  }
  
body {
	/*font-family: 'Taviraj', serif;*/
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	letter-spacing: 0.2px;
	margin:0;
	padding:0;
	background: var(--bgcolor);
}

#main{
	width: 1250px;
	margin-right: auto;
	margin-left: auto;
}


#navigation{
	width: 260px;
	height: 100%;
	margin:0;
	padding:0;
	display: inline-block;
	vertical-align: top;
	position: sticky;
    top: 0;
	background-color: rgba(255,255,255, 0.5);
}

#contentwrapper{
	width: 690px;
	margin-left: 6px;
	background: rgba(255,255,255, 1);
	display: inline-block;
	vertical-align: top;
}



#subnavigation{
    z-index: 1000;
	width: 256px;
	margin:0;
	margin-left: 6px;
	padding:0;
	display: inline-block;
	vertical-align: top;
	background: rgba(255,255,255, 0.1);
	font-size: 0.8rem;
	min-height: 0px;
	position: sticky;
    top: 0;
}


/* ---------------------------------*/
/* Left Menu Navigation------------ */
/* ---------------------------------*/

.main-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.8rem;
	margin-top: 136px;

}

.menu-category {
	/*margin-bottom: 15px;*/
}

.category-title {
	font-weight: 400;
	font-size: 0.8rem;
	display: block;
	padding: 12px 6px;
	border-top: 1px solid var(--thirdcolor);
	border-bottom: 3px solid var(--bgcolor);
	margin-top: 16px;
}

.category-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.category-folders {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-folder {
	margin: 2px 0;
	
}

.folder-title {
	cursor: pointer;
	display: block;
	align-items: center;
	padding: 6px 6px 6px 6px;
	font-size: 0.8rem;
	font-weight: 300;
	color: black;
	transition: color 0.4s, border-color 0.4s, background 0.4s;
}

.folder-title:hover {
	color: white;
    background: var(--thirdcolor);
}

.folder-title .accordion-arrow {
	color: var(--thirdcolor) !important;
	font-size: 18px;
	margin-right: 0px;
	transition: none;
	display: inline-block;
	vertical-align: middle;
}

.js-nav-ready .folder-title .accordion-arrow {
	transition: transform 0.2s;
}

.folder-title.expanded .accordion-arrow {
	transform: rotate(90deg);
}

.folder-items {
	list-style: none;
	margin: 0;
	display: none;
	color: black;
}

.folder-items.expanded {
	display: block;
	margin: 0px;
	padding: 0px;
	/*padding-left: 24px;*/
}

.folder-items li a {
	color: black;
	display: block;
	text-decoration: none;
	padding: 12px 6px 12px 28px;
	font-size: 0.8rem;
	font-weight: 300;
}

.folder-items li a:hover {
	color: white;
    background: var(--thirdcolor);
}

.folder-items li a.current-page {
	color: white;
    background: var(--thirdcolor);
}

.category-items li a {
	color: black;
	display: block;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 300;
    padding: 12px 6px 12px 6px;
}

.category-items li a:hover {
	color: white;
    background: var(--thirdcolor);
}

.category-items li a.current-page {
	color: white;
    background: var(--thirdcolor);
}

/* ---------------------------------*/
/*Menu rechts-----------------------*/
/* ---------------------------------*/

#toc-header {
    font-weight: 300;
    font-size: 0.8rem;
    color: rgb(50,50,50);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding-left: 6px;
	height: 120px;
}

#toc-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#toc-content li {
    margin-bottom: 0px;
    padding-left: 0;
}

#toc-content a {
    color: black;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 300;
    padding: 8px 6px 8px 6px;
    display: block;
    border-left: 3px solid transparent;
    transition: color 0.4s, border-color 0.4s, background 0.4s;
}

#toc-content a.toc-h2 {
    font-weight: 400;
	margin-top: 16px;
	border-top: 1px solid var(--thirdcolor);
	border-bottom: 3px solid var(--bgcolor);
}

#toc-content a.toc-h3 {}

#toc-content a.toc-h4 {}

#toc-content a:hover {
    color: white;
    background: var(--thirdcolor);
}

#toc-content a.active {
	color: white;
    background: var(--thirdcolor);
}




/* ---------------------------------*/
/* Typography --------------------- */
/* ---------------------------------*/

#content p, #content h1, #content blockquote, #content ul, #content table, #content button{
	padding-right: 10px;
	padding-left: 10px;
	font-size: 14px;
	color: rgb(30,30,30);
	line-height: 22px;
    -ms-hyphens: auto; /* ab IE10 */
  	-moz-hyphens: auto; /* seit Firefox 6 */
  	-webkit-hyphens: auto; /* seit Safari 5.1 (OS X), Safari 4.1 (iOS) */
  	hyphens: auto;
}

#content th {
	text-align: left;
	background-color:rgba(255,100,100, 0.5);
	color: white;
	padding-left: 10px;
}

#content td {
	padding-left: 10px;
	/*padding-top: 4px;	
	padding-bottom: 4px;*/
	
}

#content tr{
	border-bottom-width:1px;	
	border-bottom-style: solid;
	border-bottom-color:rgb(0,0,0,0.05);
}

#content tr:nth-child(even) {
	background-color: white;
}

#content h1{
	font-size:24px;
	font-weight: 300;
	color:var(--thirdcolor);
	margin-bottom: 49px;
	margin-top: 49px;
	text-transform: uppercase;
	letter-spacing: 5px;
	text-align: center;
}

#content h2{
	
	margin-top: 0px;
	padding: 16px 10px 16px 10px;
	font-size: 1rem;
	font-weight: 300;
	color: black;
	background-color: var(--maincolor);
	letter-spacing: 2px;
	border-top: 12px solid var(--bgcolor);
}

#content h3{
	margin: 32px 10px 32px 10px;
	font-size: 1rem;
	line-height: 1rem;
	font-weight: 500;
	color: var(--thirdcolor);
}

#content h4{
	margin-left: 10px;
	padding-top: 15px;
	font-size: 14px;
	line-height: 16px;
	font-weight: 300;
	color: var(--thirdcolor);
}

#content h5{
	margin-left: 10px;
	padding-top: 0px;
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
	color: black;
}

#content a {
	color: var(--thirdcolor);
	/*color: rgba(60,60,160, 0.6);*/
	font-weight: 200;
	text-decoration:none;
}

#content a:hover {
	color: var(--maincolor);
}

#content ul{
	margin-left: 10px;
	margin-right: 40px;
	list-style-type:square;
	list-style:none;
}

#content ul li{
	padding-left: 1em; 
    text-indent: -0.9em;	
	margin-bottom: 10px;
}

#content ul li:before {
    /*content: "→ ";*/
	content: "+ ";
    color: var(--thirdcolor);
}

#content .assignment{
	
	background-color: var(--maincolor);
	margin-left: 10px;
	margin-right: 10px;
	padding: 10px;
	
}

#content p code, #content li code{
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	/*letter-spacing: 0.5px;*/
	color: rgb(155, 30, 155);
	color: rgb(80,80,80);
}

blockquote {
	font-style: italic;
}
blockquote:before, blockquote:after {
  content: '';
  /*display: block;
  float: right;
  font-size: 700%;
  margin-top: -40px;
  margin-right: -50px;
  color: black;*/
}


/* ---------------------------------*/
/*            --------------------- */
/* ---------------------------------*/

.contentPic{
	display: block;
  	margin-left: auto;
 	margin-right: auto;
	width: 690px;
	margin-top: 30px;
	margin-bottom: 30px
}

#content .capt{
	font-size:12px;
	line-height: 14px;
	font-weight: 300;
	font-style: italic;
	text-align: center;
	padding-top:0px;
	padding-bottom: 12px;
}

hr{
	color: rgb(255,255,255);
	background: rgb(245,245,240);
	border: 0px;
	margin: 0px;
	padding: 0px;
}

pre {
	margin-left: 0px;	
	margin-right: 0px;

	padding-left: 0px;
	border-style: none;
	border-color: rgb(150,150,150);
	border-width: 0px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	-moz-tab-size: 24;
	tab-size: 8;
}

#footer{
	background: rgb(255,255,255);
	width: 690px;
	margin-left: 270px;
	clear:left;
	margin-top: 6px;	
}

#footer p{
	padding-left: 10px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 4px;
	color: rgb(30,30,30);
	line-height: 22px;
}





/* ---------------------------------*/	
/* Tabs ---------------------------- */

#content .tabs {
    margin: 1em 10px;
    border-radius: 0px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.tab-labels {
	display: flex;
	border-bottom: 1px solid #e0e0e0;
	background: #f5f5f5;
}

.tab-label {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	padding-right: 30px !important;
	padding-left: 10px !important;
	background: none;
	border: none;
	border-right: 1px solid #e0e0e0;
	cursor: pointer;
	font-size: 1em;
	color: #333;
	outline: none;
	transition: background 0.2s;
	min-width: 120px;
	box-sizing: border-box;
}

.tab-label:last-child {
	border-right: none;
}

.tab-label.active {
	background: white;
	color: var(--thirdcolor);
	font-weight: bold;
	border-bottom: 1px solid var(--thirdcolor);
}

.tab-content {
	display: none;
	padding-top: 10px;
	/*padding: 1em;*/
}

.tab-content.active {
	display: block;
}

#content .tab-label:not(.active):hover {
    border-bottom: 1px solid var(--thirdcolor);
    color: var(--thirdcolor);
    background: #fff;
}

/* ---------------------------------*/	
/* Code blocks --------------------- */

/* Code blocks - match paragraph font size */
#content pre[class*="language-"],
#content code[class*="language-"] {
	font-size: 12px;
	line-height: 20px;
	font-weight: 300;
}

/* Code block background - darker */
#content pre[class*="language-"] {
	/*background-color: #000000 !important;*/
	text-shadow: none !important;
}

#content code[class*="language-"] {
	text-shadow: none !important;
}

/* Remove shadow from line numbers vertical line */
#content .line-numbers-rows {
	box-shadow: none !important;
	border-right-color: white !important;
	background-color: #d1cfcc !important;
}

/* Line numbers styling - white and bold */
#content .line-numbers-rows > span {
	letter-spacing: 1px !important;
}

#content .line-numbers-rows > span:before {
	color: white !important;
	font-weight: bold !important;
}

#content > pre,
#content > .code-toolbar {
  margin-left: 10px;
  margin-right: 10px;
}

/* Prism.js Copy Button Styling */
#content pre[class*="language-"] {
	position: relative;
}

#content .code-toolbar {
	position: relative; 
}

#content .toolbar {
	position: absolute !important;
	top: 8px !important;
	right: 8px !important;
	opacity: 1 !important;
	visibility: visible !important;
}

#content .copy-to-clipboard-button {
	background-color: white !important;
	color: var(--thirdcolor) !important;
	/*border: 1px solid var(--maincolor) !important;*/
	border: none !important;
	border-bottom: none !important;
	border-radius: 2px !important;
	padding: 4px 12px !important;
	font-size: 12px !important;
	font-family: 'Roboto', sans-serif !important;
	font-weight: 300 !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease !important;
	box-shadow: none !important;
}

#content .copy-to-clipboard-button:hover {
	background-color: var(--thirdcolor) !important;
	color: white !important;
}

#content .copy-to-clipboard-button:active {
	background-color: var(--thirdcolor) !important;
}

/* ---------------------------------*/	
/* Accordion ----------------------- */

button.accordion .accordion-arrow {
  display: inline-block;
  transition: transform 0.5s;
  margin-right: 8px;
  color: var(--thirdcolor);
}

button.accordion.active .accordion-arrow {
  transform: rotate(90deg);
}

button.accordion {
  width: calc(100% - 20px);
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 20px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-bottom: 2px solid var(--thirdcolor);
  border-radius: 0;
  color: #444;
  cursor: pointer;
  padding: 12px;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s, border-bottom 0.2s;
}

.panel{
	margin-bottom: 20px;
}

button.accordion:hover {
    background-color: #ddd;
}

button.accordion.active {

}



div.panel {
	width: calc(100% - 20px);
	margin-left: 10px;
	margin-right: 10px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-top: none; /* visually connects to the button */
	border-bottom: 2px solid var(--thirdcolor); /* red bottom border */
	max-height: 3px;
	min-height: 3px; 
	overflow: hidden;
	transition: max-height 0.2s ease-out;
  }
  
  div.panel img, div.panel iframe {
	  filter: grayscale(100%); /* Standard */
	  -webkit-filter: grayscale(100%); /* Webkit */
	  filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale"); /* Firefox4-34*/
	  filter: gray;  /* IE6-9 */
	  -webkit-filter: grayscale(1); /* Old WebKit */
  }

.js-nav-ready .folder-items {
    display: none;
}
.js-nav-ready .folder-title.expanded + .folder-items {
    display: block;
}
  