/* select2 */
.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none;}.select2-container .select2-selection--single .select2-selection__rendered{display:block;overflow:hidden;padding-left:8px;padding-right:20px;text-overflow:ellipsis;}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px;}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none;}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;}.select2-container .select2-search--inline{float:left;}.select2-container .select2-search--inline .select2-search__field{border:none;font-size:100%;margin-top:5px;}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051;}.select2-results{display:block;}.select2-results__options{list-style:none;margin:0;padding:0;}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none;}.select2-results__option[aria-selected]{cursor:pointer;}.select2-container--open .select2-dropdown{left:0;}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0;}.select2-search--dropdown{display:block;padding:4px;}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box;}.select2-search--dropdown.select2-search--hide{display:none;}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0);}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px;}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px;}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999;}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px;}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0;}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left;}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto;}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default;}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none;}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px;}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;}.select2-container--default .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px;width:100%;}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left;}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px;}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px;}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px;}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder{float:right;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto;}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default;}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none;}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0;}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa;}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto;}.select2-container--default .select2-results__option[role=group]{padding:0;}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999;}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd;}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em;}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white;}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px;}.select2-container--classic .select2-selection--single{background-color:#f6f6f6;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #ffffff 50%, #eeeeee 100%);background-image:-o-linear-gradient(top, #ffffff 50%, #eeeeee 100%);background-image:linear-gradient(to bottom, #ffffff 50%, #eeeeee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb;}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px;}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px;}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999;}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);background-image:-o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);background-image:linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0);}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0;}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left;}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto;}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb;}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none;}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px;}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #ffffff 0%, #eeeeee 50%);background-image:-o-linear-gradient(top, #ffffff 0%, #eeeeee 50%);background-image:linear-gradient(to bottom, #ffffff 0%, #eeeeee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eeeeee 50%, #ffffff 100%);background-image:-o-linear-gradient(top, #eeeeee 50%, #ffffff 100%);background-image:linear-gradient(to bottom, #eeeeee 50%, #ffffff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0;}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb;}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px;}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none;}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px;}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px;}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto;}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb;}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0;}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0;}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;}.select2-container--classic .select2-dropdown{background-color:white;border:1px solid transparent;}.select2-container--classic .select2-dropdown--above{border-bottom:none;}.select2-container--classic .select2-dropdown--below{border-top:none;}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto;}.select2-container--classic .select2-results__option[role=group]{padding:0;}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey;}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:white;}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px;}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb;}

/* Site */
body {
  background-color: white;
	min-width: 610px;
  margin: 0;
  font: 10px 'times new roman', serif;
}

#the-letter sup {
  font-size: 12px;
  line-height: 13px;
}

input {
  font: 12px arial, sans-serif;
}

select {
  font: 12px arial, sans-serif;
}


input.wide {
  width: 260px;
}


#container {
	max-width: 990px;
	margin: 0 auto;
}

form { margin: 0; }

img { border-width: 0; }

.underlined { text-decoration: underline; }

.body-container ul {
  padding-left: 16px;
  margin-left: 0;
}

.body-container td ul {
  margin-left: 0;
}

span.highlight {
  color: inherit;
  background-color: #BFE7FF;
  font-weight: inherit;
  text-decoration: inherit;
}

span#letter-translation.highlight {
  background-color: inherit;
}

span.highlight.only {
  background-color: inherit;
}

span.highlight.only a, span.highlight.only a:hover, span.highlight.only a:active {
  background-color: #BFE7FF;
}

/* header */

header {
  position: fixed;
	top: 0;
	left: 0;
  width: 100%;
  z-index: 777;
  background-color: white;
  border-bottom: 2px solid #CCC;  
  text-transform: uppercase;
}     


.touch header {
  position: absolute;
}     

.touch .body-container, .touch .tmpl-index {
  padding-top: 6em;
}
                  

.with-translation header h1, .translated-ltr header h1 {
	padding-top: 24px;
}

.with-translation #page-container {
	margin-top: 12em;
}

header .wrapper {  
	position: relative;
  max-width: 990px;
	min-width: 610px;
  background-color: white;
  margin: 0 auto;
  padding: 20px 0 8px 0;
  text-align: center;
}

