.tlp-tooltip {
    position: relative;
    border-bottom: dashed;
    cursor: help;
    color: #0072DB;
    border-width: 1px;
}

.tpl-wrapper {
    display: none;
    position: absolute;
    z-index: 99;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%);
    max-width: 250px;
    width: max-content;
    padding-bottom: 8px;
    font-weight: normal;
}

.tpl-wrapper.tlp-show {
    visibility: visible !important;
    display: flex !important
}

.tpl-wrapper::after {
    content: "";
    bottom: 3px;
    left: 50%;
    border-right: 1px solid #E3E3E3;
    border-bottom: 1px solid #E3E3E3;
    z-index: 3;
    height: 10px;
    width: 10px;
    background: #fff;
    transform: rotate(45deg);
    opacity: 1;
    visibility: visible;
    position: absolute;
}

.tpl-content {
    background: #fff;
    color: #000;
    border-radius: 6px;
    padding: 15px 15px;
    font-size: 15px;
    line-height: 20px;
    max-width: 300px;
    border: 1px solid #E3E3E3;
    box-shadow: 1px 1px 10px #e3e3e3;
    width: 100%;
}

.tlp-left::after {
    left: 20px;
}

.tlp-right::after {
    left: initial;
    right: 30px;
}

.tlp-more {
    display: inline-block;
    width: 100%;
}

.tpl-close {
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    padding: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 18 18 6M6 6l12 12'/%3E%3C/svg%3E");
    border: 0;
    cursor: pointer;
}

.tpl-close:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230072DB' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 18 18 6M6 6l12 12'/%3E%3C/svg%3E");
}

@media (min-width: 380px) {

    .tpl-wrapper {
        max-width: 300px;
    }
}

@media (min-width: 800px) {

    .tpl-close {
        display: none;
    }
}