@charset "utf-8";

input[type="checkbox"]:checked {
    /* -webkit-filter: grayscale(65%) brightness(1); */
    accent-color: var(--bs-primary) !important;
}

/* ----------------------------- */

.ui-tabs .ui-tabs-nav {
    margin: 0;
    padding: 0;
    /* background: #f3f3f3; */
}

/* Ширина вкладок меняется вместе с шириной панели ##MV## */
/* .ui-tabs .ui-tabs-nav {
    display: flex;
} */
.ui-tabs .ui-tabs-nav li {
    /* flex: 1;
    display: flex; */
    white-space: nowrap;
    padding: 4px 5px;
    /* max-width: 80px; */
    margin: 0;
    margin-left: -1px;
    cursor: pointer;
}
.ui-tabs .ui-tabs-nav li a {
    /* flex: 1; */
    text-align: center;
    cursor: pointer;
}
/* .ui-helper-clearfix:after {
    width: 40%;
} */
.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
    padding-bottom: 5px;
}

.ui-tabs .ui-corner-top {
    -moz-border-radius-topleft: 1px;
    -webkit-border-top-left-radius: 1px;
    border-top-left-radius: 1px;
    -moz-border-radius-topright: 1px;
    -webkit-border-top-right-radius: 1px;
    border-top-right-radius: 1px;
}

/* ----------------------------- */
.inp{
    display:block;
    border:1px solid #d1d4d5;
    background-color:#f3f3f3;
    padding:2px 0 2px 2px;
    font-size:12px;
}

/* .inpsel{
    display:block;
    border:1px solid #d1d4d5;
    background-color:#f3f3f3;
    padding:2px 0 2px 2px;
} */

.inpb{
    display:block;
    border:1px solid #d1d4d5;
    background-color:#f3f3f3;
    padding:2px;
    float:right;
    margin-bottom:5px;
    cursor:pointer;
    height: 24px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.inp input{
    border:1px solid #fff;
    border-width:0;
    margin:0;
    padding:0;
    width:100%;
    height:1.3em;
    width:200px;
}

/* ----------------------------- */
#header{
    margin:0;
    padding:0;
    height:71px;
    background:url(../images/top3.gif) no-repeat;
}

#mapPagePart{
    /* height: 100%; */
    min-width:300px;
}

#infoPanelDiv{
    float:left;
    margin:0;
    width:310px;
    min-width:310px;
    min-height:600px;
    border:1px solid #d1d4d5;
    background-color:#fff;
    padding:3px;
    overflow:hidden;
    display: none;
    height: 100%;
    max-height: 100%;
}

/* ----------------------------- */
.ui-resizable-w:hover {
    width: 3px;
    background-color: #a3a3a3;
}

.ui-resizable-e:hover {
    width: 3px;
    background-color: #a3a3a3;
    right: 0;
}

/* .ui-resizable-s {
    height: 3px;
    bottom: 0px;
} */

.ui-resizable-s:hover {
    height: 3px;
    background-color: #a3a3a3;
    bottom: 0px;
}

.ui-resizable-helper { border: 2px dotted rgb(18, 18, 56); }

#mapDiv{
    min-height:300px;
    min-width:100px;
    /* border:1px solid #d1d4d5; */
    background-color:#f3f3f3;
    padding:0;
    margin:0;
    height: 100%;
}

/* ----------------------------- */
#loadingDiv{
    display: none;
}

/* ----------------------------- */
#objectsTab{
    margin-top:0;
    margin-bottom: 10px;
}

/* ----------------------------- */
table.list{
    border:0px #CCCCCC solid;
    padding:0;
    margin:0 0 5px 0;
    vertical-align:middle;
    /* font-size:12px; */
    width:100%;
}

th.header {
    background-image: url(../images/small.gif);
    cursor: pointer;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: center right;
    padding-left: 20px;
    border-right: 10px solid #DEDEDE ;
    margin-left: -1px;
}

th.headerSortUp {
    background-image: url(../images/small_asc.gif);
    background-color: #DEDEDE;
}
th.headerSortDown {
    background-image: url(../images/small_desc.gif);
    background-color: #DEDEDE;
}

#thInfo{
    text-align:left;
    width:110px;
}

#thValue{
    text-align:left;
    width:auto;
    white-space:pre;
}

table.list td img{
    display:block;
    margin-left:auto;
    margin-right:auto;
    width:14px;
}

