/* ==========================================================================
   =Annotator-Mand.JS
   ========================================================================== */

/* ------------------------------------------------------------------------- *
 * Glyphicons from Bootstrap 3.3.7
/* ------------------------------------------------------------------------- */

@font-face {
  font-family: "Glyphicons Halflings";

  src: url("../fonts/glyphicons-halflings-regular.eot");
  src: url("../fonts/glyphicons-halflings-regular.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/glyphicons-halflings-regular.woff2") format("woff2"),
    url("../fonts/glyphicons-halflings-regular.woff") format("woff"),
    url("../fonts/glyphicons-halflings-regular.ttf") format("truetype"),
    url("../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular")
      format("svg");
}
.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: "Glyphicons Halflings";
  font-style: normal;
  font-weight: normal;
  line-height: 1;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.glyphicon-asterisk:before {
  content: "\002a";
}
.glyphicon-plus:before {
  content: "\002b";
}
.glyphicon-euro:before,
.glyphicon-eur:before {
  content: "\20ac";
}
.glyphicon-minus:before {
  content: "\2212";
}
.glyphicon-cloud:before {
  content: "\2601";
}
.glyphicon-envelope:before {
  content: "\2709";
}
.glyphicon-pencil:before {
  content: "\270f";
}
.glyphicon-glass:before {
  content: "\e001";
}
.glyphicon-music:before {
  content: "\e002";
}
.glyphicon-search:before {
  content: "\e003";
}
.glyphicon-heart:before {
  content: "\e005";
}
.glyphicon-star:before {
  content: "\e006";
}
.glyphicon-star-empty:before {
  content: "\e007";
}
.glyphicon-user:before {
  content: "\e008";
}
.glyphicon-film:before {
  content: "\e009";
}
.glyphicon-th-large:before {
  content: "\e010";
}
.glyphicon-th:before {
  content: "\e011";
}
.glyphicon-th-list:before {
  content: "\e012";
}
.glyphicon-ok:before {
  content: "\e013";
}
.glyphicon-remove:before {
  content: "\e014";
}
.glyphicon-zoom-in:before {
  content: "\e015";
}
.glyphicon-zoom-out:before {
  content: "\e016";
}
.glyphicon-off:before {
  content: "\e017";
}
.glyphicon-signal:before {
  content: "\e018";
}
.glyphicon-cog:before {
  content: "\e019";
}
.glyphicon-trash:before {
  content: "\e020";
}
.glyphicon-home:before {
  content: "\e021";
}
.glyphicon-file:before {
  content: "\e022";
}
.glyphicon-time:before {
  content: "\e023";
}
.glyphicon-road:before {
  content: "\e024";
}
.glyphicon-download-alt:before {
  content: "\e025";
}
.glyphicon-download:before {
  content: "\e026";
}
.glyphicon-upload:before {
  content: "\e027";
}
.glyphicon-inbox:before {
  content: "\e028";
}
.glyphicon-play-circle:before {
  content: "\e029";
}
.glyphicon-repeat:before {
  content: "\e030";
}
.glyphicon-refresh:before {
  content: "\e031";
}
.glyphicon-list-alt:before {
  content: "\e032";
}
.glyphicon-lock:before {
  content: "\e033";
}
.glyphicon-flag:before {
  content: "\e034";
}
.glyphicon-headphones:before {
  content: "\e035";
}
.glyphicon-volume-off:before {
  content: "\e036";
}
.glyphicon-volume-down:before {
  content: "\e037";
}
.glyphicon-volume-up:before {
  content: "\e038";
}
.glyphicon-qrcode:before {
  content: "\e039";
}
.glyphicon-barcode:before {
  content: "\e040";
}
.glyphicon-tag:before {
  content: "\e041";
}
.glyphicon-tags:before {
  content: "\e042";
}
.glyphicon-book:before {
  content: "\e043";
}
.glyphicon-bookmark:before {
  content: "\e044";
}
.glyphicon-print:before {
  content: "\e045";
}
.glyphicon-camera:before {
  content: "\e046";
}
.glyphicon-font:before {
  content: "\e047";
}
.glyphicon-bold:before {
  content: "\e048";
}
.glyphicon-italic:before {
  content: "\e049";
}
.glyphicon-text-height:before {
  content: "\e050";
}
.glyphicon-text-width:before {
  content: "\e051";
}
.glyphicon-align-left:before {
  content: "\e052";
}
.glyphicon-align-center:before {
  content: "\e053";
}
.glyphicon-align-right:before {
  content: "\e054";
}
.glyphicon-align-justify:before {
  content: "\e055";
}
.glyphicon-list:before {
  content: "\e056";
}
.glyphicon-indent-left:before {
  content: "\e057";
}
.glyphicon-indent-right:before {
  content: "\e058";
}
.glyphicon-facetime-video:before {
  content: "\e059";
}
.glyphicon-picture:before {
  content: "\e060";
}
.glyphicon-map-marker:before {
  content: "\e062";
}
.glyphicon-adjust:before {
  content: "\e063";
}
.glyphicon-tint:before {
  content: "\e064";
}
.glyphicon-edit:before {
  content: "\e065";
}
.glyphicon-share:before {
  content: "\e066";
}
.glyphicon-check:before {
  content: "\e067";
}
.glyphicon-move:before {
  content: "\e068";
}
.glyphicon-step-backward:before {
  content: "\e069";
}
.glyphicon-fast-backward:before {
  content: "\e070";
}
.glyphicon-backward:before {
  content: "\e071";
}
.glyphicon-play:before {
  content: "\e072";
}
.glyphicon-pause:before {
  content: "\e073";
}
.glyphicon-stop:before {
  content: "\e074";
}
.glyphicon-forward:before {
  content: "\e075";
}
.glyphicon-fast-forward:before {
  content: "\e076";
}
.glyphicon-step-forward:before {
  content: "\e077";
}
.glyphicon-eject:before {
  content: "\e078";
}
.glyphicon-chevron-left:before {
  content: "\e079";
}
.glyphicon-chevron-right:before {
  content: "\e080";
}
.glyphicon-plus-sign:before {
  content: "\e081";
}
.glyphicon-minus-sign:before {
  content: "\e082";
}
.glyphicon-remove-sign:before {
  content: "\e083";
}
.glyphicon-ok-sign:before {
  content: "\e084";
}
.glyphicon-question-sign:before {
  content: "\e085";
}
.glyphicon-info-sign:before {
  content: "\e086";
}
.glyphicon-screenshot:before {
  content: "\e087";
}
.glyphicon-remove-circle:before {
  content: "\e088";
}
.glyphicon-ok-circle:before {
  content: "\e089";
}
.glyphicon-ban-circle:before {
  content: "\e090";
}
.glyphicon-arrow-left:before {
  content: "\e091";
}
.glyphicon-arrow-right:before {
  content: "\e092";
}
.glyphicon-arrow-up:before {
  content: "\e093";
}
.glyphicon-arrow-down:before {
  content: "\e094";
}
.glyphicon-share-alt:before {
  content: "\e095";
}
.glyphicon-resize-full:before {
  content: "\e096";
}
.glyphicon-resize-small:before {
  content: "\e097";
}
.glyphicon-exclamation-sign:before {
  content: "\e101";
}
.glyphicon-gift:before {
  content: "\e102";
}
.glyphicon-leaf:before {
  content: "\e103";
}
.glyphicon-fire:before {
  content: "\e104";
}
.glyphicon-eye-open:before {
  content: "\e105";
}
.glyphicon-eye-close:before {
  content: "\e106";
}
.glyphicon-warning-sign:before {
  content: "\e107";
}
.glyphicon-plane:before {
  content: "\e108";
}
.glyphicon-calendar:before {
  content: "\e109";
}
.glyphicon-random:before {
  content: "\e110";
}
.glyphicon-comment:before {
  content: "\e111";
}
.glyphicon-magnet:before {
  content: "\e112";
}
.glyphicon-chevron-up:before {
  content: "\e113";
}
.glyphicon-chevron-down:before {
  content: "\e114";
}
.glyphicon-retweet:before {
  content: "\e115";
}
.glyphicon-shopping-cart:before {
  content: "\e116";
}
.glyphicon-folder-close:before {
  content: "\e117";
}
.glyphicon-folder-open:before {
  content: "\e118";
}
.glyphicon-resize-vertical:before {
  content: "\e119";
}
.glyphicon-resize-horizontal:before {
  content: "\e120";
}
.glyphicon-hdd:before {
  content: "\e121";
}
.glyphicon-bullhorn:before {
  content: "\e122";
}
.glyphicon-bell:before {
  content: "\e123";
}
.glyphicon-certificate:before {
  content: "\e124";
}
.glyphicon-thumbs-up:before {
  content: "\e125";
}
.glyphicon-thumbs-down:before {
  content: "\e126";
}
.glyphicon-hand-right:before {
  content: "\e127";
}
.glyphicon-hand-left:before {
  content: "\e128";
}
.glyphicon-hand-up:before {
  content: "\e129";
}
.glyphicon-hand-down:before {
  content: "\e130";
}
.glyphicon-circle-arrow-right:before {
  content: "\e131";
}
.glyphicon-circle-arrow-left:before {
  content: "\e132";
}
.glyphicon-circle-arrow-up:before {
  content: "\e133";
}
.glyphicon-circle-arrow-down:before {
  content: "\e134";
}
.glyphicon-globe:before {
  content: "\e135";
}
.glyphicon-wrench:before {
  content: "\e136";
}
.glyphicon-tasks:before {
  content: "\e137";
}
.glyphicon-filter:before {
  content: "\e138";
}
.glyphicon-briefcase:before {
  content: "\e139";
}
.glyphicon-fullscreen:before {
  content: "\e140";
}
.glyphicon-dashboard:before {
  content: "\e141";
}
.glyphicon-paperclip:before {
  content: "\e142";
}
.glyphicon-heart-empty:before {
  content: "\e143";
}
.glyphicon-link:before {
  content: "\e144";
}
.glyphicon-phone:before {
  content: "\e145";
}
.glyphicon-pushpin:before {
  content: "\e146";
}
.glyphicon-usd:before {
  content: "\e148";
}
.glyphicon-gbp:before {
  content: "\e149";
}
.glyphicon-sort:before {
  content: "\e150";
}
.glyphicon-sort-by-alphabet:before {
  content: "\e151";
}
.glyphicon-sort-by-alphabet-alt:before {
  content: "\e152";
}
.glyphicon-sort-by-order:before {
  content: "\e153";
}
.glyphicon-sort-by-order-alt:before {
  content: "\e154";
}
.glyphicon-sort-by-attributes:before {
  content: "\e155";
}
.glyphicon-sort-by-attributes-alt:before {
  content: "\e156";
}
.glyphicon-unchecked:before {
  content: "\e157";
}
.glyphicon-expand:before {
  content: "\e158";
}
.glyphicon-collapse-down:before {
  content: "\e159";
}
.glyphicon-collapse-up:before {
  content: "\e160";
}
.glyphicon-log-in:before {
  content: "\e161";
}
.glyphicon-flash:before {
  content: "\e162";
}
.glyphicon-log-out:before {
  content: "\e163";
}
.glyphicon-new-window:before {
  content: "\e164";
}
.glyphicon-record:before {
  content: "\e165";
}
.glyphicon-save:before {
  content: "\e166";
}
.glyphicon-open:before {
  content: "\e167";
}
.glyphicon-saved:before {
  content: "\e168";
}
.glyphicon-import:before {
  content: "\e169";
}
.glyphicon-export:before {
  content: "\e170";
}
.glyphicon-send:before {
  content: "\e171";
}
.glyphicon-floppy-disk:before {
  content: "\e172";
}
.glyphicon-floppy-saved:before {
  content: "\e173";
}
.glyphicon-floppy-remove:before {
  content: "\e174";
}
.glyphicon-floppy-save:before {
  content: "\e175";
}
.glyphicon-floppy-open:before {
  content: "\e176";
}
.glyphicon-credit-card:before {
  content: "\e177";
}
.glyphicon-transfer:before {
  content: "\e178";
}
.glyphicon-cutlery:before {
  content: "\e179";
}
.glyphicon-header:before {
  content: "\e180";
}
.glyphicon-compressed:before {
  content: "\e181";
}
.glyphicon-earphone:before {
  content: "\e182";
}
.glyphicon-phone-alt:before {
  content: "\e183";
}
.glyphicon-tower:before {
  content: "\e184";
}
.glyphicon-stats:before {
  content: "\e185";
}
.glyphicon-sd-video:before {
  content: "\e186";
}
.glyphicon-hd-video:before {
  content: "\e187";
}
.glyphicon-subtitles:before {
  content: "\e188";
}
.glyphicon-sound-stereo:before {
  content: "\e189";
}
.glyphicon-sound-dolby:before {
  content: "\e190";
}
.glyphicon-sound-5-1:before {
  content: "\e191";
}
.glyphicon-sound-6-1:before {
  content: "\e192";
}
.glyphicon-sound-7-1:before {
  content: "\e193";
}
.glyphicon-copyright-mark:before {
  content: "\e194";
}
.glyphicon-registration-mark:before {
  content: "\e195";
}
.glyphicon-cloud-download:before {
  content: "\e197";
}
.glyphicon-cloud-upload:before {
  content: "\e198";
}
.glyphicon-tree-conifer:before {
  content: "\e199";
}
.glyphicon-tree-deciduous:before {
  content: "\e200";
}
.glyphicon-cd:before {
  content: "\e201";
}
.glyphicon-save-file:before {
  content: "\e202";
}
.glyphicon-open-file:before {
  content: "\e203";
}
.glyphicon-level-up:before {
  content: "\e204";
}
.glyphicon-copy:before {
  content: "\e205";
}
.glyphicon-paste:before {
  content: "\e206";
}
.glyphicon-alert:before {
  content: "\e209";
}
.glyphicon-equalizer:before {
  content: "\e210";
}
.glyphicon-king:before {
  content: "\e211";
}
.glyphicon-queen:before {
  content: "\e212";
}
.glyphicon-pawn:before {
  content: "\e213";
}
.glyphicon-bishop:before {
  content: "\e214";
}
.glyphicon-knight:before {
  content: "\e215";
}
.glyphicon-baby-formula:before {
  content: "\e216";
}
.glyphicon-tent:before {
  content: "\26fa";
}
.glyphicon-blackboard:before {
  content: "\e218";
}
.glyphicon-bed:before {
  content: "\e219";
}
.glyphicon-apple:before {
  content: "\f8ff";
}
.glyphicon-erase:before {
  content: "\e221";
}
.glyphicon-hourglass:before {
  content: "\231b";
}
.glyphicon-lamp:before {
  content: "\e223";
}
.glyphicon-duplicate:before {
  content: "\e224";
}
.glyphicon-piggy-bank:before {
  content: "\e225";
}
.glyphicon-scissors:before {
  content: "\e226";
}
.glyphicon-bitcoin:before {
  content: "\e227";
}
.glyphicon-btc:before {
  content: "\e227";
}
.glyphicon-xbt:before {
  content: "\e227";
}
.glyphicon-yen:before {
  content: "\00a5";
}
.glyphicon-jpy:before {
  content: "\00a5";
}
.glyphicon-ruble:before {
  content: "\20bd";
}
.glyphicon-rub:before {
  content: "\20bd";
}
.glyphicon-scale:before {
  content: "\e230";
}
.glyphicon-ice-lolly:before {
  content: "\e231";
}
.glyphicon-ice-lolly-tasted:before {
  content: "\e232";
}
.glyphicon-education:before {
  content: "\e233";
}
.glyphicon-option-horizontal:before {
  content: "\e234";
}
.glyphicon-option-vertical:before {
  content: "\e235";
}
.glyphicon-menu-hamburger:before {
  content: "\e236";
}
.glyphicon-modal-window:before {
  content: "\e237";
}
.glyphicon-oil:before {
  content: "\e238";
}
.glyphicon-grain:before {
  content: "\e239";
}
.glyphicon-sunglasses:before {
  content: "\e240";
}
.glyphicon-text-size:before {
  content: "\e241";
}
.glyphicon-text-color:before {
  content: "\e242";
}
.glyphicon-text-background:before {
  content: "\e243";
}
.glyphicon-object-align-top:before {
  content: "\e244";
}
.glyphicon-object-align-bottom:before {
  content: "\e245";
}
.glyphicon-object-align-horizontal:before {
  content: "\e246";
}
.glyphicon-object-align-left:before {
  content: "\e247";
}
.glyphicon-object-align-vertical:before {
  content: "\e248";
}
.glyphicon-object-align-right:before {
  content: "\e249";
}
.glyphicon-triangle-right:before {
  content: "\e250";
}
.glyphicon-triangle-left:before {
  content: "\e251";
}
.glyphicon-triangle-bottom:before {
  content: "\e252";
}
.glyphicon-triangle-top:before {
  content: "\e253";
}
.glyphicon-console:before {
  content: "\e254";
}
.glyphicon-superscript:before {
  content: "\e255";
}
.glyphicon-subscript:before {
  content: "\e256";
}
.glyphicon-menu-left:before {
  content: "\e257";
}
.glyphicon-menu-right:before {
  content: "\e258";
}
.glyphicon-menu-down:before {
  content: "\e259";
}
.glyphicon-menu-up:before {
  content: "\e260";
}

