* { box-sizing: border-box; }

body {
  padding-top: 0px; /* 60px to make the container go all the way to the bottom of the topbar */
  color: #45505E;
  font-size: 16px; font-family: 'open sans', sans-serif;
  background: #FAFDFD url('../img/linen.png');
   }

.center { text-align: center; }

.scroll-cover {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;
  pointer-events: auto !important;
  z-index: 10000;
}

body * { -webkit-transition: all 0.15s; -moz-transition: all 0.15s; transition: all 0.15s; }

a, a:link, a:visited { font-weight: 400; -moz-outline-style: none; }

a:active {
  outline: none;
  -moz-outline-style: none;
}
a:focus {
  outline: none;
  -moz-outline-style: none;
}

input#s::-webkit-input-placeholder {
   color: #ddd;
   }

.container {
	max-width: 970px; /* prevent largest bootstrap size */
}

h1, h2, h3, h4, h5, label { font-family: 'Merriweather', serif; font-style: italic; font-weight: normal; color: #45505E; }
  h1 { font-size: 40px; margin-bottom: 6px; }

p {
	margin: 0 0 10px;
	line-height: 1.6em;
}

.centered { text-align: center; }

hr {
	margin-top: 0px;
	margin-bottom: 0px;
	border: 0;
	border-top: 1px solid #eeeeee;
}

.btn { 

	box-shadow: rgba(0,0,0,0.08) 0px 1px 0px; padding: 10px 12px; font-size: 14px; 
	border-color: #C9D2D6; 
	display: inline-block;
	line-height: 20px;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	background-color: #f6f9fc;
	background-image: -moz-linear-gradient(top, #ffffff, #f6f9fc);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f6f9fc));
	background-image: -webkit-linear-gradient(top, #ffffff, #f6f9fc);
	background-image: -o-linear-gradient(top, #ffffff, #f6f9fc);
	background-image: linear-gradient(to bottom, #ffffff, #f6f9fc);
	}

.dropdown-menu {
	font-size: 16px;
	list-style: none;
}

.dropdown-menu > li > a {
	padding: 10px 14px;
	border-bottom: 1px solid #eee;
}

.dropdown-menu ul li a span.count { 
	position: absolute;
	right: 10px;
	top: 9px;
	opacity: 1;
	border-radius: 7px;
	padding: 2px 5px;
	text-align: center;
	min-width: 32px;
	font-size: 13px;
	font-weight: bold;
	opacity: 1;
	color: #B3B7BB;
	border: 1px solid #D5D8DD;
	 }
	
	.dropdown-menu ul li.selected a span.count { display: none; }


/* Header */

.navbar {
	margin-bottom: 0;
	border-color: #fff;
	background: #3E4650;
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #485361),
	color-stop(1, #3E4650)
);
background-image: -o-linear-gradient(bottom, #485361 0%, #3E4650 100%);
background-image: -moz-linear-gradient(bottom, #485361 0%, #3E4650 100%);
background-image: -webkit-linear-gradient(bottom, #485361 0%, #3E4650 100%);
background-image: -ms-linear-gradient(bottom, #485361 0%, #3E4650 100%);
background-image: linear-gradient(to bottom, #485361 0%, #3E4650 100%);
}

.navbar-form {

margin-right: 0;
padding-right: 0;
padding-left: 10px;
}

.navbar .nav > li > a {
  
  padding: 31px 15px 24px;
  color: #D2DFE0;
  text-decoration: none;
  font-family: 'Merriweather', serif;
}

.navbar-fixed-top .navbar-inner, .navbar-static-top .navbar-inner {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}


.navbar-brand {
padding: 18px 20px 10px;
margin-left: 0px;

font-size: 33px;
font-weight: 100;
color: #666;
font-style: italic;
font-family: 'Helvetica neue', sans-serif;

}
	.navbar-brand:link, .navbar-brand:visited, .navbar .navbar-brand:hover, .navbar .navbar-default .navbar-brand:focus {
		color: #D7E0E6;
		font-weight: 100;
	}

  .navbar-brand em {
  font-size: 35px; margin-right: 2px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0px;
  font-family: 'georgia', serif;
  
  }


  .navbar > .container .navbar-brand img{

		width: 173px; height: 44px;
	
	}

.navbar input { 
  background-color: #272B30;
  font-size: 17px;
  padding: 3px 0 2px 11px;
  -webkit-box-sizing: border-box;
  margin-top: 13px;
  border-radius: 30px;
  font-weight: 300;
  margin-left: 10px;
  border:0; color: #fff;
  width: 214px; height: 35px; 
}

.navbar .btn-navbar {
  margin-top: 12px;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus, 
body.page-template-boker-page-php #li_boker,
body.page-template-enkelthjelp-page-php #li_hjelp_om,
body.page-id-190 #li_tidslinje,
body.page-template-forfattere-page-php #li_forfattere,
body.page-template-enkeltforfatter-page-php #li_forfattere,
body.page-template-bok-kapittel-page-php #li_boker {
	color: #fff;
	background-color: rgba(0,0,0,0.2);
	height: 75px;
}
	
	.navbar-default .navbar-nav > .active > a:after, 
	body.page-template-boker-page-php #li_boker:after,
	body.page-template-enkelthjelp-page-php #li_hjelp_om:after,
	body.page-id-190 #li_tidslinje:after,
	body.page-template-forfattere-page-php #li_forfattere:after,
	body.page-template-enkeltforfatter-page-php #li_forfattere:after,
	body.page-template-bok-kapittel-page-php #li_boker:after {
		content: '';
		position: absolute;
		width: 10px;
		height: 10px;
		left: 50%;
		bottom: -1px;
		margin-left: -10px;
		border-bottom: 10px solid #f6f7f7;
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
	}

	body.page-id-5204.page-template-enkelthjelp-page-php #li_hjelp_om:after {
		display: none;
	}
	body.page-id-5204.page-template-enkelthjelp-page-php #li_hjelp_om {
		background: transparent;
	}


.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
	color: #eee;
	background-color: rgba(0,0,0,0.1);
}

/* Front page */

.top { 
  
  padding:60px 0 30px 0; 
  text-align: left;
  border-bottom:0px solid #eee;
}

.top p { 
  font-size: 19px; 
  font-weight: 100;
  color: #76808D;
}

.home .top { 
  min-height: 280px;
}


ul.books { list-style-type: none; margin-top: 60px; -webkit-padding-start: 0px; display: none; width: 100%; padding-left: 0; }

ul.books * { -webkit-transition: all 0s; -moz-transition: all 0s; transition: all 0s; }

  .books li { -webkit-transform: translate3d(0,0,0); display:none; height: 310px; width: 242px; float:left; padding: 0px 12px 18px 0px;  margin-bottom: 20px; }
  	.home .books li { display: block; }
  	.home .books li.bok.visible { display: block; }

  .books li a { -webkit-transform: translate3d(0,0,0); width: 100%; height: 100%; display: block; background: #eee; margin: 0px; padding:24px; 
                border-top-right-radius: 5px; border-bottom-left-radius: 1px; border-bottom-right-radius: 5px; 
                box-shadow: rgba(0,0,0,0.2) 0 2px 7px, inset rgba(0,0,0,0.2) 5px 0px 0px, inset rgba(0,0,0,0.5) 0px -8px 0px; 
                background: url('../img/books/1.jpg') no-repeat; background-size: 100% 100%;
                position: relative; color: #555; max-width: 213px; }
  

  	.books li.brev a { -webkit-transform: translate3d(0,0,0); width: 100%; height: 100%; display: block; background: #fff; margin: 0px; padding:24px; 
                border-top-right-radius: 5px; border-bottom-left-radius: 1px; border-bottom-right-radius: 5px; 
                box-shadow: rgba(0,0,0,0.2) 0px 2px 3px;  border-radius: 2px;
                position: relative; color: #555; max-width: 213px; }
      
      .books li a:hover { text-decoration: none; }

      .books li a:after { 
          position: absolute;
          bottom: 3px;
          box-shadow: inset rgba(0,0,0,0.4) 0 1px 1px;
          border-top: 0px solid rgba(0,0,0,0.0);
          left: 4px;
          
          border-radius: 2px;
          height: 4px;
          width: 206px;
          content: '';
          border-top-right-radius: 0;
          border-bottom-right-radius: 6px;
          background-color: #eee;
          background-image: linear-gradient(transparent 0%, rgba(255,255,255,1) 30%);
          background-size: 2px 2px;
 }

  .books li.brev a:after { 
          display: none;
 }

  .books li.bok.brev { display: none; }

  .books li.bok.brev .book_title {
	font-size: 14px;
	line-height: 13px;
  }

  .books li .book_box {   margin: 0; background: rgba(255,255,255,0.98); background: #fff\9; /* IE8 and below */ color: #45505E;
                          display: block; padding: 15px 17px 14px 17px; font-size: 19px; 
                          font-family: 'Merriweather', serif; text-align: left; line-height: 1.3em;
                          font-style: italic; font-weight: 100; max-height: 200px; overflow: hidden; width: 165px; }
  .books li .book_title {   }
  .books li .book_author { font-size: 13px; line-height: 15px; width: 100%; display: inline-block; margin: 6px 0 8px 0; opacity: 0.9;  }
  .books li .utg_ar { font-size: 13px; line-height: 15px; width: 100%; margin: 6px 0 8px 0; opacity: 0.9; display: none; }
  .books li .book_author em { font-weight: 700; }
  .books li .book_publisher { text-align: center; opacity:1; position: absolute; bottom: 20px; left:0; width: 100%; font-size:13px; color: #fff; color: rgba(255,255,255,1); text-shadow: rgba(0,0,0,1) 0 1px 1px; }
  	  .books li.brev .book_publisher {
			color: #999;
			text-shadow: none;
		}
  	  .books li:hover .book_publisher { opacity:1; }

  	  .home .books { margin-left: 0px; }
  	  	.home .books { margin-left: 0px; }

  .books li.bok.visible { display: none; }	  	

/* books in search */

#search-results ul.books { display: block; }
#search-results .book_with_chapters_hits ul.books { display: block; width: 25%; }
#search-results ul.books.book_hits li.bok:nth-child(4n) { padding-right: 0; width: 214px; }

#search-results .books li { background:transparent; border:0; border-radius:0; -webkit-transform: translate3d(0,0,0); display:block; height: 310px; width: 242px; float:left; padding: 0px 12px 18px 0px;  margin-bottom: 20px; }
	
	#search-results .books li a { padding: 24px; }

.bottom { padding: 50px 0 50px 0; background: #FFFFFF url('../img/linen20.png'); }
 .bottom h4 { margin-bottom: 20px; }
 .bottom ul { list-style-type: none; margin: 0; -webkit-padding-start: 0px; padding-left: 0; }
  .bottom ul li {  border-bottom: 1px solid #ddd;
		background: rgba(0,0,0,0.03);
		border-radius: 8px;
		margin-bottom: 12px; }

  .bottom ul li a { font-size: 17px;
	padding: 19px 20px 19px 61px;
	padding-left: 20px\9; /* IE8 and below */
	display: block;
	color: #45505E;
	position: relative;
  }


  .bottom #front_categories ul li a:before { 
    width: 40px;
	height: 40px;
	content: "";
	position: absolute;
	top: 11px;
	border-radius: 4px;
	left: 12px;
	display: block;
	background: transparent url('../img/sjangre.png');
	background-size: 1000px 1000px;
	opacity: 0.6;
 }
 .bottom #front_categories ul li a:before { 
    display: none\9; /* IE8 and below */
 }

 	.bottom #front_categories ul li a:hover:before { opacity: 0.9; }
 	.bottom #front_categories ul li a:hover { text-decoration: none; color: #1F242A; }

  	.bottom #front_categories ul li#cat_0 a:before { background-position: -10px -10px; }
  	.bottom #front_categories ul li#cat_1 a:before { background-position: -10px -54px; }
  	.bottom #front_categories ul li#cat_2 a:before { background-position: -10px -100px; }
  	.bottom #front_categories ul li#cat_3 a:before { background-position: -11px -146px; }
  	.bottom #front_categories ul li#cat_4 a:before { background-position: -11px -191px; }
  	.bottom #front_categories ul li#cat_5 a:before { background-position: -11px -235px; }
  	.bottom #front_categories ul li#cat_6 a:before { background-position: -11px -280px; }
  	.bottom #front_categories ul li#cat_7 a:before { background-position: -11px -325px; }
  	.bottom #front_categories ul li#cat_8 a:before { background-position: -11px -370px; }
  	.bottom #front_categories ul li#cat_9 a:before { background-position: -11px -415px; }
  	.bottom #front_categories ul li#cat_10 a:before { background-position: -11px -460px; }
  	.bottom #front_categories ul li#cat_11 a:before { background-position: -11px -505px; }
  	.bottom #front_categories ul li#cat_12 a:before { background-position: -11px -550px; }
  	.bottom #front_categories ul li#cat_13 a:before { background-position: -11px -595px; }
  	.bottom #front_categories ul li#cat_14 a:before { background-position: -11px -640px; }


  .bottom #front_authors ul li {  border: 0; float: left; min-width: 227px; }
    .bottom #front_authors ul li a { padding: 25px 0px 25px 60px; height: 72px;  }
    .bottom #front_authors ul li a img { height: 50px; width: 50px; margin-right: 10px; border-radius: 8px; position: absolute; top: 9px; left: 0; -webkit-filter: grayscale(100%); }



.about { padding: 55px 0; border-top:0px solid #eee; background: #FAFDFD url('../img/linen.png'); }
.about h3, .about p {text-align: center; }
.about p { }

.footer { background: #3E4650; padding: 20px 0 20px 0; color: #D2DFE0; line-height: 2em; }
	.footer em { opacity: 0.2; font-style: normal; }
	
  	.navbar-form .form-group {
		padding-left: 0px;
  }




/* Books page */

#books_container { 
	margin-left: 0px;
	padding: 0;
	float: left; 
	min-height: 1000px;
}

#antallBoker {margin: 20px 0 -35px 0; }

#filtrer_bokene { 
	text-align: left;
	border-top: 1px dashed #BEC6C9;
	border-bottom: 1px dashed #BEC6C9;
	margin-top: 40px;
	padding: 30px 0 20px 0;
	width: 100%;
	float: left;
	display: none;
 }

 	#filtrer_bokene * { -webkit-transition: all 0s;  }
	#filtrer_bokene label {float: left; width:200px; clear: left; }
	#filtrer_bokene div { padding: 0 0px 0 0; }
	#filtrer_bokene form { width: 103%; }

	#filtrer_bokene .bootstrap-select {float: left; width:89%; clear: left; margin-top: 5px; }
	#filtrer_bokene .btn { 
		font-size: 16px;
	}


#filtrer_bokene .letter_filter {
	display: none;
}

#filtrer_bokene .selected_select .btn { 
	background: #3E4650;
	background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, #485361), color-stop(1, #3E4650) );
	background-image: -o-linear-gradient(bottom, #485361 0%, #3E4650 100%);
	background-image: -moz-linear-gradient(bottom, #485361 0%, #3E4650 100%);
	background-image: -webkit-linear-gradient(bottom, #485361 0%, #3E4650 100%);
	background-image: -ms-linear-gradient(bottom, #485361 0%, #3E4650 100%);
	background-image: linear-gradient(to bottom, #485361 0%, #3E4650 100%);
	color: #fff;
	border-color: #3E4650;
	text-shadow: none;
 }

	 #filtrer_bokene .selected_select .btn.btn-default .caret {
		border-top-color: #fff;
	 }

.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a i.check-mark {
	margin-top: 11.5px; color: #3E4650;
}

#sorter_bokene {

	display: inline-block;
	position: absolute;
	right: 0;
	margin-top: 15px;
}
	#sorter_bokene, #sorter_bokene label, #sorter_bokene input { margin-right: 5px;  font-size: 14px; }

	#sorter_bokene input { margin-left: 5px; }

.dropdown-menu > li > a {
	color: #45505E;
}


.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
	background-color: #3E4650;
	color: #fff;
}

.btn-default .caret {
	border-top-color: #45505E;
}


/* Specific for Letters */

.letter_sender, .letter_recipient, .letter_year { font-size: 14px; display: block; }
.letter_sender { margin-top:10px;  }

/* Book page */

#book_header { margin-top: -20px; text-align: left; padding-left:  80px; }
	#book_header h1 { font-size: 24px; margin-bottom: 0px; }
	#book_header img { height: 50px; width: 50px; margin-right: 10px; border-radius: 8px; position: absolute; top: 0px; left: 15px; -webkit-filter: grayscale(100%); }

#text { 
	padding: 3px; background: #F7F8F8; border: 1px solid #BEC6C9; margin-left: 0px;
	min-height: 800px; margin-top: 30px; text-align: left; margin-bottom: 30px;
	box-shadow: rgba(0,0,0,.06) 1px 3px 2px; border-radius: 2px;
}

#text h1 { font-size: 25px; }
#text h2 { font-size: 20px; }


#text_inner { 
	background: #fff;
	padding: 33px 45px; 
	border: 0px solid #E3E9EB;
	min-height: 750px;
}
	#text p { 
		color: #45505E;
		line-height: 1.8em;
		margin-top: 30px;
		font-family: 'Merriweather', serif;
		font-weight: 300;
	}

#text .text_nav { width: 100%;
			padding: 12px 12px 20px 12px;
			min-height: 53px;
			border-bottom: 0px solid #ddd;
			background: #fff;
			border-bottom: 1px solid #E3E9EB;
			text-align: center;
		
			color: #ccc;
 }
 	#text .text_nav:last-child {
			border-bottom: 0;
			border-top: 1px solid #E3E9EB;
			
 	}


/* TipTips */

.k_icon {  }

/* Sidetall */

a.sidetall {
	text-decoration: none;
	position: absolute;
	left: 14px;
	margin-top: -30px;
	display: block;
	width: 24px;
	text-align: right;
}

/* Font resize */

/*
#text #font_resizer { width: 85px; float:right; margin-top: -35px; margin-right: -10px;}
#text #font_resizer a { font-family: georgia, garamond, serif; border: 1px solid #ddd; padding:3px 6px; margin:2px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; text-align:center; text-decoration:none; }
#text #font_resizer a:hover { border: 1px solid #bbb; }

#text #font_resizer a.active_resize { border: 1px solid #bbb; background:none; color:#777; }

#text #font_resizer a.resize_small  { font-size: 1.0em; line-height:1.4em; }
#text #font_resizer a.resize_medium { font-size: 1.3em; line-height:1.5em;}
#text #font_resizer a.resize_large { font-size: 1.65em; line-height:1.5em; padding: 3px 7px 2px 7px;}

#text p.resize_small  {font-size: 1.5em; }
#text p.resize_medium {font-size: 1.7em; }
#text p.resize_large {font-size: 1.9em; }
*/
#text p  {font-size: 17px; }

/* spesielt for enkelte bker */
#text .docTitle, #text .docDate, #text .byline  {font-family: georgia, garamond, serif; font-size: 1.0em; line-height:1.5em;}
#text .authorNoteMarginal { color: #999; font-size: 14px; padding: 0px 5px; }
#text .asterisk { text-align:center; font-size: 1.2em;}

#text table {color: #45505E; font-family: 'Merriweather', serif; font-weight: 300; font-size: 1.0em; line-height:1.5em; border: 1px solid #fff; margin: 15px 0;}
#text table tr { color: #45505E; font-family: 'Merriweather', serif; font-weight: 300; border: 1px solid #fff;}
#text table td { color: #45505E; font-family: 'Merriweather', serif; font-weight: 300; border: 1px solid #fff; padding:5px;}
#text ul {line-height:1.8em; color: #45505E; font-family: 'Merriweather', serif; font-weight: 300;}

/* HB 21102010 */
#text span.additions {  }
#text span.hand1 { color:#8B4513; }
#text span.hand2 { color:#CD853F; }
#text span.marginalCorrMark { border-top:thin solid; border-left:thin dotted; border-right:thin dotted; }
#text span.overstrike { text-decoration: line-through; }
#text span.sicSubst { border-top:thin solid; border-left:thin dotted; border-right:thin dotted; }
#text span.sigla { font-style: italic; }

/* drama */
#text ul.castList { margin-bottom:2ex; }
#text li.castItem { list-style-type:none; width:50%; }
#text li.castItemInCastGroup { border-left: thin solid; list-style-type:none; padding-left:3pt; text-indent:1em; width:70%; }
#text li.castGroup { list-style-type:none; width:70%; }
#text .role {}
#text li.roleDescInCastGroup { font-style: italic; list-style-type:none; }
#text .roleDesc { font-style: italic; }
#text .set { text-align:center; }
#text .set:first-letter { font-size: 200%; vertical-align:-25%; }
#text .sp { font-family: georgia, garamond, serif; margin-bottom:2ex; }
#text .speaker { font-size: 11pt; font-weight: bold; }
#text .stage { font-family: georgia, garamond, serif; font-size: 11pt; line-height: 18pt; font-style:italic; }
#text .stageSp { font-family: georgia, garamond, serif; font-size: 11pt; line-height: 18pt; font-style:italic; }
#text .stageSpeaker { font-family: georgia, garamond, serif; font-size: 11pt; font-style:italic; }
#text .stageLabel {  }

/* dikt, henholdsvis strofe og verslinje */
#text .stanza { margin-bottom: 2ex; margin-left:1.5em; margin-top: 2ex; }
#text .verseLine {  }

#text blockquote {
	padding: 0px 0px 0 15px;
	margin: 0 0 20px;
}

/* kommentar, variant span*/
#text span.commentary {background-color:orange; color:#fff; display:inline-block; display:none;}
#text span.criticalApp {background-color:pink; color:#fff; display:inline-block; display:none; } /* variant */

#text span.origPage {font-size: 10px; color: #bbb;}
#text span.lineNum {font-size: 10px; color: #bbb; display:inline-block; margin-left: -28px; width: 20px; margin-right: 8px; text-align: right; height:20px;}

/* Facsimile view */ 

#text .facsimile_internal { display: none; cursor:pointer;}
#text .facsimile_external { display: none; cursor:pointer; }

@media (min-width: 980px) {

	#text .facsimile_internal, #text .facsimile_external { display: block; position: relative; width: 100%; height: 0px; position: relative; }

}
	#text .facsimile_internal .facsimile_btn, #text .facsimile_external .facsimile_btn {    
	content: "";
    background-image: url(http://www.bokselskap.no/wp-content/themes/bokselskap2/img/camerabook.svg);
    background-size: 35px;
    float: right;
    display: inline-block;
    opacity: 0.8;
    transform: translateX(30px);
    border: 0px solid rgba(69, 80, 94, .8);
    border-radius: 5px;
    padding: 5px;
    width: 50px;
    height: 60px;
    cursor:pointer;
    background-repeat: no-repeat;
    background-position: 8px 17px;
}
		#text .facsimile_internal:hover:after, #text .facsimile_external:hover:after {    
			cursor: pointer;
			opacity: 1;
		}

