/* -------------------- Schriften laden -------------------- */

@font-face {
	font-family: Roboto;
	font-weight: normal;
	font-style: normal;
	src: url('../res/fonts/Roboto-Regular.ttf') format('truetype');
}

@font-face {
	font-family: Roboto;
	font-weight: 500;
	font-style: normal;
	src: url('../res/fonts/Roboto-Medium.ttf') format('truetype');
}

@font-face {
	font-family: Roboto;
	font-weight: 900;
	font-style: normal;
	src: url('../res/fonts/Roboto-Bold.ttf') format('truetype');
}

/* -------------------- Allgemein -------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif !important;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.5;
	color: #2b2b2b;
	text-align: left;
	margin: 0;
}

div.float-left {
	float: left !important;
}

div.float-right {
	float: right !important;
}

h1 {
	margin-bottom: 1rem;
	margin-top: 0;
	font-size: 1.33rem;
	color: #00aaa0;
	text-transform: uppercase;
	hyphens: auto;
	font-weight: 400;
	line-height: 1.2;
}

h2 {
	font-size: 1.235rem;
	color: #394a5f;
	font-weight: 400;
	line-height: 1.2;
	margin-top: 0;
}

h5 {
	color: #394a5f;
	font-size: 0.95rem;
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 400;
	line-height: 1.2;
}

a {
	color: #00aaa0;
	text-decoration: none;
	background-color: transparent;
}

a:hover {
	color: #00aaa0;
	text-decoration: underline;
}

table {
	width: 100%;
	margin-bottom: 1rem;
	color: #2b2b2b;
	border-collapse: collapse;
}

table td {
	padding: 0.75rem;
	vertical-align: top;
	border-top: 1px solid #dee2e6;
}

#subject {
	margin-top: -0.5rem;
	font-size: 1rem;
	font-weight: 400;
	font-style: italic;
}

#maingrid {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto;
	column-gap: 10px;
	grid-row-gap: 10px;
	grid-auto-flow: row;
	width: 100%;
	margin-bottom: 20px;
}

#maingrid img {
	width: 400px;
}


.gallery-row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -0.5rem;
	margin-right: -0.5rem;
}

.gallery-item-size-4 {
	width: calc(100% / 4);
}

figure.image {
	display: block;
	margin: 0 0.5em 1rem 0.5em;
	line-height: 1.5;
}

figure.image img {
	display: block;
	height: auto;
	max-width: 100%;
	margin: 0 auto;
}

figure p {
	font-style: italic;
	font-size: 0.8em;
	hyphens: auto;
	text-align: justify;
}

div.frame {
	position: relative;
	padding: 1.45rem;
	margin-bottom: 2rem;
	margin-top: 0rem;
	color: #2b2b2b;
	background-color: #eeeeee;
}

select, option, input {
	font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif !important;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.5;
	color: #2b2b2b;
}


/* -------------------- Header-Teil -------------------- */

div.col_left {
	flex: 0 0 70%;
	max-width: 70%;
	position: relative;
	width: 100%;
	padding-right: 20px;
	padding-left: 20px;
}

div.col_right {
	flex: 0 0 30%;
	max-width: 30%;
	position: relative;
	width: 100%;
	padding-right: 20px;
	padding-left: 20px;
}

a.start {
	text-decoration: none;
}

a.start:hover {
	text-decoration: underline;
}


/*-------------------- Breadcrumb --------------------*/

ol.breadcrumb {
	padding: 0;
	margin: 0 0 1em 0;
	font-size: 0.76rem;
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	color: #6c757d;
}


li.breadcrumbitem + li.breadcrumbitem:before {
	display: inline-block;
	padding-right: 0.5rem;
	content: ">";
}

li.breadcrumbitem a {
	color: #00aaa0;
	text-decoration: none;
	background-color: transparent;
}


/*-------------------- Sidebar rechts --------------------*/

#sidebar_right div.sidebarcontent {
	padding: 0.5rem;
	border-style: solid;
	border-width: 1px;
	border-radius: 1px;
	border-color: #555555;
	margin-bottom: 1rem;
}

#sidebar_right header {
	background-color: #394a5f;
	border-style: solid;
	border-width: 1px;
	border-radius: 1px;
	border-color: #555;
	display: block;
}