#translate, #google_translate_element {
  position: absolute;
  right: 40px;  
	top: 4px;           
	color: #999;
  font: normal 10px/12px verdana, arial, sans-serif;
	text-transform: none;
  text-decoration: none;
}                       

#translate:hover {
	background-color: #f1f1f1;
	color: #666;  
	text-decoration: underline;	
}


#google_translate_element {
  display: none;
}


header h1 {
  font-size: 18pt;
  line-height: 1em;
	font-family: 'Old Standard TT', 'times new roman', serif;
  letter-spacing: 5pt;
  font-weight: 400;
  margin: 0;
}        
         
header h1 em {        
  letter-spacing: 0pt;
	font-size: 14pt;
	margin-left: -4px;
	margin-right: 4px;
}

header .wrapper h1 a, header .wrapper h1 a:visited {
	color: #000;
}

header nav {
  margin-top: 0.8em; 
}

header nav.submenu {
  margin-top: 0.8em;
}

header nav a {
  font-size: 11pt;
  line-height: 1.4em;
	font-family: 'Old Standard TT', 'times new roman', serif;
  list-style: none;
  margin: 0 0.6em;
  letter-spacing: 0.1em;
	font-weight: 400; 
}

header nav.submenu {
  margin-top: 0.8em;
}

header nav.submenu a {
  font-size: 15px;
  font-style: italic;
  display: inline;
  margin: 0 0.4em;
  letter-spacing: normal;
  text-transform: none;
}

header .wrapper a.current, header .wrapper a.current:visited {
  background-color: inherit;
  color: #C39431;
}

header .wrapper a, header .wrapper a:visited {
  text-decoration: none;
  background-color: transparent;
  color: #666;
}

header .wrapper a:hover {
  background-color: inherit;
  color: #000;
}

/* page */

#page-container {
  margin: 10em auto 0 auto;
  max-width: 990px;
  min-width: 600px;
  padding: 0 40px;
}

.person h1 {
  border-bottom: 1px solid #CCC;
}

.tight-column {
  width: 60%;
  margin: 0 auto;
}

.tight-column table {
  margin: 1em 0;
  width: 100%;
}

.person table {
  margin: 0 0 1em 0;
  width: 100%;
}

.tight-column table td {
  border: 1px solid #CCC;
  width: 50%;
  padding: 2px;
}

table.with-fixed {
  table-layout: fixed
}

table.with-borders td {
  border: 1px solid #CCC;
  padding: 2px;  
  width: inherit;
}

.page {
  margin: 0 20px;
}

.one-column {
  width: 60%;
}

.page a.cc {
  color: #c39431;
  text-decoration: none;  
  font-style: italic;
}

.page a.cc:hover {
  background: none;
  text-decoration: underline;  
}

.page ul.details {
  margin: 1em 0 1em 0;
  padding: 0;
  list-style: none;
  width: 60%;

}

.page ul.details .translator {
  color: #999;
  font-style: italic;
}

.page ul.details .resume {
  font-style: italic;
  color: #666;
  margin: 1em 0 0 0;
}

/* person */

.person-info {
  float: right;
  width: 200px;
  padding: 4px;
  border: 1px solid #CCC;

  margin: 0 0 5px 40px;
}

.person-info .portrait {
  text-align: center;
  margin-bottom: 0.6em;
}

.person-info .portrait ul {
  margin: 0.6em 0 0 0; 
  padding: 0;
  text-align: left;
  list-style: none;
  display: none;
  font-size: 10px;
}

.person-info .portrait ul label {
  display: inline;
}

.person-info .portrait li.title {
  margin-top: 0.4em;
}

#invno-image {
  display: none;
}

.person-info label {
  margin-top: 0.6em;
}

.person-info h2 {
  margin: 0;
  font-size: 1em;
}

.person-info hr {
  margin: 16px 20px;
  border-width: 0;
  height: 1px;
  color: #CCC;
  background: #CCC;
}


.person-info td {
  vertical-align: top;
  padding-top: 4px;
}

.person-info td.val {
  white-space: nowrap;
  text-align: right;
}

/* Table of Content */

