/* [For popup tooltip] */
.csstooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }

  .csstooltip .csstooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    
    /* Position the csstooltip */
    position: absolute;
    z-index: 1500;
    width: 150px;
    bottom: 100%;
    left: 50%; 
    margin-left: -60px;
  }

  .csstooltip:hover .csstooltiptext {
    visibility: visible;
  }

/* [For toolbar tooltip] */

/* custom tooltip */
  a {
      color: #367fa9;
  }
  /* has ctt attribute */
  [ctt] {
    position: relative;
  }

  [ctt]:before,
  [ctt]:after {
    display: none;
    position: absolute;
    top: 0;
  }
/*  triangle */
  [ctt]:before { 
    border-bottom: .6em solid #09f;
    border-bottom: .6em solid rgba(0,153,255,0.8);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    content: "";
    left: 0px;
    margin-top: 1em;
  }
  [ctt]:after {
    background-color: #367fa9;
    background-color: rgba(54,127,169,0.8);
    border: 2px solid #367fa9;
    border: 2px solid rgba(54,127,169,0.8);
    border-radius: 4px;
    color: #ffffff;
    /* content: attr(ctt-label) ":\A" attr(ctt-message); */
    content: attr(ctt-message);
    left: 0;
    margin-top: 1.5em;
    padding: 5px 10px;
    white-space: pre-wrap;
    width: 200px;
    z-index: 2000;
    text-align: left;
  }
/* behavior */
  [ctt]:hover:after,
  [ctt]:hover:before {
    display: block;
  }