/*----- Reset -----*/

* {
	outline: none;
}

.btn {
	transition: unset !important;
}

html {
    height: 100%;
	width: 100vw;
	overflow-x: hidden;
}

:root {
	--theme-green-100: #003220;
	--theme-green-200: #055A2C;
	--theme-green-500: #009846;
	--theme-green-900: #00BC57;
	--theme-red: #FA6060;
	--theme-gray: #313131;
}

body {
	/*color: #5C5C5C;*/
	background-color: #F2F3F5;
	font-size: 14px;
	letter-spacing: 0em;
	font-family: "Manrope", sans-serif;
}

.grid-container {
	/* -> responsive.css */
	display: block;
}

.page-tab {
	padding: .75rem 2rem;
	background-color: var(--theme-gray);
	color: #FFFFFF;
	font-size: 16px;
	border-radius: 999px;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}

.page-tab:hover {
	color: #FFFFFF;
	background-color: #555555;
}

.page-tab:active {
	color: #FFFFFF;
	background-color: #7E7E7E;
}

.page-tab.active {
	background-color: var(--theme-green-500);
	pointer-events: none;
}

p {
	margin: 0;
}

a, a:hover, a:active {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

div, p, form, input, a, span, button {
	box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: normal;
	letter-spacing: .3px;
	margin-bottom: 0;
}

.logo {
	z-index: 5;
}

.separator {
	height: 2rem;
	width: 1px;
	/*transform: translateY(.25rem);*/
	background: #F1F1F1;
}

input, input:hover, input:focus, input:active, button, button:hover, button:focus, button:active, .btn, .btn:focus, .btn:hover {
	outline: none;
	box-shadow: none;
}

.form-control {
	padding: .5rem 1rem;
	border-radius: .5rem;
	max-width: 100%;
	background: #ccd6d2;
	color: #000000;
	transition: background-color .3s;
}

.form-control:focus,
.form-control:active,
.form-control:hover {
	background: #FFFFFF;
}

.checkbox {
	display: block;
	position: relative;
	padding-left: 20px;
	padding-bottom: 20px;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Create a custom checkbox */
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #ccd6d2;
	border-radius: 2px;
}


.checkbox input ~ .checkmark {
	display: grid;
	place-items: center;
}

/* On mouse-over, add a grey background color */
.checkbox:hover input ~ .checkmark {
	background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
	background-color: #FFFFFF;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkbox::after {
	content: "";
	position: absolute;
	display: none;
}

.checkbox input:not(:checked) ~ .checkmark img {
	display: none;
}

.checkbox input:checked ~ .checkmark img {
	display: grid;
}

/*!* Style the checkmark/indicator *!*/
/*.checkbox .checkmark::after {*/
/*	left: 9px;*/
/*	top: 5px;*/
/*	width: 5px;*/
/*	height: 10px;*/
/*	border: solid white;*/
/*	border-width: 0 3px 3px 0;*/
/*	-webkit-transform: rotate(45deg);*/
/*	-ms-transform: rotate(45deg);*/
/*	transform: rotate(45deg);*/
/*}*/

.link {
	cursor: pointer;
	color: var(--theme-green-500);
	text-decoration: underline 1px solid var(--theme-green-500);
	-webkit-text-decoration: underline 1px solid var(--theme-green-500);
	-webkit-text-decoration-line: underline;
	-webkit-text-decoration-color: var(--theme-green-500);
	-webkit-text-decoration-style: solid;
	transition: color .3s, text-decoration .3s;
}

.link:hover {
	color: var(--theme-green-200);
	text-decoration: underline 1px solid var(--theme-green-200);
	-webkit-text-decoration: underline 1px solid var(--theme-green-500);
	-webkit-text-decoration-color: var(--theme-green-200);
}

.link:active {
	color: var(--theme-green-900);
	text-decoration: underline 1px solid var(--theme-green-900);
	-webkit-text-decoration: underline 1px solid var(--theme-green-900);
	-webkit-text-decoration-color: var(--theme-green-900);
}


.text-btn {
	cursor: pointer;
	font-weight: 800;
	color: var(--theme-green-500);
	transition: color .3s;
}

.text-btn:hover {
	color: var(--theme-green-200);
}

.text-btn:active {
	color: var(--theme-green-900);
}

/* Потому что эта хуебора скругляет края на мобилке на кой-то хер, а это у нас ни-ни */
.ya-share2__container_mobile .ya-share2__badge {
	border-radius: 4px !important;
}

#header-nav .nav-item {
	position: relative;
}

