:root, [data-theme=light] {
    --cab-background: #FFFFFF;
    --cab-color: #222222;
    --cab-color-ext: #555555;
    --cab-color-light: #777777;
    --cab-link: #2196f3;
    --cab-active: #03a9f4;
    --cab-ext: rgba(0, 0, 0, .05);
    --cab-loader: rgba(255, 255, 255, .5);
    --cab-shadow: rgba(0, 0, 0, .2);
    --cab-shadow-hover: rgba(0, 0, 0, .3);
    --cab-message: #EEEEEE;
    --cab-message-me: #e8f5e9;
    --cab-dyli: #fff8de;
}
[data-theme=dark] {
    --cab-background: #222222;
    --cab-color: #EEEEEE;
    --cab-color-ext: #DDDDDD;
    --cab-color-light: #CCCCCC;
    --cab-link: #03a9f4;
    --cab-active: #2196f3;
    --cab-ext: rgba(255, 255, 255, .05);
    --cab-loader: rgba(35, 35, 35, .8);
    --cab-shadow: rgba(255, 255, 255, .2);
    --cab-shadow-hover: rgba(255, 255, 255, .3);
    --cab-message: #555555;
    --cab-message-me: #2b442c;
    --cab-dyli: #032a3c;
}
body {
    background-color: var(--cab-background);
    color: var(--cab-color);
}
a {
    color: var(--cab-link);
    cursor: pointer;
}
#auths {
    display: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
#subscribe_push {
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.cabb {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--cab-background);
    box-shadow: 0 0 5px var(--cab-shadow);
    z-index: 1000;
    padding: 10px 0;
}
.dropdown-menu {
    background-color: var(--cab-background);
    border-color: var(--cab-shadow);
    color: var(--cab-color);
}
.cabb .dropdown-toggle {
    border: none !important;
    cursor: pointer;
}
.cabb .cab_btns a {
    color: var(--cab-color-light);
}
.cabb .cab_btns a.pt {
    display: inline-block;
    height: 50px;
    width: 50px;
    line-height: 50px;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.cabb .cab_btns a.active {
    color: var(--cab-active);
}
.cabb .cab_btns .fa {
    font-size: 20px !important;
    line-height: 30px !important;
}
.cabb .open {
    background-color: var(--cab-background);
}
.cabinet {
    padding-top: 100px;
    padding-bottom: 40px;
}
.cabinet .clearfix {
    display: flow-root;
}
.cabinet a.active span,
.cabinet a.active svg {
    color: var(--cab-link);
}
.cabinet .dyli {
    background-color: var(--cab-dyli);
}
.cab_head {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}
.contact-info {
    border: 1px solid var(--cab-shadow);
    border-radius: 20px;
    padding: 20px;
}
.cabinet .selection {
    border: 1px solid var(--cab-shadow);
    border-radius: 20px;
    padding: 20px;
}
#cabinet_data {
    position: relative;
}
#cabinet_loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 75vh;
    z-index: 49;
    background: var(--cab-loader) url('/img/exprich_loading.gif') center center no-repeat;
    background-size: 40px 40px;
    transition: 200ms;
}
.cabinet .embed-responsive-item {
    border-radius: 20px;
    overflow: hidden;
}
.cabinet .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: var(--cab-ext);
}
.table-hover > tbody > tr:hover {
    background-color: var(--cab-shadow) !important;
}
.cabinet .table,
.cabinet .table > thead > tr > th,
.cabinet .table > tbody > tr > th,
.cabinet .table > tfoot > tr > th,
.cabinet .table > thead > tr > td,
.cabinet .table > tbody > tr > td,
.cabinet .table > tfoot > tr > td {
    border-color: var(--cab-ext);
}
.cabinet .deal {
    display: inline-table;
    border: 1px solid var(--cab-shadow);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    margin-right: 2%;
    width: 47%;
    color: var(--cab-color);
    box-shadow: 2px 2px 5px var(--cab-shadow);
}
.cabinet .deal:hover,
.cabinet .cab_object:hover {
    box-shadow: 3px 3px 10px var(--cab-shadow-hover);
}
.cabinet .deal .label,
.cabinet .cab_object .label {
    border-radius: 10px;
}
.cabinet .deal .fa,
.cabinet .cab_object .fa {
    margin-right: 10px;
}
.cabinet .cab_object {
    display: inline-table;
    position: relative;
    border: 1px solid var(--cab-shadow);
    border-radius: 20px;
    color: var(--cab-color);
    padding: 20px 20px 20px 100px;
    margin-bottom: 20px;
    margin-right: 2%;
    width: 47%;
    box-shadow: 2px 2px 5px var(--cab-shadow);
    background-size: 80px !important;
    overflow: hidden;
}
.cabinet .cab_object_img {
    display: block;
    width: 90px;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    background-color: var(--cab-ext);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .8;
}
.cabinet .cab_object:hover .cab_object_img {
    opacity: 1;
}
.cabinet .object_view {
    display: inline-block;
    margin-right: 2%;
    width: 47%;
}
.cabinet .table-responsive {
    border: 1px solid var(--cab-ext);
    border-radius: 15px;
}
.cabinet .table-responsive .table {
    margin-bottom: 2px;
}
.cabinet .form-control,
.cabinet .btn-default {
    background-color: var(--cab-background) !important;
    color: var(--cab-color) !important;
    border-color: var(--cab-shadow) !important;
}
.cabinet .text-grey {
    color: var(--cab-color-ext);
}
.cab_tabs {
    padding-bottom: 20px;
}
.cab_tabs a {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 130px;
    text-align: center;
    border: 1px solid var(--cab-shadow);
    border-radius: 20px;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 0;
    padding: 10px 20px;
}
.cab_tabs a:hover {
    box-shadow: 0 0 5px var(--cab-shadow-hover);
}
.cab_tabs svg {
    display: block;
    height: 32px;
    width: 32px;
    color: var(--cab-color-light);
    margin: 20px auto;
}
.cab_tabs span {
    color: var(--cab-color-light);
}
#avito_chart, #yandex_chart, #price_chart, .chart {
    position: relative;
    overflow: hidden;
    width: 100%
}

