a        { color: #c33500; text-decoration: none;       }
a:hover  { color: #000000; text-decoration: underline;  }
a:active,
a:focus  { outline:	0; }

body  { 
  background: #CEB978 url('/img/bg_center.png') repeat-y center;
  font-size: 10px;
	font-family: sans-serif;
	margin: 0;
	padding: 0;
  text-align: left;
}

blockquote {
  background: transparent url('/img/quote_left.png') left top no-repeat;
  margin-left: 0px;
}

blockquote p {
  padding: 0 24px 0 36px;
  font-size: 1.2em;
  width: 100%;
  background: transparent url('/img/quote_right.png') right bottom no-repeat;
}

input { background-repeat: no-repeat; }
label { display: block; font-weight: bold; }

body.public h1 {
 border:medium none;
 font-size:200%;
 letter-spacing:0pt;
 margin: 10pt 0 0.5em 0;
 padding:0;
 color: #000;
}

h2 { 
 font-size: 160%;
 color: #2d3451;
}

h3 {
 color: #336600;
 font-size:105%;
 letter-spacing:2px;
 line-height:1.3em;
 margin: 10pt 0pt 5px;
 padding:0pt 0pt 3px;
 position:relative;
 text-transform:uppercase;
}

h4 {
	color: #4f6f07;
	font-size: 110%;
	font-family: sans-serif;
	margin: 1em 0 0 0;
}


h1, h2, h3 {
  font-family: Georgia,serif;
  font-weight:normal;
}

img { border: 0; }

input {
 background-position: 3px center;
 background-repeat: no-repeat;
 padding: 2px;
 margin-bottom: 5pt;
}
	
ul, li { margin: 0; padding: 0; }

p {
	padding: 0;
	margin: 0 0 1.2em 0;
}

li hr {
  border: none 0;
  border-top: 2px solid #B78B28; /*the border*/
  width: 90%;
  text-align: left;
  height: 2px;/*whatever the total width of the border-top and border-bottom equal*/
}

/*****************************************************************************/
/* Menus                                                                */ 
/*****************************************************************************/
ul.menu {
  list-style: none;
}

#sub_menu a {
	background:#ECE5D1 url(/img/bg_menu.png) repeat-x scroll 0%;
	color: #c33500;
	padding: 6px 10px;
	
	-moz-border-radius-topleft: 7px;
	-moz-border-radius-topright: 7px;

	border-right: 1px solid #C8AE64;
	border-bottom: 1px solid #C8AE64;
}

#sub_menu li {
  float: left;
  margin-right: 0.4em;
}

#menu li {
	list-style-type: none;
	margin-left: 20px;
	margin-bottom: 0.3em;
}

#menu li.divider {
	border-bottom: 1px solid #DED2B3;
	margin-right: 6px;
	line-height: 0px;
}

#menu li a {
	line-height: 2.2em;
	text-decoration: none;
	width: 150px;
	font-size: 0.9em;
	display: block;
	margin:0;
	padding:0;
	padding-right: 5px;
	padding-left: 10px;
}

#menu li a:hover, #menu li a.active {
	background: #ece5d1 url('/img/bg_menu.png') repeat-x;
}

#menu .toggler {
  font-weight: bold;
}

#menu .accordion a {
  font-weight: normal;
}
#menu .accordion a:hover {
	color: #000;
}

#menu .books {
  padding-left: 40px;
  margin-top: 1em;
}

#menu .contact {
  margin-left: 20px;  
  font-size: 10px;
  line-height: 1.2em;
  padding-left: 10px;
  margin-top: 2em;
}

/*****************************************************************************/
/* General buttons and links                                                 */ 
/*****************************************************************************/
input.save_button,
input.delete_button,
input.send_button,
input.list_button,
input.buy_button,
div.backlink a {
  padding: 3px;
  padding-left: 20px;
	background-repeat: no-repeat;
	background-position: 3px center;
}

input.save_button,
input.delete_button,
input.send_button,
input.list_button
input.buy_button {
	background-color: #eee;
}

