@import url(https://fonts.googleapis.com/css?family=Open+Sans&subset=latin,latin-ext,greek,greek-ext);

html, body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
  padding: 0;
  margin: 0;
}

body {
  font-family: "Open Sans",sans-serif;
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeLegibility;
  max-width:1920px;
  margin:auto;
}

/*:target:not(#text a:target):before {*/
:target:before {
  content:"";
  display:block;
  height:50px; /* fixed header height*/
  margin:-50px 0 0; /* negative fixed header height */
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  min-height: 0px;
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: 100%;
  /* Negative indent footer by its height */
  margin: 0 auto -40px 0;
  /* Pad bottom by footer height */
  padding: 40px 0;
}

#wrap > section {
  height: 100%;
}

/* Set the fixed height of the footer here */
#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  max-height: 40px;
  background-color: #f5f5f5;
  border-top: 1px #ddd solid;
  z-index:100;
}

#footer > .container {
  padding-top: 10px;
}
#footer > .container p, #footer > .container nav {
  /*padding-top: 10px;*/
  display: inline;
}

.container {
  height:inherit;
/*  display: table; */
  width:100%;
  margin:0;
}

.row > div {
  padding-top: 0px;
  padding-bottom: 0px;
  height: 100%;
/*  display: table-cell; */
}

#works section .row > div.col-xs-3 ,
#works section .row > div.col-xs-6 ,
#works section .row > div.col-xs-9 {
  border:1px solid #eee;
}

#authors section .row > div.col-xs-9,
#works section .row > div.col-xs-9 {
  border:1px solid #eee;
}

#works section .edn_para .row > div.col-xs-6 {
    border: 0;
    position: absolute;
    overflow: auto;
    height: calc(100% - 75px);
}
#works section .edn_para .row > div.col-xs-6:first-child {
    border-right: 1px solid #ddd;
}
.edn_para > h1 {
    text-align: inherit;
    font-size: 20px;
    line-height: 26px;
    max-height: 55px;
    height: 53px;
    position: relative;
    overflow: auto;
}


.tab-content > .tab-pane {
  position: absolute;
  left: 15px;
  top: 45px;
  bottom: 5px;
  right: 5px;
  padding-right:10px;
}

@media print {
  .tab-content > .tab-pane {
    overflow: visible !important;
  }
  #myXMLContainer {
    height: auto !important;
    max-height:	none !important;
    overflow: visible !important;
  }
  #footer {
    display: none;
  }
}

@media screen {
  .tab-content > .tab-pane {
    overflow: auto;
  }
}

.openseadragon-canvas + div {
    top: unset !important;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto !important;
    width: 408px;
}

#myImageControls {
  height: 40px;
  max-height: 40px;
  border:1px; 
  border-style:solid;
  border-color:#ddd;
  overflow:hidden;
  text-align: center;
}

.gallery #myImageContainer {
    padding-bottom: 40px;
}
#myImageContainer {
  height: 100% !important;
  width: 100% !important;
  max-height: 100%;
  overflow:hidden;
  margin-top: -1px;
  padding-bottom: 0px;
}

#myImage, #myImagePortrait {
  max-height: 100%;
  border:1px; 
  border-style:solid;
  border-color:#ddd;
  overflow:hidden;
}

#myImageControls #image-pagination {
  margin: 4px auto;
  padding: 0;
  display: inline-block;
}

.pagination > li.first > a,
.pagination > li.last > a {
    padding: 6px 13px;
}
.pagination > li.prev > a,
.pagination > li.next > a {
    padding: 6px 14px;
}
.pagination > li.page > a {
    width: 35px;
    padding: 6px 0;
}
#saveViewLocal, #showView {
    margin-top: 4px;
    vertical-align: top;
}

.navbar, .navbar > .container {
    min-height: 40px;
    height: 40px;
}

.navbar-header {
    padding-right:15px;
}
.navbar-toggle {
    margin-top: 4px;
}

.navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 0;
    font-size:16px;
}
.navbar-nav {
    margin: 0px -15px 7.5px -5px;
}
.navbar-nav>li {
    padding-left:2.3px;
}

