*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none !important;
}
.db {
    display: block;
}
img {
    max-width: 100%;
}
.form-group {
    margin-bottom: 1rem;
    display: block;
}
.app-header .header-right-icons .nav-link.icon {
    margin: 5px;
    padding: 11px !important;
    text-align: center;
    height: 2.5rem;
    width: 2.5rem;
    font-size: 1.2rem;
    position: relative;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0px 2px 3px rgba(4, 4, 7, 0.1);
    justify-content: center;
}
img.lang {
    width: 1.2rem;
    height: 0.9rem;
}
.app-header .btn.log_btn {
    position: relative;
    margin-left: 0;
}
.input-group.select .select2 {
    flex: 1 1 auto;
    width: 1% !important;
}
.card.fancybox__content {
    max-width: 500px;
	width: 100%;
}
.input-image {
    background: #e3e1f5 no-repeat center/cover;
    width: 40px;
    height: 40px;
}
.card.announcements-form {
	max-width: 100%;
	width: 800px;
}
.card.leasing-form {
	max-width: 500px;
	width: 100%;
}
.select2-container {
	color: black;
}
.input-error .invalid-feedback {
	display: block;
}
.is-invalid ~ .select2-container--default .select2-selection--single {
	border-color: #dc3545 !important;
    padding-right: 2.2rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    background-size: 1.12rem 1.12rem;
}
.flatpickr-wrapper {
    flex-grow: 1;
}
.table .cell-not-borsered td {
	border-color: transparent;
}
.nuis-wrapper {
    padding-bottom: 36px;
}
.card.calculations {
	max-width: 900px;
	width: 100%;
	padding: 1.5rem 0 0;
}
.symbol-right {
    margin-left: 5px;
}
.symbol-left {
    margin-right: 5px;
}
.card.no-after {
	-webkit-margin-after: 0;
    margin-block-end: 0;
}
.input-group.nw {
	flex-wrap: nowrap;
}
.btn-check:not(:checked):focus + .btn.btn-outline-primary.btn-all, .btn-check:not(:checked):hover + .btn.btn-outline-primary.btn-all {
    color: black !important;
    background-color: transparent !important;
}
.input-error .form-control {
	border-color: #dc3545 !important;
}
.popover-contacts p {
	line-height: 1.2;
    margin-bottom: 10px;
}
#filter select {
	display: none;
}
#filter .form-control {
	line-height: 22px;
	padding: 6px 12px;
}
.toggle-radio {
	position: relative;
	width: 61px;
	height: 36px;
	background: #6259ca1a;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	user-select: none;
	overflow: hidden;
	cursor: pointer;
	flex-shrink: 0;
}
.toggle-radio input[type="radio"] {
  display: none;
}
.toggle-radio .radio-slider {
	position: absolute;
	top: 4px;
	left: 0;
	width: 150px;
	height: 28px;
	transition: left 0.35s cubic-bezier(.4,2.2,.6,1), background 0.2s;
	z-index: 1;
	font-size: 12px;
	color: black;
}
.toggle-radio .handler {
	width: 11px;
	height: 28px;
	background: #6c63d6;
}
.toggle-radio span {
    display: block;
    padding: 0 6px;
    text-align: center;
    min-width: 50px;
}
.toggle-radio .radio2:checked ~ .radio-slider {
  left: -50px;
}
#user-form .form-control-lg {
	font-size: 14px;
	height: 37px;
}
.spinner-border.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000;
    width: 3rem;
    height: 3rem;
}
label.btn.btn-all {
    padding: 0.45rem 0.75rem;
}
.dropzone .dz-preview .dz-details {
	padding: 0 .5em !important;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.dropzone .dz-preview .dz-details .dz-size {
    margin-bottom: .5em !important;
}
.dz-delete {
    margin: 5px auto 0;
    width: 1.8rem;
    height: 1.8rem;
    padding: 1px 0 0;
	cursor: pointer !important;
}
.dz-delete i {
	cursor: pointer !important;
}
.dropzone .dz-preview {
	margin: 5px !important;
}
.dropzone .dz-preview .dz-image.uploaded {
	display: flex;
}
.dz-image.uploaded img {
	object-fit: cover;
}
.company-profile-logo {
    max-width: 128px;
    max-height: 128px;
	margin-right: 20px;
}
.company-rating {
    font-size: 30px;
    font-weight: 600;
}
.media .company-logo {
    max-width: 65px;
    max-height: 65px;
    width: auto;
    height: auto;
    margin-bottom: 5px;
}
.page {
	justify-content: normal !important;
}


.post-left {
    text-align: center;
    width: 70px;
    z-index: 5;
    margin-right: 10px;
    flex-shrink: 0;
}
.post-left__scroll {
	width: 70px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
    z-index: 1;
    transition: top 200ms ease-out;
}
.post-left__rating-block {
    flex-direction: column;
    gap: 8px;
	border-radius: 16px;
	border: 1px solid #dcdee5;
	padding: 2px 0;
}
.post-left__count {
    align-items: center;
    justify-content: center;
    height: 24px;
    color: #757880;
    font-size: 20px;
    overflow: hidden;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
}
.post-left__up, .post-left__down {
	border: none;
    background: none;
}
.post-left__up span, .post-left__down span {
	display: inline-block;
	width: 0; 
	height: 0;
	border-style: solid;
	position: relative;
}
.post-left__up span {
	border-width: 0px 8px 12px 8px;
	border-color: transparent transparent #aaacb2 transparent;
}
.post-left__down span {
	border-width: 12px 8px 0px 8px;
	border-color: #aaacb2 transparent transparent transparent;
}
.post-left__rating-block .post-left__down span {
	top: 2px;
}
.post-left__up:hover span {
	border-color: transparent transparent #78b247 transparent;
}
.post-left__down:hover span {
	border-color: #78b247 transparent transparent transparent;
}
.comment__rating {
	background: #f7f8fc;
	border-radius: 0.25rem;
}
.comment__count {
	flex-shrink: 0;
	color: #757880;
    font-size: 16px;
	cursor: default;
    -webkit-user-select: none;
    user-select: none;
	padding: 0 5px;
}
.tag-editor input {
    padding: 0;
    line-height: 1;
    border: none;
    outline: none !important;
    width: 10px;
	margin-left: 5px;
	max-width: 100%;
}
#input-width-helper {
	position: absolute;
	top: -9999px;
	left: 0;
	visibility: hidden;
	white-space: pre;
	
}
.input-error .ql-toolbar.ql-snow + .ql-container.ql-snow {
	border: 1px solid #DC3545 !important;
}
.header-logo {
    max-width: 150px;
	width: 100%;
}
.app-sidebar .main-sidebar-header {
    padding: 0 10px;
}
.popover-body {
	overflow-y: auto;
	max-height: calc(90vh - 40px);
}
.table-responsive tr[id] {
	scroll-margin-top: 82px; 
}
.main-chat-body {
	padding-bottom: 50px;
}
.main-chat-footer {
	bottom: 0;
	height: auto;
	padding: 5px 20px;
	margin: 0;
	background: white;
}
.no-chat .main-chat-footer {
	display: none;
}
.form-control.message {
	height: 40px;
	overflow-y: hidden;
	resize: none;
	box-sizing: border-box;
}
.abbreviation {
    width: 40px;
    height: 40px;
	border-radius: 50%;
	color: white;
}
.main-chat-list .abbreviation {
	background-color: rgba(var(--primary-rgb), 0.9);
}
.main-content-body-chat .abbreviation {
	background-color: rgba(var(--success-rgb), 0.9);
}
.chat-left .abbreviation {
	background-color: rgba(var(--purple-rgb),.9);
}
.chat-right .abbreviation {
	background-color: rgba(var(--secondary-rgb),.9);
}
.main-img-user {
	width: 40px;
    height: 40px;
}
.main-img-user.logo img {
	object-fit: contain;
	border: 1px solid #ccc;
}
.media .preview {
	width: auto;
    height: auto;
}
.file-preview {
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 4px;
}
.chat-left .file-preview {
	background-color: var(--default-background);
	color: var(--default-text-color);
}
.chat-right .file-preview {
	background-color: var(--primary-color);
	color: #fff;
}
.file-icon {
	font-size: 1em;
    width: 1.625em;
    height: 1.625em;
    margin-right: 5px;
    color: #fff;
    border-radius: 50%;
    background-color: rgba(0,0,0,.5);
    background-image: none;
    box-shadow: 0 0 0 0 hsla(0,0%,100%,0);
    transition: box-shadow .25s ease-in;
}
.file-icon svg {
    width: 100%;
    height: 100%;
}
.media:not(.read) .item-read {
	display: none;
}
.cell-not-bordered.first-row td {
	border-bottom: 0;
}
.cell-not-bordered.last-row td {
	border-top: 0;
}
.custom-stripped tr:nth-child(4n+1) td, .custom-stripped tr:nth-child(4n+2) td {
	--bs-table-bg-type: var(--default-background);
}
.table-rating {
	display: inline-block;
	vertical-align: middle;
    width: 80px;
	height: 16px;
    position: relative;
    display: inline-block;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDguOSIgaGVpZ2h0PSIxMDMuNiIgdmlld0JveD0iMCAwIDEwOC45IDEwMy42Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2UzZTZlNjt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPnN0YXJfMDwvdGl0bGU+PGcgaWQ9IkxheWVyXzIiIGRhdGEtbmFtZT0iTGF5ZXIgMiI+PGcgaWQ9IkxheWVyXzEtMiIgZGF0YS1uYW1lPSJMYXllciAxIj48cG9seWdvbiBjbGFzcz0iY2xzLTEiIHBvaW50cz0iMTA4LjkgMzkuNiA3MS4zIDM0LjEgNTQuNCAwIDM3LjYgMzQuMSAwIDM5LjYgMjcuMiA2Ni4xIDIwLjggMTAzLjYgNTQuNCA4NS45IDg4LjEgMTAzLjYgODEuNyA2Ni4xIDEwOC45IDM5LjYiLz48L2c+PC9nPjwvc3ZnPg0K');
    background-position: 0 0;
	background-size: 16px;
    background-repeat: repeat-x;
}
.table-rating .rating-value {
	display: inline-block;
	position: absolute;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2Zw0KCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwOC45IiBoZWlnaHQ9IjEwMy42IiB2aWV3Qm94PSIwIDAgMTA4LjkgMTAzLjYiPg0KCTxkZWZzPg0KCQk8c3R5bGU+LmNscy0xe2ZpbGw6I2YxYzk0Nzt9PC9zdHlsZT4NCgk8L2RlZnM+DQoJPHRpdGxlPnN0YXIxPC90aXRsZT4NCgk8ZyBpZD0iTGF5ZXJfMiIgZGF0YS1uYW1lPSJMYXllciAyIj4NCgkJPGcgaWQ9IkxheWVyXzEtMiIgZGF0YS1uYW1lPSJMYXllciAxIj4NCgkJCTxwb2x5Z29uIGNsYXNzPSJjbHMtMSIgcG9pbnRzPSI1NC40IDAgNzEuMyAzNC4xIDEwOC45IDM5LjYgODEuNyA2Ni4xIDg4LjEgMTAzLjYgNTQuNCA4NS45IDIwLjggMTAzLjYgMjcuMiA2Ni4xIDAgMzkuNiAzNy42IDM0LjEgNTQuNCAwIi8+DQoJCTwvZz4NCgk8L2c+DQo8L3N2Zz4NCg==');
    background-position: 0 0;
	background-size: 16px;
	background-repeat: repeat-x;
}

@media (min-width: 1600px) {
	.w-20 {
		width: 20%;
		white-space: normal;
	}
}

@media (min-width: 768px) {
	
}


@media (min-width: 992px) {
	.main-chat-body {
		height: 714px;
	}
}

@media (max-width: 991px) {
	.app-header .horizontal-logo {
		padding-right: 10px !important;
	}
}

@media (max-width: 767px) {
	
}

@media (max-width: 575px) {
	.card.fancybox__content {
		padding: 2rem 0;
	}
}

@media (max-width: 400px) {
	.main-content {
		padding: 0;
		padding-block-start: 4.5rem;
	}
	.flatpickr-calendar {
		width: calc(100% + 20px);
		left: -20px;
	}
	.flatpickr-monthSelect-month {
		padding: 5px;
		width: calc(33% - 3px);
	}
	.card.custom-card .card-body {
		padding: 1rem .8rem;
	}
	.list-group-item {
		padding: 0.59rem .5rem;
	}
}