aside {
	background-color: white;
	border-right: 1px solid hsl(220, 20%, 95%);
	padding: 2em 0;
	width: 300px;
	min-height: calc(100vh - 60px);
}

aside h6 {
	text-transform: uppercase;
	padding: 0 2em;
}

.mm_smenu_nav {
	display: block;
	min-height: 30px;
	padding: 0.5em 2em;
	color: var(--clrBlack);
}

.mm_smenu_nav:hover {
	background-color: var(--clrGrayLight25);
}

.mm_smenu_nav.active {
	background-color: var(--clrGrayLight50);
	border-left: 4px solid var(--clrRed);
	padding-left: calc(2em - 4px);
}

hgroup {
	padding: 2em 5em;
	background-color: hsl(220, 20%, 98%);
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 1em;
}

hgroup * {
	max-width: 660px;
	grid-column: 1 / span 12;
	margin: 0;
}

hgroup+content {
	padding: 2em 5em;
	min-height: 50vh;
}

.datebox {
	display: flex;
}

.datebox>span {
	font-size: 80%;
	color: hsl(220, 20%, 60%);
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.datebox>span:nth-child(n+2):before {
	content: "•";
	margin: 0 0.5em;
}

.datebox i {
	margin-right: 0.5em;
}

main {
	width: 100%;
}


/* Exo grid */

@media (min-width: 960px) {
	.grid_960_2c {
		grid-area: main;
		display: grid;
		position: relative;
		height: 100%;
		width: calc(100% - 300px);
		grid-template-rows: auto 1fr;
		grid-template-columns: minmax(660px, 960px) 1fr;
		grid-template-areas: "hero hero" "content nav" "footer footer";
	}
}

@media (max-width: 960px) {
	.grid_960_2c {
		display: flex;
		flex-direction: column;
	}
	.grid_960_2c hgroup,
	.grid_960_2c .subnav {
		order: -1;
	}
}

.grid_960_2c hgroup {
	grid-area: hero / hero;
}

.grid_960_2 .subnav {
	grid-area: nav;
}

.grid_960_2 .subfloor {
	grid-area: footer / footer;
}

.subnav {
	padding: 2em 0;
}

.subnav_list {
	border-left: 1px solid hsl(220, 20%, 95%);
	position: sticky;
	top: 10px;
	font-size: 12px;
}

.subnav_list h6 {
	margin-bottom: 10px;
	padding: 0 15px;
	text-transform: uppercase;
	color: hsl(220, 20%, 60%);
}

.subnav_list ul {
	padding: 0;
	margin: 0;
}

.subnav_list ul li {
	list-style-type: none;
	min-height: 20px;
}

.subnav_link {
	padding: 2px 15px 2px;
	margin-bottom: 5px;
	display: inline-block;
	color: var(--clrBlack);
}

.subnav_link.active {
	border-left: 1px solid var(--clrBlue);
	color: var(--clrBlue);
	margin-left: -1px;
}

.subnav_link_sub {
	padding: 2px 15px 2px 25px;
}

@media (max-width: 960px) {
	aside {
		display: none;
	}
	.subnav {
		padding: 2em 5em 0;
	}
	.subnav_list {
		font-size: 14px;
	}
}

@media (max-width: 660px) {
	hgroup {
		padding: 2em 1em;
	}
	hgroup+content {
		padding: 2em 1em;
	}
	.subnav {
		padding: 2em 1em 0;
	}
}

.chapter:not(#summary) {
	margin-top: 1em;
}

.chapter_link {
	position: relative;
}

.chapter_getlink {
	text-align: center;
	opacity: 0;
	transition: all 100ms linear;
}

.chapter_getlink:not(:hover) {
	color: var(--clrGraySlate)
}

.chapter_link:hover .chapter_getlink {
	opacity: 1;
}

.chapter_getlink:before {
	font-family: Eva-Icons;
	content: "\eb08";
}

.chapter_link_info {
	font-size: 12px;
	position: absolute;
	height: 20px;
	background: var(--clrGraySlate);
	color: white;
	padding: 0 4px;
	border-radius: 2px;
	opacity: 0;
	visibility: hidden;
}

.chapter_getlink:hover+.chapter_link_info {
	opacity: 1;
	visibility: visible;
}

@media (min-width: 660px) {
	.chapter_getlink {
		position: absolute;
		right: 100%;
		padding-right: 10px;
		top: 0;
		width: 40px;
	}
	.chapter_link_info {
		left: -40px;
		top: -20px;
	}
}

@media (max-width: 660px) {
	.chapter_getlink {
		padding-left: 10px;
	}
	.chapter_link_info {
		left: 0;
		top: -20px;
	}
}


/*
	.chapter_link_info:before {
	content: "Получить ссылку";
	}
	.chapter_getlink:active + .chapter_link_info:before,
	.chapter_getlink:focus-within + .chapter_link_info:before {
	content: "Получено!";
}*/

.downbox,
.badbox,
.colorbox {
	overflow: hidden;
	border-radius: 4px;
}


/* Downbox */

.downbox:hover .downbox_image {
	background-color: var(--clrGrayLight50);
}

.downbox_info {
	padding: 1em;
	background-color: var(--clrGrayLight50);
	color: var(--clrBlack);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.downbox_info:after {
	content: "\ea7e";
	font: normal normal 400 14px/1 Eva-Icons;
	font-size: 24px;
	line-height: 1;
}

.downbox_image {
	background-color: var(--clrGrayLight25);
	padding-bottom: 60%;
	position: relative;
	user-select: none;
}

.downbox_image img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: auto;
	max-width: 50%;
	max-height: 50%;
}


/* Badbox */

.badbox_info {
	padding: 1em;
	background-color: var(--clrGrayLight25);
	border-top: 4px solid hsl(10, 100%, 50%);
}

.badbox_info p {
	margin: 0.5em 0 0;
}

.badbox_sign {
	display: flex;
	align-items: center;
}

.badbox_sign>span {
	display: block;
	font-weight: bold;
	text-transform: uppercase;
}

.badbox_sign:before {
	display: block;
	content: "\ea05";
	font: normal normal 400 14px/1 Eva-Icons;
	margin-right: 8px;
	margin-bottom: 2px;
	color: hsl(10, 100%, 50%);
	font-size: 20px;
}


/* Colorbox */

.colorbox_test {
	min-height: 140px;
	padding: 10px;
	display: flex;
	-webkit-box-pack: center;
	justify-content: center;
	align-items: flex-end;
	flex-wrap: wrap;
	text-align: center;
	color: black;
}

.colorbox_test>div {
	margin: 0px 2px;
}

.colorbox_test>div:nth-child(odd) span {
	font-size: 18px;
	font-weight: bold;
}

.colorbox_test>div:nth-child(3) span,
.colorbox_test>div:nth-child(4) span {
	color: white;
}

.colorbox_test>div>div {
	color: white;
	text-transform: uppercase;
	background-color: hsla(0, 0%, 0%, 75%);
	border-radius: 10px;
	padding: 0px 6px;
	display: flex;
	text-align: center;
	letter-spacing: 0px;
	line-height: 1.5;
	font-size: 10px;
}

.colorbox_desc {
	background-color: hsla(220, 20%, 90%, 25%);
	padding: 2em;
	display: flex;
	-webkit-box-pack: justify;
	justify-content: space-between;
	flex-wrap: wrap;
	line-height: 1.5;
}

.colorbox_desc>div:first-child {
	width: 100%;
}

.colorbox_desc>div:nth-child(n+2) {
	margin-top: 10px;
}

.colorbox_desc>div:nth-child(2n+2):not(.colorbox_pantone) {
	margin-right: 10px;
}

.colorbox_desc h4 {
	font-size: 1em;
	margin: 0;
	text-transform: none;
}

.colorbox_desc p {
	font-size: 1em;
	margin: 0;
}

.colorbox_pantone {
	width: 100%;
	border-top: 1px dashed var(--clrGraySlate);
	padding-top: 20px;
	display: grid;
	grid-template-columns: 30px auto;
	grid-column-gap: 10px;
	align-content: start;
}

.colorbox_pantone>span {
	grid-row: span 2;
	display: block;
	border-radius: 2px;
}


/* Iconbox */

.iconbox_s1 {
	position: relative;
	border-radius: 4px;
	padding-bottom: 100%;
	background-color: var(--clrGrayLight25);
}

.iconbox_s1 img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	padding: 10px;
	max-width: 70px;
}

