@import url(reset.css);

@media screen and (max-width:337px) {
    body {
        font-size: 12px !important
    }

    #login_toggle:checked~.no_logged_in {
        margin-bottom: 3em
    }
}

@media screen and (min-width:338px) and (max-width:396px) {
    body {
        font-size: 13px !important
    }

    #login_toggle:checked~.no_logged_in {
        margin-bottom: 3em
    }
}

@media screen and (min-width:397px) and (max-width:448px) {
    #login_toggle:checked~.no_logged_in {
        margin-bottom: 2.5em
    }
}

@media screen and (min-width:397px) and (max-width:525px) {
    body {
        font-size: 14px !important
    }
}

@media screen and (max-width:375px) {
    #copyright small {
        font-size: .5em;
        line-height: .6em
    }
}

@media screen and (min-width:376px) and (max-width:652px) {
    .logged_in {
        flex-direction: column !important
    }

    #copyright small {
        font-size: .7em
    }
}

@media screen and (max-width:499px) {
    .avatar img {
        max-height: 80px
    }

    .avatar > .cover,
    .avatar img,
    .user_block {
        max-width: 80px
    }

    .avatar > .cover {
        height: 80px
    }

    #login_form li,
    #q_search,
    .btn_list li,
    .ui-dialog {
        margin: .15em
    }

    .com_content,
    .profile_userinfo {
        width: calc(100vw - 80px - 1.15em)
    }

    h1 {
        font-size: 1.75rem
    }

    h2 {
        font-size: 1.6rem
    }

    h3 {
        font-size: 1.5rem;
        margin-top: 2em
    }

    .font_ultrabig,
    h4 {
        font-size: 1.25rem;
        margin-top: 1.75rem
    }

    .font_ultrabig {
        margin-bottom: .3em
    }

    #story {
        max-width: 130px
    }

    .profile_edit table td {
        display: inline
    }

    .profile_edit .timezoneselect,
    .profile_edit .wide,
    .profile_edit .xprofile input,
    .profile_edit .xprofile select,
    .profile_edit .xprofile textarea {
        width: calc(100vw - 80px - 1.15rem) !important
    }

    td.search fieldset,
    td.search input:not([type=button]):not([type=checkbox]):not([type=radio]),
    td.search select {
        margin: .3em auto;
        width: 98% !important
    }

    #top_news>a {
        width: 100%
    }

    #tools,
    .profile,
    .story,
    .tab-pane,
    .ui-dialog-content,
    .ui-dialog-titlebar,
    .user_block,
    fieldset,
    legend {
        padding: .15em 0
    }
}

@media screen and (min-width:500px) {
    .avatar img {
        max-height: 130px
    }

    .avatar > .cover,
    .avatar img,
    .user_block {
        max-width: 130px
    }

    .avatar > .cover {
        height: 130px
    }

    #pubnav,
    #vote_form,
    .addcomments_form,
    .fullstory_foot,
    .m-05-02,
    .mass_comments_action,
    .vote_line,
    article {
        margin: .2em
    }

    #login_form li,
    #q_search,
    .btn_list li,
    .ui-dialog {
        margin: .3em
    }

    h1 {
        font-size: 2.5rem
    }

    h2 {
        font-size: 2rem
    }

    h3 {
        font-size: 1.75rem;
        margin-top: 2.5rem
    }

    .font_ultrabig,
    h4 {
        font-size: 1.5rem;
        margin-top: 2rem
    }

    .font_ultrabig {
        margin-bottom: .5em
    }

    #top_news > a {
        width: 48%
    }

    #tools,
    .profile,
    .story,
    .tab-pane,
    .ui-dialog-content,
    .ui-dialog-titlebar,
    .user_block,
    fieldset,
    legend {
        padding: .3em
    }

    .profile_edit .timezoneselect,
    .profile_edit .wide,
    .profile_edit .xprofile input,
    .profile_edit .xprofile select,
    .profile_edit .xprofile textarea {
        width: 15rem !important
    }

    td.search fieldset,
    td.search input:not([type=button]):not([type=checkbox]):not([type=radio]),
    td.search select {
        margin-bottom: .3em;
        margin-top: .3em;
        width: 70% !important
    }
}

@media screen and (max-width:569px) {
    #categories > li {
        width: 48%
    }
}

@media screen and (min-width:570px) and (max-width:990px) {
    #categories > li,
    #top_news > a {
        width: 30%
    }
}

@media screen and (max-width:750px) {
	@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
	}

    .title a:focus,
    .title a:hover,
    .title_full a:focus,
    .title_full a:hover {
        display: inline-block;
        padding-left: 100%;
        animation: marquee 10s linear infinite
    }
}

@media screen and (min-width:991px) {
    #pubnav,
    #vote_form,
    .addcomments_form,
    .fullstory_foot,
    .m-05-02
    .mass_comments_action,,
    .vote_line,
    article {
        margin: .5em
    }

    #categories > li,
    #top_news > a {
        width: 23%
    }

    .profile_edit .timezoneselect,
    .profile_edit .wide,
    .profile_edit .xprofile input,
    .profile_edit .xprofile select,
    .profile_edit .xprofile textarea {
        width: 19.5rem !important
    }
}

@media screen and (max-width:1199px) {
    body {
        background: url(../images/bg.png)
    }
}

