.object_profile_wrap{
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background: var(--body-bg);
	z-index: 11;
	scroll-snap-type: x mandatory;
	overflow-x: scroll;
	overflow-y: hidden;
	transform: translateX(100%);
	
}

.object_profile_wrap[show]{
	transition: transform 0.3s;
}

.object_profile_wrap[show="1"]{
	transform: translateX(0px);
}


.object_profile_horizon_scroll{
	height: 100vh;
	display: inline-flex;
	font-size: 0;
}

.object_profile_win{
	font-size: 16px;
	width: 100vw;
	height: 100vh;
	overflow-x: hidden;
	overflow-y: scroll;
	scroll-snap-align: center;
	display: flex;
	flex-direction: column;
}

.object_profile_header{
	background: var(--main_header);
	padding: 15px;
	border-radius: 20px;
	position: sticky;
	top: 15px;
	width: calc(100vw - 30px);
	margin: 15px auto 0;
	z-index: 0;
	-webkit-transform: translate3d(0,0,0);
}

.object_profile_top_menu{
	display: flex;
}

.object_profile_close{
	display: flex;
	align-items: center;
	font-size: 18px;
	font-family: 'MontserratMedium';
	margin-right: auto;
}

.object_profile_close_icon{
	width: 30px;
	height: 30px;
	background: url(/static/img/object_profile/back.svg) center/30px no-repeat;
	margin-right: 10px;
}

.object_profile_top_menu_button{
	width: 30px;
	height: 30px;

}

.object_profile_top_menu_button[type="info"]{
	background: url(/static/img/object_profile/info.svg) center/30px no-repeat;
	margin-right: 15px;
}

.object_profile_top_menu_button[type="settings"]{
	background: url(/static/img/main/settings.svg) center/30px no-repeat;
}

.object_profile_header_middle{
	margin: 15px 0 0;
	display: flex;
	align-items: flex-start;
	font-family: 'MontserratMedium';
	padding: 0px 0px 15px;
}

.object_profile_avatar{
	border-radius: 50%;
	width: 40px;
	height: 40px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin-right: 10px;
}

.object_profile_avatar[type="null"]{
	border: 4px solid white;
}

.object_profile_header_middle_right{
	max-width: calc(100% - 50px);
}

.object_profile_header_name{
	font-size: 12px;
	line-height: 15px;
	color: var(--list_row_name);
}

.object_profile_header_contract{
	font-size: 16px;
	line-height: 19px;
}

.object_profile_header_stat_wrap{
	overflow: hidden;
	transition: height 0.3s;
	height: 1px;
}

.object_profile_header_stat_wrap[expand]{
	height: 210px;
}

.object_profile_header_stat_row{
	padding-bottom: 10px;
	font-family: 'MontserratMedium';
}

.object_profile_header_stat_row::before{
	content: '';
	display: block;
	height: 1px;
	background: #323232;
	margin: 0 0 10px;
}

.object_profile_header_stat_name{
	font-size: 12px;
	color: var(--list_row_name);
	line-height: 15px;
}

.object_profile_header_stat_value{
	font-size: 16px;
	line-height: 19px;
	font-family: 'MontserratSemiBold';
}

.object_profile_header_stat_value[type="funds"]{
	color: #18a718;
}

.object_profile_header_stat_value[type="expense"]{
	color: #e54141;
}

.object_profile_header_stat_value[type="payment"]{
	color: #e58e23;
}

.object_profile_header_stat_value[type="total"]{
	color: #18a718;
}

.object_profile_header_stat_value[type="total"][minus="1"]{
	color: #e54141;
}

.object_profile_header_stat_value::after,
.object_profile_header_contract::after{
	content: '\00a0 ₽';
}

.object_profile_menu{
	display: flex;
	font-size: 10px;
	line-height: 13px;
	justify-content: space-evenly;
	text-align: center;
	margin-top: 20px;
}

.object_profile_menu_button{
	width: 70px;
}

.object_profile_menu_button_icon{
	width: 40px;
	height: 40px;
	margin: auto;
}

.object_profile_menu_button[type="funds"] .object_profile_menu_button_icon{
	background: url(/static/img/main/funds.svg) center/40px no-repeat;
}

.object_profile_menu_button[type="expense"] .object_profile_menu_button_icon{
	background: url(/static/img/main/expense.svg) center/40px no-repeat;
}

.object_profile_menu_button[type="payment"] .object_profile_menu_button_icon{
	background: url(/static/img/main/payment.svg) center/40px no-repeat;
}

.object_profile_menu_button[type="workers"] .object_profile_menu_button_icon{
	background: url(/static/img/object_profile/helmet.svg) center/40px no-repeat;
}


