

/* Layout och meny */

/*
allcontainer
	toprow
		logo
		innertoprow
	mainmenu
	content
--
logo		innertoprow
mainmenu	content
*/

/* Färger
	#99cc00	grön
	#ffcc00 gul
	#cc9900 gulbrun
	#996600 brun
*/

#toprow, #logo, #innertoprow {
	background-color: #cc9900;
}

.mainmenubox {
	background-color: #996600;
}

#searches input {
	background-color: #ffcc00;
}

div.auto_complete {
	background-color: #996600;
}

div.auto_complete li.selected {
	background-color: #cc9900;
}

strong.highlight {
	background-color: #99cc00;
}

/* Placering */

#allcontainer, #toprow, #logo, #innertoprow, #mainmenu, #content {
	margin: 0px;
	padding: 0px;
}

#allcontainer {
	width: 97%;
  /*position: absolute; left: 10px; top: 10px;*/
	position: relative; left: 0px; top: 0px;
	padding: 0px; margin: 0px;
}

#mainmenu {
	/*position: absolute; top: 0px; left: 0px;*/
	height: 25px;
  background: #88db4a;
    width: 100%;
}

#mainmenu a:hover {
  color: black;
  cursor: hand;
}

#mainmenu, .submenu {
  min-width: 820px;
}

.mainmenu_item {
  width: 100px;
  float: left;
  height: 20px;
  padding-left: 10px;
  font-weight: bold;
}

.mainmenu_item, .submenu_item {
  padding-top: 3px;
}

.submenu {
  position: absolute; left: 0px; top: 20px;
  display: none;
  height: 20px;
  background: #1dad1d;
  width: 100%;
}

#submenu_search {
  display: block;
}

#mainmenu_search {
  background: #1dad1d;
}

.submenu_item {
  float: left;
  margin-right: 20px;
  height: 20px;
  padding-left: 10px;
}

/* ------------ */

#content {
/*  background-color: #f0f0c0;
  border: 1px solid #c0c0a0;*/
/*	border-bottom: none;*/
/*	background-color: white;*/

	margin-top: 35px;
/*	margin-bottom: 10px;*/
/*	width: 750px;*/
/*  float: left;
  position: absolute; left: 185px; top: 0px;*/
	padding-left: 5px;
	padding-right: 5px;

}

#searches {
/*	text-align: right;*/
	font-size: 0.8em;
	/*position: absolute; top: 3px; left: 50px;*/
}

/*#idsearch, #searchform {
	padding: none;
	margin: none;
}
*/
#searches form {
	font-size: 1em;
}

#searches input {
/*	height: 20px;*/
}


#idsearch input {
	font-size: 16px;
}

#a_searchform input, #t_searchform input, #dn_searchform input {
	font-size: 16px;
}

.searchforms form input {
	background-color: #eeeeee;
}

#content table.bookform {
	margin-top: 10px;
	padding-top: 5px;
}

/* Unsorted */

body {
	font-family: lucida grande, verdana, sans-serif;
	color: black;
	font-size: 10pt;
	padding: 0px; margin: 0px;
	/*background-color: #efe0b0;*/
}

p, td {
	font-size: 11pt;
}

h1 {
	font-size: 16pt;
	font-weight: normal;
}

h2 {
	font-size: 14pt;
	font-weight: normal;
}

h3 {
	font-size: 12pt;
	font-weight: normal;
}

a:visited, a:link, a:active {
	color: black;
	text-decoration: none;
}

a:hover {
	color: #550;
}

table {
	border: 1px solid black;
}

table#jobs {
  border: 0px;
  padding: 0px;
}

table#jobs td, table#jobs th {
  margin: 0px;
  padding-right: 20px;
}

table.list {
	background: #efa;
	width: 815px;
	padding: 0px;
	margin: 0px;
}

table.bookform {
	background: #fff;
	width: 745px;
}

table td {
	vertical-align: top;
}

table.bookform td h2, table.bookform label {
	margin-top: 0px;
	font-size: 13px;
}

th {
	text-align: left;
}

table tr td {
	border: none;
}

table.list tr td {
	margin: 0px;
	padding: 0px;
}

/*table.list tr.intense, table.list tr.intense td a {
	color: black;
}
*/
table.list tr.pale td, table.list tr.pale td a {
	color: #553;
}
table.list tr.pale td, table.list tr.pale td a:hover {
	color: #550;
}

table tr {
	padding: 0px;
	border: none;
	margin: 0px;
}

table tr td.col1 {
	width: 50px;
	text-align: right;
}

table tr td.col2 {
	width: 300px;
}

table tr td.col23 {
	width: 600px;
}

table tr td.col3 {
	width: 280px;
}

table tr td.col4 {
	width: 20px;
	text-align: right;
}

table tr td.col5 {
	width: 30px;
}