@media screen and (min-width:1200px) {
    body {
        background: url(../images/pagebg.gif) no-repeat 50% 0,url(../images/bg.png)
    }

    #login_form li,
    #q_search,
    .btn_list li {
        margin: .3em
    }
}

::-moz-selection {
    background: #45caef
}

::selection {
    background: #45caef
}

a {
    color: #e5e3e3
}

.alert a,
a {
    text-decoration: none
}

.alert a:focus,
.alert a:hover,
a:focus,a:hover {
    color: #45caef;
    text-decoration: none
}

.addcomment_btn:focus,
.addcomment_btn:hover,
.cat_btn label:focus,
.cat_btn label:hover {
    color: #45caef;
    cursor: pointer;
    text-decoration: none
}

.addcomments_form,
.box.story,
.fullstory_foot {
    border-bottom: 2px ridge #8b8b8b;
    padding: 1.25em 0 .1em
}

.ads {
    margin: .3em 0;
    max-width: 100%
}

.ads img {
    max-width: 90%
}

.alert,
article {
    text-align: justify
}

.alert {
    background-color: #400;
    color: red;
    padding: .3em
}

.alert a {
    color: #e5e3e3 !important
}

article {
    background: url(../images/newsep.png) repeat-x 0 100%;
    padding: 1.25em 0 .1em
}

.avatar {
    box-sizing: border-box;
    display: inline-flex;
    flex-flow: column;
    margin: auto;
    position: relative;
    text-align: center;
    height: 100%
}

.com_info > .avatar {
    height: auto;
    width: 100%
}

.com_info li > a {
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
}

#login > .avatar,
#loginf > .avatar {
    padding: .1rem
}

.avatar > .cover,
.avatar img {
    border-radius: .6em;
    display: inline;
    margin: auto
}

.avatar > .cover {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    margin-bottom: .3em;
}

.block_center {
    justify-content: center
}

.bluebg {
    border-radius: .3em
}

.bluebg,
.bluebg_small,
.ui-button {
    background: #55b1e0;
    background: linear-gradient(90deg,#3ea1cf 0,#70c2e1 50%,#3ea1cf 100%) no-repeat top center,linear-gradient(180deg,#55b1e0 0,#1d558c 100%) no-repeat bottom center;
    background-size: 100% 4%,100% 100%;
    border: solid #262626;
    color: #fff !important;
    padding: .3em
}

.bluebg > *,
.bluebg_small > *,
.ui-button > * {
    color: #fff !important
}

.bluebg_small,
.ui-button {
    border-radius: .15em;
    border-width: 1px
}

.bluebtn,
.dlevotebutton {
    background: url(../images/bluebtn.png) no-repeat 0 0;
    border: 0 !important;
    color: #fff;
    cursor: pointer;
    height: 25px;
    width: 98px !important
}

.bluebtn:hover {
    background-position: 0 -25px
}

body {
    background-color: #1f1f1f;
    color: #e5e3e3;
    font-family: 'PT Sans',Arial,sans-serif;
    font-size: 16px;
    font-weight: 400;
    height: 100%;
    word-wrap: break-word
}

.border {
    border-radius: .3em
}

#breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 auto;
    padding: .5em
}

.btn:focus,
.btn:hover {
    cursor: pointer;
    text-decoration: none !important
}

#login_form,
.btn_list {
    align-items: center;
    display: flex
}

#login_form li,
.btn_list li {
    display: block
}

#categories,
#login_form,
.btn_list {
    flex-flow: row wrap;
    justify-content: space-between
}

#categories,
footer,
header,
nav,
section {
    margin: 0 auto;
    max-width: 1000px
}

#categories > li {
    background: url(../images/hblockbt.png) no-repeat 0 100%,url(../images/hblockleft.png) no-repeat 0 0,url(../images/hblockright.png) no-repeat 100% 0,url(../images/hblock.png) repeat-x;
    background-color: #333;
    background-size: contain,contain,contain,contain;
    max-height: 188px;
    margin: .2em 0;
    max-width: 256px;
    min-height: 128px;
    min-width: 128px;
    position: relative;
    text-align: center
}

.cat_icon {
    max-height: 95%;
    max-width: 95%
}

.checkbox,
.xfieldsrow {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    margin: .3em auto
}

.checkbox > *,
.xfieldsrow > * {
    margin: .3em
}

.language-markup {
    background: #222830;
    border-radius: .3em;
    clear: both;
    color: #f4841a;
    margin: .5em 0;
    padding: .5em;
    white-space: pre-wrap
}

.clipboard-copy-link svg {
	color: #6c838e;
	vertical-align: middle;
	margin-top: -3px;
}

.com_online {
    font-weight: bold
}

#content {
    background: #ebeced;
    padding-bottom: .7em
}

#content,
#content a,
.ui-widget-content a {
    color: #262626
}

#content a:focus,
#content a:hover,
.ui-widget-content a:focus,
.ui-widget-content a:hover {
    text-decoration: underline
}

.combo {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    margin: .3em 0
}

.combo_field {
  display: inline;
  margin: .15em 0
}

.comment {
  background: url(../images/newsep.png) repeat-x 0 100%;
  padding: 1.25em 0 .1em;
  display: grid;
  grid-template-columns: minmax(auto,150px) auto;
  grid-template-rows: auto auto auto;
  grid-gap: .3em .3em;
  place-content: stretch
}

