/*
Theme Name: MSU-Theme
Theme URI: http://www.mannheimer-schriftlabor.de
Description: A custom theme for MSU
Author: Constantin Weber, links vom Punkt.
Author URI: http://www.linksvompunkt.de
Version: 1.0

*/

/*
///////////////////The Reset/////////////////////
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	font: inherit;
	font-size: 100%;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body, html {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	line-height: 1;
	-webkit-text-size-adjust: 100%;
}

main {
  display: block;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-spacing: 0;
	border-collapse: collapse;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/*
///////////////////Typography/////////////////////
*/

/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/lato-v17-latin-regular.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/lato-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/lato-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/lato-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/lato-v17-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v17-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/lato-v17-latin-700.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/lato-v17-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/lato-v17-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/lato-v17-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/lato-v17-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}


:root {
	--text-font: "Times New Roman", Times, serif;
	--bold-font: 'Lato', sans-serif;

	--primary-red: #FE0F00;
  --secondary-blue: #99AFDD;
	--tertiary-black: black;
	--link-blue: #4966A3;
	--background-grey: #F3F3F3;
}

p {
  font-family: var(--text-font);
	font-size: 1.2rem;
	font-weight: 300;
	line-height: 1.5;
}

#logo p {
	font-family: var(--text-font);
	font-size: 12px;
	color: black;
}

#banner p {
  margin: 30px 0 0 0;
	font-size: 1.4rem;
	line-height: 1.2;
	font-weight: 600;
}

.preview-box p {
	font-family: var(--text-font);
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--tertiary-black);
}

blockquote p {
	display: block;
	width: 80%;
	margin: 0 auto;
	font-size: 1.4rem !important;
	font-weight: 600;
}

#kontakt .preview-box p {
	margin: 10px 0 0 0;
	font-size: 1.2rem;
}

#kontakt p.adresse {
	margin-top: -2%;
	font-size: 1.1rem;
}

#kontakt .article-text p {
	font-size: 1.2rem;
	line-height: 1.2;
}

b, strong {
  	font-weight: 700;
}

h1 {
	font-family: var(--bold-font);
	font-size: 2.8rem;
	font-weight: 600;
}

#banner h2 {
	margin: 15px 0;
  font-size: 1.7rem;
}

.preview-box h1,
.preview-box h2 {
	display: inline-block;
	position: relative;
	margin: 5% 0 10% 0;
	font-family: var(--bold-font);
	font-size: 2.2rem;
	font-weight: 600;
	/*letter-spacing: 2px;*/
	border-bottom: 7px solid var(--secondary-blue);
}

h3 {
	margin: 70px 0 50px 0;
  font-family: var(--bold-font);
  color: var(--tertiary-black);
	font-size: 2rem;
	font-weight: 600;
	text-align: center;
}

h4 {
	margin: 0 15% -2% 15%;
	font-family: var(--bold-font);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.5;
}

a {
	color: var(--link-blue);
	text-decoration: none;
}

a:hover {
	color: black;
	text-decoration: 3px underline;
}

#downloads a {
	font-size: 1.3rem;
}

p.kontaktname {
	display: block;
	margin: 3% 15% -20% 15%;
	font-family: var(--text-font);
	font-size: 1.2rem;
	font-weight: 600;
}

.article-text li {
	font-family: var(--text-font);
	font-size: 1.2rem;
	font-weight: 300;
	line-height: 1.36;
}

.datenschutz li {
	font-family: var(--text-font);
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.36;
}

table {
	font-family: var(--text-font);
	font-size: 1.3rem;
	font-weight: 300;
	line-height: 1.5;
}

/*
///////////////////Elements/////////////////////
*/

body, html {
	width: 100%;
	height: 100%;
	scroll-behavior: smooth;
}

header {
	position: fixed;
	top: 0px;
	height: 90px;
	width: 100%;
	background: white;
	box-shadow: 0px -10px 12px 7px rgba(0,0,0,0.25);
	z-index: 100;
}

