a,
a:link,
a:visited {
	text-decoration: none;
	color: #005482;
}

a:hover {
	text-decoration: underline;
}

.linkclassic:link,
.linkclassic:visited,
.linkclassic:hover,
p > a:not(.editlink),
p > a:link:not(.editlink),
p > a:visited:not(.editlink)
{
	text-decoration: underline;
	color: #0000ff;
}

.linkclassic:hover,
p > a:hover:not(.editlink)
{
	color: #30a030;
}

.text-available-lang {
	padding-right: 0.5em;
}
.text-available-lang:hover {
	text-decoration: none;
}

h3,
h4,
h5 {
	font-family: "Open Sans", verdana;
	font-display: "swap";
}

h1 {
	font-size: 1.5em;
}
h2 {
	font-size: 1.3em;
}
h3 {
	font-weight: bold;
	color: #005482;
	/*font-size: 14pt;*/
	font-size: 1.2em;
}

h4 {
	/*font-size: 11pt*/
	font-size: 1.1em;
}

h5 {
	font-size: 1em;
	/*font-size: 10pt*/
}

.text-content>h1:first-child {
	margin-top: 0;
}

.searchedtext {
	/*font-size: 9pt;*/
	color: #333;
}

body {
	margin: 0;
	font-family: "Open Sans", verdana;
	font-display: "swap";
	font-size: 11pt;
	color: black;
}

header {
	border-bottom: 1px solid lightgray;
}

.wrapper {
	padding: 0 29px;
}

.context-container:hover>.context-menu,
.context-container.fix-open>.context-menu {
	visibility: visible;
	opacity: 1;
	z-index: 2;
}

.context-container>.context-menu {
	visibility: hidden;
	opacity: 0;
}
.context-menu {
	transition: opacity 300ms linear 100ms;
	position: absolute;
	right: 0;
	left: 0;
	padding: 1.5em;

	background-color: white;
	box-shadow: 0px 10px 10px 7px rgba(0, 0, 0, .3);
}

.context-menu>span {
	display: block;
	white-space: nowrap;
}

.context-menu>span.checked {
	background-color: greenyellow;
}
.context-menu>span.checked::before {
	content: "\2713";
}

.context-menu>span>a {
	line-height: 2em;
}

.context-menu>span>a>img {
	margin-right: 0.5em;
}

body[dir=rtl] .context-menu>span>a>img {
	margin-right: 0;
	margin-left: 0.5em;
}

.context-menu>span.full-size {
	margin: -1.5em;
	padding: 1.5em;
}

.context-menu>span.full-size:first-child {
	margin-bottom: 0;
}

.context-menu>span.full-size:last-child {
	margin-top: 0;
}

ul, ol {
	padding: 0 17px;
}

.content li {
	padding-bottom: 0.5em;
}

.content li > ul > li,
.content ul > ul > li {
	padding: 0;
}

li>a {
	display: inline-block;
	min-height: 48px;
}

nav {
	padding-top: 1em;
	border-top: 1px solid lightgray;
}
nav > a {
	display: inline-block;
	min-height: 36px;
	padding: 6px 0;
	white-space: nowrap;
}
nav > a > img,
nav .user-button-icon,
nav .ebicon {
	max-height: 24px;
	max-width: 24px;
	margin:0;
	vertical-align: text-bottom;
}
nav #toggleSide {
	display: none;
}

.category {
	display: inline-flex;
	align-items: center;
	border: 1px solid lightgray;
	min-height: 50px;
	position: relative;
	box-sizing: border-box;
	margin: 0 0.5em 0.5em 0;
	padding: 0.5em;
	width: 100%;
}
.category:hover {
	cursor: pointer;
	background-color: rgba(255, 250, 181, 0.5);
}
.category img,
.category .user-button-icon,
.category .ebicon {
	vertical-align: middle;
	margin: 0 0.5em 0 0;
	max-height:48px;
	max-width:48px
}
.category>a {
	flex: 1;
	text-decoration: none;
}

.text-content {
	padding: 10px;
}

.text-content img {
	max-width: 100%/*calc(100vw - 71px)*/;
}

.text-content img.icon {
	vertical-align: baseline;
	margin-right: 0.5em;
}

.text-content img.skin1,
.text-content img.SKIN1 {
	border-radius: 2px;
	box-shadow: 1px 2px 12px 0px lightgray;
}
.text-content img.skin2,
.text-content img.SKIN2 {
	border: 2px solid #979797;
	border-radius: 2px;
	box-shadow: 2px 2px 8px 4px lightgray;
}

.phone-frame {
	position: relative;
	width: 350px;
	height: 729px;
	margin: 0 1em 1em 0;
	background: url("/icons/ui/s25w.webp") no-repeat center center;
	background-size: contain;
	display: inline-block;
}

.phone-screen {
	position: absolute;
	top: 10px;
	left: 11px;
	right: 14px;
	bottom: 12px;
	border-radius: 11px;
	overflow: hidden;
	background-color: black;
}

.phone-screen img {
	/*width: 100%;*/
	mix-blend-mode: normal;
}