#sidebar_right header h2 {
	margin: 0;
	padding: 10px;
	color: #fff;
	text-align: left;
	line-height: 25px;
	font-size: 1.045rem;
	font-weight: 400;
}

#sidebar_right h3 {
	font-size: 1.045rem;
	color: #394a5f;
	padding: 0;
	margin-top: 0.5rem;
	margin-bottom: 0;
	font-weight: 400;
	line-height: 1.2;
}

#sidebar_right h4 {
	font-size: 1.045rem;
	color: #394a5f;
	padding: 0.5rem 0;
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 400;
	line-height: 1.2;
}

#sidebar_right figure {
	margin: 0;
	display: inline-block;
	line-height: 1.5;
}


#sidebar_right figure img {
	margin: 0;
	width: 100%;
	border-radius: 0.25rem !important;
	line-height: 1;
	padding: 0.25rem;
	background-color: #fff;
	border: 1px solid #dee2e6;
	max-width: 100%;
	height: auto;
}


#contactdata {
	padding-left: 0;
	list-style: none;
	margin-top: 0;
	margin-bottom: 1rem;
}

#contactdata li {
	display: flex;
	flex-wrap: wrap;
	margin-right: -20px;
	margin-left: -20px;
	line-height: 1.6em;
}

#contactdata li div.left {
	flex: 0 0 16.66667%;
	max-width: 16.66667%;
	position: relative;
	width: 100%;
	padding-right: 20px;
	padding-left: 20px;
	font-weight: 900;
	width: 1.5rem;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
}

#contactdata li div.right {
	flex: 0 0 83.33333%;
	max-width: 83.33333%;
	position: relative;
	width: 100%;
	padding-right: 20px;
	padding-left: 20px;
}

#contactdata li div.right a {
	color: #00aaa0;
	text-decoration: none;
	background-color: transparent;
}


#contactdata li div.right a:hover {
	color: #00aaa0;
	text-decoration: underline;
}





/*-------------------- Accordion --------------------*/

#accordion {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem 0;
}

#accordion header {
	color: #00aaa0;
	padding: 1rem 1.5rem;
	padding-right: calc(1.5rem + 2em);
	position: relative;
	display: block;
	background-color: #efefef;
	border-bottom: 0;
}


#accordion span.text {
	font-size: 1.045rem;
	font-weight: normal;
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.2em;
}

#accordion li.acc {
	overflow: hidden;
	border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
	color: #2b2b2b;
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid rgba(0, 0, 0, 0.125);
	margin-bottom: 4px;
}

#accordion li.acc:last-of-type {
	padding-bottom: 0;
}

#accordion li.acc .sign {
	position: absolute;
	height: 0.8em;
	width: 0.8em;
	top: 50%;
	right: 1.5rem;
	transform: translate(0, -50%);
}

#accordion li.acc .sign:before,
#accordion li.acc .sign:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	display: block;
	height: 1px;
	width: 100%;
	background-color: currentColor;
	transition: all 0.2s ease-in-out;
}

#accordion li.acc .sign:before {
	transform: rotate(-45deg);
}
#accordion li.acc .sign:after {
	transform: rotate(45deg);
}

#accordion input {
	position: absolute;
	cursor: pointer;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0;
}

#accordion li.acc input:checked ~ div.accordion-body {
	margin-top: 0;
	max-height: 0;
}

#accordion li.acc input[type=checkbox]:checked ~ header .sign:before {
	transform: rotate(0);
}
#accordion li.acc input[type=checkbox]:checked ~ header .sign:after {
	transform: rotate(90deg);
}

#accordion div.accordion-body {
	font-size: 1em;
	line-height: 1.3em;
	position: relative;
	overflow: hidden;
	z-index: 2;
	transition: all .4s ease-in-out;
	transition-delay: 0s;
	max-height: 5000px;
}


#accordion div.accordion-body div {
	border-top: 1px solid rgba(0, 0, 0, 0.125);
	min-height: 1px;
	padding: 1.5rem;
}


#accordion #contact, #contact {
	padding: 0;
	list-style: none;
	margin-top: 0;
	margin-bottom: 0.2rem;
	line-height: 1.6;
	display: flex;
	flex-wrap: wrap;
	margin-right: -20px;
	margin-left: -20px;
	border: none !important;
}

