@media only screen and (max-width: 1400px) {
    /* Уменьшаем заголовки */
    .story .infoshort .title, .story .infofullall > .title {
    font-size: 280%;
}
}

@media only screen and (max-width: 1279px) {
	.story .infoshort .title, .story .infofullall > .title {
    font-size: 250%;
}
	.rightside { width: 240px; margin-left: -290px; }
	.showfull #content .rightside { width: 240px; margin-right: -290px; }
	#searchsuggestions { width: 240px; }

	.logotype .logo_title { font-size: 18px; }

	ol.topnews > li > a { padding-left: 45px; }
	ol.topnews > li > a:before {
		font-size: 1.2em;
		width: 28px; height: 28px;
		line-height: 20px;
		padding: 2px 0; margin-left: -45px;
	}

	#votes .btn-border { padding-left: 10px; padding-right: 10px; } 
}
@media only screen and (max-width: 1235px) {
	.midside {  }
	#top_menu { display: none; }
	
	body, .page { width: 100%; height: 100%; }
	
}

@media only screen and (max-width: 1130px) {
    .infoshort::before {
        display: none;
    }
    .story .infoshort .title {
        padding-top: 35%;
        height: auto;
    }
    .tegsshorts {
        height: auto;
    }
}
@media (min-width: 981px) { #search_btn { display: none; } }
@media (max-width: 980px) {
.story .infoshort .title {
        padding-top: 0%;
    }
    .fullinfo {
    grid-template-columns: 1fr ;
    grid-gap: 3rem;
}
    .avatar-pro {
    max-height: 400px;
}
    .story .infoshort .title, .story .infofullall > .title {
    font-size: 220%;
}
.showfull #content .next-prev { text-align: center; }
.showfull .comments, .showfull #content .next-prev a { float: none; }

	
	.logotype { float: left; }

	#login_pane { float: right; margin-top: 22px; }
	#search_btn {
		position: absolute;
		right: 0; top: 0; bottom: 0;
		width: 86px; height: 80px;
		padding: 0 25px;
		border: 0 none;
		cursor: pointer;
		background-color: transparent;
	}
	#search_btn > span {
		display: block;
		width: 32px; height: 32px;
		border: 2px solid #fff;
		border-radius: 50%;
		overflow: hidden;
		position: relative;
	}
	#search_btn > span > .icon {
		position: absolute;
		left: 50%; top: 50%;
		margin: -8px 0 0 -8px;
		width: 16px; height: 16px;
		fill: #fff;
		-webkit-transition: all ease .3s; transition: all ease .3s;
	}
	.search_open #search_btn > span > .icon-search,
	#search_btn > span > .icon-cross {
		opacity: 0; visibility: hidden;
		-webkit-transform: scale(0.3,0.3);
    	transform: scale(0.3,0.3);
	}
	.search_open #search_btn > span > .icon-cross,
	#search_btn > span > .icon-search {
		opacity: 1; visibility: visible;
		-webkit-transform: scale(1,1);
    	transform: scale(1,1);
	}
	#q_search {
		display: block;
		position: fixed;
		z-index: 23;
		left: 25px; right: 86px; top: 0;
		margin:0;
		width: auto; height: 80px;
		margin-top: -80px;
	}
	.q_search > input { background-color: #fff; }
	.logotype, #mobile_menu_btn, #login_pane, #q_search { -webkit-transition: all ease .3s; transition: all ease .3s; }
	.search_open .logotype, .search_open #mobile_menu_btn, .search_open #login_pane, #q_search { opacity: 0; visibility: hidden; }
	.search_open #q_search { margin-top: 0; opacity: 1; visibility: visible; }
	.q_search_adv { display: none; }

	.showfull .story { margin-top: 0; }
	.showfull .pagetools { position: relative; }
	.rightside, .tags_block,
	.showfull #content .rightside .banner_240,
	.midside .banner { display: none; }
	.showfull #content .rightside {
		float: none;
		width: auto;
		margin: 0; padding: 0;
		display: block;
	}
	.showfull .comments, .showfull #content .box { float: none; }

	.block { 
		background-color: #fff;
		margin-bottom: 25px;
		border-radius: 2px;
		position: relative;
		box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2); -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2);
	}
	.block > .title { padding: 4% 8%; margin-bottom: 0; }
	.block > .title:after { display: none; } 

	.relnews { margin: 0; border-top: 1px solid #efefef; }
	.relnews > li > a {
		border-bottom: 1px solid #efefef;
		padding: 4% 8%
	}
	.relnews > li > a .icon { margin: 3px 0 0 0; }
	.relnews > li > a > b, .relnews > li > a > span { margin-left: 27px; }

	.block_grey { padding: 4% 8%; margin-bottom: 25px; }
	.block_grey > .title { font-size: 1.2em; } 
	.vote_list { margin: 4% 0; }
}
@media only screen and (max-width: 850px) {
	.experement .boxshorts {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 2rem;
    padding: 1rem 0;
}
    .mainhed {
        padding-bottom: 2rem;
    }
}
@media only screen and (max-width: 700px) {
	.page_form__form .login_check > .btn {
		margin: 5px; font-weight: normal;
	}
}

