@import url('//forum.cxem.net/adv/images/microtip.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
	box-sizing: border-box;
}
*:not(table, tr, td) {
	border:0;
	outline:0;
	/*margin: 0;*/
	padding: 0;
	background: transparent;
	vertical-align: baseline;
}
/*---------------/// firstile \\\---------------*/
html, body, div, span, object, iframe, h2, h3, h4, h5, h6,  blockquote, pre,
a, address, cite, code, del, em, font, strong, sub, sup, b, u, i,
dl, dt, dd, fieldset, form, label, legend{margin:0; padding:0; border:0; outline:0; background:transparent;}
html{height: 100%}
body{height: 100%; color:#494949; font:13px/1.4 Arial, Helvetica, sans-serif; background:#EFEFEF;}
h1 { text-shadow:1px 1px 2px #8C8C8C; color:#515151;}
h2 { margin:0 0 15px 0; font-size:20px; }
h3 { margin:0 0 15px 0; font-size:16px; }
h4 { margin:15px 0 10px 0; font-size:14px; }
ol { margin-bottom:5px; margin-left:15px;}
ul {
  margin-bottom: 5px;
  padding-left: 2rem;
}
li::marker {
  color: gray;
}
ol li, ul li { margin-bottom:3px; }
a { color:#208EBC; }
a:hover { text-decoration:none; color:#208EBC;}

.wrap {
    position: relative;
    max-width: 1700px;
    min-width: 1000px;
    margin: 0 auto;
}

.mobile-header{ display:none; }
.mobile-header img{ display:block; width:100%; height:auto; }

/* По умолчанию скрыть мобильные элементы на десктопе */
.hamburger-fixed{ display: none; }
#mobileNavPanel{ display: none; }

#header, #header .left, #header .right{position:relative; height:267px; margin:0 0 14px 0; background:#0B0B0B url(/images/bg_header.png) repeat-x 0 0; z-index:150;}
	#header .left{position:absolute; top:0; left:0; width:17px; background-position:0 -268px;}
	#header .right{position:absolute; top:0; right:0; width:17px; background-position:-18px -268px; z-index:3;}
	#header .schem{position:absolute; top:13px; left:12px; width:958px; height:199px; background:url(/images/bg_schem.webp) no-repeat 0 0;}
	#header .logo{display:block; position:absolute; top:52px; left:45px; width:160px; height:121px; color:#FFF;}
	#header .round{position:absolute; top:70px; left:40px; width:77px; height:77px; background:url(/images/round.png) no-repeat 0 0;}
	#header .hend{
	 position:absolute;
	 top:0;
	 right:0;
	 width:317px;
	 height:267px;
	 background:url(/images/bg_hend.webp) no-repeat 0 0;
	 z-index:4;
	}
	#header .name{position:absolute; top:159px; right:323px; width:393px; height:60px; background:url(/images/name.png) no-repeat 0 0;}
	#header .buttons{position:absolute; top:30px; right:314px; width:1000px; height:24px; white-space:nowrap;}
		#header .lang{float:right; margin:0 0 0 19px;}
		#header .search{float:right; position:relative; margin:0 0 0 10px;}
			#header .search .submit{float:right;}
				#header .search .submit button{margin:0; padding:0; border:0; background:none;}
			#header .search .field{float:right; width:145px; height:24px; background:url(/images/bg_search.png) no-repeat 0 0;}
				#header .search .field input{position:absolute; top:4px; left:8px; width:130px; margin:0; padding:0; border:0; outline:none; background:none;}
		#header .links{float:right; width:500px;}
			#header .links .leftCorner, #header .links .rightCorner, #header .links li, #header .links a, #header .links span{display:block; float:right; height:24px; background:url(/images/bg_links.png) no-repeat 0 0;}
			#header .links .leftCorner{width:12px; background-position:0 -25px;}
			#header .links .rightCorner{width:11px; background-position:-12px -25px;}
			#header .links ul{float:right; margin:0; padding:0px;}
				#header .links li{float:right; margin:0; padding:0; list-style:none; background-repeat:repeat-x; line-height:1.5}
					#header .links a{float:none; padding:0 0 0 10px; height:24px; background-position:0 -75px;}
					#header .links li.last a, #header .links li.first span{padding:0; background:none;}
						#header .links span{float:none; height:19px; padding:0 10px 0 0; padding-top:1px!important; background-position:100% -50px; cursor:pointer;}
							#header .links img{vertical-align:bottom;}
    #header .nav{position:relative; top:220px; left:0; height:41px; display:flex; align-items:center; justify-content:space-between; padding:0 20px;}
        #header .nav ul{margin:0; padding:0;}
            /* Flex-раскладка: меню слева, профиль/уведомления справа */
            #header .nav > ul.menu{display:flex; align-items:center; gap:8px;}
            #header .nav > ul.enter{display:flex; align-items:center; gap:12px;}
            #header .nav li{position:relative; padding:0; list-style:none;}

                #header .nav .item{display:block; position:relative; height:40px; z-index:10; padding:0 8px; border-radius:6px; transition:background .2s ease, box-shadow .2s ease;}
                    #header .nav a > span{float:left; display:flex; align-items:center; height:40px; padding:0;}
                    /* Современный hover-эффект вместо фоновой картинки */
                    #header .nav .menu li:hover > a,
                    #header .nav .current > a{ background: rgba(255,255,255,0.06); box-shadow: 0 0 0 1px rgba(255,255,255,0.25) inset, 0 6px 16px rgba(0,0,0,0.35) inset; }
                    #header .nav .menu b, #header .nav .menu .item i{float:left; width:18px; height:49px;}
                    #header .nav .current span, #header .nav li:hover a > span{background:none;}
                    #header .nav .current b, #header .nav .menu li:hover b{background:none;}
                    #header .nav .current i, #header .nav .menu li:hover i{background:none;}

                /* Текстовые ярлыки меню вместо спрайтов */
                #header .nav .menu-label {
					display: inline-block;
					padding: 0 10px;
					color:#FFF;
					font-family:'Roboto', Arial, Helvetica, sans-serif;
					font-size: 1.24rem;
					font-weight: 400;
					line-height: 40px;
					text-transform: uppercase;
				}
                #header .nav .menu-label::after{content:""; position:absolute; left:12px; right:12px; bottom:8px; height:2px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.85), rgba(255,255,255,0)); transform: scaleX(0); transform-origin: 50% 100%; transition: transform .25s ease;}
                #header .nav .menu li:hover .menu-label::after,
                #header .nav .current .menu-label::after{transform: scaleX(1);}    
				#header .subnav{display:none; position:absolute; /* top:46px; */ left:0; min-height:50px; white-space:nowrap; z-index:9;}
				#header li:hover .subnav{display:block;}
				#header li.open > .subnav{display:block;}
				#header .subnav-bg{
		  				position:absolute;
		  				top:0;
		  				left:0;
		  				width:100%;
  					height:100%;
  					background:#030303;
  					opacity:0.8;
  					border-radius:2px;
				}
					#header .subnav ul{position:relative; margin:0; padding:5px 0 5px 0;}
						#header .subnav li{float:none; margin:0; font-size:12px;}
							#header .subnav li a{display:block; width:auto; height:24px; padding:0 10px; color:#FFF; line-height:24px; font-weight:700; text-decoration:none;}
                            
                            #header .subnav li:hover, #header .subnav li a:hover {
								background: rgba(255,255,255,0.4);
								border-radius:4px;
							}
							#header .subnav em{position:absolute; top:0; right:10px; margin:1px -5px 0 0; font-size:10px; font-style:normal;}
							#header li:hover .subnav .subnav{display:none; position:absolute; top:-5px; left:100%;}
							#header .subnav li:hover .subnav{display:block;}
							#header .subnav .subnav .subnav-bg{background:#2E2E2E;}
	#header .social_shapka {position:absolute; right: 420px; top: 75px;}

