/* ----- ----- ----- ----- ----- GENERAL ----- ----- ----- ----- ----- */

#container-wiki {
	width: 100%;
	min-width: 1200px;
	display: flex;
}

#container-undercover {
	background-image: url('/res/img/wiki/background_header_wiki.png');
	background-repeat: no-repeat;
	background-size: cover;
    background-position-y: bottom;
	width: 100%;
	min-width: 1200px;
    height: 180px;
    position: absolute;
	z-index: -1;
}

#container-left-menu {
	width: 200px;
	padding: 20px;
	float: left;
}

#left-menu-logo {
	width: 200px;
	height: 250px;
	text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

#menu-logotype {
	width: 200px;
	height: 200px;
	background: url('/res/img/wiki/logo_wiki.png') no-repeat;
}

#left-menu-block {
	width: 180px;
	padding: 10px;
	background: #000000;
}

#container-content {
	width: 100%;
	padding: 50px 20px 20px 0;
}

#content-user-bar {
	background: #101010;
    border: 2px solid #000000;
	width: max-content;
	padding: 5px 10px;
	float: right;
}

#content-block {
	background: #101010;
	padding: 20px;
	margin-top: 50px;
	min-width: 900px;
	display: flow-root;
}

#content-navigation {
	height: 32px;
}

#navigation-buttons {
	float: left;
}

#navigation-search {
    float: right;
}

#footer-wiki {
	width: 100%;
    height: 80px;
    background: #000000;
    margin-top: 10px;
	display: flex;
    align-items: center;
}

#footer-wiki-logo {
	min-width: 225px;
    height: 40px;
    background: url('/res/img/logo_menu_mask.png') no-repeat;
	margin: 0 20px;
}

.wiki-search-field-big {
	width: 500px !important;
}

/* ----- ----- ----- ----- ----- TEXT ----- ----- ----- ----- ----- */

.wiki-h1, .wiki-format {
	font-size: 25px;
    text-transform: none;
    border-bottom: 1px solid var(--border-light);
}

.wiki-h2 {
	font-size: 20px;
    text-transform: none;
    border-bottom: 1px solid var(--border-light);
	margin-top: 30px;
}

.wiki-h3 {
	font-size: 17px;
	font-weight: bold;
	color: #ffffff;
    text-transform: none;
}

.wiki-list {
	margin: 0;
	padding: 0;
}

.left-menu-link {
	color: var(--color-link-dark);
	text-decoration: none;
}

.left-menu-link:active {
	color: #ffffff;
}

.left-menu-link:hover {
	color: var(--color-main);
}

.wiki-link {
	color: var(--color-gray);
}

.wiki-link:hover {
	text-decoration: underline;
}

/* ----- ----- ----- ----- ----- MAIN PAGE ----- ----- ----- ----- ----- */

.block-hello {
	height: 100px;
	border: 1px solid var(--border-light);
    background: #1d2121;
	display: flex;
    align-items: center;
    padding-left: 30px;
	margin: 10px 0;
	color: #ffffff;
}

.hello-title {
	width: 100%;
	min-width: 500px;
}

.hello-title-big {
	font-size: 24px;
}

.hello-counter {
	width: -webkit-fill-available;
    text-align: right;
    padding-right: 30px;
}

#content-table {
	display: flex;
    flex-wrap: nowrap;
}

#table-cell-left {
	margin-right: 10px;
}

#table-cell-right {
	min-width: 40%;
	max-width: 50%;
}

.cell-block {
	border: 1px solid var(--border-light);
	padding: 10px;
}

.wiki-date {
	font-size: 12px;
	padding-right: 10px;
}

.cell-block-cats {
	display: flex;
	flex-wrap: wrap;
    justify-content: center;
	align-items: center;
}

.cell-block-cat {
	width: 108px;
    border: 1px solid var(--border-light);
	margin: 5px;
	cursor: pointer;
}

.cell-block-cat:hover {
	color: #ffffff;
	background: #1d21219c;
}

.cell-block-cat img {
	width: 60px;
	height: 60px;
}

.cell-block-cat:hover img {
	width: 63px;
	height: 63px;
}

.block-cat-icon {
	padding: 10px;
	height: 65px;
	text-align: center;
}

.block-cat-title {
	border-top: 1px solid var(--border-light);
    background: #1d2121;
    font-weight: bold;
    font-size: 15px;
    height: 40px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

/* ----- ----- ----- ----- ----- LOGIN ----- ----- ----- ----- ----- */

.wiki-login-string {
	width: 300px;
	padding: 5px 0;
}

.wiki-login-title {
	font-weight: bold;
	font-size: 18px;
    padding: 5px 0;
}

.wiki-login-input {
	width: 278px !important;
}

.wiki-login-button {
	width: 298px;
}

/* ----- ----- ----- ----- ----- ADDING ----- ----- ----- ----- ----- */

.wiki-editor-form {
	border: 1px dashed var(--border-light);
	padding: 5px;
	display: flow-root;
    height: max-content;
}

.wiki-editor-form * {
	display: block;
	overflow: hidden;
}

.wiki-editor-form input[type=button] {
	display: inline;
}

.wiki-editor-input {
	width: -webkit-fill-available !important;
	border: 1px dashed var(--border-light) !important;
}

.wiki-editor-form textarea {
	resize: none;
}

.wiki-editor-form #art-title {
	font-size: 25px;
	color: #ffffff;
}