input.save_button   { background-image: url('/img/icons/database_save.png'); }
input.delete_button { background-image: url('/img/icons/database_delete.png'); }
input.send_button   { background-image: url('/img/icons/accept.png'); }
input.list_button   { background-image: url('/img/icons/table.png'); }
input.buy_button   { background-image: url('/img/icons/basket_put.png'); }

div.backlink a { 
	background-image: url('/img/icons/arrow_undo.png'); 
}

div.backlink { 
	margin-bottom: 0.3em; 
}



/*****************************************************************************/
/* News page                                                                 */ 
/*****************************************************************************/

li.newsitem {
  margin-bottom: 2.4em;
}
li.newsitem img {
 display:block;
 margin-top: 0.5em;
 margin-bottom: 0.5em;
}
img#omforlaget {
 margin-top: 2em;
 margin-left: 70px;
}

.yui-g h4 {
  color: #232126;
  font-size: 100%;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.yui-g {
  margin-bottom: 0.5em;
}

/*****************************************************************************/
/* Books pages                                                               */ 
/*****************************************************************************/

div#group_link_list a.selected {
  color: #000000;
}
img.cover {
	border: 1px solid #ccc;
	padding: 2px;
	margin-right: 1em;
}

div#group_link_list {
  padding: 1em 0;
}

div.author {
  font-style: italic;
  font-weight: bold;
  color: #2D3451;
  margin-top: -15px;
  margin-bottom: 10px;
}

#book_list li  {
  padding-bottom: 1.2em;
}

input#search_book {
  width: 60%;
}

p#out_of_print {
  color: #ff0000;
  font-weight: bold;
	font-size: 80%;
}

#add_author_dropdown {
	cursor: pointer;
}

/*****************************************************************************/
/* Login and Logout                                                          */ 
/*****************************************************************************/

input.password,
input.username,
input.loginBtn,
input.logoutBtn,
#logged_in input {
  padding:  3px 3px 3px 24px;
  background-position: 3px center;
  background-repeat: no-repeat;
}

input.password  { background-image: url('/img/icons/key.png'); }
input.username  { background-image: url('/img/icons/user.png'); }
input.loginBtn  { background-image: url('/img/icons/accept.png'); width: auto; }
input.logoutBtn { background-image: url('/img/icons/lock_break.png'); }
input.goToAdminBtn { background-image: url('/img/icons/database_go.png'); }


/*****************************************************************************/
/* Shopping basket headin                                                    */ 
/*****************************************************************************/

/*input.password,
input.username,
input.loginBtn,
input.logoutBtn,*/
#shopping input {
  padding:  3px 3px 3px 24px;
  background-position: 3px center;
  background-repeat: no-repeat;
}
input.goToBasket  { background-image: url('/img/icons/basket.png'); width: auto; }
/*
input.password  { background-image: url('/img/icons/key.png'); }
input.username  { background-image: url('/img/icons/user.png'); }
input.logoutBtn { background-image: url('/img/icons/lock_break.png'); }
input.goToAdminBtn { background-image: url('/img/icons/database_go.png'); }
*/
/*****************************************************************************/
/* Positioning and size                                                      */ 
/*****************************************************************************/

.right {
	float: right;
	display: block;
}

/*****************************************************************************/
/* Layout                                                                    */ 
/*****************************************************************************/

div#container {
	width: 900px;	
	line-height: 1.4em;
	font-size: 125%;
	color: #232126;
	margin: auto;
	/* background: transparent url('/img/bg_books.png') no-repeat 460px top; */
}


div#logo {
	/* background: transparent url('/img/top_gradient.png') repeat-x; */
	padding: 10px 20px;
	margin: 0 16px;
	z-index: 5;

}

div#menu {
	width: 204px;
	float: left;
	margin-top: 1em;
}

/*****************************************************************************/
/* Content                                                                   */
/*****************************************************************************/

div#content {
  float: left;
  width: 460px;
  margin-left: 10px;
}

div#content textarea {
	width: 100%;
}

body.public div#content h1 {
	width: 100%;
	text-align: center;
	font-size: 250%;
	font-family: sans-serif;
	margin-top: 35px;
	padding-bottom: 0.5em;
	border-bottom: 2px solid #ded2b3;
	line-height: 1.2em;
}

