.billing-history>.card{overflow-x: auto;} 
.sidebar-collapse.sidebar-mini .main-sidebar .nav-sidebar .nav-link, .sidebar-collapse.sidebar-mini-md .main-sidebar .nav-sidebar .nav-link, .sidebar-collapse.sidebar-mini-xs .main-sidebar .nav-sidebar .nav-link {
    width: 3.3rem;
}

.maxwidth {    
    max-width: 956px;
}

.card {    
    border-radius: 8px;
}
@media (min-width: 767.98px) {
.main-sidebar .brand-link {
    display: none !important;
}

.main-sidebar .user-panel {
    margin: 0;
    padding: 0;
    min-height: 0;
    display: none !important;
}

.main-sidebar .user-panel .image {
    display: none !important;
}

.main-sidebar .user-panel .info {
    margin-left: 0 !important;
    padding-left: 0;
}
}
.sidebar-open .brand-link {
    width: 250px !important;
}
.layout-navbar-fixed .wrapper .brand-link {
    overflow: hidden;
    position: fixed;
    top: -2px;
    transition: width .3s ease-in-out;
    width: 4.6rem;
    z-index: 1 !important;
    height: calc(3.5rem + 1px) !important;
}

/*.brand-link img{object-fit: contain;max-height: 37px;}

 Логотип - увеличенный размер */
.brand-link {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Стили для растровых изображений (PNG, JPG) */
.brand-link img:not([src$=".svg"]):not([src*=".svg"]) {
    object-fit: contain;
    max-height: 50px;
    width: auto;
    height: auto;
}

/* Стили для SVG изображений - правильное масштабирование */
.brand-link img[src$=".svg"],
.brand-link img[src*=".svg"] {
    width: auto; /* Автоматическая ширина для сохранения пропорций */
    max-width: 129%; /* Ограничение по ширине контейнера */
    object-fit: scale-down; /* Масштабирование без обрезки */
    display: block;
    flex-shrink: 0;
}

/* Мобильный логотип - SVG и растровые */
.brand-link .lte_small_logo {
    height: 50px;
    max-height: 50px;
}

/* Десктопный логотип - SVG и растровые */
.brand-link .lte_big_logo {
    height: 50px;
    max-height: 50px;
}

/* Дополнительно для SVG - переопределение высоты через классы */
.brand-link .lte_small_logo[src$=".svg"],
.brand-link .lte_small_logo[src*=".svg"] {
    height: 50px !important;
}

.brand-link .lte_big_logo[src$=".svg"],
.brand-link .lte_big_logo[src*=".svg"] {
    height: 50px !important;
}










.layout-navbar-fixed.layout-fixed .wrapper .sidebar {
    margin-top: calc(0.1rem + 1px);
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #58a6ff;
    color: #fff;
}
.avatar-update {
    width: auto;
    height: 30px;
    position: relative;
    margin: -28px 0 0 0;
    background: #242424;
    background: linear-gradient(to bottom, rgba(0,0,0,0.01) 0%, rgba(0,0,0,0.85) 100%);
    overflow: hidden;
    font-size: 20px;
    justify-content: center;
    box-shadow: 0 6px 6px 0 rgb(0 0 0 / 5%);
    text-align: center;
}
.avatar-update a {
    text-shadow: 0 0 2px rgb(0 0 0 / 60%);
    color: #e4e4e4;
    text-decoration: none;
}
.ft_explist ul li:after {
    content: ""  !important;
}

@media (min-width: 300px) {
.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
}
.float-sm-right {
    float: right !important;
}
}
/*
.main-footer {    
    right: 0;
    position: absolute;
    bottom: -115px;
}*/
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    position: relative;
    
    padding-right: 7.5px;
    padding-left: 7.5px;
}
.main-footer {
    background-color: #eee;
    border-top: 1px solid #eeeeee;
    color: #869099;
    padding: 0.5rem;
}
#pm_notices_list a {
    color: #58a6ff;
}
.alert a {
    
    text-decoration: auto;
}
.btn-light {
    color: #f8f9fa;
    background-color: #58a6ff;
    border-color: #58a6ff;
}
.text-secondary {
    color: #343a40 !important;
}
#user_profile > #right_column {
    padding-left: 9.5px;
}
#avatar .nav-item {
    width: 100%;
    text-align: center;
}
#left_column .content_counts {
    border-bottom: solid 0px #B3C2C9;
	border-top: solid 0px #B3C2C9;
	margin-top: 10px;
}
.nav-pills .nav-link {
    color: #6c757d;
    font-size: 1.1em;
}
.list-group-item-secondary {
    color: #474747;
    background-color: #ffffff;
}
.user-panel {    
    justify-content: center;
}
.user-panel .image {
    display: inline-block;
    padding-left: 0;
}

