/* cyrillic-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url(/skins/dervish2/assets/fonts/KFOkCnqEu92Fr1MmgVxFIzIFKw.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
    font-display: swap;
}

/* cyrillic */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url(/skins/dervish2/assets/fonts/KFOkCnqEu92Fr1MmgVxMIzIFKw.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
    font-display: swap;
}

/* latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url(/skins/dervish2/assets/fonts/KFOkCnqEu92Fr1MmgVxGIzIFKw.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
    font-display: swap;
}

/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url(/skins/dervish2/assets/fonts/KFOkCnqEu92Fr1MmgVxIIzI.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}

/* cyrillic-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url(/skins/dervish2/assets/fonts/KFOmCnqEu92Fr1Mu72xKOzY.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
    font-display: swap;
}

/* cyrillic */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url(/skins/dervish2/assets/fonts/KFOmCnqEu92Fr1Mu5mxKOzY.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
    font-display: swap;
}

/* greek-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url(/skins/dervish2/assets/fonts/KFOmCnqEu92Fr1Mu7mxKOzY.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
    font-display: swap;
}

/* greek */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url(/skins/dervish2/assets/fonts/KFOmCnqEu92Fr1Mu4WxKOzY.woff2) format('woff2');
    unicode-range: U+0370-03FF;
    font-display: swap;
}

/* vietnamese */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url(/skins/dervish2/assets/fonts/KFOmCnqEu92Fr1Mu7WxKOzY.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
    font-display: swap;
}

/* latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url(/skins/dervish2/assets/fonts/KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
    font-display: swap;
}

/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url(/skins/dervish2/assets/fonts/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}

/* cyrillic-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url(/skins/dervish2/assets/fonts/KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
    font-display: swap;
}

/* cyrillic */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url(/skins/dervish2/assets/fonts/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
    font-display: swap;
}

/* latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url(/skins/dervish2/assets/fonts/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
    font-display: swap;
}

/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url(/skins/dervish2/assets/fonts/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}




html {
    box-sizing: border-box;
    width: 100%;
    background: #f7f7ef;
    font-size: 14px;
    height: 100%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

* {
    margin: 0;
    padding: 0;
    /*outline: 0;*/
    -webkit-overflow-scrolling: touch;
}

img,
video,
audio {
    max-width: 100%;
}

img,
video {
    height: auto;
}

svg {
    max-height: 100%;
}

