/* TYPO */

body {
	color: #4A4A4A;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}
a {
	color: #4A4A4A;
}
a:hover {
	color: black;
}
h1, h2, h3, h4, h5 {
	font-weight: 300;
}
.csc-header h1,
.csc-textpicHeader h1,
#c2891 h1 {
	font-size: 20px !important;
}
td, th {
    padding: 10px;
}
form {
	margin: 15px 0;
}
input[type="text"], input[type="input"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input:not([type]), textarea,
select {
	width: 100%;
	display: inline-block;
    padding: 6px;
    background: #f3f3f3;
    border: 1px solid #f2f2f2;
}
input[type=checkbox], input[type=submit] {
	background: #f2f2f2;
	padding: 6px;
}
input[type="submit"] {
	margin: 20px 0;
	padding: 6px 10px;
	border: none;
	background: #939393;
	color: #ffffff;
}
select {
	width: 100%;
}

/* SPECIAL CLASS */

.external-link-new-window {
	padding-left: 23px;
	position: relative;
}
.external-link-new-window:before {
	font-family: 'FontAwesome', sans-serif;
    color: #4A4A4A;
    content: "\f08e";
    position: absolute;
    left: 0px;
}

.download {
	padding-left: 20px;
	position: relative;
}
.download:before {
	font-family: 'FontAwesome', sans-serif;
    color: #4A4A4A;
    content: "\f019";
    position: absolute;
    left: 0px;
}
.tx-importstudip-pi1 h3 + p {
	font-weight: bold;
	font-size: .9em !important;
}

/* COLOR */

body.start #container a,
body.start #container h1,
body.start #container .headline,
body.hochschule #container a,
body.hochschule #container h1,
body.hochschule #container .headline {
	color: #211759;
}
body.start #c2892 a,
body.start #c2892 h1,
body.start #c2892 .headline {
	color: #007584;
}
body.start #c3272 a,
body.start #c3272 h1,
body.start #c3272 .headline {
	color: #8d0020;
}
body.alumni #container a,
body.alumni #container h1,
body.alumni #container .headline {
	color: #68b7c0;
}
body.asta #container a,
body.asta #container h1,
body.asta #container .headline {
	color: #0078bf;
}
body.studium #container a,
body.studium #container h1,
body.studium #container .headline {
	color: #007482;
}
body.forschung #container a,
body.forschung #container h1,
body.forschung #container .headline {
	color: #636F03;
}
body.weiterbildung #container a,
body.weiterbildung #container h1,
body.weiterbildung #container .headline {
	color: #820924;
}
body.zentrum #container a,
body.zentrum #container h1,
body.zentrum #container .headline {
	color: #fdc600;
}
body.praxis #container a,
body.praxis #container h1,
body.praxis #container .headline {
	color: #C2C118;
}
body.international #container a,
body.international #container h1,
body.international #container .headline {
	color: #E41B13;
}
.mainbar .hochschule,
.mainbar .uid-2,
body.start aside h1,
body.start aside h3,
body.hochschule aside h1,
body.hochschule aside h3 {
	background: #211759 !important;
}
.mainbar .studium,
.mainbar .uid-29,
body.studium aside h1,
body.studium aside h3  {
	background: #007482 !important;
}
.mainbar .alumni,
body.alumni aside h1,
body.alumni aside h3  {
	background: #68b7c0 !important;
}
.mainbar .asta,
body.asta aside h1,
body.asta aside h3  {
	background: #0078bf !important;
}
.mainbar .forschung,
.mainbar .uid-50,
body.forschung aside h1,
body.forschung aside h3  {
	background: #636F03 !important;
}
.mainbar .weiterbildung,
.mainbar .uid-328,
body.weiterbildung aside h1,
body.weiterbildung aside h3  {
	background: #820924 !important;
}
.mainbar .zentrum,
.mainbar .uid-909,
body.zentrum aside h1,
body.zentrum aside h3  {
	background: #fdc600 !important;
}
.mainbar .praxis,
.mainbar .uid-123,
body.praxis aside h1,
body.praxis aside h3  {
	background: #C2C118 !important;
}
.mainbar .international,
.mainbar .uid-71,
body.international aside h1,
body.international aside h3  {
	background: #E41B13 !important;
}

