body {
    font-family: 'Open Sans', sans-serif;
/*    font-family: 'Atkinson Hyperlegible', sans-serif; */
    margin: 10px auto; }

body.light-theme {
  background-color: white;
  color: black;
}

body.dark-theme {
  background-color: black;
  color: green;
}

body.dark-theme a {
    color: green;
}

body.dark-theme #tabs a {
    background: #222;
    text-shadow: none;
}
body.dark-theme #tabs a::after {
    background: #222;
}

body.dark-theme .logo-img {
    display:none;
}

body.dark-theme .logo-pre:before {
    content:' \1F506 ';
    font-size: 3em;
}

body.dark-theme button {
    color: green;
    background-color: black;
}

body.dark-theme #viz-teaser-button {
    background-color: black;
}


@media (min-width: 50em) {
  body {
    width: 95%; } }
@media (min-width: 75em) {
  body {
    width: 95%; } }
@media (max-width: 30em) {
  .logo-img-results-page {
  }
}
@media (max-width: 50em) {
  body {
    width: 100%; }

  .navbar {
    text-align: center; }

  .logo-img {
    margin: 0px 0 0 0 !important;
    position: relative !important;
    width: 200px !important; }

  .shadow-box {
      border: 0px !important;
  }

  .def-box {
    margin: 5px 10px 5px 10px !important;
   }

  .thesaurus_results br {
    content: "";
    margin: 0.8em;
    display: block;
  }

  .thes_defs {
    font-size: 1.0em;
    margin-left: 0.2em;
  }

  .thes_usage {
    font-size: 0.8em;
  }

  .thes_usage_cluster {
    color: blue !important;
  }

  .thes_defs br {
    content: "";
    display: block;
  }

  .filterpane {
    padding-top: 5px;
  }

}

.thes_example {
    background: white;
    padding: 4px 6px 4px 6px;
    margin: 6px;
    color: grey;
    font-size: 100% !important;
    border: 1px solid green;
    border-radius: 5px;
         display:  inline-block;
}

.thes_example:hover {
    background-color: #f4fff4;
    color: black;
}

table {
  table-layout: fixed;
}

.res {
}

a {
  text-decoration: none;
  color: darkblue; }

a:hover {
  color: purple; }

.navbar {
  min-height: 50px;
  position: relative; }

.logo-img {
    margin: 0px 0 0px 0 !important;
    position: relative !important;
    width: 200px !important; }


.navbar #thesinput {
  display: block;
  background: #f4fff4;
  width: 90%;
  margin: 20px auto 20px auto;
  padding: 10px 10px 10px 20px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 1.5em;
  box-shadow: 0 3px 10px rgba(255, 253, 237, 0.1);
  transition: box-shadow 0.2s ease-in-out;
}

.navbar #thesinput:focus {
  outline: none;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
}

.footnote button {
  -webkit-box-shadow: 0 0 5px 5px #fffded;
  -moz-box-shadow: 0 0 5px 5px #fffded;
  box-shadow: 0 0 5px 5px #fffded;
  margin: 0px 4px 0px 4px;
  padding: 4px;
}

.navbar input, .navbar select, .navbar textarea {
  color: black;
  outline: none; }

.navbar textarea:focus, .navbar input:focus {
  color: black;
  outline: none;
  background: #e8e8e8; }

.footer {
  text-align: center;
  padding: 30px 0 15px 0;
  font-size: 1.0em; }

#thesaurus_ants {
  padding-left: 10px;
  display: none;
}


.shadow-box {
  border: 1px solid #999;
  padding: 10px;
}



.inactivefilter {
  width: 120px;
  color: #888;
}
.activefilter {
  width: 120px;
}
.def-box {
  clear: both;
  display: block;
  right: 0;
  margin: auto;
  padding-bottom: 12px;
  margin: 0 30px 0 30px;
}

.def-box .def-box-defs {
  padding-left: 0px;
  color: green;
  width: 90%;
}

.def-box .def-box-info {
  padding: 8px 10px;
  border-style: none;
  box-shadow: none;
}

::-webkit-input-placeholder {
   color: lightgrey;
}

:-moz-placeholder { /* Firefox 18- */
   color: lightgrey;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: lightgrey;
}

:-ms-input-placeholder {  
   color: lightgrey;
}

