﻿/* main */

* {
	box-sizing: border-box;
}

html {
	font-size: 14px;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4 {
	color: #BD1622;
}

h1 {
	text-align:center;
}

h2 {
	font-size: 2em;
	margin-top: 40px;
}

/* header */

header {
	background-color: #BD1622;
	box-shadow: 0 2px 2px black;
	color: white;
	font-family: 'Lato', 'Arial', sans-serif;
	height: 100px;
}

header .title {
	float: left;
	font-size: 50px;
	margin-left: 50px;
	margin-top: 19px;
	text-shadow: 2px 2px 2px white;
}

header nav {
	float: right;
	font-size: 20px;
	margin-right: 50px;
	margin-top: 17.5px;
	text-shadow: 1px 1px 2px white;
}

header li {
	display: inline-block;
	cursor: pointer;
	list-style-type: none;
	padding: 0 20px;
}

/*content */

#content {
	margin: 0 auto;
	max-width: 900px;
	width: 100%;
}

#content a:hover {
	color: #BD1622;
}

section {
	margin-bottom: 50px;
}

.pos {
	color: #BD1622;
	font-size: 18px;
	font-weight: bold;
	padding-left: 5px;
	padding-right: 10px;
}

.main {
	margin-bottom: 0;
	text-align: center;
}

.main img {
	margin-top: 20px;
	height: auto;
	max-width: 100%;
	width: auto;
}

.loans {
	text-align: center;
}

.loans img {
	height: auto;
	max-height: 500px;
	max-width: 100%;
	width: auto;
}

.loan-detail, .book-info {
	text-align: center;
}

.loan-detail video {
	width: 100%
}

.book-info img {
	border: 1px solid black;
	box-shadow: 4px 4px 2px #EEE;
}

.book-available, .book-unavailable {
	-webkit-border-radius: 10px;
	   -moz-border-radius: 10px;
	        border-radius: 10px;
	color: white;
	padding: 10px;
}

.book-available {
	background-color: #12C94C;
}

.book-unavailable {
	background-color: #BD1622;
}

.embedded {
	max-width: 100%;
	text-align: center;
}

/* Proportion beibehalten und maximal Gerätebreite */
.iframe-wrapper {
	position:relative;
	padding-top: 56%;
}

.iframe-wrapper iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
/* login form */

#login-form {
	background-color: #BD1622;
	color: black;
	display: none;
	padding: 15px;
	text-align: center;
}

#login-form label {
	color: white;
	padding: 0 5px;
}

#login-form input[type="submit"] {
	background-color: #FDEDEE;
	margin-left: 5px;
}

/* pos form */

#pos-form tr {
	border-bottom: 1px solid black;
}

#pos-form th,
#pos-form td {
	padding: 5px;
}

#pos-form input[type="submit"] {
	margin: 10px 0;
}
	