
  /**********************\
 /*  Net Promoter score  *\
/**************************\
\*------------------------*/
section.nps {
    /*Come back to position fixed
      after Nicu fixes height calculus*/
    /*position: fixed;*/
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    color: #0a0a0a;
    text-align: center;
    z-index: 11;
    min-height: 60px;

    /* Internet Explorer 10 */
    display:-ms-flexbox;
    -ms-flex-pack:center;
    -ms-flex-align:center;

    /* Firefox */
    display:-moz-box;
    -moz-box-pack:center;
    -moz-box-align:center;

    /* Safari, Opera, and Chrome */
    display:-webkit-box;
    -webkit-box-pack:center;
    -webkit-box-align:center;

    /* W3C */
    display:box;
    box-pack:center;
    box-align:center;
    border-top: 1px solid #eeeeee;
}
section.nps-page {
    width: 100%;
    background-color: #2f2c2cc9;
    color: white;
    text-align: center;
    z-index: 11;
    min-height: 200px;

    /* Internet Explorer 10 */
    display:-ms-flexbox;
    -ms-flex-pack:center;
    -ms-flex-align:center;

    /* Firefox */
    display:-moz-box;
    -moz-box-pack:center;
    -moz-box-align:center;

    /* Safari, Opera, and Chrome */
    display:-webkit-box;
    -webkit-box-pack:center;
    -webkit-box-align:center;

    /* W3C */
    display:box;
    box-pack:center;
    box-align:center;
}
.nps-rating {
    border: 0px;
    position: relative;
}


.nps-row {
    font: 13px system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',Arial,sans-serif;
    font-weight: lighter;
    color: #555555;
    text-align: center;
    margin: 20px auto;
    border-collapse: collapse;
}

.nps-block {
    height: 200px;
    margin: 10px 0;
    border-collapse: collapse;
    /* background-color: #f8f8f8; */
    /* border: 1px solid #d9d9d9; */
    padding: 0 2em;
}

.nps-block div.nps-question {
    font-family: Karla, Roboto, serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    padding: 5px;
    text-align: center;
    margin: 5px auto 10px;
}
.nps-rating {
    text-decoration: none;
    display: inline-block;
    padding: 0;
    font-size: 1.4rem;
    line-height: 50px;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #fff;
    border-radius: 50px;
    position: relative;
    height: 50px;
    min-width: 50px;
    margin: 0 10px;
    border: 1px solid #d3cfd3;
    cursor: pointer;
    font-weight: 400;
    min-height: 50px;
}

.nps-rated + .nps-question {
    display: none;
}

.nps-rating:hover {
    background-color: #0080FB;
}

.nps-rating:hover .nps-marks {
    color: #ffffff;
}

.nps-rated .nps-reset {
      padding: 0;
      background: #ffffff;
      border-radius: 0;
  }

.nps-reset:hover {
    color: #005AB1;
}

.desc-extreme {
    text-align: left;
    color: #000000;
    font-weight: 400;
    font-size: 13px;
}

.nps-block .rating-comment{
    width: 700px;
    max-width: 100%;
    min-height: 70px;
    line-height: 1.5em;
    letter-spacing: 1px;
    padding: 10px 15px;
    resize: none;
    border: 1px solid #AAAAAA;
    border-radius: 5px 0 0 5px;
    box-sizing: border-box;
}

.rating-score:after{
    position: absolute;
    margin-left: 1.4em;
    margin-top: 0.3em;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #000000;
    content: "";
}

.md-button .nps-btn {
    padding: 0 50px;
    font-size: 15px;
    text-align: center;
    text-transform: none;
    text-decoration:none;
    border: none;
    outline: none;
    color: #fff;
    background-color: #000;
    margin: 10px;
    border-radius: 2px;
}

.md-button.nps-btn:focus,
.md-button.nps-btn:active,
.md-button.nps-btn:hover  {
    background-color: #0080FB;
    color: #fcfcfc;
}

.nps-rated {
    font-family: Karla, Roboto, serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    margin-top: 10px;
    text-align: center;
}

.nps-block .nps-marks-section {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    align-items: center;
    position: relative;
    margin-top: 30px;
}

.nps-marks-section::after,
.nps-marks-section::before {
    font-family: Karla, Roboto, serif;
    font-size: 14px;
    font-style: italic;
    color: #B1B1B1;
}

.nps-marks-section::after {
    content: attr(data-after);
}

.nps-marks-section::before {
    content: attr(data-before);
}

.nps-description {
      flex: none;
}

  .nps-block .nps-txtarea-wrapper {
    width: 100%;
    margin: 15px auto auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
}

.nps-txtarea-wrapper .nps-btn {
    width: 100%;
    height: 70px;
    max-width: 130px;
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-family: Karla, Roboto, Helvetica Neue, sans-serif;
    font-weight: 700;
    border: 1px solid #AAAAAA;
    border-radius: 0 5px 5px 0;
    border-left: none;
    color: #fff;
    background-color: #0080FB;
}

.nps-rating .nps-marks {
    color: #8A8A8A;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.8rem;
    text-decoration: none;
    padding: 10px;
}