#accordion #contact, #contact span.left {
	flex: 0 0 12%;
	max-width: 12%;
	position: relative;
	width: 100%;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 0;
}

#accordion #contact, #contact span.right {
	margin-bottom: 0;
	flex: 0 0 88%;
	max-width: 88%;
	position: relative;
	width: 100%;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 0;
}

#accordion ul.inner {
	border: 0 !important;
	margin: 0 1rem 0.5rem 1rem !important;
	padding: 0 !important;
}

#accordion ul.inner li:last-of-type {
	margin-bottom: 1.2rem;
}

#contact span.right a {
	color: #00aaa0;
	text-decoration: none;
	background-color: transparent;
}

/*
#accordion img {
	width: 100%;
	mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0.8), rgba(0,0,0,0.2), rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0));
	position: absolute;
	top: 0;
	left: 0;
}
*/


/*-------------------- Buttonbox mit Link (z.B. Professoren) --------------------*/
#linkbutton {
	padding-bottom: 0.24rem;

}

#linkbutton > a {
	text-decoration: none;
	background-color: #efefef;
	color: #394a5f;
	padding: 0.75rem 1.25rem;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	min-width: 0;
	word-wrap: break-word;
	border: 1px solid rgba(0,0,0,0.125);
	font-size: 1.045rem;
	font-weight: normal;
	margin-bottom: 0;
	line-height: 1.2em;
}

div.col_lb_left, div.col_lb_right {
	position: relative;
	width: 100%;
}

div.col_lb_left {
	flex: 0 0 83.33333%;
	max-width: 83.33333%;
}

div.col_lb_right {
	flex: 0 0 16.66667%;
	max-width: 16.66667%;
	text-align: right;
}

/*-------------------- Modulbeschreibung --------------------*/
#modtab {
	margin-bottom: 1rem;
}

#modtab nav {
	display: block;
}

#nav-tab {
	font-weight: 500;

}

.nav {
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}

.nav-tabs {
	border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link
{
	border: 1px solid transparent;
}

.nav-tabs .nav-link.active {
	color: #495057;
	background-color: #fff;
	border-color: #dee2e6 #dee2e6 #fff;
	border-bottom: none;
}

.nav-link {
	display: block;
	padding: 0.5rem 1rem;
}

.nav-tabs .nav-item {
	margin-bottom: -1px;
}

.tab-content > .tab-pane {
	display: none;
}

.tab-content > .active {
	display: block;
	border-left-color: #dee2e6;
	border-left-style: solid;
	border-right-color: #dee2e6;
	border-right-style: solid;
	border-bottom-color: #dee2e6;
	border-bottom-style: solid;
	border-width: 1px;
}

.fade {
	transition: opacity 0.15s linear;
}

.fade:not(.show) {
	opacity: 0;
}

.tab-content-inside {
	padding: 4px 4px 0 4px;
}

#table-modcontent {
	width: 100%;
	table-layout: fixed;
}

#table-modcontent td:nth-child(odd) {
	font-weight: 500;
	width: 30%;
}

#table-modcontent td > ol, #table-modcontent td > ul {
	border: 0 !important;
	margin: 1rem 0 1rem 0;
	padding: 0;
}

#table-modcontent td > ol:nth-child(1), #table-modcontent td > ul:nth-child(1) {
	margin-top: 0;
}

#table-modcontent td > ol:last-of-type, #table-modcontent td > ul:last-of-type {
	margin-bottom: 0;
}

#table-modcontent td ol li {
	display: list-item;
	list-style: decimal inside;
	text-indent: -1rem;
	padding-left: 2rem;
	border: 0 !important;
}

#table-modcontent td ul li {
	display: list-item;
	list-style: disc inside;
	text-indent: -1rem;
	padding-left: 1rem;
	border: 0 !important;
}

#table-modcontent td p {
	margin-top: 0;
	line-height: 1.2rem;
}

#table-modcontent td p:last-of-type {
	margin-bottom: 0;
}


#schedule {
	width: auto;
	border-spacing: 8px;
	border-collapse: separate;
	border: 0 !important;
}

#schedule td {
	width: auto;
	border: 0;
	padding: 0;
}

