/* ------------------------ */
#page-wrapper {
	max-width:1680px;
	margin: auto;
   min-height: 600px;
}
.site-footer__bottom {
	border:none;
}
.layout-container {max-width: 100%;}
.sidebar .section {padding: 0;}

/* header */

div.region-header,
div.region-primary-menu {
	margin: 0;
	padding: 0 15px;
}

.site-branding__text {
    padding: 0;
    margin-bottom: 0.5em;
}

div.site-branding__name a {
	font-variant: small-caps;
	font-weight: 800;
	text-decoration: none;
	line-height: 1em;
	font-size: 34px;
}

div.region.region-secondary-menu
{float: right;}

/* footer */
.site-footer
{
	padding: 0;
}
.site-footer .content a,
.site-footer .content a.is-active,
div.node--type-veranstaltung h2 a
{
	color: #8a5014;
}
.site-footer .content a:hover,
div.node--type-veranstaltung h2 a:hover
{
	color:#be6a13
}
/** Bilder **/

/* Besonders empfohlen
   Inhaltsverzeichnis lang
 */
span.hervorgehoben {
	display: block;
    font-size: 1.5em;
    color: #e50202;
    float: right;
    cursor: help;
    line-height: 1;
    padding: 0 0.2em;
}
div.leseicon
 {
    float: right;
	 width: 2.3em;
    margin: 0 0 0 0.5em;
}
div.seitenzahl
{
	display: inline-block;
	float: right;
	margin-left:1em;
	width: 4em;
}
ul.zeitschrift-inhalt li 
{
	list-style: none;
	padding: 0;	
}
#content ul.zeitschrift-inhalt 
{
	padding: 0;
	margin: 0;	
}
div.view-zeitschrift-inhalt
{
	margin: 1.5em 2em 1.5em 0;
}

/* Bücher */


#content article.node--type-zeitschrift section.group-left img
/* #content div.field--name-field-titelblatt a img */
{
    border: 1px solid rgb(223,220,217);
}

/** Formulare **/

/* Formular Nachschlagen 
div.form-item-nachschlagen 
*/
form#views-exposed-form-suche-nachschlagen-nachschlagen div.form-item-nachschlagen,
form#views-exposed-form-suche-nachschlagen-nachschlagen div.form-item-nachschlagen input#edit-nachschlagen
{
	width: 100%;
}
form#views-exposed-form-taxonomy-term-page-1 div#edit-actions
{
	clear: none;
}
form#views-exposed-form-taxonomy-term-page-1 div#edit-actions input#edit-submit-taxonomy-term
{
	margin-top:2.2em;
}
/**  Sidebar & Block **/

.sidebar .block
{
	margin: 0 15px;
	padding: 0;
}
.sidebar .block,
.sidebar .block .content
{
	line-height: 1.3rem;
	border: none;
	font-size: 1rem;
}
#block-bartik-de-hierarchicaltaxonomymenu,
#block-bartik-de-hierarchicaltaxonomymenu-2
{
	padding: 0 0.5rem;
}
.sidebar article.node 
{
	padding:0;
}



/* Pager */

#content nav.pager ul.pager__items {
	text-align: center;
}

/* Facetten */

div.block-facets-block
{
	background-color: #ebebeb;
}



/* Facetten der Suche und Kataloge beim Nachschlagen */

#block-artikeltyp,
#block-bartik-de-hierarchicaltaxonomymenu,
#block-hierarchicaltaxonomymenu-3,
#block-systematischerkatalog,
#block-landerabkommen,
#block-publikation
{
	background-color: #ebebeb;
	border-radius: 8px;
	margin-top: 0.5em;
	padding:0.3em;
}
#block-artikeltyp::after,
#block-systematischerkatalog::after,
#block-landerabkommen::after,
#block-publikation::after
{
	content:"Suchergebnisse können hier eingeschränkt werden.";
}
div.facets-widget-checkbox,
#block-bartik-de-hierarchicaltaxonomymenu div.content,
#block-bartik-de-hierarchicaltaxonomymenu-2 div.content
{
	max-height: 20em;
	overflow-y: auto;
}
#block-views-block-publikationen-block-2 div.content
{
	max-height: 35em;
	overflow-y: auto;
}
span.facet-item__value,
span.facet-item__count
{
	color: #505050;
	font-weight: normal;
	font-style: normal;
	
}
li.facet-item
{
	list-style: none;
}
input.facets-checkbox
{
	float: left;
	margin-right: 0.5em;
}