.subscribe_wrap {    
    justify-content: right;
}
.btn-primary {
    color: #ffffff;
    background-color: #58a6ff;
    border-color: #58a6ff;
}
.bottom_sidebar {        
    position: absolute;
	bottom: 15px;
}
.sw_microblock img, .smartwall_items_list img {    
    max-width: 100% !important;
}
.photos_count_1 div a {   
    background: #fff !important;
}
#avatar .img-fluid {    
    width: 100%;
}
@media (max-width: 768px) {
.basketcompact-title {
    display: none;    
}
}
.lte_list_box .icms-content-fields .info_bar {
    margin: 0px 0px -18px 0px;
    max-width: 100%;
}
@media (max-width: 1024px) {
.lte_list_box .icms-content-fields {
    flex-basis: 100%;
    border-radius: 0 0 5px 5px;
    max-width: 100%;
}
}
.info_bar {
    background-color: #ffffff;
    padding: 0.75rem 0rem;    
}
@media (min-width: 576px) {
.content_item .field:not(.form-group), .content_list .field:not(.form-group) {
    margin-bottom: 0.75rem !important;
}
}
#f_check-pdn {
    display: flex;	
}
#f_check-pdn > .input-checkbox {
    margin: 4px;	
}
#scroll-top {    
    right: 5rem;    
}
.basketcompact-title {
    vertical-align: middle;   
}
.btn-cart {
    padding: 0.47rem 0.75rem;  
}
.sw_link_box .swlb_img {
    height: 200px;
    background-color: #f8f9fa;
    background-repeat: no-repeat;
    background-size: auto !important;
    background-position: left !important;
    position: relative;
    border-bottom: 1px solid #ddd;
}
.breadcrumb-item+.breadcrumb-item::before {
    float: none !important;    
}
.number input {    
    width: 25px !important;
    height: 25px !important;
	border-radius: 0.25rem;
}
.card-title {
    float: none;    
}
.btn {
    margin-bottom: 5px;
}
.card {    
    overflow: auto;
}
.btn-success {
    color: #ffffff !important;
    background-color: #28a745;
    border-color: #28a745;
    text-decoration: none !important;
}
.btn-link {
    font-weight: 400;
    color: #58a6ff;
    text-decoration: none !important;
}

.billing-deposit > .col-sm-6 {    
    flex: 0 0 100%;
    max-width: 100%;
}
.billing-order > .col-sm-6 {    
    flex: 0 0 100%;
    max-width: 100%;
}
.billing-deposit-ticket table .serie {
    width: auto !important;
}

.file-preview-media {    
    padding: 0.1rem !important;    
}

.nm-widget-btn {
    width: 45px !important;
    height: 45px !important;
    border-radius: 26% !important;
     border: 0px solid #fff  !important;
    -webkit-box-shadow: 0 0 10px 4px rgba(0, 0, 0, .1);
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, .1);
   
    cursor: pointer;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -o-transition: all 100ms linear;
    -webkit-transition: all 100ms 
linear;
    transition: all 100ms 
linear;
}

.menu-notices .bell .nav-item-text {    
    display: none;    
}