table.list a{
    text-decoration:none;
    color:#000000;
}

table.list tr{
    vertical-align:middle;
    line-height:1.5em;
}

table.list td{
    padding-left:3px;
}

td.left{
    text-align:left;
}

td.center{
    text-align:center;
}

table.list th{
    font-weight:bold;
    background-color:#dedede;
    line-height:1.8em;
    padding:0 3px;
    vertical-align:baseline;
    text-align: left;
}

table.list tr.odd{
    background-color: #edf3fe;
}

table.list tr.even{
    background-color: white;
}

table.list tr.selected{
    font-weight:bold;
}

/* ----------------------------- */
#baseUserName{
    font-weight:bold;
}

/* ----------------------------- */
hr{
    width:95%;
    margin-top:2em;
}

/* ----------------------------- */

.tableBackWide1045{
    clear:both;
    width:1045px;
    margin-left:10px;
    margin-bottom: 20px;
    border:1px solid #e6e6e6;
    background-color:#fff;
    padding:5px 5px 5px 5px;
    display:table;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font-size: 1.0em;
    /* box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2); */
}

.tableBackWide{
    clear:both;
    width:600px;
    margin-left:10px;
    border:1px solid #e6e6e6;
    background-color:#fff;
    padding:5px 5px 5px 5px;
    display:table;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font-size: 0.9em;
    /* box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2); */
}

.left{
    text-align:left;
}

.center{
    text-align:center;
}

.right{
    text-align:right;
}
/* ----------------------------- */
.errdiv{
    color:red;
    font-family: verdana;
    font-size: 12px;
    margin:0 0 8px 0;
    display:none;
}

.okdiv{
    color:green;
    font-family: verdana;
    font-size: 12px;
    margin:0 0 8px 0;
    display:none;
}

.CaptionTD {
    vertical-align: top;
}

/* ----------------------------- */

.iconstyle {
    position: absolute;
    top: 0px;
    z-index:500;
}

.arrowstyle {
    position: absolute;
    top: 0px;
    z-index:501;
    opacity: 0.7;
}

.labelstyle {
    color:#FFFFFF;
    font-size:12px;
    background-color:#7687de;
    font-weight:600;
    border:2px solid #006699;
    padding:0 2px;
    white-space: nowrap;
    position: absolute;
    top: 3px;
    left: 3px;
    z-index:495;
    opacity: 0.9;
}

/* ----------------------------- */

.alertPopupButton {
    background-color:#f3f3f3;
    border:1px solid #d3d3d3;
    color:#000000;
    cursor: pointer;
    text-align:center;
    border-radius: 3px;
}

td.alertPopupButton:hover {
    background-color:white;
    border: 1px solid #999999;
}

/* ----------------------------- */
#footer{
    width: 100%;
    clear:both;
    border-top:1px solid #d1d4d5;
    border-bottom:1px solid #d1d4d5;
    background:transparent;
    margin:3px 0 0 0;
    padding:5px 5px 2px 5px;
    text-align:center;
    font-size: 0.8em;
}

#footer a{
    text-decoration:none;
}

/* ----------------------------- */
.jqmWindow {
    display: none;

    position: fixed;
    top: 15%;
    left: 50%;

    margin-left: -300px;
    width: 600px;

    background-color: #FFF;
    color: #000;
    padding: 8px 8px 3px 8px;
}

.jqmHeader {
    font-size: 11pt;
    font-weight:bold;
    padding: 0 0 8px 0;
}

.jqmOverlay { background-color: #000; }

/* ----------------------------- */

.report_table {
    border: solid 1px #000;
    border-collapse: collapse;
}

table.report_table th{
    border: solid 1px #000;
    padding:3px 4px 3px 4px;
}

table.report_table td{
    border: solid 1px #000;
    padding:3px 4px 3px 4px;
}

/* ----------------------------- */
/* .contextmenu {
    -moz-user-select: none;
    background-color: #FFFFFF;
    border-color: #CCCCCC #676767 #676767 #CCCCCC;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    position: absolute;
    z-index: 2000;
} */

.item {
    color: #0000CC;
    padding: 2px 8px;
    border-style: solid;
    cursor: pointer;
}

#info_grid td{
    text-align:left;
}
.popupinf_longdt_val, .popupinf_fixedlongdt_val{
    display:inline;
}
.poshytip_img{
    width: 14px;
    display: inline;
    float: right;
}