/* Кнопка профиля */
#header .enter .profile-btn{
	display:flex;
	align-items:center;
	gap:8px;
	height:40px;
	padding:2px 10px;
	cursor:pointer;
}
#header .enter .profile-btn:hover{
	background: rgba(255,255,255,0.16); 
	box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 6px 16px rgba(0,0,0,0.35) inset;
	border-radius: 5px;
}
#header .enter .profile-icon {
	width:30px;
	height:30px;
	display:block;
}
#header .enter .authed .profile-icon {
	width:24px;
	height:24px;
	display:block;
}
#header .enter .profile-name{
	font-family:'Roboto', Arial, Helvetica, sans-serif; 
	font-weight:500;
}
#header .enter .dropdown-caret{width:10px; height:10px; opacity:0.8;}


	#main .column{float:left; width:32%; margin-left:1%;}
		#main .column .title, #main .column .title .left, #main .column .title .right{position:relative; top:0; height:48px; font:32px/1 'Arial Narrow'; color:#FFF; background:#05070C url(/images/bg_title.png) repeat-x 0 0;}
			#main .column .title .left{position:absolute; left:0; width:3px; background-position:0 -49px;}
			#main .column .title .right{position:absolute; right:0; width:3px; background-position:-4px -49px;}
			#main .column .title img{float:left; position:relative; height:26px; margin:12px 0 0 20px;}
			#main .column .section .bottom, #main .column .section .bottom .right{position:absolute; bottom:-6px; left:0; width:100%; height:6px; padding:0 1px 0 0; background:url(/images/bg_section.png) no-repeat 0 0;}
			#main .column .section .bottom .right{position:absolute; top:0; left:auto; right:0; width:10px; background-position:100% 0;}

