#page-content-wrapper {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}

#map {
    -ms-flex: 1 1 auto !important;
    flex: 1 1 auto !important;
}

.map {
    position: relative;
    width: 100%;
    height: 100%;
}

.leaflet-routing-alternatives-container {
    padding-left: 5px;
    padding-right: 5px;
    border-top: #ccc 2px solid;
    padding-top: 5px;
}

.hide {
    display: none !important;
}

.routing-profiles input {
    margin: 0;
    padding: 0;
    height: 0;
    width: 0;
    visibility: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.icon-duration {
    background-image: url(../images/duration.svg);
}

.icon-distance {
    margin-top: 7px;
    background-image: url(../images/distance.svg);
}

.icon-fuel {
    background-image: url(../images/fuel.svg);
}

.leaflet-routing-container .h2 {
    font-size: 14px;
    font-weight: bold;
}

.cursor-pointer {
    cursor: pointer;
}

.leaflet-routing-collapse-btn {
    cursor: pointer;
    font-family: "Font Awesome 6 Free";
}

.routing-profiles input:active + .profile-radio {
    opacity: .9;
}

.routing-profiles input:checked + .profile-radio {
    -webkit-filter: none;
    -moz-filter: none;
    filter: none;
}

.leaflet-routing-alt > .card-header {
    cursor: pointer;
    border-bottom: 5px solid !important;

}

.leaflet-routing-alt > .card-header > a {
    width: 100% !important;
    color: white;
    background-color: unset
}


.icon-summary {
    display: inline-block;
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
}

.color-icon-duration {
    background-color: red;
    -webkit-mask: url(../images/duration.svg) no-repeat;
    mask: url(../images/duration.svg) no-repeat;
}

.color-icon-distance {
    margin-top: 5px;
    background-color: blue;
    -webkit-mask: url(../images/distance.svg) no-repeat;
    mask: url(../images/distance.svg) no-repeat;
}

.color-icon-fuel {
    background-color: green;
    -webkit-mask: url(../images/fuel.svg) no-repeat;
    mask: url(../images/fuel.svg) no-repeat;
}

.icon-profile-radio {
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    vertical-align: bottom;
    -webkit-filter: inherit !important;
    -moz-filter: inherit !important;
    filter: inherit !important;
}

.circle-duration {
    background-color: red;
}

.circle-distance {
    background-color: blue;
}

.circle-fuel {
    background-color: green;
}

.circle {
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    vertical-align: middle;
    display: inline-block;
    width: 32px;
    height: 32px;
    margin: 0 8% 0 8%;
}

.profile-radio {
    cursor: pointer;
    -webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    -webkit-filter: brightness(1.8) grayscale(1) opacity(.7);
    -moz-filter: brightness(1.8) grayscale(1) opacity(.7);
    filter: brightness(1.8) grayscale(1) opacity(.7);
}

.profile-radio:hover {
    -webkit-filter: brightness(1.2) grayscale(.5) opacity(.9);
    -moz-filter: brightness(1.2) grayscale(.5) opacity(.9);
    filter: brightness(1.2) grayscale(.5) opacity(.9);
}

.card .card-header:not(.collapsed) .rotate-icon {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.card .collapsed {
    border-bottom: 0;
}

.leaflet-routing-alt, .leaflet-routing-geocoders, .leaflet-routing-error {
    max-height: none;
    border-bottom: 0 solid #ccc;
    padding: 0;
    margin: 0;
}

.leaflet-routing-container {
    padding-bottom: 5px;
}

/* car settings*/
.settings {
    width: 100%;
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}

.leaflet-routing-geocoders {
    padding: 0;
}

.car_icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(../images/car.svg);
}

.leaflet-routing-container {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.leaflet-routing-container-hide {
    overflow: hidden !important;
}

.leaflet-routing-container-hide .settings, .leaflet-routing-container-hide .leaflet-routing-alternatives-container {
    display: none
}


.leaflet-control-container .leaflet-routing-container-hide {
    width: 35px;
    height: 35px;
    background-color: #004494;
    -webkit-border-radius: 24px;
}

.leaflet-routing-container-hide .leaflet-routing-collapse-btn {
    position: relative;
    top: 4%;
    left: -6%;
    display: block;
    width: 35px;
    height: 40px;
    background-size: 40px 40px;
    background-image: url(../images/logo.svg);
}

.logo {
    width: 34px;
    height: 34px;
    background-size: 40px 40px;
    background-image: url(../images/logo.svg);
}

.total_standard_icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
    background-image: url('../images/circle-user-regular.svg');
    background-repeat: no-repeat;
    padding: 15px;
    background-position: center;
}

.leaflet-routing-alternatives-container:empty {
    display: none;
}

.leaflet-routing-alt .total {
    width: 100%;
}

.total_eco_icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
    background-image: url('../images/lightbulb-regular.svg');
    background-repeat: no-repeat;
    padding: 15px;
    background-position: center;
}

