.logo-company,
.logo-billboard {
    width: 100%;
    display: block;
}

.logo-company {
    width: 3.9375rem;
    padding: 0.75rem 0 0 0.3125rem;
    mask: url(#logoCompanyMask);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.logo-company-pic {
    position: relative;
    width: 4.5625rem;
}
.certStorageControls {
    justify-content: flex-end;
    gap: 1rem;
}

.cert-btn {
    height: 2rem;
    width: 2rem;
    border: 0rem;
    border-radius: var(--border-radius-btn);
    background: var(--white-btn-bg);
    box-shadow: var(--some-shadow);
}

.cert-btn:hover {
    background: var(--hover-color);
}

.certs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18.75rem, 1fr));
    gap: 1.5rem;
    max-width: 75rem;
    margin: 0 auto;
}

.cert {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--some-shadow);
    transition: transform 0.2s;
}

.cert:hover {
    transform: translateX(-0.3125rem);
}

.cert-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.cert-id {
    font-size: 0.8rem;
    color: var(--cert-id-text);
}

.cert-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cert-name {
    font-weight: 700;
}

.protected-cert {
    border-left: 0.25rem solid var(--protected-cert-color);
}

.multiselect-protected:before,
.protected-cert>.cert-header:before {
    content: attr(data-content);
    color: var(--protected-cert-color);
    font-family: var(--icon-font-family);
    font-weight: 900;
    font-size: 0.8125rem;
    padding-right: .3125rem;
    padding-left: .3125rem;
}

.multiselect-selector-element {
    display: flex;
    align-items: center;
}

.optext.multiselect-protected {
    border: 0.1875rem solid var(--protected-cert-color-light);
    background-color: var(--note-block-bg);
}

.multiselect-unprotected:before {
    content: '';
    font-family: var(--icon-font-family);
    font-weight: 900;
    font-size: 0.8125rem;
    padding-left: .3125rem;
}

.error-cert {
    border-left: 0.25rem solid var(--error-text-color);
    color: var(--text-color-inactive);
}

.error-cert:before {}

#importInput {
    display: none;
}

.no-certs {
    grid-template-columns: auto;
    color: var(--text-color-inactive);
}


.multiselect-dropdown {
    display: inline-block;
    padding: 0.125rem 0.3125rem 0rem 0.3125rem;
    border-radius: var(--border-radius-input);
    background-color: var(--white-btn-bg);
    position: relative;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 0.75rem;
}

span.myPlaceholder {
    background-color: transparent;
}

.optext {
    font-size: 0.8125rem;
}

.multiselect-dropdown span.optext,
.multiselect-dropdown span.myPlaceholder {
    margin-right: 0.5em;
    margin-bottom: 0.125rem;
    padding: 0.0625rem 0;
    border-radius: 0.25rem;
    display: inline-block;
}

.multiselect-dropdown span.optext {
    background-color: var(--quote-block-bg);
    padding: 0.0625rem 0.75em;
}

.multiselect-dropdown span.optext .optdel {
    margin-left: 0.3125rem;
    cursor: pointer;
    color: var(--text-color);
}

.multiselect-dropdown span.optext .optdel:hover {
    color: var(--multiselect-text-hover);
}

.multiselect-dropdown span.myPlaceholder {
    color: var(--multiselect-text-placeholder);
}

.multiselect-dropdown-list-wrapper {
    box-shadow: var(--some-shadow);
    z-index: 100;
    padding: 0.125rem;
    border-radius: 0.25rem;
    border: solid 0.0625rem var(--footer-color-hover);
    display: none;
    margin: -0.0625rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--note-block-bg);
}

.multiselect-dropdown-list-wrapper .multiselect-dropdown-search {
    margin-bottom: 0.3125rem;
}

.multiselect-dropdown-search {
    border: 0rem;
    padding: 0.5625rem 1.125rem;
    min-height: 2.625rem;
}

.multiselect-dropdown-list {
    padding: 0.125rem;
    height: 15rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.multiselect-dropdown-list::-webkit-scrollbar {
    width: 0.375rem;
}

.multiselect-dropdown-list::-webkit-scrollbar-thumb {
    background-color: var(--quote-block-bg);
    border-radius: 0.1875rem;
}

.multiselect-dropdown-list div {
    padding: 0.3125rem;
}

.multiselect-dropdown-list input {
    height: 1.15em;
    width: 1.15em;
    margin-right: 0.35em;
}

.multiselect-dropdown-list div.checked {}

.multiselect-dropdown-list div:hover {
    background-color: var(--footer-color-hover);
}

.multiselect-dropdown span.maxselected {
    width: 100%;
}

.multiselect-dropdown-all-selector {
    border-bottom: solid 0.0625rem var(--mini-btn-color-inactive);
}

.note-textarea-multiselect-certs {
    width: 35.625rem;
}
/*
Зеленые:
4B9D55 - светл
31723c - шапка
296131 - фонов
123C18 - темн

0F3019 - оч темн
*/
/*ref: https://angel-rs.github.io/css-color-filter-generator/*/

:root {
	--primary-color: #31723c;
	--primary-color-filter: brightness(0) saturate(100%) invert(34%) sepia(69%) saturate(343%) hue-rotate(79deg) brightness(97%) contrast(97%);
	--secondary-color: #285a30;
	--secondary-color-filter: brightness(0) saturate(100%) invert(25%) sepia(38%) saturate(691%) hue-rotate(78deg) brightness(99%) contrast(88%);
	--third-color: #0f3113;

	--primary-color-opacity-01: rgba(49, 114, 60, 0.1);
	--primary-color-opacity-03: rgba(49, 114, 60, 0.3);
	--help-light-color: #32713C;
	--help-dark-color: #1C5B26;

	--primary-btn-color: #31723c;
	--primary-btn-color-filter: brightness(0) saturate(100%) invert(34%) sepia(69%) saturate(343%) hue-rotate(79deg) brightness(97%) contrast(97%);
	--primary-btn-color-hover: #285a30;

	--secondary-btn-color: #fff;
	--secondary-btn-color-hover: #ccc;
	--secondary-btn-color-hover-opacity-03: rgba(204, 204, 204, 0.3);

	--white-island-color: #fcfcfc;

	--mini-btn-color-inactive: #b8b8b8;
	--mini-btn-color-inactive-filter: brightness(0) saturate(100%) invert(85%) sepia(0%) saturate(908%) hue-rotate(25deg) brightness(94%) contrast(96%);
	--mini-btn-color: #6D6D6D;
	--mini-btn-color-filter: brightness(0) saturate(100%) invert(40%) sepia(63%) saturate(0%) hue-rotate(213deg) brightness(91%) contrast(87%);
	--mini-btn-color-hover: #2d2d2d;

	--white-btn-bg: #fff;

	--warning-text-color: #AE7300;
	--warning-block-color: rgba(255, 185, 49, 0.2);
	--error-text-color: #C00224;
	--error-block-color: rgba(192, 2, 36, 0.2);
	--info-text-color: #489955;
	--info-block-color: rgba(72, 153, 85, 0.2);

	--text-color: #212529;
	--text-color-multiselect: #212529;
	--text-color-filter: brightness(0) saturate(100%) invert(10%) sepia(26%) saturate(334%) hue-rotate(169deg) brightness(94%) contrast(89%);
	--text-color-inactive: #808080;
	--text-color-hover: #ddd;
	--text-color-inverse: #fff;

	--footer-color: #ddd;
	--footer-color-hover: #f0f0f0;

	--multiselect-text-hover: #c66;
	--multiselect-text-placeholder: #6d6d6d;
	--cert-id-text: #64748b;

	--link-color: #0d6efd;
	--code-color: #d63384;
	--border-color: rgba(0, 0, 0, 0.15);
	--code-color-bg: #f0f0f0;
	--note-block-bg: #fff;
	--quote-block-bg: #ccc;
	--bookmark-color-bg: var(--code-color-bg);

	--config-selector-bg: rgba(255, 255, 255, 0.9);

	--background-dark-color: #0f3113;
	--background-light-color: #f5f5f5;
	--background-dark-color-opacity06: rgba(15, 49, 19, 0.6);

	--main-font-family: "Wix Madefor Text", "Montserrat", sans-serif;
	--secondary-font-family: "Wix Madefor Text", "Montserrat", sans-serif;
	/*
	--main-font-family: 'sirius',"Wix Madefor Text", "Montserrat", sans-serif;
	--secondary-font-family: 'sirius',"Wix Madefor Text", "Montserrat", sans-serif;
	 */
	--icon-font-family: "Font Awesome 7 Free";
	--icon-font-family-brands: "Font Awesome 7 Brands";

	--main-box-shadow: 0 0 0 0.25rem rgb(75 157 85 / 50%), 0.3125rem 0.3125rem 1.875rem rgb(0 0 0 / 15%);
	--more-shadow: 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.2);
	--some-shadow: 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.15);
	--silent-shadow: 0.1875rem 0.1875rem 1.875rem rgba(0, 0, 0, 0.08);

	--scrollbar-thumb: rgba(50, 113, 60, 0.5);

	--border-radius-btn: 0.5rem;
	--border-radius-input: 0.75rem;
	--border-radius-area: 1rem;

	--protected-cert-color: #f59e0b;
	--protected-cert-color-light: #f5bb54;

	/*logo*/
	--logo-primary-color: #0F3013;
	--logo-secondary-color: #4B9D55;
	--logo-third-color: #123B18;
	--logo-fourth-color: #FCFCFC;

	--logo-company-primary-color: #BE8460;
	--logo-company-secondary-color: #7D5448;
}

