/* Your app styles here */
/*.ios .tabbar-labels .tab-link:not(.tab-link-active) .icon-ios-fill {
    display: none;
}
.ios .tabbar-labels .tab-link.tab-link-active .icon:not(.icon-ios-fill) {
    display: none;
}*/

.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;
}

.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 0;
    color: #555;
}
.mapsettings input {
    cursor: pointer;
}
.mapsettings label {
    cursor: pointer;
}

/*.object-link {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}*/

.leaflet-verticalcenter {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    top: 50%; /* possible because the placeholder's parent is the map */
    transform: translateY(-50%); /* using the CSS3 Transform technique */
    padding-top: 10px;
}

.leaflet-verticalcenter .leaflet-control {
    margin-bottom: 10px;
}

.leaflet-popup-close-button {
    display: none;
}
.leaflet-popup-tip-container {
    position: relative;
    left: 50%;
}

.leaflet-touch .leaflet-control-layers-toggle {
    width: 40px;
    height: 40px;
}
.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
    font-size: 30px;
}
.leaflet-touch .leaflet-bar a {
    width: 40px;
    height: 40px;
    line-height: 40px;
}

.ios .navbar~:not(.no-navbar) .page-content {
/*    padding-top: 0;*/
}

.icons-popover {
    width: 140px;
}

/* Trips select icons */
.md label.item-radio>.icon-radio {
    margin-right: 24px;
}
.md .list .item-media {
    min-width: 24px;
}

/* Подсветка трека белым фоном (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;
}