﻿#nps {
    float: left;
    width: 100%;
    padding: 30px 20px 20px 20px;
    background: #fff;
    border-radius: 5px;
    text-align: center;
}

    #nps .vote {
        float: left;
        width: 100%;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px dotted #ddd;
    }

        #nps .vote:last-child {
            margin-bottom: 0;
            border-bottom: 0;
            padding-bottom: 0;
        }

    #nps h1 {
        float: left;
        width: 100%;
        margin: 20px 0 0 0;
        padding: 0;
        font-size: 15px;
        font-family: var(--primary-font-family);
        font-weight: 500;
        text-align: center;
    }

    #nps table {
        float: left;
        width: 100%;
        text-align: center;
        margin-top: 20px;
        border: 0;
        background: transparent;
    }

        #nps table td, #nps table tr {
            font-size: 14px;
            padding: 0;
            background: transparent;
            text-align: center;
            color: #222;
        }

            #nps table td.poll {
                padding-bottom: 10px;
            }

    #nps .text-left {
        text-align: left !important;
        padding-top: 4px;
        padding-left: 16px;
    }

    #nps .text-right {
        text-align: right !important;
        padding-top: 4px;
        padding-right: 16px;
    }
    
    #nps #numbers {
        float: left;
        width: 100%;
        padding: 0 10px;
    }

    #nps #dots,
    #nps .dots {
        float: left;
        width: 100%;
        margin-top: 8px;
        padding: 10px;
        border-radius: 25px;
    }

    #nps #dots {
        background: #ffd74f;
        border: 1px solid #ffd74f;
    }

    #nps .cell {
        float: left;
        width: 9.09%;
        font-size: .8125rem;
        text-align: center;
        color: #333;
    }

    #nps input[type=radio] {
        float: none !important;
        padding: 0px !important;
        background: #fff;
        border-radius: 50%;
        margin: 0 !important;
        border: 0px !important;
        width: 18px !important;
        height: 18px !important;
        position: relative;
        top: 2px;
        cursor: pointer;
        display: inline-block;
        appearance: none;
        -webkit-touch-callout: none;
        user-select: none;
    }

        #nps input[type=radio]:before {
            content: "";
            position: relative;
            display: inline-block;
            width: 18px;
            height: 18px;
            background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNDY0IDI1NmEyMDggMjA4IDAgMSAwIC00MTYgMCAyMDggMjA4IDAgMSAwIDQxNiAwek0wIDI1NmEyNTYgMjU2IDAgMSAxIDUxMiAwIDI1NiAyNTYgMCAxIDEgLTUxMiAweiIgZmlsbD0iIzg4OCIvPjwvc3ZnPg==");
            background-repeat: no-repeat;
            background-position: 50% 50%;
        }

        #nps input[type=radio]:checked:before {
            content: "";
            background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNMjU2IDUxMmEyNTYgMjU2IDAgMSAxIDAtNTEyIDI1NiAyNTYgMCAxIDEgMCA1MTJ6TTM3NCAxNDUuN2MtMTAuNy03LjgtMjUuNy01LjQtMzMuNSA1LjNMMjIxLjEgMzE1LjIgMTY5IDI2My4xYy05LjQtOS40LTI0LjYtOS40LTMzLjkgMHMtOS40IDI0LjYgMCAzMy45bDcyIDcyYzUgNSAxMS44IDcuNSAxOC44IDdzMTMuNC00LjEgMTcuNS05LjhMMzc5LjMgMTc5LjJjNy44LTEwLjcgNS40LTI1LjctNS4zLTMzLjV6IiBmaWxsPSIjMmU5NWRmIi8+PC9zdmc+");
        }

    #nps textarea {
        float: left;
        width: 100%;
        margin-top: 20px;
        padding: 10px;
        font-size: 14px;
        line-height: 1.3;
        background: #fbfbfb;
        border: 1px solid #dcdcdc;
        height: 80px;
    }

    #nps button {
        float: none;
        text-align: center;
        display: inline-block;
        margin-top: 10px;
        background-color: #2986c8;
        border: 1px solid #2986c8;
        padding: 10px 14px;
        color: #fff !important;
        border-radius: 0.5rem;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        line-height: 1.1;
        font-family: var(--primary-font-family);
    }

#npsModal {
    padding: 20px 0 !important;
}

/* myads mobile view */
@media (max-width: 640px) {
    #nps {
        background: #f2f2f2;
        margin-bottom: 20px;
        padding: 20px 10px;
        border-bottom: 1px solid #ddd;
        border-radius: 0;
    }

        #nps #dots {
            background: #ffd74f;
        }

        #nps h1 {
            margin: 0;
        }
}


.nps-question-bar {
    display: block;
    margin: 20px 0;
    padding: 8px 10px;
    border: 1px solid #ffdcb2;
    background: #fff3e5;
    border-radius: 4px;
}

@media (min-width: 641px) {
    .nps-question-bar {
        padding: 10px 16px;
    }
}

.nps-question-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

@media (min-width: 641px) {
    .nps-question-content {
        gap: 16px;
    }
}

.nps-question-txt {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    text-align: left;
}

@media (min-width: 641px) {
    .nps-question-txt {
        width: 70%;
    }
}

.nps-question-txt p {
    margin-bottom: 0;
    padding-top: 3px;
    font-size: 12px !important;
    line-height: 1.3;
    font-family: var(--primary-font-family);
    font-weight: 500;
    color: #222;
}

@media (min-width: 641px) {
    .nps-question-txt p {
        line-height: 1.5;
        font-size: 16px !important;
    }
}

.nps-question-action {
    display: flex;
    min-width: 135px;
    gap: 16px;
    justify-content: space-around;
    align-items: center;
    margin-top: 0;
}

@media (min-width: 641px) {
    .nps-question-action {
        width: 30%;
    }
}

.btn-show-nps {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #fff;
    border: 1px solid #2986c8;
    padding: 10px;
    color: #2986c8 !important;
    border-radius: 0.5rem;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    text-align: left;
    line-height: 1.1;
    font-family: var(--primary-font-family);
    text-decoration: none !important;
    cursor: pointer;
}

@media (min-width: 641px) {
    .btn-show-nps {
        padding: 10px 18px;
        font-size: 14px;
    }
}