/* Тёмная тема (сумречный лес):
:root {
	--background-dark-color: #050c06;
	--background-light-color: #132214;

	--text-color: #6c846f;
	--text-color-multiselect: #f0f0f0;
	--text-color-inactive: #8d9e8c;
	--text-color-hover: #c7d5b9;
	--text-color-inverse: #f0f6ee;

	--primary-color: #2e4d2d;
	--secondary-color: #457543;
	--third-color: #132214;

	--primary-color-opacity-01: rgba(46, 77, 45, 0.1);
	--primary-color-opacity-03: rgba(46, 77, 45, 0.3);

	--primary-btn-color: #2e4d2d;
	--primary-btn-color-hover: #355740;

	--secondary-btn-color: #c8d7c9;
	--secondary-btn-color-hover: #d1ddd5;

	--white-island-color: #182b19;

	--mini-btn-color-inactive: #7a8f7a;
	--mini-btn-color-inactive-filter: brightness(0) saturate(100%) invert(55%) sepia(5%) saturate(20%) hue-rotate(30deg) brightness(94%) contrast(90%);
	--mini-btn-color: #9cb7a0;
	--mini-btn-color-filter: brightness(0) saturate(100%) invert(70%) sepia(6%) saturate(22%) hue-rotate(31deg) brightness(94%) contrast(88%);
	--mini-btn-color-hover: #cfd9ce;

	--white-btn-bg: #233a24;

	--warning-text-color: #a87e36;
	--warning-block-color: rgba(168, 126, 54, 0.2);
	--error-text-color: #b93d4c;
	--error-block-color: rgba(185, 61, 76, 0.2);
	--info-text-color: #6d8f6e;
	--info-block-color: rgba(109, 143, 110, 0.2);

	--footer-color: #1e3520;
	--footer-color-hover: #2b482c;

	--multiselect-text-hover: #a8bda0;
	--multiselect-text-placeholder: #94a792;
	--cert-id-text: #a6b6a6;

	--link-color: #6d8f6e;
	--code-color: #b5c5b3;
	--border-color: rgba(190, 200, 190, 0.12);

	--code-color-bg: #0f1d0f;
	--note-block-bg: #162817;
	--quote-block-bg: #1a2e1b;

	--config-selector-bg: rgba(24, 43, 25, 0.9);

	--main-box-shadow: 0 0 0 0.25rem rgba(46, 77, 45, 0.3), 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.7);
	--more-shadow: 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.8);
	--some-shadow: 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.7);
	--silent-shadow: 0.1875rem 0.1875rem 1.875rem rgba(0, 0, 0, 0.6);

	--scrollbar-thumb: rgba(46, 77, 45, 0.55);

	--border-radius-btn: 0.5rem;
	--border-radius-input: 0.75rem;
	--border-radius-area: 1rem;

	--protected-cert-color: #9c8a63;
	--protected-cert-color-light: #b2a079;

	--logo-primary-color: #050c06;
	--logo-secondary-color: #274026;
	--logo-third-color: #132214;
	--logo-fourth-color: #c8d7c9;

	--logo-company-primary-color: #a39066;
	--logo-company-secondary-color: #7d6b4c;

	--main-font-family: "Wix Madefor Text", "Montserrat", sans-serif;
	--secondary-font-family: "Wix Madefor Text", "Montserrat", sans-serif;

	--icon-font-family: "Font Awesome 7 Free";
	--icon-font-family-brands: "Font Awesome 7 Brands";

	--help-light-color: #213622;
	--help-dark-color: #274026;
}
*/

/*test
:root {
	--primary-color: #ff0000;
	--primary-color-filter: brightness(0) saturate(100%) invert(34%) sepia(69%) saturate(343%) hue-rotate(79deg) brightness(97%) contrast(97%);
	--secondary-color: #ffff00;
	--secondary-color-filter: brightness(0) saturate(100%) invert(25%) sepia(38%) saturate(691%) hue-rotate(78deg) brightness(99%) contrast(88%);
	--third-color: #00ff00;

	--primary-color-opacity-03: rgba(49, 114, 60, 0.3);
	--help-light-color: #f09000;
	--help-dark-color: #f09900;

	--primary-btn-color: var(--primary-color);
	--primary-btn-color-filter: brightness(0) saturate(100%) invert(34%) sepia(69%) saturate(343%) hue-rotate(79deg) brightness(97%) contrast(97%);
	--primary-btn-color-hover: var(--secondary-color);

	--secondary-btn-color: rgba(255, 255, 255, .0);
	--secondary-btn-color-hover: #ccc;

	--mini-btn-color-inactive: #2d0fff;
	--mini-btn-color-inactive-filter: brightness(0) saturate(100%) invert(19%) sepia(100%) saturate(6294%) hue-rotate(251deg) brightness(89%) contrast(131%);
	--mini-btn-color: #6D0099;
	--mini-btn-color-filter: brightness(0) saturate(100%) invert(13%) sepia(38%) saturate(6610%) hue-rotate(276deg) brightness(99%) contrast(125%);
	--mini-btn-color-hover: #2d0099;

	--white-btn-bg: #aaa;

	--warning-text-color: #AE7300;
	--warning-block-color: #ff0000;
	--error-text-color: #C00224;
	--error-block-color: #00ff00;
	--info-text-color: #489955;
	--info-block-color: #0000ff;

	--text-color: #ff00ff;
	--text-color-filter: brightness(0) saturate(100%) invert(10%) sepia(26%) saturate(334%) hue-rotate(169deg) brightness(94%) contrast(89%);
	--text-color-inactive: #808080;
	--text-color-filter: brightness(0) saturate(100%) invert(20%) sepia(79%) saturate(3598%) hue-rotate(294deg) brightness(117%) contrast(134%);
	--text-color-hover: #ddd;
	--text-color-inverse: #9f9f0f;
	--link-color: #ffffff;
	--code-color: #0cffc0;
	--border-color: rgba(0, 0, 0, 0.15);
	--code-color-bg: #f0f0f0;
	--note-block-bg: #aaa;
	--quote-block-bg: #ccc;
	--bookmark-color-bg: var(--code-color-bg);
	--config-selector-bg: rgba(255, 255, 255, 0.9);

	--background-dark-color: #000000;
	--background-light-color: #ffffff;
	--background-dark-color-opacity06: rgba(15, 49, 19, 0.6);

	--main-font-family: Ruda, Helvetica, Arial, sans-serif;
	--secondary-font-family: 'Roboto';
	--icon-font-family: "Font Awesome 5 Free";

	--main-box-shadow: 0 0 0 0.25rem rgb(50 113 60 / 25%), 0.3125rem 0.3125rem 1.875rem rgb(0 0 0 / 15%);
	--some-shadow: 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.15);

	--scrollbar-thumb: rgba(50, 113, 60, 0.5);

	--border-radius-btn: 2.5rem;
	--border-radius-input: 2.5rem;
}
*/

@font-face {
	font-family: "Font Awesome 7 Free";
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url(/static/fonts/fa-regular-400.woff2);
}

@font-face {
	font-family: "Font Awesome 7 Free";
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url(/static/fonts/fa-solid-900.woff2);
}

@font-face {
	font-family: "Font Awesome 7 Brands";
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url(/static/fonts/fa-brands-400.woff2);
}

@font-face {
	font-family: 'Wix Madefor Text';
	src: url(/static/fonts/WixMadeforText-VariableFont_wght.woff2);
}

@font-face {
	font-family: 'Wix Madefor Display';
	src: url(/static/fonts/WixMadeforDisplay-VariableFont_wght.woff2);
}

@media print {
	.textarea__input_fullpage {
		display: block !important;
	}

	#container,
	.plot-download {
		display: none !important;
	}

	grid p a:after,
	.linkToDownloadBlobFile:after,
	.plot-load::after {
		display: none !important;
	}

	.linkToDownloadBlobFile {
		filter: none !important;
		background-color: unset !important;
		padding: 0 !important;
	}

	html,
	body {
		height: auto !important;
		overflow: visible !important;
	}
}

html {
	scrollbar-gutter: stable;
	scrollbar-width: none;

	/*
	transform: scale(1.05);
	transform-origin: 0 0;
	width: calc(100% / 1.05);
	height: calc(100% / 1.05);
	*/
}

body {
	font-weight: 450;
	font-family: var(--main-font-family);
	background-color: var(--background-dark-color);
	color: var(--text-color);
	line-height: 1.6;
	margin: 0;
	font-size: 1rem;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	overflow-anchor: none;
}

html,
body {
	-ms-overflow-style: none;
	scrollbar-width: none;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

body {
	height: 100%;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
	display: none;
}

select {
	color: var(--text-color);
}

img,
svg {
	vertical-align: middle;
}

textarea {
	resize: vertical;
}

a {
	color: var(--link-color);
}

code {
	font-family: var(--secondary-font-family);
	cursor: pointer;
	color: var(--code-color);
	word-wrap: break-word;
}

button,
input,
optgroup,
select,
textarea {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	font-weight: 450;
}

.h1,
h1 {
	font-size: calc(1.375rem + 1.5vw);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 500;
	line-height: 1.2;
}

[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
	cursor: pointer;
}

a {
	text-decoration: auto;
}

.btn {
	display: flex;
	flex-direction: row;
	align-content: center;
	justify-content: center;
	align-items: center;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	border: 0rem solid transparent;
	background-color: transparent;
}

[type=button],
[type=reset],
[type=submit],
button {
	-webkit-appearance: button;
	appearance: button;
}

button,
select {
	text-transform: none;
}

button,
input,
select {
	border-radius: 0rem;
}

.text_block {
	font-size: 0.8125rem;
	padding: 0.625rem;
	margin: 0.3125rem 0rem 0.3125rem 0rem;
}

.help_block {
	background: var(--help-light-color);
	color: var(--text-color-inverse);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.help-2_block {
	background-color: var(--help-dark-color);
	color: var(--text-color-inverse);
	font-size: 0.75rem;
	border-radius: var(--border-radius-input);
}

.warning_block,
.error_block,
.info_block {
	margin: 0.3125rem 0;
	background-repeat: no-repeat;
	background-position: left 1.125rem top 50%;
	padding-left: 1.25rem;
	border-radius: var(--border-radius-input);
}

.warning_block {
	background-color: var(--warning-block-color);
	color: var(--warning-text-color);
}

.error_block {
	background-color: var(--error-block-color);
	color: var(--error-text-color);
}

.info_block {
	background-color: var(--info-block-color);
	color: var(--info-text-color);
}

.text_block_info {
	font-size: 0.8125rem;
	margin-left: 0.75rem;
	margin-right: 0.75rem;
	padding: 0.9375rem 0;
}

.label {
	font-family: var(--main-font-family);
	font-size: 1.5rem;
	font-weight: 700;
	padding: 0.25rem 0;
}

.label_2 {
	font-size: 1.375rem;
	font-weight: 700;
	padding: 0.3125rem 0 0.25rem 0;
}

.label_modal-header {
	font-size: 1.375rem;
	font-weight: 700;
}

.main_text {
	text-align: -webkit-left;
	font-family: var(--main-font-family);
	font-weight: 450;
	font-size: 1rem;
	padding-bottom: 0.5rem;
}

.input_link {
	margin-bottom: 0.3125rem;
}

.helps_img {
	margin: 0.25rem 0rem;
}

.logo {
	height: 4.375rem;
}

#container {
	margin: 0 auto;
}

#header {
	height: 5rem;
	font-weight: 700;
	text-align: start;
	margin: 0 auto;
	padding: 0.3125rem calc((100% - 43.75rem)/2);
	width: 100%;
	background: url(/static/img/bg.svg) repeat-x, var(--primary-color);
}