#facsimiles .facsimile_new_tab, #facsimiles .facsimile_close {  
	position: absolute;
	z-index: 100;
	top: 20px; right: 80px;
	padding: 5px 8px;
	box-shadow: rgba(0,0,0,.2) 1px 0px 2px;
	border-radius: 5px;
	background: rgba(255,255,255,0.8);
}
	#facsimiles .facsimile_close {
		right: 20px;
	}

#facsimiles { display: none; }
#facsimiles .facsimile_box { max-width:100%; position: absolute;
	padding: 3px;
	z-index: 1;
    background: #fff;
    border: 1px solid #BEC6C9;
    box-shadow: rgba(0,0,0,.1) 1px 2px 10px;
    border-radius: 2px;}
	#facsimiles .facsimile_box .facsimile { width:100%; margin: 0; z-index: 100; }

	#facsimiles .facsimile_box:before {    
	content: "";
    position: absolute;
    top: 35px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    left: -15px;
    display: block;
    background: #fff;
    border: 1px solid #BEC6C9;
    box-shadow: rgba(0,0,0,.1) 1px 2px 10px;
    border-radius: 5px;
    padding: 5px;
    width: 80px;
    height: 80px;
}
	#facsimiles .facsimile_box img {
		position: relative;
	}

	#facsimiles .facsimile_box:after {    
	content: "";
    position: absolute;
    top: 35px;
    left: 0px;
    z-index: 0;
    display: block;
    background: #fff;
    width: 80px;
    height: 80px;
}

