body {
    width:100%;
    height:100%;
}

.card_label {
    margin:6px 0 6px 0;
    font-weight: bold;
    color:#333333;
    font-size:18px;
}

form div.required label.control-label:after {
  content:" * ";
}

/* Единый стиль сообщений валидации форм. */
.help-block,
.invalid-feedback {
  margin-top: 4px;
  color: #dc3545;
  font-size: 0.875rem;
  line-height: 1.35;
}

.jp_cont {
    height:100%;
    width:100%;
    display: flex;
    flex-direction: row;
    
}

.jp_col {
    height:100%;
}
.jp_col_1 {
    width:200px;
}
.jp_col_2 {
    flex-grow: 1;
}

/*.timepicker_from_input, .timepicker_to_input {
    display:none;
}*/
.form_map {
    width:100%;
    height:350px;
    margin:10px 0;
    z-index:0;
}
.delivery-route {
    background: #f8fafc;
    border: 1px solid #d7e0e8;
    border-radius: 8px;
    padding: 0 14px 16px;
}
.delivery-route-title {
    padding: 16px 2px 13px;
    border-bottom: 1px solid #dfe6ed;
    color: #212529;
    font-size: 17px;
    font-weight: 600;
}
.delivery-route-points {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #d5dce3;
    border-radius: 6px;
    background: #d3d3d3;
}
.delivery-route .delivery-route-points .delivery-route-point {
    margin-top: 0;
}
.delivery-route.delivery-route--service > .delivery-route-point {
    margin-top: 14px;
}
.delivery-route-point {
    display: flex;
    min-width: 0;
    margin-top: 14px;
    border: 1px solid #cbd6e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(31, 45, 61, .04);
}
.delivery-route-point--destination {
    background: #d3d3d3;
}
.delivery-route .delivery-point-card {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}
.delivery-route .delivery-point-card > .card {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.delivery-route .delivery-point-card > .card > .card-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 194px;
    padding: 16px 18px 14px;
    flex-direction: column;
}
.delivery-point-heading__hidden-type,
.delivery-point-heading__hidden-type .form-group {
    display: none;
}
.delivery-point-heading {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f4;
}
.delivery-route-point--destination .delivery-point-heading {
    border-bottom-color: rgba(255, 255, 255, .72);
}
.delivery-point-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1f2933;
    font-size: 16px;
    font-weight: 600;
}
.delivery-point-title .marker_blue {
    color: #007bff;
}
.delivery-point-title .marker_red {
    color: #dc3545;
}
.delivery-point-controls {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 12px;
}
.delivery-type-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}
.delivery-type-options .js-route-type {
    cursor: pointer;
}
.delivery-type-options .route-type-choice {
    min-width: 106px;
    height: 34px;
    padding: 4px 12px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}
