html {
	min-height: 100%;
	height: 100%;
}

body {
	margin: 0;
	min-height: 100%;
	position: relative;
	background-color: #131517;
	font-family: 'Exo 2', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 16px;
	line-height: 16px;
	color: #FFF;
	overflow-x: hidden;
}

@media screen and (max-width: 1900px) {
	body > .rectangle-left {width: 100px; left: -5px}
	body > .rectangle-right {width: 100px; right: -5px}
}

@media screen and (max-width: 1400px) {
	body > .rectangle-left {width: 100px; left: -15px}
	body > .rectangle-right {width: 100px; right: -15px}
}

@media screen and (max-width: 1200px) {
	body .container {padding: 20px 12px 0 12px;}
	.container > .right {max-width: 290px;}
	body > .rectangle-left {width: 100px; left: -33px}
	body > .rectangle-right {width: 100px; right: -33px}
}

/* mobile */
@media screen and (max-width: 992px) {
	.right {display: none}
	.site > .header .country /*,.container .site > .top */  {display: block !important}
	.container, .site > .header {flex-wrap: wrap !important}
	.container .site {margin-right: 0 !important}
	._header .name {margin-right: 10px !important}
	.site > .header .logo {margin-right: 20px !important}
	body > .rectangle-left {display: none}
	body > .rectangle-right {display: none}
	.offers > .row .cell-number {flex: 0.35 !important}
	.offers > .row .cell-offer {flex: 1.8 !important}
	._offers ._canvas {padding: 10px 10px !important}
	._offers > ._range {margin-right: 10px !important}
	._offers > span {margin-left: 10px !important}
}

@media screen and (max-width: 768px) {
	.container {padding: 20px 5px 0 5px !important}
	.site > .header {flex-wrap: nowrap !important}
	.container .site > .name  {display: block !important}
	.site > .header ._header {display: none !important}
	.site .pagination {transform: scale(1.3) !important}
	.site ._pagination {text-align: center !important}
	.popup > div {padding: 5px !important}
	.popup .country {width: 45% !important}
	.offers > .row .cell-offer {text-align: left !important; padding-left: 30px !important}
	.site > .header .country {background: url(/rating/img/border-middle.svg) no-repeat; background-size: 100% 100%;}
}

@media screen and (max-width: 380px) {
	.offers > .row .cell-offer {padding-left: 10px !important}
	.popup .country:not(.xs), .site > .header .country > div:not(.xs) {display: none !important}
	.popup .country.xs, .site > .header .country > .xs {display: inline-block !important}
}

.site > .header .country {
	display: none;
	cursor: pointer;
	height: 50px;
	line-height: 50px;
	background: url(/rating/img/border-max.svg) no-repeat;
	background-size: 100% 100%;
	flex-grow: 2;
	margin-right: 15px;
	text-align: center;
	overflow-x: hidden;
}

.country > .xs {display: none !important}