.nps-thanks {
    font-family: Karla, Roboto, serif;
    font-style: normal;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    text-align: center;
    margin-top: 30px;
    flex: auto;
}

  /*************************\
 /*  Customer Satisfaction  *\
/*****************************\
\*---------------------------*/

  .csat-block {
      margin: 10px 0;
      padding: 0 1em;
      display: block;
  }

  .csat-rating {
      float: left;
      margin-bottom: 5px;
      padding: 0;
  }
  .csat-rating:not(:checked) > input {
      position: absolute;
      top:-9999px;
  }
  .csat-rating:not(:checked) > label {
      float: right;
      width: 1em;
      overflow: hidden;
      white-space: nowrap;
      cursor: pointer;
      font-size: 30px;
      color: #ccc;
  }

  .csat-rating:not(:checked) > label:before {
      content: '☆ ';
  }

  .csat-rating > input:checked ~ label:before{
      content: '★ ';
      color: #0080FB;
  }
  .csat-rating:not(:checked) > label:hover,
  .csat-rating:not(:checked) > label:hover ~ label {
      color: #0080FB;
  }
  .csat-rating > input:checked + label:hover,
  .csat-rating > input:checked + label:hover ~ label,
  .csat-rating > input:checked ~ label:hover,
  .csat-rating > input:checked ~ label:hover ~ label,
  .csat-rating > label:hover ~ input:checked ~ label {
      color: #005AB1;
  }

  .csat-rating > label:active {
      position:relative;
  }
  .csat-send-feedback {
      margin-left: 0;
  }


  .csat-question-title {
      text-transform: uppercase;
  }

  .csat-more-comment {
      border: 1px solid #AAAAAA;
      width: 50%;
      min-height: 50px;
      margin-top: 5px;
      padding: 0.6rem;
      resize: none;
      line-height: 1.5em;
      letter-spacing: 1px;
      border-radius: 5px;
      box-sizing: border-box;
  }

  .csat-more-comment::placeholder {
      font-family: Roboto, serif;
      font-weight: 500;
  }

.csat-wrap {
    padding: 3rem 0 3rem;
    margin-top: 2rem;
    border-top: 1px solid #efefef;
}

    /*************************\
   /*  Customer Satisfaction - Mobile *\
  /*****************************\
  \*---------------------------*/

@media all and (max-width: 991px) {
    .nps-rating {
      min-height: 40px;
      line-height: 40px;
      min-width: 40px;
      height: 40px;
      margin: 0 5px;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .nps-block .nps-marks-section {
        margin-top: 30px;
        display: block;
        text-align: center;
    }
}

@media (max-width: 767px) {

    .csat-wrap {
        padding: 3rem 0 3rem;
    }

    ::-webkit-scrollbar {
        width: 0;  /* Remove scrollbar space */
        background: transparent;  /* Optional: just make scrollbar invisible */
    }

    .nps-rating {
        background-color: #fff;
        border-radius: 0;
        height: 60px;
        width: 310px;
        margin-bottom: 15px;
        border: 1px solid #d3cfd3;
    }

    .nps-block {
        overflow-y: scroll;
        height: 600px
    }

    .nps-block div.nps-question {
        display: block;
        font-size: 20px;
        line-height: 1.2;
        border-radius: 5px;
        box-sizing: border-box;
    }

    .nps-question {
        font-weight: 700;
    }

    .nps-rated {
        font-family: Karla, Roboto, serif;
        font-weight: 700;
        font-size: 26px;
        line-height: 30px;
    }

    .nps-rated .nps-reset {
        padding: 0;
        background: #ffffff;
        border-radius: 0;
    }

    textarea::-webkit-input-placeholder {
        /* WebKit browsers */
        color: transparent;
    }
    textarea:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
        color: transparent;
    }
    textarea::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        color: transparent;
    }

    .nps-block .nps-txtarea-wrapper {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nps-block .rating-comment {
        font-size: 16px;
        width: 100%;
        min-height: 165px;
        margin-top: 15px;
        border: 1px solid #AAAAAA;
        border-radius: 5px 5px 0 0;
        box-sizing: border-box;
        line-height: 1.5em;
        padding: 10px 15px;
        resize: none;
    }

    .nps-txtarea-wrapper .nps-btn {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        font-size: 20px;
        font-family: Karla, Roboto, "Helvetica Neue", sans-serif;
        font-weight: 700;
        border: 1px solid #AAAAAA;
        border-radius: 0 0 5px 5px;
        border-top: none;
        color: #fff;
        background-color: #0080FB;
    }

    .nps-block .nps-marks-section {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: flex-end;
    }

    .nps-rating .nps-marks {
        color: #0080FB;
        cursor: pointer;
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 1.8rem;
        text-decoration: none;
    }

    .nps-marks-section::after {
        content: none;
    }

    .nps-marks-section::before {
        content: none;
    }

    .nps-rating .nps-marks {
        padding: 10px 45% 10px 50%;
    }

    .csat-more-comment {
        font-size: 16px;
        border: 1px solid #AAAAAA;
        width: 100%;
        min-height: 50px;
        margin-top: 5px;
        padding: 0.6rem;
        resize: none;
        line-height: 1.5em;
        letter-spacing: 1px;
        border-radius: 5px;
        box-sizing: border-box;
    }

    .csat-more-comment::placeholder {
        font-family: Roboto, serif;
        font-weight: 500;
        color: #AAAAAA;
    }
}

.feedback-response {
    padding: 2rem 0 0;
    font-weight: 700;
}
.md-button.btn-csat:focus,
.md-button.btn-csat:active,
.md-button.btn-csat:hover,
.md-button.btn-csat:focus,
.md-button.btn-csat:active,
.md-button.btn-csat:hover  {
  /*background-color:#365b48;*/
}
