
.filterpane {
  display: none;
  color: #000;
  margin: auto;
  padding-bottom: 15px;
  padding-top: 15px;
}
.filtertitle {
  font-size: 12px;
  cursor: pointer;
  display: block;
  color: #666;
}
#filteroptions {
  display: none;
}
.inactivefilter {
  color: #000000;
  width: 140px;
  margin: 3px;
}
.activefilter {
  color: #0000ff;
  font-weight: bold;
  width: 140px;
  margin: 3px;
  background: #bbffbb;
}
.filterbreak {
  clear: both;
}
.nonefound {
  color: #ff0000;
}
.nextlink {
  font-size: 14px;
  margin-top: 20px;
  float: right;
  cursor: pointer;
  color: #0000ee;
  padding: 5px;
}

.prevlink {
  font-size: 14px;
  margin-top: 20px;
  margin-right: 2px;
  float: left;
  cursor: pointer;
  color: #0000ee;
  padding: 5px;
}


@media screen and (max-width: 500px) {
.inactivefilter {
    width: 140px;
}
.activefilter {
    width: 140px;
}
}

.heading {
  color: hsl(220,45%,50%);
}
.thesaurus_results {
  position: relative;
  left:-10px;
}
.resnum {
  font-size: 10px;
  text-align: right;
  vertical-align: middle;
  color: #aaaaaa;
  width: 20px;
  display: inline-block;
}
.ressyn {
    background: #ffffbb;
    padding-left: 3px;
}
.resant {
  background: #ffdddd;
}
.res {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: calc(100% - 30px);
  vertical-align: top;
}
.query-res {
  color: green;
  font-size: .9em;
  display: inline;
  padding: 3px;
  border-color: lightgreen;
  border-width: 2px;
  border-style: solid;
  border-radius: 5px;
}
.query-res:hover {
    background: lightgreen;
}
.query-res-spacer {
    display: block;
    margin-top: 5px;
}
.ressyn a {
  text-decoration: none;
}
.res a {
  text-decoration: none;
  color: darkblue;
}
.res:hover {
  color: #ff0000;
}

/*** Part-of-speech tabs ***/
#tabs {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#tabs li {
  float: left;
  margin: .5em .5em 0 0;
}

#tabs a {
  position: relative;
  background: #eee;
  background-image: linear-gradient(to bottom, #fff, #eee);
  padding: .4em 0.5em;
  float: left;
  text-decoration: none;
  color: #999;
  font-size: 12px;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
  border-radius: 5px 0 0 0;
  box-shadow: 0 2px 2px rgba(0,0,0,.4);
}

#tabs a:focus,
#tabs a:focus::after {
  background: #fff;
}
#tabs a:focus {
  outline: 0;
  color: #000;
}
#tabs a::after {
  content:'';
  position:absolute;
  z-index: 1;
  top: 0;
  right: -.5em;  
  bottom: 0;
  width: 1em;
  background: #eee;
  background-image: linear-gradient(to bottom, #fff, #eee);
  box-shadow: 2px 2px 2px rgba(0,0,0,.4);
  transform: skew(10deg);
  border-radius: 0 5px 0 0;  
}
#tabs #current a,
#tabs #current a::after {
  background: #ffffff;
  color: #000;
  z-index: 2;
}

#content {
  display: none;
  padding: 0.5em;
  position: relative;
  z-index: 2; 
  border-radius: 0 5px 5px 5px;
  box-shadow: 0 -1px 3px -2px rgba(0, 0, 0, .5);
}

.content-with-viz {
    border: none;
    box-shadow: none !important;
}

/** Definition pane **/
.more-info {
  padding: 15px 0 0 0 !important;
  left: 30px !important;
  top: 12px;
  z-index: 100;
  display: none;
  opacity: 0;
  line-height: 18px;
  transition:opacity 3s linear 3s;
  position: absolute; }

.more-info-no-defs {
  width: auto;
}

.more-info-selected {
  display: inline;
  opacity: 1;
  padding: 15px 0 0 15px;
  box-sizing: border-box; }

#clearfilter button {
  cursor: pointer;
  background: #ffdddd;
}

.helpline {
  display: inline-block;
  margin-top: 5px;
  color: black;
}

.filtertitle {
  display: inline-block;
}

.meter_btn_selected {
    background: #bbffbb;
    cursor: pointer;
}

.meter_btn_unselected {
   background: #ffffff;
  cursor: pointer;    
}

