﻿.k-autocomplete,
.k-combobox,
.k-datepicker,
.k-timepicker,
.k-datetimepicker,
.k-colorpicker,
.k-numerictextbox,
.k-dropdown,
.k-selectbox,
.k-textbox {
  width: 100%;
}
.k-input {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
.k-progressbar-horizontal {
  height: 2.3em;
  width: 15em;
}
.k-progress-status-wrap {
  line-height: 2.3em;
}
.k-window-title {
  font-size: smaller;
  margin-top: 2px;
}
.k-menu .k-link:link,
.k-menu .k-link:visited,
.k-menu .k-nav-current.k-state-hover .k-link {
  color: black;
}
/*@import "bootstrap.less";*/
/*@import "table.less";
@import "report.less";*/
/* additions June 2020 */
#evaltext {
  display: none;
  /*  background-color: fuchsia;
*/
}
#evaltext .Demo {
  display: block;
  padding-left: 10px;
}
.navbar-brand {
  width: 50%;
  max-width: 440px;
}
@media (max-width: 600px) {
  .pagebody {
    margin: auto;
    padding: 0 1rem;
  }
  .lg {
    font-size: 1em;
  }
  .collapse {
    visibility: hidden;
  }
}
@media (min-width: 600px) {
  .pagebody {
    margin: auto;
    padding: 0 3rem;
  }
  .lg {
    font-size: larger;
  }
}
@media (min-width: 960px) {
  .pagebody {
    max-width: 960px;
    margin: auto;
    padding: 0 3rem;
  }
}
@media (min-width: 1280px) {
  .pagebody {
    max-width: 1280px;
    margin: auto;
    padding: 0 3rem;
  }
}
@media (min-width: 1980px) {
  .pagebody {
    max-width: 1800px;
    margin: auto;
    padding: 0 3rem;
  }
}
.centre {
  text-align: center;
}
.hrblue {
  width: 80%;
  border-top: 2px solid darkslateblue;
  margin-top: 2em;
  margin-bottom: 1em;
}
/* end additions June 2020 */
body {
  background-color: #ffffff;
  color: black;
  font-size: 15px;
}
.pagebody {
  max-width: 1330px;
}
h1,
h2,
h3,
h4,
h5 {
  color: darkslateblue;
}
.sdlbox {
  border-bottom: 2px solid #003366;
  border-top: 2px solid blue;
  border-left: 2px solid #003366;
  border-right: 2px solid blue;
  padding: 20px;
  border-radius: 15px;
  width: 400px;
  -webkit-filter: drop-shadow(7px 7px 4px rgba(0, 0, 0, 0.5));
}
/*https://www.w3schools.com/colors/colors_picker.asp*/
.btn-primary {
  background-color: #003366;
  /*dark grey blue*/
}
.btn-danger {
  background-color: #990000;
}
.btn-success {
  background-color: #1f6040;
}
#navAccount {
  font-size: 15px;
}
.catalogue {
  font-size: 1.1em;
  background-color: cadetblue;
}
.custlogo {
  margin: auto;
  display: block;
  padding: 0px;
}
.logoimg {
  text-align: center;
  padding: 10px;
  max-width: 100%;
  display: block;
}
.logoimg_n {
  text-align: center;
  /*padding: 10px;*/
  max-width: 60px;
  max-height: 60px;
  display: block;
}
#Listing {
  max-width: 1600px;
  margin: auto;
  font-size: 1.1em;
}
#Listing .nav-stacked {
  /*.active {
            color: red;
            text-decoration-line: underline;
        }*/
}
#Listing .nav-stacked .nav-link {
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}
#Listing .nav-stacked .nav-link:before,
#Listing .nav-stacked .nav-link:after {
  content: '';
  bottom: 0;
  background-color: #172C4C;
  bottom: 4px;
  height: 2px;
  position: absolute;
  width: 0%;
  -webkit-transition: width 200ms;
  transition: width 200ms;
}
#Listing .nav-stacked .nav-link:before {
  right: 50%;
}
#Listing .nav-stacked .nav-link:after {
  left: 50%;
}
#Listing .nav-stacked .nav-link:link,
#Listing .nav-stacked .nav-link:visited,
#Listing .nav-stacked .nav-link:link:active,
#Listing .nav-stacked .nav-link:visited:active {
  text-decoration: none;
}
#Listing .nav-stacked .nav-link:hover,
#Listing .nav-stacked .nav-link:focus {
  text-decoration: none;
}
#Listing .nav-stacked .nav-link:hover:before,
#Listing .nav-stacked .nav-link:focus:before,
#Listing .nav-stacked .nav-link:hover:after,
#Listing .nav-stacked .nav-link:focus:after {
  width: 30%;
}
#Listing .nav-stacked .nav-link.active {
  text-decoration: none;
}
#Listing .nav-stacked .nav-link.active:before,
#Listing .nav-stacked .nav-link.active:after {
  width: 50%;
}
#Listing .nav-stacked .nav-link.white:before,
#Listing .nav-stacked .nav-link.white:after {
  background-color: #fcfeff;
}
#Listing .nav-stacked a:hover .nav-link,
#Listing .nav-stacked a:focus .nav-link {
  text-decoration: none;
}
#Listing .nav-stacked a:hover .nav-link:before,
#Listing .nav-stacked a:focus .nav-link:before,
#Listing .nav-stacked a:hover .nav-link:after,
#Listing .nav-stacked a:focus .nav-link:after {
  width: 30%;
}
#ListingContent tr:nth-child(even) {
  background: #CCC;
}
#ListingContent tr:nth-child(odd) {
  background: #FFF;
}
#ListingContent table td {
  padding: 10px;
}
#ListingContent table th {
  font-size: 1.2em;
  color: darkslateblue;
  font-weight: 500;
  padding-bottom: 15px;
}
#ListingContent table tr td:first-child {
  min-width: 200px;
  vertical-align: top;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.2em;
  text-rendering: optimizelegibility;
  text-transform: uppercase;
  color: darkslateblue;
}
#ListingContent p,
#ListingContent ul,
#ListingContent .standfirsttext {
  line-height: 1.6em;
}
#ListingContent .showPartialMd {
  margin: 20px 0 20px 0;
}
.btn-group-vertical a,
.btn-group-vertical button {
  width: 100%;
}
.btn-nav {
  background: #34c0d9;
  background-image: -webkit-linear-gradient(top, #34c0d9, #2980b9);
  background-image: -moz-linear-gradient(top, #34c0d9, #2980b9);
  background-image: -ms-linear-gradient(top, #34c0d9, #2980b9);
  background-image: -o-linear-gradient(top, #34c0d9, #2980b9);
  /* background-image: linear-gradient(to bottom, #34c0d9, #2980b9);*/
  background-image: linear-gradient(to bottom, #2589b0, #2980b9);
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  font-family: Arial;
  color: #ffffff;
  font-size: 15px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  border: none;
  outline: none;
  width: 180px;
}
.btn-nav:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}
.btn-cl {
  font-size: 12px;
  width: 150px;
  float: right;
}
.standfirstpanel {
  margin: 49px 10px 20px 10px;
  padding: 20px;
  background-color: lightblue;
  border-radius: 20px;
}
.standfirstpanel .standfirsttext {
  margin-top: 20px;
  font-weight: 500;
}
/* handwriting effect  */
.hand {
  font-family: "Shadows Into Light", 'Open Sans', sans-serif, cursive;
  color: darkred;
}
.glhand {
  font-family: "Shadows Into Light", 'Open Sans', sans-serif, cursive;
  font-size: 1.4em;
  color: steelblue;
}
a {
  font-weight: bold;
  color: #006699;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.deep {
  padding-bottom: 20px;
  margin-bottom: 10px;
}
.underline {
  border-bottom: solid silver 1px;
}
.navimage {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.navdiv {
  display: inline-block;
  overflow: hidden;
  position: relative;
  width: 100%;
  vertical-align: top;
  background-color: transparent;
  border-bottom: silver solid 3px;
}
/*game Icons*/
.sdlicon {
  background-repeat: no-repeat;
  display: inline-block;
  padding-left: 35px;
  height: 35px;
  font-size: larger;
  content: " ";
  line-height: 30px;
}
.sdlicon.psm {
  background-image: url('/content/assets/psm/img/icon.png');
}
.sdlicon.pex {
  background-image: url('/content/assets/pex/img/icon.png');
}
.sdlicon.wlr {
  background-image: url('/content/assets/wlr/img/icon.png');
}
.sdlicon.eba {
  background-image: url('/content/assets/eba/img/icon.png');
}
.sdlicon.brand {
  background-image: url('/content/assets/brand/img/icon.png');
}
.sdlicon.lof {
  background-image: url('/content/assets/lof/img/icon.png');
}
.sdlicon.mobile {
  background-image: url('/content/assets/mobile/img/icon.png');
}
/*.eba {
    border-radius: 5px;
    background-color: #81e3c7;
}
*/
/*.eba.sdlicon {
    background-color: transparent;
}*/
.pex {
  background-color: #ccd2f2;
  border-radius: 5px;
}
/*
.pex.sdlicon {
    background-color: transparent;
}
*/
.wlr {
  background-color: #aff1a5;
  border-radius: 5px;
}
/*.wlr.sdlicon {
    background-color: transparent;
}*/
.psm {
  background-color: #a6e7e6;
  border-radius: 5px;
}
.psm.sdlicon,
.mobile.sdlicon,
.wlr.sdlicon,
.pex.sdlicon,
.eba.sdlicon {
  background-color: transparent;
}
.glsubhead {
  color: steelblue;
  font-size: 1.3em;
}
.gltext {
  font-size: 0.8em;
}
.demoitem {
  padding-top: 10px;
  border-top: silver 1px solid;
}
.demobtn {
  margin-bottom: 5px;
  margin-left: 15px;
  float: right;
}
.tablehead {
  font-weight: bold;
  font-size: larger;
  padding: 5px 10px 5px 10px;
}
.pad10 {
  padding: 5px 10px 5px 10px;
}
/*================= onoffswitch from https://proto.io/freebies/onoff/ 
    css can be restyled at link - used web Essentials to add missing standard & vendor specific properties*/
.onoffswitch {
  position: relative;
  width: 110px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.onoffswitch-checkbox {
  display: none;
}
.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #999999;
  border-radius: 50px;
}
.onoffswitch-inner {
  display: block;
  width: 200%;
  margin-left: -100%;
  -moz-transition: margin 0.3s ease-in 0s;
  -o-transition: margin 0.3s ease-in 0s;
  -webkit-transition: margin 0.3s ease-in 0s;
  transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before,
.onoffswitch-inner:after {
  display: block;
  float: left;
  width: 50%;
  height: 20px;
  padding: 0;
  line-height: 20px;
  font-size: 14px;
  color: white;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.onoffswitch-inner:before {
  content: "Enabled";
  padding-left: 12px;
  background-color: #99FF99;
  color: black;
}
.onoffswitch-inner:after {
  content: "Disabled";
  padding-right: 12px;
  background-color: salmon;
  color: Black;
  /*background-color: #EEEEEE;
    color: #999999;*/
  text-align: right;
}
.onoffswitch-switch {
  display: block;
  width: 28px;
  margin: -4px;
  background: #FFFFFF;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 86px;
  border: 2px solid #999999;
  border-radius: 50px;
  -moz-transition: all 0.3s ease-in 0s;
  -o-transition: all 0.3s ease-in 0s;
  -webkit-transition: all 0.3s ease-in 0s;
  transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 0px;
}
/*===================*/
.optDisabled {
  background-color: salmon;
  font-weight: 800;
}
.optEnabled {
  background-color: palegreen;
  font-weight: 600;
}
@media (max-width: 768px) {
  .demobtns {
    margin-bottom: 10px;
    float: right;
  }
  #accesslinks .homemorebtn {
    width: 130px;
    position: relative;
    margin: 25px 25px 0 0;
    float: right;
  }
  #carousel {
    display: block;
    overflow: auto;
  }
  #infonav {
    flex-flow: row wrap;
  }
}
@media (min-width: 768px) {
  .demobtns {
    margin-top: 40px;
  }
  #accesslinks .homemorebtn {
    width: 130px;
    position: relative;
    margin: 20px 25px 0 0;
    float: right;
  }
  #infonav {
    flex-direction: column;
  }
}
@media only screen and (min-width: 680px) and (max-width: 1465px) {
  #accesslinks {
    font-size: smaller;
  }
  #accesslinks .homemorebtn {
    display: inline;
    width: 130px;
    position: relative;
    margin: 20px 20px 0 0;
    float: right;
  }
  #carousel {
    overflow: auto;
  }
}
#infonav {
  margin: 30px;
  display: flex;
  flex-flow: row wrap;
  padding: 5px;
}
#infonav .nav-link {
  margin: 5px;
  max-width: 150px;
}
#custlogos {
  margin: 20px 0 0 0;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-around;
  padding: 10px;
}
#custlogos img {
  margin: 5px;
}
#gamelogos {
  margin: 20px 0 0 0;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
