﻿/* tooltip custom */

#tooltip {
    text-align: justify;
    color: #000;
    background: var(--white);
    background: rgb(251,193,33);
    background: linear-gradient(0deg, rgba(251,193,33,1) 0%, rgba(255,206,71,1) 100%);
    position: absolute;
    z-index: 1001;
    padding: 12px !important;
    font-size: 14px;
    line-height: 18px;
    border-radius: 3px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

    #tooltip:after /* triangle decoration */ {
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #FBC121;
        content: '';
        position: absolute;
        left: 50%;
        transform:translateX(-50%);
        bottom: -5px;
        margin-left: 0;
    }

    #tooltip.top:after {
        border-top-color: transparent;
        border-bottom: 10px solid #FBC121;
        top: -10px;
        bottom: auto;
    }

    #tooltip.left:after {
        left: 10px;
        margin: 0;
    }

    #tooltip.right:after {
        right: 10px;
        left: auto;
        margin: 0;
    }

/* bottone con icona per tooltip */
.btn-tooltip,
.btn-tooltip:hover,
.btn-tooltip:focus {
    background: #000;
    padding: 10px 15px !important;
    color: #fff;
    content: "";
}

    .btn-tooltip:after {
        font-family: 'fontawesome';
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        font-size: 18px;
        -webkit-font-smoothing: antialiased;
        margin: 0;
        content: "\f129";
    }

/* bottone con icona per tooltip */
.btn-password,
.btn-password:hover,
.btn-password:focus {
    background: #000;
    /*padding: 4px 10px;*/
    color: #fff;
    content: "";
}

    .btn-password:after {
        font-family: 'fontawesome';
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        font-size: 18px;
        -webkit-font-smoothing: antialiased;
        margin: 0;
        content: "\f06e";
    }

    .btn-password.shown:after {
        content: "\f070";
    }

.no-border {
    border-radius: 0px;
}
