/*
 * File: /src/plugins/air-core/Modules/GutenbergCustomFormat/assets/tooltip/client.css
 * Project: wordpress-project
 * -
 * File Created: Thursday, 26th March 2020 8:05:57 pm
 * Last Modified: Thursday, 26th March 2020 9:12:48 pm
 * Last Modified by: Bart
 * -
 * @package    WordPress
 * @author     Bart
 */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20%) translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    text-align: center;
    background-color: #fbf2d0;
    color: #023d4c;
}

.tooltip__blob {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 50%;
    transform: translate(-50%, 0);
    background: #fbf2d0;
    margin-left: auto;
    margin-right: auto;
    min-width: 150px;
    max-width: 300px;
    padding: 10px 15px;
    font-size: 10px;
    line-height: 1.4;
    color: #023d4c;
    border-radius: 2px;
    text-align: left;
    opacity: 0;
    animation: fadeIn 0.3s ease-in both;
}

.tooltip__blob:before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 10px 0 10px;
    border-color: #fbf2d0 transparent transparent transparent;
}