.track_obj_name{
    text-decoration:underline;
    cursor:pointer;
    font-weight:bold;
    color: var(--bs-primary);
}

.color{
    cursor:pointer;
}

.blue_link{
    color: #0000ff;
    text-decoration: underline;
    cursor:pointer;
}

/* ----------------------------- */

.mapsettings {
    padding: 6px 8px;
    background: white;
    /* background: rgba(255,255,255,1.0); */
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    z-index: 1000;
}
.mapsettings h4 {
    margin: 0 0 5px;
    color: #555;
}
.mapsettings input {
    cursor: pointer;
}
.mapsettings label {
    cursor: pointer;
}
/* ----------------------------- */

.leaflet-popup-tip-container {
	height: 68px;
}
.leaflet-top,
.leaflet-bottom {
	z-index: 999;
	}
/* ----------------------------- */
.leaflet-popup-content {
	/* min-width: 170px; */
    font-size: 13px;
}

.leaflet-popup-tip-container {
	margin: 0 auto;
	width: 184px;
	height: 70px;
	position: relative;
	overflow: hidden;
}

.leaflet-popup-tip {
	background: url(images/tip.png);
	background-position: 0px 0px; /* задаем позицию фону */
	background-repeat: no-repeat; /*запрещаем повторение фона */
	width: 184px;
	height: 80px;
	-moz-transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
}

.leaflet-popup-scrolled {
	border-bottom: 0;
	border-top: 0;
}

.leaflet-popup-content-wrapper {
	border-radius: 5px;
}

/* ----------------------------- */
.clusterPopup .leaflet-popup-content-wrapper {
    /* font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; */
    background: white;
    background: rgba(255,255,255,1.0);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
.clusterPopup .leaflet-popup-content-wrapper a {
    color:rgba(255,255,255,0.5);
}
.clusterPopup .leaflet-popup-content {
    margin: 0 0;
}
.clusterPopup .leaflet-popup-tip-container {
    width:30px;
    height:15px;
}
.clusterPopup .leaflet-popup-tip {
    display: none;
}
.clusterPopup tr {
    cursor: pointer;
}

/* ----------------------------- */
.trackdotPopup .leaflet-popup-content-wrapper {
    /* font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; */
    background: white;
    background: rgba(255,255,255,1.0);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
.trackdotPopup .leaflet-popup-content-wrapper a {
    color:rgba(255,255,255,0.5);
}
.trackdotPopup .leaflet-popup-content {
    margin: 0 0;
    padding: 2px;
}
.trackdotPopup .leaflet-popup-tip-container {
    width:30px;
    height:15px;
}
.trackdotPopup .leaflet-popup-tip {
    display: none;
}
.trackdotPopup tr {
    cursor: pointer;
}

/* ----------------------------- */
.floorplan-crisp {
    -ms-interpolation-mode: nearest-neighbor; /* IE */
    image-rendering: -webkit-optimize-contrast; /* Old Android, Safari, UC Browser */
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: crisp-edges; /* Safari */
    image-rendering: pixelated; /* Chrome & Opera */
}

#toolbar {
    float: right;
    width: 25%;
}

#measurePopup {
    position: absolute;
    top: 35%;
    left: 35%;
    width: 30%;
    height: fit-content;
    z-index: 9001;
    background-color: white;
    border: 5px solid #aaaaaa;
    padding: 10px;
}
/* ----------------------------- */

table.list tr.odd {
    background-color: #f3f3f3;
}

.ui-jqgrid tr.ui-priority-secondary {
    background-color: #f3f3f3;
}

.ui-jqgrid tr.ui-priority-secondary:hover {
    background-color: #dadada;
}

.ui-jqgrid tr.jqgroup {
    border: #e6e6e6;
}


.leaflet-container {
    font-size: 11px;
    font-family: Verdana, Tahoma, Helvetica, sans-serif;
}
.leaflet-control-attribution {
    display: none;
}


.alert_text {
    font-size:11px;
    margin: 5px;
}
.ad_text5 {
    padding: 7px;
}

/* Extra small BS buttons */
.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: .8rem;
    line-height: .6;
    border-radius: .2rem;
}


