.hidden {
	display:none !important;
}

.flex {
	display:flex;
}
.jcsb {
	justify-content:space-between;
}
.aic {
	align-items:center;
}
.aifs {
	align-items:flex-start;
}
.aife {
	align-items:flex-end;
}
.gap20 {
gap:20px;
}
.card-tools {
	padding-right:15px;
}

.popup {
	position:fixed;
	  width: 100vw;             /* Занимает всю ширину экрана */
	  height: 100vh;            /* Занимает всю высоту экрана */
	background:rgba(0,0,0,0.5);
	left:0;
	top:0;
	z-index:3001;
	display:none;
}
.popup.show {
	display:block;
	justify-content:space-between;
	align-items:center;
}

.popup-window {
	background:#fff;
	border-radius:12px;
	width:500px;
	max-width:100%;
	margin:auto;
	margin-top:80px;
}
.popup-h {
	padding:12px 12px;
	border-bottom:1px solid #ddd;
}
.popup-body {
	padding:12px;
	min-height:100px;
}
.popup-footer {
	padding:12px;
}

.regions-list {
    display: flex;
	flex-wrap:wrap;
	gap:20px;
}


.add-app-response i.bi-reply-fill {
	display:none;
}
.add-app-response.active i.bi-reply-fill {
	display:inline-block;
}
.add-app-response.active i.bi-reply {
	display:none;
}

.chat-avatar-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff; /* Можно сделать разным цветом по ID */
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    flex-shrink: 0;
}

.direct-chat-msg {
	float:left;
	max-width:50%;
	clear:both;
}
.direct-chat-msg.right {
	float:right;
}

.mr-3 {
	margin-right:30px;
}

.add-to-fav i:last-child {
	display:none;
}
.add-to-fav.active i:last-child {
	display:block;
}
.add-to-fav.active i:first-child {
	display:none;
}


.add-supply-response i:last-child,
.add-job-response i:last-child {
	display:none;
}
.add-supply-response.active i:last-child,
.add-job-response.active i:last-child {
	display:block;
}
.add-supply-response.active i:first-child,
.add-job-response.active i:first-child {
	display:none;
}

#regionPopup .popup-body {
	display:flex;
	flex-direction:column;
	gap:20px;
}
.region-search-div {
	width:100%;
	flex:0 0 100%;
}
#regionPopup .popup-body input {
	width:100%;
	border:1px solid #ccc;
	height:40px;
	line-height:40px;
	padding:0 5px;
	font-size:16px;
	border-radius:8px;
	outline:none;
}
.main-filter-form .close {
	display:none;
}

.mobile-show {
	display:none;
}

@media(max-width:768px) {
	h1 + .flex.aifs.jcsb {
		flex-direction:column-reverse;
		justify-content:normal;
		align-items:flex-start;
		gap:10px;
		margin-bottom:10px;
	}
	h1 + .flex.aifs.jcsb > div {
		width:100%;
	}
	
	.reg-link {
		display:none;
	}
	
	.mobile-show {
		display:block;
	}
	
}
@media(max-width:420px) {
	.g-recaptcha {
		transform:scale(0.8);
		position:relative;
		left:-25px;
	}
}
@media(max-width:330px) {
	.g-recaptcha {
		transform:scale(0.75);
	}
}

@media(min-width:768px) {
	.vis768 {
		display:none;
	}
}

@media(max-width:768px) {
	.nav.nav-tabs {
		display: flex;
		overflow-x: auto;
		flex-wrap: nowrap;
	}
	.nav-tabs .nav-link {
		white-space:nowrap;
	}
	.toggle-filter-div {
		margin-bottom:30px;
	}
	.toggle-filter {
		display:block;
		width:30px;
		height:30px;
		background:url(/img/icon-filter.svg) no-repeat center center;
		background-size:24px;
		border:1px solid #252525;
		border-radius:8px;
	}
	
	.main-filter-form {
		display:none;
	}
	.main-filter-form.active {
		padding-top:40px !important;
		display:block;
		position:fixed;
		left:0;
		top:0;
		width:100%;
		height:100%;
		background:#fff;
		padding:10px;
		z-index:1111;
	}
	.main-filter-form.active > .row {
		height:100%;
		overflow:auto;
	}
	
	.main-filter-form .close {
		background:#fff;
		border:none;
		outline:none;
		display:block;
		position:absolute;
		right:6px;
		top:0px;
		font-size:33px;
		width: 50px;
		height: 50px;
	
	}
	
}

.app-actions .card-body .flex {
	flex-wrap:wrap;
}

.card-header:after {
	display:none;
}

.sidebar-menu .nav-link p {
	white-space:normal;
}

#cookieBanner {
	z-index:1038;
}

.actions-row {
	display:flex;
	align-items:center;
	gap:10px;
}

.users-list.chat-list {
	padding:0 15px;
}

.users-list.chat-list > a {
	padding:10px 0px;
	border-bottom:1px solid #ddd;
}
.users-list.chat-list > a:last-child {
	border-bottom:none;
}

#inn-status + span.invalid-feedback {
	display:none;
}

textarea.form-control {
	min-height:85px !important;
}
