/* NAV */

.topbar > ul,
.mainbar > ul,
.subbar > ul {
	list-style: none;
	margin: 0; 
	padding: 0;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-wrap: nowrap;
	justify-content: space-between;
}
.topbar > ul {
	justify-content: flex-end;
	padding: 20px;
}
.topbar > ul > li {
	padding: 0 15px;
	border-left: 1px solid #4A4A4A;
}
.topbar > ul > li:first-child {
	border: none;
}
.topbar .switch {
	display: none;
	cursor: pointer;
	position: relative;
}
.topbar .switch ul {
	list-style: none;
	padding: 0;
	position: absolute;
	display: none;
	width: 25px;
    text-align: center;
}
.topbar .switch ul.hover {
	display: block;
}
.topbar .switch i {
	margin: 0 2px;
}
.mainbar > ul {
	margin-bottom: 40px;
}
.mainbar > ul > li {
	width: 13.8%;
	color: white;
	text-align: center;
	position: relative;
}
.mainbar > ul > li > i {
	display: none;
}
.mainbar > ul > li > ul.subnav {
    display: none;
	padding-top: 10px;
	position: absolute;
    z-index: 4;
    margin: 0;
    padding: 0;
    text-align: left;
	border: 1px solid #F2F2F2;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
    box-shadow: 0 1px 2px rgba(0,0,0,.075);
    min-width: 100%;
}
.mainbar > ul > li:last-child > ul.subnav {
	right: 0;
}
.mainbar > ul > li:hover > ul.subnav {
    display: block;
}
.mainbar > ul > li > ul.subnav > li {
    background: #f3f3f3;
	white-space: nowrap;
	list-style: none;
	padding: 10px 14px;
	border-bottom: 1px solid #ffffff;
}
.mainbar > ul > li > ul.subnav > li:last-child {
	border: none;
}
.mainbar > ul > li > ul.subnav > li a {
	color: black;
	display: block;
}
.mainbar > ul > li > ul.subnav > li.active a {
	font-weight: 400;
}
.mainbar > ul > li > a {
	color: white;
	padding: 10px 0;
	display: block;
}
.mainbar > ul > li > a:hover {
	text-decoration: none;
	background: rgba(255,255,255,0.3);
	font-weight: 500;
}
.mainbar > ul > li.active > a {
	font-weight: 500;
}
.subbar {
	margin-bottom: 30px;
}
.subbar > ul {
	flex-direction: column;
}
.subbar > ul li {
	padding: 10px 18px;
	border-radius: 0 !important;
	border-color: #f3f3f3 !important;
}
.subbar > ul ul li {
	border-color: #ffffff !important;
}
.subbar > ul > li:hover,
.subbar > ul > li.active,
.subbar > ul > li.active:hover {
	background: #f2f2f2;
}
.subbar > ul li.active > a {
	font-weight: 400;
}
.subbar > ul li {
	position: relative;
}
.subbar > ul li.submenu:after {
	font-family: 'FontAwesome', sans-serif;
	color: #4A4A4A;
	content: "\f105";
	position: absolute;
	right: 0;
    top: 0;
    height: 45px;
    line-height: 45px;
    padding: 0 10px;
}
.subbar > ul li.submenu.active:after {
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
	right: 2px;
}
.subbar > ul li a {
	display: block;
	color: #4A4A4A !important;
}
.subbar > ul li a:hover {
	text-decoration: none;
}
.subbar > ul li.active > .sublist,
.subbar ul.sublist li.active .sublist {
	display: block;
}
.sublist {
	margin: 10px -18px -10px -18px;
	padding: 0;
	list-style: none;
	display: none;
}
.sublist li {
	padding-right: 0;
	padding-left: 35px !important;
	background: #f3f3f3;
	border-top: 1px solid #f2f2f2;
}
.sublist .sublist li {
	padding-left: 35px;
	position: relative;
}
.sublist .sublist li:before {
	font-family: 'FontAwesome', sans-serif;
	color: #4A4A4A;
	content: "\f105";
	position: absolute;
	left: 20px;
}
#sidebar li {
	font-size: 14px !important;
}

