﻿a.tooltip_link {
    position: relative !important;
}

.tooltip, .tooltip h4, .tooltip p {
    /*color: #fff !important;*/
}

.tooltip {
    background: #fff;
    border: solid 1px #333;
    cursor: default;
    display: none;
    left: -225px;
    margin: 0;
    padding: 15px;
    position: absolute !important;
    text-align: left;
    font-weight: normal;
    width: 260px;
    z-index: 100;
}

    .tooltip h4 {
        font-size: 1.2em;
        margin: .25em 0;
    }

.btnAcceptWarning, .btnCancelWarning, .btnAddMotorcycle {
    cursor: pointer;
    padding: .5em 0;
    text-align: center;
    width: 120px;
}

    .btnAcceptWarning:hover, .btnCancelWarning:hover, .btnAddMotorcycle:hover {
        background-color: #000;
    }

.tooltip .btnAcceptWarning, .tooltip .btnAddMotorcycle {
    float: right;
    margin-left: 1em;
}

.btnCancelWarning {
    float: left;
}

.tooltip:before, .tooltip:after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.tooltip:after {
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #ffffff;
	border-width: 30px;
	margin-left: -30px;

    /*background-color: blue;*/
    /*content: "";*/
    /*position: absolute !important;*/
    /*bottom: -12px;*/
    /*z-index: 1000;*/
    /*border: 0 solid #fff;
    border-bottom: 14px solid transparent;*/
    /*width: 100%;*/
}

.tooltip:before {
	border-color: rgba(0, 0, 0, 0);
	border-top-color: #000000;
	border-width: 31px;
	margin-left: -31px;

    /*background-color: green;*/
    /*content: "";*/
    /*position: absolute !important;*/
    /*border: 0 solid #fff;*/
    /*bottom: -12px;*/
    /*z-index: 1000;*/
}

/*.tooltip.left {
    border-radius: 5px 5px 5px 0;
    left: -155px;
}

    .tooltip.left:after {
        border-left-width: 14px;
        left: 0;
    }

.tooltip.right {
    border-radius: 5px 5px 0 5px;
    left: -295px;
}

    .tooltip.right:after {
        border-right-width: 14px;
        right: 0;
    }

.tooltip.center {
    border-radius: 5px;
}

    .tooltip.center:after {
        border-left-width: 10px;
        width: 50%;
        left: 50%;
    }

    .tooltip.center:before {
        border-right-width: 10px;
        border-bottom: 14px solid transparent;
        width: 50%;
        right: 50%;
    }*/

@media screen and (max-width: 320px) {

    .tooltip {
        left: -300px;
    }
}

@media screen and (max-width: 480px) {

    .tooltip {
        left: -300px;
    }
}

@media screen and (max-width: 768px) {

    .tooltip {
        left: -310px;
    }
}

@media screen and (max-width: 800px) {

    .tooltip {
    }
}

@media screen and (max-width: 980px) {

    .tooltip {
    }
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .tooltip {
        bottom: 15px;
    }
}