#header-nav .subnav {
	position: absolute;
	top: calc(100% + 1rem);
	left: -1rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: 1rem;
	opacity: 0;
	pointer-events: none;
	background: var(--theme-green-100);
	border-radius: 5px;
	z-index: 10;
	transition: opacity .2s;
}

#header-nav .subnav a {
	color: #E8E8E8;
	transition: color .2s;
}

#header-nav .subnav a:hover {
	color: #C1C1C1;
}

#header-nav .subnav a:active {
	color: #FFFFFF;
}

#header-nav .nav-item.active .subnav {
	opacity: 1;
	pointer-events: auto;
}

#header-nav .nav-item .subnav-btn i {
	transition: transform .2s;
}

#header-nav .nav-item.active .subnav-btn i {
	transform: rotate(180deg);
}

.angled-btn {
	position: absolute;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	height: 100%;
	padding: 1rem 3rem 1rem 4rem;
	font-size: 18px;
	color: white;
	background: var(--theme-green-500);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 60px 100%);
	transition: background-color .3s;
}

.angled-btn.right {
	position: absolute;
	left: 0;
	bottom: 4rem;
	height: 48px;
	width: max-content;
	padding: 1rem 5rem 1rem 2rem;
	clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}

.angled-btn:hover {
	color: white;
	background: var(--theme-green-900);
}

/*.angled-btn::before {*/
/*	content: "";*/
/*	position: absolute;*/
/*	left: 0;*/
/*	top: 0;*/
/*	display: block;*/
/*	border: 30px solid transparent;*/
/*	border-left: 30px solid white;*/
/*	border-bottom: 30px solid white;*/
/*}*/

#mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100dvh;
	background: var(--theme-green-100);
	pointer-events: none;
	transform: translateX(-100%);
	z-index: 100;
	transition: transform .3s;
}

#mobile-menu.active {
	pointer-events: auto;
	transform: translateX(0);
}

#mobile-nav .menu-tab {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	transform: translateX(100%);
	transition: opacity .3s, transform .3s;
}

#mobile-nav .menu-tab.active {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0);
}

#mobile-nav .main-nav {
	opacity: 1;
	transform: translateX(0%);
	pointer-events: auto;
	transition: opacity .3s, transform .3s;
}

#mobile-nav .main-nav.pretty-much-hidden-but-not-really {
	opacity: 0;
	pointer-events: none;
	transform: translateX(-100%);
}

/*#mobile-nav .nav-item > div {*/
/*	opacity: 1;*/
/*	pointer-events: auto;*/
/*	transition: opacity .3s;*/
/*}*/

/*#mobile-nav nav.active .nav-item > div {*/
/*	opacity: 0;*/
/*	pointer-events: none;*/
/*}*/

/*#mobile-nav .subnav {*/
/*	position: absolute;*/
/*	top: 0;*/
/*	left: 0;*/
/*	opacity: 0;*/
/*	pointer-events: none;*/
/*	transition: opacity .3s;*/
/*}*/

/*#mobile-nav .nav-item.active .subnav {*/
/*	opacity: 1;*/
/*	pointer-events: auto;*/
/*}*/

#market-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100dvh;
	background: #FFFFFF;
	pointer-events: none;
	transform: translateX(100%);
	z-index: 100;
	transition: transform .3s;
}

.market-head {
	min-width: 255px;
}

.market-head .link + small {
	visibility: hidden;
}

.market-head .link.active + small {
	visibility: visible;
}

#market-sidebar.active {
	pointer-events: auto;
	transform: translateX(0);
}

#currencies {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4rem;
	padding: 2rem 0;
	margin: 0 auto;
	z-index: 5;
}

#currencies .currency {
	position: absolute;
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: 16px;
	opacity: 0;
	transform: translateX(100%);
	transition: transform .3s, opacity .3s;
}

