:root {
    --error: #ff6b6b;
    --success: #1dd1a1;
    --white: #ffffff;
}

@font-face {
    font-family: 'Conv_alexander';
    src: url('../fonts/alexander.eot');
    src: local('?'), url('../fonts/alexander.woff') format('woff'), url('../fonts/alexander.ttf') format('truetype'), url('../fonts/alexander.svg') format('svg');
    font-weight: normal;
    font-style: normal
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.main_border {
    width: 100%;
    background-color: #fff;
    border-spacing: 0;
    border-collapse: collapse;
}

td {
    padding: 0;
}

img {
    border: none
}

.header {
    background: #1a5599;
    background: linear-gradient(to bottom, rgba(26, 85, 153, 1) 32%, rgba(34, 133, 214, 1) 72%, rgba(110, 177, 229, 1) 100%);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px
}

.logo {
    text-align: center
}

.logo img {
    width: 340px
}

.letters-nav {
    position: relative;
    width: 600px;
    margin: 0 auto;
    text-align: center
}

.letters-nav a {
    color: #fff
}

.letters-nav a:hover {
    color: #f7ef0c
}

.search {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}



i {
    font-weight: bold
}

ul {
    margin-left: 35px
}

ol {
    margin-left: 35px
}

dl {
    margin-left: 35px
}

a {
    color: #599cea;
    text-decoration: none
}

a:hover {
    color: #c67dcc
}



html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

h1 {
    position: relative;
    z-index: 5;
    font: 400 10px Verdana, Geneva, sans-serif;
    margin: 0;
    padding-left: 10px;
    text-align: left;
    color: #39f
}

#menu {
    width: 150px;
    background-color: #f6f6f6;
    margin: 8px
}

#menu a {
    display: block;
    font: bold 13px Verdana;
    padding: 2px 20px;
    width: 100%;
    color: #1a5599;
    text-decoration: none;
    border: 1px solid gray;
    margin-bottom: 2px;
    border-radius: 6px;
    background: url('../../img/gl_img/color_label_diamond_blue.png') no-repeat 2px 3px
}

#menu a:hover {
    padding: 2px 20px;
    margin: 2px 0;
    font-size: 13px;
    color: #f7ef0c;
    background: #2285d6 url('../../img/gl_img/color_label_diamond_yellow.png') no-repeat 2px 3px
}

.menu {
    border: 1px solid gray;
    border-bottom-width: 0;
    width: 93%;
    background-color: #f6f6f6;
    margin: 8px
}

.menu a {
    font: bold 13px Verdana;
    padding: 2px 2px 2px 4px;
    display: block;
    width: 100%;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid gray
}

.menu a:hover {
    background-color: #ccc;
    color: #a72e37
}

.sidebar {
    vertical-align: top;
    background-color: #f6f6f6;
    border-right: 1px solid #424242;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px
}

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

.right {
    background-color: #f6f6f6;
    border-bottom-left-radius: 20px;
    border-left: 1px solid #424242;
    border-top-left-radius: 20px
}

p.title {
    color: #fff;
    font-weight: bold;
    margin: 5px;
    padding: 5px;
    border-radius: 6px;
    background: #1a5599;
    background: linear-gradient(to bottom, rgba(26, 85, 153, 1) 32%, rgba(34, 133, 214, 1) 72%, rgba(110, 177, 229, 1) 100%)
}

p {
    font-family: Verdana, sans-serif;
    font-size: 12px;
    margin: 10px
}

.biography {
    border: 1px solid #ccc;
    width: 95%;
    font-size: 12px;
    border-radius: 10px;
    box-shadow: 1px 1px 4px rgba(44, 44, 44, .5);
}

.biography:hover {
    box-shadow: 1px 1px 4px rgba(44, 44, 220, .5);
}

.biography_title {
    background-color: #f6f6f6
}

.biography_name {
    font-size: 16px;
    font-weight: bold;
    margin-top: 7px;
    margin-bottom: 7px
}

.biography_adds {
    font-size: 11px;
    margin-top: 7px;
    margin-bottom: 7px;
    color: #6c0000
}