.TableOfContent {
  border: 1px solid #CCCCCC;
  float: left;
  padding: 0.5em 1em;
  margin: 0 0 1em 0;
  width: 40%;
}

.TableOfContent ul {  
  padding: 0;
  margin: 0; 
  list-style: none; 
}

.TableOfContent li {
  margin: 2px 0;
}

.TableOfContent a {
  text-decoration: none;
}

a.toc {
  position: relative;
  top: -10em;
  float: left;
}

.with-table h3 {
  clear: both;
}

.TableOfContent .more + ul {
	display: none;
	margin-left: 20px;
}

span.more + div.more {
	display: none;
}

/* Inner Header Container */

.body-container { 
  position: relative;
  padding-top: 3em;
  font: 11px/15px verdana, sans-serif;
}

.body-container h1 {
  margin: 0 0 0.4em 0;
  padding-bottom: 0.1em;
  font: normal 2em arial, verdana, sans-serif;
}

.body-container h2, .seal-info h2 {
  font: bold 14px arial, verdana, sans-serif;
  margin: 1.6em 0 0.4em 0;  
}

.body-container .person-info h2 {
  margin-top: 0px;
}

.body-container h3, .seal-info h3 {
  font: bold 14px arial, verdana, sans-serif;
  margin: 1.6em 0 0.4em 0;
}

#works-period label.as-h {
  font: bold 14px arial, verdana, sans-serif;
  color: #000;
}


.body-container h4, .seal-info h4 {
  font: bold 12px arial, verdana, sans-serif;
  margin-bottom: 0;
}

.body-container h5, .seal-info h5 {
  font: bold 12px arial, verdana, sans-serif;
  margin: 0;
}

.search-section h3 {
  margin: 0 0 4px 0;
  display: block;
}

#works-period {
  margin-top: 20px;
}

#works-period td {
  vertical-align: middle;
  padding-right: 4px;
}

#works-period td.with-space {
  padding-right: 40px;
}

.search-section table {
  border-collapse: collapse; 
  border-spacing: 0;
}

.search-section select {
  max-width: 280px;
}

.search-section select.fixed {
  min-width: 280px;
}


.search-section select.fixed-short {
  min-width: 120px;
}


.body-container p.t-t-box {
  margin: 0;
}

.body-container p.t-ss-box {
  margin: 0 0 12px 0;
}

.body-container p {
  margin: 0 0 1em 0;
}

.page-ui a, form a {
  background-color: transparent;
  color: #C39431;
}

.result-info {
  background-color: #E1E1E1;
  color: black;
  margin: 1em -10px -1px -10px;  
  line-height: 18px;
  padding: 4px 0 0 0;
  border-top: 1px solid #CCC;
}


/* page-ui */

.page-ui {
  border-bottom: 1px solid #CCC;
  margin-bottom: 1em;
}

.search-ui {
  border-bottom: 1px solid #CCC;
  margin-bottom: 1em;
}


.search-ui {
  padding: 0;
}

.page-ui {
  padding: 6px 10px 4px 10px;  
  text-align: center;
}

.page-ui, .inner-nav, table.pagination {
  background-color: inherit;
  color: #666;
}

p.info {
  color: #666;
}

.page-ui span {
  font-style: italic;
}

table.pagination {
  float: right;
  width: 28%;
  text-align: center;
}

.inner-nav {
  position: relative;
  float: right;
  line-height: 2.4em;
  width: 210px; 
  text-align: center
}

.inner-nav .next, .inner-nav .previous {
  position: absolute;
}

.inner-nav .next {
  right: 0;
  top: 5px;
}

.inner-nav .previous {
  left: 0;
  top: 5px;
}


a.previous, a.next,
td>a.previous, td>a.next
 {
  background: transparent url(../images/icons.gif) no-repeat 0 0 scroll;
  margin: 0 4px;
  font-size: 15px;
  line-height: 15px;
  vertical-align: bottom;
}


a.previous img, a.next img { vertical-align: text-bottom; }
a.next, td>a.next { background-position: -30px 0px; }
a.next:hover, td>a.next:hover { background-position: -45px 0px; }
a.previous:hover,td>a.previous:hover { background-position: -15px 0px; }


