body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin:0;padding:0;}table {border-collapse:collapse;border-spacing:0;}fieldset,img {border:0;}address,caption,cite,code,dfn,em,th,var {font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:normal;}q:before,q:after {content:'';}abbr,acronym {border:0;} html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, sub, sup, tt, var,dl, dt, dd, ol,ul,li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;line-height:100%;font-family:inherit;vertical-align:baseline;}:focus {outline:0;}body {line-height:1;color:black;background:white;}ol, ul {list-style:none;}table {border-collapse:separate;border-spacing:0;}caption, th, td {text-align:left;font-weight:normal;}blockquote:before, blockquote:after,q:before, q:after {content:"";}blockquote, q {quotes:"" "";}a{outline:none;border:none;text-decoration:none}
textarea,p,h1,h2,h3,h4,a,span,div,li,table td{font-family:system-ui, sans-serif;color:#000;font-size:15px;line-height:150%}
img{vertical-align:top}
.unselectable {-webkit-touch-callout: none;/* iOS Safari */-webkit-user-select: none;/* Chrome/Safari/Opera */-khtml-user-select: none;/* Konqueror */-moz-user-select: none;/* Firefox */-ms-user-select: none;/* Internet Explorer/Edge */user-select: none;/* Non-prefixed version, currently not supported by any browser */}


.oh {overflow:hidden}
.fl {float:left}
.fr {float:right}
.cl_b {clear:both}
.push {cursor:pointer}
.fixed{position:fixed}
.rel  {position:relative}
.hide {display:none}
.hide_strong {display:none!important}
.unvis{visibility:hidden}
.abs  {position:absolute}
.block{display:block}


.lyW{width:100%; margin:0 auto}
.ly{padding:0 2%; position:relative}
.page{width:96%; background:#fff; margin:0 auto; padding:20px 2%; position:relative; overflow:hidden}


.btn{display:inline-block;min-width:40px;padding:0 14px;height:36px;line-height:36px;cursor:pointer;text-align:center;background-color:transparent;color:#1f2937;border:1px solid #1f2937;border-radius:999px;font-size:13px;font-weight:500;box-sizing:border-box;transition:all 0.25s ease;}
.btn:hover{background-color:#1f2937;color:#fff;border-color:#1f2937;text-decoration:none;box-shadow:0 2px 6px rgba(0,0,0,0.05);}



.h1-wrap{margin:0 auto 20px}
.h1-wrap.center{text-align:center; margin:0 auto 30px}
.h1-wrap.center h1, .h1-wrap.center .h1{display:inline-block}



h1,.h1{display:block;font-size:23px;font-weight:400}
h2,.h2{display:block;font-size:19px;font-weight:400}
h3,.h3{display:block;font-size:17px;font-weight:400}
h4,.h4{display:block;font-size:15px;font-weight:400}
h5,.h5{display:block;font-size:10px}
h6,.h6{display:block;font-size:8px}
a{color:#000}
h1 a.admin{visibility:hidden}
h1:hover a.admin{visibility:visible}
h2 span,.h2 span{font-size:16px}
h1 span,.h1 span{font-size:16px}



.textFormat{}
.textFormat h2{margin:30px 0 15px}
.textFormat h2:first-child{margin-top:0}
.textFormat h3{margin:20px 0 10px}
.textFormat h4{margin:20px 0 10px;border-bottom:1px solid #ccc}
.textFormat p{}
.textFormat a{text-decoration:underline;color:#264f9e}
.textFormat .backlight.y{background:#ffee72;padding:0 3px}
.textFormat ul {list-style-type:circle;margin:10px 0 15px}
.textFormat ul.num {list-style-type:decimal}
.textFormat ul li{margin:5px 0 0 30px}
.textFormat strong{font-weight:600}
.textFormat .accentWrap{padding:10px;margin:20px 0;background:#f9f9f9;border:1px solid #eee;box-shadow: 0 0 10px #eee}
.textFormat .quote{display:block;padding:15px;border:2px solid #ccc;margin:25px 0;background:#fafafa}
.textFormat .quote.red{border-left:2px solid #d81515}
.text_format .hl{display:block; height:1px; border-bottom:1px solid #ddd; margin:20px 0}
.text_format img{width:100%;display:block;margin:20px auto;}
.text_format video{width:100%; margin:20px auto}
.text_format .table_wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; -ms-overflow-style:none; }
.text_format .table_wrap::-webkit-scrollbar { display:none; }
.text_format .table_wrap table { width:max-content; min-width:100%; }
.text_format table {width: 100%; border:1px solid #eee; border-spacing:1px; border-collapse: collapse;margin-top:20px; text-align: left;}
.text_format table td {border: 1px solid #eee; padding:8px; text-align: center; vertical-align: middle; transition: background-color 0.3s ease; }
.text_format table th{border: 1px solid #ccc; padding:8px; text-align: center; vertical-align: middle; transition: background-color 0.3s ease; background-color: #f1f1f1; font-weight:500}
.text_format table td:hover {background-color: #f1f1f1}


#system_msg{z-index:9999;left:0; top:0; max-width:250px;  background:rgba(255,50,50,.8); padding:7px 10px}
#system_msg div{margin-bottom:10px; font-size:13px; line-height:16px; font-weight:700;color:#fff; font-family:arial,tahoma,sans-serif}
#system_msg div:last-child{margin-bottom:0}

input{height:28px;padding:2px;font-size:12px;-webkit-appearance:none;border:1px solid #eee;border-radius:3px;background-color:#fff;color:#555;box-sizing:border-box}
textarea{height:28px;padding:2px;font-size:12px;-webkit-appearance:none;border:1px solid #eee;border-radius:3px;background-color:#fff;color:#555;box-sizing:border-box}
select{height:30px;padding:2px;font-size:12px;-webkit-appearance:none;border:1px solid #eee;border-radius:3px;background-color:#fff;color:#555;box-sizing:border-box}
select.picked{background:#ffe96a}



#breadcrumbs{margin:20px auto 40px; display: flex; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none}
#breadcrumbs::-webkit-scrollbar {display:none;}
#breadcrumbs .content{display: flex; white-space: nowrap;}
#breadcrumbs li{margin: 0 5px;}
#breadcrumbs li,
#breadcrumbs li *{color:#666;font-size:12px}
#breadcrumbs li a span{color:#000}

.load{width:50px; height:50px; margin:30px auto; position:relative; overflow:hidden; background:#fff url('/api/in/images/load.gif') center center no-repeat}


#ui-datepicker-div{z-index:99999!important;}

/*
   Логи подруженные модулем AJAX
*/
.ajax_logs .log{overflow:hidden;background:#fafafa;border:1px solid #eee;margin:3px auto;padding:0 10px}
.ajax_logs .log div{height:20px;line-height:20px;cursor:pointer}
.ajax_logs .log div:hover{height:auto}
.ajax_logs .log .date{float:left;width:10%;font-size:9px}
.ajax_logs .log .user{float:left;width:30%;font-size:10px;color:#888}
.ajax_logs .log .msg{float:left;width:58%;font-size:10px}


#popup-loader-wrap{bottom:0; left:0; top:0; right:0; position:fixed; z-index:999; background:rgba(0,0,0,.2)}
#popup-loader-wrap .load{}
#popup-wrap{bottom:0; left:0; top:0; right:0;  position:fixed; z-index:99999; overflow:auto; background-color:rgba(0,0,0,.6); -webkit-overflow-scrolling: touch;-webkit-transform: translateZ(0px)}
#popup-wrap #popup{height:auto; max-width:980px; margin:20px auto; position:relative; overflow:hidden}
#popup-wrap #popup .w{height:auto; padding:0 20px 30px; max-width:980px; margin:20px auto; position:relative; background:#fff; overflow:hidden; border:1px solid #666666; box-shadow:0px 2px 14px rgba(0,0,0,.6);-moz-box-shadow:0px 2px 14px rgba(0,0,0,.6);-webkit-box-shadow:0px 2px 14px rgba(0,0,0,.6)}
#popup-wrap #popup .popup-close{position:absolute; width:20px; height:20px; display:block; top:15px; right:15px; background:url('/uploads/images/common/icons/close.png') center center no-repeat;background-size:contain}
#popup-wrap #popup .popup-title{display:block;font-size:20px;line-height:30px;padding:10px 0;font-family:'Open Sans',sans-serif;font-weight:300;color:#333;box-shadow:0 20px 40px -20px #ccc}
#popup-wrap #popup .popup-body{padding:30px 10px}


#popup.request_form{max-width:1250px!important}

#popup.request_form #rf_cl{}
#popup.request_form #form{}
#popup.request_form #form .msg{display:none;background:#fff;margin:10px 0; padding:20px;border:2px solid #b76d6d}
#popup.request_form #form h3{text-align:right}
#popup.request_form #form .line{overflow:hidden;margin-bottom:15px}
#popup.request_form #form .line .cl{}
#popup.request_form #form .line .cl p{line-height:24px}
#popup.request_form #form .line .cr{}
#popup.request_form #form .line input{width:80%;border:1px solid #eee; height:35px; padding-left:5px; box-sizing:border-box;background:#fafafa;border-radius:5px}
#popup.request_form #form .line input.alert{border-top:1px solid red; background:#ffc6b5}
#popup.request_form #form .line select{width:80%;border:1px solid #eee; height:35px; padding-left:5px; box-sizing:border-box;background:#fafafa;border-radius:5px}
#popup.request_form #form .line textarea{width:100%;border:1px solid #eee; height:100px; padding:10px; box-sizing:border-box;background:#fafafa;border-radius:5px}
#popup.request_form #form .line input.alert{border-top:2px solid red; background:#ffc6b5}
#popup.request_form .btn_wrap{overflow:hidden;margin-top:10px}
#popup.request_form .btn_wrap .btn{float:right;width:150px}




#popup.auth_form{max-width:95%!important;margin-top:40px!important}
#popup.auth_form .w{padding:0!important}
#popup.auth_form .popup-body{padding:40px 5%!important;overflow:hidden!important;background:#fafafa!important}
#popup.auth_form input{width:100%;margin-top:10px;height:40px;line-height:40px;padding-left:10px}
#popup.auth_form input.alert{background:#ffc6b5}
#popup.auth_form .msg .load{margin:0 auto!important}
#popup.auth_form form .msg{margin-top:40px;box-shadow: 0 0 5px #929292;padding:20px 10px}
/* authorization */
#popup.auth_form .authorization{padding:20px 50px;margin-bottom:50px;background:#fff;border-radius:4px;box-shadow:0 0 1px 0 #666}
#popup.auth_form .authorization:hover{box-shadow:0 0 1px 0 #333}
#popup.auth_form .authorization form{margin-top:20px}
#popup.auth_form .authorization form a.drop{display:block;margin-top:8px;text-decoration:underline;font-size:11px;line-height:12px;color:#264f9e}
#popup.auth_form .authorization form .final{overflow:hidden;margin-top:30px}
#popup.auth_form .authorization form .final .l{float:left;width:60%}
#popup.auth_form .authorization form .final .l input{margin-top:0;width:80%;border:1px solid #cd7f4f}
#popup.auth_form .authorization form .final .r{float:right;width:35%}
#popup.auth_form .authorization form .final .r .btn{width:100%;height:40px;line-height:40px}
/* registration */
#popup.auth_form .registration{padding:20px 50px 50px;background:#fff;border-radius:4px;box-shadow:0 0 1px 0 #666}
#popup.auth_form .registration:hover{box-shadow:0 0 1px 0 #333}
#popup.auth_form .registration h3{display:block;text-align:center;margin-bottom:0;font-weight:400}
#popup.auth_form .registration .title{display:block;text-align:center;font-size:12px;line-height:18px;color:#666}
#popup.auth_form .registration form{margin-top:20px}
#popup.auth_form .registration form .client_type{overflow:hidden;margin:20px 0 10px -5%;width:110%}
#popup.auth_form .registration form .client_type div{float:left;width:45%;box-sizing:border-box;padding:10px 5px;margin:10px 0 0 5%;background:#fafafa;border:1px solid #eee;cursor:pointer}
#popup.auth_form .registration form .client_type div.act{background:#fff879;border:1px solid #ffffff}
#popup.auth_form .registration form .client_type div p:first-child{display:block;text-align:center;font-size:11px;line-height:18px;color:#666;text-decoration:underline}
#popup.auth_form .registration form .client_type div p:last-child{margin-top:5px;text-transform:uppercase;display:block;text-align:center;font-size:11px;line-height:18px;color:#333}
#popup.auth_form .registration form .final{overflow:hidden;margin-top:30px}
#popup.auth_form .registration form .final .l{float:left;width:60%}
#popup.auth_form .registration form .final .l input{margin-top:0;width:80%;border:1px solid #cd7f4f}
#popup.auth_form .registration form .final .r{float:right;width:35%}
#popup.auth_form .registration form .final .r .btn{width:100%;height:40px;line-height:40px}


#popup.storage_associate{max-width:95%!important;margin-top:40px!important}
#popup.storage_associate .main_content .images{}
#popup.storage_associate .main_content .images .item{overflow:hidden;float:left;width:49%;padding:0.5%;box-sizing:border-box;margin:10px 0.5% 0;background:#f1f1f1;border:1px solid #eee}
#popup.storage_associate .main_content .images .item img {float:left;width:35%;cursor:pointer}
#popup.storage_associate .main_content .images .item .inf{float:right;width:55%}
#popup.storage_associate .main_content .images .item .inf input{width:100%;box-sizing:border-box;height:22px;margin-top:2px}
#popup.storage_associate .main_content .files{margin-top:40px; border-top:1px solid #eee; padding-top:30px}
#popup.storage_associate .main_content .files .item{overflow:hidden;float:left;width:49%;padding:0.5%;min-height:100px;box-sizing:border-box;margin:10px 0.5% 0%;background:#f1f1f1;border:1px solid #eee}
#popup.storage_associate .main_content .files .item .image {float:left;width:10%;cursor:pointer;display:block;overflow:hidden;margin:5px 0;background-repeat:no-repeat;box-sizing:border-box;background-position:center center;background-size:contain;height:70px}
#popup.storage_associate .main_content .files .item .inf{float:right;width:85%}
#popup.storage_associate .main_content .files .item .inf p{font-size:9px; max-height:18px; line-height:18px;overflow:hidden}
#popup.storage_associate .main_content .files .item .inf input{width:100%;box-sizing:border-box;height:22px;margin-top:2px}
#popup.storage_associate .main_content .item.act{background:#fff4a4;border:1px solid #eee}
#popup.storage_associate .chapters{margin-top:50px; border-top:1px solid #eee; padding-top:50px}
#popup.storage_associate .chapters, #popup.storage_associate .chapters a{font-size:20px;line-height:100px;text-align:center; font-weight:300}
#popup.storage_associate .chapters a{font-weight:400; padding-bottom:5px; border-bottom:1px solid #aaa;text-transform:uppercase}
#popup.storage_associate .db {margin-top:50px}
#popup.storage_associate .db input.search_input{width:98%;margin:20px 0.5% 50px;height:40px;font-size:18px;line-height:40px;border-radius:0;background:#fff;padding:0 .5%;border:none;box-sizing:border-box;box-shadow:0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08)}
#popup.storage_associate .db input.search_input:focus{background:#f1f1f1;border:1px solid #ccc}
#popup.storage_associate .db .content .btn{margin:50px 0 20px}
#popup.storage_associate .db .results{overflow:hidden}
#popup.storage_associate .db .images .results .item{overflow:hidden;float:left;width:32%;padding:0.5%;box-sizing:border-box;margin:10px 0.5% 0;background:#f1f1f1;border:1px solid #eee}
#popup.storage_associate .db .images .results .item img {width:100%;cursor:pointer}
#popup.storage_associate .db .files .results .item{overflow:hidden;float:left;width:32%;padding:0.5%;min-height:75px;box-sizing:border-box;margin:10px 0.5% 0%;background:#f1f1f1;border:1px solid #eee}
#popup.storage_associate .db .files .results .item .image {float:left;width:10%;cursor:pointer;display:block;overflow:hidden;margin:5px 0;background-repeat:no-repeat;box-sizing:border-box;background-position:center center;background-size:contain;height:70px}
#popup.storage_associate .db .files .results .item .inf{float:right;width:85%}
#popup.storage_associate .db .files .results .item .inf p{font-size:9px}
#popup.storage_associate .db .results .item.act{background:#fff4a4;border:1px solid #eee}





#footer{background:#111827;color:#d1d5db;padding:30px 20px;font-size:13px;font-weight:400}
.footer-wrap{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center}
.footer-info{display:flex;flex-direction:column;gap:4px}
.footer-links{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}
.footer-links a{color:#9ca3af;text-decoration:none;transition:color 0.2s}
.footer-links a:hover{color:#fff}
.footer-brand{font-weight:600;color:#fff}
.footer-rights{font-size:12px;color:#9ca3af}




#page {padding:70px 0 50px}



#main-page {background:#e3eaf1;padding:30px 0}



.carousel { position: relative; width: 100%; padding:15vh 0 20vh; height:60vh; display: flex; justify-content: center; align-items: center; perspective: 1000px; overflow: hidden; }
.carousel__item { position: absolute; width: 400px; height: 600px; background-size: cover; background-position: center; border-radius: 10px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); transition: transform 0.5s ease, opacity 0.5s ease; cursor: pointer; }
.carousel__item--left { transform: translateX(-200px) translateZ(-50px) rotateY(10deg) scale(0.85); opacity: 0.7; z-index: 1; }
.carousel__item--center { transform: translateX(0) translateZ(0) rotateY(0deg) scale(0.9); opacity: 1; z-index: 2; }
.carousel__item--right { transform: translateX(200px) translateZ(-50px) rotateY(-10deg) scale(0.85); opacity: 0.7; z-index: 1; }
.carousel__nav { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 3; cursor: pointer; }
.carousel__nav--left { left: 0; }
.carousel__nav--right { right: 0; }
.carousel__overlay { position: absolute; top:30%; left: 50%; padding:20px;background:rgba(0,0,0,.5); border-radius:10px;transform: translateX(-50%); color: white; text-align: center; z-index: 4; }
.carousel__overlay h1 { font-size:24px; font-weight:600; color:#fff}
.carousel__overlay p { font-size:18px; margin-top:20px; color:#fff}



#main-page #cl .author {padding:10px; text-align:center;}
#main-page #cl .author img{ width:100px; border-radius:20px; margin-bottom:10px; }
#main-page #cl .author img.inst {width:50px; margin-bottom:10px; border-radius:0}
#main-page #cl .author h3 { margin-bottom:10px; }
#main-page #cl .author form {width:70%;margin:20px auto 0;padding-top:20px; border-top:1px solid #eee}
#main-page #cl .author form input{width:100%;height:40px;padding:5px 5px 5px 10px}


#main-page #cl #post_similar {margin-top:50px;}
#main-page #cl #post_similar h3 {margin-bottom:15px;}
#main-page #cl #post_similar div a{display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid #eee;}
#main-page #cl #post_similar div img {flex:0 0 60px; height:60px; object-fit:cover; border-radius:4px;}
#main-page #cl #post_similar div p {flex:1; margin:0;}



#main-page #cr .tags-cloud {display:flex; flex-wrap:wrap; gap:10px}
#main-page #cr .tags-cloud a {display:flex; align-items:center; padding:6px 10px; border-radius:20px; background:#f3f4f6; color:#333; text-decoration:none; font-size:13px; border:1px solid transparent; transition:all 0.2s ease; box-shadow:0 1px 2px rgba(0,0,0,0.05);}
#main-page #cr .tags-cloud a img {width:22px; height:22px; object-fit:cover; border-radius:50%; margin-right:6px;}
#main-page #cr .tags-cloud a p {margin:0; font-size:13px; line-height:1;}
#main-page #cr .tags-cloud a:hover,
#main-page #cr .tags-cloud a.act {background:#2563eb; color:#fff; border-color:#1e40af; box-shadow:0 2px 6px rgba(37,99,235,0.3);}



#main-page #content {display:flex; flex-direction:column-reverse}
#main-page #content #cl {margin-top:30px}
#main-page #content #cr {}


#main-page #cr #index .results {margin-top:50px}
#main-page #cr #index .results .post {margin-top:30px; border:1px solid #eee; border-radius:8px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,0.05); transition:box-shadow 0.3s ease; }
#main-page #cr #index .results .post:hover { box-shadow:0 4px 16px rgba(0,0,0,0.1); }
#main-page #cr #index .results .post .post-img { position:relative; }
#main-page #cr #index .results .post .post-img img { width:100%; height:auto; display:block; }
#main-page #cr #index .results .post .post-gradient { position:absolute; bottom:0; left:0; width:100%; height:80px; background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1)); }
#main-page #cr #index .results .post .post-content {padding:5px 20px 15px; background:#fff; }
#main-page #cr #index .results .post .post-content p.annotation {margin-top:20px}
#main-page #cr #index .results .post .post-content p a {text-decoration:underline}

#main-page #cr #index .results .post .tags {display:flex; flex-wrap:wrap; gap:6px; background:#fff;margin:10px auto}
#main-page #cr #index .results .post .tags a {background:#f1f1f1; border:1px solid #eee;padding:4px 6px; border-radius:5px; color:#fff; cursor:pointer; transition:background 0.3s ease; }
#main-page #cr #index .results .post .tags a img{width:25px;display:inline-block}
#main-page #cr #index .results .post .tags a p{font-size:13px;margin-left:3px;display:inline-block}
#main-page #cr #index .results .post .tags a.act { background:#abc7d4; }

#main-page #cr #index .results .post .post-meta { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #eee; padding-top:10px; color:#777; }
#main-page #cr #index .results .post .post-meta .views {}
#main-page #cr #index .results .post .post-meta .views img{width:15px}
#main-page #cr #index .results .post .post-meta .share { background:#eee; border:none; padding:4px 8px; border-radius:4px; cursor:pointer; transition:background 0.3s ease; }
#main-page #cr #index .results .post .post-meta .share:hover { background:#ddd; }


#main-page #cr #index #paging{text-align:center;margin:60px auto;overflow:hidden}
#main-page #cr #index #paging a{background:#fff;display:inline-block;padding:6px;margin:0 4px;border:1px solid #999;border-radius:50%;width:36px;height:36px;line-height:36px;text-align:center}
#main-page #cr #index #paging a:hover,
#main-page #cr #index #paging a.active{background:#f1f1f1!important}





#main-page #cr #item  {margin-top:50px}
#main-page #cr #item .post {border:1px solid #eee; background:#fff;border-radius:8px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,0.05); transition:box-shadow 0.3s ease; }
#main-page #cr #item .post h1{margin:30px 15px 30px;font-size:38px}
#main-page #cr #item .post .post:hover { box-shadow:0 4px 16px rgba(0,0,0,0.1); }
#main-page #cr #item .post .post-img {margin:0 15px; position:relative; }
#main-page #cr #item .post .post-img img { width:100%; height:auto; display:block; border-radius:10px}
#main-page #cr #item .post .post-content { padding:20px; background:#fff; }
#main-page #cr #item .post .post-content .text_format {margin-top:20px}

#main-page #cr #item .post .tags {display:flex; flex-wrap:wrap; gap:6px; background:#fff;margin:30px auto}
#main-page #cr #item .post .tags a {background:#f1f1f1; border:1px solid #eee;padding:4px 6px; border-radius:5px; color:#fff; cursor:pointer; transition:background 0.3s ease; }
#main-page #cr #item .post .tags a img{width:25px;display:inline-block}
#main-page #cr #item .post .tags a p{font-size:13px;margin-left:3px;display:inline-block}
#main-page #cr #item .post .tags a.act { background:#abc7d4; }

#main-page #cr #item .post .post-meta { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #eee; padding-top:10px; color:#777; }
#main-page #cr #item .post .post-meta .views {}
#main-page #cr #item .post .post-meta .views img{width:15px}
#main-page #cr #item .post .post-meta .share { background:#eee; border:none; padding:4px 8px; border-radius:4px; cursor:pointer; transition:background 0.3s ease; }
#main-page #cr #item .post .post-meta .share:hover { background:#ddd; }








#admin-page {overflow: hidden; padding:150px 0 50px; background: #f0f2f5;}

#admin-page #panel {position: fixed; top:70px; left: 0; right: 0; height:50px; z-index: 10; background: #fff; box-shadow: 0 0 5px #aaa}
#admin-page #panel .btn {margin-top:10px; border-radius:15px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s ease;}
#admin-page #panel .btn.save {display: block; width: 100px; margin-right: 48%; background: #ff281f; border: 1px solid #eee; color: #fff; text-align: center; text-transform: uppercase;}
#admin-page #panel .btn.save:hover {background: #e02d28; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);}
#admin-page #panel .btn.save:active {background: #d42a24; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);}
#admin-page #panel .btn.save:focus {outline: none; border-color: #ff6347;}

#admin-page .content {display: flex; gap:5%; flex-wrap: nowrap;}
#admin-page .content .left-column {flex: 0 0 25%}
#admin-page .content .right-column {flex: 0 0 70%;background:#fff;border-radius:10px; border: 1px solid #e0e0e0; padding:10px; box-sizing:border-box}

#admin-page .content .left-column #gallery {display: flex; flex-direction: column; gap: 20px;}
#admin-page .content .left-column #images {}
#admin-page .content .left-column #images .oh{display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px;}
#admin-page .content .left-column #images .oh .image{}
#admin-page .content .left-column #images .oh .image img{width:100%}

#admin-page .content .right-column .switch {display: flex; align-items: center; justify-content: space-between; width: 100px; height: 20px; background: #e5e7eb; border-radius:20px; position: relative; cursor: pointer; padding:5px 5px 5px 25px; transition: background-color 0.3s ease;}
#admin-page .content .right-column .switch.act {background-color: #10b981;}
#admin-page .content .right-column .switch .text {color: #4b5563;}
#admin-page .content .right-column .switch .slider {width:16px; height:16px; background-color: #fff; border-radius: 50%; position: absolute; top: 50%; left: 5px; transform: translateY(-50%); transition: left 0.3s ease;}
#admin-page .content .right-column .switch.act .slider {left: calc(100% - 25px);}

#admin-page .content .right-column .box {border-top: 1px solid #e0e0e0; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px;}
#admin-page .content .right-column .box span {flex: 0 0 20%; text-align: right; color: #4b5563;}
#admin-page .content .right-column .box input {flex: 1; padding: 6px; box-sizing: border-box; border: 1px solid #d1d5db; border-radius: 4px;}

#admin-page .other-fields {margin-top:10px}

#admin-page .other-fields .annotation_description {display:flex;gap:4%; flex-wrap: nowrap;}
#admin-page .other-fields .annotation_description .box{flex: 0 0 48%}

#admin-page .other-fields .box {margin-top:20px;position:relative}
#admin-page .other-fields .box span {color: #4b5563;}
#admin-page .other-fields .box textarea {width:100%; height:100px;padding: 6px; box-sizing: border-box; border: 1px solid #d1d5db; border-radius: 4px;}
#admin-page .other-fields .box textarea#text {height:400px;padding-bottom:60px}
#admin-page .other-fields .image-input-block { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.95); padding: 10px; box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); display: flex; gap: 10px; z-index: 10; }
#admin-page .other-fields .image-input-block input { flex: 1; padding: 5px; border: 1px solid #ccc; border-radius: 4px; }
#admin-page .other-fields .image-input-block button { padding: 5px 10px; background: #007bff; color: white; border: none; border-radius: 4px; cursor: pointer; }
#admin-page .other-fields .image-input-block button:hover { background: #0056b3; }


#admin-page .tags-cloud {display:flex; flex-wrap:wrap; gap:6px; justify-content:center; background:#fff;padding:30px;margin-top:30px;border-radius: 20px;}
#admin-page .tags-cloud a {background:#f1f1f1; border:1px solid #eee;padding:4px 6px; border-radius:5px; color:#fff; cursor:pointer; transition:background 0.3s ease; }
#admin-page .tags-cloud a img{width:25px;display:inline-block}
#admin-page .tags-cloud a p{font-size:13px;margin-left:3px;display:inline-block}
#admin-page .tags-cloud a.act { background:#abc7d4; }


#admin-page .uploader_wrap {margin-top: 15px; padding: 10px; background: #f8f9fa; border-radius: 6px; border: 1px solid #e0e0e0;}
#admin-page .uploader_wrap .drag_area {position: relative; height: 120px; border: 2px dashed #6b7280; border-radius: 6px; background: #f9fafb; display: flex; align-items: center; justify-content: center; transition: border-color 0.3s ease;}
#admin-page .uploader_wrap .drag_area:hover {border-color: #3b82f6;}
#admin-page .uploader_wrap .drag_area #uploadifive-images_uploader_input {position: absolute; inset: 0; opacity: 0; cursor: pointer;}
#admin-page .uploader_wrap .drag_area #uploadifive-images_uploader_input input{height:150px;width:100%;cursor:pointer}
#admin-page .uploader_wrap .drag_area p {font-size: 12px; color: #4b5563; text-align: center; margin: 0;}
#admin-page .uploader_wrap p.inf {font-size: 10px; color: #6b7280; margin: 10px 0; text-align: center;}
#admin-page .uploader_wrap .uploader_files {margin-top: 10px;}
#admin-page .uploader_wrap .uploader_files div .rel {position: relative; width: 100%; margin: 10px 0; padding: 10px; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; display: flex; align-items: center; gap: 10px; font-size: 11px; color: #374151;}
#admin-page .uploader_wrap .uploader_files div .rel .remove {position: absolute; top: 5px; right: 5px; width: 16px; height: 16px; background: url('/api/in/images/remove.png') no-repeat center; background-size: contain; cursor: pointer;}
#admin-page .uploader_wrap .uploader_files .btn {display: block; margin: 15px auto; padding: 8px 16px; background: #3b82f6; color: #fff; border-radius: 6px; text-align: center; text-decoration: none; transition: background 0.3s ease;}
#admin-page .uploader_wrap .uploader_files .btn:hover {background: #2563eb;}
#admin-page .uploader_wrap #images_uploader_queue .uploadifive-queue-item {margin: 5px 0; padding: 8px; background: #f1f3f4; border-radius: 4px;}
