* {
	touch-action: manipulation;
}
p {
	padding: 7px 15px;
	font-weight: bold;
	border-radius: 5px;
	font-size: 16px;
}

.fixed-header {
	/*position: fixed;*/
	top: 0;
	width: 100%;
	margin: auto;
	z-index: 1000;
}

.ajax-loader {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	opacity: 0.4;
	z-index: 2000;
	background-color: #ffffff;
}
.ajax-loader > div {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -48px;
	margin-left: -48px;
	width: 96px;
	height: 96px;
	background: url(img/loader.gif) no-repeat;
}

.popup {
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.35);
	padding: 20px;
	z-index: 1001;
	display: flex;
	justify-content: center;
	align-items: center;
}

.popup-content {
	background: #fff;
	width: 100%;
}

.telegram-modal-header {
	display: flex;
	align-items: center;
	height: 40px;
	padding: 0 15px;
}

.telegram-modal-body {
	padding: 0 15px;
	max-height: calc(100dvh - 120px);
	overflow: auto;
}

.telegram-modal-button {
	padding: 0 15px 15px 15px;
}

.ml-auto {
	margin-left: auto;
}

.notification-list {
	height: 538px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.block-departure {
	background-color: #f2dede;
	border-color: #ebccd1;
	color: #a94442;
}
.block-fact-departure {
	background-color: #ebccd1;
	border-color: #ebccd1;
	color: #a94442;
}
.block-arrival {
	background-color: #d9edf7;
	border-color: #bce8f1;
	color: #31708f;
}
.block-fact-arrival {
	background-color: #bce8f1;
	border-color: #bce8f1;
	color: #31708f;
}
.block-extra {
	background-color: #fcf8e3;
	border-color: #faebcc;
	color: #8a6d3b;
}

.bg-grey {
	background-color: #c0c0c0;
}

.bg-red {
	background-color: #fae1e2;
}

.bg-blue {
	background-color: #cae8f5;
}

.bg-info .pull-left {
	max-width: 40%;
}

.bg-info .pull-left span {
	display: inline-block;
	width: 100%;
	white-space: nowrap;
	overflow: hidden !important;
	text-overflow: ellipsis;
}

.btn {
	white-space: normal;
}
.big-text {
	font-size: 21px;
	font-weight: 300;
	line-height: 1.4;
}
.small-text {
	font-size: 12px;
	font-weight: 300;
	line-height: 1.4;
}
.v-center {
	vertical-align: middle !important;
}
.text-bold {
	font-weight: 600;
}

.block-canceled {
	position: relative;
	left: 50%;
	top: -67px;
	opacity: 0.2;
}
.block-canceled:before,
.block-canceled:after {
	position: absolute;
	content: " ";
	height: 100px;
	width: 3px;
	background-color: #933;
}
.block-canceled:before {
	transform: rotate(75deg);
}
.block-canceled:after {
	transform: rotate(-75deg);
}

.signature-pad {
	text-align: center;
}

.conveyer-time {
	color: #000;
}

.conveyer-flight-link {
	text-align: center;
	display: block;
}

.conveyer-flight-link::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
	height: 60px;
}

.conveyer-flight-link:hover::before {
	background-color: #d9edf7;
	opacity: 0.15;
	cursor: pointer;
}

.btn-change-tape {
	cursor: pointer;
	margin-right: 25px;
}

.btn-flight-time {
	width: 35%;
	margin: 60px auto 0;
	height: 90px;
	font-size: 25px;
}

.flight-canceled {
	position: relative;
}

.conveyer-flight-link .block-canceled {
	display: none;
}

.flight-canceled .block-canceled {
	display: block;
	left: 0;
	top: -28px;
}

#cameraFileInput,
#cameraFileInputMenu {
	display: none;
}

#pictureFromCamera {
	width: 100%;
	height: auto;
	margin-top: 16px;
}

.camera {
	display: contents;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: 700;
}

.modal-window {
	margin-top: -160px;
	height: auto;
	max-width: 400px;
	left: 40%;
}

@media (max-width: 400px) {
	.modal-window {
		margin-top: -80px;
		height: 156px;
		max-width: 400px;
		left: 5%;
	}
}

.fixButton {
	/* width: 50px;*/
	/* height: 50px;  */
	border-radius: 50%;
	padding: 20px;
	/* background-color: #5bc0de; */
	border-width: 1px;
	border-color: gray;
	/* border-color: #46b8da; */
	position: fixed;
	float: left;
	right: 50%;
	margin-right: -36px;
	bottom: 7%;
	z-index: 100;
}

.disapear {
	display: none;
}

