/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 :root {
    accent-color: #696;
  }

  p {
    margin: 0;
  }

  #error-message {
    width: 525px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    padding: 5px;
    text-align: center;
    border: 1px solid black;
    background-color: lightgoldenrodyellow;
  }

  #error-message:empty {
    display: none;
  }

  input[type="radio"] {
    width: 25px;
    height: 25px;
    border: 2px solid #ddd;
    background: #fff no-repeat center center;
    border-radius: 50%;
  }
  
  input[type="radio"]:disabled {
    background: #eee;
  }
  
  input[type="radio"]:checked {
    background-image: url('/wp-content/plugins/bge_nps_survey/radio.svg');
  }

/*REVIEWS*/
div#repagent_reviews div.hreview {
    background: #fff;
    font-size: 14px;
    margin-bottom: 0;
    color: #000;
    text-shadow: none;
}

div#repagent_reviews div.hreview a {
    color: #000;
    text-shadow: none;
}

div#repagent_reviews_mini  br {
    display: none;
}

li.remote-review-widget .hreview {
    border: 1px solid #9b7d71;
    padding: 10px;
    color: #515f48;
}

.home div.hreview {
    border: none;
}

li.remote-review-widget .hreview br {
    display: none;
}

div.colTwo li.remote-review-widget .hreview {
    border: 0;
    padding: 0;
    margin-top: 15px;
    float: none;
    width: auto;
    color: #515f48;
}

div.colTwo li.remote-review-widget .btn {
    float: none;
    margin-left: 17px;
    margin-bottom: 15px;
}

/* Thank You Page */
div#site-content .nps-thank-you-heading {
    text-align: center;
    margin-top: 130px;
}

div#site-content .nps-thank-you-content {
    width: 580px;
    margin: 0 auto;
    display: block;
    font-size: 1em;
    padding-bottom: 30px;
}

.wp-block-kadence-advancedbtn .kt-btn-wrap {
    vertical-align: unset;
}

.forminator-row.forminator-row-last {
    text-align: right;
}

/*REVIEWS FORM*/
#review_form img {
    border: 0;
}

#nps-form {
    background: #eee;
    color: #333;
    text-shadow: none;
    border: 2px groove #999;
    padding: 0 25px 25px;
    width: 525px;
    margin: 0 auto;
    height: auto;
    /* min-height: 600px; */
}

#review_form h1 {
    color: #000;
    text-decoration: none;
    font-size: 26px;
    margin-bottom: 20px;
}

#review_form p.question {
    padding-bottom: 15px;
    display: block;
    clear: both;
}

a#feedback {
    line-height: 100%;
}

#review_form p.unlikely {
    /* float: left; */
    font-size: 10px;
    padding-top: 5px;
}

#review_form p.likely {
    margin-right: 10px;
    /* float: right; */
    font-size: 10px;
    padding-top: 5px;
}

div#review_form p.closing {
    font-size: 17px;
    margin-bottom: 20px;
}

div#review_form input[type="text"],
div#review_form input[type="email"] {
    width: 100%;
    padding: 7px;
    margin: 0 0 5px;
    border: 1px solid darkgray;
    background: #fff;
    color: #333;
    font-family: inherit;
    -webkit-text-fill-color: #333;
    font-size: 17px;
}

div#review_form div.email-div {
    margin-bottom: 20px;
}

div#review_form div.email-div #email-notice {
    display: none;
}

div#review_form textarea {
    width: 100%;
    height: 81px;
    padding: 5px;
    margin-bottom: 0;
    border: 1px solid darkgray;
    background: #fff;
    font-size: 17px;
    color: #333;
    font-family: inherit;
}

#review_form #submit_button {
    background-color: #696;
    color: white;
    border-radius: 5px;
    width: 150px;
    height: 42px;
    border: 0;
}

#review_form #submit_button:hover {
    cursor: pointer;
    background-color: #527C52;
}    

#review_form input.required {
    background-image: url(asterick.png);
    background-repeat: no-repeat;
    background-position: right;
}