.delivery-type-options .route-type-choice.is-active {
    color: #0056b3;
    background-color: #e8f3ff;
    border-color: #007bff;
    font-weight: 600;
}
.delivery-point-selection {
    display: flex;
    flex: 0 0 123px;
    height: 123px;
    min-height: 123px;
    padding: 0;
}
.delivery-point-center {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.delivery-point-card--fixed .delivery-point-center,
.customer_select_widget--client-only .delivery-point-center,
.customer_select_widget--warehouse-only .delivery-point-center {
    display: grid;
    place-items: center;
}
.delivery-point-card--fixed .delivery-point-center > *,
.customer_select_widget--client-only .delivery-point-center > *,
.customer_select_widget--warehouse-only .delivery-point-center > * {
    grid-area: 1 / 1;
}
.delivery-point-kind {
    display: none;
}
.delivery-point-selected {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    min-height: 24px;
    color: #263746;
    text-align: center;
}
.delivery-point-selected-name,
.js-route-selected-name {
    color: #212529;
    font-size: 17px;
    font-weight: 600;
}
.delivery-point-selected-address,
.js-route-selected-address {
    margin-top: 4px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}
.delivery-point-selected .js-edit-selected-point {
    display: block;
    margin: 6px auto 0;
    padding: 0;
    color: #007bff;
    font-size: 13px;
    line-height: 1.2;
}
.delivery-point-empty {
    flex: 0 0 auto;
    min-height: 24px;
    color: #7a8793;
    font-size: 14px;
    text-align: center;
}
.customer_value_select {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.delivery-point-selection .depdrop_block .form-group {
    margin-bottom: 0;
}
.delivery-point-selection .depdrop_block {
    min-width: 280px;
}
.delivery-point-selection .js-open-customer-select,
.delivery-point-selection .js-open-warehouse-layer {
    white-space: nowrap;
}
.delivery-point-interval-slot {
    display: flex;
    flex: 0 0 34px;
    width: 100%;
    height: 34px;
    align-items: center;
    justify-content: center;
}
.delivery-time-inline {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 13px;
}
.delivery-time-label {
    margin-right: 2px;
    font-weight: 600;
}
.delivery-time-inline input[type="time"] {
    width: 78px;
    height: 34px;
    padding: 4px 6px;
    border: 1px solid #cbd5df;
    border-radius: 5px;
    color: #25313c;
    background: #fff;
}
.delivery-time-separator {
    color: #6c757d;
}
.delivery-time-inline .timepicker_error {
    position: absolute;
    top: 34px;
    right: 0;
    width: 240px;
    margin: 0;
    text-align: right;
    z-index: 1;
}
.delivery-route .customer_select_widget--client-only .delivery-point-empty,
.delivery-route .customer_select_widget--warehouse-only .delivery-point-empty {
    display: none !important;
}
.delivery-route .customer_select_widget--client-only .js-open-customer-select,
.delivery-route .customer_select_widget--warehouse-only .warehouse-layer-picker button {
    display: inline-block;
    padding: 4px 12px;
    border: 0;
    color: #007bff;
    background: transparent;
    font-size: 20px;
    line-height: 1.4;
}
.delivery-route .customer_select_widget--client-only .js-open-customer-select:hover,
.delivery-route .customer_select_widget--client-only .js-open-customer-select:focus,
.delivery-route .customer_select_widget--warehouse-only .warehouse-layer-picker button:hover,
.delivery-route .customer_select_widget--warehouse-only .warehouse-layer-picker button:focus {
    color: #0056b3;
    background: transparent;
    box-shadow: none;
    text-decoration: underline;
}
.delivery-route .form_pickup_new_client_add_cont {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 10px;
}

@media (max-width: 767.98px) {
    .delivery-route-points {
        grid-template-columns: 1fr;
    }
    .delivery-route-arrow {
        min-height: 24px;
        transform: rotate(90deg);
    }
}
@media (max-width: 700px) {
    .delivery-point-controls {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .delivery-time-inline {
        width: 100%;
    }
    .customer_select_widget--selector .delivery-point-center {
        align-items: flex-start;
    }
    .delivery-point-selection .customer_value_select {
        width: 100%;
    }
    .delivery-point-selection .depdrop_block {
        min-width: 0;
    }
}
.warehouse-layer-picker {
    margin-top: 8px;
}
.warehouse-layer-content,
.client-layer-content {
    min-height: 360px;
    display: flex;
    flex-direction: column;
}
.warehouse-layer-list,
.client-layer-list {
    border-top: 1px solid #dee2e6;
}
.warehouse-layer-item,
.client-layer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}
.warehouse-layer-item.is-selected,
.client-layer-item.is-selected {
    background: #f0f7ff;
}
.warehouse-layer-item__main,
.client-layer-item__main {
    display: flex;
    align-items: flex-start;
    flex: 1;
    margin: 0;
    cursor: pointer;
}
.warehouse-layer-item__checkbox,
.client-layer-item__checkbox {
    flex: 0 0 auto;
    margin: 4px 0 0 0;
}
.warehouse-layer-item__actions,
.client-layer-item__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}
.warehouse-layer-footer,
.client-layer-footer {
    margin-top: auto;
    padding-top: 16px;
}
.warehouse-layer-form-wrapper,
.client-layer-form-wrapper {
    min-width: 720px;
}
.client-layer-name-hint {
    margin-bottom: 8px;
    color: #6c757d;
    font-size: 13px;
}
.warehouse-layer-form-map,
.client-layer-form-map {
    width: 100%;
    height: 200px;
    margin: 12px 0 16px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}
#stock_form_map {
    width:100%;
    height:500px;
    margin:10px 0;
}
#ui-datepicker-div {
    z-index: 100000!important;
}
#vehicle_area_edit {
    width:100%;
    height:500px;
}
div[role=radiogroup] label {
    display:block;
    font-weight: normal!important;
}