.site > .top {
	display: none;
	padding: 20px 30px;
	border-radius: 15px;
	background-color: #1E1F25;
	background: linear-gradient(to bottom, #212E48, rgba(30, 31, 37, 0.8));
	margin-top: 10px;
}

.site > .name {
	display: none;
	margin: 20px auto;
	width: 90%;
	height: 10px;
}

/* mobile */

a {cursor: pointer}
a:active, a:focus {outline: none}

.rectangle-left {
	position: absolute;
	top: 0; left: 0; bottom: 0;
	width: 17.5%;
	background: linear-gradient(to right, #214180, transparent);
}

.rectangle-right {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 17.5%;
	background: linear-gradient(to left, #214180, transparent);
}

.container {
	position: relative;
	z-index: 2;
	display: flex;
	max-width: 1600px;
	min-height: 100vh;
	margin: auto;
	padding: 20px 20px 0 20px;
	box-sizing: border-box;
	background: url(/rating/img/opacity.png) no-repeat right bottom;
}

.site > .header {
	display: flex;
	align-items: center;
}

.header > ._header {
	display: flex;
	align-items: center;
	flex-grow: 1;
	padding: 15px 0;
	margin-left: 5px;
}

.site > .header .logo, .popup .logo {
	width: 156px;
	height: 52px;
	background: url(/rating/img/logo.svg) no-repeat;
	cursor: pointer;
}

.site > .header .logo {margin-right: 50px}

._header .name {
	margin-right: 40px;
	width: 462px;
	height: 13px;
	background: url(/rating/img/name.svg) no-repeat;
}

._header .linear {
	background: linear-gradient(to right, #585858, transparent);
	height: 1px;
	flex-grow: 1;
}

.container .site {
	margin-right: 25px;
	flex-grow: 1;
}

.site ._offers {
	background: rgba(30, 31, 37, 0.8);
	border-radius: 15px;
	margin-top: 20px;
	padding: 20px 0;
}

.site .pagination {
	display: inline-block;
	height: 23px;
	margin-top: 20px;
	font-size: 12px;
	line-height: 23px;
	letter-spacing: 0.115em;
	color: #84849D;
	padding-bottom: 10px;
}

.pagination .pg-item {
	text-align: center;
	width: 24px;
	height: 23px;
	display: inline-block;
	margin: 0 3px;
}

.pagination .pg-item.active {
	background: linear-gradient(228.97deg, #4D3EE6 -1.39%, #218FF1 103.58%);
	border-radius: 5px;
	color: #FFF;
}

.pagination .pg-item:not(.empty) {
	cursor: pointer;
}

.pagination .pg-item:not(.empty):hover {
	color: #FFF;
}

.pagination > a {
	text-align: center;
	display: inline-block;
	width: 24px;
	height: 23px;
}
.pagination > a > img {vertical-align: middle;}

.pagination a:hover > img {
	transform: scale(1.2);
}

._offers > ._range {
	margin-right: 30px;
	float: right;
	height: 35px;
	line-height: 35px;
	padding: 0 10px;
	font-weight: 500;
	font-size: 12px;
	cursor: pointer;
	vertical-align: top;
	overflow: hidden;
	border-radius: 5px;
	background: url(/rating/img/border-mini.svg) no-repeat;
	background-size: 100% 100%;
	background-color: rgba(30, 31, 37);
}

._offers > span {
	display: inline-block;
	margin-left: 30px;
	font-size: 18px;
	line-height: 22px;
}

._offers > span > div {
	display: inline-block;
	width: 46px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	margin-right: 20px;
	cursor: pointer;
	background: url(/rating/img/border-xs.svg) no-repeat;
	background-size: 100% 100%;
}

.offers > .row {
	display: flex;
	justify-content: space-around;
	height: 50px;
	text-align: center;
	line-height: 50px;
	border-bottom: 1px solid transparent;
	border-image: linear-gradient(to right, transparent, #585858, transparent);
	border-image-slice: 1;
}

._offers ._canvas {
	width: 100%;
	height: 450px;
	padding: 10px 30px;
	box-sizing: border-box;
	position: relative;
}

.offers > .row ._range {
	position: relative;
	z-index: 3;
	display: inline-block;
	max-width: 105px;
	width: 95%;
	height: 35px;
	font-weight: 500;
	font-size: 12px;
	cursor: pointer;
	vertical-align: top;
	overflow: hidden;
	border-radius: 5px;
	border: 1px solid #585858;
	background-color: rgba(30, 31, 37);
}
.offers > .row .range {
	line-height: 35px;
	border-bottom: 1px solid transparent;
	border-image: linear-gradient(to right, transparent, #585858, transparent);
	border-image-slice: 1;
	white-space: nowrap;
}

.offers > .row ._range > span {
	display: block;
	line-height: 25px;
	height: 25px;
	border-bottom: 1px solid transparent;
	border-image: linear-gradient(to right, transparent, #585858, transparent);
	border-image-slice: 1;
}

.offers > .row ._range > span:hover {
	color: #218FF1;
}

.offers > .row:nth-child(2) {
	font-weight: 500;
	font-size: 12px;
	color: #84849D;
}

.offers > .row:nth-child(2) > div {
	border-image: linear-gradient(to top, #585858, transparent);
	border-image-slice: 1;
}

.offers > .row:first-child {border: none !important}

.offers > .row:last-child {
	border-bottom: none;
}

.offers > .row:last-child > div {
	border-image: linear-gradient(to bottom, #585858, transparent);
	border-image-slice: 1;
}

.offers > .row:not(:first-child):nth-child(2n+1) {background-color: #27282D}

.offers > .row:not(:first-child) .cell-offer,
.offers > .row:not(:first-child) .cell-epc,
.offers > .row:not(:first-child) .cell-number {border-right: 1px solid #585858}

.offers > .row .cell-number {flex: 0.5}
.offers > .row .cell-offer, .offers > .row .cell-epc {flex: 1}

.offers > .row .cell-offer > span {
	display: inline-block;
	text-align: left;
	width: 75px;
	white-space: nowrap;
	cursor: pointer;
}

.offers > .row .cell-offer > span > i {
	width: 16px;
	height: 14px;
	display: inline-block;
	position: relative;
	cursor: pointer;
	vertical-align: baseline;
}

.offers > .row .cell-offer > span > .gold {
	background: url(/rating/img/gold.gif) no-repeat;
	background-size: 100% 100%;
	transform: scale(1.2);
}
.offers > .row .cell-offer > span > .silver {
	background: url(/rating/img/silver.png) no-repeat;
	background-size: 16px;
}
.offers > .row .cell-offer > span > .bronze {
	background: url(/rating/img/bronze.png) no-repeat;
	background-size: 16px;
}

.offers > .row .cell-dynamic {flex: 1}

.offers > .row:not(:first-child) {
	letter-spacing: 0.02em;
}

.offers > .row .cell-offer > span > .gold::after,
.offers > .row .cell-offer > span > .silver::after,
.offers > .row .cell-offer > span > .bronze::after {
	content: "+20% к показателю EPC оффера на витринах";
	width: 170px;
	height: 47px;
	display: none;
	position: absolute;
	bottom: 24px;
	left: -76px;
	text-align: center;
	background: url(/rating/img/title.svg) no-repeat;
	background-size: 100% 100%;
	padding: 7px 5px 5px 5px;
	box-sizing: border-box;
	font-weight: 500;
	font-size: 12px;
	line-height: 14px;
	white-space: pre-wrap;
}

.offers > .row .cell-offer > span > .silver::after {content: "+5% к показателю EPC оффера на витринах"}
.offers > .row .cell-offer > span > .bronze::after {
	content: "Приоритет перед офферами без знака отличия";
	height: 67px;
}

.offers > .row .cell-offer > span > .gold:hover::after {display: block; transform: scale(0.835);}
.offers > .row .cell-offer > span > .silver:hover::after,
.offers > .row .cell-offer > span > .bronze:hover::after {display: block}

.offers > .row:nth-child(n+3) .cell-epc {
	font-weight: 700;
	letter-spacing: 0.02em;
	background: linear-gradient(180deg, #3B60EB 0%, #3767EC 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
	text-shadow: 0px 4px 20px #0055FF;
}

.offers > .row .cell-dynamic > span {
	display: inline-block;
	padding-right: 20px;	
}

.offers > .row .cell-dynamic.up > span {
	color: #29BB89;
	background: url(/rating/img/zig-up.svg) no-repeat right center;
}

.offers > .row .cell-dynamic.down > span {
	color: #FF0073;
	background: url(/rating/img/zig-down.svg) no-repeat right center;
}

.container .right {
	width: 330px;
}

.right .country {
	position: relative;
	cursor: pointer;
	height: 45px;
	line-height: 45px;
	text-align: center;
	background: url(/rating/img/border-max.svg) no-repeat;
	background-size: 100% 100%;
}

.country > .ua {
	display: inline-block;
	padding-left: 30px;
	background: url(/rating/img/ua.svg) no-repeat left center;
}

.country > .kz {
	display: inline-block;
	padding-left: 30px;
	background: url(/rating/img/kz.svg) no-repeat left center;
}

.country img {
	display: inline-block;
	position: relative;
	bottom: 3px;
	left: 10px;
}

.right .top {
	margin-top: 26px;
	padding: 20px;
	border-radius: 15px;
	background-color: #1E1F25;
	background: linear-gradient(to bottom, #212E48, rgba(30, 31, 37, 0.8));
}

.top > span {
	font-size: 18px;
	line-height: 22px;
}

.offers-top > .row {
	vertical-align: middle;
	height: 40px;
	line-height: 40px;
	letter-spacing: 0.02em;
	margin-top: 10px;
	white-space: nowrap;
	overflow: hidden;
}

.offers-top > .row > div {
	vertical-align: middle;
	display: inline-block;
	width: 40px;
	height: 40px;
	background: linear-gradient(to bottom, #307BF4, rgba(30, 31, 37, 0));
	border-radius: 100px;
	text-align: center;
	line-height: 35px;
}

.offers-top > .row > div > img {
	vertical-align: middle;
	height: 35px;
}

.offers-top > .row > span {
	vertical-align: middle;
	display: inline-block;
	padding-right: 20px;
	margin-left: 15px;
	cursor: pointer;
}

.offers-top > .row:nth-child(1) > span {
	background: url(/rating/img/_1.png) no-repeat right center;
	background-size: 11px;
}

.offers-top > .row:nth-child(2) > span {
	background: url(/rating/img/_2.png) no-repeat right center;
	background-size: 11px;
}


.offers-top > .row:nth-child(3) > span {
	background: url(/rating/img/_3.png) no-repeat right center;
	background-size: 11px;
}


.offers-top > .row:nth-child(4) > span {
	background: url(/rating/img/_4.png) no-repeat right center;
	background-size: 11px;
}

.popup {
	display: none;
	position: fixed;
	z-index: 99;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(33, 65, 150, 0.2);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	-moz-backdrop-filter: blur(5px);
	-ms-backdrop-filter: blur(5px);
}

.popup > div[data-type=load] {
	z-index: 100;
	position: fixed;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	color: #9A949C;
	opacity: 0.2;
	font-size: 30px;
	transform: rotate(-1deg);
	
}

.popup > div[data-type=country] {
	transition: display 2s;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	text-align: center;
	box-sizing: border-box;
	padding: 10px 20px 30px 20px;
	position: fixed;
	z-index: 100;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 495px;
	max-width: 90%;
	height: 250px;
	background: linear-gradient(to bottom, #23365A 0%, rgba(0, 0, 0, 0) 100%), #1E1F25;
	border-radius: 15px;
}

.popup > div[data-type=country] > div:nth-child(n+2) {width: 100%}

.popup > div[data-type=country] > div:nth-child(2) {
	font-size: 25px;
}
.popup > div[data-type=country] > div:nth-child(3) {
	display: flex;
	justify-content: space-around;
}

.popup .country {
	cursor: pointer;
	height: 58px;
	line-height: 58px;
	background: url(/rating/img/border-middle.svg) no-repeat;
	width: 205px;
	background-size: 100% 100%;
	overflow-x: hidden;
}

.popup .country.xs {display: none}

.country:hover {
	background: linear-gradient(228.97deg, #4D3EE6 -1.39%, #218FF1 103.58%);
	border-radius: 9px;
}