.message, .warning, .error {
	border: 1px solid;
	padding-left:0.5em;
	padding-right:0.5em;
}

.warning {
	background: lightyellow;
	color: #6d4f06;
}
.error {
	background: rgb(255 233 220);
	color: rgb(137 50 0)
}

.subtitle {
	color: gray;
}

#promo {
	background-color: #eee;
	margin-top: 1em;
	margin-bottom: -10px;
}
#promo > a {
	padding: 1em;
	display: inline-block;
}

ul.slide {
	padding-inline-start: 1em;
}
ul.slide > li {
	list-style-type: none;
	cursor: pointer;
}
ul.slide > li::before {
	content: "\203A";
	margin-right: 0.3em;
	display: inline-block;
	font-size: 1.5em;
	transition: transform 100ms;
}
ul.slide > li.open::before {
	/*content: "\21B3";*/
	transform: rotate(90deg) translateX(4px);
}
ul.slide > li.open {
	padding-bottom: 0.5em;
}
ul.slide > li > ul.slide,
ul.slide > li > p {
	overflow: hidden;
	font-size: 0;
	height: 0;
	transition: font-size 100ms;
	cursor: default;
}
ul.slide > li.open > ul.slide,
ul.slide > li.open > p {
	font-size: 1em;
	height: auto;
	margin-block-start: 1em;
	margin-block-end: 1em;
}

ul.slide > li.open > p {
	padding-left: 2em;
}

a > .fa:hover {
	opacity: 0.7;
}

@media only screen and (min-width:400px) {
	.context-menu {
		padding-right: 3em;
		right: 0;
		left: initial;
	}

	.context-menu>span.full-size {
		margin-right: -3em;
	}

	body[dir=rtl] .context-menu {
		padding-right: 1em;
		padding-left: 3em;
		right: initial;
		left: 0;
	}

	body[dir=rtl] .context-menu>span.full-size {
		margin-right: -1em;
		margin-left: -3em;
	}

	.category {
		width: 48%;
		margin: 0 1% 1% 0;
	}

	.nav-small header,
	.nav-small main,
	.nav-small footer {
		margin-left: 4em;
	}
	.nav-small nav {
		width: 4em;
	}
	.nav-small #promo a,
	.nav-small nav a > span {
		display: none;
	}
	.nav-small #toggleSide {
		display: block;
	}
	.nav-small #toggleSide::before {
		content: "\203A";
	}
}

@media only screen and (min-width:600px) and (min-height:400px) {
	#search {
		order: -1;
	}

	.category img,
	.category .user-button-icon,
	.category .ebicon {
		max-height:64px;
		max-width:64px
	}

	nav {
		display: block;
		box-sizing: border-box;
		position: fixed;
		left: 0;
		top: 0;
		width: 200px;
		height: 100vh;
		overflow: auto;
		padding: 1em;
		background-color: #EEEEEE;
		transition: width 300ms linear 100ms;
	}
	
	header, main, footer {
		margin-left: 200px;
		box-sizing: border-box;
		transition: margin 300ms linear 100ms;
	}

	nav > a {
		display: block;
		white-space: normal;
	}
	nav > span {
		display: none;
	}

	nav #toggleSide {
		display: initial;
		position: absolute;
		right: 1em;
		bottom: 1em;
		width: 1em;
		cursor: pointer;
	}
	nav #toggleSide::before {
		font-size: 2em;
		content: "\2039";
	}

	#promo {
		position: absolute;
		bottom: 1em;
	}

	li>a {
		min-height: auto;
		line-height: inherit;
	}
}

@media only screen and (min-width:1045px) {
	.scroll {
		overflow: auto;
	}
	.scroll::-webkit-scrollbar {
		width: 10px;
		height: 10px;
	}
	
	.scroll::-webkit-scrollbar-track {
		box-shadow: inset 0 0 6px rgba(64, 64, 64, 0.1);
		/*background-color: rgba(64, 64, 64, 0.1);*/
		/*border-radius: 10px;*/
	}
	
	.scroll::-webkit-scrollbar-thumb {
		border-radius: 5px;
		background-color: rgba(64, 64, 64, 0);
	}
	
	.scroll:hover::-webkit-scrollbar-thumb {
		background-color: rgba(64, 64, 64, 0.3);
	}
	
	.scroll::-webkit-scrollbar-thumb:hover {
		background-color: rgba(64, 64, 64, 0.5);
	}
	
	nav {
		width: 300px;
	}

	header, main, footer {
		margin-left: 300px;
		box-sizing: border-box;
	}

	.category {
		width: 320px;
		padding: 1em;
		margin: 0 1em 1em 0;
	}

	.text-content {
		padding: 20px 29px;
	}
	.text-content p,
	.text-content ul,
	.text-content li,
	.text-content img {
		max-width: 1000px;
	}
	.text-content img.NORESIZE, 
	.text-content img.noresize
	{
		max-width: 100vw;
	}
	ul.slide {
		padding-inline-start: 2em;
	}
}