/* слой затемнения */
.dm-overlay {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.65);
	overflow: auto;
	width: 100%;
	height: 100%;
	z-index: 9001;
}
/* активируем слой затемнения и модальное окно */
.dm-overlay:target {
	display: block;
	/* анимация и время задержки */
	-webkit-animation: fade 0.6s;
	-moz-animation: fade 0.6s;
	animation: fade 0.6s;
}
/* блочная таблица */
.dm-table {
	display: table;
	width: 100%;
	height: 100%;
}
/* ячейка блочной таблицы */
.dm-cell {
	display: table-cell;
	padding: 0 1em;
	vertical-align: middle;
	text-align: center;
}
/* модальный блок */
.dm-modal {
	display: inline-block;
	/* padding: 20px; */
	/* максимально возможная ширина */
	max-width: 50em;
	background: #fff;
	/* внешняя тень блока */
	-webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22),
		0px 19px 60px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22),
		0px 19px 60px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22),
		0px 19px 60px rgba(0, 0, 0, 0.3);
	color: #333;
	text-align: left;
	/* анимация и время задержки */
	-webkit-animation: fade 0.8s;
	-moz-animation: fade 0.8s;
	animation: fade 0.8s;
}

/* Сообщения */
.message-aria {
	margin-top: 10px;
	padding: 7px 12px;
	background: rgb(191, 255, 191);
	outline: 1px /*solid #000*/;
	border: 1px solid #fff;
	border-radius: 15px;
}

.message-unread {
	font-weight: bold;
	background: rgb(135, 255, 135);
	/* font-color: rgb(209, 239, 209); */
}
/*background: rgb(135, 255, 135);*/

/* Звукозапись */
.record-button {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.bg-record-start {
	background-color: red;
}

/* Loadsheet */
.loadsheet-header {
	padding: 8px 16px;
	background-color: #f2dede;
	display: flex;
	gap: 1rem;
	align-items: center;
}

.arrow-icon {
	-webkit-text-stroke: 3px #f2dede;
	cursor: pointer;
}

.loadsheet-name {
	font-family: "Arial";
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	line-height: 140%;
}

.loadsheet-text {
	font-family: "Arial";
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	line-height: 140%;
}

.loadsheet-status {
	margin-left: auto;
	border-radius: 3px;
	color: white;
	padding: 3px 6px;
}

.bg-green {
	background-color: #44bb5e;
}

.bg-orange {
	background-color: #ff9900;
}

.bg-decline {
	background-color: #d93737;
}
.bg-confirm {
	background-color: #8bcb8b;
}

.loadsheet-body {
	padding: 12px 16px;
	display: flex;
	flex-direction: column;
	height: calc(100dvh - 128px);
}

.loadsheet-confirm-btn {
	margin-bottom: 10px;
	color: white;
	border: 1px solid transparent;
}

.loadsheet-maintext {
	background-color: #fff;
	border: 1px solid #bbbbbb;
	border-radius: 5px;
	padding: 10px;
	flex: 1;
	overflow: auto;
	position: relative;
	display: flex;
}

.text {
	white-space: break-spaces;
	font-size: 8px;
	font-weight: 600;
	font-family: "Courier New";
}

.fullscreen-btn {
	position: absolute;
	right: 8px;
	width: 40px;
	height: 40px;
}

.fullscreen-btn button {
	width: 40px;
	height: 40px;
	padding: 0;
	position: fixed;
	border: 1px solid;
	background-color: rgb(244 244 244 / 37%);
}

.fullscreen-btn i {
	-webkit-text-stroke: 1px #f4f4f4;
}

.fontsize-change-btn {
	position: absolute;
	right: 8px;
	bottom: 8px;
	height: 40px;
	width: 90px;
}

.fontsize-change-btn button {
	position: fixed;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid;
	background-color: rgb(244 244 244 / 37%);
}

.fontsize-change-btn button:last-child {
	margin-left: 50px;
}

.fontsize-change-btn i {
	-webkit-text-stroke: 3px #f4f4f4;
}

.loadsheet-modal {
	padding: 20px;
	display: grid;
	place-content: center;
}

.loadsheet-confirmed {
	padding: 8px 0;
}

.loadsheet-confirmed-modal {
	background: white;
	max-width: 300px;
	border-radius: 6px;
	padding: 6px 12px;
	font-size: 18px;
	font-weight: 400;
	text-align: center;
}

.empty-loadsheet {
	height: calc(100dvh - 140px);
	display: grid;
	place-content: center;
	font-size: 20px;
	font-weight: 500;
	font-style: oblique;
	background-color: #e4e4e4;
	margin: 8px;
	border-radius: 8px;
}

.zoomed {
	transform-origin: top left;
	transform: scale(1.2);
}

.workPlaceType {
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 5px;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.dateTimerControl {
	display: flex;
	align-items: center;
}
