/* Rainer */

/* The Modal (background) */
.rainerBibModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.rainerBibModal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.rainerBibClose {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.rainerBibClose:hover,
.rainerBibClose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
} 


/**********************************************/ 
/* Bib-Links */
p.bib-links{
	margin-top:10px;
}

/* Manual PDF-Icon: 
p.bib-links a[type="pdf"]::before {
  width: 16px;
  margin: -4px 4px -4px -4px;
  padding: 4px 1px 1px 0px;
  background-color: #fff;
  color: red;
  border: 1px solid red;
  border-top-right-radius: 4px;
  box-shadow: 1px 1px #ccc;
  font-size: 7.7px;
  font-weight: 700;
  font-family: sans-serif;
  line-height: 16px;
  text-decoration: none;
  display: inline-block;
  box-sizing: content-box;
  content: 'PDF';
}
*/

/* fontawesome PDF-Icon: */
p.bib-links a[type="pdf"]::before {
   display: inline-block;
   vertical-align: top;
   font-weight: 900; 
   background-image: url('data:image/svg+xml;utf8,<svg class="svg-inline--fa fa-file-pdf fa-w-12" style="color: %23da0000;" aria-hidden="true" data-prefix="far" data-icon="file-pdf" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" data-fa-i2svg=""><path fill="currentColor" d="M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm250.2-143.7c-12.2-12-47-8.7-64.4-6.5-17.2-10.5-28.7-25-36.8-46.3 3.9-16.1 10.1-40.6 5.4-56-4.2-26.2-37.8-23.6-42.6-5.9-4.4 16.1-.4 38.5 7 67.1-10 23.9-24.9 56-35.4 74.4-20 10.3-47 26.2-51 46.2-3.3 15.8 26 55.2 76.1-31.2 22.4-7.4 46.8-16.5 68.4-20.1 18.9 10.2 41 17 55.8 17 25.5 0 28-28.2 17.5-38.7zm-198.1 77.8c5.1-13.7 24.5-29.5 30.4-35-19 30.3-30.4 35.7-30.4 35zm81.6-190.6c7.4 0 6.7 32.1 1.8 40.8-4.4-13.9-4.3-40.8-1.8-40.8zm-24.4 136.6c9.7-16.9 18-37 24.7-54.7 8.3 15.1 18.9 27.2 30.1 35.5-20.8 4.3-38.9 13.1-54.8 19.2zm131.6-5s-5 6-37.3-7.8c35.1-2.6 40.9 5.4 37.3 7.8z"></path></svg>');
  content: "";
  background-repeat: no-repeat;
  width: 1em;
  height: 2em;
  border: 3px;
  padding: 0px;
  margin-right: 4px;
  margin-bottom: -10px;
}

/* fontawesome pay lock icon: */
p.bib-links a[type="pay"]::before {
   display: inline-block;
   vertical-align: top;
   font-weight: 900; 
   background-image: url('data:image/svg+xml;utf8,<svg class="svg-inline--fa fa-lock fa-w-14" style="color:%23494e52;" aria-hidden="true" data-prefix="fas" data-icon="lock" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"></path></svg>');
  content: "";
  background-repeat: no-repeat;
  width: 1em;
  height: 2em;
  border: 3px;
  padding: 0px;
  margin-right: 4px;
  margin-bottom: -10px;
}

/* fontawesome file icon: */
p.bib-links a[type="nonpdf"]::before {
   display: inline-block;
   vertical-align: top;
   font-weight: 900; 
   background-image: url('data:image/svg+xml;utf8,<svg class="svg-inline--fa fa-file fa-w-12" style="color:%23494e52;" aria-hidden="true" data-prefix="far" data-icon="file" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" data-fa-i2svg=""><path fill="currentColor" d="M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z"></path></svg>');
  content: "";
  background-repeat: no-repeat;
  width: 1em;
  height: 2em;
  border: 3px;
  padding: 0px;
  margin-right: 4px;
  margin-bottom: -10px;
}



/**********************************/
/* Layout der Bibliographie-Liste */

/* Remove ol-List Labels */
ol.bibliography {
	list-style-type: none;
	padding: 0;
  margin-bottom: 0;
}
.bib-image{
	min-width:15%;
	max-width:15%;
	margin-right:1.5rem;
	margin-top:5px;
	margin-bottom:1rem;
	display:block;
	float: left; /* kein Umbruch nach dem Bild */
}
.bib-wrapper{
	display: flex;
}
.bib-item{
	margin-top:5px;
/*	display:block;*/
}
img.bib-img{
	/*padding:1px;*/
	border:1px solid #CCCCCC;
}

/**********************************/
/* Layout für Bibliographie-Drop-In 2022-02-23 */

.bib-dropin .bib-image {
  min-width:33%;
	max-width:33%;
	margin-right:1.5rem;
	margin-top:5px;
	margin-bottom:1rem;
	display:block;
	float: left; /* kein Umbruch nach dem Bild */
}
.bib-dropin .bib-item{
	margin-top:5px;
  font-size: 80%;
}



/**********************************/
/* Make thumbnails vanish below a certain width */
@media only screen and (max-width:30em){
    .bib-image {
        /*display: none;*/
	margin-right:1rem;
    }
    .bib-item {
    	font-size:80%;
    }
}