body.facsimile_view .container {
    max-width: 1400px;
}

@media (min-width: 1400px) {
	
	body.facsimile_view .container {
	    width: 1400px !important;
	}

}

#text .forfatterskap {font-weight:normal; font-size:2.1em; margin-bottom: 6px;}
#text .forfattet_bok {width:85%; border: 1px solid #ccc; padding: 12px 10px 12px 10px; border-radius: 5px; -moz-border-radius:5px; margin-bottom:10px;}
#text .forfattet_bok a {font-weight:normal; font-size:1.9em; font-family: georgia, garamond, serif;}
#text .forfattet_bok em {font-weight:normal; font-size:1.4em;}
#text .forfattet_bok h4 {font-weight:normal; font-size:1.9em; position:relative; display:block; font-family: georgia, garamond, serif; color: #555; margin-top:-3px; margin-bottom:-2px;} 
#text .forfattet_bok h4 em {font-weight:normal; font-size:0.7em; font-family: arial, myriad pro, sans-serif;}
#text .forfattet_bok p {margin-bottom:0; padding-bottom:0;}

h2.page_title {  }


/* innrykk i tekstene */

.indent_1 { display:block; text-indent:1em; }

.indent_2 { display:block; text-indent:2em; }

.indent_3 { display:block; text-indent:3em; }