/* SEARCH */

form.search-form {
	position: relative;
	margin-bottom: 30px;
}
form.search-form button {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
    border: none;
    background: transparent;
    padding: 0 15px;
}
form.search-form input[type=search] {
	width: 100%;
	border: none;
	background: #f3f3f3;
	color: #9B9B9B;
	font-style: italic;
	padding: 10px;
}

/* CALENDAR */

aside h1,
aside h3 {
	color: white !important;
	padding: 10px 14px !important;
	margin-bottom: 30px !important;
	font-size: 1.25em !important;
    font-weight: 400 !important;
    line-height: 1.3em !important;
}
aside .bodytext {
	font-size: 14px !important;
}
aside .calendar a {
	color: #211759;
	font-size: 1em;
	font-weight: 400;
	margin-bottom: 5px;
	display: block;
}
aside .calendar p {
	margin-bottom: 0;
	font-size: 1em !important;
}
aside .calendar .list-group {
	line-height: 1.35em;
	margin-bottom: 10px;
}
aside .calendar .list-group-item {
	background: #f3f3f3;
	font-size: .85em;
	border-radius: 0;
	border-color: #F2F2F2;
}

/* HEADER */

header {
	min-height: 200px;
}
body.start header {
	width: 1170px;
    margin: 0 auto;
	background: url("../img/ehs-logo.png") no-repeat 20px 20px transparent;
}
body.zentrum header {
	width: 1170px;
    margin: 0 auto;
	background: url("../img/ehs-zentrum.png") no-repeat 20px 70px transparent;
	background-size: auto 30%;
}
body.hochschule header {
    background: url("../img/menschen-leben.png") no-repeat top left transparent;
	background-size: auto 100% !important;
}
body.alumni header {
    background: url("../img/menschen-verbinden.png") no-repeat top left transparent;
	background-size: auto 100% !important;
}
body.asta header {
    background: url("../img/menschen-bewegen.png") no-repeat top left transparent;
	background-size: auto 100% !important;
}
body.studium header {
    background: url("../img/menschen-studieren.png") no-repeat top left transparent;
	background-size: auto 100% !important;
}
body.forschung header {
    background: url("../img/menschen-forschen.png") no-repeat top left transparent;
	background-size: auto 100% !important;
}
body.weiterbildung header {
    background: url("../img/menschen-weiterbilden.png") no-repeat top left transparent;
	background-size: auto 100% !important;
}
body.praxis header {
    background: url("../img/menschen-gestalten.png") no-repeat top left transparent;
	background-size: auto 100% !important;
}
body.international header {
    background: url("../img/menschen-begegnen.png") no-repeat top left transparent;
	background-size: auto 100% !important;
}

header .toggler {
	display: none;
}

body.hochschule .topbar,
body.alumni .topbar,
body.asta .topbar, 
body.studium .topbar,
body.forschung .topbar,
body.weiterbildung .topbar,
body.zentrum .topbar,
body.praxis .topbar,
body.international .topbar {
	width: 1170px;
    margin: 0 auto;
}

/* QUICKLINKS */