.jp_checkbox label{
    font-weight: inherit!important;
    display: block;
}

#customer_form_map, #customer_view_map {
    width:100%;
    height:500px;
    margin:10px 0;
}
.shipping_index__td_title_future {
    font-weight: bold
}
.shipping_index__td_title_past {
    color:#666666;
}
#optimize_map {
    width:100%;
    height:400px;
    margin-top:16px;
}
.icon_round {
    width:24px!important;
    height:24px!important;
    border-radius: 50%;
    border: 2px rgba(0,0,0,0.5) solid;
}
.icon_square {
    width:24px!important;
    height:24px!important;
    border-radius: 5%;
    border: 2px rgba(0,0,0,0.5) solid;
}

.icon_color_blue {
    background-color: #3333ff;
    color:#fff;
}
.icon_color_white {
    background-color: #fff;
    color:#000;
}
.icon_color_green {
    background-color: #ccffcc;
    color:#000;
}
.icon_font_size_vehicle {
    font-size: 15px;
}
.icon_font_size_stock {
    font-size: 15px;
}
.icon_font_size_order {
    font-size: 15px;
}

.icon_move {
    margin-left:3px;
}
.icon_vehicle {
    /*z-index:100!important;*/
}
.icon_stock {
    /*z-index:70!important;*/
}
.icon_order {
    /*z-index:50!important;*/
}

.icon_step {
    width:32px!important;
    height:32px!important;
    border-radius: 50%;
    text-align: center;
    background-color: #fff;
    color:#000;
    
}
.icon_stock {
    width:40px!important;
    height:40px!important;
    border-radius: 50%;
    text-align: center;
    background-color: #fff;
    color:#000;
    border: 4px #666666 solid;
    font-size: 16px;
}
.icon_stock span {
    display: inline-block;
    margin-top:4px;
}

.icon_unassigned {
    width:10px!important;
    height:10px!important;
    border-radius: 50%;
    text-align: center;
    background-color: #0099ff;
    
}
.icon_step span {
    display: inline-block;
    margin-top:4px;
    font-weight: bold;
    
}

.icon_color_blue {
    border: 4px #3333ff solid;
    background-color: #fff;
    color:#000;
}

.icon_color_white {
    border: 4px #666 solid;
    background-color: #fff;
    color:#000;
}


.optimize_arrow  {
    opacity: 0.5;
}
.shipping_optimize_vehicle_label {
    padding:6px 0 0 0;
    margin: 0;
}
.shipping_optimize_vehicle_address_cont {
    margin: 0 0 0 18px;
}
.shipping_optimize_vehicle_label {
    font-weight: bold;
}
.shipping_optimize_vehicle_address {
    font-size: 15px;
}



.mbavbar .nav-item {
    margin-right: 5px;
}


.mnavbar a.nav-link {
    border: 1px #ddd solid;
    color: #444!important;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
}

.mnavbar a.nav-link.active {
    background-color: #ccc;
}

.nav-tabs .nav-link:not(.active):not(.disabled) {
    color: #6c757d;
}

.nav-tabs .nav-link:not(.active):not(.disabled):hover {
    color: #343a40;
}

.nav-tabs .nav-link.active {
    color: #007bff !important;
    font-weight: 600;
    border-top: 2px solid #007bff;
}