#content {
	width: 100%;
	padding: 0.3rem calc((100% - 51rem)/2) 1.25rem calc((100% - 51rem)/2);
	background-color: var(--background-light-color);
	margin-top: 0.625rem;
}

.footer {
	color: var(--text-color-inverse);
	font-size: 0.9rem;
	padding: 1.25rem calc((100% - 43.75rem)/2);
}

#paramsBlock {
	border-radius: var(--border-radius-input);
	padding: 0.3125rem calc((100% - 44.6875rem) / 2) 0.625rem;
}

.help-2_block-kuzn {
	display: flex;
	flex-direction: row;
	justify-content: start;
}

.heading {
	padding-right: 0.3125rem;
	width: 6.375rem;
}

.second {
	width: 36.25rem;
}

.help-close {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

.btn_default_size {
	width: 15.75rem;
	height: 3rem;
}

.btn_mini_size {
	min-width: 10.125rem;
	width: 15.75rem;
	max-height: 2.5rem;
	height: 2.5rem;
}

.success {
	background-color: var(--primary-btn-color);
	color: var(--text-color-inverse);
	border-color: var(--primary-btn-color);
}

.success:hover,
.success:focus,
.success:active {
	background-color: var(--primary-btn-color-hover);
	color: var(--text-color-inverse);
	border-color: var(--primary-btn-color-hover);
}

.light {
	background-color: var(--secondary-btn-color);
	color: var(--primary-btn-color);
	border-color: var(--primary-btn-color);
}

.light:hover,
.light:focus,
.light:active {
	background-color: var(--secondary-btn-color-hover);
	color: var(--primary-btn-color);
	border-color: var(--primary-btn-color);
}

.waiting_load {
	background-color: var(--secondary-btn-color-hover);
	color: var(--primary-btn-color);
	border-color: var(--primary-btn-color);
}

.less_btn {
	width: 10.125rem;
	min-height: 2.625rem;
}

.roll_type {
	width: 1.25rem;
	height: 1.5625rem;
	margin-left: 0.625rem;
	margin-top: 0.1875rem;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: 0.1s;
	transition: 0.1s;
}

.roll_type:active {
	font-size: 1.0625rem;
}

.roll_secondary_password:active {
	margin-left: 0.0625rem;
}

.mini_btn {
	font-size: 0.875rem;
	margin-top: auto;
	margin-bottom: auto;
	color: var(--mini-btn-color);
	text-decoration: underline;
	-webkit-transition: 0.1s;
	transition: 0.1s;
}

.mini_btn:hover {
	color: var(--mini-btn-color-hover);
}

.wide_btn {
	width: 18.75rem;
}

.text_decoration_none {
	text-decoration: none;
}

.copy_note_btn {
	height: 3rem;
	min-width: 10.125rem;
}

.gap {
	gap: 0.3125rem;
}

.gap_10 {
	gap: 0.625rem;
}

.gap_20 {
	gap: 1.25rem;
}

.row_gap {
	row-gap: 0.3125rem;
}

.row_gap_10 {
	row-gap: 0.625rem;
}

.row_gap_20 {
	row-gap: 1.25rem;
}

.more_shadow {
	box-shadow: var(--more-shadow);
}

.some_shadow {
	box-shadow: var(--some-shadow);
}

.silent_shadow {
	box-shadow: var(--silent-shadow);
}

::-webkit-scrollbar,
::-moz-scrollbar {
	width: 0.4rem;
	height: 0.4rem;
}

textarea::-webkit-scrollbar,
textarea::-moz-scrollbar {
	width: 1.25rem;
	height: 1.25rem;
}

::-webkit-scrollbar-corner,
::-moz-scrollbar-corner {
	opacity: 0;
}

::-webkit-scrollbar-thumb,
::-moz-scrollbar-thumb {
	border-radius: 6.25rem;
	background-clip: content-box;
	background-color: var(--scrollbar-thumb);
}

textarea::-webkit-scrollbar-thumb,
textarea::-moz-scrollbar-thumb {
	border-radius: 6.25rem;
	border: 0.4875rem solid transparent;
	background-clip: content-box;
	background-color: var(--scrollbar-thumb);
}

::-webkit-resizer,
::-moz-resizer {
	display: none;
}

.font_size_10px {
	font-size: 0.625rem;
}

.font_size_13px {
	font-size: 0.8125rem;
}

.font_size_15px {
	font-size: 0.9375rem;
}

.font_size_18px {
	font-size: 1.125rem;
}

.font_size_30px {
	font-size: 1.875rem;
}

.disabled_btn {
	pointer-events: none;
	opacity: 0.65;
}

.pointer_events_none {
	pointer-events: none;
}

.to_download {
	min-width: 13rem;
	width: 51%;
	padding: 0.4375rem;
}

.white_space_break_spaces {
	white-space: break-spaces;
}

.word_wrap_break_word {
	word-wrap: break-word;
}

#dontAsk[type=checkbox],
#editableNote[type=checkbox],
#rutokenEncNote[type=checkbox],
#extraAESCrypt[type=checkbox],
#markdownCheckbox[type=checkbox],
#markdownCheckboxNote[type=checkbox],
#addFileCheckbox[type=checkbox] {
	display: none;
}

#dontAsk:checked+#dontAskLabel:before,
#editableNote:checked+#editableNoteLabel:before,
#rutokenEncNote:checked+#rutokenEncNoteLabel:before {
	content: attr(data-content-on);
	margin-left: 0.3125rem;
	margin-right: 0.3125rem;
	font-family: var(--icon-font-family);
}

#dontAsk+#dontAskLabel:before,
#editableNote+#editableNoteLabel:before,
#rutokenEncNote+#rutokenEncNoteLabel:before {
	content: attr(data-content);
	margin-left: 0.3125rem;
	margin-right: 0.3125rem;
	font-family: var(--icon-font-family);
}

#cloneBtnEmoji,
#markdownCheckboxEmoji,
#markdownCheckboxEmojiNote,
#currLinkReadonlyIcon,
#exportToPdfIcon,
#addFileCheckboxEmoji,
#helpBtn,
#randGOSTModeBtn,
#randAESModeBtn,
#closeHelpBtn,
#closeSaveCertBtn,
#closeU2FBtn,
#closeRutokenBtn,
#closeMnemonicBtn,
#passwordPreviewBtn,
#randPasswordBtn,
#exportCertsBtn,
#importCertsBtn,
#deleteAllCertsBtn {
	width: 1.8125rem;
	height: 1.8125rem;
	border-radius: var(--border-radius-btn);
}

.certBtn:hover,
.cert-btn:hover,
.advancedSettings:hover,
.white_btn:hover,
.two_factor_dropdown:hover,
.input-block__container_side_input:hover,
.input-block__container_side_input_mini:hover,
#selectNoteType:hover,
#cloneBtnEmoji:hover,
#markdownCheckboxEmoji:hover,
#markdownCheckboxEmojiNote:hover,
#currLinkReadonlyIcon:hover,
#exportToPdfIcon:hover,
#addFileCheckboxEmoji:hover,
#exportCertsBtn:hover,
#importCertsBtn:hover,
#deleteAllCertsBtn:hover,
#markdownCheckboxNote:checked+#markdownCheckboxEmojiNote:hover,
#markdownCheckbox:checked+#markdownCheckboxEmoji:hover,
#addFileCheckbox:checked+#addFileCheckboxEmoji:hover {
	background-color: var(--text-color-hover);
}

textarea.white_btn:hover {
	background-color: var(--white-btn-bg);
}

#selectNoteType:focus {
	background-color: transparent !important;
}

#markdownCheckboxNote:checked+#markdownCheckboxEmojiNote,
#markdownCheckbox:checked+#markdownCheckboxEmoji,
#addFileCheckbox:checked+#addFileCheckboxEmoji {
	color: var(--primary-btn-color);
	background-color: var(--primary-color-opacity-01);
}