.quicklinks {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0 0 0;
	padding: 0;
	justify-content: space-between;
	align-items: stretch;
}
.quicklinks li {
	background: white;
	border: 1px solid #ececec;
	width: 9%;
	list-style: none;
	text-align: center;
	margin-bottom: 20px;
	position: relative;
	font-size: 14px !important;
}
.quicklinks li:hover {
	background: white;
	-webkit-box-shadow: 0px 0px 8px 2px rgba(209,209,209,0.5);
	-moz-box-shadow: 0px 0px 8px 2px rgba(209,209,209,0.5);
	box-shadow: 0px 0px 8px 2px rgba(209,209,209,0.5);
}
.quicklinks a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 90px 10px 10px 10px;
	line-height: 14px;
	font-size: 12px;
	-ms-hyphens: auto;
	-webkit-hyphens: auto;
    hyphens: auto;
    color: black !important;
}
.quicklinks a:hover {
	text-decoration: none;
}
.quicklinks a:before {
	content: "";
	position: absolute;
	top: 20px;
	left: 50%;
	margin-left: -40px;
	display: block;
	width: 80px;
	height: 80px;
	background: white;
	border-radius: 100px;
	background: url("../img/ehs-icons.png") no-repeat top left transparent;
}
.quicklinks .studienbewerbung {
	border-color: #007482;
}
.quicklinks .studienbewerbung a:before {
	background-position: 0 0;
}
.quicklinks .asta {
	border-color: #0078bf;
}
.quicklinks .asta a:before {
	background-position: -62px 10px;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    background-size: 370px;
    top: 5px;
}
.quicklinks .bibliothek {
	border-color: #636F03;
}
.quicklinks .bibliothek a:before {
	background-position: -160px 0;
}
.quicklinks .mensa {
	border-color: #211759;
}
.quicklinks .mensa a:before {
	background-position: -240px 0;
}
.quicklinks .stellenboerse {
	border-color: #C2C118;
}
.quicklinks .stellenboerse a:before {
	background-position: -320px 0;
}
.quicklinks .english {
	border-color: #E41B13;
}
.quicklinks .english a:before {
	background-position: 0 -80px;
}
.quicklinks .leichtesprache {
	border-color: #211759;
}
.quicklinks .leichtesprache a:before {
	background-position: -80px -80px;
}
.quicklinks .zentrum {
	border-color: #fdc600;
}
.quicklinks .zentrum a:before {
	background-position: -160px -80px;
}
.quicklinks .forschungsthemen {
	border-color: #636F03;
}
.quicklinks .forschungsthemen a:before {
	background-position: -240px -80px;
}
.quicklinks .studentenwerk {
	border-color: #211759;
}
.quicklinks .studentenwerk a:before {
	background-position: -320px -80px;
}

/* CONTAINER */

.container.hover #container:before {
	height: 100%;
	opacity: 0.7;
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-ms-transition: opacity .25s ease-in-out;
	-o-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
}
#container:before {
	background: white;
	content: "";
	display: block;
	width: 100%;
	height: 0%;
	position: absolute;
	top: 0;
	z-index: 3;
	opacity: 0;
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-ms-transition: opacity .25s ease-in-out;
	-o-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
}
#container {
	padding-bottom: 50px;
	line-height: 1.75em;
	position: relative;
}
#container section {
	padding-bottom: 20px;
}
#container figure img {
	width: 100%;
	height: auto;
}
#container p,
#container li {
	font-size: 1.1em;
}
#container h1 {
	font-weight: 500;
	font-size: 2.5em;
	margin-bottom: 20px;
}
#container h1.csc-header-alignment-center {
	width: 50%;
	margin: 40px auto 10px auto;
	font-size: 1.65em !important;
}
#container h1 + h2 {
	margin-top: 0;
	margin-bottom: 15px;
	font-weight: 300;
}
#container h2 {
	font-size: 1.4em;
	font-weight: 400;
}
#container h3 {
	font-size: 1.1em;
	font-weight: 400;
	line-height: 1.3em;
	margin: 0;
}
#container p {
	margin: 0;
}
#container #c2892 article,
#container #c2 article,
#container #c101 article,
#container #c321 article ,
#container #c105 article,
#container #c3181 article {
	margin-bottom: 20px;
}

/*
#container p a {
	margin-bottom: 10px;
	display: block;
}
*/

#container .headline {
	text-transform: uppercase;
	margin-top: 20px;
    margin-bottom: 20px;
}
#container .breadcrumb {
    padding: 10px 0;
    background: transparent;
    font-size: 12px;
}
#container .breadcrumb li:last-child {
	font-weight: 400;
}
#container .breadcrumb a {
	color: #4A4A4A !important;
}
#container .breadcrumb > li + li::before {
	font-weight: 100;
}

