
/*	Retina optimization */
@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
		only screen and (-moz-min-device-pixel-ratio: 1.5),		
		only screen and (-o-min-device-pixel-ratio: 3/2),
		only screen and (min-device-pixel-ratio: 1.5),
		only screen and (min--moz-device-pixel-ratio: 1.5) {
		
	  .top-line .m-wrapper {
	  	background-image: url("../img.2/icons/retina/main-logo@2x.png");
	  	background-size: 122px 21px;
	  }
	  
	  .first-leter-title {
	  	background-size: 40px 40px;
	  	background-image: url(../img.2/icon-small-40@2x.png);
	  }
	 
	 .right-side {
	 	background-size: 420px 248px;
	  	/* background-image: url(../img.2/bg/bg-index-text@2x.png); */
	 }
	 
	.showcase .show-iphone {
		background-size: 227px 250px;
		background-image: url("../img.2/models/bg-iphone5@2x.png");
	}
	.showcase .show-android {
		background-size: 161px 300px;
		background-image: url("../img.2/models/bg-android-nexus4@2x.png");		
	}
	.showcase .show-ipad {
		background-size: 589px 439px;
		background-image: url("../img.2/models/bg-ipad@2x.png");
	}
	
	/* внешний вид для иконок на активити фидд */	
	.activity-line .action_1 .u-nickname {
		background: url(../img.2/icons/activity_icons/icon-activity-like@2x.png) no-repeat 1px 50%;
		background-size: 13px 13px;	
	}
	.activity-line .action_2 .u-nickname {
		background: url(../img.2/icons/activity_icons/icon-activity-favorite@2x.png) no-repeat 1px 50%;
		background-size: 13px 13px;	
	}
	
	.activity-line 	.action_6 .u-nickname, .action_3 .u-nickname {
		background: url(../img.2/icons/activity_icons/icon-activity-follow@2x.png) no-repeat 1px 50%;
		background-size: 13px 13px;
	}
	.activity-line .action_7 .u-nickname, .action_5 .u-nickname, .action_4 .u-nickname { 
		background: url(../img.2/icons/activity_icons/icon-activity-comment@2x.png) no-repeat left 50%;
		background-size: 13px 13px;
	}
	
    /*.big-deal-square .deal-counters-list .count-fav {
        background-position: 2px -116px;
    }
    .big-deal-square .deal-counters-list .count-like {
        background-position: 5px -144px;
    }
    .big-deal-square .deal-counters-list .count-comment {
        background-position: 0 -87px;
    }*/
}	