#dle-pm-preview .comment {
  grid-template-rows: auto;
}

.comment > div,
.profile_grid > div {
  place-self: stretch
}

.comments {
  background-color: #ccc;
  border-top: .3em groove #000
}

.comments-image-gallery {
  margin: 0;
  padding: 0;  
  list-style: none;
  clear: both;
}

.comments-image-gallery li{
	list-style: none;
	margin: 0;
	padding: 0;  
}

.comments-image-gallery li img{
  float: left;
  margin-right: 5px;
  border: 5px solid #fff;
  width: 100px;
  height: 100px;
  transition: box-shadow 0.5s ease;
}

.comments-image-gallery li img:hover {
  box-shadow: 0 0 7px rgba(0,0,0,0.4);
}

.mce-toc {
  border: 1px solid #dbdada;
  margin: 0 0 .7rem 0;
}

.mce-toc h2 {
  margin: 4px;
}

.mce-toc ul {
  padding-left: 20px;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 1em;
  margin-block-end: 1em;
}

.mce-toc ul ul {
  padding-left: 20px;
  margin-block-start: 0;
  margin-block-end: 0;
}

.mce-toc li {
  list-style-type: none;
}

.com_actions {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 4;
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: end;
    padding: .3em 0
}

.com_actions > *,
label > * {
    margin: .3em
}

.com_content {
    grid-column-start: 2;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 3;
    border-bottom: 2px ridge #8b8b8b;
}

.com_info,
.com_tools {
    align-items: center;
    display: flex
}

.com_info {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
    border-bottom: 2px ridge #8b8b8b;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: .3em 0
}

.com_info .meta {
    width: 100%
}

.com_info ul.left {
    list-style: none;
}

.com_info ul.left > li {
    margin-top: .3em;
    font-style: italic;
    text-decoration: underline;
}

.com_info ul.left > li * {
    margin: auto;
}

.com_tools {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
    flex-flow: row;
    justify-content: start;
}

.com_tools > * {
    margin: .3em 0
}

.com_userinfo {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
}

#dle-pm-preview .com_info {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-gap: .3em .3em;
    border: none;
}

#dle-pm-preview .com_content {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    border: none;
}

#dle-pm-preview .com_user {
    display: flex;
    flex-flow: column;
    text-align: left;
}

.icon-reply,
.icon-cross {
    display: none !important;
}

#copyright {
    margin: 1.228% auto 0
}

.c-capcha {
    margin: 1em auto .3em
}

.dlepl {
    width: 98% !important;
    max-width: 800px !important;
    margin: .3em auto;
    display: block !important
}

.dlepopupnewsedit {
    height: 25em !important
}

#dle-captcha img {
    border: 1px solid #000;
    border-radius: .15em
}

#dle-content,
.profile table {
    width: 100%
}

.DLEPush {
	z-index: 2001;
	position: fixed;
	right: 20px;
	top: 20px
}

@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;
}

input[type="text"].comments_author_field {
	width: 100%;
	margin-bottom: 10px;
}

.doublefont {
    font-size: 2em
}

.dropdown {
    position: relative;
    display: inline-block
}

.dropdown-content {
    margin-top: .2em;
    visibility: hidden;
    position: absolute;
    width: 100%;
    z-index: 2
}

.dropdown-content li {
    background: url(../images/hblockbt.png) no-repeat 0 100%,url(../images/hblockleft.png) no-repeat 0 0,url(../images/hblockright.png) no-repeat 100% 0,url(../images/hblock.png) repeat-x;
    background-color: #333;
    height: 11.75em;
    max-height: 188px;
    max-width: 256px;
    min-height: 128px;
    min-width: 128px;
    position: relative;
    text-align: center;
    width: 100%
}

.dropdown li a {
    height: 100%;
    width: 100%
}

.dropdown:hover .dropdown-content {
    visibility: visible
}

#dropmenudiv {
    background-color: #2c2c2b;
    margin: 2px 0;
    padding: 5px;
    opacity: .9;
    -moz-opacity: .9;
    filter: alpha(opacity=90);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px
}

#dropmenudiv a {
    clear: both;
    color: #e5e3e3;
    display: block;
    padding: .15em;
    text-decoration: none
}

#dropmenudiv a:hover {
    color: #45caef
}

.expand_bar,footer {
    align-items: center;
    display: flex
}

.expand_bar {
    justify-content: space-between;
    position: relative;
    z-index: 21;
    -webkit-transition: height ease .2s;
    transition: height ease .2s;
    font-size: .9em;
    margin: 0 auto;
    max-width: 1000px;
    width: 100%
}

.dropdown-content li,footer {
    background-size: contain,contain,contain,contain
}

footer {
    background: url(../images/footright.png) no-repeat 100% 0,url(../images/footright.png) no-repeat 0 0,url(../images/footctr.gif) no-repeat 50% 0,url(../images/footbg.png) repeat-x;
    height: 8.77vw;
    max-height: 114px
}

.form {
    background: url(../images/loginform.png) no-repeat;
    max-width: 160px
}

.form-group>label,
.form_submit,
.form_submit>button {
    margin: .3em 0
}

.form_submit>button {
    height: 1.6rem
}

.fullbar,
h3::after {
    box-sizing: border-box
}

