@CHARSET "UTF-8";

@media (min-width: 768px)
{
	body {
		padding-top: 60px;
		min-width: 1000px;
	}
}

body {

}

body.no-nav {
	padding-top: 20px;
}

body.no-nav .navbar {
	display:none;
}

h3 {
	font-weight: normal
}

pre {
	background: 0;
	border: 0;
	margin: 0;
	padding: 0;
}

.profiler-db {
	margin: 10px 0 25px 0;
	padding: 10px 0;
}
.profiler-db > .show-pre {
	margin: 0 !important;
}
.profiler_critical {
	background: #ff7070;
}
.profiler_important {
	background: #ffcccc;
}
.profiler_normal {
	background: #dcdcdc;
}

.ajax:link, .ajax:hover, .ajax:active, .ajax:visited, .ajax:focus
{
	text-decoration: none;
	border-bottom: 1px dashed;
}

a.ajax
{
	cursor: pointer;
}

.navbar-inner .brand {
	padding-left: 40px;
}

.page-header h1 {
	color: #666666;
}

.tabs-left > .nav-tabs > li > a {
	min-width: 14px
}

.tabs-right.tabs-right-employee-page > .nav-tabs > li > a {
	min-width: 14px
}

tbody {
	border: 0!important;
}

.dropdown {
	list-style-type: none;
}

.dropdown-container {
	display: none;
	background-color: #f5f5f5
}

.accordion-body.in { overflow: visible }

.accordion-fieldset
{
	margin-left: 20px;
}

.form-horizontal select.claim-subcategory-id
{
	display: none;
}

.cargo-detailed-template,
.waybill-template
{
	display: none;
}

.cargo-type-service-template
{
	display: none;
}


input.datepicker:not([disabled]),
input.datepicker-on-demand:not([disabled]),
input.timepicker:not([disabled]),
input.self_finance_filter_datepicker
{
	cursor: pointer;
}

.archive-request, .reminder
{
	margin-bottom: 0px;
}
.archive-request .date-from,
.archive-request .date-to,
.reminder .date
{
	cursor: pointer;
}
.archive-request .alert, .reminder .alert
{
	display: none;
}

#communication_supplier + .chzn-container
{
	width: 400px !important;
}

#entity-history .item.well.well-small
{
	padding-bottom: 0px;
}

#entity-history .item.well.well-small dl table.table
{
	margin-bottom: 0px;
}

#entity-history .item.well.well-small *
{
	font-size: 12px;
	line-height: 14px;
	padding-bottom: 0px;
}

#entity-history .item.well.well-small .label
{
	line-height: 14px;
}

.container-fluid .dl-horizontal dd
{
	margin-left: 10px;
	float: left;
}

table.map input,
table.map select
{
	margin: 0px;
}

form.form-current-city-id,
select.current-city-id
{
	margin: 0px;
}

select.storekeeper-employee-id
{
	margin: 0px;
}

.modal .picker
{
	position: fixed;
}

.modal .chzn-drop
{
/*	display: none;*/

/* без этого создаётся ненужный скролл, если что-то ломает, то можно убрать */

/* Игорь (8.12.14): в модале калькулятора с этим правилом не работал выбор города назначения - закомментировал */
}

table.table input,
table.table select,
label.with-select select
{
	margin-bottom: 0px;
}

#order_recipient_tooltip
{
	border-bottom: 1px black dotted;
	cursor: help;
}

label.control-label.data-label
{
	width: auto;
	cursor: default;
}

label.help-inline input[type="checkbox"]
{
	margin-top: 0px;
}

label .help-inline
{
	padding: 0px;
}

.row-fluid.direction-wrap
{
	margin-bottom: 10px;
}

select.direction
{
	margin: 0px;
}

.row-fluid.big-html-wrap
{
	overflow: auto;
	padding: 0px;
}
.row-fluid.big-html-wrap table
{
	margin: 0px;
}

.table tbody td.info,
.table thead th.info,
.table tfoot td.info
{
	background-color: #d9edf7;
}

.table tbody td.warning,
.table thead th.warning,
.table tfoot td.warning
{
	background-color: #fcf8e3;
}

.table tbody td.error,
.table thead th.error,
.table tfoot td.error
{
	background-color: #f2dede;
}

.table tbody td.success,
.table thead th.success,
.table tfoot td.success
{
	background-color: #dff0d8;
}

.table-hover tbody td.info:hover,
.table-hover tbody td.warning:hover,
.table-hover tbody td.error:hover,
.table-hover tbody td.success:hover
{
	background-color: #ffffff;
}

table.table td.text-right,
table.table th.text-right
{
	text-align: right;
}

.modal90.modal
{
	width: 90%;
	margin-left: -45%;
	min-height: 90%;
}

.modal90.modal.fade.in
{
	top: 5%;
}

.modal90 .modal-body
{
	overflow-y: scroll;
	max-height: none;
	position: absolute;
	top: 50px;
	bottom: 60px;
	right: 0px;
	left: 0px;
}

.modal90 .modal-footer
{
	position: absolute;
	width: 98%;
	bottom: 0px;
	padding: 15px 1%;
	text-align: left !important;
}

#trip-plan-add-trips .modal-footer .picker
{
	bottom: 400px;
}

.modal-delivery-orders-processing.modal
{
	width: 60%;
	margin-left: -30%;
}

#stat-fin-result-details.modal .modal-header i
{
	margin-top: 7px;
}