/* Sidebar tekstvisning */


#bok_sidebar { text-align: left; min-height:700px; } 

#bok_sidebar p { font-size: 17px; margin-top: 5px; } 

	
		
		/* Tittel boks navigasjon */
		
		.navigasjon_next {
			opacity: 0.25;	
			display:block;
			width:70px;
			margin: 0px 0 0 0;
			padding-top:6px;
			height: 30px;
			color: #666;
			float: right;
			position: relative;
			border-radius: 4px;
			text-align: left;
			font-size: 13px;
		}
		
		.navigasjon_next:hover {
			opacity: 0.9;
			text-decoration: none;
		}

		.navigasjon_next:active {
			margin-right: -2px;
		}

		.navigasjon_next:hover .arrow_text, .navigasjon_previous:hover .arrow_text {
			opacity: 1;
		}

		.arrow_bar { 
			position: absolute;
			top: 13px;
			right: 13px;
			display: block;
			height: 4px;
			background: #45505E;
			width: 15px;
			border-radius: 1px;
 		}

		.arrow_text { 
			opacity: 0;
 		}

		.arrow_arrow { 
			border-radius: 1px;
			position: absolute;
			top: 7px;
			right: 5px;
			display: block;
			height: 8px;
			width: 8px;
			border-left: 10px solid #45505E;
			border-bottom: 8px solid transparent;
			border-top: 8px solid transparent; 
		}
		
		.navigasjon_previous {
			
			opacity: 0.25;	
			display:block;
			width:140px;
			padding-left: 34px;
			margin: 0px 0 0 0;
			padding-top:6px;
			height: 30px;
			color: #666;
			float: left;
			position: relative;
			border-radius: 4px;
			text-align: left;
			font-size: 13px;
		}
		
		.navigasjon_previous:hover {
			opacity: 0.9;
			text-decoration: none;
		}

		.navigasjon_previous:active {
			margin-left: -2px;
		}

		.navigasjon_previous .arrow_bar { 
			position: absolute;
			top: 13px;
			left: 13px;
			display: block;
			height: 4px;
			background: #45505E;
			width: 15px;
 		}

		.navigasjon_previous .arrow_arrow { 
			position: absolute;
			top: 7px;
			left: 5px;
			display: block;
			height: 8px;
			width: 8px;
			border-left: 0;
			border-right: 10px solid #45505E;
			border-bottom: 8px solid transparent;
			border-top: 8px solid transparent; 
		}
		
		#td_previous {
			width: 30px;
		}
		
		#td_previous_tom {
			width: 0px;
		}
		
		.td_tittel {
			border-left: 1px solid #ccc;
			border-right: 1px solid #ccc;
			width:183px;
			vertical-align:middle;
			font-size: 16px; font-weight: bold;
			padding-left: 10px;
			
		}
		
		.first {
			width:224px;
			vertical-align:middle;
			border-left: 0px solid #ccc;
			font-size: 1.6em;
			padding-left: 0px;
		}
		
		.last {
			border-right: none;
			width:173px;
			vertical-align:middle;
			font-size: 1.6em;

		}
		
		#td_next {
			width: 35px;
			
		}
	
	/* Innholdsfortegnelse */

	#toggle_toc {  margin-left: -12px;  position: absolute; top: 21px; left: 50%;  opacity: 0.20; }
	#toggle_toc span { width: 25px; border-radius: 3px; background: #45505E; height: 4px; display: block; margin: 0 0 3px 0;}
	#toggle_toc:hover { opacity: 0.65; }

	#innhold_liste {display:none; border-top: 0px solid #ddd; padding: 5px 0 3px 0;}
		#innhold_liste ul {list-style-type: none; -webkit-padding-start: 20px;  text-align: left; margin-top: 60px; font-size: 1.8rem;}
	
	.current_page_item a:link, .current_page_item a:visited {
		text-decoration: none;
		color: #45505E;
	}



	/* Sidebar */

	#bok_sidebar ul { padding-left: 20px; }

	#last_ned, #del, #faksimiler, #utgitt_av, #verkspresentasjon, #forfatterpresentasjon {
		float: left;
		padding: 15px 0 10px 0;
		margin: 0 0 0px 15px;
		border-bottom: 1px dashed #BEC6C9;
		border-top: 1px dashed #fff;
		width: 100%;
	}

		#last_ned h4, #del h4, #utgitt_av h4, #verkspresentasjon h4, #forfatterpresentasjon h4 {
			padding-bottom: 0px;
			margin-bottom:12px;
			font-weight:normal;
			line-height: 1.3em;
		}

		#last_ned a, #del a, #utgitt_av a, #verkspresentasjon a, #forfatterpresentasjon a {
	
			font-size: 15px; 
			
		}
		

	/* Utgitt av */
	
	#utgitt_av {
		margin-top: 45px;
		border-top: 0;
		padding-top: 0px;
	}
	
	#utgitt_av p {
		font-size: 15px;
		margin-top: 0px;
		font-style:italic;
	}
	
	/* Forfatterpresentasjonsboks */

	#forfatterpresentasjon {


	}

	
	
	#forfatterpresentasjon #forfatter_bilde_container {
	
	
		
	}
	
		#forfatterpresentasjon #lite_forfatter_bilde {
			
			padding:2px;
			display: none;
			background: #fff;
			-moz-border-radius: 3px;
			border-radius: 3px;
			border: 1px solid #BEC6C9;
		}
	
	#forfatterpresentasjon #forfatter_tekst_container {
	
		
	}
	
		#forfatterpresentasjon p {
			
		}
	
	/* Verkspresentasjonsboks */

	#verkspresentasjon {
		padding-bottom: 30px;
	}
	

				/*#verkspresentasjon h4:after {
					height: 8px; width: 8px; content: ''; 
					display: block; border-top:  5px solid #444; 
					border-left:  5px solid transparent; 
					border-right:  5px solid transparent; 
					float: right; margin-top: 5px;
					margin-right: 12px;
				}
*/		
		#verkspresentasjon p {
			
			margin-bottom:10px;
		}
		
			#verkspresentasjon p a {
				font-size: 1.0em;
				
			}
		

		
		#verkspresentasjon_under {
			display:none;
			
		}
		
		
			
	/* Last ned boks */

	#last_ned {

	}
		
		#last_ned p {
		
			margin-bottom:10px;
		}
		
		#last_ned a {
			font-size: 1.0em;
			
		}
		
		/* Del siden */

		#del {
			border-bottom:0; 
		}
		
		#del p {
		
			margin-bottom:10px;
		}
		
		#del a {
		
			
		}
		
		
		/* FADE */
		
		#fade {
			opacity: 1;
		}