.mddToolbar {
	gap: 0.45%;
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

div.mddToolbar {
	padding: 0.3125rem;
	width: 100%;
}

div.mddToolbar a.mdd_button,
.fas-icon {
	padding: 0rem 0.125rem;
	text-decoration: none;
	font-family: var(--icon-font-family);
	font-weight: 900;
	width: 1.25rem;
	display: inline-flex;
	justify-content: center;
}

.fab-icon {
	padding: 0rem 0.125rem;
	text-decoration: none;
	font-family: var(--icon-font-family-brands);
	font-weight: 400;
	width: 1.25rem;
	display: inline-flex;
	justify-content: center;
}

.fab-icon-bold {
	padding: 0rem 0.125rem;
	text-decoration: none;
	font-family: var(--icon-font-family-brands);
	font-weight: 900;
	width: 1.25rem;
	display: inline-flex;
	justify-content: center;
}

.fas-icon-btn {
	padding-right: 0.625rem;
}

div.mddToolbar a.mdd_button {
	border-radius: var(--border-radius-btn);
	color: var(--text-color);
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
}

a.mdd_button:hover {
	background-color: var(--text-color-hover);
}

div.TMCommandDivider,
span.mdd_sep {
	width: 0.3125rem;
	display: block;
	border-left: solid 0.0625rem var(--text-color-inactive);
	margin-left: 0.1875rem;
	margin-right: 0.1875rem;
}

.white_btn {
	background-color: var(--white-btn-bg);
	border: 0rem;
}

.fas_btn {
	padding: 0.6875rem;
	width: 7%;
}

.theme_color {
	color: var(--primary-color);
}

.theme_color_filter {
	filter: var(--primary-color-filter);
}

.theme_color_2 {
	color: var(--secondary-color);
}

.theme_color_2_filter {
	filter: var(--secondary-color-filter);
}

.theme_color_mini-btn {
	color: var(--mini-btn-color);
}


h1>a.anchor,
h2>a.anchor,
h3>a.anchor,
h4>a.anchor,
h5>a.anchor,
h6>a.anchor {
	text-decoration: none;
	color: var(--text-color);
	display: inline-block;
	position: relative;
	outline: none;
}

.anchor:target {
	background: var(--bookmark-color-bg);
}

h1>a.anchor:before,
h2>a.anchor:before,
h3>a.anchor:before,
h4>a.anchor:before,
h5>a.anchor:before,
h6>a.anchor:before {
	margin-right: 0.3125rem;
	visibility: hidden;
	opacity: 0.2;
	font-weight: 300;
	line-height: inherit;
	text-align: center;
}

h1>a.anchor:hover:before,
h2>a.anchor:hover:before,
h3>a.anchor:hover:before,
h4>a.anchor:hover:before,
h5>a.anchor:hover:before,
h6>a.anchor:hover:before {
	visibility: visible;
	opacity: 0.8;
}

h1>a.anchor:focus:before,
h2>a.anchor:focus:before,
h3>a.anchor:focus:before,
h4>a.anchor:focus:before,
h5>a.anchor:focus:before,
h6>a.anchor:focus:before,
h1:hover .anchor:before,
h2:hover .anchor:before,
h3:hover .anchor:before,
h4:hover .anchor:before,
h5:hover .anchor:before,
h6:hover .anchor:before {
	content: "#";
	font-weight: 650;
	visibility: visible;
}

*,
::after,
::before {
	box-sizing: border-box;
}

th {
	text-align: center;
}

#selectNoteType {
	line-height: 1.625rem;
	padding-left: 0.625rem;
	padding-top: 0.3125rem;
	padding-bottom: 0.3125rem;
	appearance: none;
	color: var(--text-color);
	border-radius: var(--border-radius-btn)
}

.two_factor_label {
	border-top: 0.0625rem var(--mini-btn-color-inactive) solid;
	width: 100%;
	padding: 0rem 0.3125rem;
}

.two_factor_block {
	border-bottom: 0.0625rem var(--mini-btn-color-inactive) solid;
}

.two_factor_dropdown {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dropdown-arrow:before {
	content: attr(data-content);
	font-family: var(--icon-font-family);
	font-weight: 600;
	padding: 0.8125rem;
}

.rotate-180 {
	transform: rotateZ(180deg);
	-webkit-transform: rotateZ(180deg);
}

.two_factor_setup_block {
	border-top: 0.0625rem var(--text-color) solid;
	padding: 0.625rem 0;
}

.two_factor {
	font-size: 1.5rem;
	padding: 0.5rem 0;
	font-weight: 450;
	color: var(--mini-btn-color-inactive);
}

.two_factor_active {
	font-weight: 700;
	color: var(--text-color);
}

code.hljs,
code.language-code {
	font-size: 0.75em;
}

.token-icon {
	height: 1.1875rem;
	margin: 0.3125rem;
}

.two_factor>.token-icon {
	filter: var(--mini-btn-color-inactive-filter);
	color: var(--mini-btn-color-inactive);
}

.two_factor_active>.token-icon {
	filter: var(--text-color-filter);
	color: var(--text-color);
}

.token-icon-fas {
	margin: 0.3125rem;
	font-size: 1rem;
}

#markdownCheckboxEmoji:disabled,
.disabled {
	color: var(--mini-btn-color-inactive);
}

#settingsBtnImg {
	filter: var(--primary-btn-color-filter);
}

.text-input {
	color: var(--text-color);
}

.input_note__header {
	display: flex;
	justify-content: space-between;
	font-family: var(--main-font-family);
	align-items: center;
}

.justify-content_space-between {
	justify-content: space-between;
}

.justify-content_space-around {
	justify-content: space-around;
}

.justify-content_space-evenly {
	justify-content: space-evenly;
}

.justify-content_center {
	justify-content: center;
}

.certField {
	margin: 0 1.25rem;
	text-align: -webkit-center;
	unicode-bidi: isolate;
}

.certSubField {
	border: 0rem;
	cursor: pointer;
	width: 9.375rem;
	aspect-ratio: 1;
	margin: 1.25rem;
	border-radius: 0.9375rem;
}

#helpBtn:hover,
#randGOSTModeBtn:hover,
#randAESModeBtn:hover,
#randPasswordBtn:hover,
#markdownCheckboxEmojiNote:hover,
#addFileCheckboxEmoji:hover,
#cloneBtnEmoji:hover,
#markdownCheckboxEmoji:hover,
#currLinkReadonlyIcon:hover,
#exportToPdfIcon:hover,
#exportCertsBtn:hover,
#importCertsBtn:hover,
#deleteAllCertsBtn:hover {
	transform: scale(1.1);
}

.certSubField:hover,
.cert-btn:hover,
.encryption_mode_option:hover {
	transform: scale(1.05);
}

.btn:hover {
	transform: scale(1.03);
}

.certBtn {
	font-size: 2.1875rem;
	flex-direction: column;
	background-color: var(--config-selector-bg);
	align-content: center;
	align-items: center;
}

.certTextBtn {
	font-family: var(--main-font-family);
	font-weight: normal;
	font-size: 1rem;
	padding-bottom: 0.5rem;
	max-width: 11.25rem;
}

.padding_top_13px {
	padding-top: 0.8125rem;
}

.padding_top_4px {
	padding-top: 0.25rem;
}

.padding_left_4px {
	padding-left: 0.25rem;
}

.padding_left_16px {
	padding-left: 1rem;
}

.margin_top_0px {
	margin-top: 0rem;
}

.margin_top_10px {
	margin-top: 0.625rem;
}

.margin_top_12px {
	margin-top: 0.75rem;
}

.margin_top_20px {
	margin-top: 1.25rem;
}

.margin_bottom_6px {
	margin-bottom: 0.375rem;
}

.margin_bottom_12px {
	margin-bottom: 0.75rem;
}

.margin_left_5px {
	margin-left: 0.3125rem;
}

.margin_left_16px {
	margin-left: 1rem;
}

.margin_left_auto {
	margin-left: auto;
}

.margin_vertical_auto {
	margin-top: auto;
	margin-bottom: auto;
}

.column_gap_14px {
	column-gap: 0.875rem !important;
}

.width_7per {
	width: 7%;
}

.width_70per {
	width: 70%;
}

.width_40per {
	width: 40%;
}

.width_30per {
	width: 30%;
}

.width_33per {
	width: 33%;
}

.width_67per {
	width: 67%;
}

.width_50per {
	width: 50%;
}

.width_100per {
	width: 100%;
}

.height_100per {
	height: 100%;
}

.font_weight_normal {
	font-weight: 450;
}

.font_weight_bold {
	font-weight: 900;
}

b,
.font_weight_semibold {
	font-weight: 700;
}

.font_style_italic {
	font-style: italic;
}

.no_border {
	border: 0rem;
}

.display_none {
	display: none;
}

.display_block {
	display: block;
}

.display_flex {
	display: flex;
}

.display_contents {
	display: contents;
}

.display_inline-block {
	display: inline-block;
}

.display_inline-flex {
	display: inline-flex;
}

.display_grid {
	display: grid;
}

.line_height_14px {
	line-height: 0.875rem;
}

.note-textarea-multiselect-certs,
.multiselect-selector-element,
.cursor_pointer,
.multiselect-selector-element label,
.cursor_pointer label {
	cursor: pointer;
}


.margin_center {
	margin-left: auto;
	margin-right: auto;
}

.text_align_center {
	text-align: center;
	text-align: -webkit-center;
}

.no_select {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.border_radius_btn_right {
	border-radius: 0rem var(--border-radius-btn) var(--border-radius-btn) 0rem;
}

.border_radius_btn_left {
	border-radius: var(--border-radius-btn) 0rem 0rem var(--border-radius-btn);
}

.border_radius_btn_full {
	border-radius: var(--border-radius-btn);
}

.border_radius_btn_top {
	border-radius: var(--border-radius-btn) var(--border-radius-btn) 0rem 0rem;
}

.border_radius_btn_bottom {
	border-radius: 0rem 0rem var(--border-radius-btn) var(--border-radius-btn);
}

.border_radius_input_right {
	border-radius: 0rem var(--border-radius-input) var(--border-radius-input) 0rem;
}

.border_radius_input_left {
	border-radius: var(--border-radius-input) 0rem 0rem var(--border-radius-input);
}

.border_radius_input_full {
	border-radius: var(--border-radius-input);
}

.select-token_key {
	padding: 0.9375rem 1.125rem;
}

#editableReadHeader {
	gap: 0.1875rem;
}

.valing_center_flex {
	align-content: center;
	justify-content: center;
	align-items: center;
}

.align_items_center {
	align-items: center;
}

.box {
	border: 0rem;
	width: 22.1875rem;
	/*height: 3rem;*/
	margin: 0.375rem 0;
	outline: 0;
}

.box_label {
	border: 0rem;
	width: 24.625rem;
	height: 3rem;
	outline: 0;
}

.settings_info_block {
	justify-content: flex-end;
	color: var(--mini-btn-color);
}

#languageSelector {
	width: 100%;
}

.footer_link {
	color: var(--footer-color);
	text-underline-offset: 0.1875rem;
	text-decoration: none;
}

.footer_link:focus,
.footer_link:hover {
	color: var(--footer-color-hover);
	text-decoration: underline;
}