a.pagination {
  padding: 0px 2px;
  background-color: inherit;
  color: #CCC;
  border: 1px solid #E1E1E1;
}

a.pagination { text-decoration: none; }

a.pagination:hover {
  background-color: #CCC;
  color: white;
}

.inner-nav a {
  background-color: inherit;
  color: #CCC;
  text-decoration: none;
  font-style: normal;
}
.inner-nav a:hover { text-decoration: underline; }

a.chrono, 
a.chrono:visited, 
a.current_chrono {
  font: normal 12px 'Old Standard TT', 'times new roman', serif;


  text-decoration: none;
  padding: 0px 2px;
}

a.chrono, 
a.chrono:visited {
  color: #C39431;
  background-color: transparent;
}

a.chrono:hover,
a.current_chrono, 
a.current_chrono:visited, 
a.current_chrono:hover {
  color: white;
  background-color: #C39431;
  text-decoration: none;
}

.ui a.chrono, .ui a.current_chrono {
  font: italic 11px verdana, sans-serif;
  padding: 1px 2px 2px 2px;
}

/* Letter */

.letters {
  margin: 0 -10px;
  position: relative;
}

.letter-preview {
  position: relative;
  width: 210px;
  height: 15em;
  float: left;
  margin: 0 0 10px 10px;
  border: 1px solid #CCC;
  padding: 4px;
  overflow: hidden;
}

.letter-preview span {
	white-space: nowrap;
}

.letter-preview p {
  margin: 0 0 0.6em 0;
}

.letter-preview label, .person-info label {
  display: block;
}


/* SEARCH */

.search-section {
  padding: 8px 10px;
  border-bottom: 1px solid #CCC;
  background-color: white;
  color: inherit;
}

.works p {
  margin: 0;
}


.sort {
  font-size: 10px;
  padding: 4px 10px;
}

.sort input {
  vertical-align: text-bottom;
}

.search-section span.pair {
  float: left;
  margin: 0 20px 0 0;
}

.id-selectors {
  margin-top: -6px;
}

.id-selectors td {
  padding: 0 20px 0 0;
}

.id-selectors td.label {
  padding: 6px 20px 2px 0;
  vertical-align: bottom;
}


.small {
  font-size: 10px;
  color: #999;
}

/* */

label {
  font: 10px/12px verdana, arial, sans-serif;
  background-color: inherit;
  color: #666;
}

.search-section label {
  background-color: inherit;
  color: #333;  
}

.help, .tips, .works p {
  font: 10px/12px verdana, arial, sans-serif;
  background-color: inherit;
  color: #666;  
}

.sort-articles label {
  margin-left: 0.4em;
  color: #666;
}

.sort-articles {
  margin: 0 0 10px 10%;
  width: 85%;  
}

.body-container ul.articles, .body-container div.articles {
  margin: 0 0 0 10%;
  width: 85%;  
  list-style: none;  
  padding: 0;
}

.body-container div.articles ul {
  margin: 0;
  width: 100%;
  -webkit-columns: 3;
  -moz-columns: 3; 
  columns: 3;
  -webkit-column-gap: 10px;
  -moz-column-gap: 10px; 
  column-gap: 10px;
}

.body-container div.articles li {
  margin: 0 0 10px 0;
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
}

.body-container div.articles h2 {
  margin: 20px 0 10px 0;
}

.body-container div.articles li:first-child h2 {
  margin-top: 0;
}

.body-container div.articles a {
  
}

ul.articles li h2, ul.articles li h3 {
  margin: 0;
}

ul.articles li {
  margin: 10px 0;
}

ul.articles li.sub {
  margin-top: 20px;
}

ul.articles li+li.letter {
  margin-top: 30px;
}


ul.articles li.letter h2 {
  margin: 0;
}

.table-ui {
  background-color: inherit;
  color: #666;
  margin: 0 0 0.6em 0;
  font-size: 11px;
}


.table-ui input {
  display: inline;  
  margin-right: 4px;
}

.table-ui label {
  font-size: 11px;

  font-style: normal;
}