.header-content {
	width: 80%;
	margin: 0 auto;
}

.content {
	position: relative;
	width: 80%;
	max-width: 1080px;
	height: 100%;
	margin: 0 auto;
	border: none;
}

#logo {
	margin: 8px 0 0 0;
	width: 250px;
	float: left;
}

#logo a {
	display: block;
	text-decoration: none;
}

#logo img {
	width: 50%;
	height: auto;
}

.nav-circle {
	position: fixed;
	bottom: 5%;
	right: 5%;
	height: 60px;
	width: 60px;
	border-radius: 50%;
	background: var(--secondary-blue);
	box-shadow: 4px 3px 8px 0px rgba(0,0,0,0.18);
	z-index: 500;
	opacity: 0;
	transition: all 0.6s ease;
}

.show {
	opacity: 1;
}

.arrow {
	border: solid white;
	border-width: 0 5px 5px 0;
	display: inline-block;
	padding: 3px;
	height: 17px;
	width: 17px;
	margin: 21px 0 0 17px;
}

.up {
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
}

a.nav-circle:hover {
	opacity: 0.8;
	box-shadow: 4px 3px 18px 0px rgba(0,0,0,0.18);
}

#main-content {
	position: relative;
	min-height: 100%;
}

#banner {
	position: relative;
	height: 85vh;
	background: rgba(153, 175, 221, 1);
 	background: linear-gradient(317deg, rgba(191,208,244,1) 0%, rgba(153,175,221,1) 40%);
}

#banner-content {
	position: absolute;
	left: 0;
	right: 0;
	top: 30%;
	margin: 4vh auto 0 auto;
	text-align: center;
}

#banner-content img {
	margin: 30px 0;
	width: 200px;
	height: auto;
}

#spacer {
	height: 15vh;
	background: white;
}

img.dot-divider {
	display: inline-block;
	margin: 0 7px 0 12px !important;
	padding: 0 0 4px 0;
}

article {
  position: relative;
	padding: 170px 0 0 0;
  clear: both;
}

.preview-box {
	display: flex;
	width: 100%;
	max-height: 500px;
	margin: 0 0 70px 0;
}

.preview-box-title {
	width: 33%;
	margin: 0 1% 0 0;
	padding: 20px;
	background: var(--background-grey);
}

.preview-box-image {
	width: 66%;
}

.preview-box-image img {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	object-fit: cover;
}

.article-text .wp-block-pullquote {
	width: 60%;
	margin: 0 auto;
}

.article-text>p {
	margin: 3% 15%;
}

#kontakt h4::before {
	display: inline-block;
	content: "\25A0";
	color: var(--primary-red);
	font-weight: bold;
	width: 2em;
	margin-left: -2em;
}

.article-text ul,
ol {
	list-style-type: none;
	padding-left: 0;
	margin: 30px 25%;
}

.article-text ul li::before {
	display: inline-block;
	content: "\25A0";
	color: var(--primary-red);
	font-weight: bold;
	width: 2em;
	margin-left: -2em;
}

.datenschutz ol {
	list-style: decimal;
}

.datenschutz ul li,
ol li {
  padding: 5px 0;
}

.datenschutz .preview-box-title,
.impressum .preview-box-title  {
	background: white;
}

.datenschutz .preview-box-title p,
.impressum .preview-box-title p {
	display: none;
}

#downloads .preview-box-title a {
	display: inline-block;
	width: 100%;
}

#downloads .preview-box-title a:first-child {
	margin: 30px 0 0 0;
}

footer {
	position: relative;
	height: 100px;
	width: 100%;
	background-color: var(--background-grey);
}

/*
///////////////////Accordion/////////////////////
*/

.accordion {
	margin: 0 auto 10% auto;
	width: 70%;
	height: auto;
}