.filterinnertitle {
   color: blue;                 
   font-size: 1.2em !important;
}

.thes-logo {
  margin: auto;
}
.footnote a {
 color: #7777ff;
}
.footnote {
    display:  inline-block;
    margin-top: 20px;
}
#example_queries {
    margin-top: 15px;
}
#olthes_intro_text {
 display: none;
 margin: 10px 30px 0 30px;
}
.ql_btn {
 width: 100%;
 text-align: center;
}
ul.ui-autocomplete.ui-menu li:last-child {
    font-size: 0.8em;
    color: blue;
}

.resp-sharing-button {
  display: inline-block;
  border-radius: 5px;
  border-width: 1px;
  border-style: solid;
  transition: background-color 25ms ease-out, border-color 25ms ease-out, opacity 250ms ease-out;
  margin: 0.5em;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
}

.resp-sharing-button a {
  text-decoration: none;
  color: #FFF;
  display: block;
}

.resp-sharing-button__icon {
  display: inline-block;
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-bottom: -0.1em;
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #FFF;
  fill: none;
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #FFF;
  stroke: none;
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #FFF;
}

.resp-sharing-button--large .resp-sharing-button__icon svg {
  padding-right: 0.4em;
}

.resp-sharing-button__wrapper {
  display: inline-block;
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

#overlay{
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  height:100%;
  display: none;
  background: rgba(0,0,0,0.6);
}
.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;  
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px #ddd solid;
  border-top: 4px #2e93e6 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}

.is-hide{
  display:none;
}
#pattern-cheatsheet {
  margin: 5px;
}
#sortOrderControl {
    height: 10px;
}
#rerank {
    display: none;
}
#rerank_topn {
    display: none;
    font-size: 0.9em;
}
.ui-selectmenu-button {
    height: 22px;
    font-size: 1em;
    padding-top: 10px;
    cursor: pointer;
    border: 1px solid grey;
}

.ui-menu-item:hover {
    background: #007fff !important;
    color: #ffffff !important;
}

#filterbutton {
    margin-left: 20px;
    padding: 10px;
    height: 38px;
    color: grey;
    cursor: pointer;
    border: 1px solid grey;
}
#clearfilterbutton {
    margin-left: 20px;
    padding: 10px;
    height: 38px;
    background-color: pink;
    color: black;
    cursor: pointer;
    border: 1px solid grey;
}
#vizbutton {
    margin-left: 20px;
    padding: 10px;
    height: 38px;
    background-color: #EDFDFF;
    cursor: pointer;
    border: 1px solid grey;
}
#thes_doc {
    display: none;
}
#viz-teaser-button {
    background-color: #EDFDFF;
    height: 38px;
    font-size: 1em;
    padding: 10px;
    border: 1px solid grey;
    cursor: pointer;
}
.top-cluster {
    height: 38px;
    font-size: 1em;
    margin-top: 10px;
    padding: 10px;
    cursor: pointer;
    border: 1px solid grey;
}
#root {  /* for viz */
    overflow-x: scroll;
    scroll-snap-align: center;
}
mark {
  background-color: #ffffbb;
  color: black;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

.loader {
  border: 4px solid #ffffbb;
  border-top: 4px solid green;
  border-right: 4px solid #ffffbb;
  border-bottom: 4px solid green;
  border-radius: 50%;
  width: 30px;
  height: 30px;
 -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

.ui-menu-item,.thes_example,.ui-selectmenu-text,#thesinput {
    font-family: 'Atkinson Hyperlegible', sans-serif !important;
    font-size: 110%;
}

.relres:hover::after {
    content:' \25B8 ';
    font-size: 0.8em;
}

.thes-subjectindex {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    margin-top: 40px;
    line-height: 1.8;
  box-sizing: border-box;
  border-radius: 8px 8px 8px 8px;
  box-shadow: 2px 2px #888888;
  border: 2px solid #999; 
  padding: 20px;
}    

.thes-supercluster-span {
    margin: 10px;
    padding: 5px;
}
.thes-supercluster-span:hover {
    background: #ffffbb;
}
.thes-cluster-span {
    margin: 20px;
    padding: 5px;
}
.thes-cluster-span:hover {
    background: #ffffbb;
}
.thes-supercluster-title {
    margin: 20px;
}