.iconbox_s1:not(:hover) img {
	filter: invert(62%) sepia(10%) saturate(757%) hue-rotate(182deg) brightness(90%) contrast(93%);
}

.iconbox_s1 span {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translate(-50%, 0) translateY(15px);
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	transition: all 100ms linear;
	background-color: var(--clrBlack);
	color: white;
	padding: 4px 8px;
	border-radius: 2px;
	font-size: 10px;
	white-space: nowrap;
}

.iconbox_s1 span:before {
	content: "";
	background: var(--clrBlack);
	height: 6px;
	width: 6px;
	bottom: -3px;
	display: block;
	position: absolute;
	left: calc(50% - 3px);
	transform: rotate(45deg);
}

.iconbox_s1:hover span {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0) translateY(0);
}

/* Footer */
.subfloor {
	background-color: var(--clrGrayLight25);
	grid-area: footer / footer;
	padding: 2em 5em;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1em;
}

@media (max-width: 660px) {
	.subfloor {
		padding: 2em 1em;
	}
}

/* Iconbox s2 */
.iconbox_s2 {
	border-radius: 4px;
	padding: 2em;
	display: grid;
	grid-template-rows: auto auto 1fr;
	gap: 1em;
	color: var(--clrBlack);
	border: 1px solid hsl(220, 80%, 90%);
}


