/*****************************
Thesis header
*****************************/
#thesisHeader{
	background-color: #f9f9ef;
	padding: 0.5em;
}
#thesisHeader h1{
	font-size: large;
	margin: 0;
}
#thesisHeader p{
	font-size: small;
	margin: 0;
}

#thesisHeader #wrongLanguage{
	color: #f10000;
	font-size: small;
}


/******************************
sidebar thesis nav
******************************/
#sidebarCollapse{
	font-size: small;
	text-decoration: none;
	color: #333;
	background-color: #eee;
	overflow: hidden;
	padding-top: 0.6em;
}

#sidebarCollapse a{
	color: #3e5ea7;
}

#sidebarCollapse ul{
	padding-left: 2em;
}
#sidebarCollapse ul ul{
	padding-left: 1em;
	list-style-type: none;
}

#sidebarCollapse .active,.actualparent {
	font-weight: bold;
}

#sidebar_toggler{
	border: 1px solid #555;
	border-radius: 1px;
	background-color: aliceblue;
}


nav{
	padding: 0;
}

/******************************
 * Pictures
 ******************************/

figure{
	font-size: 0.8em;
	font-weight: bolder;
	margin-bottom: 2.5em;
	background-color: #DDD;
	padding: 10px;
	border-radius: 10px;
}

figure img{
	width: 100%;
	height: auto;
	float: right;		/* needed to let the desc text float around */
}

figcaption p{
	margin-left: 10px; /* only works if img float right and this text is on the left*/
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 10px;
	font-style: italic;
	font-weight: normal;
	font-size: 1.25em;
}



/*******************************
 * Equations
 *******************************/

/* TODO font! e.g. 4.2.2.c the ypsilon looks like an u yet  */
.span_eq_desc{
	display: block;				/* to make the indent work (defaul=inline-bloock=no multiline) */
	padding-left: 10px;		/* to have first line mor left than rest of entry */
	/*text-align: right;*/
}

.span_eq_desc p{
	margin-left: 10px; /* only works if img float right and this text is on the left*/
	margin-top: 5px;
	margin-bottom: 5px;
	font-style: italic;
	font-weight: normal;
}
.div_eq{
	font-size: 0.8em;
	font-weight: bolder;
	margin-bottom: 2em;
	margin-top: 1em;
	border-radius: 15px;
	border-left: 1px solid #DFDFDF;
	border-right: 1px solid #DFDFDF;
	background-color: #FDFDFD;
	padding: 5px;
	clear: both; /* to not overlap with a previous picture */
}
.div_eq img{
	display: block;

	min-height: 3.5em;
	max-width:500px;
    max-height:200px;
    width: auto;
    height: auto;
	
	margin: 0px auto;
	margin-bottom: 8px;
}
.span_eq{
	/*TODO no line breaks if possible !*/
}

/*************************
 * tables
 *************************/
.divTable
{
    margin: 0 auto;
    margin-bottom: 0.8em;
    display:  table;
}

.divRow
{
   display:table-row;
   width:auto;
}

.divCell
{
    float:left;/*fix for  buggy browsers*/
    display:table-column;
    width:200px;
    
}


/******************************
 * content pages
 ******************************/
article{
/* 	font-size: 16px;	 */
	line-height: 1.9;		/* better readability */
}

article h2{
	margin-top: 4px;  /* less distance to breadcrump */
}
article h3{
	margin-top: 1em;
}

/* Citations */
article blockquote{
	color: #2A0070;
	line-height: 2em;
	font-style:italic;
	font-size: 0.9em;
	text-align: justify;
	width: 80%;
	border-left: 3px double #E8D8FF;
	border-right: 3px double #E8D8FF;
	border-radius: 10px;
	margin: auto;
	padding-left: 7px;
	padding-right: 7px;
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 9px;
	margin-bottom: 11px;
	
}

#div_content{
	padding-bottom: 12px;	/* to let the end of the page (the prev/next buttons) don't come too close to the footer */
}

.submenu_links h3{
	font-size: 1.3em;	/* this links should look like the headings of ongoing chapters */
}

cite,	/* for cites without links */
cite>a	/* for cites with links */
{
	color: #777;
}
blockquote footer,
figcaption footer
{
	background-color:inherit;	/*  BS sets the backgroundcolor of the footer */
}

/*******************************
 * prev/next buttons
 *******************************/
.a_prevnext,
.span_prevnext
{
	font-size: 1.4em;	/* size of the prev/next buttons */
}
.span_prevnext{
	color: #CCC;
}

.a_prevnext:hover{
	text-decoration: none;	/* don't underline like in classical links */
	font-weight: bold;		/* but mark hover */
}

/*******************************
 *  Literaturverzeichnis
 *******************************/
.spn_lv_author{  /* autoren name*/
	font-style: italic;
	/*font-weight: bold;*/ 
	display: block;  		/* zeilenumbruch zwischen autor und titel */
}
.spn_lv_title{  /* autoren name*/
	/*font-style: italic;*/
	/*font-weight: bolder;*/	
	font-size: 15px;
	letter-spacing: 0.2em;
}
#ul_literatur li{
	margin-top: 20px; 		/* distance between lit entries */
	padding-left: 10px;		/* to have first line mor left than rest of entry */
	text-indent: -10px;		/* to have first line mor left than rest of entry */
}










/*******************************
 * Size dependent changes
 * *****************************/

@media (max-width: 767px) {
	
	#sidebarCollapse{
		font-size: larger;
	}
	
	article{
		line-height: 1.5em;		/* little bit less line height on narrow devices, no need for bigger and less scrolling */
	}
	article blockquote{
		line-height: 1.6em;
	}

	/* decrease size of header */
	#span_subtitle_header{
		display: none;		/* move subtitle to footer*/
	}
	#span_subtitle_footer{
		display:inherit;	/* move subtitle to footer*/
	}
	.page-header {
		margin: 0px;
		padding: 0px;
	}
	.page-header h1{
		font-size: 1em;
		margin: 0px;
	}
	.page-footer{
		background-color: #f7f7f7;
		padding: 1em;
	}
	
}

@media (min-width: 768px) and (max-width: 991px) {
	
}

@media (min-width: 992px) and (max-width: 1199px)  {
	
}
@media (min-width: 1200px) {
	
}