.navbar-brand > img {
    display: inline-block;
    margin-right: 15px;
}

.navbar-brand {
    padding-left: 15px;
    padding-right: 5px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 21px;
}

.navbar-inverse .navbar-brand {
/*    color: #999999;*/
      color: #fff;
}

.nav-tabs > li > a {
    font-size:16px;
}
.nav-tabs > li {
    margin-bottom:-2px;
}
.nav-tabs {
    overflow: auto;
    width: 100%;
    display: inline-block;
    height: 100%;
    max-height: 45px;
}

a.link_ref:not([href^="#"]):not([href^="/"]),a:not(.img).external {
    background: url(/images/extlink.png) right center no-repeat; 
    padding-right: .85em;
}

.navbar .nav > li > a {
    padding: 9px 13px; /* don't change */
}
.nav > li.active > a, .nav > li.ui-state-active > a {
    background-color: #f5f5f5;
}
.nav > li > a#tour:focus, .nav > li > a#tour:hover {
    background-color:#286090;
}

.nav-stacked li, .gallery-nav li {
    list-style-type: none;
}
.nav-stacked, .gallery-nav {
    padding-top:15px;
}
.nav-stacked li a, .gallery-nav li a {
    padding: 3px 0 3px 5px;
}
.nav-stacked ul {
    padding-left:20px;
}

.footer-links {
    margin: 0 0 0 0;
    list-style-type: none;
    display: inline !important;
    padding: 8px;
}
.footer-links li {
    line-height: 20px;
    display: inline !important;
}
.footer-links li + li:before {
    content: "\a0 | \a0";
}
.addthis_sharing_toolbox {
    display: inline-block !important;
}
.addthis_sharing_toolbox div a {
    vertical-align: middle;
}

div.logos {
	margin-top: 30px;
	text-align: center;
}
div.logos span {
	vertical-align: middle;
	padding: 0 50px 0 0;
}

#main h1, h2, h3, h4, h5, h6 { 
    margin: 15px 0 6px 0;
    font-weight: normal;
}

#main h1 {
    font-size: 1.8em;
    line-height: 1.6em;
}

#main h2 {
    font-size: 1.6em;
    line-height: 1.4em;
}

#main h3 {
    font-size: 1.4em;
    line-height: 1.2em;
}

#main h4 {
    font-size: 1.2em;
    line-height: 1em;
}

#main h5 {
    font-size: 1em;
}

#main h6 {
    font-size: 1em;
}

#main h1.deco:first-letter {
    font-size: 1.6em;
    font-family: 'Monsieur La Doulaise', cursive;
    font-weight: normal;
}

#myXMLControls {
  height: 40px;
  max-height: 40px;
  border:1px; 
  border-style:solid;
  border-color:#ddd;
  overflow:hidden;
  text-align: center;
}

#myXMLControls button {
  margin: 4px 20px;
}

#myXMLContainer {
  height: 100%;
  max-height: 100%;
  overflow:hidden;
  padding-bottom: 40px;
  margin-top: -1px;
}

#myXMLContainer form {
  height: inherit;
}

#myXML {
  max-height: 100%;
  border: 1px; 
  border-style:solid;
  border-color:#ddd;
}

.CodeMirror {
  height: 100% !important;
  font-size: 12px;
}
.CodeMirror-overlayscroll-horizontal div, .CodeMirror-overlayscroll-vertical div {
    background: #ddd;
}
.CodeMirror-overlayscroll-vertical div {
    min-height: 20px;
}

ul.downloads {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    list-style-type: circle;
    padding: 0 0 0 20px; 
}
ul.downloads2 {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    list-style-type: none;
    padding: 0 0 0 0px; 
}

.inline { display: inline }
.inline-block { display: inline-block }

.popover {
    opacity: 0.8;
    font-family: "Open Sans";
    min-width: 300px;
    max-width: 500px;
}
.popover-content {
    max-height:400px;
    overflow-y:auto;
}
.popover.fade {
    min-width: 500px;
    position:fixed;
}
.popover.fade .popover-content {
    font-size: 12px;
}