#helpCipherModeInfoBlock,
#infoSettingBlock {
	margin: 0 0.3125rem 0.3125rem 0.3125rem;
}

.linkToDownloadBlobFile {
	margin-right: 0.3125rem;
	padding: 0.2em 0.4em;
	word-break: break-word;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	white-space: break-spaces;
	filter: url(#goo);
	background-color: var(--code-color-bg);
	color: var(--code-color);
	overflow-wrap: break-word
}

.linkToDownloadBlobFile::after {
	content: attr(data-content);
	padding-left: 0.3125rem;
	font-weight: bold;
	font-size: 0.86em;
	visibility: visible;
	font-family: var(--icon-font-family);
}

#currLinkReadonly,
#exportToPdfIcon,
#markdownCheckboxDiv,
#cloneBtnDiv {
	margin-left: 0.375rem;
	margin-right: 0.375rem;
}

#noteHeader,
#wrongPasswordPageHeader {
	line-height: 1;
	margin-top: 0.5rem;
}

#editableReadHeader {
	line-height: 1.6;
}

.white_island {
	padding: 0.625rem;
	background-color: var(--white-island-color);
	border-radius: var(--border-radius-area);
}

#twoFactorHeader {
	line-height: 1rem;
	margin-bottom: 1rem;
}

#certUsernameInput,
#certUsernameInputFIDO,
#certUsernameInputMnemonic {
	padding-left: 3rem;
}

.silent_background {
	background-color: var(--secondary-btn-color-hover-opacity-03);
}

#settingsLeft {
	padding-left: 0.625rem;
}

#settingsRight {
	padding-right: 0.625rem;
}
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

#note,
#noteOutput,
.TinyMDE,
#noteDivCopy {
	color: var(--text-color);
}

#noteDivCopy {
	white-space: pre-wrap;
	word-break: break-all;
}

#noteOutput {
	z-index: 10;
	min-height: 100%;
	word-break: break-word;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	overflow-anchor: none;
	transform: translateZ(0);
	will-change: scroll-position;
}

#note,
#noteOutput,
.TinyMDE,
#noteDivCopy {
	max-height: 100%;
	-webkit-background-size: cover, 8.125rem;
	-moz-background-size: cover, 8.125rem;
	-o-background-size: cover, 8.125rem;
	background-size: 1.875rem, cover, cover;
	border-radius: var(--border-radius-input);
	font-size: 1em;
}

.input-block {
	display: flex;
	flex-direction: column;
}

.input-block__label {
	font-family: var(--main-font-family);
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.1875rem;
	margin-bottom: 0.5rem;
}

.input-block__container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.input-block__container_side_input,
.input-block__container_side_input_mini {
	width: 20.875rem;
	height: 2rem;
	background: var(--config-selector-bg);
	border-radius: var(--border-radius-btn);
	border-width: 0rem;

	font-family: var(--secondary-font-family);
	font-weight: 450;
	font-size: 0.75rem;
	line-height: 0.875rem;

	color: var(--text-color);
}

.input-block__container_side_input_mini {
	width: 19.6875rem;
}

.input-block__container_side_label {
	font-family: var(--secondary-font-family);
	font-weight: 450;
	font-size: 0.75rem;
	line-height: 0.875rem;
	margin-bottom: 0.5rem;
}

.input-block__container_side_label_head {
	font-family: var(--secondary-font-family);
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.1875rem;
	margin: 0.5rem 0rem;
}

.input-block__container_side_head,
.input-block__container_side_check {
	flex-direction: row;
	justify-content: space-between;
}