#review_form textarea.required {
    background-image: url(asterick.png);
    background-repeat: no-repeat;
    background-position: top right;
}

div#review_form #ratings-star-wrapper {
    height: 16px;
    padding: 5px 0;
    margin: 0 auto 15px;
    width: 420px;
}

div#review_form #ratings-star-wrapper div.ratings-star-num input {
    width: 20px;
    height: 20px;
}

#ratings-star-wrapper .stars-ratings a {
    -webkit-box-sizing: content-box;
            box-sizing: content-box;
}

#review_form div#thanks {
    text-align: center;
    width: 100%;
}

#review_form textarea {
    border-radius: 0;
    border: 1px solid darkgray;
}

.review_error {
    -webkit-box-shadow: inset 0 0 5px 1px #c00;
            box-shadow: inset 0 0 5px 1px #c00;
}

img#sicap {
    height: 34px;
}

/* div.stars-ratings a {
    padding-left: 20px;
} */

div.stars-ratings {
    text-indent: 0;
    margin-left: 0;
    text-indent: 0;
    width: auto;
    font-size: 15px;
    /* padding-right: 5px; */
}

.bge-review-form-error {
    text-align: center;
    padding: 10px;
    background: red;
    color: #fff;
    font-size: 20px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-transition: background-color 5000s ease-in-out 0s;
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #888;
}

#review_form {
    position: relative;
    margin: 30px auto 30px;
}

#review_form div#ratings-star-wrapper {
    height: auto;
}

#review_form #ratings-wrapper #ratings-range {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 0;
    font-size: 14px;
}

#review_form #ratings-wrapper {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto; 
    margin-bottom: 20px;
}

#review_form #ratings-star-choices {
    margin-left: -10px;
    margin-right: -8px;
    margin-bottom: 5px
}

#review_form #ratings-wrapper p:empty {
    display: none;
}   

#review_form #ratings-wrapper div.ratings-star-num {
    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;
    min-width: 30px;
}

#review_form p.question1 {
    font-size: 17px;
    margin-bottom: 20px;
}

#review_form p.field-label {
    padding-bottom: 0;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 5px;
}

#review_form p.first {
    text-align: center;
}

#review_form label.lbl-consent {
    font-size: .87em;
    clear: both;
    font-weight: 300!important;
}

#review_form label.consent-yes,
#review_form label.consent-no {
    font-size: .9em;
    vertical-align: text-top;
    color: #888;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0,0,0,.6);
}

.cv-spinner {
    height: 100%;
    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;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    -webkit-animation: sp-anime .8s infinite linear;
            animation: sp-anime .8s infinite linear;
}

@-webkit-keyframes sp-anime {
    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

@keyframes sp-anime {
    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

/* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/stars-ratings/ */
div.stars-ratings {
    /* float: left; */
    width: 17px;
    height: 16px;
    /* text-indent: -999em; */
    cursor: pointer;
    display: block;
    background: transparent;
    overflow: hidden;
}

div.stars-ratings,
div.stars-ratings a {
    background: url(star.gif) no-repeat 0 0;
}

div.stars-ratings a {
    display: block;
    width: 16px;
    background-position: 0 0;
    border: 0;
}

div.stars-ratings-on a {
    background-position: 0 -16px !important;
}

div.stars-ratings-hover a {
    background-position: 0 -32px;
}

/* Read Only CSS */
div.stars-ratings-readonly a {
    cursor: default;
}

/* Partial Star CSS */
div.stars-ratings {
    background: transparent !important;
    overflow: hidden !important;
    /* margin-left: 10px; */
    line-height: normal;
}

#ratings-star-num {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    max-width: calc(100% - 16px);
    font-size: 14px;
}

#ratings-star-choices div.ratings-star-num {
    padding-left: 3px;
    width: 5px;
}

#ratings-star-choices {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

/* END jQuery.Rating Plugin CSS */

input#submit_button:focus {
    -webkit-box-shadow: 0 12px 16px 0 rgba(0,0,0,.24);
            box-shadow: 0 12px 16px 0 rgba(0,0,0,.24);
}

/* end */
header#masthead {
    display: none;
}