/* ------------------------------------------------------------------------- *
 * Mand Hover Definition Tooltip
/* ------------------------------------------------------------------------- */

.mand-block:hover {
  background-color: #fbf8ef;
  cursor: pointer;
  cursor: url(../img/pen.png), auto;
  outline: 0.3rem solid #fbf8ef;
}

.mand-def {
  border-radius: 0;
  padding: 0;
  margin: 0;
  padding-top: 10px;
  line-height: initial;
}

.mand-def:first-child {
  padding-top: 0;
}

.mand-def + .mand-def {
  border-top: 1px solid #ddd;
  margin-top: 6px;
}

a.mand-def-more-link {
  color: #fd6106;
  display: block;
}

.mand-def p {
  margin: 0;
}

.mand-def:first-child h2 {
  margin-top: -4px;
}

.mand-def h2 {
  padding-top: 0;
  line-height: 1;
  margin-top: -10px;
  margin-bottom: 6px;
  display: inline-block;
  margin-right: 20px;
}

.mand-def-card {
  border-radius: 0;
  box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.2);
  border: none;
  padding: 10px;
  margin: 0;
  max-width: 300px;
  background: rgb(251, 251, 251) !important;
  text-align: left;
  font-family: Alegreya, Garamond, Baskerville, "Baskerville Old Face",
    "Hoefler Text", "Times New Roman", SimSun, serif;
  border-radius: 4px;
  border: 1px solid #ddd !important;
  font-size: 1em;
}