#gamelogos .gameitem {
  margin: 15px 30px;
}
.responsive {
  width: 100%;
  height: auto;
}
#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  cursor: pointer;
  z-index: 999999;
}
#overlaytext {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  color: white;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
/*@media (min-width: 200px) 
    {
  .sidebar-nav .navbar .navbar-collapse {
    padding: 0;
    max-height: none;
  }
  .sidebar-nav .navbar ul {
    float: none;
  }
  .sidebar-nav .navbar ul:not {
    display: block;
  }
  .sidebar-nav .navbar li {
    float: none;
    display: block;
  }
  .sidebar-nav .navbar li a {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}*/
.regbtn600 {
  width: 600px;
}
.regbtn {
  width: 350px;
}
#regform {
  width: 400px;
  margin: 0 auto;
  padding: 10px;
}
#regform h3 {
  font-weight: normal;
  font-size: 1.4em;
  border-bottom: 1px solid #ccc;
}
#comments {
  width: 100%;
  display: inline-block;
}
.required {
  font-weight: bold;
}
.accept,
.status {
  padding-left: 90px;
}
.valid {
  color: green;
}
.invalid {
  color: red;
}
span.k-tooltip {
  margin-left: 6px;
}
#success {
  margin-top: 30px;
}
#pricing .title {
  font-weight: 600;
  padding: 7px 10px;
  font-size: large;
}
#pricing .info {
  padding: 7px 10px;
}
#pricing .indent {
  margin-left: 2em;
}
#pricing .priceacad {
  padding: 14px 10px 12px 10px;
  font-weight: 600;
  font-size: larger;
  background-color: #C0FCC8;
  /*lightgreen;*/
}
#pricing .pricecorp {
  padding: 14px 10px 12px 10px;
  font-weight: 600;
  font-size: larger;
  background-color: #CFEDFC;
  /*lightblue;*/
}
#pricing .val {
  font-size: xx-large;
}
.notice {
  width: 90%;
  padding: 10px;
  display: inline-block;
  background-color: palegoldenrod;
  border: solid black 1px;
  border-radius: 10px;
}
header,
footer,
nav,
section {
  display: block;
}
.footer {
  margin-top: 50px;
  font-size: 0.8em;
  margin-left: 20px;
}
.panelgame {
  padding: 0 10px 20px 0;
  height: auto;
}
.gamebtns {
  padding: 2px;
  margin-top: 20px;
  text-align: right;
  margin-right: 0;
}
.indent30 {
  margin-left: 30px;
}
/* Styles for basic forms
-----------------------------------------------------------*/
fieldset {
  border: 1px solid #ddd;
  padding: 0 1.4em 1.4em 1.4em;
  margin: 0 0 1.5em 0;
}
legend {
  font-size: 1.2em;
  font-weight: bold;
}
textarea {
  min-height: 75px;
}
.editor-label {
  margin: 1em 0 0 0;
}
.editor-field {
  margin: 0.5em 0 0 0;
}
/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
  color: #ff0000;
}
.field-validation-valid {
  display: none;
}
.input-validation-error {
  border: 1px solid #ff0000;
  background-color: #ffeeee;
}
.validation-summary-errors {
  font-weight: bold;
  color: #ff0000;
}
.validation-summary-valid {
  display: none;
}
.label.valid {
  width: 24px;
  height: 24px;
  background: url(assets/img/valid.png) center center no-repeat;
  display: inline-block;
  text-indent: -9999px;
}
.label.error {
  font-weight: bold;
  color: red;
  padding: 2px 8px;
  margin-top: 2px;
}
.k-menu .k-item > .k-link {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar {
  z-index: 12000 !important;
  padding: 2px 15px 0 15px;
}
.modal-backdrop {
  z-index: 12400 !important;
}
/*.loginout {
    margin: 35px 2px 0 0;
    float: right;
}*/
.modal {
  z-index: 12700 !important;
  overflow: hidden;
  max-width: 700px;
  margin: auto;
  top: 10%;
}
.modal .txtshort {
  width: 100%;
  height: 80px;
  -ms-word-wrap: normal;
  word-wrap: normal;
}
.modal-footer {
  padding: 10px;
  margin-top: 5px;
}
#LoginModal,
#NameNewGame,
#joinevent {
  max-width: 320px;
  max-height: 320px;
  background-color: white;
}
#AddTokenModal {
  max-width: 320px;
  max-height: 320px;
  background-color: white;
}
#gameslist .instances h4,
#gameslist .challenges h4 {
  margin: 0 4px 10px -4px;
}
#gameslist .instances .lastplayed,
#gameslist .challenges .lastplayed {
  font-size: x-small;
  margin: 2px 0 0 10px;
}
#gameslist .instances li,
#gameslist .challenges li {
  /*background-color: #e0e0e0;
        padding: 10px;
        margin: 15px;
        border-radius: 4px;*/
  overflow: hidden;
  /*.sd //short description
        {
            display: inline-block;
            margin-top: 4px;
            margin-left: 10px;
            width: 100%;
        }*/
}
#gameslist .instances li button,
#gameslist .challenges li button,
#gameslist .instances li a,
#gameslist .challenges li a {
  /*display: inline-block;
            float: right;
            margin-top: 4px;
            margin-left: 10px;*/
}
#gameindex {
  padding: 0 40px;
}
.panel-group .panel-heading {
  overflow: hidden;
}
.panel-group .panel-heading .panel-title {
  font-size: inherit;
}
.panel-group .panel-heading .panel-title .pull-left {
  width: 70%;
}
.panel-group .panel-heading .panel-title h4 a {
  font-size: 20px;
  font-weight: bold;
  color: black;
  display: block;
  text-decoration: none;
}
.panel-group .panel-heading .panel-title h4 a:hover,
.panel-group .panel-heading .panel-title h4 a:visited:hover {
  text-decoration: none;
}
.pnltitle {
  font-weight: bold;
  color: #084B8A;
  font-size: larger;
}
a.disabled {
  color: gray;
}
/*external site items */
.featurethumb {
  max-width: 90%;
  /*float: right;*/
  -webkit-filter: drop-shadow(7px 7px 4px rgba(0, 0, 0, 0.5));
  margin-bottom: 10px;
  max-height: 200px;
  width: auto;
}
.featurelogo {
  height: 70px;
  margin-bottom: 10px;
  margin-top: 15px;
  /*max-width: 600px;
    height: auto;
    margin: 20px;
    margin-bottom: 10px;*/
}
.shadowed {
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
  /*-webkit-filter: drop-shadow(12px 12px 7px rgba(0,0,0,0.5));
filter: url(shadow.svg#drop-shadow);
-ms-filter: progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12,
Color='#444');
filter: progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444');*/
}
.well-home {
  position: relative;
}
.well-home .content {
  overflow: hidden;
  padding: 5px;
  margin: 5px;
}
.well-home2 {
  position: relative;
}
.homemoretxt {
  margin-bottom: 15px;
  clear: both;
  min-height: 45px;
}
/*#accesslinks .homemorebtn
{
    width: 130px;
    position: relative;
    margin: 25px 25px 0 0;
    float: right;
  
}*/
well-home2 {
  position: relative;
  margin-bottom: 6px;
}
.well-home2 .content {
  padding: 0 10px 10px 10px;
  margin: 0 10px 10px 10px;
  overflow: hidden;
}
.well-home .img,
.well-home2 .img {
  position: relative;
  bottom: -10px;
  height: 220px;
  width: 100%;
  text-align: center;
  vertical-align: middle;
}
.well-home .btn,
.well-home2 .btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  text-decoration: none;
}
.panel-footer {
  overflow: hidden;
}
/* grid for KPI reporting */
.k-grid .k-grid-header .k-header .k-link {
  height: auto;
  font-weight: bold;
}
.k-grid .k-grid-header .k-header {
  white-space: normal;
  line-height: 14px;
}
.k-grid .k-master-row {
  text-align: left;
  font-weight: bold;
  margin-left: 10px;
}
.k-grid .k-detail-row {
  text-align: right;
  margin-right: 10px;
}
.modal-content iframe {
  display: block;
}
/*#pex .panel-default .panel-heading
{
    background-color: #5a6bc5;
    color: white;
}

#wlr .panel-default .panel-heading
{
    background-color: green;
    color: white;
}

.pex .pill
{
    background-color: #5a6bc5;
    color: white;
}

.wlr .pill
{
    background-color: green;
    color: white;
}*/
.updates {
  display: block;
  background-color: palegreen;
  border: 1px green solid;
  border-radius: 5px;
  padding: 5px;
}
.heffalump {
  margin-left: -1000px;
  width: 30px;
  height: 1px;
}
.star-ratings-css {
  unicode-bidi: bidi-override;
  color: #c5c5c5;
  font-size: 25px;
  height: 25px;
  width: 100px;
  margin: 0 auto;
  position: relative;
  padding: 0;
  text-shadow: 0px 1px 0 #a2a2a2;
}
.star-ratings-css-top {
  color: #e7711b;
  padding: 0;
  position: absolute;
  z-index: 1;
  display: block;
  top: 0;
  left: 0;
  overflow: hidden;
}
.star-ratings-css-bottom {
  padding: 0;
  display: block;
  z-index: 0;
}
/*// Method 2) Using a Sprite
.star-ratings-sprite {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/2605/star-rating-sprite.png") repeat-x;
  font-size: 0;
  height: 21px;
  line-height: 0;
  overflow: hidden;
  text-indent: -999em;
  width: 110px;
  margin: 0 auto;
  
  &-rating {
    background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/2605/star-rating-sprite.png") repeat-x;
    background-position: 0 100%;
    float: left;
    height: 21px;
    display:block;
  }
  
}

// Stuff for Pen styling
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,700);
body { margin: 50px; text-align: center; font-family: 'Open Sans', sans-serif; background: #f2fbff; }
em { font-style: italic; }
h1 { font-size: 24px; margin-bottom: 25px; font-weight: bold; text-transform: uppercase; }
h2 { font-size: 16px; margin-bottom: 15px;}*/
#hide {
  display: none;
}
.rating input {
  position: absolute;
  filter: alpha(opacity=0);
  opacity: 0;
  cursor: pointer;
  width: 17px;
}
.rating span {
  width: 24px;
  height: 16px;
  line-height: 16px;
  padding: 1px 22px 1px 0;
  /* 1px FireFox fix */
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAQCAYAAACV3GYgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAApRJREFUSEutlTFI5EAUhnPFgc2KleBeY+Pdcmi52F+aA5sgaCEExDZgeQREO9NYSTq7FLZTedXAgVhNYRuxNjbaiLisLuLc92433LqX5DarCz/JvHl58/HPm1nHqfiFYTirlPpZlTPJXOI3ZnXkvq0uYPtZltk4jr9NAlH2jY69/VSHVoWtyeri2owx5k7gtNanjD+8B2DsOzOpCu4yE1mT+Kex59Svi2s7AiZK01Tcc98DTsfuTmZCKxq4V68uLk3j2k0ON3DvLAiCj28BxLVpo/ybHE6eJvHOcK+4LiBLSZKs49Qu23cM1Dm6HwbL34k/oAvyTtAh32xHUbRcBJz4zpKKWus4tQvAMToH7D41Aa79VaoDS/zBKO+CnBOduIc6bm8nQWPZAWyLbXsugvlfDNCM7f5SBAfYVqr952GQcd+BzZKg2a8L4AaAvSIY6Tcg5FBYnLLkSv9ZHMtwvRAshwVwA8BeERRxmyqPbW1bHbesjpqc3oZNAifD9dd1WXQVkMf8AAzDCNCwALui/z6P038ArgLyKIAC1IdpAtP4R4Bd0X/FdQFYwZ2uOFQmXLseF2zIwRXc6f6BKhGuXZeC5YVY/FJcKxPzv8ZxbDSHxS9N0sK5YjFfXRdHpnDvSXqsTMzfklfr4sSRKXrqKVUt+qxYzN9WXsgsuiiOySHID4Jsr4DmMeZfyPtUxz0WXRTHUt3uS7Wt4RDIM48x/0JeeV1O35pADC7dDo0fAbLA4wCoTg5I7HstON9Zy7TL/ebKtna4wyJAFngeyFjiAkmsvC4Qe7jUo6+ORt1hPEc8BrJL3o86cEDs4VKPvjoadYfxHPHYqHaX01peF+c20deqhYGcR14dOP62NoGorMv8PHpV9zetngl7Yd/7uAAAAABJRU5ErkJggg==) no-repeat -22px 0;
}
/* Change span immediately following the checked radio */
.rating input:checked + span {
  background-position: -22px 0;
}
/* Reset all remaining stars back to default background.
   This supersedes the above due to its ordering. */
.rating input:checked + span ~ span {
  background-position: 0 0;
}