.dialog {
    position: absolute;
    width: 270px;
    padding: 30px 35px;
    margin: 1em 0 0 1em;
    color: black;
    background: white;
/*
    -webkit-border-radius: 200px 100px;
    -moz-border-radius: 200px / 120px;
    border-radius: 200px / 100px;
*/
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    z-index: 100;
    font-size: 16px;
    font-family: Tahoma, sans-serif;
    text-align: center;
}

.dialog > i {
    display: block;
    font-size: 12px;
    color: grey;
/*    text-align: right;*/
/*    margin-right: 30px;*/
}

.dialog:before, .dialog:after {
    content: "";
    position: absolute;
    background: white;
}

.dialog:before {
    width: 30px;
    height: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.dialog:after {
    width: 15px;
    height: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.dialog.left:before {
    right: 40px;
}

.dialog.top:before {
    bottom: -20px;
}

.dialog.right:before {
    left: 40px;
}

.dialog.bottom:before {
    top: -20px;
}

.dialog.left:after {
    right: 20px;
}

.dialog.top:after {
    bottom: -30px;
}

.dialog.right:after {
    left: 20px;
}

.dialog.bottom:after {
    top: -30px;
}

.dialog.top {
    bottom: calc(50% + 150px);
}

.dialog.bottom {
    top: 110%;
}

.dialog.left {
    right: 50%;
}

.dialog.right {
    left: 25%;
}

.dialog {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0s linear 0.3s;
}

div:hover > .dialog {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}