.mand-def h2 a {
  font-size: 20px !important;
  font-family: Alegreya, Garamond, Baskerville, "Baskerville Old Face",
    "Hoefler Text", "Times New Roman", SimSun, serif;
  margin-top: 0;
  font-weight: normal !important;
  color: #fd6106 !important;
}

.mand-def p {
  font-family: Alegreya, Garamond, Baskerville, "Baskerville Old Face",
    "Hoefler Text", "Times New Roman", SimSun, serif;
}

.mand-highlight,
.mand-highlight:hover {
  background-color: yellow;
  outline: 0.3rem solid yellow;
}

/* ==========================================================================
 =Annotator.JS
 ========================================================================== */

/*
 Annotator Result
 ========================================================================== */

.annotation-result .mand-block,
.add-pinyin .mand-block {
  display: inline-block;
  text-align: center;
  margin: 0 0.28em;
  bottom: -0.35em;
  position: relative;
}

.add-pinyin em {
  font-style: italic;
  font-family: Alegreya, Garamond, Baskerville, "Baskerville Old Face",
    "Hoefler Text", "Times New Roman", "KaiTi", STKaiti;
}

.add-pinyin .mand-block * {
  transition: all 0.5s ease-in-out !important;
}

.add-pinyin .mand-block span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  display: block;
  line-height: 1.3;
}

