body {
    zoom: 120%
}

html {
    font-size: 100%;
}

body {
    font-size: 16px !important;
    font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    color: #333
}

body {
    line-height: 1.4
}

body,
html {
    margin: 0px;
    padding: 0px;
}

a:hover {
    color: #2154F7;
    text-decoration: none;
    text-shadow: 1px 1px 0px rgb(223, 223, 223), 2px 2px 0px rgb(185, 185, 185)
}

a {
    color: #337ab7;
    text-decoration: none;
}

h1 {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    margin: 10px
}

h1 a {
    font-size: 14px;
    text-decoration: none
}

h1 a:hover {
    color: #1a67eb;
    text-decoration: none
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

block quote:after,
block quote:before,
q:after,
q:before {
    content: '';
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

caption,
td,
th {
    font-weight: 400;
    text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both
}

html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 120%;
    -ms-text-size-adjust: 120%
}

a:focus {
    outline: none;
    outline: 0;
}

hr,
img {
    border: 0
}

hr {
    background-color: #e4e4e4;
    height: 1px;
    margin: 5px;
}

.entry-header .entry-title a,
.entry-title a:hover,
h1 a,
h1 a:hover,
h2 a,
h2 a:hover {
    text-shadow: 1px 1px 0 #dfdfdf, 2px 2px 0 #b9b9b9
}

a,
abbr,
acronym,
address,
applet,
aside,
audio,
b,
big,
block quote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
field set,
fig caption,
figure,
footer,
form,
group,
h1,
h2,
h3,
h4,
h5,
h6,
header,
html,
i,
iframe,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
th,
thead,
time,
toot,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline
}

site-wrap {
    margin: 0 auto;
    overflow: hidden;
    width: 100%
}

#site-wrap,
.body,
.footer,
body,
html {
    background: url(/images/bg.jpg) #d8dbdc
}

.main-navigation .assistive-text:active,
.main-navigation .assistive-text:focus,
.main-navigation .assistive-text:hover {
    background: #fff;
    border: 2px solid #333;
    border-radius: 3px;
    clip: auto!important;
    color: #000;
    display: block;
    padding: 5px;
    position: absolute;
    top: 0;
    left: 5px;
    z-index: 1000
}

.main-navigation {
    margin-top: 0;
    text-align: center
}

.main-navigation li {
    margin-top: 1.714285714rem;
    line-height: 1.22857143
}

.main-navigation a {
    color: #5e5e5e
}

.main-navigation a:hover {
    color: #1a67eb
}

