/*
 * Copyright (c) 2005-2017 NamesforLife, LLC.
 * All rights reserved.
 */

CITE.n4l-nls
{
  font-style: normal !important;
}

DIV#namesforlife-marker
{
  z-index: 9998;
  font-family: sans-serif !important;
  position: absolute !important;
  top: 0px;
  left: 0px;
  line-height: normal !important;
  -moz-user-select: none !important;
  -khtml-user-select: none !important;
}

DIV#namesforlife-panel
{
  z-index: 9999;
  font-family: sans-serif !important;
  position: absolute !important;
  top: 0px;
  left: 0px;
  line-height: normal !important;
  -moz-user-select: none !important;
  -khtml-user-select: none !important;
}

DIV.namesforlife-menu
{
  min-width: 100px;
  display: none;
  position: absolute !important;
  line-height: normal !important;
  border-style: solid !important;
  border-color: #979797 #979797 #979797 #979797 !important;
  border-width: 1px !important;
  padding: 2px !important;
  background-color: #f0f0f0 !important;
  box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.55);
}

DIV#namesforlife-message-container
{
  background-color: #D4D0C8 !important;
  color: black;
  padding-top: 2px;
  padding-left: 1px;
  padding-right: 1px;
}

SPAN.namesforlife-message
{
  min-width: 200px;
  max-width: 300px;
  display: block;
/*  text-wrap: normal; */
  border: 1px solid black;
  padding: 2px;
  background-color: lightyellow;
  color: black;
  font-size: 11px;
  font-family: sans-serif;
  text-align: left;
  line-height: normal;
  white-space: normal;
}

DIV.rule325
{
  width: 325px;
  line-height: 0;
}

DIV.namesforlife-infopanel
{
  min-width: 325px;
  background-color: white !important;
  color: black;
  font-size: 11px;
  font-family: Verdana, sans-serif;
  padding: 2px;
  text-align: left;
  line-height: normal;
  white-space: normal !important;
}

DIV.namesforlife-active
{
  display: block;
  line-height: normal;
}

A.namesforlife-item
{
  font-family: sans-serif !important;
  white-space: nowrap !important;
  display: block !important;
  cursor: default !important;
  text-decoration: none !important;
  text-align: left !important;
  line-height: normal !important;
  font-size: 11px !important;
  text-indent: 5px !important;
  color: #000000 !important;
  background-color: #f0f0f0 !important;
  padding: 2px !important;
  border: 1px solid transparent;
}

A.namesforlife-item:focus
{
  outline: none !important;
}
/* TODO: Make a distinction between internal (menu) and external links. */
A.namesforlife-selectable
{
  background: url(../images/ext_link_purple.png) no-repeat;
  background-position: right;
}

A.namesforlife-selectable:hover
{
  background-color: #d1e8ff !important;
  color: #000000 !important;
  border: 1px solid rgb(120, 174, 229);
}

A.namesforlife-menutitle
{
  background-color: lightblue !important;
  color: black !important;
  text-align: left !important;
  border: 1px solid #003399 !important;
  font-size: 13px !important;
  font-weight: bold !important;
}

A.namesforlife-menutitle:hover
{
  /* 2k: background-color: lightblue !important; */
  /* 2k: color: navy !important; */
}

A.namesforlife-menusubtitle
{
  background-color: #f0f0f0 !important;
  color: #003399 !important;
  text-align: left !important;
  border-bottom: 1px solid #077db4 !important;
  font-size: 11px !important;
  font-weight: bold !important;
}

A.namesforlife-menusubtitle:hover
{
  /* 2k: background-color: lightblue !important; */
  /* 2k: color: navy !important; */
}

A.namesforlife-separator
{
  padding: 0 !important;
  border: none !important;
  background: url(../images/spacer.png) repeat-x;
  background-position: center !important;
  border-bottom: 1px solid #d7d7d7 !important;
  font-size: 1px !important;
}

A.namesforlife-separator:hover
{
}

A.namesforlife-spacer
{
  padding: 0 !important;
  border: none !important;
  background: url(../images/spacer.png);
  background-position: center !important;
  font-size: 1px !important;
}

A.namesforlife-spacer:hover
{
}

A.namesforlife-label
{
  font-weight: bold !important;
}

A.namesforlife-label:hover
{
}

A.namesforlife-submenu
{
  background: url(../images/arrow_r_sm.gif) no-repeat;
  background-position: right;
}

A.namesforlife-submenu:hover
{
  background: url(../images/arrow_r_sm.gif) no-repeat;
  background-position: right;
}

A.namesforlife-submenu-disabled
{
  background: url(../images/arrow_r_grey.gif) no-repeat;
  background-position: right;
  color: #6d6d6d !important;
}

A.namesforlife-submenu-disabled:hover
{
  background-color: #e1e1e1 !important;
  border: 1px solid #aeaeae;
}

A.namesforlife-info,A.namesforlife-info:hover
{
  background: url(../images/information.svg);
  background-position: right;
  background-repeat: no-repeat;
  background-size: 14px;
}

A.namesforlife-citation,A.namesforlife-citation:hover
{
/*  background: url(../images/citation.svg); */
  background: url(../images/citation-14.png);
  background-position: right;
  background-repeat: no-repeat;
  background-size: 14px;
}

A.namesforlife-internal
{
  background: url(../images/item.svg);
  background-position: right;
  background-repeat: no-repeat;
  background-size: 14px;
/*rgba(38,166,154,0.87);
width: 14px;
height: 14px;
border-style: solid;
border-width: 2px;
border-radius: 50%;
transition: border-color ease .28s; */
}