.fullbar {
    margin: 0 auto;
    max-width: 1000px
}

#hbottom {
    max-height: 48px
}

#hbottom img,
#headimg img,
#htop img,
#vote-layer,
.head {
  width: 100%;
  max-width: 1000px
}

.head {
    display: flex;
    flex-flow: row nowrap;
    height: 40px
}

#headernav,
.loginpanel {
    background: url(../images/tlboxsides.png) no-repeat 100% -65px,url(../images/tlboxsides.png) no-repeat,url(../images/tlboxbtm.png) no-repeat 50% 100%,url(../images/tlboxtop.png) no-repeat 50% 0,url(../images/tlboxbg.png) repeat-x;
    max-height: 65px
}

#headernav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    height: 65px;
    margin-bottom: .25em;
    margin-top: .25em;
    padding: .3em
}

#headimg {
    max-height: 222px
}

hr {
    border-top: 1px solid rgba(0,0,0,.1);
    box-sizing: content-box;
    height: 0;
    width: 75%
}

html {
    height: 100%
}

#htop {
    max-height: 47px
}

footer,h1,h2 {
    text-align: center
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    color: inherit;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: .5rem;
    word-break: break-all
}

h3::after {
    background: rgba(16,16,16,.2);
    content: '';
    display: block;
    height: 1px;
    margin-bottom: 2em;
    width: 66%
}

h5 {
    font-size: 1.25rem;
    margin-top: 1.5em
}

h6 {
    font-size: 1rem;
    margin-top: 1.3em
}

.icon,
.icon_small {
    display: inline-block;
    padding: .3em;
    vertical-align: middle
}

.icon {
    height: 2em;
    width: 2em
}

.icon:hover,
.icon_small:hover {
    background-color: #45caef;
    border-radius: .3em
}

.icon_small {
    height: 1em;
    width: 1em
}

.img {
    border: 1px solid #222830;
    border-radius: .3em;
    display: block;
    margin: .5em auto 1.5em;
    max-width: 800px;
    width: 100%
}

label:not(#all_categories):not(#tag_list_btn):not(.login_form_label):not(#profile_btn) {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    font-weight: 600;
    justify-content: start
}

li {
    list-style-position: inside
}

#login .avatar img {
    height: calc(64px - 1.75rem);
    width: calc(64px - 1.75rem)
}

#login_btn {
    background: #256b99 url(../images/lbtn.png) no-repeat;
    border: 0;
    cursor: pointer;
    overflow: hidden;
    text-indent: 110%;
    width: 62px;
    white-space: nowrap
}

#login_btn,
.form {
    background-size: 100% 100%;
    float: left;
    height: 27px
}

#login_name,
#login_password {
    background: url(../images/logicons.png) no-repeat 0 2px;
    border: 0;
    color: #fff;
    display: block;
    height: 18px;
    margin-top: 3px;
    margin-left: 5px;
    max-width: 160px;
    padding-left: 20px
}

#login_password {
    background-position: 0 -18px
}

#addcomments_form,
#addcomments_toggle,
#categories,
#categories_toggle,
#login_form li label,
#login_toggle,
#tag_list_toggle,
#vote_form,
#vote_form_toggle,
.hidden,
.login_panel,
.news_cat_list,
.tag_list {
    display: none
}

#addcomments_toggle:checked~#addcomments_form {
    display: block
}

#categories_toggle:checked~#categories {
    display: flex
}

#login_toggle:checked~.login_panel {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between
}

.news_cat:focus > .news_cat_list,
.news_cat:hover > .news_cat_list {
    background-color: #ebeced;
    border-bottom: 1px solid #1f1f1f;
    display: flex;
    flex-flow: column nowrap;
    padding: .3em 0;
    position: relative;
    z-index: 2
}

#tag_list_toggle:checked~.tag_list {
    align-items: center;
    display: inline-flex;
    flex-flow: row wrap;
    list-style: none;
    width: 100%
}

#vote_form_toggle:checked~#vote_form {
    display: block
}

#dlevotespopupcontent * tr,
.add_info,
.menu_item {
    align-items: center;
    display: flex
}

.mass {
    display: flex;
    margin-right: .3em;
}

.mass_comments_action {
    padding: 1.25em 0 .1em;
}

.mass_comments_action > select {
    text-align: center;
}

.mass_comments_action > * {
    margin: auto;
}

.menu_item {
    height: 98%;
    justify-content: center;
    width: 98%
}

.add_info {
    flex-flow: row wrap;
    justify-content: space-between;
    margin: .3em 0
}

#pubnav .next_btn,
.add_info a {
    margin-left: auto;
    margin-right: 0
}

#pubnav .next_btn,
#pubnav .prev_btn {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center
}

.more_btn,
.more_btn img {
    height: 27px;
    width: 99px
}

.more_btn img {
    background: url(../images/fulllink.png) no-repeat 0 -27px
}

.more_btn:hover img {
    background-position: 0 0
}

.name {
    margin: .3em auto
}

.navbar,
.navbar-search {
    display: inline-flex;
    justify-content: space-around
}

.navbar_item a {
    background: url(../images/menubtn.png) no-repeat;
    color: #e5e3e3;
    display: block;
    line-height: 29px;
    max-height: 29px;
    max-width: 84px;
    padding-right: 3px;
    text-align: center;
    text-decoration: none;
    width: 25em
}