#comments {
  position: absolute;
  right: 0;
  width: 28%;
  font-size: 11px;
  line-height: 14px;
  z-index: 100;
}

#comments .comment {
	position: relative;
  background-color: #FFF4CB;
  padding: 4px 6px;
}

a.img, a.img:visited {
  color: #A00000;
  text-decoration: none;
}

a.img:hover {
  color: #A00000;
  text-decoration: underline;
  background-color: #FFE0E0;
}

.loading {
  font-style: italic;
  background-color: inherit;
  color: #333;
}

.tips {
  text-align: right;
  margin: 2px;
}

.tips a { 
  color: #666;
  background-color: inherit;
  text-decoration: none; 
}

.tips a:hover {
  background-color: #f1f1f1;
  color: #666;  
  text-decoration: underline;
}

.tips a:visited {
  background-color: inherit;
  color: #999;
}

/* table */

table {
  border: 0;
  border-spacing: 0;
  border-collapse: collapse;
}

table.person-body {
  border-collapse: collapse; 
  border-spacing: 0;
  margin: 0;
  padding: 0;
}

td.person-body-container, td.person-info-container {
  vertical-align: top;
  padding: 0;
}

td.person-info-container {
  width: 330px;
}

table#letter-ui {
  width: 28%; 
  margin-top: -8px;
}

table.letter {
  position: relative;
  width: 70%;
}

.letter th, .letter h5 {
  font: 10px/12px verdana, arial, sans-serif;
  background-color: inherit;
  color: #666;
}

.letter th {
  text-align: left;
  padding-top: 6px;
}

.letter h5 {
  margin: 0 0 1px 0;
}

.letter .col {
  width: 33%;
}

.letter ul {
  margin-top: 0;
}

.letter td {
  padding: 0 0 4px 0;
  border-bottom: 1px solid #CCC;
  vertical-align: top;
}

div.more {
  background-color: #FFF4CB;
  margin: 2px 10px 2px 0;
  padding: 2px 4px;
  font-size: 11px;
  line-height: 14px;
  max-height: 260px;
  overflow: auto;
}

div.more h4 {
  margin: 0 0.4em 0 0;
  font: bold 11px/14px verdana, sans-serif;
  float: left;
  clear: left;
}

div.more h4:after { content: ": "; }

h4.plain {
  font: normal 11px verdana, arial, sans-serif;
  margin: 0;
}

span.more {
  vertical-align: top;
  color: #666;
  margin: 0 0.2em 0 0.4em;
}

span.more a {
  font: 11px/12px monospace;
}

span.verdana a {
  font: 10px/11px verdana, sans-serif;
}

.tight, p.tight, .comment p { margin: 0; }

.double { border-bottom: 3px double black; }

.indented {	text-indent: 2em;}

.letter-content blockquote {
  margin: 0 0 -1em 2em;
}

.letter-content, .print {
  position: relative;
  width: 70%;
}





#letter-translation {
  display: block;
  width: 69.6%;
  text-align: right;
  line-height: 16px;
  padding-bottom: 1px;
}


.special-subject-content {
  position: relative;
  width: 60%;
}

.multi #the-letter {
  height: calc(100vh - 300px);  
  position: relative;
  z-index: 11;
}

#LetterContent {
  position: relative;
}

#LetterContent .mark {
  background: #2F7CB7;
  right: 0px;
  width: 11px;
  height: 6px;  
  position: absolute;
  z-index: 10;
}
  
.ps__rail-y:hover .ps__thumb-y {
  background: rgba(0,0,0,0.4);
}

.ps .ps__rail-y:hover {
  background-color: transparent;
}

.letter-content {
  font: 14px/22px 'times new roman', serif;
  margin: 0;
  border: 1px solid #E1E1E1;
  background-color: #F1F1F1;  
  color: inherit;

}


.letter-content .content {
  padding: 8px 16px 4px 10px;
}

.letter-content div.page {
  margin: 0;
  padding: 0;  
}


.letter-content div.page nav {
  font-weight: normal;
  margin: 0 0 11px 0;
  padding: 0;
  text-align: center;
  color: #666;
  font-size: 11px;
  height: 15px;
  font-family: verdana, sans-serif;
}