#modal-cargoes.modal
{
	width: 90%;
	margin-left: -45%;
}

/* Фикс для bootstrap-responsive. */
@media (max-width: 767px)
{
	.modal-delivery-orders-processing.modal
	{
		margin-left: inherit;
	}
	#modal-cargoes.modal
	{
		margin-left: inherit;
	}
}

#modal-analysis.modal
{
	width: 800px;
	margin-left: -400px;
}

#modal-volume-stat
{
	width: 1000px;
	margin-left: -500px;
}

#modal-claim-payments.modal
{
	width: 80%;
	margin-left: -40%;
}

#modal-formalnote-attachment-fields.modal
{
	width: 90%;
	margin-left: -45%;
}

#modal-delays.modal
{
	width: 700px;
	margin-left: -350px;
}

#modal-payment-list-pay-invoices.modal
{
	max-height: 90%;
	top: 5%;
	width: 1000px;
	left: 50%;
	margin-left: -500px;
}

#modal-payment-list-pay-invoices.modal .modal-body
{
	margin-bottom: 60px;
	max-height: none;
}

#modal-payment-list-pay-invoices.modal .modal-footer
{
	position: absolute;
	bottom: 0px;
	width: 970px;
}

/*#modal-settings-accounts-add.modal
{
	width: 1000px;
	margin-left: -500px;
}*/

#modal-pallets-grids-locations-edit
{
	/*width: 800px;
	margin-left: -400px;*/
}

#modal-pallets-grids-locations-edit .control-label
{
	width: 200px !important;
}

#modal-pallets-grids-locations-edit .controls
{
	margin-left: 220px !important;
}

#modal-pallets-grids-locations-edit input[type="radio"]
{
	margin-top: 0px !important;
	margin-bottom: 3px !important;
}

#modal-pallets-grids-locations-edit .modal-body
{
	overflow-x: scroll;
	/*overflow: visible;*/
}

/*#modal-pallets-grids-locations-history
{
	width: 80%;
	margin-left: -40%;
}*/

.form-horizontal .controls .help-inline
{
	padding-top: 5px;
}

#tab-delays .btn-toolbar
{
	margin: 0px;
}

#addArticleModal
{
	width: 800px;
	margin-left: -400px;
}

#addArticleModal .control-label
{
	width: 125px;
}
#addArticleModal .controls
{
	margin-left: 130px;
}

#order-cargo dl dd
{
	margin-bottom: 10px;
}


/**
 * dadata-suggest custom - START
 * При добавлении ограничений по странам dadata-suggest добавляет в input блок с перечислением этих стран.
 * На самом деле в этом блоке видны только запятые.
 * Как бы то ни было, этот блок мешает. Поэтому скрываем его нафиг.
 */
.suggestions-constraints,
.suggestions-addon {
	display: none;
}
.suggestions-input {
	padding-left: 5px !important;
}
/* dadata-suggest custom - END */


a.local, a.local:hover
{
	text-decoration: none;
	border-bottom: 1px dashed;
	cursor: pointer;
}

.chzn-search input[type="text"]
{
	height: 25px
}

.fit-drivers-result
{
	margin: 0 0 10px;
}

.development-desk .tab-content,
.delivery-desk .tab-content,
.tab-content.claim-guilties-confirms
{
	overflow: visible;
}

*.margin-bottom-30px
{
	margin-bottom: 30px;
}
*.margin-bottom-20px
{
	margin-bottom: 20px;
}
*.margin-bottom-10px
{
	margin-bottom: 10px;
}
.margin-bottom-5px
{
	margin-bottom: 5px !important;
}
*.margin-bottom-0px
{
	margin-bottom: 0;
}
*.margin-top--18px
{
	margin-top: -18px !important;
}
*.margin-top-5px
{
	margin-top: 5px !important;
}
*.margin-top-2px
{
	margin-top: 2px !important;
}
*.margin-top-10px
{
	margin-top: 10px;
}
*.margin-top-0px
{
	margin-top: 0 !important;
}
*.margin-left-0px
{
	margin-left: 0;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25em !important; }
.mt-2 { margin-top: 0.5em !important; }
.mt-3 { margin-top: 1.0em !important; }
.mt-4 { margin-top: 1.5em !important; }
.mt-5 { margin-top: 3.0em !important; }
.mt-auto { margin-top: auto !important; }

.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: 0.25em !important; }
.mr-2 { margin-right: 0.5em !important; }
.mr-3 { margin-right: 1.0em !important; }
.mr-4 { margin-right: 1.5em !important; }
.mr-5 { margin-right: 3.0em !important; }
.mr-auto { margin-right: auto !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25em !important; }
.mb-2 { margin-bottom: 0.5em !important; }
.mb-3 { margin-bottom: 1.0em !important; }
.mb-4 { margin-bottom: 1.5em !important; }
.mb-5 { margin-bottom: 3.0em !important; }
.mb-auto { margin-bottom: auto !important; }

.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: 0.25em !important; }
.ml-2 { margin-left: 0.5em !important; }
.ml-3 { margin-left: 1.0em !important; }
.ml-4 { margin-left: 1.5em !important; }
.ml-5 { margin-left: 3.0em !important; }
.ml-auto { margin-left: auto !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25em !important; }
.pt-2 { padding-top: 0.5em !important; }
.pt-3 { padding-top: 1.0em !important; }
.pt-4 { padding-top: 1.5em !important; }
.pt-5 { padding-top: 3.0em !important; }