.wiki-editor-bar {
    display: flex;
}

.wiki-editor-add-annotation {
	width: 167px;
    display: flex;
	justify-content: flex-end;
    font-size: 14px;
}

.wiki-editor-form #art-url {
	font-size: 12px;
	margin: 2px 0;
    height: 20px;
    color: var(--color-dark);
}

.wiki-editor-form #art-url::placeholder {
	color: var(--color-dark);
}

.wiki-editor-form #art-title::placeholder {
	color: #ffffff;
}

.wiki-editor-form #art-main {
	min-height: 50px
}

.wiki-editor-url {
	font-size: 12px;
	margin-left: 10px;
	color: var(--color-gray);
	width: -webkit-fill-available;
}

.wiki-editor-form #art-right-block {
	min-height: 300px;
	max-height: 600px;
}

.wiki-editor-section {
	border: 1px dashed var(--border-light) !important;
	padding: 5px;
	margin-bottom: 10px;
}

.wiki-editor-form .section-title-great {
	font-size: 20px;
	color: #ffffff;
	border-right: none !important;
}

.wiki-editor-form .section-title-sub {
	font-size: 16px;
	color: #ffffff;
	border-right: none !important;
}

.wiki-editor-form .section-title-great::placeholder,
.wiki-editor-form .section-title-sub::placeholder {
	color: #ffffff;
}

.wiki-editor-form .section-content {
	border-top: none !important;
	min-height: 100px;
}

.wiki-editor-section-nav {
	display: flex;
}

.wiki-editor-section-type {
	width: 640px;
	float: left;
	border: 1px dashed var(--border-light);
}

.wiki-editor-section-type *, .wiki-editor-annotation-color * {
	float: left;
}

.wiki-editor-section-type label, .wiki-editor-annotation-color label  {
	padding: 5px 15px 0 0;
	font-size: 14px;
	color: var(--color-gray);
}

.wiki-editor-control {
	margin-top: 20px;
	padding: 10px 0;
	border-top: 1px dashed var(--border-light);
}

.wiki-navigation-no-sections {
	text-align: center;
    margin: 10px 0;
	color: var(--color-main);
}

.wiki-editor-input-void {
	border: none;
	width: -webkit-fill-available;
	min-height: 15px;
}

/* ----- ----- ----- ----- ----- PAGES ----- ----- ----- ----- ----- */

.ann-on-page {
	margin: 20px !important;
}

.wiki-right-block {
	float: right;
	width: 300px;
	padding-left: 10px;
}

.wiki-content-navigation {
    border: 1px solid var(--border-light);
    background: #1d2121;
    margin: 10px 0;
    color: #ffffff;
	display: table;
	min-width: 200px;
	max-width: 450px;
	padding: 10px;
}

.wiki-navigation-title {
	font-size: 15px;
	display: flex;
    justify-content: center;
}

.wiki-navigation-list {
	font-size: 15px;
	margin: 5px 0;
    padding: 0;
}

.wiki-navigation-list span {
	display: table-cell !important;
}

.wiki-navigation-string {
	padding: 2px 0;
}

.string-second {
	padding-left: 40px;
}

.wiki-navigation-point {
	color: var(--color-main);
    width: 20px;
    padding-right: 10px;
    text-align: right;
}

.wiki-navigation-line {
	color: var(--color-main);
    width: 20px;
    padding-right: 10px;
    text-align: right;
}

#wiki-navigation-selector {
	cursor: pointer;
}

.wiki-art-no-article {
	/* min-height: 300px; */
}

.wiki-art-search-error {
	padding: 10px 0;
	font-weight: bold;
}

.wiki-art-search {
	width: 554px;
    margin: 10px 0;
}

.wiki-art-search-report {
	padding: 10px 0;
}

/* annotations */

.annotation-gray {
	padding: 15px 15px 15px 50px;
    margin: 10px 0;
    background: #ffffff0f;
    border: 1px solid #393939;
    background-image: url('/res/img/icons/icon_warning.png');
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 15px;
}

.annotation-red {
	padding: 15px 15px 15px 50px;
    margin: 10px 0;
    background: #ff00000f;
    border: 1px solid #350000;
    background-image: url('/res/img/icons/icon_warning.png');
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 15px;
}

.annotation-yellow {
	padding: 15px 15px 15px 50px;
    margin: 10px 0;
    background: #edff000f;
    border: 1px solid #353500;
    background-image: url('/res/img/icons/icon_warning.png');
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 15px;
}

.annotation-green {
	padding: 15px 15px 15px 50px;
    margin: 10px 0;
    background: #31ff000f;
    border: 1px solid #013500;
    background-image: url('/res/img/icons/icon_warning.png');
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 15px;
}