@media only screen and (max-width: 750px) {
	.informer_list { margin-right: 0; }
	.informer_list li { float: none; width: auto; padding: 0; margin-bottom: 25px; }
	.informer_list li:last-child { margin-bottom: 0; }
    .boxshorts {
        grid-template-columns: 1fr;
    }
    .fut-contacts a {
        padding: 0;
    }
    .wrp.mainpad {
    min-height: 90vh;
    display: flex;
    flex-flow: wrap;
    }
    .prezentshort .boxshorts {
    grid-template-columns: 1fr;
    grid-gap: 2rem;
    padding: 1.5rem 0;
    border: 0px;
}
    .img-me-all .inimgme {
    width: 200px;
    height: 200px;
}
    .img-me-all::after {
    max-width: 90%;
}
    .story .is-me-all .title, .thfeed > h4.title {
        font-size: 250%;
    }
    .experement .boxshorts {
        grid-template-columns: 1fr;
        grid-gap: 2rem;
        padding: 1rem 0;
    }
    .fullinfo {
        grid-gap: 1rem;
    }
    .avatar-pro {
        max-height: 250px;
    }
    .futall {
        margin-top: 5rem;
        padding-bottom: 2rem;
    }
    .tegsshorts {
        width: 100%;
        margin-bottom: 1rem;
    }
    .logofut, .contactsmain {
    min-width: 0;
}
	.table_top_users, .pmlist { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
	table.userstop, table.pm { width: 900px; }
    .mainall {
        padding-top: 8rem;
        display: flex;
        flex-flow: wrap-reverse;
    }
    .logomain {
        display: none;
    }
    .mainhed {
        padding-bottom: 0rem;
    }
    .contactsmain > a {
    justify-content: flex-start;
}
    .fut-contacts {
    display: inline-block;
        flex-flow: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 2rem;
}
    .marg-main-fut {
    margin: 2rem auto 0;
}
    menu {
    width: 100%;
}
    menu > a {
    justify-content: flex-start;
    font-family: Jos;
    font-variation-settings: "wdth" 100, "wght" 300;
    font-size: 200%;
    padding: 0.3rem 0;
}
    menu > a:hover {
    font-family: Jos;
    font-variation-settings: "wdth" 100, "wght" 300;
    padding: 0.3rem 0;
        margin: 0;
    font-size: 200%;
    
}
    .story .infoshort .title, .story .infofullall > .title {
        font-size: 200%;
        line-height: 130%;
        margin-bottom: 0.5rem;
    }
    menu > a::before {
    left: -12%;
    width: 99%;
    background: url(/img/hover-mine-menu.png) center center no-repeat;
    background-size: auto 80%;
}
    
    menu > a:first-child::before {
        display: block;
        visibility: visible;
    opacity: 1;
    transform: scale(0.9) rotate(2deg);
    transition: 0.1s;
    }
    menu > a:hover::before {
        display: none;
    }
}
@media only screen and (max-device-width: 480px) {
	body { -webkit-text-size-adjust: 100%; }               
}

@media only screen and (max-width: 600px) {
	body, select, input, textarea, button { font-size: 13px/1.5; }
	.hblock, .mass_comments_action, #dofullsearch, .vote_more, .bb-pane { display: none; }
	.midside { padding: 0; }
	#content { padding: 15px 15px 0 15px; }
	.navigation { margin: 15px 0; }
	.box, .comment, .berrors { margin-bottom: 15px; }
	.box > .heading { padding: 20px; }
	.quote, blockquote { font-size: 1.1em; }

	.mejs-container { max-width: 100%; }
	.story video { max-width: 100%; }
	.story iframe { max-width: 100%; aspect-ratio: 16 / 9; }

	.ui-dialog { width: 100% !important; left: 0 !important; } 
	.ui-dialog-buttonset > .ui-button { margin: 2px; }

	#header, .header { margin: 0; height: 50px; }
	.header {
		
	}
	#header_menu {
		position: relative;
		height: auto;
		border-radius: 0;
		box-shadow: none; -webkit-box-shadow: none;
		z-index: 1;
	}
	
	.logotype {
		float: none;
		width: 100%; height: 50px;
		text-align: center;
		justify-content: center;
	} 
	.logo_title { display: none; }
	.logotype .icon-logo { width: 50px; height: 50px; }

	#mobile_menu_btn, #search_btn {
		width: 50px; height: 50px;
		padding: 0;
		border-right-width: 0;
	}
	
	#cat_menu {
		position: fixed;
		z-index: 0;
		margin: -60% 0 0 0;
		width: 80%;
		background: #0c5f7eed;
		left: auto; right: auto;
	}
	#cat_menu:after {
		content: "";
		position: fixed;
		width: 100%; height: 70px; margin-top: 50px;
		left: 0; right: 0; top: 0;
		z-index: 1;
		background-repeat: repeat-y;
		background-image: linear-gradient(top, #0c5f7eed 30%, rgba(51,148,230,0) 100%);
	}
	
	#cat_menu .soc_links { display: none; }

		.mobile-menu_open .header { left: auto; }
		.mobile-menu_open .page { margin-left: 0; }
		.mobile-menu_open #cat_menu { margin-top: 50px; }
		.mobile-menu_open #login_pane { opacity: 1; visibility: visible; }

		#login_pane {
			float: none;
			margin-top: 16px;
			text-align: center;
			visibility: hidden;
			opacity: 0;
			-webkit-transition: all ease .3s; transition: all ease .3s;
		}
		#login_pane .dropdown-form {
			position: fixed;
			top: 105px; left: 10px; right: 10px; bottom: 10px;
			overflow-x: hidden;
			overflow-y: auto;
			margin: 0; padding-bottom: 0;
			width: auto; min-width: 0;
			-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
		}
		.login_pane__foot, .login_form__foot { padding-bottom: 39px; }

	#search_btn { padding: 7px; }
	#search_btn > span {
		border-width: 0;
		width: 36px; height: 36px;
	}
	#q_search {
		left: 15px; right: 50px;
		height: 50px;
		padding: 0;
	}
	.q_search { margin-top: 7px; }

	.carousel { margin-bottom: 0; border-radius: 0; }
	.carousel-caption {
		position: absolute;
		left: 0; top: 0;
		width: 100%; height: 100%;
		margin: 0;
		display: table;
	}
	.carousel-caption_in {
		display: table-cell;
		vertical-align: middle;
		text-align: center;
		padding: 15px;
	}
	.carousel-caption .title { font-size: 1.2em;  }
	.carousel-caption .text { font-size: 1em; }

	.carousel-control { position: static; }
	.carousel-control_in { background: none; box-shadow: none; -webkit-box-shadow: none; }
	.carousel-indicators { display: none; }
	.carousel-control .up, .carousel-control .down { position: absolute; z-index: 12; left: 50%; margin-left: -21px; }
	.carousel-control .up { top: 0; }
	.carousel-control .down { bottom: 0; }
	.carousel-control .up .icon, .carousel-control .down .icon { fill: #fff !important; }

	.block, .block_grey { margin-bottom: 15px; }
	.block > .title, .block_grey, .relnews > li > a { padding: 20px; }

	.box_in { padding: 20px; }
	.story_icons {
		float: right;
		position: relative;
		padding: 0; margin: -4px 0 10px 10px;
	}
	.story > .meta { padding: 10px 20px; }
	.meta > ul.left > li { margin-right: 12px; }
	.meta > ul.right > li { margin-left: 12px; }
	.story .title { font-size: 1.15em; }
	.story .box_in > .text { font-size: 1em; }

	.story_date > * { display: none; }
	.story_date > time { display: inline; }
	.category { display: none; }

	.story_tools, .editdate { margin-top: 20px; }
	.shortstory .story_tools > .rate { float: right; }
	.story_tools > .btn { padding: 0; height: 36px; width: 36px; text-align: center; }
	.story_tools > .btn:after, .story_tools > .btn:before { content: ""; }
	.story_tools > .btn > b, .story_tools > .btn:after, .story_tools > .btn:before {
		display: inline-block;
		overflow: hidden;
		text-indent: -9999px;
		background-color: #fff;
		width: 4px; height: 4px;
		border-radius: 50%;
		margin: 11px 0 0 0;
		vertical-align: middle;
	}
	.story_tools > .btn > b { margin-left: 2px; margin-right: 2px; }

	.fixed_label {
		width: 10px; height: 18px;
		padding: 0;
		margin-top: 20px;
		background-color: #e85319;
	}
		.fixed_label:before { display: none; }
		.fixed_label:after {
			bottom: auto; left: 100%; top: 0;
			margin: 0 0 0 -3px;
			border: solid transparent;
			border-right-color: #fff;
			border-width: 9px 3px 9px 0;
		}

	.pagetools {
		margin-bottom: 0;
		border-radius: 0;
		border-width: 0 0 1px 0;
		height: 51px;
		padding-left: 50px;
	}
		.pagetools_back { width: 50px; height: 50px; }
		.sortbar, .breadcrumb_in {
			width: 100%;
			overflow-x: auto; overflow-y: hidden;
			-webkit-overflow-scrolling: touch;
		}
		.breadcrumb_in .over { display: block; overflow: visible; }
		.sortbar_in:after, .breadcrumb_in .over:after { content: ""; width: 25px; display: inline-block; }
	
	.page_next-prev { height: auto; float: none; background: none; box-shadow: none; -webkit-box-shadow: none; }
		.page_prev { float: left; }
		.page_next { float: right; }
		.page_prev, .page_next {
			position: relative;
			z-index: 1;
			border-radius: 8px;
			background-color: #fff;
			box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2); -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
		}
		.pages { text-align: center; }
		.navigation .pages > * {
			border-radius: 8px;
			background: #9c9c9c;
			color: #fff;
			box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2); -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
		}
		.navigation .pages > span { background: #3394e6; }
		.navigation .pages > span,
		.navigation .pages > *:first-child,
		.navigation .pages > *:last-child { display: inline-block; }
		.navigation .pages > span.nav_ext { text-indent: -9999px; background: none; box-shadow: none; width: 10px; min-width: 5px; padding: 0;}

	.addcomment .plus_icon { display: none; }
	.addcomment h3 { display: none; } 

	.comment { padding: 20px; padding-bottom: 60px; }
		.com_content > .title { font-size: 1.15em; }
		.comment .meta {
			position: absolute;
			bottom: 14px; left: 20px; right: 20px;
		}
		.com_info { margin: 0 0 20px 0; padding-left: 46px; }
		.com_user { display: block; }
		.comment .avatar { margin-left: -46px; margin-right: 0; }
		.comment .rate_like > a, .comment  .rate_like-dislike { border-color: transparent; }
		.comment .meta .mass, .reply a span { display: none; }

	#dle-comments-list > .comments-tree-list > li > .comments-tree-list { padding: 0 20px; }
	.comments-tree-list li ol li .comment {
		padding: 20px 0;
		padding-bottom: 60px;
	}
	.comments-tree-list .comments-tree-list .comment .meta { left: 0; right: 0; }
	.comments-tree-list > li > ol > li .comment:before { margin: 25px 0 0 -20px; }

	.contacts { font-size: 1em; }
		.contacts > .grid_1_2 { margin-top: 15px; padding-left: 30px; }
		.contacts > .grid_1_2 .icon { width: 16px; height: 18px; margin-left: -30px; }

	.form_submit > .btn-big { width: 100%; margin-top: 5px; }
		.form_submit .c-captcha { float: none; margin-bottom: 20px; }
		.c-captcha img, .c-captcha > input { width: 122px; }
		.combo_field { margin-bottom: 20px; }

	.page_form { padding-left: 0; padding-top: 50px; }
		.page_form__body { padding: 0 8%; }
		.page_form__logo .icon { margin-top: 0; }
		.page_form__back {
			left: 0;
			z-index: 999;
			width: 100%; height: 50px;
			padding: 0;
		}
		.page_form__back > .icon { top: 50%; left: 0; margin: -10px 0 0 8%; }
		.page_form__back:after { display: none; }

		.page_form__inner > .title { font-size: 24px; }

	.stats_head > ul { font-size: 1em; }

	#pm-menu { margin-bottom: 20px; }
		#pm-menu a {
			padding: 10px 0;
			color: inherit;
			display: block;
			border-top: 1px solid #efefef;
			text-decoration: none !important;
		}
		#pm-menu a:hover { color: #0c5f7e; }

	.userinfo_top { padding-bottom: 50px; }
	.user_tab > li { display: block; margin-right: 0; }
		.user_tab > li > a { font-size: 11px; letter-spacing: 0; }

	.ui-c1, .ui-c2 { width: 100%; margin: 0; display: block; }
	.ui-c1 { font-size: .9em; }

	.footer_menu { padding: 15px; }
		.foot_menu { margin: 0; }
		.foot_menu > li { float: none; width: auto; padding: 0; }
		.foot_menu > li:first-child > b { border-top-width: 0; }
		.foot_menu > li > b {
			cursor: pointer;
			margin: 0; padding: 10px 0;
			font-weight: normal;
			border-top: 1px solid #d5d5d5;
		}

		.foot_menu > li > b i {
			display: block;
			float: right;
			width: 12px; height: 2px;
			position: relative;
			margin: 10px 0;
			background-color: #353535;
		}
		.foot_menu > li > b.collapsed i, .foot_menu > li > b.collapsed i:after { background-color: #3394e6; }
		.foot_menu > li > b.collapsed i:after {
			content: "";
			display: block;
			margin: -5px auto 0 auto;
			height: 12px; width: 2px;
		}
		.foot_menu > li .collapse { display: none; }
		.foot_menu > li .collapse.in { display: block; }
		.foot_menu > li nav { padding: 10px; padding-top: 0; }

	
}