/*	Retina optimization */
@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
		only screen and (-moz-min-device-pixel-ratio: 1.5),		
		only screen and (-o-min-device-pixel-ratio: 3/2),
		only screen and (min-device-pixel-ratio: 1.5),
		only screen and (min--moz-device-pixel-ratio: 1.5) {

	/*.big-deal-square .deal-counters-list .count-fav {
		background: url("../img.2/icons/retina/dropdown-menu-favorites@2x.png") no-repeat scroll 3px 5px / 16px 16px transparent;
		padding: 6px 5px 0 20px;
	}*/
	/*.big-deal-square .deal-counters-list .count-like {
		background: url("../img.2/icons/retina/like-button-icon@2x.png") no-repeat scroll 5px 6px / 15px 15px transparent;
	}*/
	 
	/*.big-deal-square .deal-counters-list .count-comment {
		background: url("../img.2/icons/retina/icons-comments2@x.png") no-repeat scroll 19px 5px / 16px 16px transparent;
	}*/
/*  ACTIVITY FEED, RETINA ICONS  */	

/* LIST VIEW OF DEALS */
	.d-rating-sum .do-like2 {
		/*background: url(../img.2/btn-like/btn_listview_like@2x.png) no-repeat 50%;*/
		background-size: 26px 26px;
	}
	.d-rating-sum .do-like2.active {
		/*background: url(../img.2/btn-like/btn_listview_like_active@2x.png) no-repeat 50%;*/
		background-size: 26px 26px;
	}
	.d-rating-sum .do-favorite2 {
		/*background: url(../img.2/btn-like/btn_listview_star@2x.png) no-repeat 50%;*/
		background-size: 26px 26px;
	}
	.d-rating-sum .do-favorite2.active {
		/*background: url(../img.2/btn-like/btn_listview_star_active@2x.png) no-repeat 50%;*/
		background-size: 26px 26px;	
	}
	.search-box .submit {		
		background: url(../img.2/btns/btn-search@2x.png) no-repeat 50% 6px;
		background-size: 16px 17px;
	}
	
	/* deals/view/xxx */
	.deal-footer .rating .rating-score, .deal-footer .rating .rating-favor {
		background-size: 21px 21px;
	}
	.deal-footer .rating .rating-score {
		background-size: 22px 22px;
	}
	
	/* RETINA ICONS TO SWITCH VIEW */
	.switch-list-grid.active-grid .grid-list {background: url(../img.2/btns/cut/icon-list@2x.png) no-repeat 50%; }
	.switch-list-grid.active-list .grid-list {background: url(../img.2/btns/cut/icon-grid@2x.png) no-repeat 50%;}
	.switch-list-grid.active-list:hover .grid-list {background: url(../img.2/btns/cut/icon-grid-hover@2x.png) no-repeat 50%;}	
	.switch-list-grid.active-grid:hover .grid-list {background: url(../img.2/btns/cut/icon-list-hover@2x.png) no-repeat 50%;}
	
	.switch-list-grid.active-grid .grid-list, .switch-list-grid.active-list .grid-list,
	.switch-list-grid.active-list:hover .grid-list, .switch-list-grid.active-grid:hover .grid-list   {background-size: 16px 16px}

	/* SMALL ICONS ON DEAL IN GRID VIEW */
	/*.deal-counters-list .count-comment {
		background: url(../img.2/icons/retina/icon-count-comment@2x.png) no-repeat 21px 5px;
		background-size: 12px 13px;
	}
	.deal-counters-list .count-fav {
		background: url(../img.2/icons/retina/icon-count-favorites@2x.png) no-repeat 4px 3px;
		background-size: 12px 13px;
	}
	.deal-counters-list .count-like {
		background: url(../img.2/icons/retina/icon-count-like@2x.png) no-repeat 6px 3px;
		background-size: 14px 13px;
	}*/

	/* ICONS ON DEAL PAGE */
	.rating > li.rating-comment .num {
		background: url(../img.2/icons/retina/icon-deal-comment@2x.png) no-repeat 7px 4px;
		background-size: 17px 18px;
	}
	.rating > li.rating-score .num {
		background: url(../img.2/icons/retina/icon-deal-like@2x.png) no-repeat 7px 2px;
		background-size: 19px 18px;
	}	
	.rating > li.rating-favor .num {
		background: url(../img.2/icons/retina/icon-deal-favorites@2x.png) no-repeat 7px 2px;
		background-size: 17px 18px;
	}
	
	.b-like_favor .do-favorite {
		background: url(../img.2/icons/retina/icon-deal-favorites-white@2x.png) no-repeat 14px 11px #029AB5;
		background-size: 17px 19px;
	}
	.b-like_favor .do-unlike {
		background: url(../img.2/icons/retina/icon-deal-dislike@2x.png) no-repeat 25px 16px;
		background-size: 19px 18px;
	}
	
	/* ICONS ON BUTTON ON DEAL GRID */

	/* RETINA ICONS ON DEL VIEW */
	.b-like_favor .do-like {
		background: url(../img.2/icons/retina/deal-view/dp-green-like@2x.png) no-repeat -6px -1px transparent;
		background-size: 114px 43px;
	}
		.b-like_favor .do-like:hover, .b-like_favor .do-like.hover {
			background: url(../img.2/icons/retina/deal-view/dp-like-hover@2x.png) no-repeat -1px -1px transparent;
			background-size: 155px 43px;
		}
		.b-like_favor .do-like:active, .b-like_favor .do-like.active {
			background: url(../img.2/icons/retina/deal-view/dp-like-active@2x.png) no-repeat -1px -1px transparent;
			background-size: 155px 43px;
			border-radius: 5px 0 0 5px;
		}
	.b-like_favor .do-unlike {
		background: url(../img.2/icons/retina/deal-view/dp-unlike-down@2x.png) no-repeat -101px 0 transparent;
		background-size: 155px 43px;
	}
		.b-like_favor .do-unlike:hover, .b-like_favor .do-unlike.hover {
			background: url(../img.2/icons/retina/deal-view/dp-unlike-hover@2x.png) no-repeat -95px -1px transparent;
			background-size: 155px 43px;
		}
		.b-like_favor .do-unlike:active, .b-like_favor .do-unlike.active {
			background: url(../img.2/icons/retina/deal-view/dp-unlike-active@2x.png) no-repeat -95px -1px transparent;
			background-size: 155px 43px;
		}
	/* RETINA IMAGES ON LIST VIEW */
	/* SECOND LINE menu line gray background */
	.category-top-line {
		background: url("../img.2/bg/bg-second-menu-line@2x.png") no-repeat scroll 0 bottom transparent;
		background-size: 406px 33px;
	}
	
	/* BOTTOM LINE FOR GREED VIEW */

	/* USER PAGE TABS */
	#btn-favorites span.wrp span.num {
		background: url("../img.2/icons/retina/dropdown-menu-favorites@2x.png") no-repeat scroll 5px 8px transparent;
		background-size: 21px 22px;
	}
			#btn-favorites.active span.wrp span.num, #btn-favorites:active span.wrp span.num {
				background: url("../img.2/icons/retina/icon-deal-favorites-white@2x.png") no-repeat scroll 5px 8px transparent;
				background-size:  20px 20px;
			}
	#btn-likes span.wrp span.num {	
		background: url("../img.2/icons/retina/icon-deal-like@2x.png") no-repeat scroll 7px 10px transparent;
		background-size: 19px 18px;
	}
		#btn-likes.active span.wrp span.num, #btn-likes:active span.wrp span.num {
			background: url("../img.2/icons/retina/icon-deal-like-white@2x.png") no-repeat scroll 6px 11px transparent;
			background-size: 19px 19px;
		}
		
	#btn-deals span.wrp span.num {
		background: url("../img.2/icons/retina/icon-deal-gray-plus@2x.png") no-repeat scroll -4px 3px transparent;
		background-size: 32px 32px;
	}
		#btn-deals.active span.wrp span.num, #btn-deals:active span.wrp span.num {
			background: url("../img.2/icons/retina/icon-deal-white-plus@2x.png") no-repeat scroll -4px 2px transparent;
			background-size: 32px 32px;
		}

	/* DROPDOWN MENU ARROW */
	.second-line-menu .li.have-submenu .nav {
		background: url("../img.2/icons/retina/drop-arrow-gray.png") no-repeat scroll right 17px transparent;
		background-size: 11px 8px;
	}
	.second-line-menu .li.have-submenu .nav:hover, .second-line-menu .li.have-submenu .nav.active {
		background: url("../img.2/icons/retina/drop-arrow-gray-hover.png") no-repeat scroll right 17px transparent;
		background-size: 11px 8px;
	}	
	
} /* END RETINA ADOPTHION BLOCK */