.navbar_item a:hover {
    background-position: 0 -29px;
    color: #fff;
    text-decoration: none
}

.news_info {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    list-style: none;
    width: 100%
}

.newsinfo li {
    float: left;
    margin-left: 5px
}

.news_cat,
.news_date {
    height: 12px;
    padding-left: 16px
}

.news_date {
    background: url(../images/newsinfo.png) no-repeat 0 0
}

.news_cat {
    background: url(../images/newsinfo.png) no-repeat 0 -23px
}

.news_cat_list > a {
    width: 100%
}

.news_cat_list > a:focus,
.news_cat_list > a:hover,
tr:focus,
tr:hover {
    background-color: #45caef !important
}

.news_cat:focus,
.news_cat:hover {
    cursor: pointer;
    text-decoration: underline
}

.news_infosep {
    background: url(../images/infosep.png) no-repeat 0 50%;
    height: 12px;
    width: 5px
}

.news_user,
.news_views {
    height: 12px;
    padding-left: 16px
}

.news_user {
    background: url(../images/newsinfo.png) no-repeat 0 -34px
}

.news_views {
    background: url(../images/newsinfo.png) no-repeat 0 -12px
}

.news_coms {
    background: url(../images/newscomm.png) no-repeat 0 5px;
    height: 27px;
    line-height: 27px;
    padding-left: 25px
}

.num_of_news,
.pmnum {
    background: #db2638;
    border-radius: 1em;
    height: 1.1em;
    line-height: 1.1em;
    position: absolute;
    width: 1.1em
}

.num_of_news {
    right: .3em;
    top: .2em
}

p {
    margin: 1em 0;
}

.pic {
    float: left;
    margin: 1.3em;
    width: 40%
}

table.pm tr:first-child td {
    background: linear-gradient(90deg,#3ea1cf 0,#70c2e1 50%,#3ea1cf 100%) no-repeat top center,linear-gradient(180deg,#55b1e0 0,#1d558c 100%) no-repeat bottom center;
    background-size: 100% 4%,100% 100%;
    color: #fff !important;
    font-weight: 600;
    text-align: center
}

table.pm tr:first-child td:first-child {
    border-radius: .15em 0 0 0
}

table.pm tr:first-child td:last-child {
    border-radius: 0 .15em 0 0
}

#pm-menu,
#pubnav {
    align-items: center;
    display: flex;
    flex-flow: row wrap
}

#pm-menu {
    justify-content: end;
    margin: .3em 0
}

.pm_status {
    margin: 1em 0
}

#pm-menu > a,
input[type=checkbox] {
    margin-right: .3em;
    text-decoration: underline;
}

/*---прогресс бар заполненности персональных сообщений---*/
.pm_progress_bar {
    background-color: #1f1f1f;
    border: 1px solid #1f1f1f;
    border-radius: .15em;
    height: 1.2rem;
    margin: .3em 0;
    width: calc(100% - 2px)
}

.pm_progress_bar > span {
    background-color: #45caef;
    color: #45caef;
    display: inline-block;
    height: 1.2rem;
    line-height: 1.2rem;
    overflow: hidden
}

.profile_avablock {
    grid-row-start: 1;
    grid-row-end: 2
}

#profile_btn > img {
    display: inline;
    margin: auto
}

.profile_edit {
    grid-column-start: 2;
    grid-row-start: 2
}

.profile_grid {
    display: grid;
    grid-template-columns: minmax(auto,150px) auto;
    grid-template-rows: auto auto;
    grid-gap: .3em .3em;
    place-content: stretch
}

.profile_userinfo {
    border-bottom: 2px ridge #8b8b8b;
    grid-column-start: 2
}

#pubnav {
    justify-content: space-between
}

#pubnav a {
    align-items: center;
    display: inline-flex
}

#pubnav a,
#pubnav a:focus,
#pubnav a:hover {
    text-decoration: none
}

#pubnav .next_btn:focus,
#pubnav .next_btn:hover,
#pubnav .prev_btn:focus,
#pubnav .prev_btn:hover,
.text a:focus,
.text a:hover {
    background-color: rgba(85,177,224,.6);
    border-radius: .15em
}

.pmnum {
    right: 0;
    top: .1em
}

#profile_btn,
#tag_list_btn,
#vote_form_btn,
.rating:hover {
    cursor: pointer
}

.rate_stars {
    background: url(../images/ratebg.png) no-repeat;
    width: 111px;
    z-index: 2
}

.rate_stars > div {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%
}

.rating {
    width: 90px;
    height: 20px;
    font-size: .9em
}

.red {
    color: #e85319
}

.right {
    margin-left: auto;
    margin-right: .15em
}

#sec_code {
    width: auto
}

.signature {
    margin: .3em auto 1em
}

.text p {
    display: block;
}

.text p > iframe {
    display: inline-block;
    height: 49vh;
    width: 100%;
}

.splitnewsnavigation {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    margin: .3em auto;
    text-align: center;
    padding: .5em 0 .15em
}

