/*!
Theme Name: drv
Theme URI: http://underscores.me/
Author: Christian Kartnig
Author URI: http://underscores.me/
Description: Custom Theme Deutscher Romanistenverband
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: drv
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

drv is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Alignments
--------------------------------------------- */
/* Custom Styles
--------------------------------------------- */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Source Serif Pro", serif;
}

h1, h2 {
  font-weight: 600;
}

p {
  margin: 0 0 0.8em;
}

code {
  font-family: "Source Serif Pro";
}

main {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.home main, .fjr-home main {
  background: transparent;
}

.home .entry-title {
  display: none;
}

main .content {
  padding: 25px 35px;
  flex: 1;
  background-color: #ffffff;
}
main .content h1 {
  line-height: 1.2em;
}
main .content h2 {
  font-size: 1.4em;
  margin: 1em 0 0.6em;
  line-height: 1.3em;
}
main .content h3 {
  font-size: 1em;
}
main .content a {
  color: #222222;
}
main .content hr {
  border: none;
  border-top: 1px solid #f07d00;
  margin: 1em 0;
}

footer {
  background: #ffffff;
}

.home footer, .fjr-home footer {
  background: transparent;
}

footer .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 25px 35px;
  background-color: #ffffff;
  color: #b3b2b2;
  font-size: 14px;
}
footer .content div {
  margin-bottom: 10px;
}
footer .content a {
  color: #b3b2b2;
  margin-right: 15px;
}
footer .content #menu-footer-menue {
  margin: 0;
  padding: 0;
}
footer .content #menu-footer-menue li {
  display: inline;
  list-style: none;
}
footer .content img.romanistik {
  height: 17px;
  margin-bottom: -6px;
  margin-left: 5px;
}

