/* 
    Document   : styles
    Created on : 10.1.2013, 14:38:29
    Author     : Jaroslav Ascaria Svoboda
    Description:
        Ratings component styles.
*/

/*
    For render stars
*/

div.fac-rating {
    margin:15px 0px;
}
div.fac-rating table,
div.fac-review div.fac-rating table {
    width:auto;
    margin:0px;
}
div.fac-rating table tr,
div.fac-rating table tr:nth-child(2n) {
    background:none;
}
div.fac-rating table th, div.fac-rating table td {
    padding:0px;
    background:none;
    border:none;
}
div.fac-editrating table th, div.fac-editrating table td {
    padding:4px 0px 0px;
    background:none;
    border:none;
}
div.fac-rating table th {
    width:130px;
    font-weight:bold;
    text-align:left;
}

div.fac-rating div.fac-stars {
    width:110px;
    height:19px;
    background:url('../images/stars-sprites.png') -1px -21px no-repeat;
    overflow:hidden;
}

div.fac-rating div.fac-stars div {
    height:19px;
    background:url('../images/stars-sprites.png') -1px -1px no-repeat;
    overflow:hidden;
}

/*
    For render reviews
*/

div.fac-reviews {
}
div.fac-reviews.narrow {
    width:300px;
    float:left;
}
div.fac-reviews p.fac-right {
    text-align:right;
}
div.fac-reviews div.fac-review {
    min-height:52px;
    margin:20px 0px;
    padding-bottom:20px;
    border-bottom:1px solid #e5e5e5;
}
div.facility-grid div.fac-reviews div.fac-review {
    position:relative;
    padding:5px 5px 65px;
}
div.fac-reviews div.fac-review-disabled {
    background:#f4f4f4;
}
div.fac-reviews div.fac-review:last-child {
    border-bottom-width:0px;
}

div.fac-reviews div.fac-review .date {
    position:absolute;
    width:45px;
    height:47px;
    margin-top:2px;
    padding-top:5px;
    text-align:center;
    line-height:17px;
    color:#666;
    background:url('../images/date-icon.png');
    overflow:hidden;
}
div.fac-reviews div.fac-review .date span { 
    width:45px;
    display:block;
}

div.fac-review .editable:focus { 
    outline:1px dashed #000;
}
div.fac-review button { 
    margin:0px 5px 5px 60px;
}

div.fac-reviews div.fac-review h3,
div.fac-reviews div.fac-review h4,
div.fac-reviews div.fac-review p,
div.fac-reviews div.fac-review div.fac-rating {
    margin:0px 5px 5px 60px;    
}
div.fac-reviews div.fac-review h3 {
    font-size:13px;
    line-height:20px;
    color:#666;
    text-transform:uppercase;
}
div.fac-reviews div.fac-review h3 em {
    color:#bbb;
    text-transform:none;
}
div.fac-reviews div.fac-review h4 {
    font-size:13px;
    line-height:20px;
    text-transform:uppercase;
}
div.fac-reviews div.fac-review h4 span {
    color: #f0a000;
}
div.fac-reviews div.fac-review div.fac-margin-correct {
    margin-left:56px;
}

div.fac-reviews div.fac-review p.desc {
    margin-bottom:0px;
}
div.fac-reviews div.fac-review p.fac-response {
    margin:20px 0px 0px 120px;
}
div.fac-reviews div.fac-review p.fac-response-actions {
    position:absolute;
    right:10px;
    bottom:15px;
    margin:0px;
    float:right;
}
div.fac-reviews div.fac-review p.fac-response-actions a.button {
    margin:0px 0px 0px 15px;
}
div.fac-reviews p.fac-reviews-splitter {
    margin:20px 0px;
    padding:0px 0px 20px;
    font-weight:bold;
    text-align:center;
    border-bottom:1px solid #e5e5e5;
}

div.fac-reviews div.fac-response-form {
    margin:20px 0px 0px 120px;
    display:none;
}
div.fac-reviews div.fac-response-form p {
    margin:2px 0px;
}
div.fac-reviews div.fac-response-form p textarea {
    width:80%;
}
div.fac-reviews div.fac-response-form p input[type="checkbox"] {
    margin:0px 5px 0px 0px;
    padding:0px;
}

div.fac-reviews div.fac-review-edit {
    /*margin:0px 5px 0px 60px;*/
    display:none;
}

div.rate-form {
    /*width:760px;*/
}
div.rate-form h2 {
    margin:0px 0px 15px;
    padding-top:5px;
}
div.rate-form h3 {
    margin:10px 0px 20px;
    font-size:13px;
    line-height:16px;
    text-align:center;
}
div.rate-form table {
    margin:0px auto;
}
div.rate-form table .tr-space td {
    padding-top:10px;
}
div.rate-form table th {
    padding:0px 0px 5px;
    text-align:left;
}
div.rate-form table td {
    padding:0px 0px 5px;
}
div.rate-form table td input[type="text"] {
    width:200px;
}
div.rate-form table td textarea {
    width:500px;
    height:150px;
}

/**
 * Responsive addition
 */

@media screen and (max-width:790px) {

    div.fac-reviews {
    }
    div.fac-reviews.narrow {
        width:auto;
        float:none;
    }
}