.letter-content div.page nav span {
  margin: 0 10px;
}

.letter-content table { width: 100%; }
.letter-content p { margin: 0 0 22px 0; }
.letter-content p.tight { margin: 0; }
.letter-content td {vertical-align: top;}

.spacer {
  color: #999;
  white-space: nowrap;
  font-weight: bold;
}

td.spacer {
  padding: 0;
}

.works {
  margin: 10px 0 10px 0;
}

.chronology-works {
  margin: 4px 0 0 0;
}


.chronology-works span {
  font: italic 10px verdana, sans-serif;
  color: #666;
}

td.related-works, .works, td.vaerker .chronology-works {
  font-family: monospace;
  font-size: 10px;
  line-height: 24px;
}

td.related-works img, .works img, .chronology-works img {
  vertical-align: text-top;
  margin-bottom: 6px;
}

table.fullsize {
  width: 100%;
  font-size: 0.9em;
}

.fullsize th {
  text-align: left;
  background-color: #999;
  color: white;
  font-weight: normal;
  padding: 3px 4px;
  border-top: 1px solid #F1F1F1;    
  border-bottom: 1px solid #CCC;  
  font-size: 13px;  
}

.fullsize td {
  padding: 8px 6px;
  background-color: #F1F1F1;
  border-bottom: 1px solid #CCC;
}

.fullsize td.dark {
  background-color: #E1E1E1;
  border-left: 1px solid #CCC;  
}

.fullsize td.date {
  border-right: 1px solid #CCC;  
}


/* columns */

div.columns {
  margin-left: 15%;
}

.columns a {
  text-decoration: none;
}

.columns a:hover {
  text-decoration: underline;
}

.columns ul {
  margin: 0;
  padding: 0;
  width: 33%;
  float: left;
}

.columns li {
  list-style: none;
  margin: 0 2em 0.6em 0;
}

table.columns {
  margin-left: 10%;
  width: 85%;
}

table.columns td {
  width: 33%;
  padding: 0 10px 10px 0;
  vertical-align: top;
}

/* footer */

footer {
  margin: 45px 0 10px 0;
  text-align: center;
  font-size: 15px;
  font-style: italic;
	font-family: 'Old Standard TT', 'times new roman', serif;
  color: #999;
}

#seal-container {
  position: relative;
  margin: 0 auto;
  width: 120px;
  margin-bottom: 4px;
}

.seal-info {
  width: 60%;
  text-align: left; 
  font: normal 11px verdana, arial, sans-serif; 
  color: black;
}

a#seal img {
  position: absolute;
  right: 0px;
  top: 0px;
	display: none;
}       

a#seal {         
	position: relative;
	display: block;
	width: 130px;
	height: 0;
	padding-top: 126px;
  overflow: hidden;
	background: transparent url(../images/thorvaldsens-laksegl.jpg) no-repeat 0 0 scroll;  	
}            


footer h1.seal {
	width: 330px;
	height: 0;
	padding-top: 321px;
  overflow: hidden;                                                                         
	margin: 0 auto;
	background: transparent url(../images/thorvaldsens-laksegl-xl.jpg) no-repeat 0 0 scroll;	
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
  a#seal {
    background-image: url(../images/thorvaldsens-laksegl@2x.jpg);
    background-size: 100% 100%; 
	}    
	
	footer h1.seal {
		background-image: url(../images/thorvaldsens-laksegl-xl@2x.jpg);
    background-size: 100% 100%;     
	}
	
	#letter-translation a.pdf {
	  background-url: url(../images/pdf-sejl@2x.png);  
    background-size: 16px 16px;	  
	}
}      



a#seal:hover img {
	display: block;
}



#zoom:hover {
	background: transparent;
}


.print-only { display: none; }

footer .inner p {
  width: 80%;
  margin: 0 auto 1em auto;
}


footer .inner a:link, footer .inner a:visited {
  color: #999;
  text-decoration: none;
}

footer .inner a:hover {
  color: #666;
}

/* Special Links */


#other-results {
	text-align: center;
	font-size: 11px;
	height: 11px;
	line-height: 11px;
	padding-top: 4px;
}

