html, body {
    font-size: 14px;
}

ul > li {
    list-style: none;
}

p, a {
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cab-profile .send-mail a,
.cab-profile-count .count-megaphone,
.cab-menu ul li,
.noti-clear,
.select-lk label,
.cabinet-column label {
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.rubric-header {
    padding: 0 var(--size-base);
}

.rubric-header .anons-box-title {
    font-size: 21px;
}

#send_message {
    height: 100%;
}

.note {
    background: var(--color-gray-light);
    opacity: 1;
    font-style: normal;
}

button {
    outline: none;
    border: none;
}

.lk-content {
    margin-top: 100px;
}

.lk-content .sticky {
    position: sticky;
    top: 104px;
}

.anons-box .button {
    width: auto;
    font-size: 16px;
    margin: 0;
}

.anons-box .button:active {
    transform: translateY(1px);
}

/*---------------*/

.anons-box:has(.lk-menu) {
    padding-left: 0;
    padding-right: 0;
}

.anons-box:has(.lk-menu):before,
.anons-box:has(.lk-menu):after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: var(--size-base);
    z-index: 20;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
}

.anons-box:has(.lk-menu):before {
    left: 0;
}

.anons-box:has(.lk-menu):after {
    right: 0;
    transform: rotate(180deg);
}

.lk-menu {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
}

.lk-menu .item_menu {
    margin-right: 28px;
}

.lk-menu .item_menu:first-child {
    margin-left: var(--size-base);
}

.lk-menu .item_menu:last-child {
    margin-right: var(--size-base);
}

@media (min-width: 768px) {
    .anons-box:has(.lk-menu) {
        padding: var(--size-base);
    }

    .anons-box:has(.lk-menu):before,
    .anons-box:has(.lk-menu):after {
        display: none;
    }

    .lk-menu {
        display: block;
        overflow-x: unset;
        padding-bottom: 0;
    }

    .lk-menu .item_menu {
        margin-right: 0;
    }

    .lk-menu .item_menu:first-child {
        margin-left: 0;
    }

    .lk-menu .item_menu:last-child {
        margin-right: 0;
    }
}

.lk-menu .item_menu {
    display: flex;
    align-items: center;
    padding: 5px 0;
    cursor: pointer;
}

.lk-menu .item_menu span {
    margin-left: 5px;
}

.lk-menu .item_menu .item-menu-count,
.lk-menu .item_menu span,
.lk-menu .item_menu .svg-icon {
    transition: var(--transition);
}

.lk-menu .item_menu .item-menu-count {
    flex: 0 0 auto;
    padding: 0 7px;
    min-width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 50px;
    background-color: var(--color-gray-light);
}

.lk-menu .item_menu .svg-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    fill: var(--color-gray);
}

.lk-menu .item_menu a {
    color: var(--color-black);
}

.lk-menu .item_menu:hover a,
.lk-menu .item_menu:hover,
.lk-menu .item_menu.active {
    color: var(--color-cyan);
}

.lk-menu .item_menu:hover .item-menu-count,
.lk-menu .item_menu.active .item-menu-count {
    background-color: #cceffc;
    color: var(--color-cyan);
}

.lk-menu .item_menu:hover .svg-icon,
.lk-menu .item_menu.active .svg-icon {
    fill: var(--color-cyan);
}

/*---------------*/


/*avatar*/

.lk-profile-avatar {
    position: relative;
    display: block;
    cursor: pointer;
    aspect-ratio: 1/1;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100px;
    border-radius: 50%;
    overflow: hidden;
}

.lk-avatar-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: .5s ease-in-out;
}

.lk-profile-avatar:hover div img {
    transform: scale(1.1);
}

.lk-profile-avatar:after {
    content: "";
    background-color: #fff;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    border-radius: 50%;
    transform: scale(1);
    transition: all 0.3s ease-in-out;
}

.lk-profile-avatar:active:after {
    transform: scale(0);
    opacity: 0.3;
    transition: 0s;
}

.lk-profile .lk-profile-sum {
    max-width: calc(100% - 100px - 1rem);
}

@media (min-width: 992px) {
    .lk-profile .lk-profile-sum {
        max-width: 100%;
    }
}