.iconbox_s2  > * {
	margin: 0;
}

.iconbox_s2_icon {
	background: var(--clrRed);
	color: white;
	font: normal normal 400 24px/1 Eva-Icons;
	width: 50px;
	line-height: 50px;
	text-align: center;
	border-radius: 2px;
}

.iconbox_s2:hover {
	border: 1px solid var(--clrBlue);
}

/* Iconbox s3 */
.iconbox_s3 {
	border-radius: 4px;
	padding: 2em;
	display: grid;
	grid-template-rows: auto auto 1fr;
	gap: 1em;
	color: white;
	background: var(--clrBlack);
}


.iconbox_s3  > * {
	margin: 0;
}

.iconbox_s3_icon {
	background: var(--clrRed);
	color: white;
	font: normal normal 400 24px/1 Eva-Icons;
	width: 50px;
	line-height: 50px;
	text-align: center;
	border-radius: 2px;
}

.iconbox_s3:hover {
	/*opacity: .9;*/
	background: hsl(220, 50%, 15%);
}

/* */
.mmenu_nav_item ico,
.mm_smenu_nav  ico {
	font-family: 'Eva-Icons';
    font-size: 18px;
	margin-right: 0.5em;
    line-height: 0;
	vertical-align: sub;
	
}

.mm_smenu_password:after {
	content: "\eb10";
	font-family: 'Eva-Icons';
    opacity: 0.3;
	margin-left: 0.25em;
	vertical-align: bottom;
}

/* textbox */
.textbox {
	width: 100%;
	display: grid;
	grid-template-rows: auto [last-line];
	gap: 1em;
}

.textbox * {
	margin: 0;
}

/* Letterbox */
.letterbox {
    color: white;
    background: var(--clrBlack);
    font-weight: normal;
    font-size: .5em;
    display: inline-block;
    margin-right: .75em;
    vertical-align: text-bottom;
    line-height: 2.5em;
    width: 2.5em;
    text-align: center;
    border-radius: 2px;
}

