body {background-color: var(--bg); color: var(--text); font-size: 17px; font-family: Roboto, sans-serif; line-height: 26px; margin: 0; padding: 0; border: 0;}
a {
    color: #0B5DD7;
    text-decoration: none;
}
p {margin: 15px 0;}
* {background: none;
    margin: 0;
    padding: 0;
    outline: none;
    border: 0;
    box-sizing: border-box;
}
ol, ul {list-style: none;}
.quote, blockquote {font-size: 20px; padding: 1% 3%; border-left: 4px solid #1793E6;}
code {background: #F5F5F5; border: 1px solid #E5E5E5; border-radius: 10px; padding: 3px 10px;}
.title_spoiler, .text_spoiler {background: #F5F5F5; border-radius: 10px; padding: 3px 10px; margin-top: 5px;}
.title_spoiler svg {vertical-align: middle; margin-top: -4px; margin-right: 7px; height: 16px; width: 16px;}
img {width: 100%; height: 100%; object-fit: cover; border-radius: 10px;}
:root {
    --bg-white: #fff;
    --header: #ffffff;
    --bg: #f6f7f8;
    --text: #000;
    --text-accent: #000;
    --light-grey: #F5F5F5;
    --border-color: #B3D1FF;
    --border-shadow: 0 0 0 3px #E6EFFD;
    --search-bg: rgba(0, 0, 0, 0.05);
    --reaction-btn-bg: #F9F9F9;
    --pm: #F0F0F0;
    --add-btn: #fff;
    --pagination-active: #DBDBDB;
    --pagination-hover: #E6E6E6;
    --reg-btn: #F0F0F0;
    --qq-button: #F5F5F5;
}
.switch-icon:before {
    content: "\f185";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
.theme-dark {
	--bg-white: #26282B;
    --header: #26282B;
    --bg: #161617;
    --text: #c9cccf;
    --text-accent: #fff;
    --light-grey: #2c2c2d;
    --border-color: rgba(255, 255, 255, .1);
    --border-shadow: 0 0 0 3px rgba(255, 255, 255, .08);
    --search-bg: #161617;
    --reaction-btn-bg: #333333;
    --pm: #161617;
    --add-btn: #2c2c2c;
    --pagination-active: #3d3d3d;
    --pagination-hover: #454545;
    --reg-btn: #3f3f3f;
    --qq-button: #161617;
}
.theme-dark .switch-icon:before {
    content: "\f186";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
h1, h2 {font-weight: 500; font-size: 22px;}
h4, h3, h5 {font-weight: 500; font-size: 19px;}
ul {padding: 0 24px; list-style: disc outside; margin-top: 1em; margin-bottom: 1em;}
ol {padding: 0 24px; list-style: decimal outside; margin-top: 1em; margin-bottom: 1em;
}
.wrapper {}
/* header------ */
.header_sticky {position: sticky; top: 0; background: var(--header); z-index: 10;}
.header {display: flex; align-items: center; height: 60px; max-width: 1280px; padding: 0 20px; margin-left: auto; margin-right: auto; justify-content: space-between;}
.header_right {display: flex; gap: 16px;}
.header_add_button {display: inline-flex; align-items: center; padding: 0 16px; font-weight: 500;
    background-color: var(--add-btn); color: inherit; border-radius: 42px; box-shadow: 0 0 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .1), inset 0 -1px 0 rgba(0, 0, 0, .06);}
.header_login {cursor: pointer;}
.header_search {position: relative;}
.sheader_search_btn {position: absolute; right: 0; top: 0; width: 50px; font-size: 16px; height: 39px; cursor: pointer;}
.header_logo {font-size: 30px; font-weight: 800; color: var(--text);}

/* cols------ */
.cols {display: grid; grid-template-columns: 220px minmax(0,640px) 320px; max-width: 1280px; padding: 16px 0; margin: 0 auto; justify-content: space-between;}
.col_left {position: sticky; top: 76px; height: calc(100vh - 100px);}

/* sidebar------ */
.sidebar {margin-left: 10px; margin-right: 16px; display: grid; row-gap: 26px; overflow-y: scroll; max-height: 100%; scrollbar-width: none;}
.side_menu {display: grid; row-gap: 4px;}
.side_menu_item {height: 46px; display: flex; align-items: center; color: inherit; border-radius: 12px; padding: 0 10px; overflow: hidden;}
.side_menu_item i, .login_menu_item i {font-size: 20px; width: 20px; text-align: center;}
.side_menu_item:hover {background-color: var(--bg-white);}
.side_menu_active {background-color: var(--bg-white);}
.side_menu_active i {color:#0B5DD7;}
.side_menu_icon {margin-right: 12px; color: #595959;}
.sidebar__title {font-size: 15px; color: #595959; padding-left: 10px;}
.side_menu_photo {min-width: 28px; height: 28px; border-radius: 50%; overflow: hidden; margin-right: 10px;}
.side_menu_category {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.side_menu_hide {display: none;}
.side_menu_show_hide {cursor: pointer;}

/* main------ */
.content {display: grid; gap: 24px; grid-template-columns: minmax(0, 100%);}

/* short------ */
.short_story {background-color: var(--bg-white); border-radius: 10px; padding: 20px 24px 16px;}
form .short_story_userinfo {margin-bottom: 24px;}
.short_story_userinfo {background-color: var(--bg-white); border-radius: 10px; padding: 20px 24px 16px;}
.short_header {}
.short_link {color: inherit;}
.short_header_left {display: flex; gap: 0 12px;}
.short_header_info {display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; line-height: 20px;}
.short_header_photo {width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: block;}
.short_img {margin-top: 20px;}
.short_footer {display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; font-size: 15px; color: #595959;}
.short_footer_item {}
.short_footer_item:hover {color: #0B5DD7;}
.short_footer_item:hover .short_menu_icon {background: rgba(48, 125, 240, .12);}
.short_views {margin-left: auto;}
.short_title {padding: 12px 0 6px 0; color: var(--text-accent);}
.short_author {font-size: 15px; font-weight: 500;}
.short_author a, .short_category a, .short_footer a, .poll_block a, .short_views a, .short_footer_item a, .mobile_menu_item {color: inherit;}
.short_category {font-size: 13px;}
.short_menu_icon {padding: 7px; border-radius: 100%; width: 29px; text-align: center;}
.short_date {margin-left: 6px; color: #595959;}
.custom_top_item a:hover {opacity: .72;}
.custom_top_item span {font-size: 13px; color: #595959;}
.custom_top_item a {color: inherit;}

/* full------ */
.full_comm_title {font-size: 20px; font-weight: 500;}
.full_text h1, .full_text h2, .full_text h3, .full_text h4, .full_text h5 {margin-bottom: 15px;}
.full_text iframe {max-width: 100%; border-radius: 10px;}

/* comment------ */
.comment_date {font-size: 13px; color: #595959;}
.comment_reaction {display: flex; gap: 8px; margin: 10px 0; color: #595959;}
.comment_footer_item {font-size: 13px; color: #595959; line-height: 13px; background: var(--reaction-btn-bg); padding: 5px 10px; border-radius: 30px;}
.comment_footer_item:hover {background:#E6E6E6;}
.comment_reply {display: flex; gap: 20px; font-size: 15px; color: #595959;}
.comment_sec_code {display: flex; flex-wrap: nowrap; gap: 10px; margin-bottom: 12px;}

/* login------ */
.login_btn_menu {position: absolute; top: calc(100% - -10px); right: 0; width: 320px; padding: 16px 8px 10px; background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08), 0 0 1px rgba(0, 0, 0, .16); border-radius: 10px; display: none;}
.login_btn_menu_mob {position: absolute; bottom: calc(100% - -10px); right: 0; width: 320px; padding: 16px 8px 10px; background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08), 0 0 1px rgba(0, 0, 0, .16); border-radius: 10px; font-size: initial; display: none;}
.login_menu {padding: 0; list-style: none; margin: 0;}
.login_menu_title {font-size: 15px; font-weight: 500; padding: 0 8px 12px;}
.login_menu_user {padding: 4px 8px; border-radius: 8px; margin-bottom: 4px; display: flex; align-items: center; gap: 16px;}
.login_menu_item {padding: 11px 8px; border-radius: 8px; margin-bottom: 4px; width: 100%; display: flex; align-items: center; color: inherit;}
.login_menu_item:hover, .login_menu_user:hover {background-color: var(--bg);}
.login_photo {width: 48px !important; height: 48px !important; border-radius: 50%;}
.login_menu_name {font-size: 20px; font-weight: 500; color: var(--text-accent);}
.login_menu_subtitle {font-size: 15px; color: #595959;}
.modal {display: none; position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: hidden; background-color: var(--bg-white);
    border-radius: 10px; padding: 20px 24px 16px; width: 400px;}
.login_form {display: flex; flex-direction: column; text-align: center; gap: 16px;}
.login_title {margin-bottom: 10px; font-weight: 500; font-size: 20px;}
.overlay {display: none; position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.6; background-color: rgb(102, 102, 102);}
.login_close {padding: 4px; border-radius: 50%; cursor: pointer; width: 34px; text-align: center;}
.login_close:hover {background: #F0F0F0;}
.button_registration {background-color: var(--reg-btn); font-size: 15px; border-radius: 9px; height: 34px; display: inline-flex; align-items: center; width: 100%; justify-content: center; color: inherit;}

/* profile------ */
.profile_photo {width: 90px; height: 90px; border-radius: 50%;}
.profile_action {margin-left: auto; margin-top: auto;}
.user_activity {font-size: 15px;}
.user_activity span {font-weight: 500;}
.pm_button a {background-color: #0B5DD7; padding: 0 14px; font-size: 15px; font-weight: 500; border-radius: 9px; color: #fff; height: 34px; display: inline-flex; align-items: center;}
.settings_button a {background-color: var(--pm); padding: 0 14px; font-size: 15px; border-radius: 9px; height: 34px; display: inline-flex; align-items: center; color: inherit;}
.profile_desc {margin: 12px 0;}
.profile_rate {color: #30B03D; font-weight: 500;}
.profile_popup {font-size: 15px;}
.profile_popup ul {list-style: none; margin: 0;}

/* mobile menu------ */
.mobile_bar {position: fixed; bottom: 0; width: 100%; z-index: 100;}
.mobile_menu {display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); height: 50px; background-color: var(--bg-white); font-size: 23px;}
.mobile_menu_item {position: relative; display: flex; align-items: center; justify-content: center;}
.mobile_menu_item img {width: 33px; height: 33px;}
.mob_cat_btn {cursor: pointer;}
.mob_cat_menu {position: absolute; bottom: calc(100% - -10px); left: -43px; width: 320px; max-height: 500px; padding: 16px 8px 10px; background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08), 0 0 1px rgba(0, 0, 0, .16); border-radius: 10px; font-size: initial; overflow-y: scroll; scrollbar-width: none; display: none;}

/* other------ */
.switch-theme {cursor: pointer;}
.pm select {padding: 8px 0px !important;}
.pm input {padding: 0 10px !important;}
.ads {height: 450px; position: sticky; left: 0; top: 76px; padding: 0 10px;}
.d_none {display: none;}
.page_title {margin-bottom: 20px;}
.margin_rt {margin-right: 6px;}
.mb_12 {margin-bottom: 12px;}
.addnews_group {margin-bottom: 20px;}
.addnews_title {display: block; margin-bottom: 10px; font-weight: 500;}
.active {display: block;}
.button_blue {background-color: #0B5DD7; height: 34px; padding: 0 14px; font-size: 15px; font-weight: 500; border-radius: 9px; color: #fff; cursor: pointer; border: none;}
.button_grey {background-color: #F0F0F0; height: 34px; padding: 0 14px; font-size: 15px; font-weight: 500; border-radius: 9px; cursor: pointer; border: none;}
.search_page_header {background-color: var(--bg-white); border-radius: 10px; padding: 12px 24px;}
.sheader_page_btn {position: absolute; right: 0; top: 0; width: 60px; height: 39px; cursor: pointer;}
.category_card {background-color: var(--bg-white); border-radius: 10px; padding: 20px 24px 16px; text-align: center; display: flex; flex-direction: column; align-items: center;}
.mass_comments_action {background-color: var(--bg-white); border-radius: 10px; padding: 20px 24px 16px;}
.pagination_text {text-align: center; color: var(--text-accent);}
.pagination_number {display: flex; flex-wrap: wrap; flex-direction: row; justify-content: center; gap: 10px 10px;}
.pagination_number a, .pagination_number span {padding: 2px 10px; border-radius: 8px; background: var(--pm); color: var(--text);}
.pagination_number span {background: var(--pagination-active);}
.pagination_number a:hover {background: var(--pagination-hover);}

.pm_buttons {display: flex; flex-wrap: wrap; gap: 10px 10px; padding: 20px 0 0 0; list-style: none; margin: 0;}
.pm_buttons a {background-color: var(--pm); padding: 6px 10px; border-radius: 8px; color: inherit;}
.pm_stats {margin: 15px 0;}
.pm_progress_bar {background-color: var(--pm); margin-bottom: 10px; border-radius: 4px;}
.pm_progress_bar span {background: #DBDBDB; font-size: 0; height: 20px; border-radius: 4px; display: block; overflow: hidden;}
.feedback_form_group {display: flex; gap: 10px; margin-bottom: 12px; align-items: center; flex-wrap: wrap;}

/* engine------ */
option:checked {background: #dbdbdb;}
.comments-tree-list {list-style: none; margin: 0; padding: 0;}
.comments-tree-list .comments-tree-list {padding-left: 26px;}
.ui-dialog {background-color: var(--bg-white); box-shadow: 0 8px 40px 6px rgba(0, 0, 0, 0.3); border-radius: 10px; overflow: hidden;}
.ui-draggable .ui-dialog-titlebar {cursor: move;}
.ui-dialog-titlebar {padding: 10px 15px; position: relative; font-weight: 500; border-bottom: 1px solid #E5E5E5;}
.ui-dialog-titlebar-close {position: absolute; right: 10px; top: 50%; margin-top: -20px; overflow: hidden; display: inline-block; cursor: pointer; width: 40px; height: 40px; font-size: 0;}
.ui-dialog-content {padding: 20px 15px; overflow: auto; position: relative;}
.ui-dialog-buttonpane {padding: 10px 30px; text-align: center;}
.ui-dialog-buttonset button {background-color: #F0F0F0; padding: 6px 10px; border-radius: 8px; font-weight: 600; cursor: pointer; height: 28px; margin: 0 4px 4px 0;}
.ui-dialog-buttonset {}
.ui-front {z-index: 1000;}
input[type="radio"], input[type="checkbox"] {margin-right: 6px;}
input[type="text"], input[type="password"], input[type="email"] {background-color: var(--bg); color: var(--text); border: 1px solid rgba(0, 0, 0, .03); border-radius: 12px; width: 100%; padding: 11px 50px 11px 20px;}
input[type="text"]:hover, input[type="password"]:hover {border-color: var(--border-color); box-shadow: var(--border-shadow);}
input[type="submit"] {background-color: #0B5DD7; height: 34px; padding: 0 14px; font-size: 15px; font-weight: 500; border-radius: 9px; color: #fff; cursor: pointer; border: none;}
.applychanges {background-color: #0B5DD7; height: 34px; padding: 0 14px; font-size: 15px; font-weight: 500; border-radius: 9px; color: #fff; cursor: pointer; border: none;}
.cancelchanges {background-color: #F0F0F0; height: 34px; padding: 0 14px; font-size: 15px; font-weight: 500; border-radius: 9px; cursor: pointer; border: none;}
textarea {background-color: var(--bg); color: var(--text); border: 1px solid rgba(0, 0, 0, .03); border-radius: 12px; width: 100%; padding: 11px; appearance: none; -webkit-appearance: none; font-size: 16px; font-family: inherit; resize: vertical;}
textarea:hover {border-color: var(--border-color); box-shadow: var(--border-shadow);}
select, select:not([multiple]) {background-color: var(--bg); color: var(--text); border: 1px solid rgba(0, 0, 0, .03); border-radius: 12px; padding: 11px;}
.DLEPush {z-index: 2001; position: fixed; right: 20px; top: 20px}
.search_block_input {background-color: var(--search-bg) !important;}
.qq-upload-button {background-color: var(--qq-button); border: 1px solid rgba(0, 0, 0, .03); border-radius: 12px; padding: 5px 20px 5px 20px;}
.form_table tr td {display: block; margin-bottom: 10px;}
.voteprogress, .pollprogress {overflow: hidden; height: 6px; margin-bottom: 10px; background-color: #e7e7e7; border-radius: 3px; margin-top: 6px;}
.voteprogress span, .pollprogress span {text-indent: -9999px; height: 6px; display: block; overflow: hidden; background-color: #0B5DD7;}
.poll_block {border: 1px solid #E5E5E5; border-radius: 10px; padding: 10px; margin: 7px 0;}
.poll_votes {font-size: 15px;}
.page_tags {margin-top: 12px;}
.page_tags a {color: #0B5DD7;}
.dle-captcha {display: flex; flex-wrap: nowrap; gap: 10px;}
#dropmenudiv {background-color: var(--bg-white); border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, .08), 0 0 1px rgba(0, 0, 0, .16); padding: 6px;}
#dropmenudiv a {display: block; margin-bottom: 4px; border-radius: 6px; font-size: 13px; padding: 4px 6px; color: inherit;}
#dropmenudiv a:hover {background-color: #F2F2F2;}
.ui-icon-closethick::before {
    content: "\f00d";
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    font-size: 24px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: block;
}
@keyframes DLEPush-show {
	0% {
		transform: translateY(100%);
		opacity: 0;
	}

	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

.DLEPush-notification.wrapper {
	animation-name: DLEPush-show;
	animation-duration: 1s;
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
	max-width: 400px;
	box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
	background-color: #fff;
	border-radius: 10px
}

.DLEPush-notification .DLEPush-icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	width: 45px;
	height: 100%;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	text-align: center;
}
.DLEPush-notification .DLEPush-icon svg {scale: .8;}
.DLEPush-notification .DLEPush-header {font-weight: 500; grid-column: 2; grid-row: 1; font-size: 1rem; margin-left: 1rem; margin-top: .5rem;}
.DLEPush-notification .DLEPush-header:empty {margin-top: 0;}
.DLEPush-notification .DLEPush-message {grid-column: 2; grid-row: 2; font-size: .875rem; margin: 1rem;}
.DLEPush-notification .DLEPush-message li, .DLEPush-notification .DLEPush-message ul {list-style-type: none; padding-left: 0;}
.DLEPush-notification .DLEPush-close {
	position: absolute;
	top: 8px;
	right: 10px;
	font-weight: 300;
	background: none;
	border: 0;
	font-size: 1.15rem;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	color: inherit;
	outline: 0;
	opacity: 0.75;
}
@media only screen and (min-width: 601px) {
	.DLEPush-notification.wrapper {
		min-width: 400px;
	}
}
.DLEPush-notification .DLEPush-close:hover {opacity: 1;}
.DLEPush-notification.wrapper.push-success {background-color: #e0f2f1;}
.DLEPush-notification.wrapper.push-success .DLEPush-icon {background-color: #00897b;}
.DLEPush-notification.wrapper.push-warning {background-color: #FFF3E0;}
.DLEPush-notification.wrapper.push-warning .DLEPush-icon {background-color: #FF9800;}
.DLEPush-notification.wrapper.push-error {background-color: #FBE9E7;}
.DLEPush-notification.wrapper.push-error .DLEPush-icon {background-color: #FF5722;}

/* adaptive------ */
@media screen and (max-width: 1240px) {
    .cols {grid-template-columns: 220px minmax(0,640px); max-width: 884px;}
    .col_right {display:none;}
    .header {max-width: 884px;}
}
@media screen and (max-width: 925px) {
    .col_left {display: none;}
    .cols {grid-template-columns: 1fr; max-width: 640px;}
    .col_main {margin-bottom: 60px;}
    .non_mobile {display: none;}
    .login_btn_menu {bottom: calc(100% - -10px); top: initial; font-size: initial;}
    .modal {font-size: initial;}
}
@media (min-width: 925px) {
    .mobile_bar {display: none;}
    .non_desktop {display: none;}
}
@media screen and (max-width: 590px) {
    .modal {max-width: 90%;}
    .wrapper {padding: 0; overflow: hidden;}
}