.star-rating,
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus,
.star-rating .current-rating{
	background: url(../images/star.gif) left -1000px repeat-x;
}
.star-rating{
	position:relative;
	width:125px;
	height:25px;
	overflow:hidden;
	list-style:none;
	margin:0;
	padding:0 !important;
	background-position: left top;
	display: inline-block;
}
.star-rating li{
	display: inline;
	list-style: none;
	margin: 0px !important;
	text-indent: -1000px;
	font: 0/0 a;
}
.star-rating a,
.star-rating .current-rating{
	position:absolute;
	top:0;
	left:0;
	text-indent:-1000px;
	height:25px !important;
	line-height:25px;
	outline:none;
	overflow:hidden;
	border: none;
	font: 0/0 a;
}

.star-rating * {zoom:1;}

.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus{
	background-position: left bottom;
}
.star-rating a.one-star{
	width:20% !important;
	z-index:6;
}
.star-rating a.two-stars{
	width:40% !important;
	z-index:5;
}
.star-rating a.three-stars{
	width:60% !important;
	z-index:4;
}
.star-rating a.four-stars{
	width:80% !important;
	z-index:3;
}
.star-rating a.five-stars{
	width:100% !important;
	z-index:2;
}
.star-rating .current-rating{
	z-index:1;
	background-position: left center;
}

.inline-rating{
	display:-moz-inline-block;
	display:-moz-inline-box;
	display:inline-block;
	vertical-align: middle;
	text-align: center;
	height:17px;
}

#ngg-listimages .column-1{
	width: 20px!important;
}

/*WD-149 addition*/
th.column{
	white-space: nowrap;
}
th.column-id, th.column-page_id, th.column-quantity{
	width:50px;
}
th.column-author2{
	width:275px;
}
th.column-author2 select{
	width:100px;
}
th.column-author2 select, th.column-author2 option{
	font-size: 12px;
}
.column-7{
	width:85px;
}

.inline-rating{
	width: 100% !important;
}

.nggv-vote-form {
	height:25px;
}

.debugDivClass {
	background-color:red;
}


/* **************************************************************** */

/* WD-1480 */
/* if width less than 545 then conside this one. */
@media screen and (max-width: 545px)  {

.star-rating,
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus,
.star-rating .current-rating{
	background: url(../images/star_mobile.gif) left -900px repeat-x;
}
.star-rating{
	position:relative;
	width:85px;
	height:17px;
	overflow:hidden;
	list-style:none;
	margin:0;
	padding:0 !important;
	background-position: left top;
	display: inline-block;
}
.star-rating li{
	display: inline;
	list-style: none;
	margin: 0px !important;
	text-indent: -900px;
	font: 0/0 a;
}
.star-rating a,
.star-rating .current-rating{
	position:absolute;
	top:0;
	left:0;
	text-indent:-900px;
	height:17px !important;
	line-height:17px;
	outline:none;
	overflow:hidden;
	border: none;
	font: 0/0 a;
}

.star-rating * {zoom:1;}

.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus{
	background-position: left bottom;
}
.star-rating a.one-star{
	width:20% !important;
	z-index:6;
}
.star-rating a.two-stars{
	width:40% !important;
	z-index:5;
}
.star-rating a.three-stars{
	width:60% !important;
	z-index:4;
}
.star-rating a.four-stars{
	width:80% !important;
	z-index:3;
}
.star-rating a.five-stars{
	width:100% !important;
	z-index:2;
}
.star-rating .current-rating{
	z-index:1;
	background-position: left center;
}

.inline-rating{
	display:-moz-inline-block;
	display:-moz-inline-box;
	display:inline-block;
	vertical-align: middle;
	text-align: center;
	height:17px;
	/*width: 50% !important;*/
}

.ngg-gallery-thumbnail img{
 	width: 98% !important;
}

.inline-rating{
	width: 100% !important;
}

.debugDivClass {
	background-color:pink;
}

}/* End of @media screen and (max-width: 500px) */


/* **************************************************************** */

/* WD-1480 */
/* Vertical view */
@media screen and (max-width: 570px)  {
  .inline-rating {
  	text-indent:-35px;
  }

  .debugDivClass {
	  background-color:blue;
  }
}

@media screen and (max-width: 470px)  {
  .inline-rating {
  	text-indent:-10px;
  }

  .debugDivClass {
	  background-color:lightgreen;
  }
}

/* change font size to make thanks for voting message smaller one */
@media screen and (max-width: 440px)  {
 .nggv-vote-form{
	font-size: 8px !important;
	/*background-color:pink;*/
  }
  .inline-rating {
  	text-indent:-20px;
  }
  .debugDivClass {
	  background-color:green;
  }
}

@media screen and (max-width: 370px)  {
  .inline-rating {
  	text-indent:-35px;
  }
  .debugDivClass {
	  background-color:orange;
  }
}

@media screen and (max-width: 321px)  {
  .inline-rating {
  	text-indent:-40px;
  }
  .debugDivClass {
	  background-color:brown;
  }
}

/*@media screen and (max-width: 310px)  {
  .inline-rating {
  	text-indent:-35px;
  }
  .debugDivClass {
	  background-color:gray;
  }
}*/


/* **************************************************************** */


/* WD-1480 */
/* Horizontal view */
@media screen and (max-height: 500px) {
    .inline-rating {
        /*background-color: yellow;*/
        text-indent:-10px;
    }
    .debugDivClass {
		/*background-color:yellow;*/
	}
}


/* **************************************************************** */