.ui-dialog-buttonset button.ui-button-delete {
    background-color: #f44336;
    border-color: #f44336;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}
.ui-dialog-buttonset button.ui-button-delete:hover {
    background-color: #db3a2f;
    border-color: #db3a2f;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}
.form-check-label {
    cursor: pointer;
}
.form-check-input {
    color: #0c5f7eed;
    flex-shrink: 0;
    width: 1.12rem;
    height: 1.12rem;
    margin: -0.188rem 0.625rem 0 0;
    appearance: none;
    background-color: transparent;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #0c5f7eed;
    vertical-align: middle;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%230c5f7eed' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%230c5f7eed'/%3e%3c/svg%3e");
}

.form-check-input[type=checkbox] {
    border-radius: .25rem;
}

.form-check-input[type=radio] {
    border-radius: 50%;
}

.unit-rating {
    background: url(../images/rating.gif) repeat-x;
    height: 20px;
    list-style: none;
    position: relative;
    width: 90px
}

.unit-rating li {
    float: left
}

.unit-rating li a,
.unit-rating li.current-rating {
    display: block;
    height: 20px;
    overflow: hidden;
    position: absolute;
    text-indent: 100%;
    white-space: nowrap
}

.unit-rating li a {
    text-decoration: none;
    width: 18px;
    z-index: 4
}

.unit-rating li a:hover {
    background: url(../images/rating.gif) 0 -20px;
    z-index: 4;
    left: 0
}

.unit-rating a.r1-unit {
    left: 0
}

.unit-rating a.r1-unit:hover {
    width: 18px
}

.unit-rating a.r2-unit {
    left: 18px
}

.unit-rating a.r2-unit:hover {
    width: 36px
}

.unit-rating a.r3-unit {
    left: 36px
}

.unit-rating a.r3-unit:hover {
    width: 54px
}

.unit-rating a.r4-unit {
    left: 54px
}

.unit-rating a.r4-unit:hover {
    width: 72px
}

.unit-rating a.r5-unit {
    left: 72px
}

.unit-rating a.r5-unit:hover {
    width: 90px
}

.unit-rating li.current-rating {
    background: url(../images/rating.gif) 0 -40px;
    z-index: 3
}

.ui-button {
    display: block
}

.ui-form > li,
.user_tab,
ul.usinf {
    list-style: none
}

ul.usinf > li {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: start
}

ul.usinf > li > :first-child {
    width: 30%
}

ul.usinf > li > * {
    margin: .15em 0
}

.screens {
    text-align: center
}

.searchtable > table > tbody > tr > td.search > div > table > tbody > tr:last-child > td.search > div {
    margin-top: 6px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center
}

select {
    word-break: break-all
}

select#category,
select#catlist {
    overflow: auto
}

input:not([type=checkbox]):not([type=radio]):not([type=range]),
select,
textarea {
    background-color: #fff;
    border: 1px solid #000;
    border-radius: .15em;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    padding: .15rem;
    text-overflow: ellipsis;
    width: calc(100% - .2em - 2px)
}

input:focus,
select:focus,
textarea:focus {
    outline: inherit
}

.soc_links {
    background-color: #262626;
    padding: .15em
}

td.search {
    display: inline
}

td.search fieldset,
td.search input:not([type=button]):not([type=checkbox]):not([type=radio]),
td.search select {
    min-width: 300px
}

td.search select:not(#catlist) {
    height: 1.6rem;
    overflow: auto
}

.title_spoiler svg {
    vertical-align: middle;
    margin-top: -4px;
    margin-right: 7px;
    height: 16px;
    width: 16px;
}

.timezoneselect option {
    padding: 0
}

.timezoneselect,
.ui-form select,
.wide {
    width: 19.5rem !important
}

.xfields {
    width: 19.5rem
}

.mce-accordion summary {
    cursor: pointer;
}

.self_delete_link {
    border: 0 none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    padding: 12px 27px;
    border-radius: 10px;
    outline: none;
    background-color: #f44336;
    color: #fff;
    text-shadow: 0 1px #333;
    text-decoration: none !important;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
    box-sizing: border-box;
    transition: all ease .1s;
}

.xfields input,
.xfields select,
.xfields textarea {
    border-radius: .3em;
    height: 1.6rem;
    margin: .3em 0;
    width: 100%
}

.form-group {
    margin: .3em auto;
    padding: .3em 0
}

.form-group input,
.form-group select {
    height: 1.6rem
}

.form-group .input_file {
    height: 2.15rem
}

.form-group input,
.form-group select,
.form-group textarea {
    border-radius: .3em;
    margin: .3em .3em .3em 0
}

.login_check {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: start
}

.login_check > button {
    border-radius: .3em;
    height: 1.6rem
}

.box_in {  
  display: flex;
  flex-flow: column;
}

.pm-box,
.pmlist {
    margin: 0 0 .3em;
    padding: 0
}

.related_news {
    margin-bottom: 2em;
    margin-top: .3em;
    padding-top: .3em
}

#sort,
.sort {
    align-items: center;
    display: inline-flex;
    flex-flow: row wrap;
    justify-content: space-between;
    list-style: none
}

.sort > li {
    margin: .3em
}

#story {
    max-height: 45px
}

.story_cont,
.story_icons {
    align-items: center;
    flex-flow: row wrap
}

.story_cont {
    display: inline-flex;
    justify-content: space-between;
    width: 100%
}

.story_icons {
    display: flex;
    justify-content: start
}

.story_list {
    width: 100%
}

.tab-pane {
    margin: 1em 0
}

.tab-pane table {
    margin: 0 auto
}