#currencies .currency.leaving {
	opacity: 0;
	transform: translateX(-100%);
}

#currencies .currency.active {
	opacity: 1;
	transform: translateX(0);
}

@keyframes slide {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

#left-nav,
#market-right {
	min-height: 533px;
}

#left-nav .nav-item,
#popular-queries .nav-item {
	display: block;
	/*width: 100%;*/
	padding: 16px 28px;
	background: #F2F2F2;
	font-weight: 500;
	font-size: 12px;
	color: #0c0c0c;
	border-radius: 999px;
	white-space: nowrap;
	transition: background-color .3s;
}

#left-nav .nav-item:hover {
	background: #D4D4D4;
}

#left-nav .nav-item:active {
	background: #F5F5F5;
}

#market-right .link,
#market-sidebar .link {
	/*order: 3;*/
	font-weight: 600;
	font-size: 15px;
}

#market-right .link.active,
#market-sidebar .link.active {
	/*order: 1;*/
	color: black !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 18px;
}

#market-right .market-tab-content,
#market-sidebar .market-tab-content {
	display: none;
	flex-direction: column;
	gap: 6rem;
}

#market-right .market-tab-content.active,
#market-sidebar .market-tab-content.active {
	display: flex;
}

#market-right .market-tab-content .market-grid,
#market-sidebar .market-tab-content .market-grid {
	display: grid;
	grid-template-columns: 1fr 1fr max-content;
	column-gap: .5rem;
	row-gap: 1.75rem;
}

#market-right .market-tab-content .market-grid span:nth-child(3n),
#market-sidebar .market-tab-content .market-grid span:nth-child(3n) {
	align-self: end;
}

#events-carousel,
#factories-carousel {
	--f-carousel-slide-height: 60%;
	--f-carousel-spacing: 10px;

	--f-carousel-slide-width: calc((100% - var(--f-carousel-spacing) * 2));

	--f-button-prev-pos: 0px;
	--f-button-next-pos: 0px;
	--f-button-bg: white;
}

#events-carousel .f-carousel__dots,
#factories-carousel .f-carousel__dots {
	display: none;
}

.event {
	width: 100%;
	border-radius: 5px;
	/*background: url("/image/catalog/placeholder.svg") no-repeat center center;*/
	/*background-size: cover;*/
	margin-bottom: .5rem;
	font-size: 16px;
}

/*.event .event-img {*/
/*	overflow: hidden;*/
/*}*/

.event .event-img img {
	width: 100%;
	height: 166px;
	object-fit: cover;
}

.f-button.is-prev,
.f-button.is-next {
	border-radius: 999px;
}

/* - - - Анал итика: - - - */

#analytics-main .analytics-group {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

#analytics-main .analytics-group .group-image {
	background: var(--theme-green-500);
}

#analytics-group .chart {
	width: 100%;
	height: 500px;
}

/* - - - /Анал итики - - - */


/* - - - Карта: - - - */

#map {
	height: 600px;
}

#map .map-marker {
	position: relative;
	display: block;
	width: 40px;
	height: 57px;
	transform: translate(-20px, -57px);
}

#map .map-marker img {
	filter: brightness(1);
	transition: filter .2s;
}

#map .map-marker:hover img {
	filter: brightness(.75);
}

#map .marker-balloon {
	position: absolute;
	bottom: calc(.5rem + 100%);
	left: 50%;
	display: block;
	width: max-content;
	max-width: 200px;
	transform: translateX(-50%);
	background: #007234;
	color: #FFFFFF;
	padding: .5rem 1rem;
	border-radius: 7px;
	opacity: 0;
	pointer-events: none;
	z-index: 9999;
	transition: opacity .2s;
}

#map .map-marker:hover .marker-balloon {
	opacity: 1;
}

/* - - - /Карта - - - */

/* - - - Новости: - - - */

.ya-share2__badge {
	background: #313131 !important;
}

.ya-share2__icon {
	width: 22px !important;
	height: 22px !important;
	background-size: 22px 22px !important;
}

.article-content .article-images {
	margin-bottom: 1rem;
}

.article-content .article-images .article-thumb {
	max-width: 100%;
	height: auto;
}