.dle-alert ul {
	padding-left: 0px;
	list-style: none;
}
.dle-alert ul li {
	  padding-top: 5px;
}
.dle-alert ul li:first-child {
	  padding-top: 0px;
}
p {
    margin-block-start: .7em;
    margin-block-end: .7em;
}

.grecaptcha-badge {
    display: none;
}

fieldset .soc_links {
    display: block;
}

fieldset .soc_links > a {
	margin-right: 10px;
}

.dle-popup-mediaupload {
	font-size: 13px;
}
#mediaupload-delete {
    background-color: #ef5350;
}
.dle-popup-mediaupload.ui-dialog .ui-dialog-buttonpane {
    padding: 10px;
}

.file-preview-card, .mediaupload-box {
	background-color: #fff;
}

.dle-popup-mediaupload .mediaupload-insert-params {
    background-color: #ededed!important;
    border-top: 1px solid #ededed!important;
}

.upload-options .checkbox-inline {
	padding-left: 0!important;
}

.dle-popup-mediaupload textarea, .dle-popup-mediaupload input[type="text"] {
  height: auto;
  line-height: 1;
  padding: 5px;
}
.dle-popup-mediaupload select {
	line-height: 1;
}
.less {
    box-shadow: rgb(0 0 0 / 6%) 0px 0px 0px 1px, rgb(0 0 0 / 40%) 0px 10px 20px -5px;
}

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

#check-all-box {
	margin-bottom: .4rem;
}
.searchtable .form-check-label {
    display: block;
    margin-bottom: .5rem;
}

.checkbox, .dle-popup-mediaupload .checkbox {
	margin: .6rem 0 .2rem 0 !important;
}
.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%;
}