.result-info.dyn a {
	text-decoration: none;
	color: #111;
	margin: 0 12px;
	display: none;
	padding: 0;
	font-weight: bold;
}


.result-info.dyn label {
	font-size: 11px;
}

.result-info.dyn>span.with-dyn {
	margin: 0 12px;
}

.result-info.dyn img {
	float: right;
	margin: 2px 2px 0 0;
}

.result-info.dyn a:hover {
	background: none;
}

.result-info.dyn a:hover span {
	text-decoration: underline;
}

.result-info.dyn a em {
	font-weight: normal;
	font-style: normal;
}

.result-info.dyn a span {
	color: #C39431;
	font-size: 11px;
}

.result-info.dyn a span {
	color: #C39431;
	font-weight: normal;
}

a.internal, 
a.internal:hover {
 color: #C39431; 
 background-color: transparent;
 text-decoration: none;
}

a.internal:hover {
  text-decoration: underline;
}

#letter-translation a.pdf {
  font-size: 11px;
  line-height: 16px;
  height: 16px;
  float: left;
  padding-left: 18px;
  background: transparent url(../images/pdf-sejl.png) no-repeat 0 0 scroll;  
  margin-left: -4px;
}

a.special, #letter-translation a.pdf {
  background-color: inherit;
  color: #A00000;
  text-decoration: none;
}

a.special:visited, #letter-translation a.pdf:visited {
  background-color: inherit;
  color: #666;
}

a.special:hover, #letter-translation a.pdf:hover {
  background-color: #FFE0E0;
  color: #A00000;
  text-decoration: underline;
}

a.ui, a.ui:visited {
  background-color: inherit;
  color: #C39431;
  text-decoration: none;
}

span.ui {
  color: #C39431;
}

a.ui:hover {
  background-color: transparent;
  color: #C39431;
  text-decoration: underline;  
}

a.letter {
  background-color: inherit;
  color: #4149C3;
  text-decoration: none;
}

span.more a, span.more a:hover, span.more a:visited {
  background-color: transparent;
  color: #4149C3;
  text-decoration: none;
}


a.letter:visited {
  background-color: inherit;
  color: #666;
}

a.letter:hover {
  background-color: #E5E7FF;
  color: #4149C3;
  text-decoration: underline;
}


a.comment, a.comment:visited  {
  background-color: inherit;
  /*color: #AAAFFF;*/
  color: #4149C3;
  text-decoration: none;
}

a.comment:hover {
  background: transparent;
  text-decoration: underline;
  color: #4149C3;
}



/* Links */

a {
  background-color: inherit;
  color: #333;
}

a:hover {
  background-color: #f1f1f1;
  color: #333;  
  text-decoration: underline;
}

a:visited {
  background-color: inherit;
  color: #999;
}


/* In no */

a.inv-no {
  border: 1px solid #BBB;
  color: black;
  padding: 0px 2px;
  text-decoration: none;
}

a.inv-no:hover {
  background: #BBB;
  color: white;
  text-decoration: none;
}



/* commmon */

p.desc {
 margin: 0;
 background-color: inherit; 
 color: #666;
}

.audit {
  background-color: inherit;
  color: #CCC;
  font: italic 10px/12px verdana, arial, sans-serif;
  clear: both;
}

p.audit, div.print {
  margin-top: 20px; 
}

div.print {
  font: 10px/12px verdana, arial, sans-serif;
}

.clear
{
	clear: both;
	height: 1px;
	overflow: hidden;
	margin: 0;
}

/* index */

.tmpl-index {
  padding-top: 3em;
  font: 11px/15px verdana, sans-serif;
}



.tmpl-index>table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 2em 0 0 0;  
  width: 100%;
}


.tmpl-index td  {
  width: 25%;  
  vertical-align: top;
  text-align: left;
  padding: 10px 0 0 0;
  height: 180px;
}

.tmpl-index td>div {
  border: 1px solid #ccc;
  height: 178px;
  line-height: 18px;
  font-size: 12px; 
  position: relative;
  overflow: hidden;
}

.tmpl-index .r1 .c1 div,
.tmpl-index .r2 .c4 div  {
  height: 368px;
}