/* Entrance page */
.box {
	max-width: 1200px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 30px 40px;
	flex-wrap: wrap;
}
.content {
	width: 55%;
	min-width: 400px;
	padding-right: 4.5%;
}
.content-title {
	font-size: 32px;
	line-height: 1.3;
    margin-bottom: 0;
    font-family: "Montserrat", Verdana, sans-serif;
}
.content-points {
	padding: 10px 0;
}
.content-point {
	display: flex;
	justify-content: space-between;
	-ms-align-items: center;
	align-items: center;
	border-bottom: 1px solid #ccc;
	padding: 20px 0;
}
.text_icon {
	width: 36px;
	height: 36px;
}
.text_icon img {
	width: 32px;
	height: auto;
}
.icon_title {
	font-size: 15px;
	width: 180px;
    text-align: center;
    font-weight: 600;
    font-family: "Montserrat", Verdana, sans-serif;
}
.modal-text {
	line-height: 1.5;
	width: 60%;
	font-size: 14px;
}
.request {
	width:40%;
	min-width: 350px;
}
.resets {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
}
.demo {
    cursor: pointer;
    /* text-decoration: dashed; */
    transition: 0.3s;
	display: none;
	/* border-bottom: 1px dashed transparent;     */
	border-bottom: 1px dashed rgba(62, 81, 111, 0.4);
}
.demo:hover {
    border-bottom-color: #3e516f;
    user-select: none
}
@media all and (max-width:999px) {
    .request {
        order: -1;
        margin: auto;
        padding-right: 0;
        width: 60%
    }

    .content,.request {
        min-width: auto;
        max-width: 600px
    }

    .box {
        padding: 30px 20px
    }

    .content {
        margin: 50px auto auto;
        width: 100%;
        padding-right: 0
    }
}



/* @import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600"; */
body {
    font-family: 'Montserrat', Verdana, sans-serif;
    background: #fafafa;
}

/*
 * Navbar
 */

.navbar {
    padding: 0 10px;
    min-height: 45px;
    /* box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.5); */
    transition: 0.1s;
    min-width: 300px;
}

