/* This is a fake demo to give the idea about one 
   kind of the infotips I did as a trainee for Nokia */

.infotip {
    position: absolute;
    padding-left: 18px;
    padding-top: 26px;
    font-size: 16px;
    color: rgb(208,27,76);
}

/* scaling up and down */
.infotip:before {
    position: absolute;
    -webkit-animation-name: scaling; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 1.5s; /* Safari 4.0 - 8.0 */
    -webkit-animation-iteration-count: 4; /* Safari 4.0 - 8.0 */
    -webkit-animation-delay: 1s; /* Safari 4.0 - 8.0 */
    animation-name: scaling;
    animation-duration: 1.5s;
    animation-iteration-count: 4;
    animation-delay: 1s;
}

/* animation Safari 4.0 - 8.0 */
@-webkit-keyframes scaling {
    50% {transform: scale(1.45, 1.45);
         transform-origin: 50% 50%;}
}
/* animation Standard syntax */
@keyframes scaling {
    50% {transform: scale(1.45, 1.45);
         transform-origin: 50% 50%;}
}

.infotiptext {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    color: initial;
    bottom: 34px;
    left: -200px;
    width: 300px;
    background-color: white;
    box-shadow: 0px 0px 8px 0px gray;
    border: 1px solid;
    border-color: gray;
    border-radius: 2px;
    padding: 8px 12px;
    line-height: 135%;
    text-align: center;
    /* hover off fade out */
    -o-transition: 150ms 75ms;
    -ms-transition: 150ms 75ms;
    -moz-transition: 150ms 75ms;
    -webkit-transition: 150ms 75ms;
    transition: 150ms 75ms;
}

.infotip:hover .infotiptext {
    visibility: visible;
    opacity: 1;
    /* hover on fade in */
    -o-transition: visibility 0s, opacity 150ms ease;
    -ms-transition: visibility 0s, opacity 150ms ease;
    -moz-transition: visibility 0s, opacity 150ms ease;
    -webkit-transition: visibility 0s, opacity 150ms ease;
    transition: visibility 0s, opacity 150ms;
}

 /* bottom arrow */
.infotiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 74%;
    margin-left: -5px;
    border-width: 9px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.infotiptext::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 74%;
    margin-left: -7px;
    border-width: 11px;
    border-style: solid;
    border-color: gray transparent transparent transparent;
}

div.infotip_link {
    text-decoration: underline;
    font-style: oblique;
}