html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

/* login */
.footer {
    text-align: right;
    font-size: 8pt;
    padding-right: 5px;
}

#main {
    height: 100%;
    width: 100%;
    min-height: 100%;
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
}

#main .ui-layout-center {
    height: 100%;
}

#main .ui-layout-center .inner-center {
    width: 100%;
    height: 100%;
}

#main .ui-layout-center .inner-center .mainTblCenter {
    width: 100%;
    height: 100%;
    text-align: left;
}

#menu {
    flex: 0 0 auto;
    /* height: 50px; */
}

#status-bar {
    flex: 0 0 auto;
    height: 50px;
}

#content {
    flex: 1;
    overflow: hidden;
}

.err_msg {
    display: none;
    text-align: center;
    color: red;
}

.err_php_msg {
    text-align: center;
    color: red;
}

.logo_tms {
    display: flex;
    font-size: 42px;
    font-weight: 600;
    color: rgb(3, 60, 90);
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0 #ccc, 2px 2px 0 #aaa, 3px 3px 0 #888;
    text-shadow: 1px 1px 0 #002b3e, 1px 1px 0 #003f5a, 3px 4px 5px rgba(0, 0, 0, 0.3);
}

.logo_tms .anticon {
    padding-right: 5px;
    font-size: 17px;
}

.logo_img {
    position: relative;
    top: 8px;
    width: 44px;
    height: 44px;
}

.tooltip-tms {
    position: absolute;
}

.tooltip-tms-text {
    position: relative;
    top: 52px;
    /* left: 22px; */
    font-size: 11px;
    text-shadow: 3px 2px 5px rgba(0, 0, 0, 0.3);
}

/* ------- */
.tiptool {
    width: 305px;
    z-index: 999999999999999999;
    /*border: 1px solid blue;
	background-color: white;
	padding: 3px;*/
    opacity: 0.7;
    filter: alpha(Opacity=50);
}

.myck {
    background-color: #ffa;
}

.custom-grid .x-grid-cell .x-grid-cell-inner {
    /*background-color: #ffa; 
    border-bottom-color: #ffc; 
    border-top-color: #ff5; 
    color: #009;*/
    padding: 0;
    /*margin: 0 !important;*/
}

.x-grid-table-change {
    table-layout: fixed;
    border-collapse: collapse;
}

.odom {
    background-image: url(../images/odom.png) !important;
}

