/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
	font-family: 'Exo 2', sans-serif;

}

.packung-reihe h3 {
	font-family: 'Exo', sans-serif;
}

.rechte-spalte {
	width: 350px;
	margin-top: 30px;
}

#back-top {
	position: fixed;
	bottom: 50px;
	right: 10px;
}

#back-top a {
	display: block;
	width: 68px;
	height: 68px;
	background: url('../img/Pfeil-nach-oben.png');
	background: url('../img/Pfeil-nach-oben.svg');
	font-size: 0px;
}

.oben30 {
	margin-top: 30px;
}

.project-dateien {
	border: 1px dotted #a5acaf;
	width: 94%;
	padding: 3% 3% 8% 3%;
}

.unter-dem-inhalt {
	padding-top: 10px;
	border-top: 1px dotted #a5acaf;
}

.zentered {
	margin: 0 auto;
}

.video-halter {
	margin: 10px 0;
	padding-top: 20px;
	border-top: 1px dotted #a5acaf;
}

.zentrum {
	text-align: center;
}

.logo {
	padding: 2% 0;
}

.logo img {
	max-width: 100%;
	height: auto;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	font-weight: 700;
	margin: 0;
}

.text h4 {
	color: #37424a;
	font-weight: 400;
	font-size: 1.1em;
}


.ganz {
	width: 100%;
}

.fleft {
	float: left;
}

.schluss {
	color: #fff;
	font-weight: 300;
	background: #c60c31;
	padding: 7px 0;
	margin-top: 3%;
}

div {
	max-width: 100%;
}

.mass {
	width: 1400px;
	margin: 0 auto;
}

.logo-haupt, .isf-logo {
	margin-top: 15px;
}

.fright {
	float: right;
}

.suchen {
	margin-top: 50px;
}

.suchen input[type="text"],
.suchen input[type="search"],
input[type="text"],
input[type="email"],
input[type="password"] {
	border: 1px solid #a5acaf;
	padding: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}



.suchen input[type="button"],
.suchen input[type="submit"] {
	display: inline-block;
	width: 35px;
	height: 35px;
	background: url('../img/Lupe.png')0 0 no-repeat;
	background: url('../img/Lupe.svg')0 0 no-repeat;
	border: none;
	font-size: 0;
}

.suchen input[type="button"]:hover,
.suchen input[type="submit"]:hover {
	background: url('../img/Lupe-oben.png')0 0 no-repeat;
	background: url('../img/Lupe-oben.svg')0 0 no-repeat;
	cursor: pointer;
}

.menu-halter {
	border-top: 1px solid #a5acaf;
	border-bottom: 1px solid #a5acaf;
	padding: 5px 0;
}

.haupt {
	padding-bottom: 15px;
}	

.fix {
	position: fixed;
}

.soziel {
	right: 0px;
	top: 200px;
	background: #f1f2f2;
	padding: 15px 20px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	box-shadow: -3px 3px 2px #818a8f;
	z-index: 2;
}

.soziel ul li a {
	display: block;
	width: 35px;
	height: 35px;
	font-size: 0px;
}

.soziel ul li {
	margin: 5px 0;
}

.soziel ul li a.tw {
	background: url('../img/tw.png')0 0 no-repeat;
	background: url('../img/tw.svg')0 0 no-repeat;
}

.soziel ul li a.yt {
	background: url('../img/yt.png')0 0 no-repeat;
	background: url('../img/yt.svg')0 0 no-repeat;
}

.soziel ul li a.ld {
	background: url('../img/ld.png')0 0 no-repeat;
	background: url('../img/ld.svg')0 0 no-repeat;
}

.soziel ul li a.tw:hover {
	background: url('../img/tw-oben.png')0 0 no-repeat;
	background: url('../img/tw-oben.svg')0 0 no-repeat;
}

.soziel ul li a.yt:hover {
	background: url('../img/yt-oben.png')0 0 no-repeat;
	background: url('../img/yt-oben.svg')0 0 no-repeat;
}

.soziel ul li a.ld:hover {
	background: url('../img/ld-oben.png')0 0 no-repeat;
	background: url('../img/ld-oben.svg')0 0 no-repeat;
}

a {
	text-decoration: none;
	color: #c60c31;
}

a:hover {
	color: #37424a;
}

.keinkugel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.reihe ul li {
	display: inline-block;
}

.bedingungen ul li {
	padding: 0 7px;
	border-right: 1px solid #ffbc3d;
}

.bedingungen {
	padding-top: 10px;
	border-top: 1px dotted #a5acaf;
}

.inhalt-halter {
	width: 945px;
	background: url('../img/HG.jpg')center center no-repeat;
	min-height: 650px;
}

.nach-datum {
	font-style: italic;
	font-weight: 300;
}

.nach-datum p {
	margin: 5px 0;
}