@media screen and (min-width: 768px) {
  body {
    background: linear-gradient(90deg, #f07d00 50%, #832569 0%);
    font-size: 20px;
  }
  body.fjr {
    background: linear-gradient(90deg, #832569 50%, #b786ad 0%);
  }
  main .content {
    width: 90%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 52px 38px;
  }
  main .content .entry-content {
    line-height: 27px;
  }
  footer .content {
    margin: 0 auto;
    width: 90%;
    max-width: 1024px;
    font-size: 15px;
    padding: 52px 38px;
  }
}
header {
  flex-shrink: 0;
  background: #ffffff;
}
header .content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 auto;
  position: relative;
  padding: calc(25px - 5px) calc(35px - 5px);
}
header .content .logo {
  width: 160px;
}
header .content .toggleMenu {
  width: 43px;
}

.toggleMenu, .toggleSubMenu {
  display: none;
}

nav {
  display: none;
  position: absolute;
  left: 0;
  top: 90px;
}

@media screen and (max-width: 1023px) {
  .toggleMenu {
    display: block;
  }
  nav.open {
    display: block;
    width: 100%;
    z-index: 1;
    background: #ffffff;
  }
  nav.open ul {
    padding: 0;
    list-style: none;
  }
  nav.open ul li {
    padding: 5px 35px;
    background: #832569;
    border-bottom: 1px solid #ffffff;
  }
  nav.open ul li a, nav.open ul li button {
    text-decoration: none;
    color: #ffffff;
  }
  nav.open ul .toggleSubMenu {
    display: inline-block;
    width: 22px;
    height: 20px;
    float: right;
    background: transparent url("img/arrow-down.svg") no-repeat center center;
    background-size: 10px;
    border: none;
  }
  nav.open ul .toggleSubMenu:focus {
    outline: none;
  }
  nav.open ul ul {
    display: none;
  }
  nav.open ul ul.open {
    margin-top: 5px;
    display: block;
  }
  nav.open ul ul.open li {
    padding: 5px 0;
    border-bottom: 0;
    border-top: 1px solid #ffffff;
  }
}
@media screen and (min-width: 768px) {
  header .content {
    max-width: 1566px;
    padding: 12px 5% 28px;
  }
  header .content .logo {
    width: auto;
  }
  header .content .toggleMenu {
    width: auto;
    bottom: 11px;
  }
  nav {
    top: 130px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  nav > ul {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 768px) {
  nav.open ul .toggleSubMenu {
    width: 25px;
    height: 24px;
    background-size: 13px;
  }
}
@media screen and (min-width: 1024px) {
  nav {
    display: block;
    position: relative;
    margin-bottom: -27px;
    width: auto;
    left: auto;
    top: auto;
  }
  nav > ul {
    padding: 0;
    /* highlight current page and parent pages in purple */
    /* Hide Dropdowns by Default */
    /* Display Dropdowns on Hover */
    /* First Tier Dropdown */
    /* Second, Third and more Tiers	*/
  }
  nav > ul > li {
    display: inline-block;
    position: relative;
    padding: 0 10px 2px 0;
    font-weight: 600;
    font-size: 16px;
  }
  nav > ul > li a {
    text-decoration: none;
    color: #222222;
  }
  nav > ul > li a:hover {
    color: #832569;
  }
  nav > ul > li:last-child {
    padding-right: 0;
  }
  nav > ul .current_page_item > a, nav > ul .current-page-ancestor > a {
    color: #832569 !important;
    font-weight: 600 !important;
  }
  nav > ul ul {
    display: none;
    position: absolute;
    top: 22px; /* the height of the main nav */
    right: 8px;
    z-index: 1;
    background: #ffffff;
    list-style-type: none;
    text-align: right;
    padding: 0;
  }
  nav > ul li:hover > ul {
    display: inherit;
  }
  nav > ul li:hover > ul li > a {
    display: block;
    color: #222222;
    padding: 2px 10px 0;
    font-size: 16px;
    font-weight: 400;
  }
  nav > ul li:hover > ul li:last-child > a {
    padding-bottom: 7px;
  }
  nav > ul li:hover > ul li:hover > a {
    background: #fde6ce;
  }
  nav > ul ul li {
    float: none;
    display: list-item;
    position: relative;
  }
  nav > ul ul ul li {
    position: relative;
    top: -60px;
    left: 170px;
  }
}
@media screen and (min-width: 1100px) {
  nav ul li, nav ul li:hover > ul li > a {
    font-size: 18px;
  }
  .banner {
    height: 280px;
  }
  .banner h1 {
    bottom: 42px;
    font-size: 55px;
    line-height: 60px;
  }
}
.banner {
  position: relative;
  min-height: 80px;
  width: 100%;
  background: #f07d00 url("img/bg_banner.svg") no-repeat 100.1% bottom;
  background-size: auto 100%;
  color: #ffffff;
  flex-shrink: 0;
}
.banner strong {
  display: block;
  margin: 0;
  font-size: 23px;
  line-height: 30px;
  padding: calc(25px - 10px) 35px calc(25px - 15px);
}

.fjr .banner {
  background: #832569 url("img/bg_banner_fjr.svg") no-repeat 100.1% bottom;
}

@media screen and (min-width: 768px) {
  .banner {
    height: 204px;
    width: 100%;
    margin: 0 auto;
    padding: calc(52px + 8px) calc((100% - 90%) / 2);
  }
  .banner strong {
    position: absolute;
    bottom: 30px;
    padding: 0 38px;
    font-size: 40px;
    line-height: 44px;
  }
}
@media screen and (min-width: 1024px) {
  .banner {
    height: 280px;
  }
  .banner strong {
    bottom: 50px;
    font-size: 55px;
    line-height: 60px;
  }
}
@media screen and (min-width: 1185px) {
  .banner {
    width: calc(90% + 140px);
    max-width: calc(1024px + 140px);
    padding: calc(52px + 8px) 70px;
  }
}
.teasers {
  display: block;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 66px;
}
.teasers .teaser {
  flex: 0 1 calc(50% - 18px);
  min-height: 180px;
  padding: 10px 30px;
  background: #fde6ce url("img/bg_box.svg") no-repeat left top;
  margin-bottom: 44px;
}
.teasers .teaser h2 {
  margin: 16px 0 10px;
  font-size: 1.5em;
}
.teasers .teaser p.more {
  margin: 16px 0 13px;
  font-size: 15px;
}
.teasers .teaser p.more a {
  text-decoration: none;
  color: #832569;
}

.fjr .teasers .teaser {
  background: rgba(183, 134, 173, 0.3294117647) url("img/bg_box_fjr.svg") no-repeat left top;
}

@media screen and (min-width: 700px) {
  main .content .teasers {
    display: flex;
  }
}
@media screen and (min-width: 768px) {
  .teasers .teaser {
    min-height: 228px;
  }
  .teasers .teaser h2 {
    margin-top: 24px;
  }
}
ul.persons {
  padding: 0;
  list-style: none;
}
ul.persons li {
  display: flex;
  padding: 34px 0;
  border-bottom: 1px solid #f07d00;
}
ul.persons li .image {
  margin: 4px 22px 10px 0;
  width: 128px;
  flex-shrink: 0;
}
ul.persons li .image img {
  width: 100%;
  height: auto;
}
ul.persons li .text h2 {
  margin: 0;
}
ul.persons li .text .name {
  margin-top: 15px;
}
ul.persons li .text .name strong {
  font-weight: 700;
}

@media screen and (max-width: 479px) {
  ul.persons li {
    display: block;
  }
  ul.persons li .text h2 {
    font-size: 22px;
    line-height: 30px;
  }
}
@media screen and (max-width: 767px) {
  ul.persons {
    margin: 0;
  }
}
.form-group {
  display: flex;
  flex-flow: row wrap;
  margin: 0 -1rem 1rem -1rem;
}

.form-group.first label {
  margin-bottom: 0.3em;
}

.form-group + p, .form-group-korrespondenz {
  margin-top: 1.4em;
}

.label, .input {
  flex: 0 1 100%;
  padding: 0 1rem;
}

input[type=text], input[type=email], input[type=tel] {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #333333;
  border-radius: 0;
}

input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus {
  background: #eeeeee;
  outline-width: 0;
}

.wpcf7-radio .wpcf7-list-item {
  margin: 0 1em 0 0;
}

#zahlungsform .wpcf7-list-item.last {
  margin: 0.8em 0 2em;
}
#zahlungsform .wpcf7-list-item.last input[type=text] {
  background: transparent;
  margin-top: 0.5em;
}
#zahlungsform .wpcf7-list-item.last input[type=text]:focus {
  background: #eeeeee;
}

