﻿[data-point-tag] {
	position: relative;
}

	[data-point-tag]:after {
		content: attr(data-point-tag);
		padding: 3px 6px;
		color: #fff;
		background: #009ecf;
		font-size: 11px;
		line-height: 1;
		font-weight: bold;
		border-radius: 99px;
	}

[data-point-tag=""]:after,
[data-point-tag="0"]:after {
	content: none;
}

.b-topnav {
	position: relative;
	z-index: 2;
	background: #2f323a;
	color: #bfbfbf;
	height: 54px;
}

	.m-topnav-dark {
		background: #333;
	}

	.b-topnav:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
	}

.b-topnav__cont {
	position: relative;
	z-index: 3;
	width: 1210px;
	height: 100%;
	margin: 0 auto;
	transition: width 0.2s;
}

.b-topnav__logo {
	float: left;
	padding: 14px 0 16px 0;
	margin: 0 20px 0 20px;
	height: 100%;
	box-sizing: border-box;
}

.b-topnav__position {
	display: none;
}

.b-topnav__logo--mobile {
	display: none;
}

.b-topnav__logo img {
	display: block;
	width: 100px;
	height: 24px;
}

.b-topnav__notice_bar {
	float: left;
	margin: 0 20px 0 30px;
	height: 100%;
}

.b-topnav__notice {
	float: left;
	position: relative;
	text-align: center;
	width: 40px;
	margin: 0;
	padding: 16px 0 12px;
	border-bottom: 4px solid transparent;
	color: #97999d;
	text-decoration: none;
	font-size: 20px;
	line-height: 1;
	text-align: center;
	height: 100%;
	box-sizing: border-box;
}

	.b-topnav__notice:hover {
		background: #fff;
		color: #333;
		border-color: #009ecf;
	}

	.m-topnav__notice-active {
		color: #fff;
	}

	.b-topnav__notice[data-point-tag]:after {
		position: absolute;
		right: 0;
		top: 8px;
		z-index: 10;
	}

.b-topnav__todo {
	position: relative;
	float: right;
	width: 56px;
	height: 54px;
	box-shadow: 0 1px 4px rgba(0,0,0,.4);
	border-radius: 0 0 4px 4px;
	cursor: pointer;
	background: #fcf0bc;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAdCAMAAABsU+d6AAAAYFBMVEUAAABkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEtkYEvjSeCTAAAAH3RSTlMA8/mtJxUKxKWXUyTv7OG1kXhkXEpChYE3HNGoPCAYv3/pKAAAAL9JREFUKM910ekOgyAQBOBZQLRae3r2mvd/y1KNVIk7f4B8CZnNQovLK40a4U2huzGlQleaRqELeVfoQF51KvQPH16rQXFKeXI1mLPCTc5/OjLJK5plkS13n//MRhO+1+2ZU+KbrLsPppSBjCNXZmg6D2Csg/XYWCvkqQXODKffGoaAvNwYUiIxtMuEORKbWswZdgz9RE/s2FzEVPuW1eQB+4bmZEbNAI/UhBnWySjpHiIVtPr+jg4x1WbvYqsoXx/sGUma0tNbAAAAAElFTkSuQmCC);
	background-repeat: no-repeat;
	background-position: 18px 8px;
}

.b-topnav__list {
	float: left;
	max-width: 880px;
	height: 100%;
}

.b-topnav__item {
	position: relative;
	float: left;
	border-bottom: 4px solid transparent;
	height: 100%;
	box-sizing: border-box;
}

	.m-topnav__item-active,
	.b-topnav__item:hover {
		background: #fff;
		border-color: #009ecf;
		box-shadow: 0 1px 7px rgba(0,0,0,.15);
	}

	.m-topnav__item-active[data-key="fast_products"],
	.m-topnav__item-active[data-key="easy_money"],
	.m-topnav__item-active[data-key="mentoring_index"],
	.b-topnav__item[data-key="fast_products"]:hover,
	.b-topnav__item[data-key="easy_money"]:hover,
	.b-topnav__item[data-key="mentoring_index"]:hover {
		border-color: #ffdb73;
	}