.nachricht-reihe, .logo-reihe, .link-reihe {
	width: 100%;
	margin: 10px 0;
	float: left;
}

.logo-reihe {
	border-bottom: 1px solid #a5acaf;
	padding: 15px 0;
}

.nachricht-reihe {
	padding-bottom: 5px;
	border-bottom: 1px dotted #a5acaf;
}

.nachricht-reihe h3, .link-reihe h4 {
	font-weight: 500;
}

.land-reihe {
	width: 33%;
	float: left;
	text-align: center;
	padding: 3% 0;
	color: #818a8f;
}

.land-reihe h3 {
	font-weight: 300;
	margin: 10px 0;
	font-size: 1.3em;
}

.landkarte {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	text-align: center;
	min-width: 310px;
}

.inhalt-block {
	width: 100%;
	float: left;
	margin: 20px 0;
}

.inhalt-halter {
	width: 945px;
	float: left;
		
}

.der-inhalt {
	color: #37424a;
	margin-top: 47px;
}

.der-inhalt img {
	max-width: 100%;
	height: auto;
}

.grosser {
	font-size: 1.2em;
}

.inhalt-block h2, .der-inhalt h1  {
	font-weight: 400;
	padding: 5px 10px;
	background: #ffbc3d;
	width: 220px;
	font-size: 1.2em;
}

.der-inhalt h1 {
	width: 45%;
}

.der-inhalt h1 {
	font-size: 1.3em;
	margin: 0;
}

.titel-linie {
	width: 330px;
	border-bottom: 1px solid #ffbc3d;
	top: 37px;
	z-index: 1;
}

.titel-linie.inhalt {
	top: 0px;
	width: 100%;
}

.rel {
	position: relative;
}

.abs {
	position: absolute;
}

.partner-reihe, .packung-reihe {
	float: left;
	width: 100%;
	margin: 20px 0;
}

.partner-logo {
	float: left;
	width: 180px;
	margin-right: 30px;
	/*display: table-cell;
	vertical-align: middle;*/
	padding-top: 35px;
}

.logo-reihe h3 p {
	margin: 0;
	font-size: 0.9em;
}

.link-reihe p {
	margin: 0;
}

.partner-logo img {
	max-width: 100%;
	height: auto;
}

.partner-info {
	width: 730px;
	float: left;
	padding-bottom: 20px;
	border-bottom: 1px dotted #a5acaf;
}

.packung-reihe, /*.der-inhalt .inhalt-block,*/
.ui-accordion-content {
	padding-bottom: 20px;
	border-bottom: 1px dotted #a5acaf;
}



.teilen {
	margin: 5px 0;
}

.teilen a {
	padding: 5px 0px 5px 30px;
	padding-left: 30px;
	background: url('../img/Erdkugel.png')left 3px no-repeat;
	background: url('../img/Erdkugel.svg')left 3px no-repeat;
	font-weight: 600;
}

.teilen a:hover {
	background: url('../img/Erdkugel-oben.png')left 3px no-repeat;
	background: url('../img/Erdkugel-oben.svg')left 3px no-repeat;
}	

.partner-reihe h3, .packung-reihe h3, .logo-reihe h3 {
	font-weight: 300;
}

.logo-reihe h3 {
	margin: 5px 0;
}

.kontakt-formular {
	width: 40%;
}

.kontakt-formular input[type="text"],
.kontakt-formular input[type="email"],
.kontakt-formular textarea {
	width: 88%;
	float: left;
	margin: 10px 0;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-style: italic;
	color: #818a8f;
	padding: 5px;
	border: 1px solid #a5acaf;
}

.kontakt-formular textarea {
	clear: both;
}

.kontakt-formular textarea {
	width: 100%;
}

.kontakt-formular h2 {
	font-weight: 300;
}

.kontakt-formular input[type="submit"],
.kontakt-formular input[type="button"],
input[type="button"], input[type="submit"]  {
	color: #fff;
	background: #c60c31;
	font-weight: 300;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 5px 20px;
	border: none;
	margin-top: 20px;
	transition: 0.3s all ease;
}


.kontakt-formular input[type="submit"]:hover,
.kontakt-formular input[type="button"]:hover,
input[type="submit"]:hover, input[type="button"]:hover {
	background: #ffbc3d;
}

.herunterladen-daten h3 {
	font-weight: 500;
	color: #c60c31;
	margin: 10px 0;
	float: left;
	width: 100%;
}

h3.ui-accordion-header,
/*.ui-accordion-header*/ {
	background: url('../img/Pfeil-rechts.png')right center no-repeat;
	background: url('../img/Pfeil-rechts.svg')right center no-repeat;
}

h3.ui-accordion-header-active,
/*.ui-accordion-header-active*/  {
	background: url('../img/Pfeil-unten.png')right center no-repeat;
	background: url('../img/Pfeil-unten.svg')right center no-repeat;

}