#poeticform ul {
    list-style-type: none;
    padding-left: 15px;
    margin-bottom: 0;
}
#poeticform ul li span {
    display: inline-block;
    padding-left: 20px;
    padding-right: 5px;
    text-align: right;
    width: 0;
}
#poeticform table {
    width: 100%;
}
#poeticform table td {
    width: 50%;
    vertical-align: top;
}

.panel-title {
    font-size:18px !important;
}
.panel-body h2 {
    font-size:16px !important;
}

.panel-placeholder {
    border: 1px dotted black;
    margin: 0 1em 1em 0;
    height: 50px;
}

div.panel-heading a:hover,a:focus {
    text-decoration: none;
}

.cs_query .glyphicon {
    display: inline;
}

#names h1, #dates h1, #gender h1,
#titles h1, #lines h1, #themes h1, #genres h1, #edns h1
{
    font-size: 20px;
}
#names h2, #dates h2, #gender h2,
#titles h2, #lines h2, #themes h2, #genres h2, #edns h2 
{
    font-size: 16px;
    margin-left: 10px;
}
#themes h3, #genres h3 
{
    font-size: 14px;
    margin-left: -10px;
    margin-top: 10px;
    line-height: .5em;
}
#names li, #dates li, #gender li,
#titles li, #lines li, #themes li, #genres li, #edns li 
{
    list-style-type: none;
}
#names-done > ul, #dates-done > ul, #gender-done > ul,
#titles-done > ul, #lines-done > ul, #themes-done > ul, #genres-done > ul, #editions-done > ul
{
    padding-left: 0px !important;
}
#names ul, #dates ul, #gender ul,
#titles ul, #lines ul, #themes ul, #genres ul, #edns ul
{
    padding-left: 20px;
    padding-bottom: 5px;
}
#editions-done .listBibl {
    margin-left: 0px;
}
.listBibl {
    margin-left: -20px;
}
.listBibl li {
    text-indent: -20px;
    margin: 0 0 2px 20px;
    list-style-type: none;
}
.bibliography li {
    list-style-type: none;    
}
.event {
    padding-left: 20px;
}

.modal-body .btn-group,
.modal-body .input-group {
    padding-bottom: 10px;
}
.modal-body textarea {
    width: 100%;
    padding-bottom: 10px;
}
.modal-body #newNoteForm h5:first-of-type,.modal-body h3:first-of-type {
    margin-top: 5px;
}
.modal-body h2 {
    font-size: 18px;
}
.modal-body h3 {
    font-size: 16px;
}
.modal-body h4 {
    font-size: 15px;
}
.modal-header,.modal-footer {
    background-color:#f5f5f5;
}

.w, .pc, .l, #citation, .browse {
    cursor:pointer;
}

.navbar-nav > li,
.navbar-nav > li.open>a,
.navbar-nav > li.open>a:hover,
.navbar-nav > li > .dropdown-menu,
.navbar-nav > li > .dropdown-menu li
{
    background-color:#222 !important;
}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    color: #fff;
    background-color: #222;
}
.dropdown-menu > li > a {
    color:#fff;
}
.dropdown-header {
    color:#9d9d9d;
}
.gallery {
/*    position:fixed;*/
}
#myImagePortrait img {
    max-width:100%;
    max-height:100%;
    display: block;
    margin: 0 auto;
}
#myImageControls p {
    padding-top:10px;
}

.gallery-nav {
    padding-left:20px;
    margin-top:0;
    overflow-y:hidden;
    padding-top:20px;
}

.gallery-nav > li.active > a {
    background-color: #f5f5f5;
}

.sup {font-size:75%; line-height:0; position:relative; vertical-align:baseline; top:-0.5em}