.input-block__container_side_check {
	width: 20.9375rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.input-block__container_side_check_box {
	width: 0.875rem;
	height: 0.875rem;
	border-style: none;
	border-width: 0rem;
	outline: none;
}

.input-block__container_side_check_label {
	font-family: var(--secondary-font-family);
	font-style: normal;
	font-weight: 450;
	font-size: 0.75rem;
	margin-left: 0.5rem;
	width: 19rem;
	margin-right: auto;
}

.input-block__container_bottom {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.input-block__container_right-side_bottom {
	width: 20.875rem;
}

.note-textarea {
	font-size: 0.875rem;
	border: 0rem;
}

.input-group-with-btn>.note-textarea-2fa-status>.note-textarea {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	width: 35.625rem;
	height: 3rem;
	padding: 0.9375rem 1.125rem 0.9375rem 2.3rem;
}

.input-group-with-btn>.note-textarea {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	width: 35.625rem;
	height: 3rem;
	padding: 0.9375rem 1.125rem;
}

.unlock_2fa_status {
	color: var(--error-text-color);
}

.lock_2fa_status {
	color: var(--info-text-color);
}

.input-group-with-btn>.text-input {
	background-color: var(--white-btn-bg);
	font-weight: 700;
	justify-content: center;
	align-items: center;
	width: 33%;
}

.advancedSettingsBlock>#afterCreateKeyAdvanced>.input-group-with-btn>.text-input,
.advancedSettingsBlock>#afterCreateKeyAdvanced>.input-group-with-btn>.white_btn,
.advancedSettingsBlock>.input-group-with-btn>.text-input,
.advancedSettingsBlock>.input-group-with-btn>.white_btn {
	background-color: var(--code-color-bg);
}

.input-group-append {
	margin-left: -0.0625rem;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.input-group-with-btn {
	position: relative;
	display: flex;
	flex-wrap: unset;
	align-items: stretch;
	justify-content: center;
}

.space_between {
	justify-content: space-between;
}

.tab_focus {
	-webkit-transition: color .15s ease-in-out,
		background-color .15s ease-in-out,
		border-color .15s ease-in-out,
		border-radius .15s ease-in-out,
		transform .15s ease-in-out,
		box-shadow .15s ease-in-out;

	transition: color .15s ease-in-out,
		background-color .15s ease-in-out,
		border-color .15s ease-in-out,
		border-radius .15s ease-in-out,
		transform .15s ease-in-out,
		box-shadow .15s ease-in-out;
}

.tab_focus:focus {
	z-index: 10;
	box-shadow: var(--main-box-shadow);
	outline: 0;
}

.note-textarea:focus {
	color: var(--text-color);
	background-color: var(--white-btn-bg);
	outline: 0;
}

textarea.note-textarea {
	min-height: calc(1.5em + 0.75rem + 0.125rem);
}

.note-textarea {
	width: 100%;
	padding: 1rem 4.9rem;
	font-size: 1rem;
	font-weight: 450;
	line-height: 1.5;
	color: var(--text-color);
	background-color: var(--white-btn-bg);
	background-clip: padding-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.note-textarea-iframe {
	width: 100%;
	font-size: 1rem;
	font-weight: 450;
	line-height: 1.5;
	color: var(--text-color);
	background-color: none;
	background-clip: padding-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.note-textarea-input {
	border: 0rem;
	height: 100%;
	width: 100%;
	padding: 0.9375rem 2.1875rem 0.9375rem 1.125rem;
}

#note,
#noteDivCopy {
	padding: 0.375rem 0.75rem;
	overflow-y: hidden;
}

.note-output-preview {
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

.textarea_status_icon {
	width: 1.625rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0.8125rem;
	display: inline-block;
	z-index: 10;
}

.password-control {
	content: attr(data-content);
	height: 1.875rem;
	width: 1.625rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 0.625rem;
	display: inline-block;
	font-size: 1.25rem;
}

.password-control.view {
	content: attr(data-content-on);
	width: 1.75rem;
}

.password {
	position: relative;
	width: 64.86%;
}

.input-mnemonic {
	resize: none;
	height: 10.9375rem;
	overflow: hidden;
	-moz-tab-size: 35;
	-o-tab-size: 35;
	tab-size: 35;

	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	width: 35.625rem;
	padding: 0.9375rem 1.125rem;
}

/* markdown */
grid[columns="2"] {
	grid-template-columns: 39.25% 60%;
}
grid *:first-child {
    margin-top: 0;
}

grid {
	grid-column-gap: 0.375rem;
	transform: translateZ(0);
	will-change: scroll-position;
}

grid img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 90%;
}

grid table {
	margin-left: auto;
	margin-right: auto;
}

grid table img {
	max-width: 100%;
	margin-left: 0%;
	margin-right: 0%;
}

grid table,
grid th,
grid td {
	overflow: auto;
	border-spacing: 0;
	border-collapse: collapse;
	border: 0.0625rem solid var(--border-color);
	position: relative;
	margin-top: 1.0625rem;
	margin-bottom: 1.0625rem;
	padding: 0.5em;
	font-size: 0.8em;
}

grid blockquote {
	padding-left: 1.125rem;
	border-left: 0.125rem solid var(--quote-block-bg);
}

grid p {
	margin-bottom: 1em;
	margin-top: 0;
	white-space: break-spaces;
}

grid h1,
grid h2,
grid h3,
grid h4,
grid .h1,
grid .h2,
grid .h3,
grid .h4 {
	font-weight: 700;
	letter-spacing: -.02em;
	padding-top: 0.2813rem;
	padding-bottom: 0.0938rem;
	margin-bottom: 1rem;
}

grid h1,
grid h2,
grid h3,
grid h4,
grid h5,
grid h6,
grid .h1,
grid .h2,
grid .h3,
grid .h4,
grid .h5,
grid .h6 {
	margin: 1.5rem 0 1rem;
	line-height: 1.2;
}

grid h1 {
	font-size: 1.75rem;
}

grid h2 {
	font-size: 1.5rem;
	line-height: 1.3636;
}

grid h3 {
	font-size: 1.4rem;
	line-height: 1.3333;
}

grid h4 {
	font-size: 1.3rem;
	line-height: 1.2;
}

grid h5 {
	font-size: 1.2rem;
	line-height: 1.2;
}

grid h6 {
	font-size: 1.1rem;
	line-height: 1.2;
}

grid h5,
grid h6 {
	margin-bottom: 0.4em;
}

grid code {
	padding: 0.2em 0.4em;
	margin: 0 0.525em;
	word-break: break-word;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	white-space: break-spaces;
	filter: url('#goo');
	background-color: var(--code-color-bg);
}

grid p code:hover {
	margin: 0 0;
}

grid pre {
	overflow: hidden;
}

grid ul>li::marker {
	font-weight: 700;
}

grid .unchecked-emoji {
	list-style-type: "⬜ ";
}

grid .checked-emoji {
	list-style-type: "✅ ";
}

grid ol>li>p {
	margin-bottom: 0em;
}

grid ul {
	display: block;
	padding-left: 1.7em;
}

grid li {
	word-break: break-word;
	overflow-wrap: break-word;
	margin-bottom: 0.9em;
}

grid blockquote {
	display: block;
	margin-block-start: 0;
	margin-block-end: 0;
	margin-inline-start: 0;
	margin-inline-end: 0;
	unicode-bidi: isolate;
}

grid p a:after,
grid li a:after {
	content: attr(data-content);
	font-style: normal;
	font-weight: 900;
	font-size: 0.86em;
	visibility: visible;
	font-family: var(--icon-font-family);
	text-decoration: none;
	margin-left: 0.25rem;
	margin-right: 0.3125rem;
}

rect.background {
	fill-opacity: 0;
}

g.main {
	transform: scale(0.95);
}

g.left-axis,
g.bottom-axis,
g.plot,
g.chart {
	transform: translate(0.9375rem, 0);
}

.left-axis>.title {
	transform: translate(-1.25rem, 0)
}

code:focus:after,
code:hover:after {
	content: attr(data-content);
	margin-left: 0.25rem;
	font-style: normal;
	font-weight: normal;
	font-size: 0.86em;
	visibility: visible;
	font-family: var(--icon-font-family);
}

.hljs:focus:after,
.hljs:hover:after,
.language-code:focus:after,
.language-code:hover:after {
	top: 0.625rem;
	right: 0.75rem;
	position: absolute;
}

.code_copy:focus:after,
.code_copy:hover:after {
	content: attr(data-content);
	font-style: normal;
	font-weight: 900;
	font-family: var(--icon-font-family);
}

code.language-plot:focus:after,
code.language-plot:hover:after,
code.language-mermaid:focus:after,
code.language-mermaid:hover:after,
code.mermaid-plot-loaded:focus:after,
code.mermaid-plot-loaded:hover:after {
	content: '';
	visibility: hidden;
	margin-left: 0rem;
}

.spinner-before {
	justify-content: left;
	align-items: center;
	gap: 1rem;
}

.spinner-before:before {
	content: attr(data-content);
	color: var(--primary-color);
	font-weight: 900;
	font-family: var(--icon-font-family);
	animation: spin 2s linear infinite;
}

.plot-loading-resource:after {
	content: attr(data-content);
	position: absolute;
	color: var(--primary-color);
	font-weight: 900;
	margin-left: 39.375rem;
	font-family: var(--icon-font-family);
	opacity: 0.5;
	animation: spin 2s linear infinite;
}

.plot-download:after {
	content: attr(data-content);
	position: absolute;
	color: var(--primary-color);
	font-weight: 900;
	margin-left: 39.375rem;
	font-family: var(--icon-font-family);
	opacity: 0.5;
}

.plot-download:focus:after,
.plot-download:hover:after {
	opacity: 1;
}

.language-mermaid,
.language-plot,
.mermaid-plot-loaded {
	filter: none;
	background-color: unset;
	display: flex;
	justify-content: center;
	align-items: center;
	word-break: auto-phrase;
}

.language-mermaid:hover,
.language-plot:hover,
.mermaid-plot-loaded:hover {
	padding: 0.2em 0.85em;
}

.note-textarea-2fa-status {
	max-height: 48px;
	position: relative;
	flex: 1 1 auto;
	display: flex;
	flex-wrap: unset;
	align-items: stretch;
	justify-content: center;
}

.note-textarea-2fa-password {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	height: 3rem;
	width: 15rem;
	padding: 0rem;
}

.div-mask_password_btn {
	width: auto;
	height: auto;
	margin: auto 0rem;
}

.connect_fido_btn {
	width: 7%;
}

.password_input {
	-webkit-text-security: disc;
}

.advancedSettingsBlock {
	padding: 0.625rem 1.5625rem 1.5625rem 1.5625rem;
}

details.advancedSettings {
	background: var(--note-block-bg);
	border-radius: var(--border-radius-btn);
	margin-bottom: 0.9375rem;
	box-shadow: var(--silent-shadow);
}

summary.advancedSettings::-webkit-details-marker,
summary.advancedSettings::marker {
	display: none;
}

summary.advancedSettings::-moz-list-bullet {
	list-style-type: none;
}

summary.advancedSettings {
	display: block;
	padding: 0.4375rem 0.4375rem 0.4375rem 2.1875rem;
	cursor: pointer;
	position: relative;
	border-bottom: 0.0625rem solid var(--mini-btn-color-inactive);
}

summary.advancedSettings:before {
	left: 0.8125rem;
	font-family: var(--icon-font-family);
	content: attr(data-content);
	font-weight: 600;
	position: absolute;
}

details[open]>summary.advancedSettings:before {
	transform: rotateZ(90deg);
}


/* Убираем стандартный маркер Chrome */
details summary::-webkit-details-marker {
	display: none
}

/* Убираем стандартный маркер Firefox */
details>summary {
	list-style: none;
}

details[open] .modal {
	backdrop-filter: blur(0.25rem);
	background: var(--background-dark-color-opacity06);
}

.modal.show {
	display: block;
}

.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
}

.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	display: none;
	overflow: hidden;
	outline: 0;
}

.modal-window .modal-dialog {
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	position: absolute;
	top: 50%;
	left: 50%;
}

@media (min-width: 576px) {
	.modal-dialog {
		max-width: 31.25rem;
	}
}

.modal-open {
	overflow: hidden;
}

.modal-content {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	padding: 0.625rem;
	border-radius: 0.75rem;
	pointer-events: auto;
	background-color: var(--note-block-bg);
	background-clip: padding-box;
	border-radius: var(--border-radius-btn);
	outline: 0;
}

.modal-header {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: start;
	align-items: center;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 0.5rem 1rem;
	border-bottom: 0.0625rem solid var(--mini-btn-color-inactive);
	border-top-left-radius: 0.3rem;
	border-top-right-radius: 0.3rem;
	margin-bottom: 0.625rem;
}

.modal-body {
	position: relative;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: 0.625rem 1rem;
	margin-bottom: 0.625rem;
}

.modal-body .main_text {
	padding-bottom: 0.625rem;
}

.modal-footer {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: end;
	justify-content: flex-end;
	padding: 0.625rem 0rem 0rem 0rem;
}

.modal-footer_space-between {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: end;
	justify-content: space-between;
	padding: 0.625rem 0rem 0rem 0rem;
}

.close-modal {
	color: var(--text-color);
	background-color: transparent;
	border: 0rem;
}

.modal-window {
	top: 50%;
	left: 50%;
	z-index: 1060;
	position: fixed;
}

.encryption_mode {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
	width: 20.875rem;
}

.encryption_mode_option {
	border-radius: var(--border-radius-btn);
	border: 0.09375rem solid var(--secondary-btn-color);
	text-align: center;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 500;
	min-height: 2.5rem;
}

.encryption_mode_option:hover {
	background: var(--secondary-btn-color-hover-opacity-03);
}

.encryption_mode_option.active {
	border-color: var(--secondary-btn-color);
	background: var(--secondary-btn-color);
	color: var(--primary-btn-color);
	font-weight: 700;
}

.select_wrapper {
	position: relative;
	display: inline-block;
}

.select-icon {
	position: absolute;
	right: 0.375rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--mini-btn-color-inactive);
}

.loading_resources {
	filter: blur(0.0625rem);
}

#detailsMnemonicModalBtn {
	width: 7%;
}

.note-textarea-iframe:empty::before {
	content: attr(data-content);
	color: var(--multiselect-text-placeholder);
}

#multiselect_dropdown {
	color: var(--text-color-multiselect);
}
.switch {
  position: relative;
  display: inline-block;
  margin: 0.3125rem 0.375rem;
  width: 1.75rem;
  height: 0.875rem;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--mini-btn-color-inactive);
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 0.625rem;
  width: 0.625rem;
  left: 0.1875rem;
  bottom: 0.125rem;
  background-color: var(--text-color-inverse);
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider:before {
  -webkit-transform: translateX(0.75rem);
  -ms-transform: translateX(0.75rem);
  transform: translateX(0.75rem);
}

/* Rounded sliders */
.slider.round {
  border-radius: 1.25rem;
}