#main .column .section {
	position:relative;
	min-height:100px;
	margin:0 0 23px 0;
}

#main .column .title-section {
    position: relative;
    height: 48px;
    border-radius: 5px 5px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(to bottom, #686868, #000);
}

#main .column .title-text {
	padding-left: 15px;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 1px 1px 1px rgb(255 255 255 / 40%);
	font-family: 'Roboto';
    font-stretch: 75%;
	flex-grow: 1;
	line-height: 1;
}

#main .column .top-btn {
	position: absolute;
    top: 0;
    display: inline-block;
    padding: 2px 6px;
    background: linear-gradient(to bottom, #ffcc00 0%, #ff8800 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 0px 0px 5px 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.6);
	text-shadow: 1px -1px 1px rgba(0,0,0,0.3);
    text-transform: uppercase;
}

#main .column .add-btn {
    right: 55px;
}

#main .column .add-btn:hover, #main .column .rss-btn:hover {
    background: linear-gradient(to top, #ffcc00 0%, #ff8800 100%);
}

#main .column .solder {
    position: absolute;
    top: 0;
    right: 10px;
    width: 36px;
    height: 41px;
    background: url('/images/solder_iron.webp') no-repeat center top;
    background-size: contain;
}

#main .icon-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px;
  flex-wrap: wrap;
}

#main .icon-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

#main .icon-bar a:hover {
  transform: scale(1.1);
  background-color: rgba(0,0,0,0.05);
}

#main .icon-bar img {
  width: 50px;
  max-height: 50px;
}

.posts {
	position:relative;
	overflow:hidden;
	background: white;
	padding:18px 15px 0 15px;
	border:1px solid #B6B6B6;
	border-radius: 0px 0px 5px 5px;
}

#footer {
  clear: both;
  position: relative;
  height: 124px;
  background: #050404 url(/images/bg_footer.png) repeat-x 0 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-top: 20px;
}
	#footer .copyright{position:absolute; top:0; left:1%; width:32%; border-top:4px solid #3D3D3D; font-size:12px;}
		#footer .copyright .cnt{padding:30px 0 0 44px;}
			#footer .copyright strong, #footer .copyright strong a{color:#FFF; font-weight:300;}
	#footer .stat {position:absolute; top:34px; right:1%;}
	#footer .social {position:absolute; right: 130px; top: 20px;}
		#footer .social img {padding-left:6px}
	#footer .adv_text {position:absolute; right: 150px; top: 84px; color:white}
	#footer .adv_text a{color:white; font-weight: bold;}
	#footer .banner_pod {position:absolute; right: 35%; top: 22px; }


/* .posts .articles{text-align:justify;} */
	.posts .post {
		position:relative;
		overflow:hidden;
		min-height:15px;
		margin:-1px 0 0 0;
		padding:10px 0 10px 18px;
		border-top:1px dotted #B0A7A7;
		background:url(/images/arrow.gif) no-repeat 5px 15px;
	 }

	.posts .preview {
      float: right;
      margin: 4px 5px 0 6px;
      box-shadow: #a3a3a3 3px 3px 5px;
      max-width: 120px;
      max-height: 100px;
      width: auto;
      height: auto;
      object-fit: contain;
    }
		.posts .post p{margin:0;}
		.posts .post .date{float:left; margin:0 10px 0 0; padding:0 3px; color:#FFF; font-size:11px; background:#20584A;}
		.posts .post .comm{float:right; margin:0 0 0 10px;}
		.posts .post .txt{position:relative; overflow:hidden;}
		.posts .post h3{position:relative; margin:0 0 3px 0; font-size:12px;}
		.posts .post .author {
		  position: relative;
		  overflow: hidden;
		  font-size: 11px;
		  font-weight: 700;
		  color: grey;
		}

#index_in_articles .ipsImage {
    max-width: 100%;
    height: auto;
}