.pr-0 { padding-right: 0 !important; }
.pr-1 { padding-right: 0.25em !important; }
.pr-2 { padding-right: 0.5em !important; }
.pr-3 { padding-right: 1.0em !important; }
.pr-4 { padding-right: 1.5em !important; }
.pr-5 { padding-right: 3.0em !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25em !important; }
.pb-2 { padding-bottom: 0.5em !important; }
.pb-3 { padding-bottom: 1.0em !important; }
.pb-4 { padding-bottom: 1.5em !important; }
.pb-5 { padding-bottom: 3.0em !important; }

.pl-0 { padding-left: 0 !important; }
.pl-1 { padding-left: 0.25em !important; }
.pl-2 { padding-left: 0.5em !important; }
.pl-3 { padding-left: 1.0em !important; }
.pl-4 { padding-left: 1.5em !important; }
.pl-5 { padding-left: 3.0em !important; }

.padding-left-0
{
	padding-left: 0 !important;
}
*.padding-left-20px,
.table-condensed td.padding-left-20px
{
	padding-left: 20px;
}
*.padding-right-20px,
.table-condensed th.padding-right-20px,
.table-condensed td.padding-right-20px
{
	padding-right: 20px;
}

table.table.width-auto
{
	width: auto;
}

.width-220 {
	width: 220px !important;
}

table.table td.right-middle,
table.table thead th.right-middle
{
	text-align: right;
	vertical-align: middle;
}
table.table td.left-middle,
table.table thead th.left-middle
{
	text-align: left;
	vertical-align: middle;
}
table.table td.right-top,
table.table thead th.right-top
{
	text-align: right;
	vertical-align: top;
}
table.table td.center-top,
table.table thead th.center-top
{
	text-align: center;
	vertical-align: top;
}
table.table td.left-top,
table.table thead th.left-top
{
	text-align: left;
	vertical-align: top;
}

.alert.send-invoice-set-success,
.alert.send-invoice-set-error
{
	display: none;
}

p.driver-id-any-wrap .chzn-container
{
	width: 270px;
}

#modal-credit-invoices
{
	width: 960px;
	margin-left: -480px;
}

#modal-credit-invoices .modal-body
{
	max-height: 600px;
	overflow: auto;
}

#modal-credit-invoices.modal .chzn-drop
{
	display: block;
}

#modal-credit-invoices td
{
	vertical-align: middle;
}

.loading-bg
{
	position: absolute;
	z-index: 100000;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	opacity: 0.5;
	filter: alpha(opacity=50);
	background: #ffffff;
}

.loading-img
{
	position: absolute;
	z-index: 100001;
	left: 50%;
	top: 50%;
	width: 50px;
	height: 50px;
	margin-left: -25px;
	margin-top: -25px;
}

.wide + .chzn-container,
textarea.wide
{
	width: 100% !important;
}

.full-width
{
	width: 100% !important;
}

.price-list-upload.form-inline .control-label
{
	float: none;
	width: auto;
}

#prices.collapse,
#prices.collapse .well
{
	overflow: visible;
}

.full-width + .chzn-container
{
	width: 100% !important;
}
.chzn400 + .chzn-container
{
	width: 400px !important;
}
.chzn270 + .chzn-container
{
	width: 270px !important;
}
.chzn290 + .chzn-container
{
	width: 290px !important;
}
.chzn210 + .chzn-container
{
	width: 210px !important;
}
.chzn180 + .chzn-container
{
	width: 180px !important;
}
.chzn170 + .chzn-container
{
	width: 170px !important;
}

.collapse.in.overflow-visible
{
	overflow: visible;
}

.tab-content.overflow-visible
{
	overflow: visible;
}

table th.text-center, table td.text-center {
	text-align: center;
}

#reload-form
{
	display: inline;
	width: 0px;
	height: 0px;
	padding: 0px;
	margin: 0px;
}

#modal-notify-edit form
{
	margin: 0px;
}

#help-modal
{
	left: 25%;
	width: 50%;
	margin: 0 auto;
}

.partner-result-value,
.partner-result-value:hover
{
	border-bottom-style: dashed;
	border-bottom-width: 1px;
	text-decoration: none;
}

.shipping-firm-default-account-id .form-horizontal .controls
{
	width: 366px;
}

#modal-mailing-driver-list.modal
{
	width: 1000px;
	margin-left: -500px;
}

@media print {
	a[href]:after {
		content: "";
	}
	abbr[title]:after {
		content: "";
	}
}

select.input-mini
{
	padding: 4px 2px;
}

dl.dl-horizontal.dt-400 dt
{
	width: 400px;
}

dl.dl-horizontal.dt-400 dd
{
	margin-left: 420px;
}

.floatThead-table thead{
	background-color:#fff;
}

.chzn300 + .chzn-container
{
	width: 300px !important;
}

