/**
 * Stamped.io Review Form - Extracted CSS
 * Extracted from widget.min.css - Only includes styles needed for review form functionality
 */

/* ============================================
   FONT FACE - Stamped Icons
   ============================================ */

/* ============================================
   ICON BASE STYLES
   ============================================ */

/* ============================================
   STAR ICONS
   ============================================ */

/* ============================================
   CLEARFIX UTILITIES
   ============================================ */
.stamped-form-actions:after,
.stamped-form-contact-email:after,
.stamped-form-contact-location:after,
.stamped-form-contact-name:after,
.stamped-form-contact:after,
.stamped-form-review-body:after,
.stamped-form-review-rating:after,
.stamped-form-review-title:after,
.stamped-form-review:after {
    content: " ";
    display: table;
    clear: both;
}

.stamped-form-actions:before,
.stamped-form-contact-email:before,
.stamped-form-contact-location:before,
.stamped-form-contact-name:before,
.stamped-form-contact:before,
.stamped-form-review-body:before,
.stamped-form-review-rating:before,
.stamped-form-review-title:before,
.stamped-form-review:before {
    content: " ";
    display: table;
}

/* ============================================
   REVIEW FORM CONTAINER
   ============================================ */
.new-review-form,
.stamped-content form {
    display: block;
    margin: 25px 0 0;
    padding: 25px 0 0;
}

.new-review-form.stamped-visible {
    border-bottom: 1px solid #eee;
}

.stamped-form > form {
    margin: 0;
}

.stamped-form-title {
    font-size: 16px;
    line-height: 24px;
    margin-top: 0;
}

/* ============================================
   FORM SECTIONS
   ============================================ */
.stamped-form-actions,
.stamped-form-contact,
.stamped-form-custom-questions,
.stamped-form-review {
    padding: 0;
    border: 0;
    margin: 0;
}

.stamped-form-actions {
    text-align: right;
    margin-bottom: 30px;
}

/* ============================================
   RATING SECTION
   ============================================ */
.stamped-form-review-rating {
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
}

.stamped-form-review-rating input {
    display: table;
    height: 5px !important;
    width: 5px !important;
    font-size: 1px !important;
    line-height: 5px !important;
    -webkit-appearance: none;
}

.stamped-form-review-rating a,
.stamped-form-review-rating a:hover {
    text-decoration: none !important;
    display: inline-block !important;
    float: left !important;
}

/* ============================================
   FORM LABELS
   ============================================ */
.stamped-form-label {
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.stamped-form-label + .stamped-form-input {
    font-weight: 400;
    margin: 0 0 10px;
    display: block;
    width: 100% !important;
    min-height: 30px;
    line-height: 30px;
}

/* ============================================
   FORM INPUTS
   ============================================ */
.stamped-form-input {
    margin: 0;
    font-family: inherit !important;
    font-style: normal;
}

input.stamped-form-input {
    height: 35px;
}

input.stamped-form-input-email,
input.stamped-form-input-text,
textarea.stamped-form-input-textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100% !important;
    height: auto;
    max-width: 100%;
    margin: 0;
    padding: 5px;
    border: 1px solid #d7d7d7;
}

input.stamped-form-input-email,
input.stamped-form-input-text {
    padding: 0 8px;
}

.stamped-form-input-textarea {
    resize: vertical;
}

.stamped-form-input-error,
input[type=email].stamped-form-input-error,
input[type=text].stamped-form-input-error {
    border-color: #c0363a;
}

.stamped-starrating.stamped-form-input-error a {
    color: #c0363a;
}

/* ============================================
   FORM MESSAGES
   ============================================ */
.stamped-form-message {
    padding: .8em 1em;
    margin: 0 0 1em;
}

.stamped-form-message-error {
    background: #c0363a;
    color: #fff;
}