.tag_list span {
    border: 1px solid #000;
    border-radius: .15em;
    font-weight: 700;
    margin: .3em;
    padding: .3em
}

.tag_list span:focus,
.tag_list span:hover {
    background-color: #45caef;
    text-decoration: none
}

.tag_list span a:focus,
.tag_list span a:hover {
    text-decoration: none !important
}

td {
    padding: .1em;
    vertical-align: middle
}

.text {
    display: inline-block;
    margin: .3em 0;
    width: 100%
}

.text :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) a {
    text-decoration: underline
}

.title,
.title_full {
    background-size: contain,contain;
    height: 40px;
    padding-left: 45px;
    line-height: 40px;
    font-size: 1.2em;
    font-weight: 400;
    float: left;
    z-index: 1
}

.title {
    background: url(../images/ntitleleft.png) no-repeat 0 0,url(../images/newstitle.png) repeat-x;
    width: calc(100% - 156px)
}

.title_full {
    background: url(../images/ntitleleft.png) no-repeat 0 0,url(../images/ntitleright.png) no-repeat 100% 0,url(../images/newstitle.png) repeat-x;
    border-radius: .15em;
    width: calc(100% - 45px)
}

.title,
.title a,
.title_full,
.title_full a {
    color: #fff !important;
    display: block;
    overflow: hidden;
    text-decoration: none !important;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap
}

.title a:focus,
.title a:hover,
.title_full a:focus,
.title_full a:hover {
    color: #45caef;
    text-decoration: none !important
}

.title_small {
    background: #262626;
    border-radius: .15em;
    box-sizing: border-box;
    color: #fff;
    line-height: 1.2rem;
    padding: .3em;
    text-align: center;
    text-transform: uppercase;
    width: 100%
}

#tools,
#top_news {
    background: url(../images/newsep.png) repeat-x 0 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between
}

#tools {
    align-items: center;
    width: 100%
}

#top_news {
    align-items: stretch;
    padding-bottom: 1.25em
}

#top_news > a {
    display: block;
    margin: .3em
}

tr:nth-child(2n-1) {
    background-color: #f5f3f3
}

.user_block {
    background-color: #fff;
    border: .3em solid #1c507f;
    border-radius: .9em;
    margin-bottom: 1.5em;
    text-align: center
}

.user_block .avatar {
    border-bottom: 1px solid #262626;
    margin-bottom: .3em
}

.video {
    display: block;
    height: 450px;
    margin: .5em auto 1.5em;
    max-width: 800px;
    width: 100%
}

#dle-vote {
    margin: .3em 0
}

.vote {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: start
}

.vote > * {
    margin: .3em
}

.vote input {
    display: initial;
    width: auto
}

.vote > input {
    vertical-align: inherit
}

#vote_form_btn:focus,
#vote_form_btn:hover {
    text-decoration: underline
}

.vote_line {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: .2em
}

.pollprogress,
.voteprogress {
    background-color: #e7e7e7;
    border-radius: .1em;
    height: .5em;
    margin: .5em 0;
    overflow: hidden
}

.pollprogress span,
.voteprogress span {
    background-color: #ff485b;
    display: block;
    height: 100%;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap
}

.votetitle .votelist {
    padding: 5px;
    line-height: 18px
}

.tovote {
    padding-top: 10px
}

.vresult {
    background: 0 0;
    border: 0;
    color: #ababab;
    padding-top: 5px;
    cursor: pointer
}

.vtitle {
    text-indent: .15em
}

.dbtn {
    background: url(../images/votesides.png) no-repeat -160px 100%;
    line-height: 24px;
    overflow: hidden;
    padding: 0 10px
}

#q_search {
    align-items: start;
    display: flex;
    flex-flow: column nowrap;
    justify-content: start
}

#q_search > * {
    margin: .15em auto .15em 0
}

#q_search .btn {
    border: .15em solid;
    width: calc(100% - .2em - 2px)
}

.ui-dialog {
    background-clip: padding-box;
    box-shadow: 0 0 .5em rgba(0,0,0,.3);
    -moz-box-shadow: 0 0 .5em rgba(0,0,0,.3);
    -webkit-box-shadow: 0 0 .5em rgba(0,0,0,.3);
    outline: 0;
    overflow: hidden;
    position: absolute;
    z-index: 4
}

.ui-dialog-titlebar-close .ui-icon:before {
    content: '✖'
}

.ui-dialog .ui-dialog-titlebar,
.ui-dialog-buttonset {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between
}

.ui-dialog-buttonset {
    justify-content: end;
    margin: .3em auto
}

.highslide-controls ul>li,
.text li,
.ui-dialog-buttonset > * {
    margin: .3em
}

.ui-draggable .ui-dialog-titlebar {
    cursor: move
}

.ui-front {
    z-index: 1000
}

.ui-icon {
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap
}

.ui-widget,
.ui-widget button,
.ui-widget input,
.ui-widget select,
.ui-widget textarea {
    font-size: .9em
}

.ui-widget-content {
    background-color: #fff;
    border: 1px solid #dedede;
    color: #222
}