/* Zebra-Look für Listen */
div.row-dossier:nth-child(odd),
div.field--name-field-inhaltsreferenz-allgemein>div.field__item:nth-child(odd),
#content ul.zeitschrift-inhalt li:nth-child(odd),
.view-veranstaltungen div.views-row:nth-child(odd),
.view-id-redaktion div.views-row:nth-child(odd),
.region-sidebar-first div.views-row:nth-child(odd),
.view-tondokumente div.views-row:nth-child(odd),
.view-display-id-empfehlungen div.views-row:nth-child(odd),
.view-nachschlagen div.views-row:nth-child(odd),
.view-suche-volltext div.views-row:nth-child(odd),
.view-taxonomy-term div.views-row:nth-child(odd)
{
	background-color: #f2f2f2;	
	border-radius: 8px;
	border: thin solid #f2f2f2;
	margin: 0.3em 0;
	padding: 0.3em;
}
div.row-dossier:nth-child(even),
div.field--name-field-inhaltsreferenz-allgemein>div.field__item:nth-child(even),
#content ul.zeitschrift-inhalt li:nth-child(even),
.view-veranstaltungen div.views-row:nth-child(even),
.view-id-redaktion div.views-row:nth-child(odd),
.region-sidebar-first div.views-row:nth-child(even),
.view-tondokumente div.views-row:nth-child(even),
.view-display-id-empfehlungen div.views-row:nth-child(even),
.view-nachschlagen div.views-row:nth-child(even),
.view-suche-volltext div.views-row:nth-child(even),
.view-taxonomy-term div.views-row:nth-child(even)
{
	border-radius: 8px;
	border: thin solid #f2f2f2;
	margin: 0.3em 0;
	padding: 0.3em;
}

/* Nodes allgemein */

.node--view-mode-teaser {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;

}


/* Abstände und Layout bei Listen */
div.node--view-mode-teaser div.node--type-zeitschrift,
div.node--view-mode-teaser div.node--type-buch
{
float: left;
}
div.node--view-mode-teaser div.node--type-zeitschrift p.heft-referenz,
div.node--type-buch p.buch-referenz
{
	display: none;
}

div.node--view-mode-teaser div.node--type-zeitschrift a img,
div.node--view-mode-teaser  div.node--type-buch a img
{
	display: inline;
	max-width: 130px;
	margin:0 5px 0 0;
}
div.node--view-mode-teaser div.node--type-zeitschrift a img
{
	box-shadow: 3px 3px 1px #888888;	
}
/*
	Zeitschriften Titelblatt in Liste
*/
section.group-left div.field--name-field-titelblatt.field--type-image
{
	float: none;
}
#content article.node--type-zeitschrift section.group-left img,
#content article.node--type-kapitel section.group-left img,
#content article.node--type-buch section.group-left img,
#content article.node--type-artikel section.group-left a img
 {
    display: block;
    margin: 1em auto;
    width: 100%;
    max-width: 300px;
    box-shadow: 5px 5px 3px #888888;
}




/* Katalog-Menü */
.arrow-down, .arrow-right
{
	background-image: none;
}
.arrow-down::after
{
	font-size: 1.5em;
	content: "⇩";
}
.arrow-right::after 
{
	font-size: 1.5em;
	content: "⇨";
}

/* Merkmal: Kurzhinweise auf Zeitschrift (2-94)  */

div.field--name-dynamic-twig-fieldnode-zeitschrift-kurz
{
	display: inline;
	float: right;
}

/*** Details Kaesten ***/

/* Gliederungen */
@media all and (min-width: 665px) {
	details#artikel-gliederung div.details-wrapper {
		max-height: 30em;
		overflow-y: auto;
	}
}



/* Veranstaltung */

details.group-veranstaltungs-info
{
	background-color: #f2f2f2;	
}

details.group-veranstaltungs-info div.field__item
{
		margin-left: 10em;
}


details > .details-wrapper {
padding: 0 0 0 0.5em;
margin-bottom: 0.5em;
}
div.field--name-field-systematischer-index,
div.field--name-field-geopolitischer-index,
div.field--name-field-siehe-auch
{
margin: 0;
}
#content .node details {
	border: thin solid rgb(223,220,217);
	margin:  1em 0;
	padding: 0 0.3em;
	clear: both;
}
details summary {
	background: none;
	cursor:pointer;
}
details summary:hover {
	text-decoration: underline;
}

#content.column div.field--name-field-siehe-auch div.field__item,
#content div.field--name-field-systematischer-index div.field__item,
#content div.field--name-field-geopolitischer-index div.field__item
{
	display: inline;
	border-left: thin solid #b8b8b8;
	padding: 0 0.3em;
}
#content.column div.field--name-field-siehe-auch div.field__item:nth-child(1),
#content.column div.field--name-field-systematischer-index div.field__item:nth-child(1),
#content.column div.field--name-field-geopolitischer-index div.field__item:nth-child(1)
{
	border-left: none;
	padding-left: 0;
}
#content.column div.field--name-field-siehe-auch div.field__item a,
#content div.field--name-field-systematischer-index div.field__item a,
#content div.field--name-field-geopolitischer-index div.field__item a
{
	hyphens: auto;
}

