/* Vars */
:root {
	/* --color-white: #ffffff;
  --color-black-primary: #4f4f4f;
  --color-gray-1: #e0e0e0;
  --color-gray-2: #bdbdbd;
  --color-gray-3: #747474;
  --color-blue: #185bc3;
  --color-blue-hover: #2c86cf; */
}

/* General */
body {
	/* font-family: 'Roboto', sans-serif; */
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
		'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #222222;
	overflow-y: scroll;
	padding-left: 436px;
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

img {
	display: block;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
}

button {
	background: transparent;
	border: none;
	outline: none;
	cursor: pointer;
}

.title {
	font-size: 28px;
	line-height: 36px;
	margin-bottom: 20px;
}

/* Layout */
.wrapper {
	display: flex;
}

/* Sidebar */
.sidebar {
	display: flex;
	flex-direction: column;
	width: 406px;
	height: 100%;
	background-color: #f5f6f7;
	flex-shrink: 0;
	padding: 40px 20px 20px 20px;
	position: fixed;
	top: 0;
	left: 0;
}
.sidebar__form {
	padding-bottom: 40px;
	margin-bottom: 40px;
	border-bottom: solid 2px rgba(210, 215, 217, 0.75);
}
.sidebar__form-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.sidebar__form-input {
	width: calc(100% - 20px) !important;
	height: 40px !important;
	padding: 0 10px !important;
}
.sidebar__form-submit {
	background-color: tomato;
	color: #ffffff;
	padding: 8px 10px;
	border-radius: 10px;
}

.catmenu {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1 1 auto;
	border-bottom: solid 2px rgba(210, 215, 217, 0.75);
	padding-bottom: 40px;
	margin-bottom: 40px;
	overflow-y: auto;
}
.catmenu > li {
	font-size: 26px;
	pointer-events: none;
}
.catmenu > li > a {
	display: inline-block;
	border-bottom: 2px solid tomato;
	margin-bottom: 10px;
}
.catmenu ul > li {
	font-size: 20px;
	pointer-events: all;
	padding: 10px;
	border-bottom: solid 1px rgba(210, 215, 217, 0.75);
}
.sidebar__foot a {
	text-decoration: underline;
}
.sidebar__foot a:hover {
	text-decoration: none;
}

.main {
	flex-grow: 1;
	margin-bottom: 32px;
}

/* Home page */
.home {
	margin-top: 40px;
}
.home h2 {
	margin-bottom: 20px;
}

/* Popular */
.popular-items {
	max-width: 1000px;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
}
.popular-item {
	display: block;
	position: relative;
}
.popular-item__title {
	display: inline-block;
	text-align: center;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #000000b2;
	color: #ffffff;
	padding: 6px 4px;
}

/* Logo */
.logo {
	display: inline-block;
	font-size: 32px;
	margin-top: 60px;
}

/* Breadcrumbs */
.breadcrumbs {
	margin: 20px 0 30px;
}

/* Category */
.category__description {
	margin-bottom: 40px;
	max-width: 800px;
}
.category__items {
	max-width: 800px;
}

/* Shorstory */
.shortstory__item {
	max-width: 800px;
	padding: 5px;
}
.shortstory__item:nth-child(odd) {
	background-color: #f1f1f1;
}
.shortstory__item:nth-child(even) {
	background-color: #e6e6e6;
}
.shortstory__item a {
	color: #2d81c5;
}

/* Fullstory */
.fullstory {
	margin-bottom: 60px;
	max-width: 1000px;
}
.fullstory__info {
	display: flex;
	gap: 30px;
	margin-bottom: 30px;
}
.fullstory__info-img {
	flex-shrink: 0;
}
.fullstory__info-description a {
	pointer-events: none;
}

/* Add comments */
.addcomment {
	max-width: 1000px;
	margin-bottom: 40px;
}
.addcomment h3 {
	margin-bottom: 20px;
}
.form-group.combo {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}
.form-group.combo .combo_field {
	width: 100%;
}
#comment-editor {
	margin-bottom: 20px;
}
/* #dle-comments-form {
	max-width: 1000px;
} */

/* Comments */
.comment {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 1000px;
	border: 1px solid #000;
	padding: 10px;
}
.comment__head {
	display: flex;
	justify-content: space-between;
	gap: 30px;
}
.comment__user {
	display: flex;
	gap: 10px;
}
.comment__user-name {
	font-weight: 700;
}
.comment__text {
	background-color: rgb(224, 224, 224);
	padding: 10px;
}
.comment__action {
	display: flex;
	gap: 20px;
}

/* Navigation */
.pages * {
	font-size: 24px;
	padding: 5px;
	border: 1px solid #000000;
}
.pages span {
	border-color: crimson;
}

/* Static */
.static {
	max-width: 1000px;
}
/* Search */
#searchsuggestions .seperator {
	display: none !important;
}
#dofullsearch {
	display: none !important;
}