.sort-highlight {
    background: #f4f4f4;
    border: 1px dashed var(--cab-shadow);
    margin-bottom: 10px
}

.full-opacity-hover:hover {
    opacity: 1
}

.chart {
    height: 266px
}

#avito_chart canvas, #avito_chart svg,
#yandex_chart canvas, #yandex_chart svg,
#price_chart canvas, #price_chart svg,
#bar_chart canvas, #bar_chart svg,
.chart canvas, .chart svg {
    width: 100% !important
}

#avito_chart, #yandex_chart, #price_chart {
    height: 300px
}
.deal_link {
    color: #222222 !important;
}
#cabinet_dialog {
    position: relative;
    width: 100%;
    min-height: 50vh;
    margin-bottom: 2px;
}
.chat-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: var(--cab-loader) url('/img/exprich_loading.gif') center center no-repeat;
    background-size: 40px 40px;
    transition: 200ms;
}
.cab_dialog {
    border-radius: 20px;
    padding: 10px;
}
.cab_dialog .message {
    margin-bottom: 10px;
    margin-top: 10px;
    position: relative;
}
.cab_dialog .message > div {
    display: inline-block;
    padding: 10px 25px 5px 15px;
    min-height: 50px;
    position: relative;
}
.cab_dialog .message .delete_chat {
    position: absolute;
    top: 5px;
    right: 5px;
    color: var(--cab-shadow-hover);
    transition: all 1s;
    cursor: pointer;
}
.cab_dialog .message .in {
    border-radius: 20px 20px 20px 0;
    background: var(--cab-message);
    margin-right: 10%;
    margin-left: 60px;
    float: left;
}
.cab_dialog .message .in .sm_all {
    border-radius: 10px 10px 10px 0;
    background: var(--cab-message);
}
.cab_dialog .message .out {
    border-radius: 20px 20px 0 20px;
    background: var(--cab-message-me);
    margin-left: 10%;
    margin-right: 10px;
    float: right;
}
.cab_dialog .message .out .sm_all {
    border-radius: 10px 10px 0 10px;
    background: var(--cab-message-me);
}
.cab_dialog .message .imagelightbox {
    touch-action: manipulation;
}
.cab_dialog .message .thumb_img {
    border-radius: 10px;
    max-width: 300px;
    height: 150px;
    background: #ffffff;
    margin-right: 10px;
    margin-bottom: 10px;
    object-fit: cover;
}
.author_img {
    position: absolute;
    display: block;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    bottom: 5px;
}
.emoji {
    background: transparent !important;
}
.emoji_button, .attachment_button {
    font-size: 24px !important;
    line-height: 20px !important;
}
.emoji video {
    height: 70px;
    padding: 0 !important;
    margin: 0 !important;
}
.one_emoji {
    font-size: 50px;
    text-align: center;
}
.emoji .one_emoji {
    height: 70px !important;
}
.two_emoji {
    font-size: 42px;
    text-align: center;
}
.three_emoji {
    font-size: 36px;
    text-align: center;
}
.four_emoji {
    font-size: 30px;
    text-align: center;
}
.cab_dialog .message .in ~ .author_img {
    left: 0;
}
.cab_dialog .message .out ~ .author_img {
    right: 0;
}
.sm_all {
    margin-top: 5px;
    padding: 2px 8px;
    font-size: 12px;
    color: var(--cab-color-ext);
}
.sm_in {
    text-align: left;
}
.sm_out {
    text-align: right;
}
.bg-light-blue {
    background-color: #2196f3;
    color: #fff !important;
}
.form-control:focus {
    border-color: #DDDDDD;
}
.chat_form .input-group {
    box-shadow: 0 0 5px var(--cab-shadow);
    border-radius: 10px;
}
.check_message {
    height: 16px;
    width: 16px;
    margin-left: 2px;
    margin-bottom: -3px;
}
.read {
    fill: #00acc1;
}
.unread {
    fill: #9e9e9e;
}
.input-group-btn:not(:last-child):not(:first-child) {
    z-index: 2;
    margin-left: 1px;
}
.input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child), .input-group .form-control:not(:first-child):not(:last-child) {
    border-radius: 0;
}
.input-group-btn {
    position: relative;
    font-size: 0;
    white-space: nowrap;
}
.input-group-btn:not(:last-child):not(:first-child) > .btn {
    border-radius: 0 !important;
    margin-left: -1px;
}
.input-group-btn .btn {
    margin-top: 0;
    margin-right: 0;
}
.input-group-btn > .btn {
    position: relative;
}
.chat_form button, .chat_form .btn, .chat_form input {
    height: 40px !important;
    min-width: 46px !important;
}
.unread_chats, .meet_today, .actions_new {
    position: absolute;
    top: 0;
    right: 0;
}
.unread_chats b, .meet_today b, .actions_new b {
    display: block;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 12px;
    text-align: center;
}
.unread_chats b{
    background-color: #F44336;
}
.meet_today b{
    background-color: #179817;
}
.actions_new b{
    background-color: #03a9f4;
}
.unread_chats.first, .meet_today.first, .actions_new.first {
    top: 10px;
    right: 10px;
}
.unread_chats.first b, .meet_today.first b, .actions_new.first b {
    display: block;
    font-size: 14px !important;
    line-height: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 14px;
}
.files {
    display: none;
    color: #2196f3;
    float: right;
}
.meeting {
    border: 1px solid #EEEEEE;
    border-radius: 20px;
    box-shadow: 2px 2px 4px rgba(0,0,0,.1);
    min-height: 100px;
    padding: 10px 20px;
    margin-bottom: 10px;
}
.img-meeting {
    max-width: 150px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 10px;
}
#modal_load iframe {
    width: 100%;
    height: 300px;
    border: none;
}
.version {
    display: block;
    font-size: 11px;
    text-align: center;
    color: var(--cab-shadow);
    position: absolute;
    bottom: 4px;
    left: 45%;
}
.item_price {
    font-weight: 900;
    font-size: 120%;
}
.cab_action {
    margin: 5px 10px 25px;
    border-radius: 20px;
    box-shadow: 0 0 4px var(--cab-shadow);
}
.cab_dialog .message .delete_chat {
    display: none;
}
.cab_dialog .message:hover .delete_chat {
    display: block;
}
.cab_action.is_unread {
    background-color: rgba(3, 169, 244, 0.2);
}
.cab_action_img {
    width: 100%;
    height: 200px;
    background-size: cover;
    border-radius: 20px 20px 0 0;
}
.cab_action_caption {
    width: 100%;
    height: 200px;
    padding: 10px 20px;
    border-radius: 0 0 20px 20px;
    color: var(--cab-color);
}
.cab_action_head {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    max-height: 55px;
    overflow: hidden;
}
.cab_action_text {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    max-height: 80px;
    overflow: hidden;
}
.cab_action_image {
    max-width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 10px;
}
.signin_cab {
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
}
.cabinet .selection_map,
.cabinet .selection_image {
    border-radius: 20px !important;
}
.cabinet .img-rounded {
    border-radius: 12px !important;
}
.emoji-picker,
.emoji-picker__search {
    background: var(--cab-background) !important;
    border-color: var(--cab-shadow) !important;
    box-shadow: 0 0 4px var(--cab-shadow) !important;
}
.emoji-picker__emoji:focus, .emoji-picker__emoji:hover {
    background: var(--cab-shadow) !important;
}
.date_block {
    text-align: center;
    padding: 10px;
}
.date_block > span {
    text-align: center;
    padding: 5px 20px;
    background: var(--cab-message);
    border-radius: 20px;
    color: var(--cab-color);
    font-size: 12px;
}
@media (min-width: 768px) {
    .cabinet {
        font-size: 16px;
    }
    .logo {
        max-width: 250px !important;
        max-height: 50px !important;
    }
    .masthead {
        margin-bottom: 30px !important;
    }
    .cont_cab {
        margin-left: 30%;
        max-width: 70%;
    }
    .btn-cab {
        font-size: 20px;
        line-height: 50px;
    }
    .bottom_navbar {
        width: 25%;
        display: block;
        float: left;
        border: 1px solid var(--cab-shadow);
        box-shadow: 0 2px 4px 0 var(--cab-shadow);
        border-radius: 30px;
        margin-right: 40px;
        padding: 10px 20px 0;
    }
    .bn_tabs {
        width: 100%;
        height: 100%;
        overflow: auto;
        padding: 10px;
        position: relative;
    }
    .bn_tabs > a {
        display: block;
        position: relative;
        width: 100%;
        height: 42px;
    }
    .bottom_navbar svg {
        vertical-align: middle;
        display: inline-block;
        height: 20px;
        width: 20px;
        color: var(--cab-color-light);
        margin-bottom: 5px;
        margin-right: 15px;
    }
    .bottom_navbar span {
        display: inline-block;
        color: var(--cab-color-light);
        font-size: 16px;
    }
    .img-meeting {
        float: right;
    }
    .cab_dialog .message .delete_chat:hover {
        color: #F44336;
    }
}
@media (max-width: 767px) {
    .logo {
        padding-top: 3px;
        max-height: 40px !important;
    }
    .cabinet {
        padding-top: 80px !important;
        padding-bottom: 100px !important;
    }
    .cabb {
        height: 50px;
        padding: 0;
        box-shadow: 0 0 2px var(--cab-shadow);
    }
    .cabinet .deal,
    .cabinet .object_view,
    .cabinet .cab_object {
        margin-right: 0;
        width: 100%;
    }
    .cab_tabs {
        text-align: center;
    }
    .cab_tabs a {
        width: 30%;
        margin-right: 5px;
        margin-left: 5px;
        height: 110px;
    }
    .cab_tabs svg {
        margin: 10px auto;
    }
    .unread_chat {
        right: 20%;
    }
    .profile {
        text-align: center;
    }
    .cab_head {
        text-align: center;
        font-size: 175%;
    }
    .btn-cab {
        font-size: 15px;
        padding: 4px 2px;
        line-height: 1.5;
        color: #222222;
        display: inline-block;
        margin-bottom: 0;
        font-weight: normal;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        touch-action: manipulation;
        cursor: pointer;
        background-image: none;
        user-select: none;
        margin-top: 10px;
    }
    .bottom_navbar {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        position: fixed;
        z-index: 50;
        bottom: 0;
        left: 0;
        display: inline-flex;
        box-shadow: 0 0 2px var(--cab-shadow);
        background: var(--cab-background);
        color: var(--cab-color);
    }
    .bn_tabs {
        display: flex;
        width: 100%;
        height: 100%;
        margin-inline: auto;
        overflow: auto;
        padding: 10px 0 30px;
    }
    .bn_tabs > a {
        display: inline-flex;
        position: relative;
        align-items: center;
        justify-content: center;
        padding-inline: calc(.25rem * 5);
        flex-direction: column;
        min-width: 18.5%;
        font-size: 11px;
    }
    .bottom_navbar svg {
        vertical-align: middle;
        display: block;
        height: 20px;
        width: 20px;
        color: var(--cab-color-light);
        margin-bottom: 5px;
    }
    .bottom_navbar span {
        display: block;
        color: var(--cab-color-light);
    }
    .cab_dialog .message .thumb_img {
        max-width: 250px !important;
    }
    .xs-center {
        text-align: center;
    }
    .cab_action_image {
        display: block;
        max-height: 250px !important;
        margin: 10px auto;
    }
}