/* Forfattere */		

.feature_header {
	border-bottom: 0px solid #ddd;
	padding-bottom: 20px;
	margin-bottom: 0px;
}

#forfatter_sidebar_right { padding-top: 30px; }
	
  .author_list ul { padding-left: 0; padding-top: 30px; }
  .author_list ul li {  border: 0; float: left; min-width: 227px; height: 72px;  list-style-type: none; }
    .author_list ul li a { padding: 25px 0px 25px 48px; height: 72px; display: block; }
    .author_list ul li a img { height: 50px; width: 50px; margin-right: 10px; border-radius: 8px; position: absolute; top: 9px; left: 0; -webkit-filter: grayscale(100%); }

.template_main { background: #fff; padding: 50px 0; }
	.template_main p { font-size: 1.1em; font-family: 'Merriweather', georgia, serif; line-height: 1.7em; }
.template_bottom { padding: 40px 0; }

#sidebar { padding-top: 5px; }
#sidebar ul { list-style-type: none; padding: 0; }
#sidebar ul li a { display:block; padding: 12px 15px; border-top: 1px dashed #BEC6C9; }



/* Responsiveness */

@media (max-width: 991px) { /* tablet (small) and below */

  #search {
	width: 129px;
  }

  .home .books { margin-left: 18px; }
  #books_container .books { margin-left: 12px; }
  #search-results ul.books.book_hits li.bok:nth-child(4n) { padding-right: 12px; width: 242px; }
  #search-results ul.books.book_hits li.bok:nth-child(3n) { padding-right: 0; width: 214px; }
  .home .books li.bok.visible._4 { display: none; }
  .home .books li._3 { width: 230px; }
  .books li.bok { width: 252px; }
  .bottom #front_authors ul li {  padding-left: 0; }
  body { margin-left: -7px; }



}