.slider.round:before {
  border-radius: 1.25rem;
}
.uploader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.input-file {
    pointer-events: none;
    width: 0.0063rem;
    height: 0.0063rem;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.input-icon {
    width: 3.5625rem;
    height: 3.125rem;
}

.upload-field {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.textarea__input_fullpage {
    position: fixed;
    height: auto;
    width: auto;
    top: 0rem;
    left: 0rem;
    right: 0rem;
    bottom: 0rem;
    z-index: 9999;
    border: 0rem;
    background: none !important;
    border-radius: none !important;
    display: none;
}

.box__input {
    margin-top: 0.625rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;

    box-sizing: border-box;

    width: 100%;
    height: 7.5rem;

    border: 0.1875rem dashed var(--primary-color-opacity-03);
    border-radius: 0.5625rem;
}

.box__input_fullpage {
    position: fixed;
    height: auto;
    width: auto;
    margin: 0.625rem;
    top: 0rem;
    left: 0rem;
    right: 0rem;
    bottom: 0rem;
    background: var(--background-dark-color-opacity06);
    border: 0.1875rem dashed var(--secondary-btn-color-hover);
    backdrop-filter: blur(0.25rem);
    color: var(--text-color-inverse);
    z-index: 999;
}

.box__input_fullpage>.upload-field>label>.text,
.box__input_fullpage>.upload-field>.file_load_img {
    color: var(--secondary-btn-color-hover);
}

.text {
    font-style: normal;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 2.0625rem;
    color: var(--primary-color);
}

.text:hover {
    color: var(--mini-btn-color-hover);
    cursor: pointer;
}

.file_info {
    padding: 0rem 0.5rem;
    width: 30%;
    max-width: 17.125rem;
    min-width: 14.5625rem;
    height: 2.8125rem;
    display: inline-flex;
    align-items: center;
    align-content: center;
    border-radius: 0.5rem;
}

.file_icon {
    width: 2rem;
}

.file_name {
    margin-inline-start: 0.3125rem;
    font-size: 0.75rem;
    font-weight: bold;
    max-width: 7.125rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.file_size {
    text-align: right;
    margin-inline-start: auto;
    font-size: 0.625rem;
    opacity: 0.7;
    width: 4.375rem;
}

.file_load {
    margin-inline-start: 0.3125rem;
    pointer-events: none;
}

.file_load_img {
    width: 0.875rem;
    color: var(--primary-color);
}

.file_remove {
    font-size: 0.8rem;
}

.file_add2note {
    font-size: 0.8rem;
}

.file_load_img,
.file_remove,
.file_add2note {
    opacity: 0.6;
}

.file_load_img:hover,
.file_load_img:focus,
.file_remove:hover,
.file_remove:focus,
.file_add2note:hover,
.file_add2note:focus {
    opacity: 1;
}

.waiting_load .file_add2note,
.waiting_load .file_load_img {
    display: none;
}

.size_info_block {
    flex-wrap: wrap;
}

#filesList {
    width: auto;
    flex-wrap: wrap;
    margin: 0.625rem 0;
    column-gap: 1.25rem;
}
/*

Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax

base:    #282c34
mono-1:  #abb2bf
mono-2:  #818896
mono-3:  #5c6370
hue-1:   #56b6c2
hue-2:   #61aeee
hue-3:   #c678dd
hue-4:   #98c379
hue-5:   #e06c75
hue-5-2: #be5046
hue-6:   #d19a66
hue-6-2: #e6c07b

*/

pre code.hljs, pre code.language-code {
    display: block;
    overflow-x: auto;
    padding: 1em
}

code.hljs, code.language-code {
    padding: 0.1875rem 0.3125rem
}
.hljs, code.language-code {
  color: #abb2bf;
  background: #282c34;
}

.hljs-comment,
.hljs-quote {
  color: #5c6370;
  font-style: italic;
}

.hljs-doctag,
.hljs-formula,
.hljs-keyword {
  color: #c678dd;
}

.hljs-section,
.hljs-name,
.hljs-section,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
  color: #e06c75;
}

.hljs-literal {
  color: #56b6c2;
}

.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string,
.hljs-regexp,
.hljs-string {
  color: #98c379;
}

.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
  color: #d19a66;
}

.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
  color: #61aeee;
}

.hljs-built_in,
.hljs-title.class_,
.hljs-class .hljs-title {
  color: #e6c07b;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: 700;
}

.hljs-link {
  text-decoration: underline;
}
.TinyMDE {
    word-break: break-word;
    min-height: 21.5rem;
    background-color: var(--white-btn-bg);
    color: var(--text-color);
    font-size: inherit;
    height: 100%;
    line-height: 24px;
    outline: none;
    padding: 0.375rem 0.75rem;
}

.TMBlankLine {
    height: 24px;
}

.TMH1,
.TMSetextH1 {
    font-size: 22px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 8px;
}

.TMSetextH1 {
    margin-bottom: 0;
}

.TMSetextH1Marker {
    margin-bottom: 8px;
}

.TMH2,
.TMSetextH2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 4px;
}

.TMH3,
.TMH4,
.TMH5,
.TMH6 {
    font-weight: 700;
}

.TMMark_TMCode {
    font-family: var(--secondary-font-family);
    font-size: .9em;
}

.TMCode,
.TMFencedCodeBacktick,
.TMFencedCodeTilde,
.TMIndentedCode {
    background-color: #e0e0e0;
    font-family: var(--secondary-font-family);
    font-size: .9em;
}

.TMCodeFenceBacktickOpen,
.TMCodeFenceTildeOpen {
    border-bottom: 1px solid silver;
    font-family: var(--secondary-font-family);
    font-size: .9em;
}

.TMCodeFenceBacktickClose,
.TMCodeFenceTildeClose {
    border-top: 1px solid silver;
    font-family: var(--secondary-font-family);
    font-size: .9em;
}

.TMInfoString {
    color: #00f;
}

.TMCode {
    border: 1px solid silver;
    border-radius: 2px;
}

.TMBlockquote {
    border-left: 2px solid silver;
    font-style: italic;
    margin-left: 10px;
    padding-left: 10px;
}

.TMMark {
    color: #a0a0a0;
}

.TMMark_TMH1,
.TMMark_TMH2,
.TMMark_TMOL,
.TMMark_TMUL {
    color: #ff8080;
}

.TMImage {
    text-decoration: underline;
    text-decoration-color: #0f0;
}

.TMLink {
    text-decoration: underline;
    text-decoration-color: #00f;
}

.TMLinkLabel {
    font-family: var(--secondary-font-family);
    text-decoration: underline;
}

.TMLinkLabel_Definition,
.TMLinkLabel_Valid {
    color: #40c040;
}

.TMLinkLabel_Invalid {
    color: red;
}

.TMLinkTitle {
    font-style: italic;
}

.TMAutolink,
.TMLinkDestination {
    color: #00f;
    text-decoration: underline;
}

.TMHR {
    position: relative;
}

.TMHR:before {
    border-bottom: 2px solid grey;
    bottom: 50%;
    content: '';
    left: 40%;
    position: absolute;
    width: 20%;
    z-index: 0;
}

.TMHTML,
.TMHTMLBlock {}

.TMHTMLBlock {}

.TMCommandBar {
    box-sizing: initial;
    display: flex;
    height: 24px;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-user-select: none;
    user-select: none;
    -ms-overflow-style: none;
    width: 100%;
}

.TMCommandBar::-webkit-scrollbar {
    display: none;
}

.TMCommandButton {
    padding: 0rem 0.125rem;
    text-decoration: none;
    font-family: var(--icon-font-family);
    font-weight: 900;
    display: inline-flex;
    justify-content: center;
    border-radius: var(--border-radius-btn);
    color: var(--text-color);
    width: 1.6rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.TMCommandButton .mdd_button {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.TMCommandDivider {
    box-sizing: initial;
}

.TMCommandButton_Active {
    color: var(--primary-btn-color);
    background-color: var(--primary-color-opacity-01);
}

.TMCommandButton_Inactive {}

.TMCommandButton_Disabled {
    pointer-events: none;
    color: var(--mini-btn-color-inactive);
    fill: var(--mini-btn-color-inactive);
}

@media (hover:hover) {

    .TMCommandButton_Active:hover,
    .TMCommandButton_Disabled:hover,
    .TMCommandButton_Inactive:hover {
        background-color: var(--text-color-hover);
    }
}

#mddTablePopup {
    position: absolute;
    z-index: 1000;
}

#mddTablePopup .grid {
    display: grid;
    grid-template-columns: repeat(9, 1rem);
    gap: 0.15rem;
}

#mddTablePopup .cell {
    width: 1rem;
    height: 1rem;
    background: var(--primary-color-opacity-01);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border 0.2s;
}

#mddTablePopup .cell.highlight {
    background: var(--primary-color-opacity-03);
}

.TinyMDE.display_block {
    position: relative;
}

.TinyMDE.display_block:has(> .TMBlankLine[data-line-num="0"]:only-child)::before {
    content: attr(title);
    color: var(--multiselect-text-placeholder);
    pointer-events: none;
    white-space: pre-wrap;
}

.TinyMDE.display_block:focus-within::before {
    display: none;
}

.note__input_fullpage {
    position: absolute;
    height: auto;
    width: auto;
    top: 0rem;
    left: 0rem;
    right: 0rem;
    bottom: 0rem;
    background: var(--note-block-bg);
    backdrop-filter: blur(0.25rem);
    color: var(--text-color-inverse);
    z-index: 999;
}

.note__input_fullpage>grid>#noteOutput {
    background: var(--note-block-bg);
}

.note__input_fullpage>grid,
.note__input_fullpage>grid>#note {
    min-height: 100%;
}

#mddToolbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0rem;
    z-index: 100;
}

.note__input_fullpage>#markdownGrid {
    background: var(--note-block-bg);
}

.TMCommandBar>.TMCommandButton[title="keyboardLang (Ctrl+⇧+A)"]+.TMCommandDivider {
    border: none;
    width: -webkit-fill-available;
    flex-grow: 1;
}
@media screen and (max-width: 650px) {
    .plot-load:after {
        margin-left: auto;
    }
}

@media screen and (max-width: 880px) {
    #filesList {
        column-gap: 2%;
    }

    .file_info {
        width: 32%;
    }

    #content {
        padding-left: 0.3125rem !important;
        padding-right: 0.3125rem !important;
    }

    .footer {
        margin: 0.3125rem;
    }

    span.mdd_sep {
        display: none;
    }

    .box {
        padding: 0.3125rem 0rem;
    }

    .mdd_sep {
        border-left: none !important;
        width: auto !important;
    }
}

@media screen and (max-width: 800px) {
    #filesList {
        column-gap: 2%;
    }

    .file_info {
        width: 32%;
    }
}


@media screen and (max-width: 740px) and (min-width: 500px) {
    #filesList {
        column-gap: 2%;
    }

    .file_info {
        width: 49%;
        max-width: none;
    }

    #noteLink,
    #inputNoteLink,
    .myPlaceholder {
        width: auto;
        font-size: 2vw;
    }

    #linkTypeCheckbox {
        display: none ! important;
    }

    #linkTypeCheckbox,
    #retry-password {
        margin-left: 0.375rem;
        margin-right: 0.375rem;
    }

    .label {
        padding: 0.5rem 0;
    }

    .main_text {
        padding: 0 0 0.5rem 0;
    }

    .less_btn {
        padding: 0 0.625rem;
        height: auto;
    }

    .input-group-with-btn>.note-textarea-2fa-status>.note-textarea,
    .input-group-with-btn>.note-textarea,
    .input-group-with-btn>.note-textarea-multiselect-certs {
        height: auto;
    }

    .modal-body>.input-group-with-btn>.note-textarea {
        width: 28.125rem;
    }
}