#meterdoc {
  width: 90%;
  font-size: 14px;
  padding: 10px 15px;
  margin: 30px 0px 0px 0px;
  border-radius: 5px 5px 5px 5px;
  border: 2px solid #bbbbee;
}

.wke_sentence {
  cursor: text !important;
}

.defgloss_selected {
    background: lightblue;
}
.topcluster-hover {
    background: lightblue !important;
}
.thes_defattrib {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.8em;
}
.thesaurus-top-gloss-selected {
    background: #ffffbb;
}
.thesaurus-top-gloss:hover {
    background: #ffffbb;
    cursor: pointer;
}
.thes_defmorewords {
  font-size: 0.8em;
}


/* Usage graph */
.test-thes-centering {
    text-align: center;
}
.thes-usage-helpstring {
    font-size: 0.8em;
}
.thes-usage-span {
  box-sizing: border-box;
  position: relative;
  height: 7em;
  margin-top: 10px;
  display: inline-block;
}
.thes-usage-span > .graph {
  box-sizing: border-box;
  height: 100%;
  border: 1px solid black;
  padding: 0.5em;
}
.negative-space {
  opacity: 0;
}
.bar {
  fill: #93bb93;
}
.bar.select {
  fill: #ffffbb;
  stroke: gray;
  stroke-width: 0.1px;
  stroke-dasharray: 0.3 0.3;
}
.baseline {
  stroke-width: 0.1px;
  pointer-events: none;
}
.baseline.show {
  stroke: black;
}
.tooltip {
  position: absolute;
  border: 1px solid gray;
  padding: 0.5em;
  background-color: white;
  font-size: 1em;
  display: none;
}
.tooltip.show {
  display: block;
}

/* Class for the green container for the whole popover */
.popover {
  box-sizing: border-box;
  position: relative;
  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  gap: 10px;
  /* Styling */
  max-height: 800px;
  min-width: 450px;
  overflow-y: scroll;
  background: #f3fff3;
  color: black;
  border: 1px solid black;
  box-shadow: 5px 5px 0px black;
  border-radius: 5px;
}
.close_btn {
  background-color: transparent;
  border: none;
  padding: 0;
  position: absolute;
  top: 5px;
  left: 5px;
  color: grey;
  cursor: pointer;
}

/* Classes for "quicklinks" (the buttons to the left of the definitions) */
.thes_ql {
  /* Auto layout */
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin: auto;
  margin-bottom: 0px;
}

.ql_btn {
  /* Styling */
  box-sizing: border-box;
  font-size: 1em;
  display: inline-block;
  color: black !important;
  padding: 4px;
  border: 1px solid green;
  border-radius: 5px;
 text-decoration: none;
}

.ql_btn:hover {
  color: #f3fff3 !important;
  background-color: green;
}

/* Classes for the definitions themselves */
.thes_defs ul {
  list-style-type: none;
  margin: 0;
  padding: 10px 0 0 0;
}
.thes_defs li {
  list-style-position: inside;
  text-indent: -1.25em;
  padding-left: 1.25em;
  padding-bottom: 5px;
}
/* Marker that appears to the left of each definition */
.thes_defs_marker_with_sense {
}
.thes_defs_marker_with_sense:hover {
    background: #ffffbb;
}
/* When a definitions is selected and we update the usage examples for it */
.defgloss_selected {
  background: #ffffbb;
}

/* Attribution line ("Definitions from Wiktionary") and word cluster info */
.helpstring {
  font-size: 0.8em;
}


/* Classes for the usage examples */
.thes-usage-examples ul {
  list-style-type: none;
  margin: 0;
  padding: 10px 0 0 0;
}
.thes-usage-examples li {
  padding: 0 0 5px 0;
}
.thes-usage-examples a {
  font-size: 0.8em;
}
.thes-usage-examples a:before {
  content: "\2014\0020";
  color: black;
}
.thes-more-examples {
  align-self: flex-end;
}


/* Misc */
.activesort .ui-selectmenu-text {
  background: #bbffbb;
}

@media screen and (max-width: 500px) {
    .popover {
	max-width: 300px;
	min-width: 300px;
}
.res {
  font-size: 1.2em;
}
}

.olthes_usage_help_startyear {
    display: inline-block;
    width: 70px;
    text-align: left;
    font-weight: bold;
}
.olthes_usage_help_endyear {
    display: inline-block;
    width: 70px;
    text-align: right;
    font-weight: bold;    
}
.olthes_usage_help_title {
    margin: auto;
    margin-top: 10px;
    display: block;
    text-align: center;    
}
.olthes_usage_help_firstyear {
    display: block;
    text-align: center;    
}
