/* weahter rater */
.rate {
	display: none;
}

.rate_enabled {
	display: inline-block;
}

.rate_header {
	position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.rate_openers {
	display: none;
	position: absolute;
	right: 0;
	top: 0;
}

.rate_description {
	display: none;
	max-width:144px;

	border-bottom: 1px dotted white;
	cursor: pointer;

  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  -moz-binding: url( '/static/css/bindings.xml#ellipsis' );
}

.rate_description_enabled {
	display: inline-block;
}

.rate_openers_enabled {
	display: block;
}

.rate_popup {
	display: none;
  position: absolute;
  z-index: 10;
	padding: 0.5em;
	background-color: transparent;
}

.rate_content {
  position: relative;
	z-index: 3;
}

.rate_content_bg {
  position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	background-color: #fff;
	opacity:0.93;
}

.rate_popup_opened {
	display: block;
}

.rate_comment_input {
	width: 14em;
	color: #000;
}
.rate_comment_input.placeholder {
	color: #888;
}

.rate_section {
	margin-bottom: 0.3em;
}

.rate_cancel {
	margin-right: 1.4em;
	border-bottom: 1px dotted gray;
	cursor: pointer;
}

.rate_button {
	font-size: 13px;
	padding: 1px 3px;
	cursor: pointer;
}

.rate_button_pressed {
	cursor: default;
}

.rate_button_empty {
	width:27px;
}
.rate_button_empty:before {
	content: '\00a0';
	/*margin-left: -1em;*/
}

.rate_button_like,
.rate_button_dislike {
	position: relative;
	padding-left: 24px;
	padding-top: 3px;
	padding-bottom: 2px;

	color: white;
	font-weight: bold;
	background: #82bbe0; /* Old browsers */
	background: -moz-linear-gradient(top, #a0cce8 0%, #a0cce8 50%, #82bbe0 51%, #4398d1 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a0cce8), color-stop(50%,#a0cce8), color-stop(51%,#82bbe0), color-stop(100%,#4398d1)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #a0cce8 0%,#a0cce8 50%,#82bbe0 51%,#4398d1 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #a0cce8 0%,#a0cce8 50%,#82bbe0 51%,#4398d1 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #a0cce8 0%,#a0cce8 50%,#82bbe0 51%,#4398d1 100%); /* IE10+ */
	background: linear-gradient(to bottom, #a0cce8 0%,#a0cce8 50%,#82bbe0 51%,#4398d1 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a0cce8', endColorstr='#4398d1',GradientType=0 ); /* IE6-9 */
	border: 0 none;
	border-bottom: 1px solid #2e76a6;
	-webkit-border-radius: 2px;
	-moz-radius: 2px;
	border-radius: 2px;
	margin:3px 2px 2px 2px;
}

.rate_button_like:hover,
.rate_button_dislike:hover {
	background: #7fbbe3;
	background: -moz-linear-gradient(top, #9dd3f5 0%, #9dd3f5 50%, #7fbbe3 51%, #4398d1 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9dd3f5), color-stop(50%,#9dd3f5), color-stop(51%,#7fbbe3), color-stop(100%,#4398d1)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #9dd3f5 0%,#9dd3f5 50%,#7fbbe3 51%,#4398d1 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #9dd3f5 0%,#9dd3f5 50%,#7fbbe3 51%,#4398d1 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #9dd3f5 0%,#9dd3f5 50%,#7fbbe3 51%,#4398d1 100%); /* IE10+ */
	background: linear-gradient(to bottom, #9dd3f5 0%,#9dd3f5 50%,#7fbbe3 51%,#4398d1 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9dd3f5', endColorstr='#4398d1',GradientType=0 ); /* IE6-9 */
}

.rate_button_like:after,
.rate_button_dislike:after {
	position: absolute;
	left: 4px;
	top: 2px;
	width: 17px;
	height: 17px;
	background: url(/static/app/icons.png);
	content: '';
}

.rate_button_like:after {
	top: 1px;
	background-position: 0px -508px;
}

.rate_button_dislike:after {
	background-position: 0px -525px;
}

.rate_content .rate_button_like {
	background: #6d9c62;
	background: -moz-linear-gradient(top, #a4bf9d 0%, #a4bf9d 50%, #6d9c62 51%, #3f7a30 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a4bf9d), color-stop(50%,#a4bf9d), color-stop(51%,#6d9c62), color-stop(100%,#3f7a30)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #a4bf9d 0%,#a4bf9d 50%,#6d9c62 51%,#3f7a30 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #a4bf9d 0%,#a4bf9d 50%,#6d9c62 51%,#3f7a30 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #a4bf9d 0%,#a4bf9d 50%,#6d9c62 51%,#3f7a30 100%); /* IE10+ */
	background: linear-gradient(to bottom, #a4bf9d 0%,#a4bf9d 50%,#6d9c62 51%,#3f7a30 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a4bf9d', endColorstr='#3f7a30',GradientType=0 ); /* IE6-9 */
	border-bottom: 1px solid #3f7a30;
}

.rate_content .rate_button_dislike {
	background: #ad403d;
	background: -moz-linear-gradient(top, #bd6c68 0%, #bd6c68 50%, #ad403d 51%, #9e1e19 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bd6c68), color-stop(50%,#bd6c68), color-stop(51%,#ad403d), color-stop(100%,#9e1e19)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #bd6c68 0%,#bd6c68 50%,#ad403d 51%,#9e1e19 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #bd6c68 0%,#bd6c68 50%,#ad403d 51%,#9e1e19 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #bd6c68 0%,#bd6c68 50%,#ad403d 51%,#9e1e19 100%); /* IE10+ */
	background: linear-gradient(to bottom, #bd6c68 0%,#bd6c68 50%,#ad403d 51%,#9e1e19 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bd6c68', endColorstr='#9e1e19',GradientType=0 ); /* IE6-9 */
	border-bottom: 1px solid #9e1e19;
}

.rate_content .rate_button_like:hover {
	background: #8bb082;
	background: -moz-linear-gradient(top, #b7ccb1 0%, #b7ccb1 50%, #8bb082 51%, #659429 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b7ccb1), color-stop(50%,#b7ccb1), color-stop(51%,#8bb082), color-stop(100%,#659429)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #b7ccb1 0%,#b7ccb1 50%,#8bb082 51%,#659429 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #b7ccb1 0%,#b7ccb1 50%,#8bb082 51%,#659429 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #b7ccb1 0%,#b7ccb1 50%,#8bb082 51%,#659429 100%); /* IE10+ */
	background: linear-gradient(to bottom, #b7ccb1 0%,#b7ccb1 50%,#8bb082 51%,#659429 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b7ccb1', endColorstr='#659429',GradientType=0 ); /* IE6-9 */
	border-bottom: 1px solid #659429;
}

.rate_content .rate_button_dislike:hover {
	background: #bd6764;
	background: -moz-linear-gradient(top, #cc8a87 0%, #cc8a87 50%, #bd6764 51%, #b04a46 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cc8a87), color-stop(50%,#cc8a87), color-stop(51%,#bd6764), color-stop(100%,#b04a46)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #cc8a87 0%,#cc8a87 50%,#bd6764 51%,#b04a46 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #cc8a87 0%,#cc8a87 50%,#bd6764 51%,#b04a46 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #cc8a87 0%,#cc8a87 50%,#bd6764 51%,#b04a46 100%); /* IE10+ */
	background: linear-gradient(to bottom, #cc8a87 0%,#cc8a87 50%,#bd6764 51%,#b04a46 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc8a87', endColorstr='#b04a46',GradientType=0 ); /* IE6-9 */
	border-bottom: 1px solid #b04a46;
}

.rate_content .rate_button_like:active,
.rate_content .rate_button_like.rate_button_pressed {
	background: #3f782a!important;
	border-bottom: 1px solid transparent!important;
	box-shadow: inset #182e10 0px 2px 5px!important;
	filter:none!important;
}

.rate_content .rate_button_dislike:active,
.rate_content .rate_button_dislike.rate_button_pressed {
	background: #9c1a16!important;
	border-bottom: 1px solid transparent!important;
	box-shadow: inset #6e0000 0px 2px 5px!important;
	filter:none!important;
}


.rate-placeholder {
	position: absolute;
	color: #888;
	width: 14em;
	
	border: solid 1px #fff;
	margin: 0 1px;
	padding: 2px 3px 2px 4px;
	height: 14px;
	font-size: 11px;
	line-height: 14px;
	font-family: 'Lucida Grande';
}

.phwrapper {
	background: #fff;
	position: relative;
	display: inline-block;
}

.rate_comment_input {
	border: solid 1px #469BD3;
	position: relative;
	background: none;
	padding: 2px 3px;
	margin: 0 1px;
	line-height: 14px;
	height: 14px;
}