.add {
    background-image: url(../images/add.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.copy {
    background-image: url(../images/copy.png) !important;
}

.delete {
    background-image: url(../images/delete.png) !important;
}

.edit {
    background-image: url(../images/edit.png) !important;
}

.save {
    background-image: url(../images/save.png) !important;
}

.cancel {
    background-image: url(../images/cancel.png) !important;
}

.report {
    background-image: url(../images/report.png) !important;
}

.list {
    background-image: url(../images/list.png) !important;
}

.xmlico {
    background-image: url(../images/xml16.png) !important;
}

.xlsxico {
    background-image: url(../images/xlsx16.png) !important;
}

.xlsx {
    background-image: url(../images/xlsx.png) !important;
}

.csv {
    background-image: url(../images/csv.png) !important;
}

.xls {
    background-image: url(../images/excel.png) !important;
}

.print {
    background-image: url(../images/print.png) !important;
}

.refresh {
    background-image: url(../images/refresh.png) !important;
}

.car {
    background-image: url(../images/next.png) !important;
}

.bind {
    background-image: url(../images/bind.png) !important;
}

.docx {
    background-image: url(../images/docx.png) !important;
}

.wrench {
    background-image: url(../images/wrench.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wrench16 {
    background-image: url(../images/wrench16.png) !important;
}

.findm {
    background-image: url(../images/find_multi.png) !important;
}

.icon-chart {
    background-image: url(../images/icon-chart.png) !important;
}

.icon-ok {
    background-image: url(../images/cmd_ok24.png) !important;
}

.rules {
    background-image: url(../images/rules.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.next {
    background-image: url(../images/next.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.on_old {
    background-image: url(../images/on_old.png) !important;
}

.delivery-food-16 {
    background-image: url(../images/delivery-food-16.png) !important;
}

.wrench_old {
    background-image: url(../images/wrench_old.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.car_13260 {
    background-image: url(../images/car_13260.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.car_settings {
    background-image: url(../images/car_settings.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.gpt_np {
    background-image: url(../images/gpt_np.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.gpt_meest_express {
    background-image: url(../images/gpt_meest_express.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.motion_status {
    background-image: url(../images/motion-status.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.car_trailer_red {
    background-image: url(../images/car_trailer_red.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.search_find_locate {
    background-image: url(../images/new_icons/search_find_locate.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.search_find_locate_reset {
    background-image: url(../images/new_icons/search_find_locate_reset.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.undoarrow_undo {
    background-image: url(../images/new_icons/undoarrow_undo.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.delete_new {
    background-image: url(../images/new_icons/delete.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.edit_pencil_new {
    background-image: url(../images/new_icons/edit_pencil.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.refresh_arrow_new {
    background-image: url(../images/new_icons/refresh_arrow.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.savedisk {
    background-image: url(../images/new_icons/savedisk.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cancel_new {
    background-image: url(../images/new_icons/cancel.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.menu_icon {
    background-image: url(../images/menu.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.map_geo_fence_icon {
    background-image: url(../images/MapsGeoFence.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.configuration_icon {
    background-image: url(../images/new_icons/configuration.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.map_icon {
    background-image: url(../images/new_icons/map_icon.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.forwardmail {
    background-image: url(../images/new_icons/forwardmail.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.copy_new {
    background-image: url(../images/new_icons/copy.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.print_new {
    background-image: url(../images/new_icons/print.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.auto_repair {
    background-image: url(../images/new_icons/auto_repair.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.x-action-col-cell div.icon-wrench {
    background-image: url("../images/wrench.png");
    width: 24px;
    height: 24px;
}

.x-action-col-cell div.icon-wrench16 {
    background-image: url("../images/wrench16.png");
    width: 16px;
    height: 16px;
}

.x-action-col-cell div.icon-edit {
    background-image: url("../images/edit.png");
}

.x-action-col-cell div.icon-del {
    background-image: url("../images/delete.png");
}

.x-action-col-cell div.copy {
    background-image: url("../images/copy.png");
}

.myclass {
    border: 3px solid red;
}

.myclass-none {
    border: none;
}

.custom-icon-btn .x-btn-icon-el {
    width: 32px !important;
    height: 32px !important;
    background-size: 32px 32px !important;
}

.center-icon-del {
    display: block;
    margin: 0 auto;
    text-align: center;
    cursor: hand;
    background-image: url(../images/delete.png) !important;
}

table.gradienttable {
    font-family: verdana, arial, sans-serif;
    font-size: 11px;
    color: #333333;
    border-width: 1px;
    border-color: #999999;
    border-collapse: collapse;
}

table.gradienttable td {
    padding: 0px;
    border: 1px solid #dbdbdb;
    background-image: -webkit-gradient(linear,
            left top,
            left bottom,
            color-stop(30%, #fdfdfd),
            color-stop(100%, #dbdbdb));
    background-image: -webkit-linear-gradient(top, #fdfdfd 30%, #dbdbdb 100%);
    background-image: -moz-linear-gradient(top, #fdfdfd 30%, #dbdbdb 100%);
    background-image: -ms-linear-gradient(top, #fdfdfd 30%, #dbdbdb 100%);
    background-image: -o-linear-gradient(top, #fdfdfd 30%, #dbdbdb 100%);
    background-image: linear-gradient(top, #fdfdfd 30%, #dbdbdb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#fdfdfd, endColorstr=#dbdbdb);
    /*
	background: #ebecda;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ViZWNkYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQwJSIgc3RvcC1jb2xvcj0iI2UwZTBjNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjZWNlYjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #ebecda 0%, #e0e0c6 40%, #ceceb7 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ebecda), color-stop(40%,#e0e0c6), color-stop(100%,#ceceb7));
	background: -webkit-linear-gradient(top,  #ebecda 0%,#e0e0c6 40%,#ceceb7 100%);
	background: -o-linear-gradient(top,  #ebecda 0%,#e0e0c6 40%,#ceceb7 100%);
	background: -ms-linear-gradient(top,  #ebecda 0%,#e0e0c6 40%,#ceceb7 100%);
	background: linear-gradient(to bottom,  #ebecda 0%,#e0e0c6 40%,#ceceb7 100%);
	border: 1px solid #999999;
	*/
}

table.gradienttable td p {
    margin: 0px;
    padding: 5px;
    border-top: 1px solid #fcfdec;
    border-bottom: 0px;
    border-left: 1px solid #fcfdec;
    border-right: 0px;
}

.grad {
    font-family: verdana, arial, sans-serif;
    font-size: 11px;
    color: #333333;
    border-width: 1px;
    border-color: #999999;
    border-collapse: collapse;
    width: 300px;
    padding: 0px;
}

.grad p {
    margin: 0px;
    padding: 5px;
    border-bottom: 1px solid #dbdbdb;
    /*border-top: 1px solid #dbdbdb;
	border-left: 1px solid #dbdbdb;
	border-right:0px;*/

    border: 1px solid #dbdbdb;
    background-image: -webkit-gradient(linear,
            left top,
            left bottom,
            color-stop(30%, #fdfdfd),
            color-stop(100%, #dbdbdb));
    background-image: -webkit-linear-gradient(top, #fdfdfd 30%, #dbdbdb 100%);
    background-image: -moz-linear-gradient(top, #fdfdfd 30%, #dbdbdb 100%);
    background-image: -ms-linear-gradient(top, #fdfdfd 30%, #dbdbdb 100%);
    background-image: -o-linear-gradient(top, #fdfdfd 30%, #dbdbdb 100%);
    background-image: linear-gradient(top, #fdfdfd 30%, #dbdbdb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#fdfdfd, endColorstr=#dbdbdb);
}

.pac-container {
    background-color: #fff;
    position: absolute !important;
    z-index: 100000;
    border-radius: 2px;
    border-top: 1px solid #d9d9d9;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    width: 460px !important;
}

.pac-container:after {
    content: "" !important;
    padding: 1px 1px 1px 0 !important;
    height: 16px !important;
    text-align: right !important;
    display: none !important;
    background-image: url(https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png) !important;
    background-position: right !important;
    background-repeat: no-repeat !important;
    background-size: 104px 16px !important;
}

.hdpi.pac-container:after {
    background-image: url(https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2_hdpi.png) !important;
}

.pac-item {
    padding: 0 4px !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    line-height: 30px !important;
    text-align: left !important;
    border-top: 1px solid #e6e6e6 !important;
    font-size: 11px;
    color: #999 !important;
    z-index: 100001;
}

.pac-container .pac-item:hover {
    background-color: #ebf2fe !important;
    cursor: pointer !important;
}

.pac-container .pac-item:hover>.pac-icon-marker {
    background-position: -18px -161px;
}

.pac-container .pac-item-selected,
.pac-item-selected:hover {
    background-color: #ebf2fe !important;
}

.pac-matched {
    font-weight: 700;
}

.pac-item-query {
    font-size: 13px;
    padding-right: 3px;
    color: #000;
}

.pac-icon {
    width: 15px;
    height: 20px;
    margin-right: 7px;
    margin-top: 6px;
    display: inline-block;
    vertical-align: top;
    background-image: url(https://maps.gstatic.com/mapfiles/api-3/images/autocomplete-icons.png);
    background-size: 34px;
}

.hdpi .pac-icon {
    background-image: url(https://maps.gstatic.com/mapfiles/api-3/images/autocomplete-icons_hdpi.png);
}

.pac-icon-search {
    background-position: -1px -1px;
}

.pac-item-selected .pac-icon-search {
    background-position: -18px -1px;
}

.pac-icon-marker {
    background-position: -1px -161px;
}

.pac-item-selected .pac-icon-marker {
    background-position: -18px -161px;
}

.pac-placeholder {
    color: gray;
}

/* ------- map ------- */
.gmap-control {
    cursor: pointer;
    background-color: #fefefe;
    padding: 4px 5px;
    font-size: 12px;
    font-family: Arial, sans-serif;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.gmap-control-active {
    cursor: pointer;
    background-color: #33cc66;
    padding: 4px 5px;
    font-size: 12px;
    font-family: Arial, sans-serif;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.center-icon {
    display: block;
    margin: 0 auto;
    cursor: hand;
    width: 16px;
    height: 16px;
    overflow: hidden;
    text-indent: -99999px;
    background-image: url(../images/camera-icon.png) !important;
}

.hide-icon {
    display: none;
}

.h100 {
    height: 100%;
}

.h0 {
    height: 0;
}

.center-icon-down {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    text-align: center;
    cursor: hand;
    background-image: url(../images/directiondown.png) !important;
}

.center-icon-up {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    text-align: center;
    cursor: hand;
    background-image: url(../images/directionup.png) !important;
}

.routepins {
    background-image: url(../images/routepins.png) !important;
}

.rowGridColor {
    background-color: rgb(241, 90, 53);
}

.rowGridNextDay {
    background-color: rgb(241, 90, 53);
}

.rowGridBeforeDay {
    background-color: rgb(255, 209, 59);
}

.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .rowGridForStatusYellow .x-grid-cell {
    background-color: rgb(252, 240, 204);
}

.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .rowGridForStatusBlue .x-grid-cell {
    background-color: rgb(132, 248, 242);
}

.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .rowGridForStatusGreen .x-grid-cell {
    background-color: rgb(67, 155, 104);
}

.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .rowGridForStatusRed .x-grid-cell {
    background-color: rgb(248, 132, 132);
}

.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .red .x-grid-cell {
    background-color: rgb(253, 119, 119);
}

.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .orange .x-grid-cell {
    background-color: rgb(247, 185, 104);
}

.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .green .x-grid-cell {
    background-color: rgb(215, 255, 151);
}

.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .rowGridForStatusOrange .x-grid-cell {
    background-color: rgb(221, 117, 56);
}

.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .rowGridForStatusLavender .x-grid-cell {
    background-color: rgb(230, 230, 250);
}

.statusErrorColor {
    background-color: rgb(34, 139, 34) !important;
}

.statusErrorColor_1 {
    background-color: rgb(34, 139, 34) !important;
}

.statusErrorColor_2 {
    background-color: rgb(255, 215, 0) !important;
}

.statusErrorColor_3 {
    background-color: rgb(255, 0, 0) !important;
}

.rowGridNotActive {
    background-color: #b4b4b4 !important;
}

.x-btn {
    border-color: #b4b4b4 !important;
}

.x-form-itemselector-top {
    background-image: url(../images/itemselector/top2.gif);
}

.x-form-itemselector-up {
    background-image: url(../images/itemselector/up2.gif);
}

.x-form-itemselector-add {
    background-image: url(../images/itemselector/right2.gif);
}

.x-form-itemselector-remove {
    background-image: url(../images/itemselector/left2.gif);
}

.x-form-itemselector-down {
    background-image: url(../images/itemselector/down2.gif);
}

.x-form-itemselector-bottom {
    background-image: url(../images/itemselector/bottom2.gif);
}

#autoplanRoutePanel-body {
    background: #f1f1f1 !important;
    border-color: #f1f1f1 !important;
}

#calcRoutePlanPanel-body {
    background: #f1f1f1 !important;
    border-color: #f1f1f1 !important;
}

.highlightRow {
    background-color: rgb(34, 139, 34);
}

.highlight {
    background-image: url(../images/Highlightmarker.png) !important;
}

.highlightRowRed {
    background-color: rgb(255, 5, 5);
}

.highlightRowYel {
    background-color: rgb(238, 255, 5);
}

.ok {
    background-image: url(../images/ok.png) !important;
}

.sendmail {
    background-image: url(../images/mail.png) !important;
}

#requestPlanningGrigId .x-grid-item-selected {
    background-color: #868686;
}

#popup_contentDiv {
    width: initial !important;
    height: inherit !important;
    padding: 14px;
    /*height: inherit !important;
  	padding: 5px 20px 5px 5px;
    max-width: 448px;
    max-height: 195px;*/
}

.olPopup {
    opacity: 0.8 !important;
    width: inherit !important;
    height: inherit !important;
}

.download_img_sm {
    background-image: url(../images/download_img_sm.png) !important;
}

.show_img_sm {
    background-image: url(../images/eye-512.png) !important;
}

/* The popup bubble styling. */
.popup-bubble {
    /* Position the bubble centred-above its parent. */
    position: absolute;
    top: -22px;
    left: 0;
    /*top: 65px;*/
    /*left: -69px;*/
    transform: translate(-50%, -100%);
    /* Style the bubble. */
    background-color: #e2e2e2;
    padding: 5px;
    padding: 2px 6px;
    border-radius: 12px;
    font-family: sans-serif;
    overflow-y: auto;
    max-height: 60px;
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    border-style: solid;
    border-width: 1px;
}

/* The parent of the bubble. A zero-height div at the top of the tip. */
.popup-bubble-anchor {
    /* Position the div a fixed distance above the tip. */
    position: absolute;
    width: 100%;
    bottom:
        /* TIP_HEIGHT= */
        8px;
    left: 0;
}

/* This element draws the tip. */
.popup-bubble-anchor::after {
    /*content: "";*/
    position: absolute;
    top: 0;
    left: 0;
    /* Center the tip horizontally. */
    transform: translate(-50%, 0);
    /* The tip is a https://css-tricks.com/snippets/css/css-triangle/ */
    width: 0;
    height: 0;
    /* The tip is 8px high, and 12px wide. */
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top:
        /* TIP_HEIGHT= */
        8px solid white;
}

/* JavaScript will position this div at the bottom of the popup tip. */
.popup-container {
    cursor: auto;
    height: 0;
    position: absolute;
    /* The max width of the info window. */
    width: 200px;
    /*left: 0!important;*/
    /*top: 30px!important;*/
}

.gm-style div div div div div {
    z-index: 99999999999999 !important;
}

.olControlPanel button {
    position: relative;
    display: block;
    margin: 2px;
    border: 1px solid;
    padding: 0 5px;
    border-radius: 4px;
    height: 24px;
    /*width: 24px;*/
    background-color: white;
    float: left;
    overflow: visible;
}

.olControlPanel .olControlDrawFeatureItemActive span:first-child {
    background-image: url(../images/draw_line_on.png);
    height: 22px;
    width: 24px;
    top: 3px;
}

.olControlPanel .olControlDrawFeatureItemInactive span:first-child {
    background-image: url(../images/draw_line_on.png);
    height: 22px;
    width: 24px;
    top: 3px;
}

.olControlPanel button span:first-child {
    padding-left: 0;
    display: block;
    position: absolute;
    /*left: 2px;*/
}

.olControlPanel button span {
    padding-left: 18px;
}

.olControlPanel {
    /*position: absolute;
  z-index: 1016;
  width: -webkit-fill-available;
  margin-left: 50%;
  display: flex;
  float: right;*/
    right: 0px;
}

.olControlEditingToolbar {
    left: 35px;
    display: flex;
    width: 120px;
    padding: 3px;
}

.olControlPanel .olControlEditingToolbarItemInactive span:first-child {
    background-image: url(../images/wrench-small_old.png);
    height: 16px;
    width: 16px;
    top: 3px;
    /*top: 5px;*/
}

.olControlPanel .olControlEditingToolbarItemActive span:first-child {
    background-image: url(../images/wrench-small_old.png);
    height: 16px;
    width: 16px;
    top: 3px;
    /*top: 5px;*/
}

.olControlPanel .showcontrolpointsItemInactive span:first-child {
    background-image: url(../images/contr_point_noactive.png);
    height: 16px;
    width: 34px;
    top: 3px;
}

.olControlPanel .showcontrolpointsItemActive span:first-child {
    background-image: url(../images/contr_point_active.png);
    height: 16px;
    width: 34px;
    top: 3px;
}

.showcontrolpointsItemInactive {
    width: 42px;
}

.olControlPanel .EditingToolbarItemInactive span:first-child {
    background-image: url(../images/wrench-small_old.png);
    height: 16px;
    width: 16px;
    top: 3px;
}

.olControlPanel .showgeozoneItemInactive span:first-child {
    background-image: url(../images/gezone_noactive.png);
    height: 16px;
    width: 34px;
    top: 3px;
}

.olControlPanel .showgeozoneItemActive span:first-child {
    background-image: url(../images/gezone_active.png);
    height: 16px;
    width: 34px;
    top: 3px;
}

.showgeozoneItemInactive {
    width: 42px;
}

.markerContent {
    width: 300px;
    padding: 10px;
    text-align: -webkit-center;
}

.olPopupContent {
    width: 300px;
    padding: 10px;
    text-align: -webkit-center;
}

#popup {
    border-radius: 10px;
}

#popup_close {
    right: 0px !important;
    top: 0px !important;
    border-radius: 10px;
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box {
    z-index: 99999 !important;
}

.olControlDrawFeaturePointItemInactive.olButton {
    display: none;
}

#popup2_contentDiv {
    height: 35px !important;
    width: 60px !important;
}

#popup2 {
    border-radius: 10px !important;
}

.directiondown {
    background-image: url(../images/direction_down.png) !important;
}

.directionup {
    background-image: url(../images/direction_up.png) !important;
}

.dropzone-target {
    /*border: 1px solid red;*/
    border: 2px solid green;
    margin: 5px;
    padding: 5px;
    font-size: small;
    cursor: default;
}

.dropzone-target-full {
    border: 2px solid rgb(255, 138, 138);
    margin: 5px;
    padding: 5px;
    font-size: small;
    cursor: default;
}

.dropzone-target-full.dropzone-target-hover {
    background-color: #a5a5a5;
}

.dropzone-target.dropzone-target-hover {
    background-color: #a5a5a5;
}

.highlightrows {
    background-color: rgb(255, 138, 138);
}

/*OpenLayers*/

#layersMain,
#layersMoveArchive,
#layersGeozones,
#layersMonitRooutes,
#layersMonitRooutes2,
#layersPlan,
#layersPlan2,
#layersPlan3,
#layersReportLastCoord,
#layersReportDuplicateCoord,
#layersReportCarStop,
#layersReportCarStopTP,
#layersReportMomentSpeed,
#layersReportTrackDoor,
#layersReportTrackAlarm,
#layersReportEvent,
#layersReportConsumtion,
#layersReportCarsInRange,
#layersWarehouseUsers,
#layersCatalogsTP,
#layersCatalogsRest,
#layersManageOrders {
    right: 5px;
    top: 40px;
}

#buttonListMapsMain,
#buttonListMapsMoveArchive,
#buttonListMapsGeozones,
#buttonListMapsMonitRooutes,
#buttonListMapsMonitRooutes2,
#buttonListMapsPlan,
#buttonListMapsPlan2,
#buttonListMapsPlan3,
#buttonListMapsReportLastCoord,
#buttonListMapsReportDuplicateCoord,
#buttonListMapsReportCarStop,
#buttonListMapsReportCarStopTP,
#buttonListMapsReportMomentSpeed,
#buttonListMapsReportTrackDoor,
#buttonListMapsReportTrackAlarm,
#buttonListMapsReportEvent,
#buttonListMapsReportConsumtion,
#buttonListMapsReportCarsInRange,
#buttonListMapsWarehouseUsers,
#buttonListMapsCatalogsTP,
#buttonListMapsCatalogsRest,
#buttonListMapsManageOrders {
    right: 10px;
    top: 45px;
}

#checkboxesMain,
#checkboxesMoveArchive,
#checkboxesGeozones,
#checkboxesMonitRooutes,
#checkboxesMonitRooutes2,
#checkboxesPlan,
#checkboxesPlan2,
#checkboxesPlan3,
#checkboxesReportLastCoord,
#checkboxesReportDuplicateCoord,
#checkboxesReportCarStop,
#checkboxesReportCarStopTP,
#checkboxesReportMomentSpeed,
#checkboxesReportTrackDoor,
#checkboxesReportTrackAlarm,
#checkboxesReportEvent,
#checkboxesReportConsumtion,
#checkboxesReportCarsInRange,
#checkboxesWarehouseUsers,
#checkboxesCatalogsTP,
#checkboxesCatalogsRest,
#checkboxesManageOrders {
    right: 5px;
    top: 80px;
}

#buttonListCheckboxesMain,
#buttonListCheckboxesMoveArchive,
#buttonListCheckboxesGeozones,
#buttonListCheckboxesMonitRooutes,
#buttonListCheckboxesMonitRooutes2,
#buttonListCheckboxesPlan,
#buttonListCheckboxesPlan2,
#buttonListCheckboxesPlan3,
#buttonListCheckboxesReportLastCoord,
#buttonListCheckboxesReportDuplicateCoord,
#buttonListCheckboxesReportCarStop,
#buttonListCheckboxesReportCarStopTP,
#buttonListCheckboxesReportMomentSpeed,
#buttonListCheckboxesReportTrackDoor,
#buttonListCheckboxesReportTrackAlarm,
#buttonListCheckboxesReportEvent,
#buttonListCheckboxesReportConsumtion,
#buttonListCheckboxesReportCarsInRange,
#buttonListCheckboxesWarehouseUsers,
#buttonListCheckboxesCatalogsTP,
#buttonListCheckboxesCatalogsRest,
#buttonListCheckboxesManageOrders {
    right: 10px;
    top: 85px;
}

.buttonList {
    position: absolute;
    z-index: 3;
    margin: 1px;
    padding: 0;
    color: #fff;
    font-size: 1.14em;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    height: 1.375em;
    width: 1.375em;
    line-height: 0.4em;
    background-color: rgba(0, 60, 136, 0.5);
    border: none;
    border-radius: 2px;
}

.contentBox {
    border-radius: 2px;
    position: absolute;
    z-index: 2;
    background-color: rgba(0, 60, 136, 0.7);
    color: #fff;
    padding: 8px 12px;
    font-size: 12px;
    display: none;
}

.contentBox>ul {
    list-style: none;
    padding: 20px 0 0;
    margin: 0;
}

.titleMarker {
    background-color: #fff;
    border-radius: 5px;
    padding: 2px;
    border: #000 1px solid;
}

.gradOSM {
    font-size: 11px;
    width: 250px;
}

.gradOSM p {
    margin: 0 0 -2px;
}

.gradOSM .btn-container {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.gradOSM .btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease-in-out;
    border-radius: 7px;
    margin: 2px;
    cursor: pointer;
    border-color: #248dad;
}

.gradOSM .btn:hover {
    background: #248dad;
    border-color: #248dad;
}

.popover {
    -webkit-box-shadow: 20px 20px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 20px 20px 10px rgba(0, 0, 0, 0.2);
}

.button-close {
    float: right;
    border: none;
    background: none;
    padding: 0;
}

.container-button-close {
    overflow: hidden;
    margin: -8px -8px 0px 0 !important;
}

.gradOSM2 {
    position: relative;
    font-size: 11px;
    width: 100%;
    margin: -25px;
    z-index: 10000000;
}

.ol-mouse-position-custom {
    top: 8px;
    right: 35px;
    position: absolute;
    background-color: white;
    border: black 1px solid;
    padding: 2px;
}

.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -25px;
    min-width: 50px;
    width: 100%;
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 24px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 24px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "✖";
}

.onicon {
    background-image: url(../images/on.png) !important;
}

.officon {
    background-image: url(../images/off.png) !important;
}

.x-column-header-checkbox .x-column-header-text {
    height: 0px;
}

.custom-column-red {
    background-color: #f5607e;
    font-weight: bold;
}

.custom-column-violet {
    background-color: #f18df5;
    font-weight: bold;
}

.custom-column-bold-tot {
    background-color: #f2f6b8d4;
    font-weight: bold;
}

.custom-column-bold {
    background-color: #b1e5f5;
    font-weight: bold;
}

.block_car {
    background-image: url(../images/car-front-fill.svg) !important;
    margin-top: 6px;
}

/*
.gm-style-iw > div { overflow: hidden !important; }
.gm-style-iw { overflow: hidden !important; }
*/

/*
.gm-style-iw > button {
  display: none !important;
}*/

.gm-ui-hover-effect {
    height: 18px !important;
    width: 18px !important;
}

.gm-ui-hover-effect>span {
    height: 18px !important;
    width: 18px !important;
    margin: 0px !important;
}

.rowGridForStatusCrossZone {
    background-color: rgb(255, 239, 213);
}

#context-menu {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 14px;
    position: absolute;
    z-index: 9999;
    background: white;
    border: 1px solid #ccc;
    padding: 5px;
    display: none;
}

.login_tbl input.form-control-sm {
    padding-right: 35px;
}

#toggleIconPassword {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 16px;
}

.icon-login {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 22px;
}

.btn-auth {
    width: 90px;
    padding: 5px 15px;
    font-size: 14px;
    background: lightslategrey;
    border-color: lightslategrey;
    box-shadow: 3px 3px 10px #a9a9a9;
}

.btn-auth:hover {
    background: #033c5a;
    border-color: #033c5a;
}

.login_tbl .form-floating>.form-control:not(:placeholder-shown)~label::after {
    background-color: unset;
}

.login_tbl {
    margin: 0 auto;
    text-align: left;
    width: 250px;
}

/* custom select localization on login form */
.form-floating {
    position: relative;
    border: 1px solid #c5c5c5;
    box-shadow: 4px 4px 10px #a9a9a9;
    border-radius: 6px;
}

.form-label-custom-select-lang {
    position: absolute;
    top: 9px !important;
    left: 9px !important;
    font-size: 12px;
    color: #757575;
    transition: transform 0.3s, color 0.3s !important;
    padding: 0 4px !important;
    z-index: 2;
}

.form-floating>label {
    color: #757575;
    transition: opacity .1s ease-in-out, transform 0.3s, color 0.3s;
}

#inp_language {
    appearance: none;
    /* Прибрати стандартну стрілку */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 140 140" xmlns="http://www.w3.org/2000/svg"><polyline points="30,50 70,90 110,50" fill="none" stroke="black" stroke-width="15" stroke-linecap="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    /* зміщення вправо-вліво */
    background-size: 12px;
    padding-right: 30px;
    /* щоб стрілка не перекривала текст */
    transition: transform 0.2s ease;
}

#inp_language.opened {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 140 140" xmlns="http://www.w3.org/2000/svg"><polyline points="30,90 70,50 110,90" fill="none" stroke="black" stroke-width="15" stroke-linecap="round"/></svg>');
}

.custom-select-lang {
    position: relative;
    width: 100%;
    padding: 10px 15px 10px 45px;
    /* border: 1px solid #c5c5c5; */
    border-radius: 6px;
    background-color: transparent;
    /* box-shadow: 5px 5px 10px #a9a9a9; */
    font-size: 16px;
    text-align: right;
    cursor: pointer;
    outline: none;
}

.custom-select-lang:focus-visible {
    outline: none;
}

.custom-select-lang-selected-option::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #000;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.custom-select-lang.open .custom-select-lang-selected-option::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-lang-selected-option {
    position: relative;
    padding: 0px 20px 0px 30px;
}

.custom-select-lang-select-items {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    /* зміщення списку вліво */
    width: calc(80% + 0px);
    background-color: white;
    border: 1px solid #c5c5c5;
    border-radius: 3px 3px 6px 6px;
    box-shadow: 2px 2px 2px #a9a9a9;
    z-index: 10;
    overflow: hidden;
    right: 0px;
    max-height: 196px;
    overflow-y: scroll;
}

.custom-select-lang.open .custom-select-lang-select-items {
    display: block;
}

.custom-select-lang-select-items .custom-select-lang-select-items-option {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    text-align: right;
}

.custom-select-lang-select-items .custom-select-lang-select-items-option:hover,
.custom-select-lang-select-items .custom-select-lang-select-items-option.selected {
    /* background-color: #f1f1f1; */
    background: linear-gradient(to right, #b0c4de, #ffffff);
    box-shadow: 0px 0px 5px #a9a9a9;
}

.custom-select-lang-select-items-option .img_flag {
    width: 30px;
    height: 20px;
}

/* custom select localization on login form */

/*.x-window {
    will-change: transform;
}*/

.compact-autoplan-menu .x-menu-item-link,
.compact-menu .x-menu-item-link {
    padding-top: 2px;
    padding-bottom: 2px;
}

.compact-autoplan-menu .x-menu-item-text,
.compact-menu .x-menu-item-text {
    line-height: 18px;
}

.vis-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

#popupMoveArchive .popover-body {
    width: 300px;
    padding: 0px;
}