body {margin: 0; font-family: Arial; font-size: 13px; letter-spacing: 0px;}
/* Light mode */
@media (prefers-color-scheme: light) {
    body {
        background: #F5F5F5;
        color: #333;
    }
    a {color: #1A3DC1;}
    a:hover {color: #e41e2f;}
    .tab_owners .item {border: 2px solid #fff;}
    #main-index {background: #fff;}
    .queues tr.hover:hover {background: #ccc;}
    .feed .item {box-shadow: 0px 1px 1px 0px #d7d8db; border: 1px solid #d7d8db; border-color: #e3e4e8 #d7d8db #d7d8db #d7d8db; background: #fff;}
    .feed .item .col1 {color: #000;}
    .feed .item .item-name {color: #2a5885;}
    .tab_owners {background: #fff;}
    .feed .item-counters ._likes {background: url(/assets/__icons/_vk-likes.png) left center no-repeat;}
    .feed .item-counters ._comments {background: url(/assets/__icons/_vk-comments.png) left center no-repeat;}
    .feed .item-counters ._reposts {background: url(/assets/__icons/_vk-reposts.png) left center no-repeat;}
    .admins .item {color: #333;}
    .admins .item.active {background: #777; color: #fff;}
    .admins .item span {color: #fff; background: #777;}
    .btn-close {background: url(/assets/images/back.png) left center no-repeat; background-size: contain;}
}
/* Dark mode */
@media (prefers-color-scheme: dark) {
    body {
        background: #141414;
        color: #fff;
    }
    a {color: #42aaff;}
    a:hover {color: #22aaff;}
    #hbar a {color: #42aaff;}
    .tab_owners .item {border: 2px solid #222;}
    #main-index {background: #222222;}
    .queues tr.hover:hover {background: #333;}
    .feed .item {background: #222222;}
    .feed .item .col1 {color: #fff;}
    .feed .item .item-name {color: #fff;}
    .tab_owners {background: #222222;}
    .feed .item-counters ._likes {background: url(/assets/__icons/_vk-likes-dark.png) left center no-repeat;}
    .feed .item-counters ._comments {background: url(/assets/__icons/_vk-comments-dark.png) left center no-repeat;}
    .feed .item-counters ._reposts {background: url(/assets/__icons/_vk-reposts-dark.png) left center no-repeat;}
    .admins .item {color: #fff;}
    .admins .item.active {background: #3b3b3b; color: #fff;}
    .admins .item span {color: #fff; background: #3b3b3b;}
    .btn-close {background: url(/assets/images/back-white.png) left center no-repeat; background-size: contain;}
}
.feed .item .attach-photos .clear {border-bottom: 1px solid #222;}
table {border-collapse: collapse;}
.clear {clear: both;}

a {text-decoration: none;}
a:hover {text-decoration: underline;}
h1 {font-size: 18px; font-weight: normal;}

.padd1 {padding: 12px 15px;}
.marg1 {margin-bottom: 12px;}

#logo {position: relative; top: 5px; left: 8px;}
#logo img {border: 0;}

#main-btn {position: fixed; top: 15px; right: 25px; z-index: 99; display: none;}
#main-btn a {display: block; width: 48px; height: 48px; background: url(https://sun1-87.userapi.com/s/v1/ig2/CSSdQYoWbuj_Ce_ZfXvIEO8JvQ64cFXsuOl10lXbIw2f5tCFgWbgLJeYlY3Lu3C7pVxYZ9RsKq1RJMLwTEDSdt-6.jpg?quality=95&crop=84,84,672,672&as=32x32,48x48,72x72,108x108,160x160,240x240,360x360,480x480,540x540,640x640&ava=1&cs=100x100) center center no-repeat; background-size: cover; border-radius: 24px; box-shadow: 0px 1px 2px 0px #c7c8cb;}
#main-btn a:hover {color: #333; text-decoration: none; box-shadow: 0px 1px 2px 0px #777777;}

#hbar {font: normal 14px arial,sans-serif; line-height: 48px;}
#hbar a:hover {color: #f00;}

#hsubs {margin-left: 10px;}
#hsubs a, #hsubs b {margin-right: 4px; font-weight: 100; padding: 8px 10px;}
#huser {margin-right: 10px;}
#huser a, #huser b {margin: 0 2px; margin-right: .5em; font-weight: 100; padding: 8px 10px;}
#hsubs b, #huser b {background: #fff; border-radius: 6px; color: #333;}

@media (max-width: 600px) {#hbar {display: none;} #main-btn {display: block;}}

#admins-bar {margin-bottom: 1em;}
#admins-bar a {color: #1A3DC1;}
#admins-bar a:hover {color: #f00;}
#admins-bar .fsubs {display: flex; justify-content: space-around; margin: 0 auto; padding: .5em .1em; background: #333; border-radius: 12px;}
#admins-bar .fsubs a, #admins-bar .fsubs b {line-height: 18px; padding: 0 6px; text-align: center; color: #eee;}
#admins-bar .fsubs b {background: #555; border-radius: 10px;}
#admins-bar .fsubs a:hover {color: #fff; text-decoration: none;}

#fbar {position: fixed; left: 50%; bottom: 128px; z-index: 99; width: 480px; margin-left: -240px;}
#fbar a {color: #1A3DC1;}
#fbar a:hover {color: #f00;}
#fbar .fsubs {display: flex; justify-content: space-around; margin: 0 auto; padding: .5em .1em; background: #333; border-radius: 12px;}
#fbar .fsubs a, #fbar .fsubs b {line-height: 18px; padding: 0 6px; text-align: center; color: #eee;}
#fbar .fsubs b {background: #555; border-radius: 10px;}
#fbar .fsubs a:hover {color: #fff; text-decoration: none;}

#fnav {display: none; position: fixed; left: 50%; bottom: 32px; z-index: 99; width: 340px; margin-left: -170px; opacity: .8;}
#fnav .fsubs {display: flex; justify-content: space-around; margin: 0 auto; padding: .4em .1em; background: #000; border-radius: 15px;}
#fnav .fsubs a, #fnav .fsubs b {line-height: 26px; padding: 0 8px; text-align: center; color: #fff; font-size: 12px;}
#fnav .fsubs b {background: #555; border-radius: 10px;}
#fnav .fsubs a:hover {color: #fff; text-decoration: none;}
@media (max-width: 600px) {#fnav {display: block;}}

#topnav a {margin-right: 10px; font-size: 14px;}
#topnav a:hover {color: #e41e2f; text-decoration: none;}
#topnav a.active {color: #000; text-decoration: none;}

#region {font: normal 13px arial, sans-serif; text-align: left; margin-left: 21px;}
#region a {color: #1A3DC1;}
#region a:hover {color: #f00;}

#qform {}
#qtext {border: 1px solid; border-color: #ccc #fff #999 #ccc; width: 100%; height: 30px; font: normal 16px/30px arial,sans-serif; margin: 0px; vertical-align: top; outline: none; text-indent: 6px; display: block;}
#qsubmit {font: normal 14px arial,sans-serif; border: 1px solid; border-color: #cccccc #999999 #999999 #999999; height: 32px; text-align: center; width: 64px; margin: 0px; background: url(/assets/images/qsubmit.gif?v=2) left 0px repeat-x; cursor:pointer;}
#qsubmit:hover {background: url(/assets/images/qsubmit.gif?v=2) left -30px repeat-x;}
#mform {position: relative; border: 1px solid; border-color: #ccc #999 #999 #ccc; padding-right: 32px;}
#mtext {width: 100%; height: 30px; font: normal 16px/30px arial,sans-serif; margin: 0px; vertical-align: top; outline: none; text-indent: 6px; display: block;}
#msearch-switcher {position: absolute; top: 3px; right: 4px; width: 24px; height: 24px; background: url(/assets/__icons/filter.png?v=0.02) center center no-repeat; background-size: 18px 18px;}

#tdcenter {}
#dcenter {padding: 0;}

#tdleft {/*border-right: 1px solid #d3e1f9;*/}
#dleft {padding-right: 8px;}

#tdright {/*border-left: 1px solid #d3e1f9;*/}
#dright {padding-left: 7px;}

#subs {list-style: none; padding: 0 0 0 3px; margin: 0px 0 0 0;}
#subs li {margin: 0 0 0 0; vertical-align: top; white-space: nowrap;}
#subs li a {text-decoration: none; font: normal 13px arial,sans-serif; display: block; padding: 6px 0 6px 4px; /*padding: 0 0 1px 24px;*/ color: #1A3DC1;}
#subs li a:hover {text-decoration: underline; color: #f00;}
#subs li.active {/*color: #fff; background: #0000cc url(/assets/images/subs_li.png) right center no-repeat; text-decoration: none;*/}
#subs li.active a {color: #000; text-decoration: none;}
#subs ul {list-style: none; padding: 0 0 0 28px;}
#subs ul li{margin: 0; width: auto;}
#subs ul li a{padding: 2px 0; background: none; font-size: 13px; display: inline;}
#subs ul li a.active {background: none; color: #000;}

/*#s1 a {background: url(/assets/images/icons/s1.gif) 4px center no-repeat;}
#s2 a {background: url(/assets/images/icons/s2.gif) 4px center no-repeat;}
#s3 a {background: url(/assets/images/icons/s3.gif) 4px center no-repeat;}
#s4 a {background: url(/assets/images/icons/s4.gif) 4px center no-repeat;}
#s5 a {background: url(/assets/images/icons/s5.gif) 4px center no-repeat;}
#s6 a {background: url(/assets/images/icons/s6.gif) 4px center no-repeat;}
#s7 a {background: url(/assets/images/icons/s7.gif) 4px center no-repeat;}
#s8 a {background: url(/assets/images/icons/s8.gif) 4px center no-repeat;}
#s9 a {background: url(/assets/images/icons/s9.gif) 4px center no-repeat;}
#s10 a {background: url(/assets/images/icons/s10.gif) 4px center no-repeat;}
#s11 a {background: url(/assets/images/icons/s11.gif) 4px center no-repeat;}
#s12 a {background: url(/assets/images/icons/s12.gif) 4px center no-repeat;}
#s13 a {background: url(/assets/images/icons/s13.gif) 4px center no-repeat;}
#s14 a {background: url(/assets/images/icons/s14.gif) 4px center no-repeat;}
#s15 a {background: url(/assets/images/icons/s15.gif) 4px center no-repeat;}
#s16 a {background: url(/assets/images/icons/s16.gif) 4px center no-repeat;}
#s17 a {background: url(/assets/images/icons/s17.gif) 4px center no-repeat;}
#s18 a {background: url(/assets/images/icons/s18.gif) 4px center no-repeat;}*/

#f {color: #555; font-size: 12px;}
#f a {color: #00c;}
#f a:hover {color: #f00;}

#f3 {font: normal 10px arial,sans-serif; color: #555; padding: 0 6em;}
#f3 a {color: #555; margin: 0 5px;}
#f2 {font: normal 11px arial,sans-serif; width: 80%;}
#f2 a {margin: 0 5px; color: #555;}
#f1 {font: normal 13px arial,sans-serif; color: #555; margin-top: 2em; margin-bottom: 0; margin-bottom: 5px;}

.toplinks {position: relative; top: -3px; height: 18px; padding-right: 8px; position: relative; margin-top: -18px; text-align: right; font: bold 13px arial, sans-serif; white-space: nowrap;}
.toplinks img {position: relative; top: 2px; left: -3px; border: 0;}
.toplinks a {color: #0000cc;}
.toplinks a:hover {color: #f00;}

.hi {display: none;}

/* objects */
.objects {}
.objects .item {box-shadow: none !important;}

/* page_title */
.page-title {}

/* listsort */
.typelinks a {font-size: 12px !important;}

/* crumbs */
.crumbs {background: #ffffff !important;}
.crumbs div a {}

/* theme.filter */
.filter {}
.filter .title {background: #1c2078; color: #fff; display: none;}

/* theme.tform */
.tform-title td {background: #fff;}

/* theme.btn */
.btn {background: #1c2078; color: #fff;}
.btn:hover {background: #3c4098; color: #fff;}

/* theme.popup */
.frame {background: #9dc542; color: #fff;}
.frame-title {background: #1c2078; color: #fff;}

/* mmenu */
#mmenu-content {padding-top: 12px; padding-left: 10px; background: #F5F5F5 !important;}

/* msearch */
#msearch-content {background: #F5F5F5 !important;}

/* placeholder */
input::-webkit-input-placeholder {color:#999;}
input::-moz-placeholder          {color:#999;}/* Firefox 19+ */
input:-moz-placeholder           {color:#999;}/* Firefox 18- */
input:-ms-input-placeholder      {color:#999;}