.herunterladen-daten > div a {
	color: #5e6a71;
}

.herunterladen-daten > div a:hover {
	color: #c60c31;
}

.herunterladen-daten div {
	margin: 5px 0;
	width: 100%;
	float: left;
}

.nichtbewegen p {
	margin: 0;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

ul li.leaf {

	list-style: none;
}

li.expanded, li.collapsed, li.leaf {
    padding: 0;
    margin: 0;
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media only screen and (max-width: 1366px) {
  /* Style adjustments for viewports that meet the condition */


	.mass {
	    width: 100%;
	}
	
	.logo-haupt {
	    margin-left: 20px;
	}
	
	.inhalt-halter {
	    width: 935px;
	    margin-left: 20px;
	}
	
	.partner-info {
	    width: 720px;
	}

}

@media only screen and (max-width: 1280px) {
  /* Style adjustments for viewports that meet the condition */
  
  .sf-menu a {
      padding: .75em 1.2em;
  }
  
  .inhalt-halter {
      width: 880px;
  }
  
  .partner-info {
      width: 650px;
  }

}

@media only screen and (max-width: 1024px) {
  /* Style adjustments for viewports that meet the condition */
  
  .sf-menu a {
      padding: .75em 0.9em;
	  font-size: 1.1em;
  }
  
  .sf-sub-indicator {
      right: 0px;
  }
  
  .inhalt-halter {
      width: 98%;
      margin-left: 1%;
  }
  
  .rechte-spalte {
      width: 98%;
      margin-left: 1%;
	  float: left;
  }
	
  .partner-info {
      width: 780px;
  }
  
  .sf-menu li:hover > ul,
  .sf-menu li.sfHover > ul {
    top: 50px;
  }
  

}

@media only screen and (max-width: 768px) {
	
	.soziel {
		display: none;
	}
	
	.soziel.unten {
		display: block;
		float: left;
		width: 100%;
		position: inherit;
	    background: none;
	    padding: 15px 20px;
	    box-shadow: none;
		text-align: center;
		}

		.soziel.unten ul.menu {
			margin: 0;
			text-align: center;
			padding: 0;
		}
	
	.soziel.unten ul li {
		display: inline-block;
		text-align: center;
	}
	
	.landkarte img {
		max-width: 100%;
		height: auto;
	}
	
	.navigation  {
		height: 35px;
	}
	
	.sf-accordion-toggle a {
		width: 40px;
		height: 35px;
		font-size: 0px;
		display: block;
		background: url('../img/Menu.png')center center no-repeat;
		background: url('../img/Menu.svg')center center no-repeat;
		z-index: 9999;
	}
	
	.sf-accordion-toggle a:hover {
		background: url('../img/Menu-oben.png')center center no-repeat;
		background: url('../img/Menu-oben.svg')center center no-repeat;
	}
	
	#superfish-1-accordion {
		background: #fff;
		box-shadow: 0px 3px 3px #a5acaf;
	}
	
	.sf-accordion-toggle li:hover {
		background: #d1d4d3;
	}
	
	.sf-accordion-toggle {
		position: absolute;
		top: 138px;
		left: 25px;
	}
	
	ul.sf-menu.sf-accordion.sf-expanded {
	    top: 60px !important;
	}
	
	.suchen {
	    margin-top: 30px;
	}
	
	.kontakt-formular {
	    width: 60%;
	}
	
	.facebook, .addtoany {
		width: 100%;
		text-align: center;
		margin: 10px 0;
	}
}

@media only screen and (max-width: 480px) {
	
	.sf-accordion-toggle {
		top: 128px;
	}
	
	.land-reihe {
	    width: 100%;
	}
	
	.landkarte {
	    min-width: 460px;
	}
	
	.suchen {
	    margin-top: 0px;
	    position: absolute;
	    top: 113px;
	    right: 10px;
		z-index: 9999;
	}
	
	#back-top {
		display: none !important;
	}
	
	.kontakt-formular {
	    width: 98%;
	}
	
	#user-login input {
		max-width: 96%;
	}
	
}

@media only screen and (max-width: 375px) {
	
	.landkarte {
	    min-width: 360px;
	}
	
	.bedingungen ul.menu {
		text-align: center;
	}
	
	.bedingungen ul.menu li {
		display: block;
		margin: 10px 0;
		padding: 0;
		border-right: 0;
	}
}

@media only screen and (max-width: 360px) {
	
	.landkarte {
	    min-width: 345px;
	}
}

@media only screen and (max-width: 320px) {
	
	.logo-haupt {
		width: 160px;
	}
	
	.logo-haupt img {
		max-width: 100%;
		height: auto !important;
	}
	
	.landkarte {
	    min-width: 300px;
	}
}		

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