.lk-profile-avatar-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.2);
}

.lk-profile-avatar:hover .lk-profile-avatar-footer {
    background-color: rgba(0, 0, 0, 0.4);
}

.lk-profile-avatar .svg-icon {
    fill: #fff;
    width: 20px;
    height: 20px;
}

.lk-profile-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lk-profile-name,
.lk-current,
.current-data {
    font-size: 17px;
    font-weight: 700;
}

.lk-profile-date-created {
    font-size: 12px;
    margin-top: 5px;
}

/*.lk-profile-date-created,
.lk-profile-ban {
    font-size: 14px;
}*/

/*End of avatar*/

.lk-nikname {
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-gray-dark-1);
}

label .lk-note {
    display: block;
    font-size: 13px;
    font-weight: 400;
    margin-top: 0;
    color: var(--color-black);
}

.phone-confirmation {
    display: flex;
}

.form-code {
    width: 50px;
    margin-right: 5px;
    pointer-events: none;
}

input.input-nik {
    padding: 10px 15px;
}

.phone-confirmation .form-new-phone {
    width: 205px;
}

.phone-confirmation .form-new-phone,
.phone-confirmation .form-control:focus {
    border: 1px solid var(--color-gray);
    box-shadow: 0 0 0 3px transparent;
    transition-delay: 0.5s;
    animation: puls-border 2s ease infinite;
}

.phone-confirmation .form-control:focus {
    border: 1px solid var(--color-cyan);
    box-shadow: 0 0 0 3px transparent;
}

@keyframes puls-border {
    from {
        border: 1px solid var(--color-gray);
        box-shadow: 0 0 0 3px transparent;
    }
    50% {
        border: 1px solid var(--color-cyan);
        box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.4);
    }
    to {
        border: 1px solid var(--color-gray);
        box-shadow: 0 0 0 3px transparent;
    }
}


input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
    appearance: none;
    -moz-appearance: textfield;
}

.verify-code {
    max-width: 116px;
    width: 100%;
    text-align: center;
}

.lk-footer {

}

.frontnew-block .nn-item .nn-image {
    margin-top: 0;
}

.how_view {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 174, 239, 0.1);
    width: 100%;
    padding: var(--size-base);
}