div.auto_complete {
/*  position:absolute;*/
	/*width:500px;*/
	border:1px solid #000;
	margin:1px 0px 0px 20px;
	padding:0px;
}

div.group_auto_complete {
  position: relative;
}

/*div.auto_complete {
  position:absolute;
  border:1px solid #000;
  margin:1px 0px 0px 20px;
  padding:0px;
}
*/
div.auto_complete ul {
	padding: 0px;
	margin: 0px;
}
div.auto_complete li {
	color: black;
	list-style: none;
	margin: 0px;
	padding: 0px;
}

div.auto_complete li.selected {
	font-weight: bold;
	margin: 0px;
	padding: 0px;

}

input, textarea {
	background: #998;
	border: 1px solid black;
	height: 15pt;
	font-size: 10pt;
}

textarea {
	height: 100px;
}

button {
	background: #998;
	background: #8f8;
	color: black;
	border: 1px solid black;
	font-size: 10pt;
	height: 20px;
}

input.bookdata {
	/* width: 460px; */
	background: #fff;
	border: none;
	border-bottom: 1px dotted black;
}

textarea.bookdata {
	width: 90%;
}

button.more {
	background: #eee;
	color: black;
	border: 1px solid #999;
	font-weight: bold;
	font-size: 10pt;
}

button.more:focus, button.more:hover {
	border: 1px solid black;
}

input:focus, textarea:focus, button:active {
	background: #eee;
}

hr {
	border: 1px solid gray;
	width: 98%;

}

.menu {
	text-align: center;
}

.show p {
	font-size: 10pt;
}

.show a {
	font-weight: bold;
	color: #550;
}


.booklistitem {
/*	padding: none;*/
	margin: 0px;
	margin-top: 5px;
	text-indent: -25px;
	margin-left: 25px;
}

.warning, a.warning {
	color: #b00;
	font-weight: bold;
}

.good {
	color: #33aa00;
	font-weight: bold;
}

strong.highlight {
	border: 1px solid #696;
}

.translation_missing {
  background: black;
  color: red;
/*  text-decoration: blink;*/
}

.needs_translate_tag {
  background: red;
  color: yellow;
}

.fieldWithErrors {
  display: inline;
}

.new_customer .field input, .edit_customer .field input {
  position: absolute;
  left: 170px;
}

#customer_form .field
{
  margin-bottom: 12px;
}

.new_customer .field label, .edit_customer .field label
{
  vertical-align: bottom;
}

.new_customer .fieldWithErrors label, .edit_customer .fieldWithErrors label
{
  color: red;
}

#customer_form_right_part {
  position: absolute;
  left: 450px;
  top: 78px;
  width: 250px;
}

#customer_form input {
  width: auto;
}
#customer_form textarea {
  width: 250px;
}
#customer_form .more_group {
  width: 250px;
}

#customer_invoice {
  width: auto;

}
#customer_groups_table, #customer_groups_table th {
  border: none;
  position: relative;
  left: -2px;
}

div#flashes, div#errors {
  border: 1px solid black;
  width: 300px;
  position: absolute;
  right: 2%;
  top: 40px;
  z-index: 2;
  padding: 0px 5px 0px 10px;
}

div#flashes {
  background: #ffff99;
}

div#errors {
  background: #cc3333;
}

.close_button {
  color: black;
  float: right;
  border-left: 1px solid black;
  border-bottom: 1px solid black;
  padding: 5px 5px 5px 10px;
}

.show_customer_label {
  width: 150px;
  float: left;
}

.show_customer_value {
  width: 480px;
}

#show_customer_left {
  float: left;
  width: 500px;
}

#show_customer_right {
 float: left;
 width: 300px;
}

#cart {
  clear: left;
  border: 1px solid black;
  margin-top: 20px;
  background: #f0f0f0;
/*  width: 800px;*/
  padding: 10px;
}

#cart table {
  margin-top: 10px;
  font-size: 14px;
}

#cart td {
  font-size: 13px;
}

#cart input {
  border: none;
  background: #f0f0f0;
  border-bottom: 1px dotted black;

}

#cart a.cartbutton, #cart input.cartbutton {
  background: white;
  border: 1px solid black;
  height: 30px;
  padding: 5px;
  margin: 5px;
  font-size: 12px;
}

#cart a.cartbutton {
  padding-bottom: 5px;
  height: 20px;
  padding-top: 8px;
}

#cart a:hover.cartbutton {
  cursor: default;
  color: black;
}

.noscreen {
  display: none;
}

.searchforms form {
	padding-top: 5px;
}

.book-image {
    display: flex;
   // height: 90vh;
}

@media (orientation: portrait) {
    .book-image {
        max-width: 80vw;
        width: 80vw;
    }
}

@media (orientation: landscape) {
    .book-image {
        height: 80vh;
        max-height: 80vh;
    }
}