.navbar-brand {
    margin-right: 1.5rem;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.lang-img {
	text-decoration: none;
    font-weight: 700;
}
.lang-text {
	padding-left: 10px;
	text-decoration: none;
    font-weight: 500;
}

input {
    outline: none;
  }

  :focus {
    outline: none;
    }
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.header-username {
    margin-right: 7px;
    margin-top: 3px;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.help {
	min-width: 32px;
	width: auto;
	padding: 5px 5px;
	height: 100%;
	display: flex;
	cursor: pointer;
}

.nav-link svg {
	fill: rgba(255,255,255,.5);
	min-width: 32px;
	width: 32px;
	height: 32px;
    /* transition: 0.3s; */
}


.help:hover {
    color: rgb(211, 211, 211)
}

.help:hover svg {
    fill: rgb(211, 211, 211)
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.dropdown-menu {
    -webkit-box-shadow: 0 3px 15px 3px rgba(0,0,0,0.4),
                        0 0 0px 10000px rgba(62, 81, 111, 0.4);
    -moz-box-shadow: 0 3px 15px 3px rgba(0,0,0,0.4),
                    0 0 0px 10000px rgba(62, 81, 111, 0.4);
    box-shadow: 0 3px 15px 3px rgba(0,0,0,0.4),
                0 0 0px 10000px rgba(62, 81, 111, 0.4);
    min-width: 5rem;
}

.error {
	width: 100%;
	color: #DC3545;
	font-size: 14px;
	margin-bottom: 5px;
	display: none;
	font-weight: 500;
}

.help-texts {
	display: flex;
	justify-content: space-between;
	-ms-align-items: baseline;
	align-items: baseline;
	margin-bottom: 5px;
}

.help-text {
	width: 49%;
	font-size: 14px;
    margin: 0;
	white-space: nowrap;
	user-select: text;
}

.help-text:last-child {
	text-align: right;
}

.instruction {
	font-size: 16px;
	color: var(--main);
	color: #3e516f;
	text-align: center;
    display: block;
    text-decoration: underline;
    margin-top: 4px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#content {
    width: 100%;
    transition: all 0.1s;
}

.minus-plus-icon {
    position: relative;
    z-index: 100;
    float: right;
    opacity: 0.3;
    cursor: pointer;
}

.chart {
    border-radius: 0;
}

.chart-icon {
    display: none;
    position: relative;
    z-index: 100;
    float: right;
    margin-top: 5px;
    margin-right: 5px;
}

.card-icon {
    display: none;
    position: relative;
    z-index: 100;
    float: right;
}

.custom-select-dt {
    margin-left: -1px;
    border: 1px solid #ced4da;
    width: 18%;
    cursor: pointer;
    font-size: .875rem;
}
.custom-select-dt:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.ui-widget {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
}

.ui-jqgrid .ui-jqgrid-view {
    font-size: 11px;
}

/* линии в таблице */
.ui-widget-content .jqgrow {
    border-width: 0;
    height: 24px;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border-width: 0;
}

.ui-accordion .ui-accordion-content {
    padding: 0;
}

.ui-accordion .ui-accordion-header a {
    font-size: 1.1em;
    font-weight: 500;
}


.leaflet-control-layers .leaflet-control-layers-list, .leaflet-control-layers-expanded .leaflet-control-layers-toggle {
    padding: 5px 10px 0 10px;
    font-size: medium;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* gridstack */

.grid-stack-item-content {
    border-width: 1px;
    border-color: #d1d4d5;
    border-style: solid;
    border-radius: 3px;
}

.grid-stack > .grid-stack-item > .grid-stack-item-content {
    left: 3px;
    right: 3px;
}




.bootstrap-select .dropdown-menu {
    z-index: 1200;
}
.bootstrap-select .dropdown-toggle {
    border: 1px solid #ced4da;
}




.nav-tabs .nav-link {
    border: 1px solid #dee2e6;
    background-color: #e6e6e6;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.popover{
    max-width: 500px;
}


/* ~~~~ jquery ui 1.12.1 edit ~~~~~~~~~~~~~~ */
/* .ui-icon {
    margin-top: -7px;
} */

.ui-tabs {
    padding: 0;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    padding:1px 3px 2px 3px;
}

.ui-tabs .ui-tabs-nav li {
    top: 1px;
}

.ui-tabs .ui-tabs-panel {
    padding: 0;
}

.ui-tabs > .ui-widget-header {
    background: none;
    border: 0;
    border-bottom: 1px solid #DEDEDE;
    margin-bottom: 3px;
}

.ui-accordion .ui-accordion-header-active {
    border-bottom: 0 !important;
}

.event-header > .ui-icon {
    margin-top: -7px;
}


.ui-jqgrid tr.jqgroup {
    border: #e6e6e6;
    height: 26px;
}

.alertsdiv {
    position: absolute;
    overflow-y: auto;
    z-index: 900;
    right: 10px
}

.adsdiv5 {
    position:absolute;
    width:500px;
    overflow:hidden;
    z-index:900;
}

#mainTabs {
    border: 0;
}
#objectTabs {
    border: 0;
}
#tabsZones {
    border: 0;
}
#popuptabs {
    border: 0;
}

#tabsTarifs, #objectEditTabs, #tabsRules, #tabsGroups, #tabsDrivers, #tabsCards, #tabsOperators, #tabsReports, #tabsLines {
    border: 0;
    margin: 5px 8px 5px 8px;
}

.ui-dialog .ui-dialog-content {
    padding: 0;
}

.ui-dialog .ui-dialog-buttonpane button {
    float: right;
    margin: .5em .4em .5em 0;
    cursor: pointer;
    line-height: 1.8em;
    width: auto;
    overflow: visible;
    border-radius: 3px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.settings-tables-wrapper {
    padding: 7px;
}
.settings-tables-slider {
    margin: 8px 12px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#alertsAccord {
    min-width: 280px;
}
#alertsAccord a {
    color: #000000;
}


.leaflet-pm-icon-graph {
    background-image: url("../icons/graph.svg") !important;
  }
.leaflet-pm-icon-walls {
    background-image: url("../icons/barrier.svg") !important;
}

/* Impacts cards */
.card-body {
    padding: 8px;
}
.widget-chat-wrapper-outer {
    display: flex;
    flex: 1;
    flex-direction: column;
    max-width: 100%;
}
.widget-chart-content {
    display: flex;
    flex-direction: column;
    align-content: center;
    flex: 1;
    position: relative;
}
.widget-subheading {
    margin: -0.5rem 0 0;
    display: block;
    opacity: .6;
}
.widget-subfooter {
    margin: 0.5rem 0 0;
    display: block;
    opacity: .6;
}
.widget-chart-flex {
    display: flex;
    align-items: baseline;
    align-content: center;
    margin-bottom: 0;
}
.widget-numbers {
    margin-left: 0;
}
.widget-numbers-main {
    font-size: 1.3rem !important;
    font-weight: bold;
}