.add-pinyin .mand-block-definitions {
  color: #aaa;
  font-size: 0.85em;
}

.add-pinyin.copiable .mand-block {
  display: inline;
  bottom: 0;
  margin: 0.3rem;
}

.add-pinyin.copiable .mand-block span {
  display: inline;
  white-space: inherit;
  margin: 0 0.3rem;
}

.tpd-tooltip .tpd-background {
  display: none;
}

.tpd-tooltip .tpd-stem-triangle {
  /*     display:none;{ */
  border-bottom-color: #fbf8ef !important;
  background-color: #fbf8ef;
  display: none;
}

#annotator-result,
.vocab-list {
  line-height: 2;
  margin: 1rem 0 2rem 0;
  padding: 2rem;
  border: 1px solid #909090;
}

@media screen and (max-width: 480px) {
  .vocab-list {
    padding: 2rem;
    left: 0;
    margin-right: -31px;
    margin-left: -31px;
    width: calc(100% + 62px);
    margin-top: 3rem;
    padding-left: 0;
    padding-right: 0;
  }
}

.vocab-list h3 {
  font-family: Raleway;
  text-align: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
  margin-top: 0;
}

.vocab-simplified {
  color: #fd6106;
  min-width: 5em;
}

.vocab-pinyin {
  font-weight: normal;
  margin-left: 1rem;
  color: #666;
}