.ui-widget-header {
    background: -webkit-linear-gradient(top,#e9eaf2 0,#bcbdc5 81%,#b2b3bb 100%);
    background: -o-linear-gradient(top,#e9eaf2 0,#bcbdc5 81%,#b2b3bb 100%);
    background: -ms-linear-gradient(top,#e9eaf2 0%,#bcbdc5 81%,#b2b3bb 100%);
    background: -moz-linear-gradient(top,#e9eaf2 0,#bcbdc5 81%,#b2b3bb 100%);
    background: linear-gradient(to bottom,#e9eaf2 0,#bcbdc5 81%,#b2b3bb 100%);
    color: #262626;
    font-weight: 700
}

legend {
    font-size: larger;
    font-weight: 700
}

#dlevotespopupcontent > form {
    background: url(../images/newsep.png) repeat-x 0 100%;
    margin: .3em 0;
    text-align: justify
}

#dlevotespopupcontent table td:last-child {
    width: 85%
}

blockquote,
.quote {
    background-color: #FFF3E0;
    border: 1px solid #FF9800;
    border-left-width: .3rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
    padding: .5rem .7rem;
}

.block_left,
.block_left_40 {
    float: left;
    margin-right: .5em
}

.block_left_40 {
    width: 40%
}

.text img:not(.block_left):not(.block_left_40) {
    margin: .3em auto;
    max-width: 98%
}

.text li ul {
    text-indent: 1em
}

.highslide-controls a > span,
.highslide-controls > ul {
    align-items: center;
    display: flex;
    flex-flow: row nowrap
}

.highslide-controls > ul {
    background-color: #1f1f1f;
    border-radius: .3em;
    justify-content: center;
    list-style: none
}

.highslide-controls a > span {
    justify-content: space-between
}

.highslide-controls a > span:before {
    font-size: 1.5rem;
    margin: .3em
}

.highslide-previous > a > span:before {
    content: "\23EE"
}

.highslide-play > a > span:before {
    content: "\23F5"
}

.highslide-pause > a > span:before {
    content: "\23F8"
}

.highslide-next > a > span:before {
    content: "\23ED"
}

.highslide-move > a > span:before {
    content: "\23E3"
}

.highslide-full-expand > a > span:before {
    content: "\26F6"
}

.highslide-close > a > span:before {
    content: "\23CF"
}

.none_style_list {
    list-style: none
}

.font_ultrabig {
    display: block
}

.popup_cookie {
    display: none;
    position: fixed;
    width: auto;
    box-shadow: 0 0 10px 2px rgba(0,0,0,.3);
    z-index: 999999999;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1f1f1f
}

.popup_cookie > * {
    margin: .3em
}

.popup_cookie a:not(#cookie_acc_btn) {
    color: #fff;
    text-decoration: underline
}

.popup_cookie a:focus,
.popup_cookie a:hover {
    color: #45caef;
    text-decoration: none
}

.popup_cookie p {
    padding: .7em;
    text-align: center;
    width: 85%
}

#cookie_acc_btn:focus,
#cookie_acc_btn:hover {
    cursor: pointer
}

.pages {
    margin: .3em;
    text-align: center
}

.pages>a {
    text-decoration: underline
}

.pages > a:focus,
.pages > a:hover {
    background-color: rgba(85,177,224,.6);
    border-radius: .15em
}

.pages > span {
    font-weight: 600
}

.news_cat_list > a {
    margin: .15em
}

.social_icons {
    display: flex;
    flex-flow: column;
    margin-top: 3em;
    max-width: 1000px;
    position: absolute;
    visibility: hidden;
    width: 100%;
}

.social_icons > * {
    margin: .2rem .2rem .2rem auto;
    width: 1.5em
}

.social_icons svg,
.social_icons svg image {
    height: 1.5em;
		visibility: initial;
    width: 1.5em
}

.dlehidden {
    color: red;
}

/*--- Подсветка исходного кода ---*/
.hljs {
    background: #222830;
    border-radius: .3em;
    display: block;
    color: #f4841a;
    line-height: 1.2em;
    margin: .5em 0;
    padding: .5em;
    white-space: pre-wrap
}

.hljs-comment,
.hljs-quote {
  color: #a0a1a7;
  font-style: italic;
}

.hljs-doctag,
.hljs-keyword,
.hljs-formula {
  color: #a626a4;
}

.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
  color: #e45649;
}

.hljs-literal {
  color: #0184bb;
}

.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string {
  color: #50a14f;
}

.hljs-built_in,
.hljs-class .hljs-title {
  color: #c18401;
}

.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
  color: #986801;
}

.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
  color: #4078f2;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: bold;
}

.hljs-link {
  text-decoration: underline;
}

figure {
    margin: 0;
}

figure.align-left {
    float: left;
}

figure.align-right {
    float: right;
}

figure.image.align-center {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

figure.image figcaption {
	padding: 1rem;
    background-color: #fafafa;
    font-size: .8rem;
    caption-side: bottom;
    word-break: break-word;
    text-align: center;
}

figure.image.align-center figcaption {
	display: table-caption;
}

.image-bordered {
    border: 1px solid #ddd;
}

.image-shadows {
    box-shadow: rgb(9 30 66 / 25%) 0 4px 8px -2px, rgb(9 30 66 / 8%) 0 0 0 1px;
}

.image-padded {
    padding: 0.5rem;
}

.comments-user-profile {
    font-weight: bold;
    cursor: pointer;
    color: #3394e6;
}

.quote_link {
	float: right;
}

.quote_link svg {
	color: #6c838e;
	vertical-align: middle;
}