﻿.aapi_button {
    text-align: center;
    height: 32px;
    line-height: 30px;
    min-width: 50px;
    cursor: pointer;
}

.aapi_btn {
    color: #fff;
    background-color: #1e97e0;
    border-radius: 18px;
    width: 150px;
    text-transform: lowercase;
    height: 36px;
    font-size: 12px;
    background-image: linear-gradient(135deg,#439dff,#2456ff);
    border: none;
}

.aapi_btn_icon {
    color: #1e97e0;
    background-color: transparent;
    border-radius: 14px;
    /*width: 24px;
    height: 24px;
    line-height: 28px;*/
    font-size: 12px;
    border: none;
    position: relative;
    margin: 0 3px;
}

    .aapi_btn_icon img {
        /*vertical-align: text-bottom;*/ /* discarded it aligns icons in the middle of the headers / footers */
    }

    .aapi_btn_icon span:not(.badge) {
        visibility: hidden;
        position: absolute;
        line-height: 28px;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: fit-content !important;
        width: fit-content;
        /* left: 50%; */
        margin-left: unset !important;
        background-color: #9ba0a9;
        color: #fff;
        text-align: center;
        padding: 5px 15px;
        padding: 0px 10px 0px 10px;
        border-radius: 35px;
        z-index: 111;
        text-align: center;
        position: absolute;
        bottom: 70% !important;
        left: 57% !important;
        transform: translate(-50%, -55%);
        font-weight: lighter;
    }

        .aapi_btn_icon span:not(.badge)::after {
            content: "";
            position: absolute;
            top: 95% !important;
            /* left: 50%; */
            margin-left: unset !important;
            /* border-width: 5px; */
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 8px 6px 0 6px;
            border-color: #9ba0a9 transparent transparent transparent;
            position: absolute;
            /* bottom: 70%; */
            left: 50%;
            text-align: center;
            transform: translate(-50%, 0%);
        }

    .aapi_btn_icon:hover span {
        visibility: visible;
    }

/*----*/

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    cursor: help;
}

    .tooltip-wrapper span {
        visibility: hidden;
        position: absolute;
        width: 120px;
        bottom: 100%;
        left: 50%;
        margin-left: -60px;
        background-color: #363636;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        z-index: 1;
    }

        .tooltip-wrapper span::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltip-wrapper:hover span {
        visibility: visible;
    }

/*----*/
.aapi_custom_button {
    text-align: center;
    height: 32px;
    min-width: 36px;
    font-weight: bold;
    /*line-height: 32px;*/
    cursor: pointer;
    border-radius: 24px;
    padding: 0 6px 0 6px;
    margin: 0 0 3px 3px;
    color: rgb(68,138,255);
    border: none;
    background-color: transparent;
    font-size: 12px;
    letter-spacing: 1.9px;
    vertical-align: middle;
}

    .aapi_custom_button img {
        margin-top: -3px;
    }

.aapi_custom_button.disabled {
    background-color: #b6b3b3;
    color: rgba(68,138,255, .8);
    cursor: not-allowed;
}

.aapi_custom_button > span.text {
    float: left;
    top: 0;
    margin: 0 6px 0 6px;
    line-height: 36px;
    font-weight: bold;
    letter-spacing: .9px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.aapi_custom_button.border {
    border: 1px solid #b6b3b3;
}

.aapi_custom_button.padded {
    padding: 0 9px 0 6px;
}

.aapi_custom_button.error {
    color: #E02A44;
}

.icon {
    position: relative;
    top: -1px;
    display: inline-block;
    speak: none;
    font-family: Icons;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.icon.pad {
    padding-right: 6px;
}

/*.icon img {
    width: 16px;
    height: 16px;
}*/

.fabIcon {
    padding: 12px;
    border-radius: 24px;
    border: none;
    font-size: 12px;
}

.fabIcon.small {
    padding: 8px;
    border-radius: 24px;
    border: none;
    font-size: 12px;
}

.fabIcon.large {
    padding: 14px;
    border-radius: 28px;
    border: none;
    font-size: 20px;
}

.fabCustomIcon {
    padding: 10px;
    border-radius: 28px;
    border: none;
    line-height: 8px;
}

.fabCustomIcon.small {
    padding: 8px;
    border-radius: 24px;
    border: none;
    line-height: 6px;
}

.fabCustomIcon.large {
    padding: 12px;
    border-radius: 28px;
    border: none;
    line-height: 12px;
}

.fabText {
}

.aapi_custom_button.small {
    height: 20px;
    line-height: 20px;
    min-width: 20px;
}

.aapi_custom_button.small > span.text {
    line-height: 20px;
}


.aapi_custom_button.large {
    height: 52px;
    line-height: 52px;
    min-width: 52px;
    border-radius: 32px;
    padding: 0 12px 0 12px;
}

.aapi_custom_button.large > span.text {
    line-height: 52px;
}

.background-orange {
    background: linear-gradient(135deg, #f8bc4c, #fc9c65);
    color: white;
}

.background-orangish {
    background-image: linear-gradient(135deg, #f8784c, #fc9c65);
    color: white;
}

.background-green {
    background-image: linear-gradient(135deg, #17d998, #11c7bd);
    color: white;
}

.background-red {
    background-image: linear-gradient(135deg, #f96149, #fc658e);
    color: white;
}

.background-blue {
    background-image: linear-gradient(135deg, #439dff, #2456ff);
    color: white;
}

.background-black {
    background-image: linear-gradient(135deg, #5d6375, #343b4e);
    color: white;
}

.background-white {
    background-color: white;
    color: red;
}

.background-dark {
    background-image: linear-gradient(135deg, #8e9ab9, #383b43);
    color: white;
}

//

.text-orange {
    color: #f8bc4c;
}

.text-orangish {
    color: #f8784c;
}

.text-green {
    color: #17d998;
}

.text-red {
    color: #f96149;
}

.text-blue {
    color: #439dff;
}

.text-black {
    color: #5d6375;
}

.text-white {
    color: white;
}

.text-dark {
    color: #8e9ab9;
}