iframe {
    border: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-stretch: extra-expanded;
    font-size: 1.5rem;
    line-height: 1.75rem;
    color: #3d3d3d;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

a {
    font-size: 1.5rem;
    color: #c00000;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #018001;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000080;
    font-weight: bold;
    font-family: 'Roboto';
    text-rendering: optimizeLegibility;
    margin-bottom: 16px;
}

h1 {
    font-size: 3.25rem;
    line-height: 3.5rem;
}

h2 {
    font-size: 2.25rem;
    line-height: 3rem;
}

ul,
ul ul,
ul ol,
ol,
ol ul,
ol ol {
    margin: 0 0 0 24px;
}

p,
hr,
pre,
blockquote,
ol,
ul,
dl,
table,
fieldset,
figure,
address,
form {
    margin-bottom: 16px;
}

fieldset {
    border: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    max-width: 100%;
    width: 100%;
    empty-cells: show;
}

th,
td {
    padding: 1rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

th {
    text-align: left;
    font-weight: 700;
    vertical-align: bottom;
}

.icon-small,
.icon-big {
    filter: invert(50%) sepia(100%) saturate(10000%) brightness(80%);
}

.icon-small:hover,
.icon-big:hover {
    filter: invert(50%) sepia(100%) saturate(10000%) brightness(110%) hue-rotate(160deg);
}

.icon-small {
    width: 16px;
    min-width: 16px;
}

.icon-middle,
.icon-big {
    width: 36px;
    min-width: 36px;
}

nav ul,
nav ol {
    list-style: none;
}

nav ul,
nav ol {
    margin: 0;
    list-style: none;
}

nav ul ul,
nav ul ol,
nav ol ul,
nav ol ol {
    margin-left: 24px;
}

button,
.button {
    border-radius: 0;
    font-weight: bold;
    font-family: 'Roboto';
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.two-column {
    column-count: 2;
}

.container {
    display: grid;
    max-width: 1360px;
    margin: auto;
    padding: 0 70px;
    grid-auto-columns: 1fr;
}

.container.content {
    padding-top: 6%;
}

body>.wrapper {
    width: 100%;
}

body>.wrapper.light {
    background: #fff;
}

body>.wrapper.dark {
    background: #e6e6d9;
}

.brand {
    margin-left: -64px;
    width: 236px;
}

.brand_header {
    margin-top: 14px;
}

.header.container {
    grid-template-columns: 3fr 5fr 1fr 1fr;
    height: 124px;
    align-items: center;
}

.header {
    height: 124px;
}

.header .navigation {
    text-transform: uppercase;
    font-weight: bold;
}

.header .navigation ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header .navigation a {
    font-size: 1rem;
    text-decoration: none;
    color: #3d3d3d;
}

.header .navigation .active a {
    color: #000080;
}

.header .navigation a:hover {
    text-decoration: underline;
    color: #018001;
}

.header-login {
    position: relative;
}

.header-login label.button {
    border: 2px solid #000080;
    font-size: 1rem;
    color: #000080;
}

.header-login label.button:hover {
    background: #000080;
    color: #fff;
}

.header-login .logged_in,
.header-login .logged_in a {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5rem;
}

.logged_in:first-child {
    white-space: nowrap;
}

.logged_in .user_name {
    text-decoration: none;
    color: #000080;
}

.logged_in .user_name:hover {
    text-decoration: underline;
}

.show-sm {
    display: none;
}

@media (max-width: 1100px) {
    .header.container {
        grid-template-columns: 2fr 6fr 1fr 1fr;
    }

    .brand {
        margin-left: 0;
        width: 100%;
        padding-right: 20px;
    }
}

@media (max-width: 1000px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 800px) {

    .hide-sm {
        display: none;
    }

    .show-sm {
        display: block;
    }

    .header-mobile {
        display: flex;
    }

    #navigation-mobile {
        width: 30%;
    }

    .header-mobile .brand {
        padding: 5px 15px;
        width: auto;
        margin: 0;
    }

    #menuToggle {
        display: block;
        position: relative;
        top: 40%;
        left: 30px;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
    }

    #menuToggle input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;

        cursor: pointer;

        opacity: 0;
        /* hide this */
        z-index: 2;
        /* and place it over the hamburger */

        -webkit-touch-callout: none;
    }

    /*
     * Just a quick hamburger
     */
    #menuToggle span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;

        background: #cdcdcd;
        border-radius: 3px;

        z-index: 1;

        transform-origin: 4px 0px;

        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            opacity 0.55s ease;
    }

    #menuToggle span:first-child {
        transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    /* 
     * Transform all the slices of hamburger
     * into a crossmark.
     */
    #menuToggle input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #232323;
    }

    /*
     * But let's hide the middle one.
     */
    #menuToggle input:checked~span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    /*
     * Ohyeah and the last one should go the other direction
     */
    #menuToggle input:checked~span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    /*
     * Make this absolute positioned
     * at the top left of the screen
     */
    #menuToggle>ul {
        position: absolute;
        width: 300px;
        margin: -100px 0 0 -50px;
        padding: 50px;
        padding-top: 125px;

        background: #fafafa;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        /* to stop flickering of text in safari */

        transform-origin: 0% 0%;
        transform: translate(-100%, 0);

        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }

    #menuToggle>ul li {
        padding: 10px 0;
        font-size: 22px;
    }

    /*
     * And let's slide it in from the left
     */
    #menuToggle input:checked~ul {
        transform: none;
    }
}

.toggle {
    display: none !important;
}

label.button {
    margin: 0;
    display: block;
    text-align: center;
    width: 100%;
}

.toggle:checked~.popup {
    z-index: 100;
    visibility: visible;
    opacity: 1;
    transition: all .3s ease-in;
}

.search-icon {
    display: inline-block;
}

.search-icon:hover {
    color: #000080;
    font-weight: bold;
    font-size: 2rem;
    cursor: pointer;
}

.header-search {
    position: relative;
    text-align: right;
}

.header-search .popup,
.header-login .popup {
    position: absolute;
    right: 0;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-out;
}