.link_rarrow:after {
    font-family: 'Eva-Icons';
	margin-left: 0.5em;
	content: "\ea18";
	vertical-align: bottom;
	transition: margin-left 100ms;
}
.link_rarrow:hover:after {
	margin-left: 0.75em;
}

/* Iconbox v4 */

.iconbox_s4 {
	position: relative;
	border-radius: 4px;
	padding-bottom: 100%;
	background-color: var(--clrBlack);
}

.iconbox_s4:hover {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.iconbox_s4 img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	padding: 10px;
	max-width: 70px;
}

.iconbox_s4 span {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translate(-50%, 0) translateY(15px);
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	transition: all 100ms linear;
	background-color: var(--clrRed);
	color: white;
	padding: 4px 8px;
	border-radius: 2px;
	font-size: 10px;
	white-space: nowrap;
	text-align: center;
}

.iconbox_s4 span p {
	margin: 0;
}

.iconbox_s4 span:before {
	content: "";
	background: var(--clrRed);
	height: 6px;
	width: 6px;
	bottom: -3px;
	display: block;
	position: absolute;
	left: calc(50% - 3px);
	transform: rotate(45deg);
}

.iconbox_s4:hover span {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0) translateY(0);
}

.iconbox_s4 div {
    position: absolute;
    top: 100%;
    left: -2px;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    /*transition-delay: 100ms;*/
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    width: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 2px solid white;
    border-top: none;
    box-sizing: content-box;
}


.iconbox_s4:hover div {
	opacity: 1;
	visibility: visible;
}


.iconbox_s4 div a {
	padding: 4px;
	color: white;
	font-size: 12px;
	text-align: center;
}

.iconbox_s4 div a:nth-child(1) {
	background-color: var(--clrRed);
}
.iconbox_s4 div a:nth-child(2) {
	background-color: var(--clrGreen);
}
.iconbox_s4 div a:nth-child(3) {
	background-color: var(--clrBlue);
}

/* Iconbox v5 */
.iconbox_s5 {
	text-align: center;
}

.iconbox_s5 img {
	display: block;
	max-width: 300px;
	border-radius: 50%;
	border: 2px solid var(--clrGrayLight50);
}

.iconbox_s5 img:hover {
	border: 2px solid var(--clrGrayLight);
}

.iconbox_s5 a {
	display: block;
	margin-bottom: 0.5em;
}


/* Notice box */
.notice_box {
    padding: 2em;
    background-color: hsl(220deg 80% 95%);
    border-radius: 4px;
	display: flex;
}

.notice_box:before {
	color: hsl(220deg 80% 80%);
    content: "\eaff";
    font-size: 3em;
    line-height: 1;
	font-size: 3em;
    line-height: 1;
    font-family: 'Eva-Icons';
    margin-right: .5em;
}

.frame_dashed {
	padding: 2em;
    border: 1px dashed hsl(220deg 20% 80%);
    border-radius: 4px;
}

/* Perfomance box */
.perfbox {
	display: flex;
}


.perfbox_tabs {
	display: grid;
	grid-template-columns: repeat(2, auto);
	grid-gap: 0.5em 1em;
}

.perfbox_img {
	max-width: 120px;
	margin-right: 2em;
}

@media (max-width: 660px) {
	.perfbox {
		display: block;
	}
	.perfbox_img {
		margin-bottom: 1em;
	}
}

/* Changelog */
.changelog_list {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1.5em;
}
.changelog_list > div > * {
	border-radius: 4px;
	padding: 0.2em 0.4em;
	margin-right: 0.5em;
	display: inline-block;
}

.changelog_list div time {
	background-color: var(--clrGrayLight50);
	font-variant-numeric: tabular-nums 
}
.changelog_list div span {
	color: white;
}