#schedule td:nth-child(odd) {
	font-weight: 400;
}

#schedule td:nth-child(1) {
	width: 160px;
}

#schedule tr:last-child td {
	font-weight: 500;
}

#lit li {
	list-style: none !important;
	margin-bottom: 0.4rem;
	text-indent: 0 !important;
	padding-left: 0 !important;
}



/*-------------------- Einzelbild-Box --------------------*/

#staticImage {
	position: relative;
	margin: 0;
	padding: 0;
	background: none;
	border: none;
}


#staticImage figure {
	margin: 0;
}


#staticImage figure img {
	width: 100%;
}


/*-------------------- Personen-Foto --------------------*/

#portrait {
	float: left;

	margin: 0 1rem 0 0;
	border-radius: 0.25rem !important;
	line-height: 1;
	padding: 0.25rem;
	background-color: #fff;
	border: 1px solid #dee2e6;
	max-width: 100%;
	height: auto;
}


/*-------------------- Galerie-Box --------------------*/

#gallery {
	position: relative;
	margin: 0;
	padding: 0;
	background: none;
	border: none;
}

#gallery figure {
	position: absolute;
	display: inline-block;
	top: 0;
	left: 0;
	animation: wechseln 20s infinite;
	-webkit-animation: wechseln 20s infinite;
	margin: 0;
}

#gallery figure img {
	width: 100%;
}

#gallery figure:last-of-type {
	position: relative;
}


/*--- Die keyframes berechnen: 100%/Anzahl der Bilder * 3/5) ---*/
@keyframes wechseln {
	0% {
		opacity: 0;
	}
	15% {
		opacity: 1;
	}
	30% {
		opacity: 1;
	}
	45% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

#gallery figure:nth-of-type(2) {
	animation-delay: 5s;
	opacity: 0;
}

#gallery figure:nth-of-type(3) {
	animation-delay: 10s;
	opacity: 0;
}

#gallery figure:nth-of-type(4) {
	animation-delay: 15s;
	opacity: 0;
}


/*-------------------- News --------------------*/
.news-item {
	padding: 0.5rem 0;
	border-width: 1px;
	border-bottom-style: solid;
	border-color: #dee2e6;
	margin-bottom: 0.5rem;
}

.news-header {
	color: #394a5f;
}

.news-header-date {
	font-style: italic;
}

.news-header h3 {
	font-weight: 400;
	line-height: 1.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	color: #394a5f;
	font-size: 1.14rem;
	margin-bottom: 0.5rem;
	margin-top: 0;
}

.news-body p {
	margin-top: 0;
	margin-bottom: 1rem;
}


/*-------------------- Wörterbuch --------------------*/

#input_searchword, #input_module {
	width: 100%;
	height: 24px;
	margin-bottom: 0.5rem;
}

#output_wordList {
	width: 100%;
	font-size: 0.9rem;
}

.dict {
	margin-bottom: 1rem;
}

.dict p {
	margin-top: 0;
	margin-bottom: 0.2rem;
}




/*-------------------- Footer --------------------*/
footer {
	padding-top: 1rem;
	display: block;

}

div.footer-content {
	padding-top: 10px;
	padding-bottom: 20px;
	background-color: #394a5f;
	color: #fff;
}

div.footer-col h2 {
	font-size: 1.14rem !important;
	margin-bottom: 1rem;
	line-height: 1.2;
	margin-top: 0;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	text-align: left;
}

div.footer-col p {
	padding: 0;
	margin: 0;
}

div.footer-col a {
	color: #fff;
	text-decoration: none;
	background-color: transparent;
}

div.footer-col section {
	display: block;
}

div.footer-col section h2 {
	color: #fff;
	font-family: "Roboto";
	font-weight: 700;
	text-transform: uppercase;
	text-align: left;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 1.14rem;
	margin-bottom: 0;
}

div.icon-list span {
	padding: 0.5rem;
	font-size: 30px;
	line-height: 30px;
}

#facebook:hover {
	color: #4b6ea8 !important;
}

#instagram:hover {
	color: #c32aa3 !important;
}

#linkedin:hover {
	color: #c32aa3 !important;
}

#xing:hover {
	color: #126567 !important;
}

#youtube:hover {
	color: red !important;
}



