/*! 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;
  /* font-family: Verdana, Arial, Helvetica, sans-serif; */
}

/*
 * 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 {

  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
   ========================================================================== */

/* ==========================================================================
   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
*/

.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 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 */
    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;
  }
}

#wrapper {
	/*position: fixed;*/
	/*width: 100vw;
    height: 100vh;*/
	max-height: 1070px;
	max-width: 1910px;
	height: 1070px;
	width: 1910px;
}
/* +++++ Klassen +++++ */
.left {
	float: left;
}
.right {
	float: right;
}
.clear {
	clear: both;
}
.navselected {
	background-color: #ddd;
}
.center {
	text-align: center;
}
.nomargin {
	margin: 0;
}
/* ++++++++++ Seitenstruktur ++++++++++ */
header {
	height: 117px;
	background: white;
	border-bottom: 4px dotted #444;
}
header h1 {
	/*font-size: 4vh;*/
	font-size: 33px;
	font-family: sans-serif;
	line-height: 0.8;
}
h2 {
	/*font-size: 4vh;*/
	font-size: 22px;
	font-family: sans-serif;
	line-height: 0.8;
}
/*p {
	font-size: 1.5vh;
	font-family: sans-serif;
	line-height: 0.8;
}*/
/* +++ Elemente im Header +++ */
#logo {
	padding: 10px;
	float: left;
}
#logo img {
	height: 100px;
	max-height: 100px;
}
#head-2 {
	float: left;
	height: 70%;
	margin: 23px 0 0 68px;
	padding: 0px 10px 0px 5px;
}
/*#navigation {
	margin:0;
	padding:0;
}*/
nav {
	/*text-align: center;   rausgenommen, da mit Untermenü ganze Zeile springt*/
	margin-top: 2%;
}
nav ul {
	/*list-style-type: none;*/
	padding: 0;
	margin: 0;
}
nav li {
	display: inline;
	padding: 0 10px 0 0;
	margin: 0;
	
}
nav li a {
	font-family: arial, sans-serif;
	text-decoration: none;
	color: #444;
	padding: 3px 10px 3px 10px;
	border: 2px solid #777;
	border-radius: 4px 12px 4px 4px;
	background-color:#FFF;
	font-size: 18px;
}
/* +++++++++++++++ Pull-Down-Menue Ergaenzung +++++++++++++++ */

    nav li.topmenu {
		position: absolute;
		display: inline;
    }

    .topmenu ul{
        display: none;
		position: absolute;
		border: 2px solid #777;
		width: 133px;
		background-color: white;
    }

    .submenu a{
        font-size:15px;
		font-weight: bold;
		position:relative;
		margin-top: 20px;
		padding-top: 0px;
		padding-bottom: 0px;
		width: 133px;
		border: none;
		border-radius: 0;
	}

	.submenu a:hover{
        color: white;
		background-color: #777;
	}

    .topmenu:hover ul {
		display: block;
		z-index:500;
    }


section {
	padding: 1.5% 0 0 0;
	max-height: 92%;
	height: 83%;
	background: white;
}
footer {
	font-size: 12px;
	color: #AAA;
	height: 20px;
	padding: 5px 10px 0 10px;
}
h1 {
	color: #444;
	margin: 0px;
}

/* +++++++++++++++ Seitenlemente Micromounts +++++++++++++++++++ */
#tabmicro {
	width: 100%;
	height: 100%;
	max-width: 1910px;
	max-height: 970px;
}
#tabmicro tr {
	width: 100%;
    height: 30%;
	max-height: 30%;
}
#tabmicro td {
	vertical-align: top;
	width: 20%;
	height: 30%;
	/*height: 100px;*/
	text-align: center;
	/* border: 1px solid; */
}
#tabmicro td a {
	text-decoration: none;
	font-family: arial, sans-serif;
	color: #55f;
	font-size: 16px;
}
#tabmicro td a img {
	height: 85%;
	width: auto;
	max-height: 200px; /* ebenfalls */
	 /* anpassen falls nötig! */
}

#tabmicro td p {
	margin: 0px;
}

.paginationicondisabled {
	opacity: 0.2;
	float: left;
	height: 48px;
	width: 48px;
	border: 1px solid #fff;
	padding-top: 6px;
	margin: 0px 10px 0px 10px;
	
}
.paginationicon {
	opacity: 0.7;
	float: left;
	height: 48px;
	width: 48px;
	border: 1px solid #fff;
	padding-top: 6px;
	margin: 0px 10px 0px 10px;
}
.paginationinfo {
	float: left;
	border: 1px solid #fff;
	height: 48px;
	padding: 0px 10px 0px 10px;
	font-family: sans-serif;
}
#pagination {
	display: inline-block;
}
#pagination img {
	width: 48px;
	height: 48px;
}