.search_form {
    border: 2px solid;
    width: auto;
    padding: 18px;
    justify-content: center;
    margin: 0;
    background: #ffffff;
    display: flex;
}

.search_form .close {
    position: absolute;
    right: 3px;
    top: 3px;
}

.search_form .search {
    width: auto;
    background: #f7f7ef;
    border-radius: 0;
}

.search_form input {
    border-width: 1px 0 1px 1px;
    border-color: transparent;
    border-style: solid;
}


.search_form button {
    background: #f7f7ef;
    color: #c00000;
    text-decoration: underline;
    border: none;
    padding: 0 10px;
    cursor: pointer;
}

.close {
    width: 16px;
    height: 16px;
    opacity: 0.3;
}

.close:hover {
    opacity: 1;
}

.close:before,
.close:after {
    position: absolute;
    left: 8px;
    top: 2px;
    content: ' ';
    height: 10px;
    width: 2px;
    background-color: #333;
}

.close:before {
    transform: rotate(45deg);
}

.close:after {
    transform: rotate(-45deg);
}

.search_form button:hover {
    color: #018001;
}

.login_form {
    /* width: 250px; */
    border: 2px solid #000080;
    float: right;
    height: 192px;
    display: grid;
    grid-template-columns: 18px auto 77px 18px;
    grid-template-rows: 18px 60px 54px 25px;
    align-items: top;
    background: #ffffff;
}

.login_form * {
    overflow: hidden;
    margin: 0;
    font-size: 1rem;
    line-height: 1rem;
    font-weight: bold;
}

.login_form .close {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
    margin: 2px 2px 0 0;
}

.login_form .login {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    background: #e6e6d9;
}

.login_form .pass {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    background: #e6e6d9;
}

.login_form .lostpass {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
    background: #e6e6d9;
    height: 40px;
    line-height: 40px;
    color: #757575
}

.login_form .lostpass:hover {
    color: #018001;
}

.login_form .remember {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    color: #757575;
}

.login_form .remember span {
    cursor: pointer;
}

.login_form .submit {
    grid-column: 3 / 4;
    grid-row: 4 / 5;
    border: none;
    background: transparent;
    padding: 0;
    align-self: self-start;
    text-align: right;
    cursor: pointer;
    color: #c00000;
    text-decoration: underline;
    padding-top: 7px;
}

.login_form .submit:hover {
    color: #018001;
}

.login_form .register {
    grid-column: 2 / 4;
    grid-row: 5 / 6;
    text-align: right;
}

.login_form input {
    width: auto;
    border-radius: 0;
    border: none;
}

.login_form label {
    position: relative;
    padding-left: 16px;
}

.login_form input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.login_form .checkmark {
    position: absolute;
    top: 7px;
    left: 0;
    height: 16px;
    width: 16px;
    background: url(/skins/dervish2/images/unchecked.svg) no-repeat;
    background-position-y: inherit;
}

.login_form input[type="checkbox"]:checked~.checkmark {
    background: url(/skins/dervish2/images/checked.svg) no-repeat;
}


footer {
    height: 250px;
}

footer.container {
    padding-top: 5%;
    grid-template-columns: 2fr 6fr 2fr;
}

footer,
footer a {
    font-size: 1rem;
}

footer a {
    color: #3d3d3d;
}

footer .brand {
    margin-left: -65px;
}

.wrapper {
    width: 100%;
}

.wrapper.light {
    background: #fff;
}

.wrapper.dark {
    background: #e6e6d9;
}

/************ main *************/
.container img {
    max-width: 100%;
}

.container.main1 {
    padding-top: 5%;
    padding-bottom: 5%;
}

.container.main1 h1 {
    grid-column: 1/11;
}

.container.main1 div {
    grid-column: 1/4;
}

.container.main1 div:last-child {
    grid-column: 5/11;
}

.container.main2 {
    grid-template-columns: 1fr 1fr 1fr;
}

.container.main2 {
    font-size: 1rem;
    padding-top: 5%;
    padding-bottom: 10%;
}

.container.main2 h2 {
    grid-column: 1 /4;
}

.container.main2 .ability-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.container.main2 .ability-item h3 {
    font-size: 1.5rem;
    color: #3d3d3d;
}

.container.main2 .ability-item div:first-child {
    font-weight: 100;
    font-size: 6.25rem;
    color: #e94b57;
    text-align: right;
    line-height: 6.25rem;
}