a.image  { text-decoration: none !important; color: #333; }

/* hide parts and modify appearance of the featured author/work */
#home #bib, #home #portrait, .col-xs-3 #portrait {
    display:none;
}
#home #portrait img {
    width:300px;
}
#home h1:not(:nth-child(2)) {
    font-size:2.2em;
    line-height:2em;
}
#home #featuredwork img {
    width:100%;
    box-shadow:-10px 10px 10px #bbbbbb;
}
#home #featuredwork {
    padding:10px 40px 10px 40px;
    text-align: center;
}
#home #featuredwork figcaption {
    font-size: small;
    margin-top:20px;
}
#home h2.ecep-home-box {
    font-size: 1.8em;
    line-height: 1.6em;
}
#home #featured h1, #authors .col-xs-3 .tab-pane h1 {
    font-size: 1.6em;
    line-height: 1.4em;
    margin-top:10px;
}
#home #featured h2:not(.ecep-home-box), 
#authors .col-xs-3 h2 {
    font-size: 1.4em;
    line-height: 1.2em;
}
#main .col-xs-3 h3 {
    font-size: 1.2em;
    line-height: 1em;
}
#home #featured #portrait {
    margin-top:-25px;
}
#home #featured {
    padding-bottom:20px;
}

/* Bootstrap Tour */
.tour-backdrop {
    opacity:.3;
}
.popover[class*=tour-] {
    padding: 0;
}
.popover[class*=tour-] .popover-title {
    background: #000;
    color: #fff;
    font-size: 16px;
}
.popover[class*=tour-] .popover-content {
    font-size: 14px;
}

span.collapse,span.collapsing {
    display: none !important;
}
span.collapse,span.collapsing,span.collapse.in {
    transition: none;
}
span.collapse.in {
    display: block !important;
    border-top: 1px dotted #333;
    border-bottom: 1px dotted #333;
    background-color: white;
    font-size: 12px;
    line-height: 16px;
    font-style: normal;
    text-align: left;
    padding: 2px;
    font-variant: normal;
    font-weight: normal;
}

#text.edn_para [id*=body] .pagebreak,
#text.edn_para [id*=body] .pb {
    display:none !important;
}
#text.edn_para h1 {
    text-align:inherit;
    font-size:20px;
    line-height:26px;
}
#text.edn_para .pagebreak, #text.edn_para .byline, #text.edn_para .figure, #text.edn_para .titlepage, #text.edn_para .tableofcontents, #text.edn_para .dramatispersonae, #text.edn_para .halftitle, #text.edn_para .half-title, #text.edn_para .introduction, #text.edn_para .dedication, #text.edn_para .preface, #text.edn_para .argument {
    display:block !important;
}
#text.edn_para .epigraph {
    width:70%;
}
#text.edn_para .dedication header {
    text-align:center;
}
.floatingText .notes {
    display:none;
}

/* Adapted from https://codepen.io/delagics/pen/PWxjMN */
.ui-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    display: block;
    touch-action: none;
    width: 30px;
    right: -15px;
}
.ui-resizable-handle:after {
/*
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ddd;
    box-shadow: 0 10px 0 #ddd, 0 20px 0 #ddd;
*/
}
.ui-resizable-e {
    cursor: col-resize;
    width: 12px;
    right: -7px;
    top: 0;
    height: 100%;
}

.ednTOC {
    margin-top: 5px;
    margin-bottom: 5px;
}
blockquote {
    border-left: 0px!important;
}
.panel-success .panel-heading a,
.panel-success .panel-heading a.active,
.panel-success .panel-heading a:active {
    color: #3c763d; 
}
.panel-warning .panel-heading a,
.panel-warning .panel-heading a.active,
.panel-warning .panel-heading a:active {
    color: #8a6d3b;
}
.panel-danger .panel-heading a,
.panel-danger .panel-heading a.active,
.panel-danger .panel-heading a:active {
    color: #843534; 
}
.panel-default .panel-heading a,
.panel-default .panel-heading a.active,
.panel-default .panel-heading a:active {
    color: #777;
}
.panel-info .panel-heading a,
.panel-info .panel-heading a.active,
.panel-info .panel-heading a:active {
    color: #31708f; 
}