.nm-voice-record {    
    display: none;    
}

.nm-voice-remove {    
    display: none;    
}

.nm-voice-stop {    
    display: none;    
}

.nm-dialog-input-attach-btns {    
    gap: 1px !important;
}

.nm-dialog-input-text-wrap {
    overflow: hidden;
    min-width: 0;
    margin-right: 0 !important;
}

.nm-voice-preview {
    margin-top: 0px !important;
}

.nm-voice-controls {   
    margin-top: 0px !important;
}

.nm-voice-message {
    margin-top: 0px !important;
}

.nm-voice-message audio {    
    height: 40px !important;
}

.nm-attach-file {
    border-radius: 4px !important;   
}

.card-body .small {
    font-size: 0.675em !important;   
}

.nm-paid-notice {
    margin-top: 6px;
    padding: 8px 10px;
    border-left: 3px solid #dc3545;
    background: #fff5f5;
    color: #c0392b;
    border-radius: 4px;
    font-size: 0.95em;
}

.nm-hidden { display: none !important; }


.menu-mfooter {
    bottom: 30px;
    position: fixed;
    font-size: x-small;  
}
.menu-mfooter .nav-link {
    display: block;
    padding: 0.1rem 1rem;
}
.menu-mfooter .nav-link .nav-icon {
    font-size: 0.9rem;
	margin-left: 0.25rem;
}
.menu-mfooter .nav-link p {
    vertical-align: 1.1px;
}

.nm-voice-message {
    display: none;    
}

.sidebar-open .sidebar .mt-2 {
    margin-top: 4.5rem !important;
}

#left_column .nav-link {
    font-size: 1rem;	
}




/* LTE: меню действий под аватаром */
.lte-profile-actions .card-widget.widget-user-2 {
    position: sticky;
    top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}
.lte-profile-actions .widget-user-header {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}
.lte-profile-actions .widget-user-image img {
    border: 3px solid rgba(255,255,255,0.65);
    border-radius: 10px;
}
.lte-profile-actions .nav.flex-column {
    display: flex;
}
.lte-profile-actions .nav.flex-column .nav-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .9rem;
    border-radius: .5rem;
    margin: .15rem .5rem;
    color: #343a40;
}
.lte-profile-actions .nav.flex-column .nav-link .nav-icon {
    width: 18px;
    text-align: center;
}
.lte-profile-actions .nav.flex-column .nav-link:hover {
    background: #f4f6f9;
    text-decoration: none;
}
.lte-profile-actions .nav.flex-column .nav-link.active {
    background: #e8f2ff;
    color: #0b5ed7;
}
.lte-profile-actions .card-footer {
    background: #fff;
}

/* Моб. версия: заголовок меню под аватаром без синего фона */
@media (max-width: 576px) {
    .lte-profile-actions .widget-user-header {
        background-color: #ffffff !important;
        color: #343a40 !important;
    }
    .lte-profile-actions .widget-user-header .widget-user-username,
    .lte-profile-actions .widget-user-header .widget-user-desc,
    .lte-profile-actions .widget-user-header a {
        color: #343a40 !important;
    }
}


/* Modern: меню действий под аватаром (обёртка .profile-actions) */
#left_column .profile-actions {
    position: sticky;
    top: 1rem;
    margin-top: .75rem;
}
.profile-actions .toolbar {
    display: flex;
    flex-direction: column;
}
.profile-actions .toolbar .btn,
.profile-actions .toolbar a.button,
.profile-actions .toolbar button,
.profile-actions .toolbar a {
    display: flex;
    align-items: center;
    width: 100%;
    gap: .5rem;
    padding: .6rem .9rem;
    border-radius: .5rem;
    margin: .15rem .5rem;
    text-align: left;
}
.profile-actions .toolbar .btn:hover,
.profile-actions .toolbar a.button:hover,
.profile-actions .toolbar button:hover,
.profile-actions .toolbar a:hover {
    background: #f4f6f9;
    text-decoration: none;
}
.profile-actions .toolbar .btn.active,
.profile-actions .toolbar a.button.active,
.profile-actions .toolbar button.active,
.profile-actions .toolbar a.active {
    background: #e8f2ff;
    color: #0b5ed7;
}

