/**
 * akademie.css
 * Contains all rules common for the Academy-Network of Frühlingsakademie, Psychologie-Akademie, ...
 **/

/* Common elements */

img {
  max-width: 100%;
}

body {
  position: relative;
}

a {
  /* color: var(--color-primary); */
  font-weight: bold;
  color: #222;
  transition: color 200ms;
}

a:hover {
  color: #000;
}

/* Broad layout */

main > section {
  padding: 14px 0 14px 0;
  text-align: center;
}

main > section:nth-of-type(2n+1) {
  background-color: #f7f7f7;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

main > section:nth-of-type(2n) {
  background-color: #fff;
}

.section-heading {
  background: var(--color-primary);
  color: #000000;
	letter-spacing: -1px;
  padding: 5px 10px;
  text-transform: uppercase;
}

/* Navbar */

#navbar {
  background: var(--color-secondary);
}

#navbar .navbar-brand {
	padding: 0;
  height: 40px;
}

#navbar .nav-link {
  color: #fff;
}

#navbar .nav-link.active,
#navbar .nav-link:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

#navbar .navbar-img {
  height: 40px;
}

/* Jumbotron */

#header {
  padding-top: 56px;

  max-height: 100vh;
	position: relative;
}

/* background to be specified in specific css file */
.header-picture {
  background-size: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.header-logo {
  max-height: 150px;
}

.header-text {
  padding: 20px 0;
  position: relative;
	text-align: center;
  width: 100%;
}

.header-text > .container * + * {
  margin-top: 72px;
}

#dateInfo {
  color: #ffffff;
  font-size: 22pt;
  display: block;
  margin-bottom: 28px;
  text-shadow: 1px 1px 5px black;
}

#applyButton {
  padding: 14px;
  text-align: center;
  color: #ffffff;
  background-color: var(--color-primary);
  text-decoration: none;
  transition: color 200ms;
  transition: background-color 200ms linear;
}

#applyButton:hover {
  color: var(--color-primary);
  background-color: #fff;
}

/* #schedule */

/* .schedule-list is assigned to a ul that contains li > span as children */
.schedule-list {
  list-style: none;
	padding: 0;
  text-align: center;
}

.schedule-list li span {
  border-radius: 20px;
  display: block;
  margin: 3px 0;
  padding: 2px 2px;
}

.schedule-list li:nth-of-type(2n) span {
  background: var(--color-primary);
  color: #000;
}

.schedule-list li:nth-of-type(2n+1) span {
  background: var(--color-secondary);
  color: #fff;
}


/* #application */

.application-form {
  background: #fff;
  padding: 14px;
	text-align: left;
}

.application-form .form-group {
  padding-top: 12px;
}

#submitButton {
  background: var(--color-primary);
  color: #000000;
}

#ajaxLoader {
  display: none;
  height: auto;
  width: 30px;
}

#applicationSuccess {
  display: none;
}

#applicationError {
  display: none;
}

/* #disclaimer */

#disclaimer {
	text-align: center;
}

.info {
	font-size: .75rem;
	padding: 4px 0;
}

.info > span {
	display: block;
	padding: 4px 0;
}

.info-heading {
	font-weight: 700;
}

/* Footer */

footer {
  background: var(--color-secondary);
  padding: 28px 0 28px 0;
}

footer a {
  color: #ccc;
}

footer a:hover,
footer p,
.footer-legal span {
  color: #fff;
}

footer .social {
  padding-bottom: 16px;
}

.social a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color .5s;
}

.social-link:hover {
  color: #fff;
}

.social-link .fa-inverse {
  color: #fff;
  transition: color .5s;
}

.social a:hover .fa-inverse {
  color: #444;
}

/* Media Queries */

/* Small devices */
@media (min-width: 576px) {

}

/* Medium devices */
@media (min-width: 768px) {
	/* Full screen header on bigger screens */
	header {
		height: 100vh;
	}
	.header-logo {
	}
	.header-text {
		top: 100px;
	}
	.section-heading {
		box-shadow: 5px 5px 5px 0px #d2d2d2;
		display: inline-block;
	}
	.schedule-list > li > span {
		border-radius: 20px;
		display: inline-block;
		margin: 4px 0;
		padding: 3px 8px;
	}
}

/* Large devices */
@media (min-width: 992px) {

}