#meta-tabs .btn-success,
#meta-tabs .btn-success.active, 
#meta-tabs .btn-success:active
{
   background-color: #dff0d8;
   color: #3c763d;
}
#meta-tabs .btn-warning,
#meta-tabs .btn-warning.active,
#meta-tabs .btn-warning:active
{
   background-color: #fcf8e3;
   color: #8a6d3b;
}
#meta-tabs .btn-danger,
#meta-tabs .btn-danger.active,
#meta-tabs .btn-danger:active
{
   background-color: #f2dede;
   color: #843534; 
}
#meta-tabs .btn-default,
#meta-tabs .btn-default.active,
#meta-tabs .btn-default:active
{
   background-color: #f5f5f5;
   color: #777;
}
#meta-tabs .btn-info,
#meta-tabs .btn-info.active,
#meta-tabs .btn-info:active
{
   background-color: #d9edf7;
   color: #31708f;
}

@media (max-width: 1050px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}










#ent_results_main,
#results_main,
#objects_main {
    margin-left: 15px;
}
#ent_results_main img:hover,
#results_main img:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

#ent_results_main ol li h3,
#results_main ol li h3,
#objects_main ul li h3 {
    margin-top:5px;
    margin-bottom:0px;
    display: inherit;
}
#ent_results_main ol li,
#results_main ol li,
#objects_main ul li {
    border-bottom: 1px solid rgba(190,190,188,0.4);
    padding: 10px 0 15px 5px;
    clear: both;
    text-indent: unset;
    width:100%;
}
#ent_results_main ol li div div span,
#results_main ol li div div span,
#objects_main ul li div div span {
/*    font-weight: 600;*/
    font-variant: small-caps;
}
#ent_results_main ol li div.item-desc,
#results_main ol li div.item-desc,
#objects_main ul li div.item-desc {
    display:block;
}
.item-desc div {
    text-indent: -1.5rem;
    margin-left: 1.5rem;
}
.item-desc .item-tools,
.item-desc .snippets,
.item-desc .snippet {
    text-indent: unset;
    margin-left: unset;
}
#ent_results_main ol li div.item-tools ul,
#results_main ol li div.item-tools ul,
#objects_main ul li div.item-tools ul {
    padding: 10px 15px 0 0;
}
#ent_results_main ol li div.item-tools li,
#results_main ol li div.item-tools li,
#objects_main ul li div.item-tools li {
    border: 0;
    padding: 3px 10px 3px 0;
    display: inline;
}
#ent_results_main ol li div div,
#results_main ol li div div,
#objects_main ul li div div {
   /* font-size: .95rem;*/
}
#ent_results_main h3,
#results_main h3,
#objects_main h3 {
  /*  font-size: 1.2rem;
    line-height: 1.4em;    */
}
#ent_filters_main ul li .facet_label,
#filters_main ul li .facet_label {
    width:100%;
    text-align: left;
    margin-left: 3px;
    word-break: break-all;
}
#ent_filters_main ul li .facet_count,
#filters_main ul li .facet_count {
    width: 50px;
    text-align: right;
}
#ent_filters_main ul li,
#filters_main ul li {
    text-indent: unset;
    display: flex;
 /*   width: 100%;*/
}
#ent_filters_main div.collapse {
    margin-top: 5px;
    max-height: 80vh;
    overflow: auto;
}
#filters_main div.collapse {
    max-height: 130px;
    overflow: auto;
    margin-top: 5px;
}
#ent_filters_main a[role],
#filters_main a[role] {
    width:100%;
    background-color:#f3f3f3;
}
#ent_filters_main .collapsing,
#filters_main .collapsing {
    max-height: 145px !important;
}
#ent_filters_main .filter,
#filters_main .filter {
    margin-bottom: 10px;
}
.facet_delete {
  font-size:15px;
  font-weight: 900;
}
.filter > a {
  font-weight: 700;
}
#ent_filters_main .facet_delete,
#filters_main .facet_delete {
    display: block;
}
#ent_filters_header,
#filters_header {
    margin-bottom: 15px;
}