#icms-video-screenshots-preview {
    display: none;
}

.file-card::before {    
    background: linear-gradient(135deg, #fff 0%, #fff 100%) !important;    
}

.imagesext__tile {
    position: relative; 
}
 
.imagesext__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    background-color: rgba(0, 0, 0, 0.5); 
    color: white;
    font-size: 2em;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 1; 
}

.nav .px-3 {
    padding-left: 0.4rem !important;
	padding-right: 0rem !important;
}

@media (max-width: 400px) {
.navbar-expand .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.0rem;
}
}
@media (max-width: 360px) {
.navbar-expand .navbar-nav .nav-link {
    padding-right: 0.1rem;
    padding-left: 0.0rem;
}
}

/* Стили для индикатора видео */
.video-indicator {
    display: inline-block;
    margin-left: 8px;
    color: #dc3545;
    font-size: 14px;
    vertical-align: middle;
}

.video-indicator svg {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
	
}

.content_list_item h3 .video-indicator {
    position: relative;
    top: -2px;
}

/* Стили для индикатора цены */
.price-indicator {
    display: inline-block;
    margin-left: 10px;
    color: #28a745;
    font-size: 12px;
    vertical-align: middle;
    background-color: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.price-indicator svg {
    width: 14px;
    height: 14px;
    vertical-align: text-bottom;
    margin-right: 2px;
	color: #00bc8c;
}

.content_list_item h3 .price-indicator {
    position: relative;
    top: -1px;
}

/* Убираем подчеркивание заголовка при наведении */
.content_list.default_list .content_list_item h3 a:hover,
.content_list.default_list .content_list_item h3 a,
.content_list_item h3 a:hover,
.content_list_item h3 a {
    transition: background-size 1000.25s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s !important;
	text-decoration: none !important;
}

/* Более специфичные селекторы для переопределения Bootstrap стилей */
.content_list_item h3 a:hover,
.content_list_item h3 a:active,
.content_list_item h3 a:focus,
.content_list_item h3 a:visited {
    transition: background-size 1000.25s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s !important;
	text-decoration: none !important;
}

[class*=sidebar-dark-] {
    background-color: #2B3147 !important;
}

.profile-actions-toolbar .cp_toolbar .nav {    
    width: 100%;
}

.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*=navbar]) {
    background-color: #2b3147;
}