@media (min-width: 991px) { /* desktop (small) and below */

	.books li.visible._4 { width: 214px; padding-right: 0; }
	.books li a:hover { text-decoration:none; -webkit-transform: rotate(0.5deg); margin-top: -7px; box-shadow: rgba(0,0,0,0.15) 4px 10px 18px, inset rgba(0,0,0,0.2) 5px 0px 0px, inset rgba(0,0,0,0.5) 0px -8px 0px;}
	.books li.brev a:hover { -webkit-transform: rotate(0.5deg); margin-top: -7px; box-shadow: rgba(0,0,0,0.15) 4px 10px 18px;}
      

}

@media (min-width: 768px) {
	.navbar > .container .navbar-brand {
		margin-left: -30px;
	}

	.container > .navbar-header, .container > .navbar-collapse {
		padding-right: 0;
	}


}


@media (min-width: 768px) and (max-width: 991px) {
	.navbar > .container .navbar-brand {
		margin-left: -25px;
		text-shadow: rgba(0,0,0,1) 0 -1px 0px;
	}

	#last_ned, #del, #faksimiler, #utgitt_av, #verkspresentasjon, #forfatterpresentasjon {
		margin-left: 0;
	}

	.container > .navbar-header, .container > .navbar-collapse {
		padding-right: 15px;
	}



	.container > .navbar-header, .container > .navbar-collapse {
		margin-right: -15px;
	}

	
	.books li.visible._3 { width: 214px; padding-right: 0; }
	
	
	.container {
		padding-left: 15px;
	}
	.navbar-form .form-control {
		display: inline-block;
		width: 100px;
	}

}