.container.main3,
.container.main4 {
    padding-top: 5%;
    padding-bottom: 5%;
}

.container.main3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.container.main5 {
    padding-top: 5%;
    padding-bottom: 10%;
    grid-template-columns: 1fr;
}

.top-guest .two-column {
    font-size: 1rem;
}

.top-guest .two-column a {
    font-size: 1rem;
}

.top-guest .name {
    color: #000080;
    font-size: 1.5rem;
    font-weight: bold;
}

.top-guest .date {
    color: #757575;
    font-size: 1rem;
    font-weight: bold;
}

.top-guest .two-column>div {
    page-break-inside: avoid;
    padding-bottom: 20px;
    column-gap: 8%;
}

.main4 .top_guest_bottom {
    padding-right: 28px;
}

.main4 .top_guest_bottom {
    /*height:10%;*/
    display: grid;
    grid-template-columns: auto 17%;
    margin-top: 20px;
}

.main4 .top_guest_bottom a {
    height: 10%;
    padding-right: 3%;
}


.main1 .shot1,
.main1 .shot2 {
    max-width: 90%;
    min-width: 300px;
}

.main1 .shot1 {
    float: right;
    margin-top: 2%;
}

.main1 .shot2 {
    margin-top: -20%;
}

.footer {
    margin-top: auto;
}

@media (max-width: 800px) {

    .container.main1 div,
    .container.main1 div:last-child {
        grid-column: 1/2;
    }

    .container.main1 h1,
    .container.main2 h2 {
        grid-column: 1/2;
    }

    .container.main2 {
        grid-template-columns: 1fr;
    }

    .container.main2 .ability-item {
        grid-template-columns: 1fr 4fr;
    }

    .container.main3 {
        grid-template-columns: 1fr;
    }

    .container.main3 div:last-child {
        display: none;
    }

    .two-column {
        column-count: 1;
    }

    footer.container {
        grid-template-columns: 1fr;
    }

    footer.container div {
        text-align: center;
    }

    footer .brand {
        margin: 0 auto;
    }

    footer .social-icons {
        justify-content: center;
    }

    .doc_content {
        grid-row: 1;
    }
}

/************ конец main *************/

/************ switcher *************/
.switch {
    position: relative;
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}

.switch input[type="checkbox"] {
    display: none;
}

.slider {
    position: relative;
    overflow: visible;
    border-radius: 1em;
    background: #9A9999;
    width: 34px;
    height: 14px;
    display: inline-block;
    margin: 0 10px;
}

.slider::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    width: 20px;
    height: 20px;
    display: block;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(154, 153, 153, 0.5);
    transition: all 0.2s ease;
}

.slider:after {
    content: "";
    position: absolute;
    display: block;
    margin: -20px 0 0 -1px;
    width: 56px;
    height: 56px;
    background: #01800177;
    border-radius: 50%;
    transform: scale(0);
    opacity: 1;
    pointer-events: none;
}

.switch input:checked+.slider:before {
    background: #018001;
    transform: translateX(20px);
    transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
    box-shadow: 0 3px 8px #01800177;
}

.switch input:checked+.slider:after {
    transform: scale(1);
    opacity: 0;
    transition: all 0.4s ease;
}

/************ конец switcher *************/


.social-icons {
    list-style: none;
    display: flex;
    flex-direction: row;
    margin: 0;
    justify-content: right;
}

.social-icons a {
    display: block;
    width: 25px;
    height: 25px;
    background: url('/skins/dervish2/images/social-networks-logos.png') no-repeat;
    background-size: 125px auto;
    background-position-y: center;
    filter: saturate(0);
}

.social-icons a:hover {
    filter: saturate(100%);
}

.social-icons .vk {
    background-position-x: 2px;
}

.social-icons .facebook {
    background-position-x: -25px;
}

.social-icons .twitter {
    background-position-x: -50px;
}

.social-icons .google {
    background-position-x: -75px;
}

.social-icons .rss {
    background-position-x: -100px;
}

/************ forum *************/

.tree.details {
    margin-left: 26px;
}

.branch~.subtree {
    height: 0;
    overflow: hidden;
    transition: max-height 0.15s ease-in;
}

.branch.open~.subtree {
    height: auto;
    transition: max-height 0.15s ease-out;
}