/* +++++++++++++++ Seitenelemente Mineral-View-Seite +++++++++++++++++++ */
.z-button {
	margin-bottom: 30px;
	text-decoration: none;
	color: #00e;
	font-family: sans-serif;
	font-size: 28px;
	opacity: 0.7;
}
.z-button img{
	width: 48px;
	height: 48px;
	opacity: 0.7;
}
#pic_container{
	height: 88%;
	width: 50%;
	text-align: center;
	margin-right: 3%;
}
#pic_container img{
	height: auto;
	width: 90%;
}

#info_container{
	height: 82%;
	width: 44%;
	margin-left: 3%;
	text-align: center;
}
#mineral-view-info {
	margin: 2% 0 0 3%;
	font-family: sans-serif;
}

#loc-img-container {
	text-align: center;
}
#location-image {
	width: 600px; 
	margin-top: 50px;
}
/* +++++++++++++++ Seitenelemente Mineralien des Museums +++++++++++++++++++ */
#nav-alpha-1 {
	float: left;
	margin-left: 25px;
}
#nav-alpha-1 a{
	color: #ddd;
	font-family: Verdana, Sans-Serif;
	text-decoration: none;
	font-weight: #900;
	font-size: 28px;
}
#nav-alpha-2 {
	float: left;
	margin-left: 10px;
}
.alpha {
	clear: both;
	margin: 10px 0 10px 0;
	text-align: center;
	background-image: url("../stat-bilder/leerbutton.png");
	background-size: 42px;
	width: 42px;
	height: 42px;
	opacity: 70%;
}
#nav-alpha-2 a{
	color: #ddd;
	font-family: Verdana, Sans-Serif;
	text-decoration: none;
	font-weight: #900;
	font-size: 28px;
}
#table-div {
	position: fixed;
	/*float: left;
	/*width: 80vw;*/
	margin: 44px 0 0 150px;
	max-height: 750px;
	overflow-y: scroll;
		
}
#tabletop-div {
	position: fixed;
	/*float: left;
	/*width: 80vw;*/
	margin: 0 0 0 150px;
}
#tabminmus {
	height: 710px;
	width: 1700px;
}
#tabminmus tbody {
	max-height: 710px;
}
#tabminmus tbody td {
	text-align: left;
	padding-left: 5px;
	overflow: hidden;
	white-space: nowrap;
}
#tabminmus tbody tr {
	height: 24px;
}
#tabminmus tbody tr:nth-child(even) {
	background-color: #ccc;
}
#tabminmus tbody tr:nth-child(odd) {
	background-color: #fff;
}
/*#tabminmus table.scroll thead tr:after {
	content: '';
	overflow-y: scroll;
	visibility: hidden;
}
#tabminmus table.scroll thead th {
	flex: 1 auto;
	display: block;
}
#tabminmus table.scroll tbody {
	display: block;
	width: 100%;
	overflow-y: auto;
	height: auto;
	max-height: 200px;
}
#tabminmus table.scroll thead tr,
#tabminmus table.scroll tbody tr {
	display: flex;
}
#tabminmus table.scroll tbody tr td {
	flex: 1 auto;
	word-wrap: break;
}*/



/* +++++++++++++++ Seitenelemente Video-Seite +++++++++++++++++++ */
#tabvideo {
	width: 850px; 
	text-align: center; 
	margin-left: auto; 
	margin-right: auto;
}
#tabvideo tr {
	height: 285px;
}
#tabvideo td {
	text-align: left;
}
#tabvideo td a {
	text-decoration: none;
	color: #444;
	line-height: 22px;
	font-weight: 300;
}
#tabvideo h2 {
	margin-bottom: 10px;
}

/* +++++++++++++++ Seitenelemente Bergbau Kinzigtal +++++++++++++++++++ */
#book_content_table {
	
}
#pagination_book {
	text-align: center;
}
#pagination_book a {
	margin: 0;
}
#pagination_book img {
	width: 38px;
	height: 38px;
}
#paginfo {
	display: block;
	float: left;
	width: 120px;
	height: 52px;
	line-height: 52px;
}
.class {
	width: 50px;
	height: 50px;
}
.book_content {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	text-align: left;
}
.book_content a:link {
	color: #55f;;
	margin-left:20px;
	max-width: 425px;
	text-decoration: none;
	text-align: left;
}
.book_content table {
	margin-left:70px;
}
.book_content td {
	border: 1px green;
}
#book_img {
	margin-top: -30px;
	width: 655px;
	height: 914px;
}