.stamped-form-message-success {
    padding: 0;
    margin: 50px 0 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.stamped-button,
.stamped-button-primary {
    width: auto;
    height: auto !important;
    margin: 0;
    min-height: 1em;
}

.stamped-button-primary {
    float: initial;
    border: 1px solid;
    padding: 5px 10px;
    margin-left: 10px;
    min-height: 30px;
    text-decoration: none;
    background: #000;
    color: #fff;
    cursor: pointer;
}

#stamped-button-submit,
input.stamped-button.stamped-button-primary.button.button-primary.btn.btn-primary {
    background: #000;
    color: #fff;
    width: auto;
    padding: 10px 20px;
}

.stamped-button-primary[disabled=disabled] {
    opacity: .5;
}

/* ============================================
   FILE UPLOAD
   ============================================ */
.stamped-file-uploader {
    vertical-align: bottom;
}

.stamped-file-holder {
    float: left;
    margin-top: 15px;
}

.stamped-file-photo {
    position: relative;
    display: inline-block;
    width: 70px;
}

.stamped-file-photo i {
    position: absolute;
}

.stamped-file-photo-remove {
    position: absolute;
    top: 0;
    right: 0;
    line-height: 12px;
    height: 15px;
    width: 15px;
    background: rgba(255, 255, 255, .9) !important;
    text-align: center;
    cursor: pointer;
}

.stamped-file-uploader label[for=stamped-file-uploader-input] > span {
    margin-right: 5px;
    border-radius: 0;
    padding: 9px 20px;
}

.stamped-file-uploader-btn {
    border-radius: 0 !important;
    color: #000;
}

.stamped-file-uploader-btn-label2:before {
    content: ' Add Photos';
}

/* ============================================
   THANK YOU MESSAGE
   ============================================ */
.stamped-messages .stamped-thank-you {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    border: 1px solid #eee;
    display: none;
    margin-top: 23px;
}

.stamped-messages .stamped-thank-you p:first-child {
    font-size: 1.3em;
    margin: auto;
}

.stamped-messages .stamped-share-links {
    margin-top: 20px;
}

.stamped-messages .stamped-share-links a {
    text-decoration: none;
    padding: 7px 20px;
    color: #000;
    border: 1px solid #ccc;
    background: #eee;
    margin-right: 10px;
}

.stamped-messages .stamped-share-links a i {
    margin-right: 10px;
}

/* ============================================
   REVIEW RECOMMEND
   ============================================ */
.stamped-form-review-recommend,
.stamped-form-review-recommend-product {
    margin-left: 1px;
}

.stamped-form-review-recommend-product input {
    height: auto;
}

.stamped-form-review-recommend-label {
    margin-bottom: 10px;
}

.stamped-form-review-recommend-product:before {
    content: 'Do you recommend this Product?';
    display: block;
    margin-bottom: 10px;
}

.stamped-form-review-recommend label,
.stamped-form-review-recommend-product label {
    margin-right: 20px;
}

/* ============================================
   CUSTOM QUESTIONS
   ============================================ */
.stamped-form-custom-question > label {
    padding-left: 1px;
}

.stamped-form-custom-questions:empty {
    display: none;
}

.new-review-form .stamped-form-custom-question {
    margin-bottom: 15px;
}

.new-review-form .stamped-form-custom-option-scale label div {
    display: block;
    margin-top: 5px;
    font-size: .8em;
}

.new-review-form .stamped-form-custom-option-scale {
    display: inline-block;
    border-top: 1px solid #ccc;
    margin-top: 10px;
}

.new-review-form .stamped-form-custom-option-scale input[type=radio] {
    display: inline-block;
    margin: 0 !important;
}

.new-review-form .stamped-form-custom-option-scale label {
    padding-left: 1px;
    float: left;
    width: 100px;
    text-align: center;
    margin-top: -10px;
}

.new-review-form .stamped-form-custom-option-scale label:nth-child(2) {
    margin-left: -40px;
}

.new-review-form .stamped-form-custom-option-scale label:nth-child(4) {
    margin-right: -40px;
}

.new-review-form .stamped-form-custom-option-scale label:first-child {
    text-align: left;
}

.new-review-form .stamped-form-custom-option-scale label:last-child {
    text-align: right;
}

/* ============================================
   CONTACT FORM FIELDS (Responsive)
   ============================================ */
@media (min-width: 768px) {
    .stamped-form-contact-email,
    .stamped-form-contact-location,
    .stamped-form-contact-name {
        float: left;
        width: 32.33333%;
        max-width: 300px;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
    }
    
    .stamped-form-contact-location {
        padding-right: 0;
    }
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media only screen and (max-width: 480px) {
    .new-review-form, .stamped-content form {
        margin: 25px 15px 0;
    }
    
    .new-review-form .stamped-form-custom-option-scale label {
        float: left;
        width: 80px;
        text-align: center;
        margin-top: -10px;
    }
    
    .stamped-file-uploader label[for=stamped-file-uploader-input] > span {
        border: 1px solid #333;
        padding: 6px 10px;
        font-size: 13px;
        border-radius: .3em;
        width: 100%;
        display: block;
        text-align: center;
    }
    
    input.stamped-button.stamped-button-primary.button.button-primary.btn.btn-primary {
        margin: 10px 0 0;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.stamped-container input:focus,
.stamped-container select,
.stamped-container textarea:focus {
    outline: 0;
}

.stamped-container {
    font-family: 'Open Sans', Verdana, sans-serif;
    text-align: left;
}

/* ============================================
   HIDDEN ELEMENTS
   ============================================ */
.stamped-form-custom-questions:empty {
    display: none;
}

div[data-widget-style*=standard] .stamped-form-title,
div[data-widget-style*=standard] .stamped-header-title {
    display: none;
}