.branch::before {
    content: "[+]";
    width: 26px;
    min-width: 26px;
    cursor: pointer;
    float: left;
    margin-left: -26px;
}

.branch.open::before {
    content: "[-]";
    width: 26px;
    min-width: 26px;
}

.subj {
    text-decoration: underline;
    color: #c00000;
    cursor: pointer;
}

.subj:hover {
    color: #018001;
}

.summary {
    display: flex;
}

.summary+.post_text {
    height: 0;
    overflow: hidden;
    flex: 0;
    transition: flex 0.25s ease-in;
}

.summary.open+.post_text {
    height: auto;
    flex: 1;
    transition: flex 0.25s ease-out;
}

.summary .author,
.summary .direct_link,
.summary .subj,
.summary .date,
.post_buttons .btn {
    margin-right: 6px;
}

.direct_link {
    text-decoration: none;
}

.date {
    white-space: nowrap;
}

.author.user {
    color: #000080;
}

.author.user.admin {
    color: #018001;
}

.author.user:hover {
    color: #018001;
}

.post_text {
    margin-top: 10px;
    margin-bottom: 1rem;
}

.post_buttons {
    display: flex;
    flex-direction: row;
}

.subtree {
    /*padding-left:5%;*/
}

#themes a {
    text-decoration: none;
    color: #3d3d3d;
    font-weight: normal;
}

#themes .new a,
.subj.new {
    font-weight: bold;
}

#themes a:hover {
    text-decoration: underline;
    color: #018001;
}

#themes .subj {
    grid-area: f_s;
}

#themes .reps {
    grid-area: f_p;
}

#themes .date {
    grid-area: f_d;
}

#themes .del {
    grid-area: f_r;
}

.forum_list_header {
    font-weight: bold;
}

#themes>div {
    display: grid;
    grid-template-columns: 7fr 1fr 2fr 20px;
    grid-template-areas:
        "f_s f_p f_d f_r";
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05)
}

@media (max-width: 800px) {
    .summary {
        flex-direction: column;
    }

    #themes>.forum_list_header {
        display: none;
    }

    #themes .reps::before {
        content: "Ответов: ";
    }

    #themes .date {
        font-size: 0.875rem;
        color: #757575;
        display: block;
        white-space: nowrap;
    }

    #themes .reps {
        font-size: 0.875rem;
        font-weight: bold;
    }

    #themes>div {
        grid-template-columns: 1fr 20px;
        grid-template-areas:
            "f_s f_r"
            "f_d ."
            "f_p .";
    }
}

/************ конец forum *************/


.breadcrumb span {
    font-size: 1.5rem;
    color: #757575
}

.breadcrumb a {
    font-size: 2.25rem;
    text-decoration: none;
    color: #000080;
}

.breadcrumb a:hover {
    color: #018001;
}

.breadcrumb a:after {
    content: " /";
    color: #757575;
    font-size: 1.5rem;
}

/************ bbcode *************/
.bbMenu {
    height: 26px;
    position: relative;
    display: inline-flex;
}

.bbMenu img,
.smile_list span {
    display: block;
    float: left;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 1s cubic-bezier(0, .94, .49, .47);
}

.bbMenu img:hover,
.smile_list span:hover {
    border: 2px solid #000;
}

.smile_list {
    background: #fff;
    border: 2px solid;
    z-index: 10000;
}

.smile_list td {
    padding: 0;
}

.smile_list span {
    cursor: pointer;
}

.bb_smile {
    vertical-align: -25%;
    margin-left: 5px;
}

/************ конец bbcode *************/

/************ pager *************/
.pagination {
    margin: 24px 0;
}

.pagination ul {
    display: flex;
    margin: 0;
}

.pagination span,
.pagination a {
    border: none;
    padding: 8px 8px;
}

.pagination a {
    color: #c00000;
    text-decoration: underline;
}

.pagination a:hover {
    color: #018001;
    text-decoration: underline;
}

.pagination span {
    font-size: 1.5rem;
    font-weight: bold;
}

@media (max-width: 800px) {

    .pagination span,
    .pagination a {
        padding: 4px 4px;

    }
}

/************ конец pager *************/

/************ bugtracker *************/

.bug_list {
    margin-top: 5%;
}