@media screen and (max-width: 710px) {
    .encryption_mode {
        width: 100%;
    }

    #settingsLeft,
    #settingsRight {
        width: 100%;
        padding-left: 0.3125rem;
        padding-right: 0.3125rem;
    }

    .input-block__container {
        display: block;
        padding: 0rem calc((100% - 21.875rem) / 2);
    }

    .input-block__container_side_input,
    .input-block__container_side_input_mini {
        width: 100%;
    }
}

@media screen and (max-width: 650px) {
    .certBtn {
        font-size: 6vw;
    }
}

@media screen and (min-width: 500px) {
    #separatorLinkDone {
        display: none;
    }
}

@media screen and (max-width: 500px) and (min-width: 450px) {
    #noteLink {
        width: auto;
    }

    .file_name,
    .file_info {
        font-size: 3vw;
        width: calc(100%);
        min-width: auto;
        max-width: none;
        text-align: left;
    }

    #mainHeader.label-link-done,
    #mainHeaderEdit.label-link-done {
        width: 8.5rem;
    }

    .modal-body>.input-group-with-btn>.note-textarea {
        width: 28.125rem;
    }

    #linkTypeCheckbox {
        display: none ! important;
    }

    #labelPasswordNote,
    #labelKeyNote,
    #notePassword,
    #noteKey {
        font-size: 3vw;
    }

    .less_btn {
        height: auto;
        padding: 0 0.625rem;
    }
}

@media screen and (max-width: 550px) {
    #downloadFilesBtn {
        margin-right: auto;
    }

    #mainHeaderBlock {
        padding-top: 0.3125rem;
    }

    .input_note__header {
        padding-bottom: 0.3125rem;
    }

    #mainHeader.label-link-done,
    #mainHeaderEdit.label-link-done {
        width: 8.5rem;
    }

    #cloneBtnEmoji:after,
    #currLinkReadonlyIcon:after,
    #exportToPdfIcon:after,
    #markdownCheckboxEmoji::after,
    #markdownCheckboxEmojiNote::after {
        padding-left: 0.3125rem;
    }

    .label-link-done {
        width: 20.5rem;
    }

    .btn {
        padding: 0.5rem 0.5625rem;
    }

    .btn {
        width: auto;
        height: auto;
    }

    #selectNoteType {
        line-height: 1.625rem;
        width: auto;
        margin: 0px;
        padding-top: 0.3125rem;
        padding-bottom: 0.3125rem;
        padding-right: 2.5rem;
    }

    #noteOutput>table {
        font-size: 2.2vw !important;
    }

    grid {
        font-size: 0.8em !important;
    }

    .certTextBtn {
        font-size: 3vw;
    }

    .certSubField {
        width: 6.25rem;
    }

    .btn_main {
        width: 12.5rem;
        height: 2.5rem;
    }

    .input-group-with-btn>.note-textarea-2fa-status>.note-textarea .input-group-with-btn>.note-textarea {
        width: auto;
    }
}

@media screen and (max-width: 450px) {
    .note-textarea-2fa-password {
        height: auto;
    }

    .advancedSettingsBlock {
        padding: 0.3125rem;
    }

    .btn_main {
        width: 9.375rem;
        height: 2.5rem;
    }

    .box {
        height: auto;
    }

    .certBtn {
        font-size: 5vw;
    }

    .fas_btn {
        padding-left: 1.125rem;
        padding-right: 1.125rem;
        padding-top: 0.9375rem;
    }

    .label,
    .label_2,
    .two_factor_label,
    .two_factor_active {
        font-size: 4.5vw;
    }

    .less_btn,
    .mini_btn,
    .text-input,
    .white_btn,
    .btn,
    .btn_main,
    .text_block_info,
    #summaryMnemonicModalBtn,
    #versionHash {
        font-size: 2.7vw;
    }

    #cloneBtnEmoji,
    #currLinkReadonlyIcon,
    #exportToPdfIcon,
    #markdownCheckboxEmojiNote,
    #markdownCheckboxEmoji,
    #addFileCheckboxEmoji,
    #linkTypeCheckbox,
    #exportCertsBtn,
    #importCertsBtn,
    #deleteAllCertsBtn {
        font-size: 3.8vw;
    }

    .label {
        font-weight: 600;
        padding: 0rem;
    }

    .label-link-done {
        padding: 0rem 0.2rem;
    }

    #mainHeader.label-link-done,
    #mainHeaderEdit.label-link-done {
        width: 8.5rem;
    }

    #linkPageHeaderLabel.label-link-done {
        width: 12.5rem;
    }

    #selectNoteType {
        margin: 0px;
    }

    #waitLabel {
        height: auto;
    }

    #helpBlockAutosettings,
    #mnemonicTypeCheckbox {
        font-size: 3vw;
    }

    .size_info_block {
        padding-right: 0.625rem;
    }

    .less_btn {
        height: auto;
        padding: 0 0.625rem;
    }

    #noteLink,
    #inputNoteLink,
    #secondPassword,
    .myPlaceholder {
        font-size: 3vw;
    }

    #notePassword,
    #noteKey {
        font-size: 3vw;
    }

    .main_text {
        font-size: 3vw;
        padding: 0 0 0.5rem 0.2rem;
    }

    #mainHeaderBlock {
        padding-top: 0.3125rem;
    }

    .input_note__header {
        padding-bottom: 0.3125rem;
    }

    #labelPasswordNote,
    #labelKeyNote {
        font-size: 3vw;
    }

    #mnemonicGenerator,
    #mnemonicInput {
        height: auto;
    }

    #detailsMnemonicModalBtn {
        width: auto;
    }

    .input-group-with-btn>.note-textarea-2fa-status>.note-textarea,
    .input-group-with-btn>.note-textarea,
    .input-group-with-btn>.note-textarea-multiselect-certs {
        width: auto;
    }

    .modal-body>.input-group-with-btn>.note-textarea {
        width: 21.875rem;
    }

    .connect_fido_btn {
        width: auto;
    }

    .token-icon {
        height: 1rem;
    }

    .token-icon-fas {
        margin: 0 0 0 0.1875rem;
    }

    .input-mnemonic {
        tab-size: 32;
        padding: 0.9375rem 0.625rem;
    }

    .box__input {
        width: auto;
        margin: 0.3125rem 0;
    }

    .to_download {
        width: 100%;
    }

    #downloadFilesBtn {
        flex-wrap: wrap;
    }

    #downloadBtn {
        padding: 1.125rem 0.5625rem;
    }

    .file_name,
    .file_info {
        font-size: 3vw;
        width: calc(100%);
        min-width: auto;
        max-width: none;
        text-align: left;
    }

    .file_load {
        font-size: 3vw;
        width: 7%;
    }

    #sizeInfo,
    #sizeInfoText {
        font-size: 3vw;
    }

    .file_size {
        font-size: 3vw;
        width: 30%;
    }

    #filesList {
        width: 100%;
    }

    .upload-field {
        font-size: 3vw;
    }

    .text {
        font-size: 4vw;
    }

    #separatorLinkDone {
        order: 1;
    }

    #linkTypeCheckbox {
        margin-left: 0.375rem;
        margin-right: 0.375rem;
    }

    .deleteOnMobile {
        display: none !important;
    }

    #copyAndRemoveBtn {
        padding: 0rem 0.3125rem;
    }

    #linkTypeCheckbox {
        display: none ! important;
    }

    #cloneBtnEmoji,
    #currLinkReadonlyIcon,
    #exportToPdfIcon,
    #markdownCheckboxEmoji,
    #markdownCheckboxEmojiNote {
        padding: 0rem 0.3125rem;
    }

    .input-group-with-btn {
        min-height: 2.625rem;
        margin: 0.3125rem 0rem !important;
        flex-wrap: nowrap;
    }

    #note,
    #noteDivCopy {
        margin: 0.3125rem 0rem !important;
    }

    .linkButtons {
        margin: 0rem 0.2rem !important;
    }

    #noNeedDecryptLinkText,
    #needPasswordText,
    #needTokenText {
        padding: 0.1rem;
    }

    #linkPageHeader {
        padding: 0rem;
    }

    #certInputGroup {
        flex-direction: column;
    }

    #encryptByCertBtn {
        height: 2.625rem;
    }

    .input-group-with-btn>.note-textarea-2fa-status>.note-textarea .input-group-with-btn>.note-textarea {
        padding: 0.375rem 0.75rem 0.375rem 2.25rem !important;
        font-size: 3.5vw;
        height: auto;
    }

    .optext {
        font-size: 3.5vw !important;
    }

    #noteOutput>table {
        font-size: 2.5vw !important;
    }

    #noteOutput {
        padding: 0.375rem 0.75rem !important;
    }

    grid[columns="2"] {
        grid-template-columns: repeat(2, 1fr);
    }


    #passwordSetupBlock>.input-group-with-btn>.note-textarea {
        height: auto;
        padding: 0rem !important;
    }

    #passwordSetupBlock>.input-group-with-btn>.note-textarea>.note-textarea-input {
        padding: 0.375rem 2rem 0.375rem 0.75rem !important;
        font-size: 3.5vw;
    }

    #passwordSetupBlock>.input-group-with-btn>.note-textarea>.password-control {
        right: 0.375rem;
    }

    #twoFactorHeader {
        line-height: 0.5rem;
        margin-bottom: 0.5rem;
    }

    #selectNoteType {
        line-height: 1.125rem;
        width: auto;
        margin: 0px;
        padding-top: 0.3125rem;
        padding-bottom: 0.3125rem;
        padding-right: 2.5rem;
    }

    .box_label {
        height: 2.125rem;
    }

    .input-group-with-btn>.text-input {
        width: auto;
    }
}

@media screen and (max-width: 350px) {
    #editableReadHeader {
        font-size: 3.5vw;
    }

    .input-block__container {
        display: block;
        padding: 0rem;
    }

    .input-block__container {
        margin: 0.3125rem;
    }

    .modal-body>.input-group-with-btn>.note-textarea {
        width: 15.625rem;
    }
}
