/* CSS for the bookshelf application */
/* For Desktop view */

/* Clear all presets */
* {
	margin: 0;
	padding: 0;
}


/* BODY */
body {
	height: 100%;
	width: 100%;	
	font-family: Arial, sans-serif;
	font-size: 14px;
}

/* Separator */
hr { 
	border: 0; 
	height: 1px; 
	margin: 5px 0px;
	background: #333333; 
	background-image: linear-gradient(to right, #CCCCCC, #333333, #CCCCCC);
}

/* NAVIGATION */
.topbar:after {
    content: "";
    display: table;
    clear: both;
}

.nav-menu, 
.nav-user {
	overflow: hidden;
	background-color: #228B22;
}

.nav-menu {
	float: left;
	width: 70%;
}

.nav-user {
	float: right;
	width: 30%;
}

.nav-menu a, 
.nav-user a {
	display: block;
    color: #FFFFFF;
    text-align: center;
    padding: 16px;
    text-decoration: none;
}

.nav-menu a:hover, 
.nav-user a:hover {
    color: #228B22;
	background-color: #FFFFFF;
}

.nav-menu a {
	float: left;
}

.nav-user a {
	float: right;
}

/* CONTENT AREA */
.content {
	margin: 25px;
	margin-bottom: 50px;
}

.content h1, 
.content h2 {
	padding: 5px 0px 15px 0px;
}

.content h3 {
	padding: 5px 0px 5px 0px;
}

.content a:link, 
.content a:visited, 
.content a:active {
    color: #228B22;
	text-decoration: none;
}

.content a:hover {
    color: #9ACD32;
}

/* FOOTER */
.footer {
	background-color: #228B22;
	color: #FFFFFF;
	position: fixed;
	bottom: 0;
	width: 100%;
	padding: 5px 0;
	text-align: center;
}

.footer a {
	text-decoration: none;
	color: white;
}

.footer a:visited {
	text-decoration: none;
	color: white;
}


/* FORMAT FOR LISTS */
.listtable {
	width: 100%;
	padding: 5px;
}

.publishertable {
	width: 30%;
	padding: 5px;
}

.listtable thead {
	text-align: center;
	font-size: 1.1em;
	font-weight: bold;
	cursor: help;
}

.publishertable thead {
	text-align: left;
	font-size: 1.1em;
	font-weight: bold;
	cursor: help;
}

.listtable th, 
.listtable td,
.publishertable th,
.publishertable td {
	padding: 8px 4px;
	border-bottom: 1px solid #dddddd;
}

/* Bei Hover über Zeile diese in der Tabelle hervorheben */
.listtable tbody tr:hover, 
.listtable tfoot tr:hover,
.publishertable tbody tr:hover,
.publishertable tfoot tr:hover { 
  background-color: #eafaea;
}

.control img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 16px;
	-webkit-transition: width 0.2s; /* Safari */
	transition: width 0.2s;	
}

.control img:hover {
	width: 19px;
}

/* INPUT FIELDS */
.editbook input[type=text], 
.editbook input[type=date], 
.editbook input[type=number] {
	width: 95%;
}

.editbook select {
	width: 95%;
}

input[type=text], 
input[type=password], 
input[type=date], 
input[type=number] {
	width: 15%;
	padding: 6px 6px;
    margin: 5px 15px 5px 0;
    box-sizing: border-box;
	border: 1px solid;
    border-radius: 3px;
}

input[type=text]:focus, 
input[type=password]:focus, 
input[type=date]:focus, 
input[type=number]:focus {
    border: 2px solid #228B22;
}

input[type=radio] {
	margin: 0px 5px 0px 0px;
}

select {
	width: 15%;
	padding: 6px 6px;
	border-radius: 3px;
	margin: 5px 15px 5px 0;
}

select:focus {
	border: 2px solid #228B22;
}

/* BUTTONS */
input[type=button], 
input[type=submit], 
input[type=reset] {
    background-color: #228B22;
    border: none;
    color: white;
    padding: 10px 24px;
	border-radius: 3px;
    text-decoration: none;
    margin: 0 15px 0 0;
    cursor: pointer;
}

input[type=button]:hover, 
input[type=submit]:hover, 
input[type=reset]:hover {
    background-color: white;
	color: #228B22;
	border: solid;
	border-color: #228B22;
	padding: 7px 21px;
}

.notification {
	border: 2px #EE104E solid;
	padding: 10px;
	margin: 5px 0px 15px 0px;
	border-radius: 10px;
	display: inline-block;
}