.cdm-shop-hide-side {
	display: none !important;
}

#cdm_shop_col {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
}

.mini_profile_head,
#infoBtn {
	position: relative !important;
	overflow: visible !important;
	width: 40px !important;
	height: 40px !important;
	flex: 0 0 40px;
	cursor: pointer;
}

.mini_profile_head > img:not(.cdm-frame-overlay),
#infoBtn > img:not(.cdm-frame-overlay) {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	display: block !important;
	width: 40px !important;
	height: 40px !important;
	max-width: 40px !important;
	max-height: 40px !important;
	margin: 0 !important;
	object-fit: cover !important;
}

.block_mini_header img.img_head,
.header img.img_head,
.header img.img_navigation {
	display: block !important;
	width: 40px !important;
	height: 40px !important;
	max-width: 40px !important;
	max-height: 40px !important;
	object-fit: cover !important;
}

.navigation_profile .photo_profile > a,
.mini_profile_head_block .photo_profile > a {
	position: relative !important;
	display: block !important;
	width: 41px !important;
	height: 41px !important;
	flex: 0 0 41px;
	overflow: visible !important;
}

.navigation_profile .photo_profile img.img_navigation,
.mini_profile_head_block .photo_profile img.img_navigation {
	display: block !important;
	width: 41px !important;
	height: 41px !important;
	max-width: 41px !important;
	max-height: 41px !important;
	object-fit: cover !important;
}

.navigation_profile .photo_profile > a > .cdm-frame-overlay,
.mini_profile_head_block .photo_profile > a > .cdm-frame-overlay {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	width: 100% !important;
	height: 100% !important;
	transform: none !important;
	object-fit: contain !important;
	pointer-events: none !important;
}

.mini_profile_head > .cdm-frame-overlay,
#infoBtn > .cdm-frame-overlay {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	width: 100% !important;
	height: 100% !important;
	transform: none !important;
	object-fit: contain !important;
	pointer-events: none !important;
}

.avatar_profile .cdm-frame-wrap,
.srb-avatar-wrap--lg .cdm-frame-wrap,
.block.profile > .cdm-frame-wrap,
.block.profile .cdm-frame-wrap--profile,
.user_block_profile .cdm-frame-wrap {
	display: block !important;
	float: none !important;
	width: 82px !important;
	max-width: 82px !important;
	height: 82px !important;
	max-height: 82px !important;
	margin: 0 auto !important;
	overflow: visible !important;
}

.avatar_profile .cdm-frame-wrap > img:not(.cdm-frame-overlay),
.srb-avatar-wrap--lg .cdm-frame-wrap > img:not(.cdm-frame-overlay),
.block.profile .cdm-frame-wrap > img:not(.cdm-frame-overlay),
.user_block_profile .cdm-frame-wrap > img:not(.cdm-frame-overlay) {
	width: 82px !important;
	height: 82px !important;
	max-width: 82px !important;
	max-height: 82px !important;
	aspect-ratio: 1 / 1;
	object-fit: cover !important;
}

#chat .back_img_chat,
.chat_message .back_img_chat,
.chat_message .srb-avatar-wrap,
.back_img_chat .srb-avatar-wrap {
	position: relative !important;
	overflow: visible !important;
}

.chat_message .cdm-frame-wrap,
.visit_users_online .cdm-frame-wrap,
.back_img_chat .cdm-frame-wrap,
.cdm-frame-wrap--fit {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	overflow: visible !important;
	float: none !important;
}

#chat .with_code .back_img_chat img.cdm-frame-overlay,
#chat .back_img_chat .cdm-frame-wrap > .cdm-frame-overlay,
.chat_message .cdm-frame-wrap > .cdm-frame-overlay,
.back_img_chat img.cdm-frame-overlay {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	width: 100% !important;
	height: 100% !important;
	transform: none !important;
	margin: 0 !important;
	pointer-events: none !important;
}

.back_img_chat .chat_img,
.back_img_chat .user_o_img,
.srb-user-row__avatar .user_o_img {
	width: 94% !important;
    height: 94% !important;	
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
}

#chat .cdm-frame-wrap,
.chat_message .cdm-frame-wrap,
.with_code .cdm-frame-wrap {
	position: relative !important;
	transform: none !important;
	font-size: 0 !important;
	width: 37px !important;
	height: 37px !important;
	margin: 0 !important;
	overflow: visible !important;
}

