/*.eo-tooltip {
    padding: 8px;
    position: absolute;
    z-index: 9999;
    max-width: 300px;
}*/

.eo-tooltip {
    z-index: 99999;
    position: absolute;
    color: #fff;
    display: none;
}

.eo-tooltip__message {
    font-size: 12px;
    max-width: 200px;
    padding: 6px 20px;
    color: black;
    text-align: center;
    border-radius: 4px;
    background-color: #eee;
    background: -webkit-linear-gradient(#fff 0%, #eee 100%); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#fff 0%, #eee 100%); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#fff 0%, #eee 100%); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#fff 0%, #eee 100%); /* Standard syntax */
    border: 1px solid #d4d4d4;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.3);
    position:relative;
    display:inline-block;
}

.eo-tooltip__message--image{
    display: none;
    max-width: 310px;
    width: 310px;
}
.eo-tooltip__message--image>div{
    width: 270px;
    height: 270px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.eo-tooltip__arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.eo-tooltip--top .eo-tooltip__arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: #d4d4d4;
}

.eo-tooltip--right .eo-tooltip__arrow {
    top: 50%;
    left: 0;
    margin-top: -5px;
    border-width: 5px 5px 5px 0;
    border-right-color: #d4d4d4;
}

.eo-tooltip--left .eo-tooltip__arrow {
    top: 50%;
    right: 0;
    margin-top: -5px;
    border-width: 5px 0 5px 5px;
    border-left-color: #d4d4d4;
}

.eo-tooltip--bottom .eo-tooltip__arrow {
    top: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #d4d4d4;
}

.eo-tooltip--validation .eo-tooltip__arrow {
    bottom: -2px;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: red;
}

.eo-tooltip--top {
    padding: 5px 0;
    margin-top: -3px;
}

.eo-tooltip--right {
    padding: 0 5px;
    margin-left: 3px;
}

.eo-tooltip--bottom {
    padding: 5px 0;
    margin-top: 3px;
}

.eo-tooltip--left {
    padding: 0 5px;
    margin-left: -3px;
}

.eo-tooltip--validation {
    padding: 3px 0;
    margin-top: 3px;
}

    .eo-tooltip--validation .eo-tooltip__message {
        background-color: red;
        background: -webkit-linear-gradient(red 0%, #dd0000 100%); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(red 0%, #dd0000 100%); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(red 0%, #dd0000 100%); /* For Firefox 3.6 to 15 */
        background: linear-gradient(red 0%, #dd0000 100%); /* Standard syntax */
        border: 1px solid red;
        color: white;
        padding: 2px 5px 4px 5px;
        font-weight:bold;
    }

.eo-tooltip__close {
    cursor: pointer;
    height: 1em;
    width: 10px;
    position: absolute;
    right: 5px;
    font-size:14px;
    font-weight:bold;
    color:#000;
    top: 3px;
}