.bug_list .bug_id {
    font-size: 0.875rem;
    grid-area: btl_i;
}

.bug_list .date {
    font-size: 0.875rem;
    color: #757575;
    display: block;
    white-space: nowrap;
    grid-area: btl_d;
}

.bug_list .author {
    font-size: 0.875rem;
    color: #000080;
    display: block;
    font-weight: bold;
    grid-area: btl_a;
    padding: 0 7px;
}

.bug_list .summary {
    grid-area: btl_s;
}

.bug_list a {
    text-decoration: none;
}

.bug_list a:hover {
    text-decoration: underline;
    color: #018001;
}

.bug_list .del {
    width: 2rem;
}

.status10 a {
    opacity: 1;
}

.status20 a {
    opacity: 0.5;
}

.status30 a {
    text-decoration: line-through;
}

.status40 a {
    text-decoration: line-through;
    opacity: 0.5;
}

.importance10 a {
    color: #3d3d3d;
}

.importance20 a {
    color: #018001;
}

.importance30 a {
    color: #ff0000;
}

.label {
    font-weight: bold;
    text-transform: lowercase;
    padding: 0 4px;
    white-space: nowrap;
    display: inline-block;
    font-size: .75rem;
    line-height: 1rem;
    border: 1px solid transparent;
    vertical-align: middle;
    text-decoration: none;
    border-radius: 4px;
}

.labels {
    grid-area: btl_l;
}

.label.error {
    background: #ff0000;
    color: #fff;
}

.label.version {
    background: #757575;
    color: #fff;
}

.label.advance {
    background: #018001;
    color: #fff;
}

.bug_list>div {
    display: grid;
    grid-template-columns: 2fr 1fr 7fr;
    grid-template-areas:
        "btl_l btl_i btl_s"
        ". btl_d btl_a";
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem;
}

.tracker_legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.tracker_legend a {
    font-weight: normal;
}

.form-bug-filters form {
    display: flex;
    font-size: 1rem;
}

.form-bug-filters form>div {
    display: flex;
}

.form-bug-filters label {
    margin-right: 10px;
    font-size: .75rem;
}

.form-bug-filters input,
.form-bug-filters select {
    height: 30px;
}

.form-bug-filters input {
    font-size: .75rem;
}

.form-bug-filters select {
    font-size: .75rem;
    display: inline-block;
    border: 1px solid #3d3d3d;
    background-position: calc(100% - 10px) calc(1.5rem - 10px), calc(100% - 5px) calc(1.5rem - 10px), 100% 0;
    margin-right: 10px;
    padding-right: 20px;
}

.form-bug-filters form>div:last-child {
    flex-direction: column;
    text-align: center;
}

.form-bug-filters .reset {
    font-size: .75rem;
}

.orderby {
    cursor: pointer;
    float: right;
    position: relative;
    z-index: 10;
}

.orderby summary {
    font-weight: bold;
}

.orderby summary::-webkit-details-marker {
    display: none;
}

.orderby .dropdown {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #3d3d3d;
    float: right;
    right: 0;
    position: absolute;
}

.orderby .dropdown a {
    font-size: .75rem;
    color: #3d3d3d;
    text-decoration: none;
    padding-left: 30px;
    padding-right: 35px;
    position: relative;
}

.orderby .dropdown a.up:before,
.orderby .dropdown a.down:before {
    display: block;
    line-height: 1;
    position: absolute;
    left: 12px;
}

.orderby .dropdown a.up:before {
    content: "\276E";
    transform: rotate(90deg);
    top: 7px;
}

.orderby .dropdown a.down:before {
    content: "\276E";
    transform: rotate(-90deg);
    top: 9px;
}

.orderby .dropdown a:hover {
    background: #000080;
    color: #fff;
}

@media (max-width: 800px) {
    .orderby {
        display: none;
    }

    .bug_list>div {
        display: grid;
        grid-template-columns: min-content min-content 1fr;
        grid-template-areas:
            "btl_s btl_s btl_s"
            "btl_d btl_a btl_i"
            "btl_l btl_l btl_l";
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1rem;
    }
}

/************ конец bugtracker *************/