.flex_info_top_user .cdm-frame-wrap,
.top_user .cdm-frame-wrap,
.block_top_user .cdm-frame-wrap {
	position: relative !important;
	right: auto !important;
	bottom: auto !important;
	transform: none !important;
	font-size: 0 !important;
	background: none !important;
	-webkit-text-fill-color: inherit !important;
	-webkit-background-clip: border-box !important;
	float: none !important;
	display: inline-block !important;
	width: 39px !important;
	height: 39px !important;
	max-width: 39px !important;
	max-height: 39px !important;
	margin: 0 !important;
	overflow: visible !important;
}

.flex_info_top_user .cdm-frame-wrap > img.img_top_user {
	width: 39px !important;
	height: 39px !important;
	object-fit: cover !important;
}

.event .cdm-frame-wrap {
	position: relative !important;
	transform: none !important;
	font-size: 0 !important;
	float: none !important;
	display: inline-block !important;
	width: 36px !important;
	height: 36px !important;
	margin: 0 8px 0 0 !important;
	overflow: visible !important;
}

.event .cdm-frame-wrap > img.avatar_event {
	width: 36px !important;
	height: 36px !important;
	object-fit: cover !important;
}

.login_visit + .cdm-badges-row,
.text_top_users + .cdm-badges-row,
.event_login + .cdm-badges-row {
	display: inline-flex;
	flex-shrink: 0;
	margin-left: -2px;
}

.chat_message .author,
.avatar_login .author,
.chat_message .cdm-nick-line,
.avatar_login .cdm-nick-line {
	display: inline-flex !important;
	align-items: center;
	flex-wrap: nowrap;
	gap: 4px;
	width: auto !important;
	max-width: none !important;
	flex: 0 0 auto !important;
	letter-spacing: 1px;
}

.avatar_login,
.avatar_login a {
	width: auto !important;
	flex: 0 1 auto !important;
}

.chat_message .author .cdm-badges-row,
.chat_message .cdm-nick-line .cdm-badges-row {
	margin-left: 0;
	flex-shrink: 0;
}

.chat_message .srb-avatar-wrap,
.chat_message .back_img_chat {
	flex-shrink: 0;
}

.text_user + .cdm-badges-row,
.cdm-nick-line {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
}

.flex_user_info > .username,
.mini_profile_link_info > span,
.name_sidebar,
.text_user {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0 6px;
}


/* xdstyle profile size: must remain 82x82 even if standart theme CSS is present. */
.block.profile > .cdm-frame-wrap,
.block.profile .cdm-frame-wrap--profile,
.user_block_profile .cdm-frame-wrap,
.avatar_profile .cdm-frame-wrap,
.srb-avatar-wrap--lg .cdm-frame-wrap { width:82px !important; height:82px !important; max-width:82px !important; max-height:82px !important; }
.block.profile .cdm-frame-wrap > img:not(.cdm-frame-overlay),
.user_block_profile .cdm-frame-wrap > img:not(.cdm-frame-overlay),
.avatar_profile .cdm-frame-wrap > img:not(.cdm-frame-overlay),
.srb-avatar-wrap--lg .cdm-frame-wrap > img:not(.cdm-frame-overlay) { width:82px !important; height:82px !important; max-width:82px !important; max-height:82px !important; }

/* Final profile-size guard: the site's standart stylesheet must not resize
   a framed profile avatar. JavaScript also applies the same size inline. */
html body .block.profile > .cdm-frame-wrap.cdm-frame-wrap--profile,
html body .block.profile .cdm-frame-wrap.cdm-frame-wrap--profile,
html body .user_block_profile .cdm-frame-wrap.cdm-frame-wrap--profile,
html body .avatar_profile .cdm-frame-wrap.cdm-frame-wrap--profile,
html body .srb-avatar-wrap--lg .cdm-frame-wrap.cdm-frame-wrap--profile {
	width: 88px !important;
	height: 88px !important;
	max-width: 88px !important;
	max-height: 88px !important;
}
html body .block.profile > .cdm-frame-wrap.cdm-frame-wrap--profile > img:not(.cdm-frame-overlay),
html body .block.profile .cdm-frame-wrap.cdm-frame-wrap--profile > img:not(.cdm-frame-overlay),
html body .user_block_profile .cdm-frame-wrap.cdm-frame-wrap--profile > img:not(.cdm-frame-overlay),
html body .avatar_profile .cdm-frame-wrap.cdm-frame-wrap--profile > img:not(.cdm-frame-overlay),
html body .srb-avatar-wrap--lg .cdm-frame-wrap.cdm-frame-wrap--profile > img:not(.cdm-frame-overlay) {
    width: 80px !important;
    height: 80px !important;
    max-width: 82px !important;
    max-height: 82px !important;
    top: 3px !important;
    left: 3px !important;
}
