div.casthover-hovercard {
    display: block;
    position: absolute;
    z-index: 9999;
    width: 420px;
    visibility: hidden;
    height: 200px;
    width: 600px;
    text-align: left;
}

div.casthover-hovercard div.cast-box, div.casthover-hovercard table.cast-wrapper {
    background: #ffffff;
    padding: 20px;
    border: 1px solid black;
    position: absolute;
    display: block;
    top: 10px;
    box-shadow: 0px 0px 0px #000;
}

div.casthover-hovercard div.cast-box div.cast-info p.cast-description, div.casthover-hovercard table.cast-wrapper td.cast-info p.cast-description {
    max-height: 100px;
    overflow-y: visible;
    border: 0px solid black;
    padding: 10px;
    text-align: left;
}

/* The Triangle */

div.casthover-hovercard:after {
    content: "";
    position: relative;
    top: -9px; /* value = - border-top-width - border-bottom-width */
    left: 75px; /* controls horizontal position */
    border-width: 0px 20px 20px; /* vary these values to change the angle of the vertex */
    border-style: solid;
    border-color: #000 transparent; /* reduce the damage in FF3.0 */
    display: block;
    width: 0;
}

/* Cast Reference Widget */

div.castrefwidget-wrapper {
    text-align: right;
}

div.castrefwidget-block {
    height: 120px;
    width: 90px;
    background-size: contain;
    margin: 0px;
    border: 0px solid #000;
}

div.castrefwidget-block {
    vertical-align: middle;
    display: inline-block;

}

div.castrefwidget-wrapper div.casthover-hovercard {
    color: #000;
    font-size: 12px;
}

div.castrefwidget-wrapper div.casthover-hovercard a {
    color: #000;
}