.newcustomer_block {
    background-color: #ffffcc;
    padding: 10px 10px 20px 10px;
}
.form_delivery_new_client_add_cont, .form_pickup_new_client_add_cont {
    background-color: #e5e5e5;
    padding: 10px;
}
#vehicle_route_map {
    width:100%;
    height:500px;
}
#shipping_view_map {
    width:100%;
    height:100%;
}
.map_popup_orders_count {
    color:#3333ff;
    text-decoration: underline;
    cursor:pointer;
}
.sidebar_header_1 {
    padding:8px 16px 4px 16px;
    color:#fff;
    font-size: 18px;
    text-transform: uppercase;
}
.sidebar_header_2, a.sidebar_header_2 {
    padding:4px 16px 4px 16px;
    color:#000!important;
    font-weight: bold;
    font-style: italic;
    color: #000;
    background:#ccc;
    width:100%;
    display: block;
}
.sidebar_edit_button {
    color:#cccccc;
    padding:0px 16px 4px 16px;
    font-size: 14px;
    color: #000000;
}
.lightmenu a {
    color:#fff!important;
}
.sidebar_config_block {
    border-top: 1px solid #4f5962;
}
.sidebar_planning_block {
    padding-top:8px;
}
.sidebar-planning-menu {
    padding-bottom: 8px;
}
.sidebar-planning-list {
    display: flex;
    flex-direction: column;
}
.sidebar-planning-add {
    display: inline-block;
    align-self: flex-start;
    margin: 8px 16px 10px;
    font-size: 14px;
}
.sidebar-planning-active {
    margin: 0 16px 8px;
    padding: 0;
    background: transparent;
}
.sidebar-planning-active-title {
    padding: 4px 0 6px;
    color: #9da5ad;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.sidebar-planning-link,
.sidebar-planning-empty {
    display: block;
    margin: 0;
    padding: 7px 0;
}
.sidebar-planning-link {
    min-width: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    color: #e0e3e6;
    text-decoration: none;
}
.sidebar-planning-active-title + .sidebar-planning-link {
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.sidebar-planning-link:hover {
    color: #fff;
    background: transparent;
    text-decoration: none;
}
.sidebar-planning-name {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 22px), transparent 100%);
}
.sidebar-planning-date {
    display: block;
    color: #9da5ad;
    font-size: 12px;
    line-height: 1.35;
}
.sidebar-planning-date--today {
    color: #58c477;
}
.sidebar-planning-date--past {
    color: #f07878;
}
.sidebar-planning-empty {
    color: #8f98a3;
    font-size: 13px;
}
.sidebar_config_block {
    margin-top:8px;
    padding-top:8px;
}

/* Свободное место после последнего элемента контента на всех страницах кабинета. */
.content-wrapper > .content,
.page-content {
    padding-bottom: 64px !important;
}

#content-wrapper {
  width: 100%;
  float: none;
  position: absolute;
  box-shadow: none;
  overflow: visible;
  min-height: 100%;
  background: red;
}
.vehicle_color_square {
    width:30px;
    height:15px;
    display:inline-block;
}
.orders_index_route_addresses {
    font-size: 12px;
    font-style: italic;
}
.orders_index_route_titles {
    font-weight: bold;
}
.orders_index_order_id {
    font-size: 18px;
    font-weight: bold;
}
.green {
    color:green;
}
.red {
    color:red;
}
.shipping_vehicle_header_menu li:last-child {
    margin-left:50px;
}
a.orders_td_string_item  {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin:3px 5px 0 0;
    padding:2px 5px;
    background-color:#ddd;
    border-radius:3px;
}
.header_padding_top {
    padding-top:30px;
}
.vehicle_route_extended_map {
    width:100%;
    height:150px;
}
#shipping_vehicle_map {
    width:100%;
    height:400px;
}
.print_icon {
    font-size: 24px;
}
.content_full_height {
    width:100%;
    height: calc(100vh - 130px);

}
#order_view_map {
    width:100%;
    height:400px;
}

