﻿body.nps {
    margin-top: 0 !important;
    min-width: 100%;
    max-width: 100%;
    padding: 30px;
 
}
@media screen and (min-width: 1024px) {
    body.nps .mobile {
        display: none !important;
    }
}
@media screen and (max-width: 475px) {
    body.nps .desktop {
        display: none !important;
    }
    body.nps{
        padding: 5px;
    }
    .themodal-overlay.modal-oversized .the-modal{
        top:50% !important;
    }
    .the-modal .close, .the-modal.opened .close{
        background-color: #ff203b;
        color: #fff;
        cursor: pointer;
        font-size: 2em;
        line-height: 30px;
        padding: 2px 8px;
        position: absolute;
        right: 0;
        text-decoration: none;
        z-index: 2;
    }
}

body.nps #middle {
    width: 100% !important;
}
body.nps #icone,
body.nps #tolvnow {
    display: none !important;
}
body.nps .nps-title {
    font-size: 16px;
    text-align: center;
}
@media screen and (max-width: 475px) {
    body.nps .nps-title {
        font-size: 13px;
        line-height: 18px;
        text-align: center;
    }
}
body.nps .nps-score {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    cursor: pointer;
}
@media screen and (max-width: 475px) {
    body.nps .nps-score {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin: 0 20px;
    }
}
body.nps .nps-score.row-1 {
    margin-top: 40px;
}
body.nps .nps-score__value {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 5px;
    margin-bottom: 10px;
    border: 1px solid #999;
    border-radius: 5px;
    color: #999;
}
@media screen and (max-width: 475px) {
    body.nps .nps-score__value {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}
body.nps .nps-score__value.selected {
    background-color: #999;
    color: #fff;
}
body.nps .nps-score__message {
    position: absolute;
    display: none;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 5px;
    text-align: center;
    z-index: 1;
}
body.nps .nps-score__message--mobile {
    top: 100%;
    width: 60%;
}
body.nps .nps-score__message--desktop {
    width: 140px;
    top: 105px;
    left: 0;
}
body.nps .nps-score__message:before {
    position: absolute;
    top: -6px;
    left: 10px;
    display: inline-block;
    content: "";
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
body.nps .nps-score__message.visible {
    display: block;
}
body.nps .nps-score--detrator:hover {
    border-color: #ff203b;
    color: #ff203b;
}
body.nps .nps-score--promotor:hover {
    border-color: #29ab01;
    color: #29ab01;
}
body.nps .nps-score--improbable.desktop:before {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    content: "Improvável";
    color: #999 !important;
}
body.nps .nps-score--probable.desktop:before {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    content: "Muito provável";
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    color: #999 !important;
}
@media screen and (max-width: 475px) {
    body.nps .nps-score--improbable,
    body.nps .nps-score--probable {
        position: absolute;
        top: -30px;
    }
    body.nps .nps-score--improbable {
        left: 0;
    }
    body.nps .nps-score--probable {
        right: 0;
    }
}
body.nps .nps-message {
    position: relative;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 10px;
}
@media screen and (max-width: 475px) {
    body.nps .nps-message {
        margin-top: 0;
    }
}
body.nps .nps-message__content {
    width: 100%;
    border-color: #29ab01;
    border-radius: 5px;
}
@media screen and (max-width: 475px) {
    body.nps .nps-message__content {
        width: 90%;
        height: 100px;
        padding-top: 5px;
        padding-bottom: 5px;
        margin: 0 15px;
    }
}
body.nps .nps-message__error {
    position: absolute;
    display: none;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 5px;
    text-align: center;
}
body.nps .nps-message__error:before {
    position: absolute;
    top: -6px;
    left: 10px;
    display: inline-block;
    content: "";
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
@media screen and (max-width: 475px) {
    body.nps .nps-message__error {
        z-index: 1;
        top: 80%;
        left: 20px;
        width: 60%;
    }
}
body.nps .nps-message__error.visible {
    display: block;
}
body.nps .nps-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
@media screen and (max-width: 475px) {
    body.nps .nps-buttons {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}
body.nps .nps-buttons__button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    margin-left: 10px;
    border: 1px solid #999;
    border-radius: 5px;
    text-transform: capitalize;
    background-color: rgba(0, 0, 0, 0);
    color: #999;
}
@media screen and (max-width: 475px) {
    body.nps .nps-buttons__button {
        font-size: 14px;
        margin: 0;
    }
}
body.nps .nps-buttons__button--submit {
    color: #fff;
    background-color: #8cc63f;
    border-color: #8cc63f;
}
@media screen and (max-width: 475px) {
    body.nps .nps-buttons__button--submit {
        margin-left: 10px;
    }
}
body.nps_modal .the-modal-container {
    width: 600px;
    height: 360px;
    padding: 0;
}
@media screen and (max-width: 475px) {
    body.nps_modal .the-modal-container {
        width: 300px;
        height: 400px;
    }
}
body.nps_modal .the-modal {
    margin: 0 !important;
    top: 50%;
    left: 50%;
    right: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.nps-started {
    position: relative;
    z-index: 2;
    display: block;
    opacity: 1;
    background-color: #fff;
    -webkit-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}
@media screen and (max-width: 475px) {
    .nps-started {
        margin-top: 40px;
    }
}
.nps-started.not-visible {
    opacity: 0;
    pointer-events: none;
}
.nps-finished {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
@media screen and (max-width: 475px) {
    .nps-finished {
        width: 100%;
        text-align: center;
    }
}