@media (max-width: 767px) { /*  below tablets */
	#text .text_nav {
    	border-top: 1px solid rgb(227, 233, 235);
	}
	#text .text_nav:last-child {
		border-bottom: 1px solid #E3E9EB;
		border-top: 1px solid #E3E9EB;
	}
	#last_ned, #del, #faksimiler, #utgitt_av, #verkspresentasjon, #forfatterpresentasjon {
		margin-left: 0;
	}
	#utgitt_av p {
		margin-top: 20px;
	
	}
	.navbar {  height: 75px; }
	.navbar-brand {
		margin-bottom: 0px;
	}
	.navbar-fixed-top .navbar-inner {
		padding-right: 20px;
		padding-left: 40px;
	}
	#search { width: 100%; }

	.navbar-toggle { margin-top: 20px; }

	.top {
		padding-top: 30px;
	}
	.home .top {
		min-height: 130px;
	}
	.top, .bottom, .about, .footer {
    	padding-right: 20px;
    	padding-left: 20px;
  }

  h1 {
	font-size: 18px;
  }

  .top p {
	font-size: 17px;
  }

 	.navbar * { -webkit-transition: none;
	-moz-transition: none;
	transition: none;
	 }
  .navbar .nav > li > a {
	background: #3E4650; padding: 31px 15px 24px 35px; border-bottom: 1px solid #666;
  }
  	.navbar .nav > li:last-child > a {
		border-bottom: 0;
  	}
  	.collapse {
	  position:relative;
	  height:0;
	  overflow:hidden;
	  -webkit-transition:height 0s ease;
	  -moz-transition:height 0s ease;
	  -o-transition:height 0s ease;
	  transition:height 0s ease;

	}
	.collapse.in {
	  height:auto;
	}

  .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
	color: #fff;
	background: #3E4650;
	}
  .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
		background: #3E4650;
	}
	.navbar-nav {
		margin: 0px -15px;
	}
	.navbar-form {
		position: absolute;
		top: 368px;
		left: 20px;height: 80px;
		padding-left: 19px;
		background: #3E4650; border: 0; width: 100%;
	}

	.navbar-form input.pull-right {
		float: left !important;
	}

	#filtrer_bokene {
		margin-top: 15px;
	}

	.navbar-default .navbar-nav > .active > a:after, body.page-template-boker-page-php #li_boker:after, body.page-template-enkelthjelp-page-php #li_hjelp_om:after, body.page-id-190 #li_tidslinje:after, body.page-template-forfattere-page-php #li_forfattere:after, body.page-template-enkeltforfatter-page-php #li_forfattere:after, body.page-template-bok-kapittel-page-php #li_boker:after {
		display: none;
	}
	.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus, body.page-template-boker-page-php #li_boker, body.page-template-enkelthjelp-page-php #li_hjelp_om, body.page-id-190 #li_tidslinje, body.page-template-forfattere-page-php #li_forfattere, body.page-template-enkeltforfatter-page-php #li_forfattere, body.page-template-bok-kapittel-page-php #li_boker {
		height: auto;
	}

	.bottom h4 {
		margin-top: 10px;
	}

	.bottom {
		padding-top: 20px;
	}

	#text {
		border: 0;
		margin-top: 10px;
		margin-bottom: 0px;
		margin-left: -15px;
		box-shadow: none;
		margin-right: -22px;
	}

}