.inliner {
    display: inline-block;
}

.carsettings {
    background-color: #0064A0;
    display: inline-block;
    padding: 0;
    width: calc(100% - 40px);
    left: 10px;
    position: relative;
}


.leaflet-control-container .leaflet-routing-container-hide .header {
    display: none;
}

/* header controller */
.leaflet-control-container .leaflet-routing-container-hide .header {
    display: none;
}

.form-check-input:checked {
    background-color: #004494;
    border-color: #004494;
}

.routing-profiles {
    display: none;
    padding-left: 40px;
    width: 100%;
    text-align: center;
    padding-right: 25px;
    padding-top: 5px;
}

.icon-profile, .logo {
    display: inline-block;
}

/* controller position*/
.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    border: 0;
    margin-bottom: 5px;
}

.leaflet-left .leaflet-control {
    margin-left: 0;
}

.leaflet-top .leaflet-control {
    margin-top: 0;
}

.leaflet-control-container {
    overflow: auto;
}

.leaflet-routing-container {
    width: 320px;
    padding-top: 0;
}


.leaflet-routing-container {
    background: #004494;
}

.route_name_block {
    cursor: pointer;
    display: none;
}

.geocoders {
    width: 100%;
}

.geocoders-buttons {
    width: 30px;
    height: 100%;
    position: sticky;
    position: -webkit-sticky;
    top: 100%;
}

.leaflet-routing-add-waypoint:after, .leaflet-routing-reverse-waypoints:after {
    font-weight: normal;
    content: '';
}

.leaflet-routing-geocoders button.leaflet-routing-add-waypoint:hover,
.leaflet-routing-geocoders button.leaflet-routing-reverse-waypoints:hover {
    background-color: transparent;
}

/* geocoder format */
.leaflet-routing-container .geocoder-handle {
    margin-left: -37px;
    margin-right: 3px
}

.salesman-icon {
    height: 30px;
    width: 30px;
    content: url("../images/salesman.svg");
    cursor: pointer;
    position: absolute;
    bottom: 64px;
}

.salesman-icon-checked {
    content: url("../images/salesman-checked.svg");
}

.leaflet-routing-container .waypoint-icon {
    padding: 0;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    background: #bfd0e4;
    line-height: 20px;
    text-align: center;
    color: black;
    display: inline-block;
    margin-right: 5px;
    border: 2px solid #4073af;
    cursor: pointer;
}

.leaflet-routing-geocoder {
    margin-left: 40px;
}


.leaflet-top .leaflet-routing-geocoder {
    position: relative;
    color: #000;
    font-size: 16px;
}

.leaflet-routing-geocoders input {
    width: calc(100% - 6px);
}

.leaflet-top .leaflet-routing-geocoders {
    margin: 0;
}

div.shown .btn-primary::after {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    transform: rotate(90deg);
}

.leaflet-routing-geocoder-result {
    z-index: 10000;
}

.geocoder-geolocate-btn {
    position: relative;
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.geocoder-geolocate-btn i {
    position: relative;
    display: block;
    width: 14px;
    z-index: 1;
    font-weight: normal;
    text-align: center;
    cursor: pointer;
    color: #ccc;
    margin-left: 1px;
    margin-bottom: 2px;
}

.btn-outline-primary {
    --bs-btn-color: #004494;
    --bs-btn-border-color: #004494;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #004494;
    --bs-btn-hover-border-color: #004494;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #004494;
    --bs-btn-active-border-color: #004494;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #004494;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #004494;
    --bs-gradient: none;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #004494;
    --bs-btn-border-color: #004494;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #004494;
    --bs-btn-disabled-border-color: #004494;
}

.geocoder-geolocate-btn i:hover {
    color: #004494;
}

.leaflet-routing-alt .summary {
    margin-bottom: 5px;
}


.loading:before {
    position: absolute;
    content: '';
    z-index: 1000;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .8);
}

.leaflet-routing-remove-waypoint:after {
    height: 24px;
    top: 1px;
    color: #004494 !important;
}