.cabinet {
    padding-bottom: 100px;
}
.cabinet .clearfix {
    display: flow-root;
}
.cabinet a.active span,
.cabinet a.active svg {
    color: var(--main-color);
}
.cab_head {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}
.contact-info {
    border: 1px solid #DDDDDD;
    border-radius: 20px;
    padding: 20px;
}
.cabinet .selection {
    border: 1px solid #DDDDDD;
    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: rgba(255,255,255,.2) 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 .deal {
    display: inline-table;
    border: 1px solid #DDDDDD;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    margin-right: 2%;
    width: 47%;
    box-shadow: 2px 2px 5px #EEEEEE;
}
.cabinet .deal:hover,
.cabinet .cab_object:hover {
    box-shadow: 3px 3px 10px #DDDDDD;
}
.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 #DDDDDD;
    border-radius: 20px;
    color: #333333;
    padding: 20px 20px 20px 100px;
    margin-bottom: 20px;
    margin-right: 2%;
    width: 47%;
    box-shadow: 2px 2px 5px #EEEEEE;
    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: #EEEEEE;
    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 #DDDDDD;
    border-radius: 15px;
}
.cabinet .table-responsive .table {
    margin-bottom: 2px;
}
.cab_tabs {
    padding-bottom: 20px;
}
.cab_tabs a {
    display: inline-block;
    width: 200px;
    height: 130px;
    text-align: center;
    border: 1px solid #DDDDDD;
    border-radius: 20px;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 0;
    padding: 10px 20px;
}
.cab_tabs a:hover {
    box-shadow: 0 0 5px #DDDDDD;
}
.cab_tabs svg {
    display: block;
    height: 40px;
    width: 40px;
    color: rgba(0,0,0,.5);
    margin: 20px auto;
}
.cab_tabs span {
    color: rgba(0,0,0,.5);
}
#avito_chart, #yandex_chart, #price_chart, .chart {
    position: relative;
    overflow: hidden;
    width: 100%
}

.sort-highlight {
    background: #f4f4f4;
    border: 1px dashed #ddd;
    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,
.chart canvas, .chart svg {
    width: 100% !important
}

#avito_chart, #yandex_chart, #price_chart {
    height: 300px
}
@media (min-width: 768px) {
    .cabinet {
        font-size: 16px;
    }
    .cab_btns {
        margin-top: 20px;
    }
    .logo {
        max-width: 250px !important;
    }
    .masthead {
        margin-bottom: 30px !important;
    }
    .cont_cab {
        margin-left: 30%;
        max-width: 70%;
    }
    .btn-cab {
        font-size: 16px;
    }
    .bottom_navbar {
        width: 25%;
        display: block;
        float: left;
        border: 1px solid rgba(0,0,0,.05);
        box-shadow: 0 4px 8px 0 rgba(0,0,0,.1);
        border-radius: 30px;
        margin-right: 40px;
        padding: 20px;
    }
    .bn_tabs {
        width: 100%;
        height: 100%;
        overflow: auto;
        padding: 10px;
    }
    .bn_tabs > a {
        display: block;
        width: 100%;
        height: 50px;
    }
    .bottom_navbar svg {
        vertical-align: middle;
        display: inline-block;
        height: 20px;
        width: 20px;
        color: rgba(0,0,0,.5);
        margin-bottom: 5px;
        margin-right: 15px;
    }
    .bottom_navbar span {
        display: inline-block;
        color: rgba(0,0,0,.7);
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    .logo {
        max-width: 200px !important;
    }
    .cabinet .deal,
    .cabinet .object_view,
    .cabinet .cab_object {
        margin-right: 0;
        width: 100%;
    }
    .cab_tabs {
        text-align: center;
    }
    .cab_btns {
        margin-top: 10px !important;
    }
    .cab_tabs a {
        width: 45%;
        margin-right: 5px;
        margin-left: 5px;
    }
    .btn-cab {
        font-size: 14px;
        border-radius: 10px;
        padding: 5px 10px;
        line-height: 1.5;
        color: #333333;
        background-color: #ffffff;
        /*border: 1px solid #cccccc;*/
        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;
    }
    .bottom_navbar {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        position: fixed;
        z-index: 50;
        bottom: 0;
        left: 0;
        display: inline-flex;
        border-top: 1px solid rgba(0,0,0,.1);
        background: #FFFFFF;
    }
    .bn_tabs {
        display: flex;
        width: 100%;
        height: 100%;
        margin-inline: auto;
        overflow: auto;
        padding: 10px 0 30px;
    }
    .bn_tabs > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding-inline: calc(.25rem * 5);
        flex-direction: column;
        min-width: 27%;
    }
    .bottom_navbar svg {
        vertical-align: middle;
        display: block;
        height: 24px;
        width: 24px;
        color: rgba(0,0,0,.5);
        margin-bottom: 5px;
    }
    .bottom_navbar span {
        display: block;
        color: rgba(0,0,0,.5);
    }
}