#advsearch .input-group span {
    min-width: 210px;
    text-align: left;
    padding-left: 10px;
}
#advsearch .input-group input {
    max-width: 1500px;
}
#advsearch .input-group {
    margin: 10px 0 15px 25px;
    display: flex;
}
#advanced_search .panel-body {
    position:unset;
    padding-bottom:unset;
}
#advanced_search .panel {
    margin-top:63px;
    border: 1px solid #aaa;
    border-radius: 5px;
    /*padding:10px;*/
    margin-left:20px;
}
#advsearch button:not(.close) {
    margin-top:10px;
}
.advanced-help {
    padding-top: 10px;
}
.advanced-help li {
    padding: 3px 0;
}
#advsearch .input-group-addon {
    line-height: 1.4;
}
#ent_results_main .item-desc span.snippet,
#results_main .snippets .listBibl li span {
   /* display: inline-block;*/
    padding: 0 3px;
    background-color: #337ab7;
    color: #fff;
    font-variant: unset;
}
#ent_results_main .snippets .listBibl li,
#results_main .snippets .listBibl li {
    padding:0;
    border-bottom:unset;
    list-style: circle;
}

#texts section .row > div.col-xs-8 {
    border: unset;
}

#home #simsearch {
    margin: 25px auto 15px auto;
    width: 85%;
}
#home #simsearch > .input-group {
/*   width:50%;*/
}
#search #simsearch {
    padding-bottom:20px;
    border-bottom: 1px solid #ddd;
}
#results {
    margin-top:15px;
}
#filters {
/*    margin-top:32px;*/
}
.modal-body #filters {
    margin-top: -5px;
}
#myeditions {
    margin-top: 5px;
    font-size:14px;
}
#search #simsearch > .input-group {
    width:85%;
}
.sync-pagination {
  height: 40px;
  max-height: 40px;
  border:1px;
  border-style:solid;
  border-color:#ddd;
  text-align: center;
}
.sync-pagination {
  border: 0;
  margin:auto;
}
#ent_results>.sync-pagination,
#results>.sync-pagination {
  margin-bottom: 15px;    
}
#results_header .dropdown-menu > li > a {
    color: unset;
    width: 100%;
    display: inline-block;
    text-decoration: none;
}

.pagination > li > a, .pagination > li > span {
  color: #337ab7;
}
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
  background-color: #337ab7;
  border-color: #2e6da4;
}
.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
  color: #2e6da4;
}

#results_main ol {
  list-style:decimal;
}

#works a.add_bm {
    margin-left: 1.2em;
}
#works #editions-done a.add_bm {
    margin-left: 1.5em;
}
#listBookmarks li {
    break-inside: avoid-column;
}
h3 .add_bm, h1 .add_bm {
    font-size: 14px;
}

div[data-app="share_buttons"] {
    display:inline-block;
}


/* Map */

