/*
 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
 */

@charset "UTF-8";

/* preload images */
body:after{
    display: none;
    content: url("../graphics/star-empty.png") url("../graphics/star-full.png") url("../graphics/star-disabled.png");
}

.star-rating-wrapper {
    float: left;
    margin-right: 8px;
    padding-top: 10px;
}

.star-rating-wrapper #rate-text-info {
    float: left;
    text-align: right;
    padding-top: 3px;
    font-size: 90%;
}

.star-rating-wrapper #stars {
    float: right;
    padding-left: 5px;
    margin-top: 12px\9; /* IE 8 and earlier */
    margin-top: 12px\0; /* IE 9 and IE 10 */
}

.star-rating-wrapper ul#star-rating {
    display: inline-block;
    list-style-position: inside;
    margin: 0px;
    height: 20px;
    width: auto;
    padding: 0px;
}

.star-rating-wrapper li {
    cursor: pointer;
    display: inline;
    padding-left: 17px;
    padding-bottom: 5px;
    margin: 0px;

}

.star-rating-wrapper li.star-empty {
    background: url("../graphics/star-empty.png") no-repeat;
    height: 17px;
    width: 17px;
}

.star-rating-wrapper li.star-full {
    background: url("../graphics/star-full.png") no-repeat;
    height: 17px;
    width: 17px;
}

.star-rating-wrapper li.star-disable {
	background: url("../graphics/star-disabled.png") no-repeat;
}

/* feedback form */

.star-rating-form-wrapper {
    /*position: fixed;*/
    z-index: 1000;
    /*right: 0;*/
    font-size: 0.85em;
    float: right;
    width: 1px;
    height: 1px;
}

.star-rating-form-wrapper .star-rating-form-envelope {
  position: relative;
  left: -322px; /* shifted 20px left form star-rating right edge */
  top: 36px;
}

.star-rating-form-wrapper #star-rating-form,
.star-rating-form-wrapper #star-rating-form-thanks,
.star-rating-form-wrapper #star-rating-form-unsupported  {
    position: relative;
    width: 290px;
    /*height: auto;*/
    bottom: 18px;
    /*top: -53px;*/
    /*right: 130px;*/
    margin-right: 15px;
    padding: 15px 30px 20px 20px;
    background: url("../graphics/gradient-center.png") white repeat-x scroll bottom;
    -moz-box-shadow: 10px 10px rgb(220,220,220);
    -webkit-box-shadow: 10px 10px rgb(220,220,220);
    box-shadow: 10px 10px rgb(220,220,220);
    border: solid silver;
    border-top-color: red;
    border-width: 1px;
    border-top-width: 3px;
    font-family: Arial,Helvetica, Luxi-sans,Nimbus Sans L, sans-serif;
    font-size: 100%;
    z-index: 1000;
}

.star-rating-form-wrapper #star-rating-form-unsupported {
    top: 35px;
    right: 150px;
    z-index: 1000;
}

.star-rating-form-wrapper #arrow {
    position: relative;
    top: -18px;
    left: 228px;
    /* left: 33px; /* alignment to first star*/
    /* bottom: 53px; /* alignment to first star*/
    z-index: 1001;
}

.star-rating-form-wrapper #close-cross {
    float: right;
    position: relative;
    left: 20px;
    top: -5px;
    width: 20px;
    cursor: pointer;
    z-index: 1001;
}

.star-rating-form-wrapper .star-rating-checkbox {
    margin: 5px;
    cursor: pointer;
}

.star-rating-form-wrapper .star-rating-textarea {
    margin: 5px;
    width: 100%;
    resize: vertical;
    border: solid silver;
    border-width: 1px !important;
    cursor: text;
}

.star-rating-form-wrapper #feedback_comment {
    height: 6em; /* corresponds to 4 rows */
}

.star-rating-form-wrapper .clear {
  clear: both;
}

.star-rating-form-wrapper .star-rating-dropdown {
    margin: 5px;
}

.star-rating-form-wrapper .star-rating-button {
    margin: 5px;
    padding: 7px;
    background: url("../graphics/gradient-center.png") repeat-x scroll bottom !important;
    border-top-color: red !important;
    border-top-width: 3px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    cursor: pointer;
}


.star-rating-form-wrapper #legal-notices {
    font-size: 80%;
    margin-top: 10px;
    margin-left: 5px;
}
.star-rating-form-wrapper #legal-notices a{
    color: grey;
}


.star-rating-form-wrapper #form-text h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.char-counter {
    float: right;
    font-size: 80%;
}


/* other */
.star-rating-form-wrapper .hide-form {
    display: none;
}

.star-rating-form-wrapper .show-form {
    display: block;
}