A.namesforlife-internal:hover
{
  background: url(../images/object.svg);
  background-position: right;
  background-repeat: no-repeat;
  background-size: 14px;

/*width: 14px;
height: 14px;
border-radius: 50%;
transition: transform ease .28s;
transform: scale(0);*/
}

A.namesforlife-help,A.namesforlife-help:hover
{
  background: url(../images/help.svg);
  background-position: right;
  background-repeat: no-repeat;
  background-size: 14px;
}

A.namesforlife-heterotypic,A.namesforlife-heterotypic:hover
{
  background: url(../images/heterotypic-synonym.svg), url(../images/arrow_r_sm.gif);
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
  background-size: 14px, auto;
  text-indent: 15px !important;
}

A.namesforlife-homotypic,A.namesforlife-homotypic:hover
{
  background: url(../images/homotypic-synonym.svg), url(../images/arrow_r_sm.gif);
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
  background-size: 14px, auto;
  text-indent: 15px !important;
}

A.namesforlife-unification,A.namesforlife-unification:hover
{
  background: url(../images/unification.svg), url(../images/arrow_r_sm.gif);
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
  background-size: 14px, auto;
  text-indent: 15px !important;
}

A.namesforlife-division,A.namesforlife-division:hover
{
  background: url(../images/division.svg), url(../images/arrow_r_sm.gif);
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
  background-size: 14px, auto;
  text-indent: 15px !important;
}

A.namesforlife-rank-elevation,A.namesforlife-rank-elevation:hover
{
  background: url(../images/elevation.svg), url(../images/arrow_r_sm.gif);
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
  background-size: 14px, auto;
  text-indent: 15px !important;
}

A.namesforlife-rank-reduction,A.namesforlife-rank-reduction:hover
{
  background: url(../images/reduction.svg), url(../images/arrow_r_sm.gif);
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
  background-size: 14px, auto;
  text-indent: 15px !important;
}

A.namesforlife-basonym,A.namesforlife-basonym:hover
{
  background: url(../images/basonym.svg), url(../images/arrow_r_sm.gif);
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
  background-size: 14px, auto;
  text-indent: 15px !important;
}

A.namesforlife-new-combination,A.namesforlife-new-combination:hover
{
  background: url(../images/new-combination.svg), url(../images/arrow_r_sm.gif);
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
  background-size: 14px, auto;
  text-indent: 15px !important;
}

A.namesforlife-rule46,A.namesforlife-rule46:hover
{
  background: url(../images/rule46.svg), url(../images/arrow_r_sm.gif);
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
  background-size: 14px, auto;
  text-indent: 15px !important;
}

A.namesforlife-rule40d,A.namesforlife-rule40d:hover
{
  background: url(../images/rule40d.svg), url(../images/arrow_r_sm.gif);
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
  background-size: 14px, auto;
  text-indent: 15px !important;
}

A.namesforlife
{
  color: green !important;
  text-decoration: none !important;
  font-style: inherit !important;
  background: none !important;
  padding: 0em !important;
  border: none !important;
}

A.namesforlife:hover
{
  background-color: lightblue !important;
}

A.namesforlife-link
{
  color: #2200cc !important;
  text-decoration: underline !important;
}

A.namesforlife-link:hover
{
  color: #2200cc !important;
  text-decoration: underline !important;
}

A.namesforlife-link:visited
{
  color: #336699 !important;
  text-decoration: underline !important;
}

DIV.namesforlife-clipboard,DIV.namesforlife-list-item
{
  cursor: default; /* copy */
  font-size: 9px;
  font-weight: normal;
  text-decoration: none;
  border-style: solid !important;
  border-width: 1px !important;
  margin-top: 1px !important;
  border-color: transparent !important;
  padding-top: 0.25em !important;
  padding-bottom: 0.25em !important;
  padding-left: 0.35em !important;
}

DIV.namesforlife-clipboard:hover
{
  background-color: lightblue !important;
  border-color: navy !important;
  background-image: url(../images/copy-16.png);
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: bottom right;
}

DIV.namesforlife-list-item
{
  border-color: transparent !important;
}

DIV.namesforlife-submenu-title
{
  font-family: sans-serif !important;
  background-color: lightblue !important;
  color: navy !important;
  text-align: center !important;
  border: 1px solid navy !important;
  font-size: 11px !important;
  font-weight: bold !important;
}

DIV.namesforlife-bibliography
{
  text-indent: -1.5em !important;
  padding-left: 1.5em !important;
}

DIV.namesforlife-footer /* used for build tag and last update */
{
  color: #333;
  background-color: #f0f0f0 !important;
  border-color: #979797 !important;
  border-style: groove;
  text-shadow: 1px 1px 0 #fcfbf7;
}

DIV.namesforlife-information /* used for information headers or footers */
{
  color: #fff;
  background-color: #8080ff !important;
  font-weight: bold;
}

DIV.namesforlife-caution /* used for caution headers or footers */
{
  color: #000;
  background-color: #ff8000 !important;
  font-weight: bold;
}

DIV.namesforlife-warning /* used for warning headers or footers */
{
  color: #000;
  background-color: #ff0000 !important;
  font-weight: bold;
}

DIV.copied::after
{
  position: absolute;
  right: 4px;
  width: 5em;
  content: "copied";
  display: block;
  text-indent: 0 !important; /* override the negative indent */
  text-align: center;
  font-size: 1em;
  font-weight: bolder;
  padding: 2px 3px;
  color: #f0f0f0;
  background-color: #077db4;
  border-radius: 2px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied
{
  0%
  {
    opacity: 0;
    transform: translateY(-100%);
  }
  50%
  {
    opacity: 1;
    transform: translateY(-200%);
  }
  100%
  {
    opacity: 0;
    transform: translateY(-400%);
  }
}