.vocab-def {
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
  font-size: 0.8em;
}

.vocab-title {
  margin-top: 1rem;
}

.vocab-def-list td {
  padding: 0.5rem;
}

@media screen and (max-width: 480px) {
  #annotator-result {
    padding: 2rem;
    left: 0;
    margin-right: -31px;
    margin-left: -31px;
    width: calc(100% + 62px);
    margin-top: 3rem;
  }
}

.add-pinyin .mand-block {
  display: inline-block;
  text-align: center;
  margin: 0 0.2rem;
  bottom: -0.35em;
  position: relative;
}

.mand-block-difficult {
  background-color: rgb(252, 248, 232);
  outline: 1rem solid rgb(252, 248, 232);
}

.mand-block-simplified:hover,
.mand-block-traditional:hover {
  cursor: pointer;
  cursor: url(../img/pen.png), auto;
}

.mand-block.mand-highlight:hover {
  background-color: yellow;
  outline: 1rem solid yellow;
}

.mand-highlight {
  background-color: yellow;
  outline: 1rem solid yellow;
}

.annotation-result em {
  font-style: italic;
  font-family: Alegreya, Garamond, Baskerville, "Baskerville Old Face",
    "Hoefler Text", "Times New Roman", "KaiTi", STKaiti;
}

.annotation-result .mand-block * {
  transition: all 0.5s ease-in-out !important;
}