.object_profile_main_history{
	width: 100%;
	flex: 1;
	padding: 15px;
	background: var(--list);
	border-radius: 20px 20px 0 0;
	position: relative;
	z-index: 1;
	margin-top: 15px;
	box-shadow: 0px 3px 5px black;
}

/*.object_profile_history_list{
	width: 100%;
	background: #222222;
	border-radius: 20px 20px 0 0;
	position: relative;
	z-index: 1;
	min-height: 100vh;
	padding: 15px;
}*/
.object_profile_history_block{
	font-family: 'MontserratMedium';
}

.object_profile_history_header{
	display: flex;
	font-size: 16px;
	position: sticky;
	top: 0;
	background: var(--list);
	padding: 10px 0;
}

.object_profile_history_date{

}

.object_profile_history_sum{
	margin-left: auto;
}

.object_profile_history_sum::after{
	content: '\00a0 ₽';
}
.object_profile_history_row_list{

}

.object_profile_history_row{
	margin-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #121212;
}

.object_profile_history_row:first-child{
	margin-top: 0px;
}

.object_profile_history_row_flex{
	display: flex;
}

.object_profile_history_row_icon{
	border-radius: 50%;
	width: 50px;
	height: 50px;
	background-size: 30px;
	background-position: center;
	background-repeat: no-repeat;
	margin-right: 10px;
	background-color: #121212;
	flex-shrink: 0;
}
.object_profile_history_row_icon[type="funds"]{
	background-image: url(/static/img/main/funds.svg);
	background-color: #007e00;
}

.object_profile_history_row_icon[type="expense"]{
	background-image: url(/static/img/main/expense.svg);
	background-color: #cf2828;
}

.object_profile_history_row_icon[type="payment"]{
	background-image: url(/static/img/main/payment.svg);
	background-color: #d77223;
}
.object_profile_history_row_details_wrap{
	margin-right: 10px;
	min-width: 0;
}

.object_profile_history_details_row_name{
	font-size: 12px;
	line-height: 15px;
	color: #cfcfcf;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.object_profile_history_details_row_comment{
	font-size: 14px;
	font-family: 'Montserrat';
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: opacity 0.3s;
}

.object_profile_history_row[expand="1"] .object_profile_history_details_row_comment{
	opacity: 0;
}

.object_profile_history_row_sum{
	text-align: right;
	font-size: 12px;
	line-height: 15px;
	margin-left: auto;
	color: #cfcfcf;
	flex-shrink: 0;
}

.object_profile_history_row_sum::after{
	content: '\00a0 ₽';
}

.object_profile_history_row_sum[type="funds"]{
	color: #18a718;
}

.object_profile_history_row_sum[type="expense"]{
	color: #e54141;
}

.object_profile_history_row_sum[type="payment"]{
	color: #e58e23;
}

.object_profile_history_row_details_full{
	transition: height 0.3s;
	overflow: hidden;
}

.object_profile_history_row_details_full > div{
	padding-top: 10px;
}

.object_profile_history_row_time_wrap{
	margin-bottom: 10px;
}

.object_profile_history_row_time_label{
	font-size: 12px;
	line-height: 15px;
	color: #cfcfcf;
}

.object_profile_history_row_time_value{
	font-size: 14px;
	line-height: 17px;
}

.object_profile_history_details_row_comment_full_wrap{
	
}

.object_profile_history_details_row_comment_full{
	font-size: 12px;
	line-height: 15px;
}

.object_profile_history_row_receipt_wrap{
	width: 100%;
}

.object_profile_history_row_receipt_button{
	background: white;
	color: #363636;
	font-family: 'MontserratSemiBold';
	border-radius: 5px;
	width: fit-content;
	padding: 10px;
	margin: 10px auto;
	font-size: 14px;
}

.object_profile_history_row_receipt{
	width: 100%;
	margin-top: 10px;
}

.object_profile_history_menu_wrap{
	display: flex;
}

.object_profile_history_menu{
	margin-left: auto;
	display: flex;
}

.object_profile_history_menu_button{
	width: 30px;
	height: 30px;
	background-size: 22px;
	background-position: center;
	background-repeat: no-repeat;
}

.object_profile_history_menu_button[type="edit"]{
	margin-right: 5px;
	background-image: url(/static/img/object_profile/edit.svg);
}

.object_profile_history_menu_button[type="remove"]{
	background-image: url(/static/img/object_profile/remove.svg);
}

.object_profile_stats_list{
	width: 100%;
	flex: 1;
	padding: 15px;
	background: var(--list);
	border-radius: 20px 20px 0 0;
	position: relative;
	z-index: 1;
	margin-top: 15px;
	box-shadow: 0px 3px 5px black;
}