/*
 * Magmodules.eu - http://www.magmodules.eu.
 *
 * NOTICE OF LICENSE
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * https://www.magmodules.eu/MM-LICENSE.txt
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to info@magmodules.eu so we can send you a copy immediately.
 *
 * @category      Magmodules
 * @package       Magmodules_Shopreview
 * @author        Magmodules <info@magmodules.eu>
 * @copyright     Copyright (c) 2017 (http://www.magmodules.eu)
 * @license       https://www.magmodules.eu/terms.html  Single Service License
 */

.shopreview-submit {
    margin:0 auto 0;
}

.shopreview-customfields {
    overflow: hidden;
}

.shopreview-customfields img {
    float: left;
    margin-right: 10px;
    border-radius: 50%;
    width: 85px;
    height: 85px;border: white 2px solid;box-shadow: 0 0 1px #ABABAB;
    margin-top: 2px;
}

.validation-advice {
    padding-bottom: 5px;
    display: inline-block;
}

#review_field1_counter, #review_field2_counter, #review_field3_counter, #review_field4_counter, #review_field5_counter {
    color: #B5B5B5;
    margin-top:2px;
    font-size: 12px;
}


.page-title {
    height: 55px;
}

.shopreview-submit h1 {
    width: auto;
    float: left;
}

.shopreview-submit .button {
    float: right;
}


/* MOBILE HEADER ON PAGE */
@media only screen
and (min-width : 100px)
and (max-width : 850px) {

    .shopreview-submit h1 {
        width: 100%;
        float: left;
        line-height: 25px;
        margin-top: 0px;
    }

    .page-title {
        height: 100px;
    }

    .shopreview-submit .button {
        float: right;
        width: 100%;
    }
}

.shopreview-submit .static-block {
    padding: 0 0 10px 10px;
}

.review-list {
    background-color: #fdfdfd;
    border-radius: 3px;
    padding: 10px 5px 10px 15px;
    margin-bottom: 15px; margin-top: 15px;
    box-shadow: 0 0 2px 1px #F0F0F0;
}

.shopreview-submit .content-block {
    padding: 10px;
    background: #F3F3F3;
    border-top:1px solid #e0e0e0;
}

.shopreview-submit .review-list h3  {
    margin-top: 0px;
}

.shopreview-submit ul.summary li  {
    width: 100%;
    padding: 5px 0px 10px 0px;
}

.shopreview-submit ul.summary-index li  {
    width: 98%;
    padding: 5px 5px 5px 0px;
}

.shopreview-submit ul.summary-index li.head {
    padding: 10px 5px 5px 0px;
    border-bottom: 1px solid #E5E5E5;
}

.shopreview-submit .rating-name {
    font-weight: bold;
}

.reviewarea {
    color: #8a8a8a;
    max-width: 100%;
    height: 150px;
    padding: 15px 15px;
    border: 1px solid #ccc;
    width: 100%;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: #fff;
    letter-spacing: .8px;
}

.shopreview-submit input[type=text] {
    color:#8a8a8a;
    width: 95%;
    height: 40px;
    padding: 0px 1%;
    border:1px solid #ccc;
    -moz-border-radius: 27px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-color: #fff;
    letter-spacing: .8px;
}

.ie-label {
    display:none;
}

.rating {
    margin-right: 0px;
    height: 30px;
}

.rating:not(:checked) > input {
    visibility:hidden;
    position: absolute;
    top: -999999px;
    clip: rect(0,0,0,0);
    float: left;
}

.rating > span {
    top: 7px;
    font-weight: 600;
}

.rating:not(:checked) > label {
    float:right;
    width: 21px!important;
    padding: 0px 0px 8px 0px;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size: 180%;
    line-height:1.2;
    color: #D1D1D1;
    margin-right: 5px;
}

.rating:not(:checked) > label:before {
    content: '★ ';
}

.rating > input:checked ~ label {
    color: #eccc17;
}

.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
    color: #eccc17;
}

.rating > input:checked + label:hover,
.rating > input:checked + label:hover ~ label,
.rating > input:checked ~ label:hover,
.rating > input:checked ~ label:hover ~ label,
.rating > label:hover ~ input:checked ~ label {
    color: #eccc17;
}

/* INDEX REVIEW LIST */
.review-list .rating-empty { float: right; display: block; width: 80px; height: 16px; background: url('./images/star.png') 0 -16px; margin-right: 5px;  }
.review-list .rating-star-1 { float: left; display: block; width: 16px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
.review-list .rating-star-2 { float: left; display: block; width: 32px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
.review-list .rating-star-3 { float: left; display: block; width: 48px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
.review-list .rating-star-4 { float: left; display: block; width: 64px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
.review-list .rating-star-5 { float: left; display: block; width: 80px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }

.shopreview-coupon {
    width: 60%;
    background-color: #FDFDFD;
    padding: 30px 30px 30px 30px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    box-shadow: 0 0 1px 0 rgba(44,54,67,0.1);
    border-radius: 3px;
}

.review-comment {
    position: relative;
    width: 90%;
    padding: 15px;
    background: #FFFFFF;
    border: #e0e0e0 solid 1px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-top: 9px;
    color: rgb(124, 124, 124);
}

.review-comment:after {
    content: "";
    position: absolute;
    top: -15px;
    left: 15px;
    border-style: solid;
    border-width: 0 15px 15px;
    border-color: #ffffff transparent;

}

.review-comment:before {
    content: "";
    position: absolute;
    top: -16px;
    left: 15px;
    border-style: solid;
    border-width: 0 15px 15px;
    border-color: #e0e0e0 transparent;
}

.review-list-item {
    margin-left: 0px;
}

.uploadimage {
    color:#8a8a8a;
    width: 300px;
    height: 0px;
    padding: 10px 10px 29px 10px;
    border:1px solid #ccc;
    -moz-border-radius: 27px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-color: #fff;
    letter-spacing: .8px;
}