﻿ .tooltip_error
{
    background-color: red;
}

.ui-tooltip, .arrow:after
{
    position: absolute;
    background: #c86767;
    background: #c61313; /* Old browsers */
    background: -moz-linear-gradient(top, #c61313 0%, #c86767 86%, #c86767 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c61313), color-stop(86%,#c86767), color-stop(100%,#c86767)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #c61313 0%,#c86767 86%,#c86767 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #c61313 0%,#c86767 86%,#c86767 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #c61313 0%,#c86767 86%,#c86767 100%); /* IE10+ */
    background: linear-gradient(to bottom, #c61313 0%,#c86767 86%,#c86767 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c61313', endColorstr='#c86767',GradientType=0 ); /* IE6-9 */
}
.ui-tooltip
{
    max-width: 350px;
    padding: 10px 20px;
    color: #fff;
    border-radius: 3px;
    box-shadow: 0 0 7px #000;
    font-size: 13px;
    z-index: 999000;
}
.arrow
{
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
}
.arrow.top
{
    top: -16px;
    bottom: auto;
}
.arrow.left
{
    left: 20%;
}
.arrow:after
{
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px #c86767;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    tranform: rotate(45deg);
}

.arrow.top:after
{
    bottom: -20px;
    top: auto;
}