.b-topnav__submenu {
	display: none;
	position: absolute;
	left: -1px;
	top: 100%;
	margin-top: 4px;
	width: 200px;
	padding: 10px 0;
	background: #fff;
	border: 1px solid #ccc;
	border-top: 0;
	border-radius: 0 0 4px 4px;
	box-shadow: 0 1px 7px rgba(0,0,0,.15);
	z-index: 10;
}

	.b-topnav__item:hover .b-topnav__submenu {
		display: block;
	}

.b-topnav__point {
	font-size: 14px;
	line-height: 1;
}

.b-topnav__link {
	display: block;
	padding: 20px 10px 16px 10px;
	color: #fff;
	text-decoration: none;
}

.m-topnav--bold .b-topnav__point {
	font-weight: bold;
}

	[data-key="fast_products"] .b-topnav__link,
	[data-key="easy_money"] .b-topnav__link,
	[data-key="mentoring_index"] .b-topnav__link,
	.m-topnav__link-attn {
		color: #ffdb73;
	}

	.b-topnav__item:hover .b-topnav__link,
	.m-topnav__item-active .b-topnav__link {
		color: #333;
	}

	.b-topnav__item:hover .m-topnav__link-attn:hover,
	.m-topnav__item-active .m-topnav__link-attn:hover {
		color: #b20000;
	}

	.b-topnav__submenu .b-topnav__link {
		padding: 8px 10px;
		font-size: 13px;
		font-weight: normal;
	}

	.b-topnav__submenu .b-topnav__link:hover {
		text-decoration: underline;
		color: #b20000;
	}

	.b-topnav__submenu .b-topnav__link.m-topnav__link_disabled,
	.b-topnav__submenu .b-topnav__link.m-topnav__link_disabled:hover {
		text-decoration: none;
		color: #bfbfbf;
		cursor: not-allowed;
	}

.b-topnav__count {
	/*position: absolute;
	right: 5px;
	top: 10px;*/
	padding: 3px 6px;
	color: #fff;
	background: #009ecf;
	font-size: 10px;
	font-weight: bold;
	border-radius: 99px;
}

	.m-topnav__count-attn {
		background: #f7645c;
	}

@media screen and (max-width: 1210px) {
    .m-catalog:not(.m-wide) .b-topnav__cont {
        width: 100%;
	}
	.m-topnav--snowy {
		background-image: none;
	}
}

@media screen and (max-width: 999px) {
    .b-topnav {
        box-sizing: content-box;
        height: 60px;
        padding-bottom: 40px;
    }
    .b-topnav__list {
        display: none;
    }

    .b-topnav__notice_bar {
        display: none;
    }

    .b-topnav__position {
        position: absolute;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        top: 100%;
        left: 0;
        right: 0;
        height: 40px;
        background-color: #333;
        border-top: 1px solid ;
    }
    .b-topnav__position-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        cursor: pointer;
    }

    .b-topnav__position-image {
        width: 30px;
        height: 30px;
        padding-right: 10px;
		}

		.b-topnav__position-image_active {
			transform: rotate(180deg);
			-webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
			padding-left: 10px;
			padding-right: 0;
		}

    .b-topnav__position-text {
        color: #fff;
	}
	.m-topnav--snowy {
		background-image: url(/resources/features/public/img/header-adaptive.jpg);
		background-position: center top;
		
	}
}

@media screen and (max-width: 480px) {
    .m-topnav-burger-opened {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
		}

		.b-topnav {
			height: 45px;
		}

    .b-topnav__logo {
				padding: 0;
				display: -webkit-box;
				display: -ms-flexbox;
				display: flex;
				-webkit-box-align: center;
				-ms-flex-align: center;
				align-items: center;
		}

		.b-topnav__logo--mobile {
			display: none;
		}

    .b-topnav__logo img {
        width: 60px;
        height: 45px;
	}
	.m-topnav--snowy {
		background-image: url(/resources/features/public/img/header-adaptive-small.jpg);
		background-position: center top;
	}
}

