/*
                                 _ 
  __ _  ___ _ __   ___ _ __ __ _| |
 / _` |/ _ \ '_ \ / _ \ '__/ _` | |
| (_| |  __/ | | |  __/ | | (_| | |
 \__, |\___|_| |_|\___|_|  \__,_|_|
 |___/                                                     

*/
body {
    --color-theme: #0099CC;
}

/* ********** TPL MODULE ********** */
.derf-he-color-theme {
    color: var(--color-theme);
}

.derf-avis-client .derf-he-section {
    margin: 2rem 0;
}

.derf-avis-client h1 {
    border-top: var(--color-theme) solid 2px;
    padding: 2rem 0;
}

.star-content {
    margin: 0 0 0 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  
  .star-content div.star,
  .star-content div.star-on,
  .star-content div.star-hover {
    display: block;
    width: 20px;
    height: 20px;
    background: url(../img/stars.png) no-repeat 0 0 transparent;
    flex: auto;
    margin-left: 3px;
  }
  .star-content div.demistar-on {
    display: block;
    width: 20px;
    height: 20px;
    background: url(../img/demistars.png) no-repeat 0 0 transparent;
    flex: auto;
    margin-left: 3px;
  }
  
  
  .star-content div.star-on,
  .star-content div.demistar-on,
  .star-content div.star-hover {
    background-position: -24px 0;
  }
  
  .small-stars .star-content div.star,
  .small-stars .star-content div.star-on,
  .small-stars .star-content div.star-hover {
    background: url(../img/small_stars.png) no-repeat 0 0 transparent;
    width: 16px;
    height: 16px;
    margin-left: 2px;
  }
  
  .small-stars .star-content div.demistar-on {
    background: url(../img/demismall_stars.png) no-repeat 0 0 transparent;
    width: 16px;
    height: 16px;
    margin-left: 2px;
  }
  
  .small-stars .star-content div.star-on,
  .small-stars .star-content div.demistar-on,
  .small-stars .star-content div.star-hover {
    background-position: -19px 0;
  }
  
  .star-content div.star-hover {
    cursor: pointer;
  }
  
  .gradestars {
    position: relative;
    height: 20px;
    min-width: 120px;
    display: inline-block;
  }
  
  .gradestars.small-stars {
    min-width: 100px;
  }
  
  .gradestars .star-content {
    position: absolute;
    top: 3px;
    left: 0;
  }
  
  .criterion-rating .gradestars .star-content {
    top: 0;
  }
  
  #post-product-comment-modal .star-content div.star a {
    display: block;
    position: absolute;
    text-indent: -5000px;
  }
  
  .product-comment-list-item .gradestars .star-content {
    margin: 0 0 10px;
  }
  
  .product-quickview-review .gradestars .star-content {
    margin: 0 0 0 0;
    top: 0;
  }
  
  .product-list-reviews .gradestars .star-content {
    top: 1px;
  }
  .small-stars .star-content div.star-on,
  .small-stars .star-content div.demistar-on,
  .small-stars .star-content div.star-hover {
    background-position: -19px 0;
  }
  .star-content div.star,
  .star-content div.star-on,
  .star-content div.star-hover {
    display: block;
    width: 20px;
    height: 20px;
    background: url(../img/stars.png) no-repeat 0 0 transparent;
    flex: auto;
    margin-left: 3px;
  }
  .star-content div.demistar-on {
    display: block;
    width: 20px;
    height: 20px;
    background: url(../img/demistars.png) no-repeat 0 0 transparent;
    flex: auto;
    margin-left: 3px;
  }
  .star-content div.star-on,
  .star-content div.demistar-on,
  .star-content div.star-hover {
    background-position: -24px 0;
  }
  
  .small-stars .star-content div.star,
  .small-stars .star-content div.star-on,
  .small-stars .star-content div.star-hover {
    background: url(../img/small_stars.png) no-repeat 0 0 transparent;
    width: 16px;
    height: 16px;
    margin-left: 2px;
  }
  .small-stars .star-content div.demistar-on {
    background: url(../img/demismall_stars.png) no-repeat 0 0 transparent;
    width: 16px;
    height: 16px;
    margin-left: 2px;
  }
  
/*
                    _ _                               _           
 _ __ ___   ___  __| (_) __ _    __ _ _   _  ___ _ __(_) ___  ___ 
| '_ ` _ \ / _ \/ _` | |/ _` |  / _` | | | |/ _ \ '__| |/ _ \/ __|
| | | | | |  __/ (_| | | (_| | | (_| | |_| |  __/ |  | |  __/\__ \
|_| |_| |_|\___|\__,_|_|\__,_|  \__, |\__,_|\___|_|  |_|\___||___/
                                   |_|                            
*/
/* ********** En dessous de 400px ********** */
@media screen and (max-width: 400px) {
    .derf-avis-client table {
        display: block;
        overflow-x: auto;
    }
}