.annotation-result .mand-block span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  display: block;
  line-height: 1.3;
}

.annotation-result .mand-block-definition {
  color: #aaa;
  font-size: 0.85em;
}

.annotation-result.copiable .mand-block {
  display: inline;
  bottom: 0;
  margin: 0.3rem;
}

.annotation-result.copiable .mand-block span {
  display: inline;
  white-space: inherit;
  margin: 0 0.3rem;
}

/* Toggles for Show/Hide Lines */

.add-pinyin .mand-block .mand-block-definition,
.add-pinyin .mand-block .mand-block-pinyin,
.add-pinyin .mand-block .mand-block-mand,
.add-pinyin .mand-block .mand-block-simplified,
.add-pinyin .mand-block .mand-block-traditional {
  display: none;
}

.add-pinyin .mand-block .mand-block-pinyin,
.add-pinyin .mand-block .mand-block-simplified {
  display: block; /* These two lines are shown by default */
}

.add-pinyin.show-definition .mand-block .mand-block-definition,
.add-pinyin.show-pinyin .mand-block .mand-block-pinyin,
.add-pinyin.show-mand .mand-block .mand-block-mand,
.add-pinyin.show-simplified .mand-block .mand-block-simplified,
.add-pinyin.show-traditional .mand-block .mand-block-traditional {
  display: block;
}

.add-pinyin.hide-definition .mand-block .mand-block-definition,
.add-pinyin.hide-pinyin .mand-block .mand-block-pinyin,
.add-pinyin.hide-mand .mand-block .mand-block-mand,
.add-pinyin.hide-simplified .mand-block .mand-block-simplified,
.add-pinyin.hide-traditional .mand-block .mand-block-traditional {
  display: none;
}

/*
 Annotator Result - Copiable
 ========================================================================== */

.annotation-result.copiable .mand-block:hover {
  outline: none;
}

.annotation-result.copiable .mand-highlight {
  outline: none;
}

/*
 Tool tip
 =========================================================================== */

.tpd-tooltip .tpd-content {
  border-radius: 10px;
  padding: 9px !important;
  /* Border:1px solid #ccc; */
  /* Use inset shadow to simulate border - using border will break the tooltip */
  box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.5);
  background: rgb(251, 251, 251);
  border-radius: 4px;
}

.mand-def {
  border-radius: 0;
  padding: 0;
  margin: 0;
  padding-top: 10px;
  font-size: 13.2px !important;
}

.mand-def:first-child {
  padding-top: 0;
}

.mand-def + .mand-def {
  border-top: 1px solid #e4dfcf;
  margin-top: 6px;
}

/* The pinyin header orange link where they can click and get a full definiton*/