/* inline-Elemente */
/* JF */

div.field--name-field-kommende-termine div.field__item {
	display: inline;
}
div.field--name-field-kommende-termine div.field__item::after {
	content: ",";
}
div.field--name-field-kommende-termine div.field__item:last-child::after {
	content: "";
}


/** Darstellung auf verschiedenen Ausgabegeräten **/
@media only screen and (max-width:664px) {
	/* In der Listenansicht das Titelblatt ausblenden */
		div.node--type-artikel.node--view-mode-teaser div.field--name-field-titelblatt  {display: none;}
	/* dafür den Text-Link zu Zeitschrift einblenden */
	
div.node--view-mode-teaser div.node--type-zeitschrift

{
	float: none;
}
div.node--view-mode-teaser div.node--type-zeitschrift p.heft-referenz,
div.node--type-buch p.buch-referenz
{
	display: block;
}

div.node--view-mode-teaser div.node--type-zeitschrift p.heft-referenz::before
{
	content: "Aus der Zeitschrift ";
}
   	div.node--type-artikel div.field--name-field-referenz div.field--name-node-title
	{
		display: block;
		width: 100%;
	}    	



	/* im 1spaltigen Layout Bilder der referenzen ausblenden	 */
	details#aus-der-zeitschrift div.field--name-field-titelblatt,
	details#verweis-auf-buch div.field--name-field-titelblatt
	 {display: none;}
	details#aus-der-zeitschrift div.field--name-node-title {display: block;}
	div.form-item-laender-abkommen {max-width: 100%;}



	#content article.ds-2col-fluid section.group-left,
		#content article.ds-2col-stacked-fluid section.group-left,
	#content article.ds-2col-stacked section.group-left,
	#content article.ds-2col section.group-left
	{
	  float: left; /* LTR */
	  width: 100%;
  	}
  	
  
	#content article.ds-2col-fluid section.group-right,  	
	#content article.ds-2col-stacked-fluid section.group-right,
	#content article.ds-2col-stacked section.group-right,
	#content article.ds-2col section.group-right
	{
		float: right; /* LTR */
		width: 100%;
  	}
	/* Platz schaffen damit der footer nicht vom mp3-Player überdeckt wird */
        footer.site-footer { 
                padding-bottom: 100px;
        }
}


@media all and (min-width: 665px) {
	details#aus-der-zeitschrift div.field--name-node-title
	 {display: none;}
	 fieldset.aus_der_zeitschrift {display: none;}
	/* Header der Artikel einrücken */
	article.node--type-artikel header.group-header,
	article.node--type-kapitel header.group-header	
	{
		max-width:60em;
		margin: auto;
		padding:1em 0;
	}
   
	#content article.ds-2col section.group-left,
	#content article.ds-2col-stacked-fluid section.group-left,
	#content article.ds-2col-stacked section.group-left,
	#content article.ds-2col-fluid section.group-left
	{
    float: left;
    width: 32%;
    padding: 0 1% 0 0;
    margin-bottom: 1em;
  	}
	#content article.ds-2col section.group-right,
	#content article.ds-2col-stacked-fluid section.group-right,
	#content article.ds-2col-stacked section.group-right,
	#content article.ds-2col-fluid section.group-right
	{
    float: left;
    width: 64%;
    padding: 0 1%;
    margin-bottom: 1em;
  	}
	div#sidebar-first
	{
		margin-top: 1rem;	
	}
	body.node--type-artikel div#block-seitentitel,
	body.node--type-buch div#block-seitentitel
	{
		display: none;	
	}
}

/*Test Sticky Alf*/
@media all and (min-width: 665px) {
#artikel-gliederung.sticky
{
 position: fixed;
 top: 0px;
}
}
@media all {and (max-width: 664px){
#artikel-gliederung.sticky
{
 position: relative;
}
}

/* Audio ICON*/
.audioicon{
    float: left;
    margin: 0 1em 0 0;
    box-shadow: 3px 3px 1px #888888;
    background: #E3DDDA;
}
svg.audiosvg {
    width: 130px;
    height: 188px;
}
path.title{
    fill:red;
}



.warenkorb, .zumwarenkorb {
    display: block;
    border-style: solid !important;
    border-width: 1pt !important;
    border-color: #b0b0b0;
    padding: 0.5em;
    max-width: 160px;
    text-align: center;
    cursor: pointer;
    border-radius:.3em;
    margin: 0.5em 0;
	background: white;
}
.wakoin{
	background: #FFC80C !important;
}
.wakoout{
	background: white;
}

.themenpaket-button {
  background-color: white;
  border: #b0b0b0 1pt solid;
  padding: 0.5em;
  border-radius: .3em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin: .5em;
}

li > p {
  text-indent: unset !important;
}