#page_content {
	padding: 0 1em;
}

/*****************************************************************************/
/* Footer                                                                    */
/*****************************************************************************/

div#footer {
	clear: both;
	padding: 2em;
	font-size: 90%;
	width: 599px;
	margin-left: 15px;
	border-top: 1px solid #f7fbfc;
}

div#footer a {
	color: #fff;
	text-decoration: underline;
}

/*****************************************************************************/
/* Sidebar                                                                   */
/*****************************************************************************/

div#sidebar {
	float: right;
	width: 160px;
	padding-left: 10px;
	margin-bottom: 2em;
	margin-top: 52px;
	padding-right: 35px;
}

div#sidebar h3 {
	color:#666633;
	margin: 10px;
	text-align:center;
}

div#sidebar div.section {
	text-align: center;
	background: url(../img/sidebar_top_bg.png) no-repeat;
	margin-bottom: 1em;
}

div#sidebar div.section h3 {
	padding-top: 0.3em;
}

div#sidebar div.section div.bottom {
	background: #fff url(../img/sidebar_bottom_bg.png) no-repeat;
	height: 6px;
	width:  160px;
}

/*****************************************************************************/
/* Lists                                                                     */
/*****************************************************************************/

ul li {
	list-style: none;
}

#content ul.news li label, ul#news_list li  {
	background: transparent url('/img/icons/newspaper.png') no-repeat left center; 
	margin-bottom: 0.2em;
	padding-left: 20px;
}

ul.books li {
	background: transparent url('/img/icons/book_open.png') no-repeat left center;
	margin-bottom: 0.5em;
	padding-left: 20px;
}

#book_list li {
	margin-bottom: 1.2em;
}

#book_list li i {
	font-size: small;
}

#authors_list {
  line-height: 2em;
}

td.time {
	color: #888;
}

/*****************************************************************************/
/* Forms                                                                     */ 
/*****************************************************************************/

input, textarea { 
	background: #efefef url('/img/bg_form.png') repeat-x top left;
	border: 1px solid #ccc;
}

input {
	padding: 0.4em;
}

input.radio {
  border: none;
  background: none;
}


/*****************************************************************************/
/* Tables                                                                    */ 
/*****************************************************************************/

table {
  width: 100%;
}

td, th {
border-bottom:solid 1px #eee;
vertical-align: top;

}

table caption{
background: #efefef;
color: #333;
text-align: center;
font-size: 1.2em;
line-height:3em;
}

table#book_information_table{
width: 90%;
}

table#book_information_table .cover {
	width: 120px;
}

table#book_information_table .title {
	width: 80px;
}


thead th {
  margin-bottom: 10px;
}

thead th {
background: #eee;
border-bottom:solid 1px #ddd;
border-top:solid 1px #fff;
text-align:left;
}

tfoot td, tfoot th{
background: #eee;
border-bottom:solid 1px #fff;
border-top:solid 1px #ccc;
}

tr.odd td, tr.odd th {
background:#edf3fe;
}

.admin table tr td {
	padding: 4px;
}

/*****************************************************************************/
/* Information boxes/texts                                                   */ 
/*****************************************************************************/

span#messages {
	display: inline;
	margin: 0;
	padding; 0;
}

div#flash, div#delete, div#error {
	padding: 1em 3em; 
	line-height: 16px;
}

div#flash {
  background: #E3FCE3 url('/img/icons/information.png') no-repeat 10px center;
  border-top: 1px solid #9FE8B8;
  border-bottom: 1px solid #9FE8B8;
  margin: 1em 0;
	opacity: 0;
}

div#delete, div#error {
  background: #EFCDC7 url('/img/icons/delete.png') no-repeat 10px center;
  border-top: 1px solid #AA0000;
  border-bottom: 1px solid #AA0000;
  color: #AA0000;
  margin: 1em 0;
}

div#notice {
  padding: 1em; 
  background: #FCF7C1; 
  border-top: 1px solid #FAD426;
  border-bottom: 1px solid #FAD426;
  margin: 1em 0;
}