/*FOOTER*/

footer img.logo {
	width:240px;
	display:block;
	margin:auto
}

/* STELLENBOERSE */

.nb-stellenboerse-searchfilter-left,
.nb-stellenboerse-searchfilter-right  {
	float: left;
	width: 50%;
}
.nb-stellenboerse-searchfilter-left select {
	width: 85%;
}
.tx-nb-stellenboerse table {
	clear: both;
	border-spacing: 0;
}
.tx-nb-stellenboerse table td,
.tx-nb-stellenboerse table th {
	padding: 2px 5px;
	color: #4A4A4A;
}
.tx-nb-stellenboerse table tr:nth-child(odd) td {
	background: #F3F3F3;
}
.tx-nb-stellenboerse-hidden-entry-hint-text,
.tx-nb-stellenboerse-hidden-entry td a {
	color: red !important;
}
.tx-nb-stellenboerse table td a,
.tx-nb-stellenboerse table th a {
	color: black !important;
	font-size: 13px;
	vertical-align: top;
	line-height: 20px;
}
.dataTables_wrapper {
	margin-top: 50px;
	overflow: hidden;
}

.tx-srfeuserregister-pi1 .tx-srfeuserregister-pi1-error {
	font-size: 12px !important;
}
.tx-srfeuserregister-pi1 .tx-srfeuserregister-pi1-error ~ input {
	background: #ffeded !important;
}
input[type="checkbox"] {
    margin-right: 5px;
}

/* MEDIAQUERIES */

@media only screen and (max-width: 1200px) {
	body.start header,
	body.zentrum header {
		width: 100%;
	}
}
@media only screen and (max-width: 990px) {
	.quicklinks li {
		width: 18%;
	}
	.sliderimage {
    	overflow: hidden;
    	position: relative;
	}
	.sliderimage img {
    	position: absolute;
    	width: auto !important;
    	height: 100%;
	}
	body.start header,
	body.zentrum header {
		width: 100%;
	}
	#container h1.csc-header-alignment-center {
		width: 100%;
		text-align: left;
	}
	body.hochschule .topbar, body.alumni .topbar, body.asta .topbar, body.studium .topbar, body.forschung .topbar, body.weiterbildung .topbar, body.zentrum .topbar, body.praxis .topbar, body.international .topbar {
		width: auto;
		background: white;
	}
	.topbar > ul {
    	justify-content: center;
		padding: 10px 0px;
    }
}
@media only screen and (max-width: 768px) {
	header { background-size: 85% auto; min-height: 200px; }
	header .toggler { display: block; position: absolute; top: 45px; right: 20px; width: 40px; height: 40px; text-align: center; font-size: 28px; cursor: pointer; }
	nav.topbar { font-size: 11px; }
	.topbar > ul > li { padding: 0 10px; }
	nav.mainbar { display: none; }
	nav.mainbar > ul { flex-wrap: wrap; }
	nav.mainbar > ul > li { width: 100%; border-bottom: 1px solid white; text-align: left; position: relative; }
	nav.mainbar > ul > li > a { padding: 10px 20px; }
	nav.mainbar > ul > li > ul.subnav { position: relative; }
	nav.mainbar > ul > li > i { display: block; position: absolute; right: 0; top: 0; padding: 10px 15px; font-size: 1.5em; cursor: pointer; background: rgba(255,255,255,0.2);}
	nav.mainbar > ul > li:hover > ul.subnav { display: none; }
	.quicklinks li { width: 30%; }
	body.start header { background-position: 20px 40px; }
}
@media only screen and (max-width: 390px) {
	.quicklinks li {
		width: 47%;
	}
	body.hochschule header,
	body.alumni header,
	body.asta header,
	body.studium header,
	body.forschung header,
	body.weiterbildung header,
	body.praxis header,
	body.international header {
		background-size: auto 80% !important;
	}
}