.text {
    padding: 10px 0;
    vertical-align: top;
    font-family: Georgia, "Times New Roman", Times, serif;
    overflow: hidden;
    width: 99%;
}

.img_pr {
    margin-top: 10px
}

.pole_pr {
    margin-bottom: 10px
}

.post_comment {
    font-size: 15px;
    font-weight: bold;
    border-bottom: 1px solid #424242;
    width: 300px;
    margin-top: 100px;
    margin-bottom: 20px
}

.post_comment_adds {
    font-size: 11px;
    margin-left: 20px
}

.text_comment {
    margin-left: 25px
}

.post_div {
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
    margin: 15px;
    border-right: 1px solid gray;
    border-left: 1px solid gray;
    width: 50%
}

.img_text {
    float: left
}

.img {
    text-align: center;
    margin: 20px
}

.MsoNormal {
    font: 16px/1.5 Verdana, Geneva, serif;
    margin: 15px 50px 15px 50px
}

.strong {
    font-weight: normal
}

.img_view_cat {
    float: left;
    margin: 0 10px 10px 0;
    border: 1px solid #666;
    padding: 4px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
}

.biography-image {
    float: left;
    margin: 7px 25px 7px 15px;
    border: 1px solid #666;
    padding: 4px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
}

.pagination {
    padding: 0 10px 20px 15px;
    color: #424242
}

.pagination a {
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #245e93;
    text-decoration: underline
}

.vrezka {
    float: right;
    width: 40%;
    padding: 5px;
    margin: 10px;
    border: 6px #396 inset;
    background: #fff;
    color: #319774;
    font-weight: bold
}

.parstbl {
    width: 80%;
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    border-collapse: collapse;
    color: #000;
    margin: auto
}

.parstbl th {
    background: #b0c4de
}

.parstbl td {
    border: 1px solid #aaa;
    text-align: center
}

.col_view {
    font-size: 11px;
    margin-top: 25px;
    margin-bottom: 30px;
    color: #6c0000;
    margin-left: 40px
}

.person-slider {
    position: relative;
    padding-bottom: 30px
}

.person-slider ul, .person-slider ol {
    margin: 0;
    padding: 0
}

.person-slider .slides {
    height: 500px
}

.person-slider .slides li {
    text-align: center;
    height: 500px;
    line-height: 500px;
    display: inline-block;
    *display: inline;
    zoom: 1
}

.person-slider .slides li img {
    max-height: 500px;
    vertical-align: middle
}

.person-slider .thumb-wrapper {
    height: 100px;
    overflow: hidden;
    text-align: center;
    margin: 10px 0
}

.person-slider .thumb-wrapper.opened {
    overflow: auto
}

.person-slider .flex-control-thumbs li {
    display: inline-block;
    margin: 0 5px;
    cursor: pointer
}

.person-slider .flex-control-thumbs li img {
    max-height: 100px
}

.person-slider .flex-direction-nav {
    position: absolute;
    top: 200px;
    width: 100%;
    margin: 0;
    z-index: 99
}

.person-slider .flex-direction-nav li {
    list-style-type: none;
    display: block
}

.person-slider .flex-direction-nav li a {
    width: 58px;
    height: 90px;
    display: block;
    background: url("../../img/slider/sprite-arrows.png") 0 0 no-repeat
}

.person-slider .flex-direction-nav .flex-prev {
    float: left;
    margin-left: 50px;
    background-position: 0 -90px
}

.person-slider .flex-direction-nav .flex-prev:hover {
    background-position: 0 -270px
}

.person-slider .flex-direction-nav .flex-next {
    float: right;
    margin-right: 50px;
    background-position: 0 0
}

.person-slider .flex-direction-nav .flex-next:hover {
    background-position: 0 -180px
}

.person-slider .show-all {
    position: absolute;
    bottom: 5px;
    right: 50px
}

div.more {
    text-align: center
}

div.more a {
    color: #599cea;
    display: inline-block;
    font-size: 14pt;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
}

div.more a:hover {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    color: #c67dcc !important;
    text-decoration: none
}

