﻿@-webkit-keyframes blinkMarker {
    from {
        stroke:black;
    }
    to {
        stroke:yellow;
    }
}

@-moz-keyframes blinkMarker {

     from {
        stroke:black;
    }
    to {
        stroke:yellow;
    }
}

@-o-keyframes blinkMarker {
    from {
        stroke:black;
    }
    to {
        stroke:yellow;
    }
}


@keyframes blinkMarker {
    from {
        stroke:black;
    }
    to {
        stroke:yellow;
    }
}


.afm-leaflet-toolbar-item {
    width: 34px;
    height: 34px;
   margin-bottom: 3px;
   cursor: pointer;
    padding: 2px;
    background-color: #006dbb;
    font-size: 10px;
}



/*
.leaflet-top.leaflet-left {
    top: 44px;
}*/

.mapToolsClosed {
  left: -350px !important;
}
.mapWithToolsClosed {
    margin-left: 0 !important;
}
.mapToolsActive,.mapWithToolsActive {
  -webkit-transition: all 1s ease;  
  -moz-transition: all 1s ease;  
  -o-transition: all 1s ease;  
  -ms-transition: all 1s ease;  
  transition: all 1s ease;
}

.app-maptoolbox-Tabs > li > a{
    padding: 5px 6px !important;
}
.mapWithToolsActive {
      margin-left: 350px;
}
.mapToolsActive {
    left: 0;
}

.mapTools {
    width: 349px;
   display: inline-block;
    border: #000000 solid 1px;
    border: rgba(0, 0, 0, 0.2) solid 1px;
   position: absolute;
   height: calc(100% - 70px);
   background: white;
   padding: 10px;
    z-index: 1005;
    
    -ms-border-bottom-right-radius:4px;
    border-bottom-right-radius:4px;
    -ms-border-bottom-left-radius:4px;
    border-bottom-left-radius:4px;
    -ms-border-top-left-radius:4px;
    border-top-left-radius:4px;
}
.mapToolMenuArrow {
    margin-left: 4px;
}
.mapToolsContent {
    overflow: auto;
    height: calc(100% - 22px);
}
.mapToolMenuArrow:hover {
   color: rgb(248,152,47); 
}

.mapToolsMenuButton {
    background-color: white;
    right: -36px;
    top: -1px;
    position: absolute;
    width: 36px;
    height: 34px;

    border-left: solid white 1px;
    border-top: #000000 solid 1px;
    border-top: rgba(0, 0, 0, 0.2) solid 1px;
    cursor:pointer;
    -ms-border-bottom-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom: #000000 solid 1px;
    border-bottom: rgba(0, 0, 0, 0.2) solid 1px;
    border-right: #000000 solid 1px;
    border-right: rgba(0, 0, 0, 0.2) solid 1px;
}

@media (max-width: 410px) {
    .mapTools {
        width: calc(100% - 36px);
    }

    .mapWithToolsActive {
        margin-left: calc(100% );
    }

    .mapToolsClosed {
        left: calc(-100% + 36px) !important;
    }

    .mapToolsActive, .mapWithToolsActive {
        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -o-transition: all 1s ease;
        -ms-transition: all 1s ease;
        transition: all 1s ease;
    }

    .mapToolsContent {
        overflow: auto;
        height: calc(100% - 80px);
    }
}


.hwm-popup > li > a {
    padding: 4px 8px;
}
.hwm-popup-container {
    
}
.app-popover-container .popover-content {
    max-height: calc(100vh - 170px);
    overflow: auto;
}
.app-popover-container .popover {
    top: 60px !important;
    left: 40px !important;
}
.app-popover-container .popover .arrow {
    display: none;
}
#app-popover-content-popover-Overlays .panel {
    margin-bottom: 4px;
}
.leaflet-container.leaflet-control-boxzoom-active {
    cursor:crosshair;
}
#cmd-boxZoom.leaflet-control-boxzoom-active {
    background-color:#aaaaaa;
}


.selectedMarker {
    -webkit-animation-duration: 1200ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation:blinkMarker 1200ms infinite; /* Safari and Chrome */
    
   -moz-animation-name: blinkMarker;
  -moz-animation-duration: 1200ms;
  -moz-animation-iteration-count: infinite;
  -moz-animation-direction: alternate;

  -o-animation-name: blinkMarker; 
    -o-animation-duration: 1200ms; 
     -o-animation-iteration-count: infinite;
       -o-animation-direction: alternate;

    animation-name: blinkMarker;
    animation-duration: 1200ms;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
.fa-layers {
    pointer-events: auto;
   /* background-image:  url('overlays_off.png');*/
    width: 24px;
    height: 24px;
}
/*
    .fa-layers:active, .fa-layers:hover, .fa-layers:focus,#cmd-overlays:active .fa-layers,#cmd-overlays:focus .fa-layers,#cmd-overlays:hover .fa-layers {
        background-image: url('overlays_on.png') !important;

    }*/