table thead tr .header {
	background-image: url(../img/tablesorter/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table thead tr .headerSortUp {
	background-image: url(../img/tablesorter/asc.gif);
}
table thead tr .headerSortDown {
	background-image: url(../img/tablesorter/desc.gif);
}

.search-highlight
{
	background-color: #ffff77;
}

#tabSelffinance .tab-content
{
	overflow: visible;
}

.click-action,
span.credit-invoice-paid-value
{
	cursor: pointer;
	border-bottom: 1px dashed black;
}

span.avon-fin-result-detalisation,
span.client-invoices-payment-detalisation
{
	cursor: pointer;
	border-bottom: 1px dashed black;
}

.tablesorter thead tr th,
.delivery-tablesorter thead tr th
{
	padding-right: 16px !important;
}

*.cursor-pointer
{
	cursor: pointer !important;
}

*.cursor-wait
{
	cursor: wait !important;
}

*.cursor-default
{
	cursor: default !important;
}

.black-table td, .black-table th {
	padding: 3px 4px;
}

table.table.table-delays td.cell
{
	font-weight: bolder;
}

.global-search-setting-label {
	display: block !important;
}

td.history-field-name {
	font-weight: bold;
	text-align: right;
	width: 10%;
	vertical-align: top;
}

td.history-value {
	width: 39%;
}

td.history-column-separator {
	width: 2%;
}

.popover {
	/*max-width: 100%;*/
}

.self-finance-status .popover {
	max-width: 900px !important;
}

.send-invoice-set-wrap .popover,
.send-invoice-set-wrap .tooltip-inner
{
	max-width: 400px !important;
	width: 400px !important;
}

.send-invoice-set-wrap table.table
{
	width: 100% !important;
}

.account-info .controls
{
	padding-top: 5px;
}

.change-receipt-doc-number,
.change-receipt-doc-date {
	cursor: pointer;
	border-bottom: 1px dashed black;
}

.order-brief-arrow {
	margin-top: 5px;
}

.notification-list {
	max-height: 600px;
	overflow-y: auto;
}

.special-reports-modal-body {
	overflow-x: hidden;
}

.special-reports-modal-body textarea,
.special-reports-modal-body select[multiple="multiple"] {
	resize: none;
	height: 100px;
}

.special-reports-modal-body .picker {
	position: absolute !important;
}

.special-reports-modal-body table td:last-child,
.special-reports-modal-body table th:last-child {
	text-align: right;
}

.loading-small {
	width: 30px
}

.loading-ultra-small {
	width: 15px
}

.input-error {
	background-color: #eed3d7 !important;
	color: #b94a48 !important;
}

.input-error + .chzn-container > .chzn-single {
	background: #eed3d7 !important;
	color: #b94a48 !important;
}

.big {
	font-size: 20px;
}

.controls .text {
	margin-top: 5px;
}

.bottom-buttons {
	margin: 20px 0;
}

ul.small {
	width: 20px !important
}

label.label-with-checkbox {
	margin-left: 20px !important;
}

.label-with-checkbox input[type="checkbox"] {
	margin-left: -20px !important;
}

input:focus.has-error {
	border-color: #e9322d;
	box-shadow: 0 0 6px #f8b9b7;
}

.margin-left-5px {
	margin-left: 5px !important;
}

.margin-left-10px {
	margin-left: 10px !important;
}

.margin-left-20px {
	margin-left: 20px !important;
}

.margin-right-20px {
	margin-right: 20px !important;
}

.margin-right-5px {
	margin-right: 5px !important;
}

a.trip-link:visited {
	color: #7019c2;
}

.strong {
	font-weight: bold !important;
}

.dropdown-exception {
	cursor: pointer;
}

.dropdown-opener {
	cursor: pointer;
}

tr.extra {
	background-color: #e8e8e8;
}

.datepicker-container-right .picker
{
	position: relative !important;
}

.datepicker-container-right .picker .picker__holder
{
	right: 0px !important;
}

.label-purple, .badge-purple {
	background-color: #660066;
}

.label-light-purple, .badge-light-purple {
	background-color: #aa11cc;
}

#modal-pay-self-finances .account-chained-select-container
{
	padding-bottom: 20px;
}

.text-red {
	color: red !important;
}

.vertical-align-top
{
	vertical-align: top !important;
}

.datepicker-right .picker
{
	position: relative;
}

.datepicker-right .picker .picker__holder
{
	left: auto;
	right: 0;
}

.datepicker-left .picker {
	margin-left: -362px !important;
}

.display-inline-block
{
	display: inline-block !important;
}

.text-bold
{
	font-weight: bold;
}
.text-nowrap
{
	white-space: nowrap;
}
.text-small
{
	font-size: 85%;
}

.w100
{
	max-width: 100px;
}
.w120
{
	max-width: 120px;
}
.w140
{
	max-width: 140px;
}
.w160
{
	max-width: 160px;
}
.w180
{
	max-width: 180px;
}
.w200
{
	max-width: 200px;
}

.w-strong-30 {
	width: 30px !important;
}

.w-strong-100 {
	width: 100px !important;
}

/*
Да простят нас боги за это... Класс нужен для обхода проблемы с box-sizing.
Короче, когда нужно создать 2 слоя (один пустой, а второй - с инпутом), и чтобы они были одинаковой ширины, возникают проблемы.
Нельзя прописать ширину для обоих слоёв, а для инпута width: 100%, потому что у нас используется box-sizing: content-box,
и инпут по факту будет шире слоя, потому что добавятся паддинги и границы.
В таком случае мы используем для пустого слоя w-strong-114, а для слоя с инпутом - w-strong-100, и всё будет ровно.
*/
.w-strong-114 {
	width: 114px !important;
}

.w-strong-130 {
	width: 130px !important;
}

.w-strong-160 {
	width: 160px !important;
}

.w-strong-180 {
	width: 180px !important;
}

.w-strong-200 {
	width: 200px !important;
}

.w-strong-240 {
	width: 240px !important;
}

.w-strong-300 {
	width: 300px !important;
}

.w-strong-400 {
	width: 400px !important;
}

.w-strong-450 {
	width: 450px !important;
}

.w-strong-1000{
	width: 1000px !important;
}

.background-grey
{
	background-color: #eeeeee;
}

/* Кнопка входа на странице со списком сотрудников. */
.thumbnail
{
	position: relative;
	height: 110px;
}
.thumbnail.lead {
	line-height: 1.2;
}
.employee-mutate-btn
{
	color:					rgb(255, 255, 255);
	bottom:					0;
	opacity:				0.25;
	position:				absolute;
	right:					0;
}

.checkbox label
{
	display: inline-block;
}

.trip-traffic-scheme
{
	text-align: center;
}
.trip-traffic-scheme .loading-msg
{
	font-size: 20px;
	padding: 10px;
}

/* >> Гербы */

.thumbnail-city,
.thumbnail-city-lg
{
	-webkit-font-smoothing:	antialiased;
	background:				rgb(255, 255, 255);
	box-sizing:				border-box;
	color:					rgb(51, 51, 51);
	display:				block;
	left:					0;
	position:				absolute;
	/*text-shadow:			0 0 3px rgb(255, 255, 255),
							0 0 3px rgb(255, 255, 255);*/
	top:					0;
	transition:				all 0.5s;
	width:					100%;
	z-index:				0;
}
.thumbnail-city
{
	height:					4.6rem;
}
.thumbnail-city-lg
{
	height:					10.5rem;
	padding:				0.4rem 0.8rem;
}
.thumbnail-city:hover,
.thumbnail-city-lg:hover
{
	color:					rgb(51, 51, 51);
}
.thumbnail-city .city-code
{
	margin:					0 0 0.5rem 0;
}
.thumbnail-city .employee-count,
.thumbnail-city-lg .employee-count
{
	padding:				0.2rem 0.4rem;
	position:				absolute;
	right:					0;
	top:					0;
}
.thumbnail-city .city-title
{
	max-width:				8.1rem;
	opacity:				1.0;
	transition:				all 0.3s;
}
.thumbnail-city:hover .city-title
{
	opacity:				0;
}
.thumbnail-city .city-title-hover
{
	background:				rgba(0, 136, 204, 0.8);
	bottom:					0;
	color:					rgb(255, 255, 255);
	font-weight:			bold;
	left:					0;
	/*min-width:				5.0rem;*/
	opacity:				0;
	padding:				0.15rem 0.65rem;
	/*pointer-events:			none;*/
	position:				absolute;
	right:					0;
	transition:				all 0.3s;
	white-space:			nowrap;
}
.thumbnail-city.branch-city .city-title-hover
{
	background:				rgba(140, 21, 25, 0.8);
}
.thumbnail-city:hover .city-title-hover
{
	opacity:				1.0;
}

.thumbnail-city .branch-title,
.thumbnail-city .partner-title
{
	font-weight:			bold;
	left:					0.6rem;
	opacity:				0;
	position:				absolute;
	top:					2.2rem;
	transition:				all 0.3s;
}
.thumbnail-city .branch-title
{
	color:					rgb(140, 21, 25);
}
.thumbnail-city .partner-title
{
	color:					rgb(0, 136, 204);
}
.thumbnail-city:hover .branch-title,
.thumbnail-city:hover .partner-title
{
	opacity:				0.7;
}

.city-flag
{
	background-image:		url(../img/city_flags.png);
	background-repeat:		no-repeat;
	height:					64px;
	opacity:				0.12;
	position:				absolute;
	right:					0.3rem;
	top:					0.2rem;
	transition:				all 0.5s;
	width:					64px;
}
.thumbnail-city:focus,
.thumbnail-city:hover,
.thumbnail-city-lg:focus,
.thumbnail-city-lg:hover
{
	text-decoration:		none;
}
.thumbnail-city:hover
{
	box-shadow:				0 0 10px rgb(0, 105, 214) !important;
	height:					135%;
	left:					-1.05rem;
	padding:				0.5rem 0.6rem;
	top:					-0.1rem;
	width:					125%;
	z-index:				1;
}
.thumbnail-city.branch-city:hover,
.thumbnail-city-lg.branch-city:hover
{
	border-color:			rgb(140, 21, 25) !important;
	box-shadow:				0 0 10px rgb(140, 21, 25) !important;
}
.thumbnail-city:hover .city-flag
{
	opacity:				1.0;
	right:					1.45rem;
	top:					0.3rem;
	z-index:				-1;
}
.thumbnail-city-lg:hover
{
	box-shadow:				0 0 10px rgb(0, 105, 214) !important;
	text-decoration:		none;
}
.thumbnail-city-lg:hover .city-flag
{
	opacity:				1.0;
}

.takein-btn {
	width: 416px;
	max-width: 100%
}

.btn-xxlarge
{
	padding:50px 50px;
	font-size:27.5px;
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	border-radius:6px;
}
.btn-xxlarge [class^="icon-"],
.btn-xxlarge [class*=" icon-"]
{
	margin-top:10px;
}

.input-high
{
	height: 35px !important;
	font-size: 20px;
}

/* Герб Москвы. */
.city-flag-lg
{
	background-image:		url(../img/city_flag_msk.png);
	height:					128px;
	right:					0;
	top:					22px;
	width:					128px;
}

/*
	Гербы городов (кроме Москвы).
	Выровнены по сетке 64х64 пикселя с маргином между рядами в 1 пиксель.
*/
.city-flag-36		{ background-position: 0 0; }
.city-flag-557		{ background-position: -64px 0; }
.city-flag-3081218	{ background-position: -128px 0; }
.city-flag-12882877	{ background-position: -192px 0; }
.city-flag-545377	{ background-position: -256px 0; }
.city-flag-558		{ background-position: -320px 0; }
.city-flag-3161300	{ background-position: -384px 0; }
.city-flag-584		{ background-position: -448px 0; }
.city-flag-1924392	{ background-position: -512px 0; }
.city-flag-585		{ background-position: -576px 0; }
.city-flag-586		{ background-position: -640px 0; }
.city-flag-18973803	{ background-position: -704px 0; }
.city-flag-589		{ background-position: -768px 0; }
.city-flag-590		{ background-position: -832px 0; }
.city-flag-591		{ background-position: -896px 0; }
.city-flag-592		{ background-position: -960px 0; }

.city-flag-545431	{ background-position: 0 -65px; }
.city-flag-593		{ background-position: -64px -65px; }
.city-flag-18778921 { background-position: -128px -65px; }
.city-flag-43		{ background-position: -192px -65px; }
.city-flag-10410707	{ background-position: -256px -65px; }
.city-flag-596		{ background-position: -320px -65px; }
.city-flag-597		{ background-position: -384px -65px; }
.city-flag-598		{ background-position: -448px -65px; }
.city-flag-600		{ background-position: -512px -65px; }
.city-flag-601		{ background-position: -576px -65px; }
.city-flag-602		{ background-position: -640px -65px; }
.city-flag-3162082	{ background-position: -704px -65px; }
.city-flag-603		{ background-position: -768px -65px; }
.city-flag-604		{ background-position: -832px -65px; }
.city-flag-607		{ background-position: -896px -65px; }
.city-flag-150		{ background-position: -960px -65px; }

.city-flag-608		{ background-position: 0 -130px; }
.city-flag-609		{ background-position: -64px -130px; }
.city-flag-610		{ background-position: -128px -130px; }
.city-flag-612		{ background-position: -192px -130px; }
.city-flag-613		{ background-position: -256px -130px; }
.city-flag-614		{ background-position: -320px -130px; }
.city-flag-2608345	{ background-position: -384px -130px; }
.city-flag-1839874	{ background-position: -448px -130px; }
.city-flag-617		{ background-position: -512px -130px; }
.city-flag-545528	{ background-position: -576px -130px; }
.city-flag-621		{ background-position: -640px -130px; }
.city-flag-616		{ background-position: -704px -130px; }
.city-flag-622		{ background-position: -768px -130px; }
.city-flag-623		{ background-position: -832px -130px; }
.city-flag-322219	{ background-position: -896px -130px; }
.city-flag-624		{ background-position: -960px -130px; }

.city-flag-625		{ background-position: 0 -195px; }
.city-flag-4820671	{ background-position: -64px -195px; }
.city-flag-628		{ background-position: -128px -195px; }
.city-flag-629		{ background-position: -192px -195px; }
.city-flag-630		{ background-position: -256px -195px; }
.city-flag-632		{ background-position: -320px -195px; }
.city-flag-633		{ background-position: -384px -195px; }
.city-flag-638		{ background-position: -448px -195px; }
.city-flag-149		{ background-position: -512px -195px; }
.city-flag-639		{ background-position: -576px -195px; }
.city-flag-151		{ background-position: -640px -195px; }
.city-flag-640		{ background-position: -704px -195px; }
.city-flag-152		{ background-position: -768px -195px; }
.city-flag-12507285	{ background-position: -832px -195px; }
.city-flag-12507843	{ background-position: -896px -195px; }
.city-flag-642		{ background-position: -960px -195px; }

.city-flag-830		{ background-position: 0 -260px; }
.city-flag-643		{ background-position: -64px -260px; }
.city-flag-545575	{ background-position: -128px -260px; }
.city-flag-644		{ background-position: -192px -260px; }
.city-flag-1123069	{ background-position: -256px -260px; }
.city-flag-645		{ background-position: -320px -260px; }
.city-flag-647		{ background-position: -384px -260px; }
.city-flag-7316479	{ background-position: -448px -260px; }
.city-flag-24889	{ background-position: -512px -260px; }
.city-flag-649		{ background-position: -576px -260px; }
.city-flag-650		{ background-position: -640px -260px; }
.city-flag-651		{ background-position: -704px -260px; }
.city-flag-653		{ background-position: -768px -260px; }
.city-flag-656		{ background-position: -832px -260px; }
.city-flag-12914458	{ background-position: -896px -260px; }
.city-flag-658		{ background-position: -960px -260px; }

.city-flag-660		{ background-position: 0 -325px; }
.city-flag-661		{ background-position: -64px -325px; }
.city-flag-666		{ background-position: -128px -325px; }

/* << Гербы */

.table-cargoes thead tr th {
	text-align: center;
	vertical-align: top;
}

.table-cargoes thead tr th.header
{
	background-position: top right;
	background-position-y: 5px;
}
.table-cargoes tfoot tr td,
.table-cargoes td.total-weight,
.table-cargoes td.total-volume,
.table-cargoes td.cols-total-weight-to-city,
.table-cargoes td.cols-total-volume-to-city
{
	font-weight: bold;
}

.help-block {
	margin-top: 2px;
}

/* Правки под телефонные поля с кодом страны. */
/* Подсказка с кодом телефона съезжает на следующую строку. */
.intl-tel-input {
	display: inline-block;
}
/* Правки размеров обусловлены тем, что в "Любаше" используется Bootstrap 2, в котором box-sizing: content-box. */
/* А в Bootstrap 3 и плагине intl-tel-input - border-box. В результате размеры не совпадают и едут. */
.intl-tel-input input {
	height: 30px;
}
.intl-tel-input .input-large {
	width: 224px;
}
/* Скрываем скролл в списке стран - покуда их 4, оне не нужен. */
.intl-tel-input .country-list {
	overflow-y: hidden;
}
/* Принудительное раскрытие списка стран (выбор кода телефона) вверх. */
.country-list-up .intl-tel-input .country-list {
	bottom: 29px;
}

hr.half-margin {
	margin: 10px 0;
}

.inline-form-wrap {
	display: inline-block;
}
/* Обёртка для Chozen-а, которых находится в горизонтальной форме, но .span* по каким-то причинам не используется. */
.chzn-wrap-inline {
	margin-left: 1.0rem;
	width: 300px;
}

/* Chozen, который раскрывается наверх. */
.chzn-wrap-open-up .chzn-drop {
	border-top: 1px solid #aaa !important;
	bottom: 100%;
	top: auto !important;
}
.chzn-wrap-open-up .chzn-container-single .chzn-drop {
	border-radius: 5px 5px 0 0 !important;
}
.chzn-wrap-open-up .chzn-container-active.chzn-with-drop .chzn-single {
	border-radius: 0 0 5px 5px !important;
}

.bg-pink {
	background-color: #fbb !important;
}

.tab-pane {
	overflow: visible;
}

.trip_later_status_info
{
	background-color: #d9edf7;
}

.trip_later_status_warning
{
	background-color: #fcf8e3;
}

.trip_later_status_error
{
	background-color: #f2dede;
}

/* Процент опозданий на главной. */
.progress-delay-plan
{
	margin-bottom: 10px;
}
.progress-delay-plan .bar
{
	max-width: 100%;
	position: relative;
}
.progress-delay-plan .bar strong
{
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	text-shadow: 0 0 1px rgb(0, 0, 255);
	top: 0;
	z-index: 1;
}
.modal400
{
	width: 400px;
}

/* Управление кураторством на странице клиента */
#curator-selection-modal
{
	width: 900px;
	text-align: left;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	margin-left: 0;
}

#curator-selection-modal form
{
	margin: 0;
}


#curator-selection-modal .modal-body
{
	min-height: 400px;
	overflow-y: visible;
}

#curator-selection-modal .modal-body .tab-content
{
	overflow: visible;
}

#curator-selection-modal .control-label
{
	padding-top: 0;
	width: 200px;
}

#curator-selection-modal .controls
{
	margin-left: 220px;
	font-weight: bold;
}
/* Управление кураторством на странице клиента */

/*
	Исправлен отъезд дочернего меню слишком далеко налево, вплоть до невозможности выбрать пункт меню (bug#24085).
*/
.dropdown-menu-desk .dropdown-menu
{
	left: initial;
	right: 100%;
}

.claim_text
{
	margin: 0;
	word-wrap: break-word;
}

.position-relative
{
	position: relative !important;
}

#claim-edit-modal
{
	width: 800px;
	/* min-height: 900px; */
}

#claim-edit-modal .modal-body
{
	overflow-y: auto;
	min-height: 420px;
	/* min-height: 770px; */
}

/* Убираем отступ под формой, если она находится в корне модала. Иначе под нижним блоком с кнопками появляется щель, и оттуда DO IT! */
.modal>form
{
	margin: 0;
}

.hg-summary{
	position: fixed;
	height: 32px;
	width: 100%;
	bottom: 0;
	z-index: 999;
	text-align: center;
	padding-top: 5px;
	color: white;
	background-color: #0e0e0e;
}

.hidden{
	display:none;
}

.label-light-green,
.badge-light-green {
	background-color: #8bbc21;
}

.label-yellow,
.badge-yellow {
	background-color: #fde910;
	color: black;
	text-shadow: none;
}

.claim-page-standard-modal {
	width: 1200px;
	margin-left: -600px;
	top: 5% !important;
	height: 90% !important;
}

.claim-page-standard-modal .modal-body
{
	overflow-y: scroll;
	max-height: none;
	position: absolute;
	top: 50px;
	bottom: 60px;
	right: 0px;
	left: 0px;
}

.claim-page-standard-modal .modal-footer
{
	position: absolute;
	width: 98%;
	bottom: 0px;
	padding: 15px 1%;
	text-align: left !important;
}

.label-required {
	color: red;
	font-weight: bold;
}

small.category {
	color: #a2a2a2;
	font-size:11px;
}

.red-star:before {
	content: '*';
	color: red;
	font-size: 2em;
}

.border-round {
	border: 2px #000000 solid;
	border-radius: 50%;
	text-align: center;
	padding: 2px 5px;
	font-size: 1.2em;
	font-weight: bold;
}

.text-underline	{
	text-decoration: underline;
}

.text-lowercase {
	text-transform: lowercase;
}

/* Чтобы класс перезаписывал цвет (например, для .help-block). */
.text-error {
	color: #b94a48 !important;
}

/* Лейбл в одной строке с текстом. */
.inline-label-wrap {
	position: relative;
	top: -2px;
}

#multi-order .multi-item-template
{
	display: none;
}

#multi-order .online-search + .chzn-container
{
	width: 300px !important;
}

#multi-order .chzn-select + .chzn-container
{
	width: 300px !important;
}

.gd-well
{
	padding: 9px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
}

.gd-well > div.row-fluid > div
{
	min-height: 20px;
}

.gd-well > div.row-fluid > div:nth-child(odd)
{
	text-align: right;
	font-weight: bold;
}

.well.warning, .gd-well.warning
{
	background-color: #fad6a1;
}


.flex-container
{
	display: flex;
	justify-content: space-between;
}

.flex-container>*
{
	margin: 1px;
}

.modal-add-return-payment
{
	max-height: 89%;
	overflow-y: scroll;
	width: 800px;
	margin-left: -400px;
}

/* Текстовый лейбл, добавляемый к инпуту справа. Фактически .muted + .pl-1. */
.muted-label {
	color: #999999;
	padding-left: 0.25em;
}

/* Чтобы не было проблем с шириной, в Bootstrap 3+ это всегда прописано по умолчанию. В "Любе" будем использовать точечно. */
.border-box {
	box-sizing: border-box !important;
}

/* >> Flex-классы, аналогичные классам из Bootstrap 4. */

.d-flex {
	display: flex;
}

.flex-column {
	flex-direction: column !important;
}
.flex-row {
	flex-direction: row !important;
}

.flex-nowrap {
	flex-wrap: nowrap !important;
}
.flex-wrap {
	flex-wrap: wrap !important;
}

.justify-content-start {
	justify-content: flex-start !important;
}
.justify-content-end {
	justify-content: flex-end !important;
}

.align-content-start {
	align-content: flex-start !important;
}
.align-content-center {
	align-content: center !important;
}
.align-content-end {
	align-content: flex-end !important;
}

.align-items-start {
	align-items: flex-start !important;
}
.align-items-center {
	align-items: center !important;
}
.align-items-end {
	align-items: flex-end !important;
}

.align-self-start {
	align-self: flex-start !important;
}
.align-self-center {
	align-self: center !important;
}
.align-self-end {
	align-self: flex-end !important;
}

.flex-grow-1 {
	flex: 1;
}

/* << Flex-классы, аналогичные классам из Bootstrap 4. */

/* >> Стили для формы редактирования груза. */

/* Строка-груз (по функционалу аналогично tr таблицы). */
.cargo-row {
	align-items: flex-end;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	padding: 0.25rem 0;
}

/* Чтобы у чекбоксов не было лишнего отступа слева. */
.cargo-row .help-inline {
	padding-left: 0;
}

/* Обёртка вокруг группы инпутов. */
.cargo-input-group {
	align-items: center;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	min-height: 30px;
}

/* Обёртка вокруг группы галок. */
.cargo-check-group {
	/* Ширина блоков с галками. Фиксируем, чтобы колонки были одинаковыми. */
	width: 550px;
}

/* Контейнер с двумя слоями - один с инпутами, другой с галками. Используется, чтобы упорядочивать их друг относительно друга. */
.cargo-check-ordered-group {
	align-items: center;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
}

/* Чтобы галки переносились над / под инпуты на мелких (ну, как мелких... меньше 1800 пикселей...) экранах. */
@media (max-width: 1900px) {
	.cargo-check-ordered-group {
		align-items: flex-start;
		flex-direction: column;
	}

	/* Обёртка вокруг галки "Игнорировать правила ЖУ". */
	.cargo-check-group-first {
		order: -1;
		width: unset;
	}
	/* Обёртка вокруг группы галок "Минус рохла" и пр. */
	.cargo-check-group-last {
		margin-top: 0.4rem;
		order: 10;
		width: 100%;
	}
}

/* << Стили для формы редактирования груза. */

.link-clicked {
	pointer-events: none;
	cursor: default;
	color: #888;
}

/* Обёртка для форм, которую можно использовать вместе с control-label любой ширины. */
.form-horizontal .controls.controls-float {
	float: left;
	margin-left: 20px;
}

/** поле редактирование появляющееся после клика на значение */
.ahref_editing .hrefinputfield {
	display: none;
}

.ahref_editing button {
	margin-left: 2px;
}

#same-inn-clients-wrap {
	margin-bottom: 20px;
}

.confluence-page__toc-switcher {
	display: none;
}

a[data-toggle='collapse'] {
	cursor: pointer;
}

#accompanying-documents-modal select[name="type[]"] {
	width: 100px;
}

#accompanying-documents-modal input[name="date[]"] {
	width: 80px;
}

#accompanying-documents-modal input[name="number[]"] {
	width: 100px;
}

#accompanying-documents-modal input[name="tnved[]"] {
	width: 100px;
}

#accompanying-documents-modal input[name="packages[]"] {
	width: 70px;
}

#accompanying-documents-modal input[name="weight[]"] {
	width: 70px;
}

#accompanying-documents-modal input[name="price[]"] {
	width: 70px;
}

#accompanying-documents-modal tr.template {
	display: none;
}

#accompanying-documents-modal .field-required {
	border: 1px solid red;
}