.how_view p {
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

.how_view a:hover {
    text-decoration: underline;
}

/*delete account */

.del-account {
    line-height: 50px;
    color: #e43927;
    text-decoration: underline;
    cursor: pointer;
    transition: var(--transition);
}

.del-account:hover {
    color: #e43927;
}

/*del-modal*/

/*.del-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1050;
    display: none;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .2s ease-in;
    -moz-transition: opacity .2s ease-in;
    transition: opacity .2s ease-in;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

.del-modal:target {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
}

.del-modal .modal-dialog {
    position: relative;
    width: auto;
    height: calc(100% - 20px);
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 576px) {
    .del-modal .modal-dialog {
        margin: auto;
        max-width: 500px;
        height: 100vh;
    }
}

.del-modal .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 8px;
    outline: 0;
}

@media (min-width: 768px) {
    .del-modal .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    }
}

.del-modal .close {
    background-image: url(/themes/default/front/img/close-black.svg);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    width: 50px;
    height: 50px;
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    z-index: 10;
    opacity: .7;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.del-modal .modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 35px;
    overflow: auto;
}

.cab-page .del-modal .modal-body p {
    font-size: 15px;
}

.del-modal .modal-footer {
    padding: 0 35px 35px;
    border-top: none;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.del-modal .modal-footer .comebt_butt,
.del-modal .modal-footer button {
    margin: 0 0 0 5px;
    text-transform: uppercase;
    transition: none;
    background-color: #e43927;
}

.cab-content .del-modal .modal-footer button:hover,
.cab-content .del-modal .modal-footer button:active {
    background-color: #c70200;
}

.cab-content .comebt_butt.cancel-button {
    background-color: #b4babe;
    color: #fff;
}

.cab-content .comebt_butt.cancel-button:hover {
    background-color: #9da2a6;
}

.cab-content .comebt_butt.cancel-button:active {
    background-color: #85898c;
}*/

/*End of del-modal*/

.change-password .profile-block-inside {
    position: relative;
}

.change-password .profile-block-inside i {
    position: absolute;
    bottom: 11px;
    right: 0;
    font-size: 20px;
    margin-left: 0;
    float: none;
    cursor: pointer;
    width: 45px;
    text-align: center;
    line-height: 30px;
    z-index: 1;
    color: var(--color-gray) !important;
}

/*---------------*/

.success-message,
.error-message,
.success-message-set,
.error-message-set {
    display: none;
    margin: 15px 0 0;
}

.success-message,
.success-message-set {
    color: #7cbf46;
}

.error-message,
.error-message-set {
    color: #d01128;
}

/*Комментарии и НН---------------*/

.user-lenta {
    width: calc(100% + 2 * var(--size-base));
    margin: 0 calc(-1 * var(--size-base));
}

.user-lenta .comment {
    padding: var(--size-base);
    margin: 0;
}

.user-lenta .nn-item,
.user-lenta .comment {
    border-top: none;
    border-bottom: 1px solid #e8ebef;
}

.user-lenta .comment .info {
    font-size: 11px;
    color: var(--color-gray);
}

.user-lenta .header-material,
.user-lenta .nn-item .nn-title {
    font-size: 18px;
    line-height: 1.1;
    font-weight: 700;
    padding-bottom: 5px;
    word-wrap: break-word;
    display: block;
    transition: var(--transition);
}

.user-lenta .comment-text {
    position: relative;
    border-radius: 0 6px 6px 6px;
    padding: 10px;
    margin-left: 18px;
    width: calc(100% - 18px);
    transition: var(--transition);
    background-color: var(--color-body);
}

.user-lenta .comment-text:before {
    content: '';
    position: absolute;
    left: -18px;
    top: 0;
    transition: var(--transition);
    border-left: 18px solid transparent;
    border-top: 14px solid var(--color-body);
}

.user-lenta .comment:hover .header-material {
    color: var(--color-cyan);
}

.user-lenta .comment:hover .comment-text {
    background-color: rgba(0, 174, 239, 0.15);
}

.user-lenta .comment:hover .comment-text:before {
    border-top: 14px solid rgba(0, 174, 239, 0.15);
}

.user-lenta .nn-item-header {
    height: auto;
    margin-bottom: 10px;
}

.user-lenta .nn-item .nn-link {
    margin-bottom: 10px;
}

.cab-page,
.cab-page h1,
.cab-content,
p,
h2,
h3,
h4,
h5,
.user-lenta .nar_now .big_pl_text,
.user-lenta .header-material,
.favourite .arh_nov_wr h4,
.cab-page .noti_panel li a {
    color: var(--color-black);
}

/*End of Комментарии и НН---------------*/

.note {
    display: block;
    width: 100%;
    padding: 20px;
    margin: 10px 0 30px;
}

.note h5 {
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 700;
}

.note p {
    font-size: 12px;
}

.note-input {
    font-style: italic;
    margin-top: 0;
    color: var(--color-gray);
    font-size: 13px;
}

.notify_delete {
    display: block;
    width: 100%;
    border: 1px solid var(--color-red);
    background-color: rgba(236, 0, 0, 0.2);
    margin-top: 5px;
    padding: 7px 10px;
}

/* webkit */
::-webkit-input-placeholder {
    color: #e8ebef;
    opacity: 1;
}

/* Firefox 19+ */
::-moz-placeholder {
    color: #e8ebef;
    opacity: 1;
}

/* Firefox 18- */
:-moz-placeholder {
    color: #e8ebef;
    opacity: 1;
}

/* IE */
:-ms-input-placeholder {
    color: #e8ebef;
    opacity: 1;
}

/* webkit */
:focus::-webkit-input-placeholder {
    opacity: 0;
}

/* Firefox 19+ */
:focus::-moz-placeholder {
    opacity: 0;
}

/* Firefox 18- */
:focus:-moz-placeholder {
    opacity: 0;
}

/* IE */
:focus:-ms-input-placeholder {
    opacity: 0;
}