.mand-def h2 {
  padding-top: 0;
  line-height: 1;
  margin-top: -10px;
  margin-bottom: 2px;
  display: inline-block;
  margin-right: 20px;
}

/*Set this and edit buttons on the tooltip*/

.btn.set-this,
.btn.def-edit {
  color: #fd6106;
  border: 1px solid #fd6106;
  background: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.7rem;
  padding: 2px 5px;
  bottom: 3px;
  position: relative;
  margin-right: 0.5rem;
}

.btn.set-this:hover,
.btn.def-edit:hover {
  color: #fff;
  text-decoration: none;
  background: #fd6106;
}

.mand-def:first-child h2 {
  margin-top: -4px;
}

.mand-def h2 a {
  font-size: 1.4rem !important;
  font-family: "Alegreya", "Times New Roman", Times, serif;
  margin-top: 0;
  font-weight: normal !important;
  color: #fd6106 !important;
}

.mand-def p {
  margin: 0;
  font-family: "Alegreya", "Times New Roman", Times, serif;
  font-size: 1.2em;
  color: black;
}

.tpd-content .mand-def h2 {
  margin-bottom: 0;
  margin-top: 0;
}

.ui-tooltip-content {
  padding: 0.3rem;
}

/*
 Annotator Form and Controls
 ========================================================================== */

.annotator-form-wrapper {
  width: 100%;
  background: white;
  margin: 0;
  z-index: 999;
}

.hide-btn {
  display: block;
  text-align: center;
  -webkit-flex: 1;
  flex: 1;
  margin-right: 1rem;
}

.annotator-convert-button {
  height: auto;
  display: block;
  width: auto;
  -webkit-flex: 1;
  flex: 1;
  background: #fb5227;
  color: white;
  padding: 0.3em;
  font-size: 1.5em;
  text-align: center;
  border-radius: 40px;
  text-transform: uppercase;
}

.annotator-buttons > a {
  background: #fb5227;
  color: white;
  padding: 0.5em 1em;
  border-radius: 20px;
  font-weight: bold;
}

#difficulty-slider {
  background: #ffccbf;
  border-radius: 20px;
}

.add-pinyin {
}

.annotator-toolbars {
  display: none;
  margin-top: 1rem;
}

.annotator-options {
  line-height: 2em;
  display: flex;
  align-items: flex-end;
  padding: 1rem 0;
}

.annotator-options * {
  line-height: 1.4;
}

iframe#text_ifr {
  max-height: 150px;
}

#difficulty-slider {
  max-width: 200px;
  display: inline-block;
  position: relative;
  bottom: -3px;
}

.btn.speak {
  border: none;
  background: none !important;
  color: #999;
  font-size: 1.3rem;
  padding: 0;
  margin-right: 0.5rem;
}

.btn.speak:hover {
  text-decoration: none;
  color: #fd6105;
}

#annotator-speak-button i:before,
#annotator-download-button i:before {
  font-size: 1.5em;
  margin-right: 0.5rem;
  line-height: 0;
  position: relative;
  bottom: -4px;
}

.btn.speak:before {
  bottom: 0.3rem;
  position: relative;
}

.difficulty-slider-wrapper {
  margin-left: 1rem;
}

.hide-btn .glyphicon:before {
  margin-right: 1rem;
}

.bottom-buttons {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-around;
  justify-content: space-around;
  -webkit-align-items: center;
  align-items: center;
}

.annotator-form-wrapper .bottom-buttons {
  padding: 1rem;
}

/*
 =Tiny MCE (Annotator Editor)
 ========================================================================== */

@media screen and (max-width: 767px) {
  #mceu_41, /* Status bar at the bottom */
  #mceu_22, /* Dropdown menu */
  #mceu_38, /* Prit, Video ... */
  #mceu_37, #mceu_39/* Font color and smileys */
 {
    display: none;
  }
  iframe#text_ifr {
    max-height: 150px;
  }
}

.mce-flow-layout {
  display: none;
}

/*In case the TinyMCE editor doesn't load, or when we decide to use another editor*/

textarea.annotator-text-area {
  width: 100%;
  height: 20rem;
  padding: 2rem;
  font-size: 2rem;
  max-width: 1070px;
}

/* =Print
 ========================================================================== */

@media print {
  #annotator-result {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}

.btn .glyphicon {
  font-size: 0.9em;
}