.mitgliedsbeitrag-small {
  font-size: 0.8em;
  margin: 0.8em 0 1.8em;
  line-height: 1.4em;
}

.mitgliedsbeitrag {
  margin: 1.8em 0 0;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

input[type=submit] {
  padding: 0.4em 0.5em 0.3em;
  margin-top: 1em;
  border: none;
  border-radius: 0;
  background: #f07d00;
  color: #ffffff;
}
input[type=submit]:focus {
  outline: none;
}

div.wpcf7 .wpcf7-submit:disabled {
  opacity: 0.5;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #f07d00;
  margin: 2em 0;
  padding: 0.3em 0.4em 0.2em;
}

.wpcf7-not-valid-tip {
  color: #f07d00;
  margin-top: 0.2em;
}

@media (max-width: 575px) {
  label {
    margin-bottom: 0.3em;
  }
}
@media (min-width: 576px) {
  .label {
    flex: 0 0 30%;
    max-width: 30%;
  }
  .input {
    flex: 0 0 70%;
    max-width: 70%;
  }
  .offset {
    margin-left: 30%;
  }
}
input[type=text], input[type=email], input[type=tel] {
  display: block;
  width: 100%;
}

label,
select {
  display: block;
  width: 100%;
  max-width: 100%;
}

.zp-List {
  margin-top: 2em;
}

.csl-bib-body {
  text-indent: 0 !important;
  padding-left: 0 !important;
  margin-bottom: 0.8em;
}
.csl-bib-body i {
  font-style: normal;
}

/*# sourceMappingURL=style.css.map */