/* Search */

#search_form .glyphicon { 
  position: relative;
  opacity: 0.6;
  top: 21px;
  right: -206px;
  color: #fff; }

#search-results .row { margin: 40px 0; border-bottom: 1px dashed #BEC6C9;  }
#search-results .book_with_chapters { padding: 15px 25px 5px 25px; background: rgba(0,0,0,0.03); border-radius: 10px; margin-bottom: 35px; border-bottom: 2px solid rgba(0,0,0,0.03); }

#search-results .author_list { padding: 0 0 30px 0; margin: 0 0 40px 0px; }
#search-results .author_list li {margin: 0px 15px 15px 0px; background: transparent; border: 1px solid #ddd;}
	#search-results li:nth-child(1) { margin-left: 0; }
	#search-results .author_list li a { padding-left: 59px; color: #428bca; }

#search-results .search_excerpt { display:none; width: 100%; padding: 10px 20px 20px 20px; margin: 18px 0; border-bottom: 2px solid #ddd; font-size: 13px; background: #fff; border-radius: 5px; }
	#search-results .search_excerpt:nth-child(1) { display: block; }
	#search-results .search_excerpt:nth-child(2) { display: block; }
	#search-results .search_excerpt:nth-child(3) { display: block; }
	#search-results .search_excerpt:nth-child(4) { display: block; }
		#search-results .search_excerpt strong { background: rgb(255, 231, 110); }

	#search-results .show-all-excerpts { margin-bottom: 10px; display: block; }

	#search-results	.arrow-left {
	  position: absolute;
	  top: 30px;
	  left: -15px;
	  width: 0;
	  height: 0;
	  border-top: 15px solid transparent;
	  border-bottom: 15px solid transparent;
	  border-right: 15px solid rgba(0,0,0,0.03);
	}