/************ forms *************/
input,
textarea,
select {
    display: block;
    width: 100%;
    font-family: inherit;
    font-size: 1.5rem;
    height: 40px;
    /*outline: none;*/
    vertical-align: middle;
    background-color: #fff;
    border: 2px solid #3d3d3d;
    color: #3d3d3d;
    box-shadow: none;
    padding: 0 12px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

label {
    font-weight: bold;
    color: #3d3d3d;
    padding-right: 10px;
    padding-top: 7px;
}

select {
    -webkit-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-overflow: '';
    background-image: linear-gradient(45deg, transparent 50%, #3d3d3d 50%), linear-gradient(135deg, #3d3d3d 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1.5rem - 5px), calc(100% - 15px) calc(1.5rem - 5px), 100% 0;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

input:disabled,
input.disabled,
textarea:disabled,
textarea.disabled,
select:disabled,
select.disabled {
    resize: none;
    opacity: 0.6;
    cursor: default;
    color: #757575;
    font-weight: bold;
    background: #e6e6d9;
    border: none;
}

input[type="submit"] {
    width: auto;
    background: #000080;
    color: #fff;
    text-transform: uppercase;
}

input[type="submit"]:focus {
    width: auto;
    background: #000080;
    color: #fff;
    text-transform: uppercase;
    opacity: 0.5;
}

input[type="radio"],
input[type="checkbox"] {
    display: inline-block;
    width: auto;
    height: auto;
    padding: 0;
}

input[type="radio"]:focus,
input[type="checkbox"]:focus {
    outline: 1px dotted #1c86f2;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    background-color: #fff;
    border-color: #1c86f2;
    box-shadow: 0 0 2px #1c86f2 inset;
}

.has-error input,
.has-error textarea,
.has-error select {
    background-color: rgba(240, 60, 105, 0.1);
    border-color: 2px solid #f583a0;
}

.has-error input:focus,
.has-error textarea:focus,
.has-error select:focus {
    border-color: #f03c69;
    box-shadow: 0 0 2px #f03c69 inset;
}

.has-success input,
.has-success textarea,
.has-success select {
    background-color: rgba(53, 190, 177, 0.1);
    border: 2px solid #6ad5cb;
}

.has-success input:focus,
.has-success textarea:focus,
.has-success select:focus {
    border-color: #35beb1;
    box-shadow: 0 0 2px #35beb1 inset;
}

.invalid-feedback {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

textarea {
    height: auto;
    padding: 8px 12px;
    vertical-align: top;
}

input[type="file"] {
    width: auto;
    border: none;
    padding: 0;
    height: auto;
    background: none;
    box-shadow: none;
    display: inline-block;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 3fr;
    margin-bottom: 1rem;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    color: #6c757d;
}

.checkbox label {
    font-weight: normal;
}

/************ конец forms *************/

/************ docs *************/
.doc_menu {
    grid-column: 1/2;
    list-style: none;
    margin-left: 0;
    padding-right: 30px;
}

.doc_menu li {
    margin-bottom: 20px;
}

.content.docs {
    grid-template-columns: 3fr 7fr;
}

.content.docs h1 {
    grid-column: 1/3;
}

/************ конец docs *************/

/************ guest *************/
.gitem {
    border-bottom: 1px solid #757575;
    margin-top: 20px;
    padding-bottom: 20px;
}

.ganswer {
    margin-top: 30px;
}

.gheader {
    padding-bottom: 30px;
}

.gheader .date {
    display: block;
    color: #757575;
    font-size: 1rem;
    font-weight: bold;

}

.gheader .author {
    display: block;
}

/************ конец guest *************/
/************ search *************/
.search_params {
    display: flex;
    flex-direction: row;
    margin: 5px 0 10px;
}

.search_params>div {
    padding: 5px 15px;
    flex-grow: 1;
    flex-basis: 0;
}

.search_params label {
    display: block;
}

@media (max-width: 800px) {
    .search_params {
        flex-direction: column;
    }
}

/************ конец search *************/

.clearfix {
    clear: both;
}

div.bb_code {
    background: #eef;
    border: 1px solid;
    padding: 10px;
}

.bb_code_header {
    margin-bottom: 10px;
    background: #eee;
    font-weight: bold;
    border-bottom: 1px solid;
}

.bb_code code {

    font-size: 1rem;
    line-height: 1rem;
}

blockquote {
    border-left: 3px solid gray;
    padding: 10px;
}