div#logged_in {
	padding: 1.5em 2.5em;
	background: #A5FDA5 url('/img/icons/information.png') no-repeat 10px center;
  border-bottom: 2px solid #189418;
	margin: 0 15px;
}

div#logged_in input {
	float: right;
	margin-left: 1em;
}

div#shopping {
	padding: 1.5em 2.5em;
	background: #c3d9ff url('/img/icons/information.png') no-repeat 10px center;
  border-bottom: 2px solid #356aa0;
	margin: 0 15px;
}

div#shopping input {
	float: right;
	margin-left: 1em;
}

p.notice {
	color: #888;
	font-style: italic;
}

div.inline-error {
	color: #CC0000;
	background: transparent url('/img/icons/exclamation.png') no-repeat left center;
	padding-left: 20px;
}

/*****************************************************************************/
/* Markdown                                                                  */ 
/*****************************************************************************/

#article_content {
	width:95%;
	height:200px;	
}

#markdown_toolbar {
			position:relative;
			list-style:none;
			border:1px solid #d7d7d7;
			background-color:#F6F6F6;
			margin:0;
			padding:0;
			height:18px;
			margin-bottom:2px;
		}

		#markdown_toolbar li {
			list-style:none;
			margin:0;
			padding:0;
			float:left;
		}

		#markdown_toolbar li a {
			width:24px;
			height:16px;
			float:left;
			display:block;
			background-image:url("/img/markdown_icons.gif");
			border:1px solid #fff;
			border-right-color:#d7d7d7;
		}

		#markdown_toolbar li a:hover {
			border-color:#900;
		}

		#markdown_toolbar li span {
			display:none;
		}

		#markdown_toolbar li a#markdown_help_button {
			position:absolute;
			top:0;
			right:0;
			border-left-color:#d7d7d7;
			border-right-color:#fff;
		}

		#markdown_toolbar li a#markdown_help_button:hover {
			border-left-color:#900;
			border-right-color:#900;
		}

		#markdown_italics_button { background-position: 0 -119px; }
		#markdown_bold_button { background-position: 0 -102px; }
		#markdown_link_button { background-position: 0 0; }
		#markdown_image_button { background-position: 0 -170px; }
		#markdown_unordered_list_button { background-position: 0 -34px; }
		#markdown_ordered_list_button { background-position: 0 -51px; }
		#markdown_quote_button { background-position: 0 -68px; }
		#markdown_code_button { background-position: 0 -136px; }
		#markdown_help_button { background-position: 0 -153px; }
		#markdown_heading_button { background-position: 0 -85px; }

/*****************************************************************************/
/* Admin                                                                     */ 
/*****************************************************************************/


body.admin h1 {
  line-height: 1.2em;
  color: #4f6f07;	
}

#upload_data {
	border: 1px solid #85A4DF;
	padding: 6px;
}

#upload_data li {
	padding-left: 25px;
	background-repeat: no-repeat;
	background-position: left center;
	line-height: 1.8em;
	font-size: x-small;
}

#upload_data .file_name { background-image: url(/img/icons/page_white_get.png); }
#upload_data .file_type { background-image: url(/img/icons/information.png); }
#upload_data .file_path { background-image: url(/img/icons/house.png); }
#upload_data .full_path { background-image: url(/img/icons/house_link.png); }
#upload_data .raw_name  { background-image: url(/img/icons/font.png); }
#upload_data .orig_name { background-image: url(/img/icons/font_add.png); }
#upload_data .file_ext  { background-image: url(/img/icons/package.png); }
#upload_data .file_size { background-image: url(/img/icons/disk.png); }
#upload_data .is_image  { background-image: url(/img/icons/image.png); }
#upload_data .image_width    { background-image: url(/img/icons/shape_align_left.png); }
#upload_data .image_height   { background-image: url(/img/icons/shape_align_bottom.png); }
#upload_data .image_type     { background-image: url(/img/icons/help.png); }
#upload_data .image_size_str { background-image: url(/img/icons/shape_handles.png); }

#uploaded_image {
	margin-bottom: 1.5em;
}