.tmpl-index td>div>div {
  margin: 10px;
  
}

.tmpl-index td>div>div a.more {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

#tile-logo {
  position: absolute;
  bottom: 5px;
  right: 10px;  
}

#tile-logo:hover {
  background: none;
}

.tmpl-index td.c1>div {
  margin: 0 5px 0 0;
}

.tmpl-index td.c2>div,
.tmpl-index td.c3>div,
.tmpl-index td.c4>div {
  margin: 0 5px;
}

.tmpl-index td.c4>div {
  margin-right: 0;
}


.tmpl-index td .tile {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

.tmpl-index h3 {
  margin: 0 0 10px 0;
  font: bold 14px/1.2 arial, sans-serif;
}

.tmpl-index td ul, .tmpl-index td li {
  margin: 0;
  padding: 0;
  list-style: none;  
}

.tmpl-index td .stats a,
.tmpl-index td .stats span {
  float: right;
}

.featured p {
  display: inline;
}

.featured li+li {
  margin-top: 10px;
}

.featured li a {
  margin-right: 0.6em;
}

.calendar {
  float: right;
  text-align: center;
  font-size: 20px;
  background: #f1f1f1;
  padding: 0 0 8px 0;
  border-radius: 2px;
  margin: 0 0 2px 2px;
}

.calendar h4 {
  font-size: 12px;
  font-weight: normal;
  margin: 0 0 6px 0;
  background: #A00000;
  color: white;
  padding: 0.4em 1em 0.3em 1em;
  border-radius: 2px 2px 0 0;
  line-height: 1;
  text-transform: uppercase;
}

.select2-results {
  font: normal 12px/1.2 arial, sans-serif;
}

.select2-container {
  width: 200px;
}

.select2-results li img {
  margin: 0 0 2px 0;  
  display: block;
}

.select2-container li span {
}

.select2-container li figure {
  margin: 0 0 0 4px;
  float: right;
}

.select2-container li div {
  width: 100%;
}

#select2-works-container, .select2-selection__rendered {
  white-space: nowrap;
}

select.fake2 {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;  
  outline: none;
  border: 1px solid #CCC;
  border-radius: 0;
  padding: 6px 24px 5px 8px;
  background: #ffffff url(/images/select-down.png) no-repeat right 50% scroll;
  background-position: top 50% right 6px;
  background-size: 8px 5px;  
}

select.fake2::-ms-expand {
  display: none;
}

.select2-container--default .select2-selection--single {
  border-color: #CCC;
}

.select2-container li figure img {
  display: block;
}

.select2-container {
  width: 100%;
}

.select2-container--default .select2-selection--single {
  border-radius: 2px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #BCBCBC;
}

.pagination {
  text-align: center;
  margin: 16px 0;
}

.pagination div {
  display: inline;
}

.pagination a {
  color: #4149C3;
  background: none;
  text-decoration: none;
}

.pagination a:hover {
  text-decoration: underline;
}

/* Search filed */

.tmpl-index form {
  width: 65%;
  margin: 0 auto;
  white-space: nowrap;
}

.tmpl-index input, 
.search-section input[name=q], 
.search-section input[type=submit],
.page-ui input[name=q],
.page-ui input[type=submit] {
  font-size: 16px;
}

.tmpl-index input[type=text],
.page-ui input[name=q], 
.search-section input[name=q] {
  padding: 4px 8px;
  width: 75%;
  border: 1px solid #CCC;
  border-radius: 1px;  
}


.search-section>div:first-child,
.page-ui form>div:first-child,
.page-ui .form>div:first-child {
  width: 65%;
  margin: 0 auto 1.5em auto;
  white-space: nowrap;    
}

.tmpl-index input[type=submit], 
.search-section input[type=submit],
.page-ui input[type=submit] {
  padding: 4px 8px;
  outline: none;
  background: #B2B3B4;
  border: 1px solid #B2B3B4;
  border-radius: 2px;
  color: #f1f1f1;
}

a.plain:hover {
  background: none;
}

#cc {
  position: relative;
}

#cc .cc {
  position: absolute;
  bottom: 0px;
  left: 10px;
}

#cc .cc:hover {
  background: none;
}