.article-content .article-images .article-additional-images {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.article-content .article-images .article-additional-images a {
	width: 45px;
	height: 45px;
}

.article-content .article-images .article-additional-images img {
	max-width: 100%;
	height: auto;
}

.article-content .article-images a.article-more-images {
	display: grid;
	place-items: center;
	background: #d9d9d9;
	border-radius: 3px;
	font-size: 14px;
}

.article-content {
	font-size: 14px;
}

.article-content p,
.article-content  figure {
	margin-bottom: 1rem;
}

.article-content a span,
.article-content a {
	color: rgba(0, 152, 70, 1) !important;
}

.article-content figure {
	max-width: 500px;
	margin: 0 auto 1rem auto;
	text-align: center;
}

.article-content figure img {
	margin: 0 auto;
}

.article-content figure figcaption {
	margin-top: .5rem;
	font-size: 12px;
	color: #444444;
}

#article-carousel {
	--f-carousel-dots-width: 17px;
	--f-carousel-dot-color: var(--theme-green-100);
}

.f-carousel .f-carousel__nav {
	--f-button-width: 30px;
	--f-button-height: 30px;

	--f-button-svg-width: 12px;
	--f-button-svg-height: 12px;

	--f-button-color: transparent;
	--f-button-hover-color: transparent;
	--f-button-active-color: transparent;

	--f-button-bg: none;
	--f-button-hover-bg: none;
	--f-button-active-bg: none;
}

.f-carousel .f-button path {
	fill: var(--theme-green-100);
	transition: fill .2s;
}

.f-carousel .f-button:hover path,
.f-carousel .f-button:active path {
	fill: var(--theme-green-200);
	transition: fill .2s;
}

/* - - - /Новости - - - */

/* - - - Документы: - - - */

.downloadables-list .downloadable:not(:last-child) {
	border-bottom: 1px solid #F9F9F9;
}

.downloadable {
	display: grid;
	grid-template-columns: 47px 1fr;
	align-items: center;
	gap: .5rem;
	padding: .5rem 0;
}

.downloadable .downloadable-icon {
	display: grid;
	place-items: center;
	width: 47px;
	height: 62px;
	border-radius: 4px;
	background: #F2F2F2;
}

.downloadable .downloadable-text {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.downloadable .downloadable-title {
	font-weight: 400;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0;
}

.downloadable .link {
	text-decoration: none;
	font-size: 13px;
}

/* - - - /Документы - - - */

/* - - - Вход в аналитику и т.п.: - - - */

#account-register,
#account-forgotten,
#account-reset,
#account-login {
	position: relative;
	display: grid;
	place-items: center;
	width: 100vw;
	height: 100vh;
}
.account-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	padding: 2rem 3rem;
	width: 100%;
	height: 100%;
	background: #003220;
	color: #FFFFFF;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
#close-btn {
	position: absolute;
	right: 2rem;
	top: 2rem;
	color: #FFFFFF;
}

.btn-back {
	position: absolute;
	top: 2rem;
	left: 2rem;
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: 20px;
	font-weight: 400;
	color: #005B3B;
}

#account-register .account-form fieldset {
	display: none;
}

#account-register .account-form fieldset.active {
	display: block;
}

#account-register .account-form fieldset legend {
	margin-bottom: 1rem;
	font-weight: 400;
	font-size: 13px;
	line-height: 100%;
	letter-spacing: 0;
	text-align: center;
}


/* - - - /Вход в аналитику и т.п. - - - */

.news-article {
	transition: color .3s;
}

.news-article:hover {
	color: #414141;
}

.news-article:active {
	color: #797979;
}

.social-icon {
/*	grid place-items-center w-[36px] px-1 py-1 rounded bg-[#E8E8E8] text-theme-gray transition-colors hover:bg-white hover:text-theme-gray */
	display: grid;
	place-items: center;
	width: 35px;
	height: 35px;
	padding: .25rem;
	border-radius: 3px;
	background: #E8E8E8;
	color: var(--theme-gray);
	transition: background-color .3s;
}

.social-icon:hover {
	background: #C1C1C1;
	color: var(--theme-gray);
}

.social-icon:active {
	background: #FFFFFF;
	color: var(--theme-gray);
}