.button {
    border: 1px solid #bbb;
    border-radius: .5em;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    color: #444;
    cursor: pointer;
    display: inline-block;
    font-size: 9pt;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 2px #fff, 0 1px 2px #fff, -1px 1px 2px #fff;
    margin-bottom: 30px;
    margin-top: 10px
}

div.quote1 {
    position: relative;
    background: none repeat scroll 0 0 #f3f3f3;
    border: 1px dotted #bbb;
    border-radius: 3px;
    font-family: 'Conv_alexander', sans-serif;
    font-size: 16pt;
    line-height: 1.3em;
    padding: 7px 35px 8px 5px;
    margin: 10px 40px 25px 40px
}


div.desc_quote p {
    margin: 10px 40px 10px 40px;
    font-size: 14px
}

.img_left_quote {
    float: left;
    margin: 3px 0 0 0
}

.img_right_quote {
    float: right;
    position: absolute;
    margin: 4px 0 0 0
}

.comment-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-left: 40px;

    input,
    textarea {
        border: 4px solid rgba(158, 222, 255, 0.5);
        padding: 8px 10px;
        border-radius: 5px;
        outline: 0;

        &.error {
            border: 4px solid var(--error);
        }
    }

    .comment-form__message {
        margin-top: 10px;
        color: var(--white);
        padding: 10px 20px;
        border-radius: 8px;

        &.success {
            background-color: var(--success);
        }

        &.error {
            background-color: var(--error);
        }
    }

    textarea {
        width: 350px
    }

    button {
        cursor: pointer;
        background: linear-gradient(to top, #efefef, #ddd);
        color: #333;
        text-shadow: 0 1px 1px rgba(255, 255, 255, 1);
        border: 1px solid #ccc;
        padding: 8px 10px;
        border-radius: 5px;
        outline: 0;

        &:hover {
            background: linear-gradient(to top, #eee, #ccc);
            border: 1px solid #bbb
        }

        &:active {
            background: linear-gradient(to top, #ddd, #aaa);
            border: 1px solid #999
        }
    }
}

.comment {
    position: relative;
    background: rgba(158, 222, 255, 0.5);
    border-radius: 6px;
    font-family: 'Conv_alexander', sans-serif;
    font-size: 16pt;
    line-height: 1.3em;
    padding: 7px 35px 8px 5px;
    margin: 10px 40px 25px 40px;

    .comment-user {
        background: rgba(255, 221, 29, 0.5);
        font-size: 10pt;
        border-radius: 7px;
        text-align: center;
        display: inline-block;
        padding: 0 10px 0 10px
    }

    .comment-text {
        padding: 15px;
    }
}

h1 {
    position: absolute
}

.startPost {
    overflow: hidden;
    width: 550px;
    margin-left: 30px;
    display: inline-block;
    vertical-align: top;
}

@media screen and ( max-width: 425px ) {
    html, body {
        overflow-x: auto;
    }

    .header {
        padding-bottom: 10px;
    }

    .search {
        max-width: 320px;
    }

    .main_border {
        min-width: auto;
    }

    .startPost {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    .biography_name {
        text-align: center;
    }

    .text .star-rating {
        margin: 0 auto;
    }

    .biography-image {
        float: none;
        margin: 0 auto;
        display: block;
    }

    .MsoNormal {
        margin: 0;
    }

    .letters-nav {
        display: none;
    }

    .left {
        display: none;
    }

    #rod_zan font,
    #view_alf font {
        display: block;
    }

    .letters-nav a {
        font-size: 12px;
    }

    .text {
        padding: 10px;
    }

    .text blockquote {
        margin: 0;
    }

    .text ul {
        margin: 0;
    }

    .person-slider img {
        max-width: 90%;
    }
}

.alphabet-list {
    border: 1px solid gray;
    border-bottom-width: 0;
    background-color: #f6f6f6;
    margin: 8px;
}

.alphabet-list a {
    font: 700 13px Verdana;
    padding: 2px 2px 2px 4px;
    display: block;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid gray;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}