.orders_view_address_label {
    font-size: 22px;
    font-weight: bold;
}
.orders_view_dest_label {
    font-style: italic;
}
.orders_view_address  {
    font-size: 18px;
    margin-bottom: 16px;
    /*font-style: italic;*/
}
.orders_view_pickup_window {
    font-weight: bold;
    color:#666;
    font-size: 14px;
    margin:8px 0 0 0;
}
.orders_view_address_comment {
    background-color: #dddddd;
    font-style: italic;
    font-size: 14px;
    padding:10px;
    margin:4px 0 0 0;
    
}
.marker_green {
    color:#339900;
}
.marker_blue {
    color:#0099ff;
}
.marker_red {
    color:#ff0000;
}
/*.route_num_client {
    border-radius: 50%;
}
*/
.navbar_right_menu .collapse {
    flex-direction: row-reverse;
}
.navbar-nav .btn-link, .navbar-nav .btn-link:hover {
    color:#fff;
}
.address_autocomplete {
    z-index:1000000;
}
.address_autocomplete .geocoder-status-item {
    color: #6c757d;
    cursor: default;
}
.address_autocomplete .geocoder-status-item:hover,
.address_autocomplete .geocoder-status-item .ui-state-active {
    background: transparent;
    color: #6c757d;
}
.address_autocomplete .geocoder-status-loading .ui-menu-item-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.address_autocomplete .geocoder-status-loading .ui-menu-item-wrapper::before {
    content: '';
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border: 2px solid #adb5bd;
    border-top-color: transparent;
    border-radius: 50%;
    animation: marshpro-geocoder-menu-spin .7s linear infinite;
}
@keyframes marshpro-geocoder-menu-spin {
    to { transform: rotate(360deg); }
}
.bs-layer > .d-flex,
.bs-layer .layer-body {
    min-height: 0;
}
.bs-layer .layer-body {
    overflow-y: auto !important;
    overflow-x: hidden;
    overscroll-behavior: contain;
}
.marshpro-geocoder-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #adb5bd;
    border-top-color: transparent;
    border-radius: 50%;
    animation: marshpro-geocoder-spin .7s linear infinite;
}
@keyframes marshpro-geocoder-spin {
    to { transform: translateY(-50%) rotate(360deg); }
}
.form_pickup_new_client_address_cont, .form_delivery_new_client_address_cont {
    margin-bottom: 1rem;
}

#go-to-date {
    padding: 4px 8px;
    font-size: 13px;
    background-color: #e0e0e0;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 8px;
}
.cards_container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; /* если нужно, чтобы они не переносились */
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px; /* расстояние между карточками */
}

.cards_container > * {
    flex: 1 1 0; /* одинаковая ширина у всех элементов */
    min-height: 200px;
}

#delivery_view_map {
    width:100%;
    height:200px;
}

#loading-spinner {


}

/* Само колесико */
.spinner {
    border: 4px solid #f3f3f3; /* светлый серый */
    border-top: 4px solid #3498db; /* синий */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#shipping_vehicles_map {
    width:100%;
    height:500px;
}
#vehicle_map {
    width:100%;
    height:500px;
}
.vehicle_submenu {
    margin: 10px 0 10px 0;
}
.sidebar_text_item {
    display: block;
    margin: 8px 0 8px 16px;
    color:#c2c7d0;
}
.sidebar_text_item_2 {
    display: block;
    margin: 0 0 0 16px;
    color:#c2c7d0;
}
.sidebar_container {
    margin: 8px 0 8px 16px;
}
.btn_sidebar_add_delivery {
    color:#000!important;
    background-color: #ccc!important;
    padding:4px 12px!important;
}
.sidebar_execution_status {
    font-size: 12px;
    color:yellow;
}

.sidebar_shipping_date {
    font-weight: bold;
    color:#a8adb1;
}

.leaflet-editing-icon { 
  box-shadow: 0 0 0 2px rgba(115,179,255,0.6);
  border-radius: 50%;
}
