

.tooltip {
    display:inline-block;
    position:relative;
    border-bottom:1px dotted #666;
    background: rgba(153, 153, 153, 0.11);
}

.tooltip h3 {margin:12px 0;}

.bottom {
    min-width:200px;
    max-width:400px;
    top:40px;
    left:50%;
    transform:translate(-50%, 0);
    padding:20px;
    color:#666666;
    background-color:#EEEEEE;
    font-weight:normal;
    font-size:13px;
    border-radius:8px;
    position:absolute;
    z-index:99999999;
    box-sizing:border-box;
    box-shadow:0 1px 8px rgba(0,0,0,0.5);
    display:none;
}

p {
    text-align: justify;
}

u
{
    border-bottom: 2px dotted #000;
    border-color: mediumvioletred;
    text-decoration: none;
}

.tdcustom1 {
  position: relative;
  background: rgba(153, 153, 153, 0.11);
}

.tdcustom1 h3 {
  margin:12px 0;
  color: indianred;
}

.tdcustom1 h4 {
  margin:12px 0;
}

.tdcustom1 h5 {
  margin:12px 0;
  text-align: center;
}

.tdcustom1:hover span.bottom{
    display:block;
}

.tdcustom1 .bottom i {
    position:absolute;
    bottom:100%;
    left:50%;
    margin-left:-12px;
    width:24px;
    height:12px;
    overflow:hidden;
}

.tdcustom1 .bottom i::after {
    content:'';
    position:absolute;
    width:12px;
    height:12px;
    left:50%;
    transform:translate(-50%,50%) rotate(45deg);
    background-color:#EEEEEE;
    box-shadow:0 1px 8px rgba(0,0,0,0.5);
}

.tdcustom2 {
  position: relative;
  background: lightblue;
  border-color: 1px solid #ccc;
}

.tdcustom2 h3 {
  margin:12px 0;
  color: indianred;
}

.tdcustom2 h4 {
  margin:12px 0;
}

.tdcustom2 h5 {
  margin:12px 0;
  text-align: center;
}

.tdcustom2:hover span.bottom{
    display:block;
}

.tdcustom2 .bottom i {
    position:absolute;
    bottom:100%;
    left:50%;
    margin-left:-12px;
    width:24px;
    height:12px;
    overflow:hidden;
}

.tdcustom2 .bottom i::after {
    content:'';
    position:absolute;
    width:12px;
    height:12px;
    left:50%;
    transform:translate(-50%,50%) rotate(45deg);
    background-color:#EEEEEE;
    box-shadow:0 1px 8px rgba(0,0,0,0.5);
}
/*tdcustom2 end*/

.tt3 {
  position: relative;
}

.tt3_1 {
  position: relative;
}

.tt3 h3 {
  margin:12px 0;
  color: indianred;
}

.tt3 h4 {
  margin:12px 0;
}

.tt3 h5 {
  margin:12px 0;
  text-align: center;
}

.tt3:hover span.bottom{
    display:block;
}

.tt3 .bottom i {
    position:absolute;
    bottom:100%;
    left:50%;
    margin-left:-12px;
    width:30px;
    height:12px;
    overflow:hidden;
}

.tt3 .bottom i::after {
    content:'';
    position:absolute;
    width:12px;
    height:12px;
    left:50%;
    transform:translate(-50%,50%) rotate(45deg);
    background-color:#EEEEEE;
    box-shadow:0 1px 8px rgba(0,0,0,0.5);
}


/* test */
.tooltip:hover .bottom {
    display:block;
}

.tooltip .bottom img {
    width:400px;
}

.tooltip .bottom i {
    position:absolute;
    bottom:100%;
    left:50%;
    margin-left:-12px;
    width:24px;
    height:12px;
    overflow:hidden;
}

.tooltip .bottom i::after {
    content:'';
    position:absolute;
    width:12px;
    height:12px;
    left:50%;
    transform:translate(-50%,50%) rotate(45deg);
    background-color:#EEEEEE;
    box-shadow:0 1px 8px rgba(0,0,0,0.5);
}