/* Стили для индикатора цены в поле vpricef */
.pricef-indicator {
    display: inline-block;
    margin-left: 10px;
    color: #28a745;
    font-size: 12px;
    vertical-align: middle;
    background-color: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.pricef-indicator svg {
    width: 14px;
    height: 14px;
    vertical-align: text-bottom;
    margin-right: 2px;
	color: #00bc8c;
}

.content_list_item h3 .pricef-indicator {
    position: relative;
    top: -1px;
}

/* Стили для индикатора изображений/файлов */
.imgandfile-indicator {
    display: inline-block;
    margin-left: 8px;
    color: #007bff;
    font-size: 14px;
    vertical-align: middle;
}

.imgandfile-indicator svg {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

.content_list_item h3 .imgandfile-indicator {
    position: relative;
    top: -2px;
}


/* Стили для индикатора AI */
.ai-indicator {
    display: inline-block;
    margin-left: 8px;
    color: #007bff;
    font-size: 14px;
    vertical-align: middle;
}

.ai-indicator svg {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

.content_list_item h3 .ai-indicator {
    position: relative;
    top: -2px;
}



/* ========================================================================== */
/* Блюр для правой колонки профиля для гостей */

.right_column_wrapper {
    position: relative;
}
.right_column_wrapper.right_column_blurred #information {
    filter: blur(2px);
	min-height: 350px;
}
.right_column_wrapper.right_column_blurred {    
    pointer-events: none;
    user-select: none;
    overflow: hidden;
}

.right_column_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: auto;
	min-height: 350px;
}

.right_column_overlay .overlay_content {
    text-align: center;
    padding: 30px;
    max-width: 400px;
}

.right_column_overlay .overlay_content .overlay_text {
    font-size: 16px;
    color: #34495e;
    margin-bottom: 20px;
    line-height: 1.6;
}

.right_column_overlay .overlay_content .btn {
    min-width: 150px;
    padding: 10px 20px;
    font-size: 14px;
}

.content_counts{border-radius:0.5rem;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.1)}
.content_counts .list-group-item-secondary{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border:none;border-bottom:1px solid rgba(0,0,0,0.05);padding:1rem!important}
.content_counts .list-group-item-secondary>div:first-child{font-weight:600;font-size:0.9375rem;color:#343a40;margin-bottom:0.75rem}
.content_counts .list-group-item-secondary>div:first-child a{color:#007bff;text-decoration:none;transition:color 0.2s ease}
.content_counts .list-group-item-secondary>div:first-child a:hover{color:#0056b3;text-decoration:underline}
.content_counts .list-group-item-secondary>div:first-child .badge{font-size:0.875rem;padding:0.375rem 0.625rem;border-radius:1rem;font-weight:600}
.content_counts .list-group-item-secondary .friends-list{gap:0.5rem}
.content_counts .list-group-item-secondary .friends-list .icms-user-avatar{transition:transform 0.2s ease,box-shadow 0.2s ease;border-radius:50%;overflow:visible}
.content_counts .list-group-item-secondary .friends-list .icms-user-avatar:hover{box-shadow:0 4px 8px rgba(0,0,0,0.15);z-index:1}
.content_counts .list-group-item-secondary .friends-list .icms-user-avatar>*{border:2px solid #fff;box-shadow:0 2px 4px rgba(0,0,0,0.1)}
.content_counts .list-group-item-action{border:none;border-bottom:1px solid rgba(0,0,0,0.05);padding:0.875rem 1rem!important;transition:all 0.2s ease;color:#495057;font-size:0.9375rem;position:relative}
.content_counts .list-group-item-action:first-child{border-top-left-radius:0.5rem;border-top-right-radius:0.5rem}
.content_counts .list-group-item-action:last-child{border-bottom:none;border-bottom-left-radius:0.5rem;border-bottom-right-radius:0.5rem;background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);}
.content_counts .list-group-item-action:hover{background:linear-gradient(90deg,#007bff 0%,#0056b3 100%);color:#fff;box-shadow:0 2px 8px rgba(0,123,255,0.3);z-index:1}
.content_counts .list-group-item-action:hover .badge{background-color:rgba(255,255,255,0.25)!important;color:#fff!important;}

.content_counts .list-group-item-action .badge{font-size:0.8125rem;padding:0.375rem 0.625rem;border-radius:1rem;font-weight:600;transition:all 0.2s ease;min-width:2rem;text-align:center}


.nm-call-audio-btn, .nm-call-video-btn {
    display: inline-block !important;
    width: 40px !important;
    height: 30px !important;
    border-radius: 0% !important;
    border: none;
    background: #4a90e2;
    color: #fff;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
    visibility: visible !important;
    opacity: 1 !important;
    
}
.nm-call-buttons-header {
    display: inline-block !important;
    margin-right: 8px;
	margin-left: 0px;
    margin-bottom: 10px;
    z-index: 100;
    float: right;
}

.ztm-button__link {
    display: inline-block;
    background: #58a6ff !important;
    border-radius: 0.25rem !important;
    height: 40px;
    line-height: 40px;
    color: #fff;
    padding: 0 1rem;
    font-size: 1.1rem;
    text-decoration: none !important;
    white-space: nowrap;
}

.f_pvideo .file-download-btn {
    display: none !important;
}