div.mobile-star-ratings-range {
    margin-bottom: 5px;
}

div.mobile-star-ratings-range br {
    display: none;
}

@media (max-width: 350px) {
    div.mobile-star-ratings-range br {
        display: block;
    }
}

select.rating-selector {
    padding: 3px;
}

span.stars-ratings-control {
    display: block;
}

div#ratings-star-wrapper {
    display: block;
}

@media (max-width: 650px) {
    #review_form textarea {
        width: 100%;
        border: 1px solid #ddd;
    }

    #feedback {
        line-height: 100%;
    }

    #review_form div#ratings-star-wrapper select.rating-selector {
        width: 60%;
        margin: 9px auto 0;
        display: table;
        border-radius: 6px;
        padding: 3px;
        /* background: #ffff; */
        background: -o-linear-gradient(top, #fdfdfd 0%, #cdcdcd 100%);
        background: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#cdcdcd));
        background: linear-gradient(to bottom, #fdfdfd 0%, #cdcdcd 100%);
    }

    #review_form p {
        margin-bottom: 6px;
        padding: 0;
        margin: 0;
    }

    #review_form div#ratings-star-wrapper {
        height: auto;
        padding: 5px 0;
        margin: 0 auto 15px;
        width: 100%;
    }

    #review_form h1,
    #review_form h1 a {
        font-size: 24px;
        margin-top: 0;
    }

    #review_form p.question {
        padding-bottom: 0;
        font-size: 12px;
        line-height: 26px;
        /*text-align: left;*/
        display: block;
        clear: both;
        margin-top: 14px;
    }

    #review_form input[type='button'] {
        border-radius: 50px;
        margin: 14px auto;
        display: block;
    }

    #review_form div#ratings-star-wrapper {
        height: auto;
        padding: 5px 0;
        margin: 0 auto 15px;
        width: 100%;
        text-align: center;
    }

    #nps-form {
        background: #eee;
        color: #333;
        text-shadow: none;
        border: 2px solid #999;
        padding: 25px;
        width: 82%;
        font: 15px;
        margin: 0 auto;
        height: auto;
        min-height: auto;
    }

    @media (max-width: 650px) {
        #error-message,
        #nps-form {
            width: calc(100% - 10px);
        }
    }

    @media (max-width: 400px) {
        #error-message {
            width: 100%;
        }

        #nps-form {
            width: 100%;
            padding: 0;
            border: 0;
            background-color: transparent;
        }
    }

    p.question.question-padding {
        margin-top: 0;
        margin-bottom: 9px;
        margin-top: 23px;
    }

    #review_form input[type='button'] {
        float: none;
    }
    #contentMid .col-md-4 {
        clear: both;
    }

    #review_form label.lbl-consent {
        display: block;
    }
}

@media only screen and (max-width: 600px) {
    .dvme-nps-thank-you div#site-content .nps-thank-you-content {
        width: 100%;
    }

    .dvme-nps-thank-you #forminator-module-1286 {
        width: 100%;
    }
}

@media only screen and (max-width: 501px) {
    #review_form #submit_button {
        margin-top: 25px;
    }
}

@media only screen and (max-width: 500px) {
    form#nps-form div:nth-child(2) {
        padding: 0;
    }
}

@media only screen and (max-width: 425px) {
    .dvme-nps-thank-you .wp-block-kadence-advancedbtn .kt-btn-wrap {
        display: block;
        text-align: center;
        margin: 0 auto;
    }

    .dvme-nps-thank-you .wp-block-kadence-advancedbtn .kt-btn-wrap a {
        margin: 0 auto;
    }

    .dvme-nps-thank-you .kt-btn-wrap.kt-btn-wrap-0 {
        margin-bottom: 10px;
    }

    div#site-content .nps-thank-you-heading {
        margin-top: 70px;
    }
}

@media only screen and (max-width: 394px) {
    #nps-form p.question {
        padding-bottom: 0;
        font-size: 11px;
        line-height: 26px;
        text-align: left;
        display: block;
        clear: both;
        margin-top: 14px;
    }
}
