﻿@font-face {
    font-family: 'Asap';
    font-style: normal;
    font-weight: 400;
    src: local('Asap'), local('Asap-Regular'), url(https://fonts.gstatic.com/s/asap/v3/oiVlPAjaPL0EznW3E5Z2DQ.woff2) format('woff2'), url(https://fonts.gstatic.com/s/asap/v3/SgBaq0dzhSGNMfqm2JX5ng.woff) format('woff');
}

.emaze-tooltip,
.emaze-tooltip-inline,
.emaze-tooltip-overlay {
    width: 15px;
    height: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/tooltip.svg);
    cursor: pointer;
}

.emaze-tooltip.warning,
.emaze-tooltip-inline.warning,
.emaze-tooltip-overlay.warning{
    background-image: url(../images/tooltip-warning.svg);

}

    .emaze-tooltip-inline {
        display: inline-block;
    }
.emaze-tooltip-overlay {
    position: absolute;
    z-index: 99999999999;
}

.emaze-tooltip-overlay .emaze-tooltip-content {
    position: absolute;
    display: flex;
    left: calc(100% + 15px);
    top: 50%;
    width: 150px;
    transform: translateY(-50%);
    background-color: #ffffff;
    align-items: center;
    -webkit-box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.4);
    box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.4);
}
.emaze-tooltip-pseudo-content {
    z-index: 100;
    background-color: white;
    padding: 5px 10px;
    min-width: 100%;
    min-height: 100%;
    font-family: 'Asap';
}

.emaze-tooltip-corner {
    z-index: -1;
}
.emaze-tooltip-overlay .emaze-tooltip-content .emaze-tooltip-corner:before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    margin-right: -5px;
    width: 10px;
    height: 10px;
    background-color: transparent;
    z-index: -2;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-box-shadow: 3px 3px 6px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 3px 3px 6px 1px rgba(0,0,0,0.3);
    box-shadow: 3px 3px 6px 1px rgba(0,0,0,0.3);
}

.emaze-tooltip-overlay .emaze-tooltip-content .emaze-tooltip-corner:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -8px;
    z-index: 1;
    border-width: 8px;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
}


/*adjustments for left pos start*/
.emaze-tooltip-overlay.left .emaze-tooltip-content,
.emaze-tooltip-overlay.top-left .emaze-tooltip-content,
.emaze-tooltip-overlay.bottom-left .emaze-tooltip-content {
    right: calc(100% + 15px);
    left: unset;
}

.emaze-tooltip-overlay.left .emaze-tooltip-content .emaze-tooltip-corner:before,
.emaze-tooltip-overlay.top-left .emaze-tooltip-content .emaze-tooltip-corner:before,
.emaze-tooltip-overlay.bottom-left .emaze-tooltip-content .emaze-tooltip-corner:before {
    right: unset;
    left: 100%;
    margin-right: unset;
    margin-left: -5px;
}

.emaze-tooltip-overlay.left .emaze-tooltip-content .emaze-tooltip-corner:after,
.emaze-tooltip-overlay.top-left .emaze-tooltip-content .emaze-tooltip-corner:after,
.emaze-tooltip-overlay.bottom-left .emaze-tooltip-content .emaze-tooltip-corner:after {
    right: unset;
    left: 100%;
    border-color: transparent transparent transparent #ffffff;
}
/*adjustments for left pos end*/

/*adjustments for top-side pos start*/
.emaze-tooltip-overlay.bottom-right .emaze-tooltip-content,
.emaze-tooltip-overlay.bottom-left .emaze-tooltip-content {
    top: unset;
    transform: translateY(-15px);
}
.emaze-tooltip-overlay.bottom-right .emaze-tooltip-corner,
.emaze-tooltip-overlay.bottom-left .emaze-tooltip-corner {
    top: 20px;
    position: absolute;
}
.emaze-tooltip-overlay.bottom-left .emaze-tooltip-corner {
    right: 0;
}
/*adjustments for top-side pos end*/

/*adjustments for top-side pos start*/
.emaze-tooltip-overlay.top-right .emaze-tooltip-content,
.emaze-tooltip-overlay.top-left .emaze-tooltip-content {
    top: unset;
    transform: translateY(-100%) translateY(25px);
}

.emaze-tooltip-overlay.top-right .emaze-tooltip-corner,
.emaze-tooltip-overlay.top-left .emaze-tooltip-corner {
    bottom: 20px;
    position: absolute;
}

.emaze-tooltip-overlay.top-left .emaze-tooltip-corner {
    right: 0;
}
/*adjustments for top-side pos end*/

/*adjustments for top pos start*/
.emaze-tooltip-overlay.top .emaze-tooltip-content {
    transform: translateX(-50%) translateY(-100%);
    left: 5px;
    top: -15px;
}

.emaze-tooltip-overlay.top .emaze-tooltip-content .emaze-tooltip-corner:after {
    top: unset;
    bottom: -15px;
    border-color:  #ffffff transparent transparent transparent;
    left: calc(50% - 5px);
}

.emaze-tooltip-overlay.top .emaze-tooltip-content .emaze-tooltip-corner:before {
    top: unset;
    bottom: -6px;
    left: calc(50% - 2px);
    right: unset;
}
/*adjustments for top pos end*/



/*adjustments for bottom pos start*/
.emaze-tooltip-overlay.bottom .emaze-tooltip-content {
    transform: translateX(-50%) translateY(0);
    left: 5px;
    top: 23px;
}

.emaze-tooltip-overlay.bottom .emaze-tooltip-content .emaze-tooltip-corner:after {
    top: -7px;
    bottom: unset;
    border-color: transparent transparent #ffffff transparent;
    left: calc(50% - 5px);
}

.emaze-tooltip-overlay.bottom .emaze-tooltip-content .emaze-tooltip-corner:before {
    top: 0px;
    bottom: unset;
    left: calc(50% - 2px);
    right: unset;
}
/*adjustments for bottom pos end*/