.navbar-brand sup, .leaflet-sidebar-header sup {
    font-variant: small-caps;
    font-size: .75rem;
    padding: 0 5px;
    top: -.6rem;
  }
  a.navbar-brand:hover, a.navbar-brand:active, a.navbar-brand:visited,
  a.nav-link:hover, a.nav-link:active, a.nav-link:visited {
    color: #fff;
  }
  .leaflet-sidebar-tabs > li:hover, .leaflet-sidebar-tabs > ul > li:hover {
    background-color: unset;
  }
  .map {
    height: 100%;
    top: 0;
    position: relative;
    background-color: #f1e4cf;
  }
  @media (min-width:768px) {
    .leaflet-sidebar {
     top:10px;
     bottom:10px;
     transition:width .5s;
     border:3px solid transparent;
     border-radius:4px;
     z-index: auto !important;
    }
    .leaflet-sidebar-left {
     left:10px !important;
    }
    .leaflet-sidebar-right {
     right:10px !important;
    }
  }
  .leaflet-sidebar.collapsed {
    width: 42px !important;
  }
  .leaflet-sidebar-header {
  /*  background-color: #e07012 !important;*/
  }
  .leaflet-sidebar-tabs > li.active, .leaflet-sidebar-tabs > ul > li.active {
  /*  background-color: #ce5f04 !important;*/
  }
  
  .leaflet-verticalcenter {
    /********************************************/
    /* Same as .leaflet-top and .leaflet-bottom */
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    /********************************************/
    top: 50%;
    transform: translateY(-50%);
    padding-top: 10px;
  }
  .leaflet-sidebar {
    z-index:1000 !important;
    max-width:40%;
  }
  .leaflet-sidebar-tabs i {
    font-size:20px;
    margin-left:-2px
  }
  .leaflet-sidebar-tabs {
    background-color: #eee !important;
  }
  .leaflet-sidebar-header {
    font-size:1.6em !important;
    line-height:1.6em !important;
    margin: -10px -20px 0 !important;
  }
  .leaflet-sidebar-content h2 {
    margin-top: 8px;
    font-size: 1.4em !important;
    text-indent: -20px;
    margin-left: 20px;
    line-height: inherit;
  }
  .leaflet-sidebar-content h3 {
    font-size: 1.2em !important;
    /*margin-left: 5px;*/
  }
  .leaflet-container,.popup {
    font-size:16px !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    background:unset;
  }
  #sidebar,.popup,.leaflet-control-container {
    font-size:14px !important;
  }
  .leaflet-container option {
    font-size:14px !important;
  }
  .leaflet-container a {
   /* color:#e07012;*/
  }
  .leaflet-control-container a {
    color:#000 !important;
  }
  .legend-dot {
    height: 11px;
    width: 11px;
    border-radius: 50%;
    display: inline-block;  
  }
  
  .gender input[type=checkbox] + label, .continents input.cont[type=checkbox] + label
  {
    font-size: 1.2em;
    padding-right: 0.6em;
  }
  .gender input[type=checkbox], .continents input.cont[type=checkbox] 
  { display:none; }
  .gender input[type=checkbox] + label:before, .continents input.cont[type=checkbox] + label:before
  {
    display: inline-block;
    content: "\f111";
    font-family: "FontAwesome";
    padding-right: .3em; 
  }
  .gender input[type=checkbox]:checked + label:before {
    content: "\f058";
    font-family: "FontAwesome";
    color: black;
  }
  .continents input[type=checkbox]#AF:checked 
  + label:before {
    content: "\f57c";
    font-weight: 700;
  }
  .continents input[type=checkbox]#AS:checked 
  + label:before {
    content: "\f57e";
    font-weight: 700;
  }
  .continents input[type=checkbox]#NA:checked 
  + label:before {
    content: "\f57d";
    font-weight: 700;
  }
  .continents input[type=checkbox]#SA:checked 
  + label:before {
    content: "\f57d";
    font-weight: 700;
  }
  .continents input[type=checkbox]#EU:checked 
  + label:before {
    content: "\f7a2";
    font-weight: 700;
  }
  .continents input[type=checkbox]#OC:checked 
  + label:before {
    content: "\e47b";
    font-weight: 700;
  }
  
  .leaflet-popup-pane .popup .name {
    font-weight: bold;
    font-size:14px;
  }
  .leaflet-popup-pane .popup .loc {
    font-style: italic;
    font-size:13px;
    display: block;
  }
  
  a:not(.img).external {
    background: url(/images/extlink.png) right center no-repeat;
    padding-right: .75em;
  }
  
  img[src='/images/male.png'], img[src='/images/female.png'], .poet-marker {
    width:30px !important;
    background-color: #fff;
  }
  .ui-widget-content .ui-state-active, .ui-widget-content .ui-state-hover, .ui-widget-content .ui-state-focus,
  .ui-widget-header, .ui-state-active, .ui-state-hover, .ui-state-focus {
    background: unset;
    background-color:#ddd;
    border: 1px solid #999;
    color: unset;
}
  .ui-widget-content {
    background: unset;
  }

  .badge-light {
      color: #212529;
      background-color: #f8f9fa;
      font-weight: bolder;
      font-family: sans-serif;
      margin-top: 3px;
  }

  .badge {
      display: flex;
      width: 67px;
  }

  /* Line highlighting */

.pulse {
    animation: pulse-animation 2s 5;
  }
  
  @keyframes pulse-animation {
    0% {
      box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }
    100% {
      box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
  }
  