.cont_left, .cont_right, .cont {
	border: 1px solid #b6b6b6;
	background: #fff;
	border-radius: 5px;
}
.cont_left, .cont_right {
	width: 215px;
	min-height: 300px;
	margin: 20px 0;
	padding: 5px;

}
.cont_left {
	float: left;
}

.cont_right {
	float: right;
}
.cont {
	position: relative;
	min-height: 300px;
	margin:20px 230px;
	padding: 18px 15px 15px 15px;
}
.clearfix:after {
	content: ".";
	display: block;
	height: 1px;
	width: 1px;
	clear: both;
	visibility: hidden;
}

.header{text-align:center;}
a.chems { color:#208EBC; text-decoration:none; font-weight: bold;}
a.chems:hover{ text-decoration:underline; font-weight: bold;}
.pub_date {
    margin-left: 0.5rem;
    font-size: 0.65rem;
    color: #989898;
    border: 1px solid #c9c9c9;
    border-radius: 5px;
    background-color: #f5f5f5;
    padding: 1px 3px;
}

.article-filter{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:20px 0;padding:15px 20px;background:#fff;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,0.05);border:1px solid #eaeaea}
.article-filter .filter-group{display:flex;align-items:center}
.article-filter label{font-weight:500;color:#333;margin-right:8px}
.article-filter input[type="date"]{padding:4px 10px;border:1px solid #ddd;border-radius:4px;outline:0;font-family:inherit;color:#444;transition:border-color .2s}
.article-filter input[type="date"]:focus{border-color:#208EBC}
.article-filter .years{display:flex;gap:8px;flex-wrap:wrap}
.article-filter button{border:1px solid #ddd;background:0 0;cursor:pointer;font-family:inherit;font-size:13px;transition:all .2s}
.article-filter .year-btn{padding:5px 10px;background-color:#f0f2f5;color:#555;border-radius:5px;font-weight:500}
.article-filter .year-btn:hover{background-color:#e4e6e9;color:#222;transform:translateY(-1px)}
.article-filter .year-btn.active{background-color:#208EBC;color:#fff;box-shadow:0 2px 5px rgba(32,142,188,.3)}
.article-filter .reset-btn{color:#999;padding:6px 10px;font-size:12px;margin-left:auto;border:1px solid transparent;border-radius:6px;background:transparent;transition:all .2s}
.article-filter .reset-btn:hover{color:#666;background:#f5f5f5}
.article-filter .reset-btn.active{color:#d32f2f;background:#ffecec;border-color:#ffecec}
.article-filter .reset-btn.active:hover{background:#ffdada;border-color:#ffcdd2}
@media (max-width:768px){.article-filter{flex-direction:column;align-items:flex-start;gap:12px}.article-filter .reset-btn{margin-left:0;width:100%;text-align:center;border:1px solid #eee}}


ul.enter { position:relative; z-index:100; margin-right: 20px; display:flex; align-items:center; gap:12px; }

ul.enter li.myname {
	 cursor: pointer;
	 white-space: nowrap;
}

.authed {
	color:#FFF;
	font-size: 16px;
	background-color: rgb(0, 0, 0);
	border: 1px solid rgb(104, 104, 104);
	border-radius: 5px;
	margin-top: 0;
	height:40px;
}

.notification {
	position:relative; 
	padding: 6px;
	margin-right: 10px;
	margin-top: 2;
}
.notification_count {
	background: #20DA2F;
	color: #fff;
	border: 2px solid #2F3136;
	border-radius: 5px;
	font-weight: bold;
	font-size: 13px;
	padding: 1px 3px;
	position: absolute; 
	top: 1px;
	right: -7px;
	z-index: 12;
}
.notification_box {
	background: #fff; 
	box-shadow: 0 0 10px #000;
	position:absolute;
	top: 100%;
	right: 100%;
	width: 400px;
	margin-right: -100px;
	display: none;
}
.notification img,
.notification_count {
	cursor: pointer;
}
.notification_box .title {
	background: #208EBC;
	color: #fff;
	padding: 10px;
}
.notification_box .title span {
	font-weight: bold;
	font-size: 16px;
}
.notification_box .title div {
	float: right;
}
.notification_box .title a {
	color: inherit;
	text-decoration: none;
}
.notification_box .rec {
	position: absolute;
	border: 10px solid #208EBC;
	border-left-color: transparent;
	border-right-color: transparent;
	border-top-color: transparent;
	top: -17px;
	right: 74px;
}
.notification_box .progress {
	width: 168px;
	height: 20px;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	position: absolute;
}
.notification_box .feedlist {
	overflow-y: auto;
	height: 180px;
}
.notification_box .feedlist > div {
	padding: 10px;
	font-size: 12px;
	color: #444;
}
.notification_box .feedlist > div + div {
	border-top: 1px solid #ccc;
}
.notification_box .feedlist > div .date {
	font-size: 11px;
	color: #777;
}
.notification_box .feedlist .new,
.notification_box .feedlist .system {
	background: #FF8915;
	padding: 3px 5px;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	float: right;
}
.notification_box .feedlist .system {
	background: #FF15AC;
}
.notification_box .feedlist .new_feed {
	background: rgba(255, 137, 21, 0.05);
}

lihover, ul.enter li.myname:hover{ background: #6ad1a4; box-shadow: 0 0 25px 0 #6ad1a4; }
ul.enter li img.new { position:absolute; left: -7px; top: -7px; }
ul.enter li img { position: relative; top: 3px; }


#smallMenu { position: absolute; top: 100%; right: 0; width: 200px; z-index: 151; border: 1px solid #fff; border-radius: 5px 0 5px 5px; display: none; }
#smallMenu > div { margin: 0; border-bottom: 1px solid #b2b2b2; position: relative;}
#smallMenu > div:last-of-type { border-bottom: none; }
#smallMenu > div a{ font-size: 12px; display: block; line-height: 24px; background-color: #000; color: #fff; padding-left: 32px; text-decoration: none; }
#smallMenu > div a > div, div.spr { display: inline-block; width: 24px; height: 24px; background-image: url('/images/icons/spr_user_smenu.png'); background-repeat: no-repeat; margin-right: 5px; position: absolute; left: 4px;}
#smallMenu > div a:hover { background-color: #208ebc; }
#smallMenu > div a img { float: left; margin-right: 5px; }

.paginator { margin: 10px 0; text-align: center;  color: #999; }
a.page { padding: 4px 8px; color: #999; text-decoration: none; border-radius: 5px; font-weight: bold; }
a.page:hover { background: #ececec; }
span.selected { background: #208EBC; padding: 4px 8px; border-radius: 5px; color: #fff; font-weight: bold; }

.fullpost {
	padding: 10px;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background: #fbfbfb;
	position: relative;
	min-height: 145px;
}

.fullpost:hover {
	box-shadow: 0 0 20px 0 #ccc;
}
.fullpost .preview{
	max-height: 110px;
}

.fullpost img {
	float :right;	
}

	.authorsimilar {
		opacity: 0.7;
		position: relative;
		z-index: 0;
	}
	.authorsimilar ul {
		list-style: none;
		margin: 0;
		padding: 0;
		display: inline-block;
	}
	.authorsimilar ul li {
		display: inline-block;
		margin-left: 10px;
	}
	.authorsimilar ul li:not(:last-of-type):after {
		content: ',';
	}
	ul.tags {
		margin-top: 10px !important;
	}
	.subscribe img {
		float: none;
	}
	.ratingBar {
		position: absolute;
		font-size: 10px;
		right: 5px;
		bottom: 5px;
	}
	.ratingBar img {
		position: relative;
		top: 4px;
		margin: 0 2px;
		z-index: 1;
	}


.articlebottom {
	z-index: 20;
	position: absolute;
	left: 0;
	background: #1F1F1F;
	border-top: 1px solid #b2b2b2;
	color: #fff;
	border-radius: 0 0 5px 5px;
	width: 100%;
	bottom: 0;
	line-height: 35px;
	font-size: 11px;
}
.articlebottom img {
	position: relative;
	top: 5px;
	margin: 0 0 0 15px;
	padding: 0;
}
.articlebottom p {
	margin:2px 5px;
	padding: 0;
}

a#buildadd, a.buildadd {
	background: linear-gradient(top, #08D220, #088918);  
	border-radius: 5px;
	text-decoration: none;
	color: #fff;
	padding: 3px 5px;
	margin-left: 10px;
}
a#buildadd {
	font-size: 10px;
}

a#buildcount, span#buildcount {
	padding: 3px 5px;
	background: #fff;
	color: #000;
	text-decoration: none;
	border-radius: 5px;
	font-size: 10px;
	margin: 0 3px;
}

span#donate {
	cursor: pointer;
}

div#blockbackground {
	position: fixed;
	background: #000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 999999999;
	opacity: 0.5;
}

div#donate {
	width: 500px;
	margin: 0 auto;
	position: fixed;
	top: 40%;
	left: 50%;
	background: #fff;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #b6b6b6;
	margin: auto -250px auto -250px;
	z-index: 999999999999;
}

div#donate p {
	font-size: 14px;
	color: #444;
	margin: 10px 3px;
	line-height: normal;
}

div#donate img {
	float: right;
}

#favArticle { cursor: pointer; }

div.tabs {
	text-align: right;
	border-radius: 5px 5px 0 0;
	border-top: 1px dotted #B0A7A7;
	border-left: 1px dotted #B0A7A7;
	border-right: 1px dotted #B0A7A7;		
	padding: 5px 0;
	display: inline-block;
}
div.tabs span.tab {
	padding: 5px;
}
div.tabs span.tab:not(:last-of-type) {
	border-right: 1px dotted #B0A7A7;		
}
div.tabs span.currenttab {
	font-weight: bold;
	color: #444;	
}

div.tabs span.tab:not(.currenttab):hover {
	cursor: pointer;
	color: #388a88;
}

.mix_NAME {
	color: #208EBC;
	font-size: 16px;
}
.mix_DESC {
	font-size: 13px;
}
.mix_PRICE {
	font-size: 12px;
	color: #808080;
}
.mix_MERCH {
	color: #1A8099;
	font-size: 10px;
}

div.preview {
	position: relative;
}
.video_time {
	background: #000;
	position: absolute;
	color: #fff;
	right: 0;
	bottom: 0;
	text-align: right;
	padding: 2px 4px;
	font-size: 10px;
}

.cont a[rel="lightbox"] > img,
.main_content a > img {
	cursor: zoom-in;
}
.cont img {
	width: auto;
	max-width: 100%;
}
.tool-tip img {
	max-width: none;
}
.label_6plus {
	margin-left: 1em;
	color: #999;
	font-size: .6rem;
	background-color: #333;
	border-radius: 3px;
	padding: .15rem .4rem;
}

@media (max-width: 1000px){
	.cont_right, .cont_left {
		display: none;
	}
	.cont {
		margin: 20px;
	}
	#header .hend{
		display: none;
	}

	/* Спрятать большую шапку, показать фиксированную кнопку бургер-меню */
	.wrap{ min-width: 0; }
	#header{ display: none; }
	.mobile-header{ display:flex; align-items:center; justify-content:flex-start; max-height:100px; background:#000; position: relative; }
	.mobile-header img{  width:100%; max-width:770px; object-fit: contain; object-position: left center; }
	.hamburger-fixed{ display:flex; position:absolute; top:50%; transform: translateY(-50%); left:8px; z-index:200; width:42px; height:38px; align-items:center; justify-content:center; background:#000; color:#fff; border:1px solid #666; border-radius:6px; box-shadow:0 2px 8px rgba(0,0,0,.4); flex-direction: column; }
	.hamburger-fixed span{ display:block; width:26px; height:4px; background:#fff; margin:3px 0; border-radius: 2px; }

    .mobile-logo {
        position: absolute;
        left: 60px;
        top: 0;
        bottom: 0;
        z-index: 201;
        display: flex;
        align-items: center;
    }
    .mobile-header .mobile-logo img {
        width: auto;
        max-width: 100%;
        height: 65%;
        max-height: 60px;
        object-fit: unset;
        object-position: unset;
    }

    /* Баннер в мобильной версии */
    .rek_plashka.index_top, .rek_plashka.cxem_top {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .rek_plashka.index_top img, .rek_plashka.cxem_top img {
        max-width: 100%;
        height: auto;
    }

	/* Off-canvas панель */
    #main {
        display: flex;
        flex-direction: column;
    }

	#main .column {
		float: none;
		width: 100%;
		margin-left: 0;
		margin-bottom: 0;
        display: contents;
	}

	#main .icon-bar img{width: 40px}

    /* Порядок отображения секций на мобильных */
    #sec-about { order: 1; }
    #sec-articles { order: 2; }
    #sec-news { order: 3; }
    #sec-video { order: 4; }
    #sec-forum { order: 5; }
    #sec-comments { order: 6; }
    
    #sec-about, #sec-articles, #sec-news, #sec-video, #sec-forum, #sec-comments {
        margin-bottom: 20px;
    }

    /* Скрыть кнопки RSS и Добавить для новостей и форума на мобильных */
    #main #sec-news .top-btn, #main #sec-forum .top-btn {
        display: none;
    }

    #mobileNavPanel{ display:block; position:fixed; top:0; bottom:0; left:0; width:82%; max-width:380px; background:#111; color:#fff; z-index:250; overflow-y:auto; padding:12px; transform:translateX(-100%); transition:transform .25s ease; }
	#mobileNavPanel.open{ transform:translateX(0); }
	#mobileNavPanel .mobile-nav-header{ display:flex; align-items:center; justify-content:center; padding:8px 0 12px; border-bottom:1px solid rgba(255,255,255,.15); }
	#mobileNavPanel .mobile-nav-header img{ max-height:60px; height:auto; width:auto; }
    #mobileNavPanel .mobile-search{ position:relative; display:block; margin:10px 0 12px; }
    #mobileNavPanel .mobile-search input[type="search"]{ width:100%; padding:8px 36px 8px 10px; border-radius:6px; border:1px solid #666; background:#0d0d0d; color:#fff; }
    #mobileNavPanel .mobile-search::after{ content:""; position:absolute; right:10px; top:50%; transform:translateY(-50%); width:18px; height:18px; background-repeat:no-repeat; background-size:18px 18px; opacity:.9; pointer-events:none; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23cfcfcf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>"); }
	#mobileNavPanel .mobile-menu, #mobileNavPanel .mobile-enter{ list-style:none; margin:0; padding:12px 0; }
	#mobileNavPanel .mobile-menu li a{ display:block; color:#fff; text-decoration:none; padding:10px 8px; font-size:16px; }
    #mobileNavPanel li.has-sub > a{ position:relative; padding-right:32px; }
    #mobileNavPanel li.has-sub > a::after{ content:""; position:absolute; right:10px; top:50%; transform:translateY(-50%) rotate(45deg); width:10px; height:10px; border-right:2px solid #cfcfcf; border-bottom:2px solid #cfcfcf; transition:transform .25s ease, border-color .25s ease; }
    #mobileNavPanel li.has-sub.open > a::after{ transform:translateY(-50%) rotate(225deg); border-color:#208EBC; }
	#mobileNavPanel .subnav{ display:block; position:static; background:none; max-height:0; overflow:hidden; transition:max-height .3s ease; }
	#mobileNavPanel li.open > .subnav{ max-height:500px; }
    #mobileNavPanel .subnav ul{ padding:4px 0 4px 10px; list-style:none; }
	#mobileNavPanel .subnav li a{ font-size:14px; opacity:.95; }
    #mobileNavPanel .mobile-menu li a em{ display:none !important; }
    #mobileNavPanel .subnav li a em{ display:none !important; }
    #mobileNavPanel a em{ display:none !important; }

    /* Мобильный профиль-меню */
    #mobileNavPanel .mobile-enter {
        background-color: #1a1a1a; /* Чуть светлее основного фона #111 */
        border-top: 1px solid #333; /* Горизонтальная черта */
        margin-top: 10px; /* Отступ от основного меню */
        padding-top: 10px;
    }
    
    #mobileNavPanel .mobile-enter .mobile-link { 
        display:flex; 
        align-items:center;
        padding: 8px 15px; /* Уменьшено вертикальное расстояние с 12px до 8px */
        margin:0; 
        color:#d1d1d1; 
        text-decoration:none; 
        background:transparent; 
        border-radius:6px; 
        box-shadow:none;
        font-size: 15px;
        font-family: 'Roboto', sans-serif;
    }
    
    #mobileNavPanel .mobile-enter .mobile-link:hover { 
        background:rgba(255,255,255,0.05); 
        color: #fff;
    }
    #mobileNavPanel .mobile-enter .mobile-icon-utf { 
        display:inline-block; 
        width:24px; 
        text-align: center;
        margin-right: 12px;
        font-size: 18px;
        line-height: 1;
    }
    
    #mobileNavPanel .mobile-enter .gologin {
        display: flex;
        align-items: center;
        padding: 8px 15px;
        color: #d1d1d1;
        cursor: pointer;
        font-size: 15px;
        font-family: 'Roboto', sans-serif;
        border-radius: 6px;
        transition: background .2s ease;
    }
    #mobileNavPanel .mobile-enter .gologin:hover {
        background: rgba(255,255,255,0.05);
        color: #fff;
    }
    #mobileNavPanel .mobile-enter .gologin .profile-icon {
        width: 24px;
        height: 24px;
        margin-right: 12px;
        opacity: 0.8;
    }
    #mobileNavPanel .mobile-enter .gologin:hover .profile-icon {
        opacity: 1;
    }
    
    #mobileNavPanel .mobile-enter .badge {
        margin-left: auto;
        background: #FF4444;
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        padding: 2px 8px;
        border-radius: 10px;
    }

    .mobile-profile-separator {
        height: 1px;
        background: #333;
        margin: 10px 0; /* Уменьшено с 15px до 10px */
    }

    .mobile-profile-block {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 15px 10px 15px; /* Уменьшено с 10px до 5px сверху */
        margin-top: 5px; /* Уменьшено с 10px до 5px */
    }

    .profile-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .avatar-circle {
        width: 40px;
        height: 40px;
        background: #6c5ce7;
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: bold;
        text-transform: uppercase;
    }

    .user-details {
        display: flex;
        flex-direction: column;
    }

    .profile-name {
        color: #fff;
        font-size: 16px;
        font-weight: 500;
    }

    .profile-status {
        color: #208EBC;
        font-size: 13px;
    }

    .logout-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        transition: background 0.2s;
    }

    .logout-btn:hover {
        background: rgba(255,255,255,0.1);
    }

    .logout-btn img {
        width: 20px;
        height: 20px;
        opacity: 0.7;
    }
    
    .logout-btn:hover img {
        opacity: 1;
    }

	/* Адаптация подвала */
	#footer {
		height: auto;
		padding: 12px;
		background-image: none;
		background-color: #050404;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	#footer .copyright,
	#footer .stat,
	#footer .social,
	#footer .adv_text,
	#footer .banner_pod {
		position: static;
		width: auto;
		margin: 0;
		padding: 0;
		float: none;
	}
	#footer .copyright {
		width: 100%;
		border-top: none;
		/* padding: 10px 0; */
		font-size: 12px;
		order: 4;
	}
	#footer .copyright .cnt { padding: 0; }
	#footer .social { order: 1; margin-bottom: 10px; }
	#footer .social img { max-width: 50px; height: auto; padding: 0 5px; }
	#footer .adv_text { order: 2; margin-bottom: 10px; position: static; }
	#footer .stat { order: 3; margin-bottom: 10px; }
	#footer .banner_pod { display: block; order: 0; margin-bottom: 15px; }
	#footer .banner_pod img { max-width: 100%; height: auto; }
 	.desktop-only-text { display: none; }

    /* Article Bottom */
    .articlebottom {
        position: static;
        width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
        height: auto;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background: #1F1F1F;
    }
    .articlebottom > div {
        float: none !important;
        width: 100%;
        margin: 5px 0;
        text-align: left;
    }
    .articlebottom img {
        margin: 0 5px 0 0;
    }

    /* Comments Fixes */
    div#comments {
        margin: 10px 0 !important;
        padding: 0 10px;
        width: 100%;
    }
    div#comment_form {
        width: 100% !important;
        box-sizing: border-box;
    }
    .haventcom {
        width: 100% !important;
    }
    div#comments div.line {
        display: block !important;
        width: 100%;
        margin: 5px 0;
    }
    div#comments div.line div.label {
        display: block !important;
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }
    div#comments div.line div.inputs {
        display: block;
        width: 100%;
    }
    div#comments input[type="text"], 
    div#comments input[type="email"], 
    div#comments textarea {
        width: 100% !important;
        box-sizing: border-box;
        max-width: 100%;
    }
    div#comments div.caption {
        margin: 10px 0 !important;
    }
    div#comments div#toolbar {
        margin: 10px 0 !important;
    }
    /* Fix for inline style on submit button container */
    div#comments form > div:nth-of-type(3) {
        margin: 10px 0 !important;
        width: 100% !important;
    }
    
    /* Comment List Fixes */
    div#commentslist {
        margin-right: 0 !important;
    }
    div#commentslist .comment div.com_content {
        margin-left: 0;
        margin-top: 10px;
    }
    div#commentslist .comment div.avatar {
        float: none;
        display: block;
        text-align: left;
        margin-bottom: 5px;
    }

    /* Mobile Comment Form Image Fixes */
    .comment-books, 
    .comment-books-additional {
        position: static !important;
        width: 100% !important;
        max-height: none !important;
        top: auto !important;
        right: auto !important;
        padding: 10px 0;
        text-align: center;
        display: block;
    }
    
    .cbooks-picture {
        float: none !important;
        display: inline-block;
        margin: 0 auto;
    }
    
    .cbooks-picture img {
        max-width: 100% !important;
        height: auto !important;
    }

    .comment-books-additional {
        margin-top: 10px;
    }
}


@media (max-width: 600px){
	.cont {
		margin: 20px 0px;
		padding: 15px 10px;
	}
     
     .articlebottom {
         width: calc(100% + 20px);
         margin-left: -10px;
         margin-right: -10px;
     }
}


.cont a, .main_content a {
    word-wrap: break-word;
}
