
.modal-form label,
#customer-name{
    vertical-align: sub;
    margin-left: 20%;
}

.modal-form input.login-input,
#customer-name,
#customer-opinion
{
    border: 1px solid #DDDDDD;
    border-radius: 20px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
    width: 250px;
    height: 40px;
    padding: 10px;
    margin: 0 auto;
    display: block;
}
#customer-opinion{
    height: 150px;
    resize: none;
}

#customer-name,
#customer-opinion{
    width: 350px;
    margin: 10px auto;
}

.modal-form .row{
    margin: 5px;
}

@media (max-width: 450px){
    .modal-form input.login-input {
        width: 200px;
    }

    .modal-form label.approvals-text{
        width: 230px;
    }
}

.modal-form input.approvals-input{
    float: right;
    margin-top: 9px;
}

.modal-form label.approvals-text{
    margin: 0;
}


.messageModalLabel{
    margin: 0 auto;
    display: block;
    margin-bottom: 5px;
}

.messageModalLabel.invalid{
    color: red;
}

.messageModalLabel.valid{
    color: green;
}


#processing-background{
    background: rgba(175, 175, 175, 0.5);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 1060;
}

#processing-modal{
    /*position: relative;*/
    background-color: white;
    width: 600px;
    height: 260px;
    margin: 150px auto;
    vertical-align: middle;
    border-radius: 20px;
    z-index: 1070;
}

#processing-img{
    text-align: center;
    font-size: 21px;
}

.center-text{
    text-align: center;
}

@media(max-width: 800px){
    #processing-modal{
        width:80%;
        padding: 20px;
        height: 300px;
    }
}

@media(max-width: 768px){
    #modal-message{
        width: 260px;
    }
}

/* OPINION MODAL
======================================================================================================================== */

.rating{
    position: inherit;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
}

.rating input{
    display: none;
}

.rating label{
    display: block;
    cursor: pointer;
    width: 50px;
    margin: 0;
}

.rating label:before{
    content: '\f005';
    font-family: "fontAwesome";
    position: relative;
    display: block;
    font-size: 30px;
    color: #DDDDDD;
}

.rating label:after{
    content: '\f005';
    font-family: "fontAwesome";
    position: absolute;
    display: block;
    font-size: 30px;
    color: #F7B000;
    top: 0;
    opacity: 0;
    transition: .2s;
    text-shadow: 0 2px 5px rgba(0,0,0,.5);
}

.rating label:hover:after,
.rating label:hover ~ label:after,
.rating input:checked ~ label:after
{
    opacity: 1;
}

#actual-product-img{
    width: 100px;
    display: inline-block;
}

#actual-product-name{
    display: inline-block;
}

#opinion-valid-label{
    margin: 0;
}

#ModalResponseOpinion .modal-content{
    text-align: center;
}

i.response-error, i.response-message{
    font-size: 72px;
    text-align: center;
    padding: 5px;
}

i.response-message{
    color: green;
}

i.response-error{
    color: orange;
}

#response-error, #response-message{
    display: none;
    padding: 20px;
}

.the-count {
    width: 350px;
    margin: 0 auto;
}


@media(max-width: 415px){
    #customer-name, #customer-opinion, .the-count{
        width: 200px;
    }

    .rating label {
        width: 40px;
    }
}


.count-form{

    float: right;
    padding: 0;
    font-size: 0.875rem;
}