.main-navigation div.nav-menu {
    white-space: nowrap;
    font-size: 11px;
    z-index: 10;
    min-width: 100%;
    background: linear-gradient(#fff, #eee);
    background: -webkit-linear-gradient(top, #fff, #eee);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .4)
}

.main-navigation div.nav-menu>ul,
.main-navigation ul.nav-menu {
    margin: 0 auto;
    display: inline-block!important;
    text-align: center
}

.main-navigation ul {
    margin: 0;
    text-indent: 0
}

.main-navigation li,
.main-navigation li a {
    display: inline-block;
    text-decoration: none
}

.main-navigation li a {
    border-bottom: 1px;
    color: #6a6a6a;
    line-height: 3.692307692;
    text-transform: uppercase;
    white-space: nowrap
}

.main-navigation li a:hover {
    color: #000
}

.main-navigation li {
    margin: 0;
    position: relative
}

.main-navigation ul li a {
    display: block;
    background: 0 0;
    padding: 0 1.1rem
}

.main-navigation ul li:hover {
    background: linear-gradient(#f9f9f9, #e5e5e5);
    background: -webkit-linear-gradient(top, #f9f9f9, #e5e5e5)
}

.main-navigation li ul li {
    padding: 0
}

.main-navigation li ul {
    display: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    z-index: 100
}

.main-navigation li ul ul {
    top: 0;
    left: 100%
}

.main-navigation ul li:hover>ul {
    border-left: 0;
    display: block
}

.main-navigation li ul li a {
    background: #fafafa;
    border-bottom: 1px solid #ededed;
    display: block;
    line-height: 2.181818182;
    padding: .471428571rem .474285714rem;
    width: 180px;
    width: 12.85714286rem;
    white-space: normal
}

.main-navigation li ul li a:hover {
    background: #d3d3d3;
    color: #444
}

.main-navigation .current-menu-ancestor,
.main-navigation .current-menu-ancestor:hover,
.main-navigation .current-menu-item,
.main-navigation .current-menu-item:hover,
.main-navigation .current_page_ancestor,
.main-navigation .current_page_ancestor:hover,
.main-navigation .current_page_item,
.main-navigation .current_page_item:hover {
    background: linear-gradient(#468af8, #1a67eb);
    background: -webkit-linear-gradient(top, #468af8, #1a67eb)
}

.main-navigation .current-menu-ancestor>a,
.main-navigation .current-menu-ancestor>a:hover,
.main-navigation .current-menu-item>a,
.main-navigation .current-menu-item>a:hover,
.main-navigation .current_page_ancestor>a,
.main-navigation .current_page_ancestor>a:hover,
.main-navigation .current_page_item>a,
.main-navigation .current_page_item>a:hover {
    color: #fff;
    font-weight: 700
}

.children a {
    white-space: normal;
    text-align: left
}

.children a:hover {
    white-space: normal;
    border: 1px solid #5b5b5b;
    margin-bottom: 1px;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .4)
}

.children {
    white-space: normal
}

.site-header {
    margin-top: 2.3em;
    padding: .6rem 0 0;
    margin-bottom: 2px;
    z-index: 1;
    position: relative
}

.site-wraplogo {
    margin: 0 auto;
    overflow: visible !important;
}

@media (min-width: 768px) {

    .header-userbar .newlogin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    white-space: nowrap;
}

.header-userbar .newlogin-user {
    flex: 0 0 auto;
}

.header-userbar .newlogin-banner {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: auto;
}

.header-userbar .newlogin-banner .searchform,
.header-userbar .newlogin-banner .searchblok {
    display: block;
    margin: 0;
    text-align: right;
}

.header-userbar .newlogin-banner form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
}

.header-userbar .newlogin-banner input[type="text"] {
    width: 100%;
    min-width: 120px;
    max-width: 280px;
}

.header-userbar .newlogin-banner input[type="submit"] {
    flex: 0 0 auto;
    margin-left: 8px;
}

.header-userbar .newlogin-banner > br,
.header-userbar .newlogin-banner > div[style*="clear"] {
    display: none;
}

    .site-wraplogo {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .site-wraplogo > a {
        flex: 0 0 auto;
    }

    .header-userbar {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
    }

    .header-userbar .top-navigation {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: none;
        box-sizing: border-box;
        padding: 4px 16px;
        line-height: 24px;
    }

    .header-userbar .newlogin {
        margin-top: 0;
        white-space: nowrap;
    }

    .header-userbar .newlogin .btn {
        margin: 0 3px;
    }

    .header-userbar .fullmenu {
        width: 100%;
        max-width: 100%;
        line-height: 1.45;
    }

    .site-wraplogo .searchstring {
        flex: 0 0 auto;
        float: none;
        margin-left: 0;
    }
}

.dpad2 {
    width: auto;
    float: right;
    margin: 5px
}

.searchstring {
    width: auto;
    float: right;
    margin: 5px;
    height: 50px;
}

@media (min-width: 768px) {
    .site-wraplogo .searchstring {
        flex: 0 0 auto;
        float: none;
        margin-left: auto;
    }
}

.dpad2 img {
    border-radius: 10px;
    box-shadow: 5px 5px 5px #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .5)
}

.top-navigation {
    border-radius: 5px;
    width: 100%;
    line-height: 20px;
    padding-left: 0;
    text-align: center;
    background: linear-gradient(#fff, #eee);
    background: -webkit-linear-gradient(top, #fff, #eee);
}

.top-navigation a {
    color: #5e5e5e
}

.top-navigation a:hover {
    color: #1a67eb
}

.entry-content,
.entry-summary {
    line-height: 1.4;
}

.fullmenu {
    line-height: 1.846153846;
    color: #5e5e5e;
    text-align: -webkit-center;
    margin: 0 auto
}

.fullmenu a {
    text-align: center;
    text-align: -webkit-center;
    color: #5e5e5e
}

.paged #nav-above,
.wrapper {
    display: block
}

.wrapper {
    width: 100%;
    margin: 0;
    padding: 0 0 1.714285714rem
}

.wrapper:after {
    clear: both
}

.wrapper:after,
.wrapper:before {
    display: table;
    content: ""
}

.site-wrapcontent {
    margin: 0 auto;
    overflow: hidden
}

.align_center {
    position: relative;
    width: 100%
}

.align_center:after {
    content: '';
    display: block;
    clear: both
}

.align_center_to_left {
    position: relative;
    right: 50%;
    float: right
}

.align_center_to_right {
    position: relative;
    z-index: 1;
    right: -50%
}

.site-content,
.widget-area {
    margin: 0
}

.site-content nav {
    clear: both;
    line-height: 1.1;
    overflow: hidden
}

.widget-area .widget {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    margin-bottom: 1.428571429rem;
    word-wrap: break-word;
    padding: 1rem;
    background: linear-gradient(#fff, #eee);
    background: -webkit-linear-gradient(top, #fff, #eee);
    border-radius: 5px;
    position: relative;
    z-index: 0
}

.widget-area .widget .textwidget,
.widget-area .widget li,
.widget-area .widget p {
    line-height: 1.4
}

.widget-area .textwidget ul {
    list-style: disc;
    margin: 0 0 1.714285714rem
}

.widget-area .textwidget li {
    margin-left: 2.571428571rem
}

.widget-area .widget a {
    line-height: 1.7;
    color: #757575
}

.widget-area .widget a:hover,
footer a:hover {
    color: #1a67eb
}

.widget-area .widget ul ul {
    margin-left: .857142857rem
}

.widget-area .widget:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 5px;
    top: .3571428571rem;
    bottom: 5px;
    bottom: .3571428571rem;
    left: 5px;
    left: .3571428571rem;
    right: 5px;
    right: .3571428571rem;

}

.archive-title,
.comment-content th,
.entry-content th,
.page-title,
.widget-title {
    line-height: 2.181818182;
    font-weight: 700;
    text-transform: uppercase;
    color: #636363;
    font-size: 15px;
}

.comment-content pre code,
.entry-content pre code,
.footer {
    display: block
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block
}

.footer {
    width: 100%;
    border-top: 1px solid #ccc
}

footer {
    clear: both;
    font-size: 14px;
    line-height: 2;
    margin: 0 auto;
    padding: 1.714285714rem 0
}

footer a {
    color: #686868
}

.footer {
    display: block
}

.footer .site-foot {
    text-align: left;
    font-size: 12px;
    margin: 0 auto
}

.header-image {
    margin-top: .114285714rem;
    max-width: 330px;
}

.col-footer {
    margin-right: 45px;
    margin-left: 20px;
}

.site-foot p {
    font-size: 12px;
}

.site-foot h5 {
    padding-top: 5px;
    font-size: 15px;
    font-weight: bold;
    color: #737679;
    margin-bottom: 10px;
}

#nav-above,
audio:not([controls]) {
    display: none
}

.footer-social {
    margin-top: 10px
}

.site-content article {
    margin-right: 0.3em;
    margin-bottom: 1.471428571rem;
    background: linear-gradient(#fff, #eee);
    background: -webkit-linear-gradient(top, #fff, #eee);
    border-radius: 5px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, .4);
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    position: relative;
}

.comment__message {
    line-height: 1.846153846
}

.author-avatar {
    float: left;
    margin-top: .571428571rem
}

.author-description {
    float: right;
    width: 80%
}

::selection {
    color: #fff;
    background-color: #4487f9
}

::-moz-selection {
    color: #fff;
    background-color: #4487f9
}

audio,
canvas,
video {
    display: inline-block
}

del {
    color: #333
}

ins {
    background: #fff9c0;
    text-decoration: none
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

.modalW,
textarea {
    vertical-align: top
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

.breadcrumb {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    background-color: transparent!important;
    margin: 0 0 10px
}

.breadcrumb li {
    display: inline;
    color: #7b7b7b
}

.breadcrumb a,
.breadcrumb>li+li:before {
    color: #7b7b7b
}


.btn-pm {
	position: relative;
}

.btn-pm .badge-notify {
	position: absolute;
	top: -8px !important;
	right: -8px;
	left: auto !important;
	min-width: 18px;
	height: 18px;
	padding: 2px 5px;
	font-size: 11px;
	line-height: 14px;
	color: #fff;
	background-color: #d9534f;
	border-radius: 10px;
	z-index: 10;
}

small {
    font-size: smaller
}

#nav_down,
#nav_up {
    cursor: pointer
}

article.format-link footer.entry-meta,
article.format-quote footer.entry-meta,
article.format-status footer.entry-meta {
    line-height: 1.181818182
}

button,
input,
textarea {
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: inherit;
    padding: .38rem
}

button,
input {
    line-height: normal
}

textarea {
    font-size: 100%;
    overflow: auto
}

input[type=checkbox],
input[type=radio],
input[type=file],
input[type=hidden],
input[type=image],
input[type=color] {
    border: 0;
    border-radius: 0;
    padding: 0
}

#nav-above {
    padding: 1.714285714rem 0
}

.nav-previous,
.previous-image {
    float: left;
    width: 50%
}

.nav-next,
.next-image {
    float: right;
    text-align: right;
    width: 50%
}

#comment-nav-above,
.nav-single+.comments-area {
    margin: 3.428571429rem 0
}

.assistive-text,
.site .screen-reader-text {
    position: absolute!important;
    clip: rect(1px, 1px, 1px, 1px)
}

.entry-meta {
    clear: both;
    font-size: 13px;
}

.entry-header {
    margin: 15px 15px 15px 25px
}

.entry-header .entry-title {
    line-height: 1.2;
    font-weight: 700;
    padding-top: 8px;
    padding-bottom: 5px
}

.entry-header .entry-title a {
    color: #2d2d2d;
    text-decoration: none
}

.entry-title a:hover {
    color: #1a67eb;
    text-decoration: none
}

.entry-header .comments-link {
    margin: 1.714285714rem 20px 20px;
    line-height: 1.846153846;
    color: #757575
}

.comments-link a:hover,
.entry-meta a:hover {
    color: #1a67eb
}

article.sticky .featured-post {
    border-top: 4px double #ededed;
    border-bottom: 4px double #ededed;
    color: #757575;
    line-height: 3.692307692;
    margin-bottom: 1.714285714rem;
    text-align: center
}

img.alignleft {
    margin: .857142857rem 1.714285714rem .857142857rem 0
}

img.alignright {
    margin: .857142857rem 0 .857142857rem 1.714285714rem
}

img.aligncenter {
    margin-top: .857142857rem;
    margin-bottom: .857142857rem
}

.entry-content embed,
.entry-content iframe,
.entry-content object,
.entry-content video {
    margin-bottom: 1.714285714rem
}

.page-links {
    clear: both;
    line-height: 1.714285714
}

footer.entry-meta {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.846153846;
    color: #757575
}

footer.entry-meta-com {
    margin: 10px;
    font-size: 13px;
    font-size: 12px;
    line-height: 1.046153846;
    color: #757575;
    text-align: right
}

.site-content .article:before {
    content: '';
    position: absolute;
    z-index: -1;
    border: 1px dashed #ccc;
    top: 5px;
    top: .3571428571rem;
    bottom: 5px;
    bottom: .3571428571rem;
    left: 5px;
    left: .3571428571rem;
    right: 5px;
    right: .3571428571rem;
    -moz-box-shadow: 0 0 0 1px #fff;
    -webkit-box-shadow: 0 0 0 1px #fff;
    box-shadow: 0 0 0 1px #fff
}

.form_wrapper a,
.unit-rating li a,
h2 a,
h2 a:hover {
    text-decoration: none
}

.bwWrapper {
    position: relative;
    display: block
}

#menumain {
    background: #efefef;
    position: fixed;
    top: 0;
    left: 0
}

h2 {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 10px
}

h2 a {
    color: #2d2d2d;
    font-size: 16px;
}

h2 a:hover {
    color: #1a67eb
}

.h3,
h3 {
    font-size: 17px!important;
    font-weight: 600!important
}

h4 {
    font-size: 15px!important;
    font-weight: 700
}

h4 a {
    color: #5f7894!important
}

h1,
h2,
h3,
h4,
h5 {
    margin-top: 10px!important;
    margin-bottom: 10px!important;
    display: inline!important
}

h2 {
    font-size: 15px!important;
    line-height: 1.2;
    font-weight: 600;
}

h3 {
    font-size: 14px!important;
    line-height: 1.2;
}

h4 {
    font-size: 13px!important;
    line-height: 1.2;
}

.btn-menu,
.hidden-menu {
    background-color: #f1f1f1;
    position: fixed;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden
}

.hidden-menu {
    display: block;
    list-style: none;
    padding: 10px;
    margin: 0;
    box-sizing: border-box;
    width: 200px;
    border: 1px solid #d0d0d0;
    height: 100%;
    top: 0;
    right: -200px;
    transition: right .2s;
    overflow: auto;
    z-index: 1031;
    line-height: 2.9;
}

.hidden-menu li a {
    text-decoration: none;
    color: #cacaca
}

.btn-menu,
.hidden-menu li a:hover {
    color: #fff
}

.list-unstyled h4:hover {
    color: #000
}

.hidden-menu-ticker {
    display: none
}

.btn-menu {
    padding: 2px;
    top: 14px;
    right: 10px;
    cursor: pointer;
    transition: right .23s;
    z-index: 1032;
    width: 20px
}

.btn-menu span {
    display: block;
    height: 2px;
    background-color: #7b7b7b;
    margin: 5px 0 0;
    transition: all .1s linear .23s;
    position: relative
}

.btn-menu span.first {
    margin-top: 0
}

.hidden-menu-ticker:checked~.btn-menu {
    background-color: #777
}

.hidden-menu-ticker:checked~.hidden-menu {
    right: 0
}

.hidden-menu-ticker:checked~.btn-menu span.first {
    -webkit-transform: rotate(45deg);
    top: 7px;
    background-color: #fff
}

.hidden-menu-ticker:checked~.btn-menu span.second {
    opacity: 0
}

.hidden-menu-ticker:checked~.btn-menu span.third {
    -webkit-transform: rotate(-45deg);
    top: -7px;
    background-color: #fff
}

.hidden-menu a>li>h4:hover {
    color: #fff!important;
}

.hidden-menu h4 {
    color: #444
}

.badge-menu {
    position: relative;
    background: green;
    top: -2px!important;
    left: -4px!important;
    z-index: 11111
}

#secondary {
    max-width: 350px;
    font-size: 13px;
}

.fulltext p {
    margin-bottom: 10px;
}

.fulltext .screenshot img {
    margin-left: auto;
    margin-right: auto;
}

.fulltext ul,
.fulltext ol {
    margin-left: 0.5rem;
    padding-left: 0.8rem;
}

.fulltext td {
    border: 1px solid gray;
    padding: 5px;
}
/* Сетка только для gallery: обычные шаблоны файлов не затрагиваются. */
.files-gallery-tile {
    float: left;
    display: block;
    margin-right: 0;
    margin-bottom: 8px;
}

.site-content article.files-gallery-tile {
    margin-right: 0;
    margin-bottom: 8px;
    padding-bottom: 0;
    background: transparent;
    border: 0;
    border-radius: 0px;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.files-gallery-card {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid #979797;
    border-radius: 8px;

    padding: 8px;
    box-sizing: border-box;
}

.files-gallery-image {
    position: relative;
    background: transparent;
    border-radius: 6px;
    overflow: hidden;

    -webkit-transition: box-shadow 0.18s ease, transform 0.18s ease;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.files-gallery-image img,
.files-gallery-image video {
    -webkit-transition: transform 0.22s ease;
    transition: transform 0.22s ease;
}

.files-gallery-image:hover {
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.files-gallery-image:hover img,
.files-gallery-image:hover video {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}

.files-gallery-image a,
.files-gallery-image img {
    display: block;
}

.files-gallery-image a {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

.files-gallery-image img {
    width: 100%;
    height: 180px;
    max-width: none;
    object-fit: contain;
    object-position: center center;
    margin: 0 !important;
    padding: 0;
}

.files-gallery-image video {
    width: 100%;
    height: 180px;
    object-fit: contain;
    object-position: center center;
    background: #ffffff;
}

.files-gallery-title {
    margin: 8px 0 0;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    white-space: normal;
    min-height: calc(12px * 1.3 * 2);
}

.files-gallery-actions {
    padding: 7px 0 0;
    border-top: 0;
    background: transparent;
}

.files-gallery-more {
    min-width: 100px;
}

.files-gallery-details {
    margin-top: 7px;
    border-top: 0;
    background: transparent;
}

.files-gallery-details-inner {
    padding: 10px;
}

.files-gallery-details .files-gallery-title {
    margin-bottom: 8px;
}

.files-gallery-details .files-gallery-title h1 {
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
}

.files-gallery-share {
    margin: 6px 0 8px;
}

.files-gallery-meta {
    font-size: 12px;
    line-height: 1.45;
    border-top: 0;
    border-bottom: 0;
    padding: 6px 0;
    margin-bottom: 8px;
}

.files-gallery-meta-row {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.files-gallery-fulltext {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.45;
}

.files-gallery-fulltext .opisanie {
    max-height: 120px;
    overflow: auto;
}

.files-gallery-bottom {
    border-top: 0;
    padding-top: 8px;
    margin-top: 8px;
}

.files-gallery-options .btn {
    margin: 2px;
}

@media (min-width: 768px) {

    .files-gallery-image img,
    .files-gallery-image video {
        height: 190px;
    }
}

@media (min-width: 992px) {

    .files-gallery-image img,
    .files-gallery-image video {
        height: 170px;
    }
}

@media (min-width: 1200px) {

    .files-gallery-image img,
    .files-gallery-image video {
        height: 185px;
    }
}
.files-gallery-grid {
    margin-left: -5px;
    margin-right: -5px;
}

.files-gallery-grid:before,
.files-gallery-grid:after {
    content: "";
    display: table;
}

.files-gallery-grid:after {
    clear: both;
}

.files-gallery-grid .files-gallery-tile {
    float: left;
    display: block;
    margin-right: 0;
    margin-bottom: 8px;
    padding-left: 5px;
    padding-right: 5px;
    clear: none;
}

/* AJAX replaces the load-more placeholder contents, so keep loaded tiles in the gallery grid instead of a nested one-column wrapper. */
.files-gallery-grid .files-loadmore {
    display: contents;
}

.files-gallery-grid .files-loadmore > .text-center {
    clear: both;
    float: none;
    width: 100%;
}

/* xs: 2 в строке */
.files-gallery-grid .files-gallery-tile:nth-child(2n+1) {
    clear: left;
}

/* sm: 3 в строке */
@media (min-width: 768px) {
    .files-gallery-grid .files-gallery-tile:nth-child(2n+1) {
        clear: none;
    }

    .files-gallery-grid .files-gallery-tile:nth-child(3n+1) {
        clear: left;
    }
}

.contents-line {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contents-line .btn-group {
    white-space: nowrap;
}

.contents-line .btn-group > .btn {
    float: none;
    display: inline-block;
    margin-left: -1px;
}
.osn-cats-form {
	margin: 0 auto 10px auto;
	text-align: left;
}

.osn-cats-accordion {
	margin: 0 auto 10px auto;
}

.osn-cats-row {
	margin-left: -4px;
	margin-right: -4px;
}

.osn-cat-col {
	padding-left: 4px;
	padding-right: 4px;
}

.osn-cat-panel {
	margin-bottom: 8px;
	border-radius: 4px;
	overflow: hidden;
}

.osn-cat-heading {
	padding: 0;
	background: #f7f7f7;
}

.osn-cat-head-row {
	display: table;
	width: 100%;
	padding: 7px 9px;
}

.osn-cat-check {
	margin: 0 6px 0 0;
	vertical-align: middle;
}

.osn-cat-link:hover,
.osn-cat-link:focus {
	text-decoration: none;
}

.osn-cat-toggle:hover,
.osn-cat-toggle:focus {
	text-decoration: none;
	color: #333;
}

.osn-cat-body {
	padding: 0;
	background: #fff;
	border-top: 1px solid #e5e5e5;
}

.osn-subcats-list {
	padding: 10px 10px 6px 10px;
	margin: 0;
	background: #fbfbfb;
	border-left: 3px solid #e5e5e5;
}

.osn-subcat-item {
	display: inline-block;
	width: 48%;
	margin: 0 1% 6px 0;
	padding: 5px 7px;
	font-weight: normal;
	vertical-align: top;
	white-space: normal;
	line-height: 1.35;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
}

.osn-subcat-item:hover {
	background: #f5f8fc;
	border-color: #d5e2f0;
}

.osn-subcat-item input {
	margin: 0 5px 0 0;
	vertical-align: middle;
}

.osn-subcat-item a {
	font-size: 13px;
	text-decoration: none;
}

.osn-subcat-item a:hover,
.osn-subcat-item a:focus {
	text-decoration: underline;
}

.osn-cats-save {
	max-width: 420px;
	margin: 12px auto 0 auto;
	text-align: center;
}

.osn-cats-save .btn {
	margin: 0 !important;
}

.osn-cat-head-row {
	display: table;
	width: 100%;
	table-layout: fixed;
	padding: 7px 9px;
}

.osn-cat-title {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.osn-cat-link {
	display: inline-block;
	max-width: calc(100% - 28px);
	vertical-align: middle;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.osn-cat-name {
	display: inline;
}

.osn-cat-toggle {
	display: table-cell;
	vertical-align: middle;
	width: 105px;
	white-space: nowrap;
	font-size: 12px;
	padding-left: 8px;
	text-align: right;
	text-decoration: none;
	color: #777;
}

.osn-cat-empty {
	display: table-cell;
	vertical-align: middle;
	width: 105px;
	white-space: nowrap;
	padding-left: 8px;
	text-align: right;
	font-size: 12px;
}

@media (max-width: 767px) {
	.osn-cats-row {
		margin-left: 0;
		margin-right: 0;
	}

	.osn-cat-col {
		padding-left: 0;
		padding-right: 0;
	}

	.osn-cat-toggle,
	.osn-cat-empty {
		display: block;
		padding-left: 0;
		padding-top: 6px;
	}

	.osn-subcat-item {
		display: block;
		width: auto;
		margin-right: 0;
	}

	.osn-cats-save {
		max-width: none;
	}
    .osn-cat-head-row {
	display: table;
	width: 100%;
	table-layout: fixed;
	padding: 7px 9px;
}

.osn-cat-title {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.osn-cat-link {
	display: inline-block;
	max-width: calc(100% - 28px);
	vertical-align: middle;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.osn-cat-name {
	display: inline;
}

.osn-cat-toggle {
	display: table-cell;
	vertical-align: middle;
	width: 105px;
	white-space: nowrap;
	font-size: 12px;
	padding-left: 8px;
	text-align: right;
	text-decoration: none;
	color: #777;
}

.osn-cat-empty {
	display: table-cell;
	vertical-align: middle;
	width: 105px;
	white-space: nowrap;
	padding-left: 8px;
	text-align: right;
	font-size: 12px;
}
}
.pagination .page-jump-li {
    position: relative;
}

.pagination .page-jump-form {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
    padding: 6px;
    margin-top: 3px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.pagination .page-jump-li.open .page-jump-form {
    display: block;
}

.pagination .page-jump-form input {
    width: 60px;
    height: 30px;
    padding: 3px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.pagination .page-jump-form button {
    height: 30px;
    margin-left: 4px;
}
.pagination .page-jump-form button {
    height: 30px;
    margin-left: 4px;
}
.files-topline {
    margin: 4px 0 8px 0;
    line-height: 24px;
}

.files-topline .badge,
.files-topline .label,
.files-topline .btn-group,
.files-topline .btn {
    vertical-align: middle;
}

.files-info-badge {
    display: inline-block;
    margin: 0 3px 4px 3px;
    font-weight: normal;
}

.files-info-badge b {
    font-weight: bold;
}

.files-sort-label {
    display: inline-block;
    margin: 0 3px 4px 7px;
    color: #777;
}

.files-sort-group {
    display: inline-block;
    margin: 0 3px 4px 3px;
}

.files-sort-group .btn {
    padding-left: 6px;
    padding-right: 6px;
}

.files-current-sort {
    display: inline-block;
    margin: 0 3px 4px 3px;
    padding: 4px 6px;
    font-weight: normal;
}

.files-actions {
    display: inline-block;
    margin: 0 3px 4px 3px;
}

.files-actions .btn {
    margin-left: 2px;
}

@media (max-width: 480px) {
    .files-topline {
        line-height: 26px;
    }

    .files-current-sort {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
.files-gallery-full {
    margin-bottom: 8px;
}

.files-gallery-info-row {
    display: flex;
    align-items: center;
    gap: 6px;

    width: 100%;
    min-width: 0;

    padding: 4px 5px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);

    font-size: 11px;
    line-height: 1.2;
}

.files-gallery-info-btn {
    flex: 0 0 auto;
    width: 24px;
    height: 22px;
    padding: 1px 0;
    line-height: 18px;
    text-align: center;
}

.files-gallery-row-author {
    flex: 1 1 auto;
    min-width: 0;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    text-align: left;
}

.files-gallery-row-date {
    flex: 0 0 auto;

    max-width: 82px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    text-align: right;
}

.files-gallery-row-author .fa,
.files-gallery-row-date .fa {
    margin-right: 3px;
    opacity: 0.75;
}

.files-gallery-collapse {
    margin-top: 7px;
}

.files-gallery-collapse-inner {
    padding: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);

    font-size: 12px;
    line-height: 1.45;
}
.files-gallery-category {
    margin: 4px 0 0;
    padding: 0 4px;

    font-size: 10px;
    line-height: 1.2;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.files-gallery-category-badge {
    display: inline-block;
    max-width: 100%;

    padding: 2px 6px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    vertical-align: top;
}
.files-view-switch {
    margin-left: 6px;
    vertical-align: middle;
}

.files-view-switch .btn.active {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

@media (min-width: 768px) {
    .files-gallery-grid.files-gallery-grid4 .files-gallery-tile:nth-child(3n+1) {
        clear: none;
    }

    .files-gallery-grid.files-gallery-grid4 .files-gallery-tile:nth-child(4n+1) {
        clear: left;
    }

    .files-gallery-grid.files-gallery-grid4 .files-gallery-tile {
        width: 25%;
    }
}

@media (min-width: 768px) {
    .files-gallery-grid.files-gallery-grid2 .files-gallery-tile:nth-child(3n+1),
    .files-gallery-grid.files-gallery-grid2 .files-gallery-tile:nth-child(4n+1) {
        clear: none;
    }

    .files-gallery-grid.files-gallery-grid2 .files-gallery-tile:nth-child(2n+1) {
        clear: left;
    }

    .files-gallery-grid.files-gallery-grid2 .files-gallery-tile {
        width: 50%;
    }
}

/* Улучшения для 2K/4K: мобильные стили не трогаем, включается только на широких экранах. */
@media (min-width: 1600px) {
    body {
        font-size: 17px !important;
    }

    .container {
        width: 1480px;
    }

    .main-navigation div.nav-menu {
        font-size: 12px;
    }

    .main-navigation ul li a {
        padding: 0 1.35rem;
    }

    .site-header {
        margin-top: 2.6em;
    }

    .header-image {
        max-width: 240px;
        height: auto;
    }

    .flex-side {
        flex-basis: 340px;
    }

    #secondary {
        max-width: 380px;
        font-size: 14px;
    }

    .widget-area .widget {
        padding: 1.15rem;
    }

    .widget-area .widget a,
    .widget-area .widget .textwidget,
    .widget-area .widget li,
    .widget-area .widget p {
        line-height: 1.55;
    }

    .breadcrumb,
    .entry-meta,
    footer.entry-meta,
    footer.entry-meta-com {
        font-size: 14px;
    }

    h1,
    h1 a,
    h2,
    h2 a {
        font-size: 17px !important;
    }

    h3 {
        font-size: 15px !important;
    }

    h4 {
        font-size: 14px !important;
    }

    .archive-title,
    .comment-content th,
    .entry-content th,
    .page-title,
    .widget-title {
        font-size: 16px;
    }

    button,
    input,
    textarea,
    .btn,
    .pagination,
    .label,
    .badge {
        font-size: 14px;
    }

.user-options-dropdown {
    position: relative;
    display: inline-block;
}

.user-options-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    z-index: 99999;
    min-width: 200px;
}


    .files-gallery-card {
        padding: 10px;
    }

    .files-gallery-title {
        font-size: 13px;
        min-height: calc(13px * 1.35 * 2);
    }

    .files-gallery-image img,
    .files-gallery-image video {
        height: 215px;
    }

    .files-gallery-info-row,
    .files-gallery-category {
        font-size: 12px;
    }

    .files-gallery-grid.files-gallery-grid4 .files-gallery-tile:nth-child(4n+1) {
        clear: none;
    }

    .files-gallery-grid.files-gallery-grid4 .files-gallery-tile:nth-child(5n+1) {
        clear: left;
    }

    .files-gallery-grid.files-gallery-grid4 .files-gallery-tile {
        width: 20%;
    }
}

@media (min-width: 2200px) {
    body {
        font-size: 18px !important;
    }

    .container {
        width: 1760px;
    }

    .main-navigation div.nav-menu {
        font-size: 13px;
    }

    .main-navigation ul li a {
        padding: 0 1.6rem;
    }

    .header-image {
        max-width: 300px;
    }

    .flex-side {
        flex-basis: 380px;
    }

    #secondary {
        max-width: 420px;
        font-size: 15px;
    }

    .widget-area .widget {
        padding: 1.3rem;
    }

    .breadcrumb,
    .entry-meta,
    footer.entry-meta,
    footer.entry-meta-com {
        font-size: 15px;
    }

    h1,
    h1 a,
    h2,
    h2 a {
        font-size: 18px !important;
    }

    h3 {
        font-size: 16px !important;
    }

    h4 {
        font-size: 15px !important;
    }

    .archive-title,
    .comment-content th,
    .entry-content th,
    .page-title,
    .widget-title {
        font-size: 17px;
    }

    button,
    input,
    textarea,
    .btn,
    .pagination,
    .label,
    .badge {
        font-size: 15px;
    }

    .files-gallery-card {
        padding: 12px;
    }

    .files-gallery-title {
        font-size: 14px;
        min-height: calc(14px * 1.35 * 2);
    }

    .files-gallery-image img,
    .files-gallery-image video {
        height: 250px;
    }

    .files-gallery-info-row,
    .files-gallery-category {
        font-size: 13px;
    }

    .files-gallery-grid.files-gallery-grid4 .files-gallery-tile:nth-child(5n+1) {
        clear: none;
    }

    .files-gallery-grid.files-gallery-grid4 .files-gallery-tile:nth-child(6n+1) {
        clear: left;
    }

    .files-gallery-grid.files-gallery-grid4 .files-gallery-tile {
        width: 16.66666667%;
    }
}
@media (max-width: 767px) {
    .footernew {
        display: block;
        overflow: hidden;
        padding: 8px 0;
    }

    .footernew .footer-mobile-hidden,
    .footernew .f-s_0 {
        display: none;
    }

    .footernew .footer-menu-col {
        float: none;
        width: 100%;
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 6px;
    }

    .footernew h3 {
        margin: 6px 0 4px;
        font-size: 13px;
        line-height: 1.2;
    }

    .footernew ul {
        margin: 0;
        padding: 0;
    }

    .footernew ul li {
        display: inline-block;
        margin: 0 4px 4px 0;
        line-height: 1.2;
    }

    .footernew ul li a {
        display: inline-block;
        padding: 3px 6px;
        border: 1px solid #ddd;
        border-radius: 3px;
        background: #f7f7f7;
        font-size: 12px;
        line-height: 1.2;
    }
}

@media (max-width: 767px) {
    .footer-mobile-menu {
        display: block;
        clear: both;
        padding: 8px 5px;
        text-align: left;
    }

    .footer-mobile-menu-title {
        margin: 4px 0 6px;
        font-size: 13px;
        font-weight: bold;
        line-height: 1.2;
        color: #636363;
    }

    .footer-mobile-menu ul {
        margin: 0;
        padding: 0;
    }

    .footer-mobile-menu li {
        display: inline-block;
        margin: 0 4px 4px 0;
        line-height: 1.2;
    }

    .footer-mobile-menu a {
        display: inline-block;
        padding: 3px 6px;
        border: 1px solid #ddd;
        border-radius: 3px;
        background: #f7f7f7;
        font-size: 12px;
        line-height: 1.2;
    }
}