.accordion input {
	display: none;
}

.box {
	position: relative;
	background: white;
	height: 80px;
	overflow: hidden;
	transition: all .8s ease-in-out;
}

.box::before {
	content: '';
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	pointer-events: none;
}

.box-title:hover {
	color: var(--secondary-blue);
}

.box-link {
	width: 300px;
	float: right;
}

.box-title {
	width: calc(100% - 40px);
	height: 80px;
	line-height: 80px;
	padding: 0 20px;
	display: inline-block;
	font-family: var(--text-font);
	font-size: 1.3rem;
	font-weight: 400;
	cursor: pointer;
	-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;
}

.box-link:hover>img{
	opacity: 0.7;
}

.box-link:hover + .box-title{
	color: green !important;
}

.box-title img {
	width: 270px;
	height: auto;
	float: right;
}

.box-content {
	width: calc(100% - 100px);
	padding: 30px 50px;
	font-family: var(--text-font);
	font-size: 1.2rem;
	font-weight: 300;
	line-height: 1.5;
	display: none;
}

.box-close {
	position: absolute;
	height: 80px;
	width: 40%;
	top: 0;
	left: 0;
	cursor: pointer;
	display: none;
}

input:checked + .box {
	height: 350px;
}

input:checked + .box .box-title {
	border-bottom: 4px solid var(--secondary-blue);
}

input:checked + .box .box-content,
input:checked + .box .box-close {
	display: inline-block;
}

.arrows section .box-title {
	padding-left: 44px;
	width: calc(100% - 64px);
}

.arrows section .box-title:before {
	position: absolute;
	display: block;
	content: '\203a';
	font-size: 18pt;
	left: 20px;
	top: -2px;
	transition: transform .15s ease-in-out;
	color: rgba(0,0,0,.54);
}

input:checked + section.box .box-title:before {
	transform: rotate(90deg);
}

/*
///////////////////Menu/////////////////////
*/

.navigation {
	margin: 57px 0 0 0;
	float: right;
	transition: all 0.5s ease-out;
}

.navigation li {
	float: left;
	list-style-type: none;
}

.navigation a {
	margin: 0 0 0 20px;
	font-family: var(--bold-font);
	color: black;
	font-weight: 400;
	font-size: 0.8rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
}

.navigation a:hover {
	color: var(--secondary-blue);
	text-decoration: 3px underline;
}

.footer-navigation {
	width: 100%;
}

.footer-navigation ul{
	display: flex;
	margin: 0 auto;
	padding: 40px 0 0 0;
	justify-content: center;
}

.footer-navigation a {
	display: inline-block;
	margin: 0 10px;
	font-family: var(--bold-font);
	color: black;
	font-weight: 400;
	font-size: 0.8rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
}

.footer-navigation a:hover {
	color: var(--secondary-blue);
	text-decoration: 3px underline;
}

/*
///////////////////Hamburger/////////////////////
*/

#hamburger {
	display: none;
	position: absolute;
	height: 40px;
	width: 40px;
	top: 40px;
	right: 50px;
	transition: all 0.3s ease-out;
	z-index: 800;
}

#hamburger span {
	display: block;
	position: absolute;
	left: 0px;
	width: 100%;
	height: 6px;
	background: black;
	border-radius: 9px;
	opacity: 1;
	transition: .25s ease-in-out;
	z-index: 300;
}

#hamburger span:nth-child(1) {
	top: 0px;
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center;
}

#hamburger span:nth-child(2) {
	top: 10px;
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center;
}

#hamburger span:nth-child(3) {
	top: 20px;
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center;
}

#hamburger.open span:nth-child(1) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	top: -9px;
	left: 8px;
	background: var(--secondary-blue);
}

#hamburger.open span:nth-child(2) {
	width: 0%;
	opacity: 0;
}

#hamburger.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top: 19px;
	left: 8px;
	background: var(--secondary-blue);
}