.card-blocked {
    color: var(--bs-primary) !important;
    background: #ffe7e7 !important;
}
.card-blocked:hover {
    background: #e4d5d5 !important;
}
.card-active {
    color: var(--bs-primary) !important;
    background: #ddfade !important;
}
.card-active:hover {
    background: #c8dbc9 !important;
}
.card-inactive {
    color: var(--bs-primary) !important;
    background: #fdfcc9 !important;
}
.card-deleted {
    color: var(--bs-primary) !important;
    background: #cccccc !important;
}


/* --- Snow --- */
.snow1{
    background-image: url(../images/snow1.png);
    position:absolute;
    width: 100%;
    height:100%;
    left: 0;
    top: 0;
    animation: snow1 18s linear infinite;
    z-index: 1;
    display: none;
 }
.snow2{
    background-image: url(../images/snow2.png),url(../images/snow3.png);
    animation: snow2 10s linear infinite;
    width: 100%;
    height:100%;
    left: 0;
    top: 0;
    position:absolute;
    z-index: 1;
    display: none;
}
/* @keyframes snow2{
    0%{background-position: 0 0, 0 0;}
    100%{background-position: 10% 600px, 10% 600px;}
}
@keyframes snow1{
    from{background-position: 0 -300px;}
    20% {background-position: 20% -100px;}
    40% {background-position: 30% 100px;}
    to{background-position: 20% 700px;}
} */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#alerts-container {
    position: fixed;
    bottom: 20px;
    right: 0;
    max-width: 460px;
    margin-right:10px;
    z-index: 5000;
}

.alert {
    border-width: 1px;
    border-color: #186429;
    font-size: large;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.vertical-timeline {
    width: 100%;
    position: relative;
    padding: 0.1rem 0 0.1rem;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 67px;
    height: 100%;
    width: 4px;
    background: #e9ecef;
    border-radius: .25rem;
}

.vertical-timeline-element {
    position: relative;
    /* margin: 0.2rem 0 0.2rem; */
    cursor: pointer;
}

.vertical-timeline--animate .vertical-timeline-element-icon.bounce-in {
    visibility: visible;
    animation: cd-bounce-1 .8s;
}
.vertical-timeline-element-icon {
    position: absolute;
    top: -4px;
    left: 48px;
}

/* .vertical-timeline-element-icon .badge-dot-xl {
    box-shadow: 0 0 0 5px #fff;
} */

.badge-dot-xl {
    width: 14px;
    height: 14px;
    position: relative;
}
.badge:empty {
    display: none;
}
.badge-dot-xl::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: .25rem;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -5px 0 0 -5px;
    background: #fff;
}

.vertical-timeline-element-content {
    position: relative;
    margin-left: 48px;
    font-size: .8rem;
}

.vertical-timeline-element-content .timeline-title {
    font-size: .8rem;
    text-transform: uppercase;
    margin: 0 0 3px;
    padding: 2px 0 0;
    font-weight: bold;
    margin-left: 24px;
}

.vertical-timeline-element-content .vertical-timeline-element-date {
    display: block;
    position: absolute;
    left: -48px;
    top: 0;
    padding-right: 5px;
    text-align: right;
    /* color: #adb5bd; */
    color: #5c6670;
    font-size: .9rem;
    white-space: nowrap;
}

.vertical-timeline-element-content:after {
    content: "";
    display: table;
    clear: both;
}


/* .ui-draggable .ui-dialog-titlebar {
    background-color: var(--bs-primary) !important;
    color: white;
    opacity: 0.9;
} */

/* Подсветка трека белым фоном (canvas) */
canvas {
    filter: drop-shadow(1px 1px 0 #ffffffdd) drop-shadow(-1px -1px 0 #ffffffdd) drop-shadow(1px -1px 0 #ffffffdd) drop-shadow(-1px 1px 0 #ffffffdd);
}

/* Легенда скорости */
.leaflet-container div.leaflet-speed-color {
    border: 2px solid rgba(0,0,0,0.2);
    padding: 0 3px 3px 3px;
    border-radius: 4px;
    background-color: white;
}
.leaflet-container div.leaflet-speed-color table td {
    min-width: 45px;
    text-align: center;
}
.leaflet-container div.leaflet-speed-color table tr:last-child td {
    height: 3px;
}

.tr_box {
    width:10px;
    height:10px;
    display:inline-block;
    margin-right:2px;
}