﻿
#page.big-map .prover-map {
    height: 586px;
}

@media (min-width: 1650px) {
    #widelayout:checked ~ #page #map-window div.prover-map {
        height: calc(100vh - 160px);
    }

    #widelayout:checked ~ #page.big-map #map-window div.prover-map {
        height: calc(100vh - 160px);
    }

    #widelayout:checked ~ #page #map-window-resize,

}


    div.prover-map {
        height: 293px;
        overflow: hidden;
        position: relative;
        background-color: White;
    }

    div.map-expand {
        z-index: 1;
        position: absolute;
        width: 32px;
        height: 32px;
        background-image: url(/content/images/expand1a.png);
        background-repeat: no-repeat;
    }

        div.map-expand:hover {
            background-image: url(/content/images/expand1ah.png);
        }

    div.map-shrink {
        z-index: 1;
        position: absolute;
        width: 32px;
        height: 32px;
        background-image: url(/content/images/shrink1a.png);
        background-repeat: no-repeat;
    }

        div.map-shrink:hover {
            background-image: url(/content/images/shrink1ah.png);
        }

    div.map-info {
        background-image: url("/content/images/map/point-info-16.png");
        height: 16px;
        width: 16px;
        padding: 0;
        margin: 0;
        position: absolute;
        overflow: hidden;
        display: block;
        background-position: 0 0px;
        z-index: 4;
    }

        div.map-info:hover,
        div.map-info.hover {
            background-position: 0 -16px;
            z-index: 6;
            cursor: pointer;
        }

        div.map-info.selected {
            background-position: -16px 0;
        }

            div.map-info.selected:hover,
            div.map-info.selected.hover {
                background-position: -16px -16px;
            }

        div.map-info.subject {
            background-position: -32px 0;
            z-index: 5;
        }

            div.map-info.subject:hover,
            div.map-info.subject.hover {
                background-position: -32px -16px;
                z-index: 6;
            }


    /****************************************************************************
    Marks Plugin styles
*****************************************************************************/
    .mark-info {
        position: absolute;
        z-index: 4;
        cursor: pointer;
    }

    /****************************************************************************
    Location Plugin styles
*****************************************************************************/

    @keyframes sizenme {
        0% {
            width: 80px;
            height: 80px;
            left: -30px; /* (newwidth - originalwidth) / 2 */
            top: -30px;
        }

        100% {
            width: 20px;
            height: 20px;
            left: 0;
            top: 0;
        }
    }

    @keyframes shadowmeErr {
        10% {
            filter: drop-shadow(0 0 1px red);
        }

        20% {
            filter: none;
        }
    }

    @keyframes shadowme {
        10% {
            filter: drop-shadow(0 0 1px blue);
        }

        20% {
            filter: none;
        }
    }



    .location-pin {
        height: 20px;
        width: 20px;
    }

        .location-pin > img {
            height: 20px;
            width: 20px;
        }

        .location-pin.throb > img {
            animation: shadowme 4s infinite;
        }

        .location-pin.throb.error > img {
            animation: shadowmeErr 4s infinite;
        }

        .location-pin.ping > img {
            animation: sizenme 0.25s;
            /* background-image: radial-gradient(circle closest-side, red,#0000 );*/
        }


    /****************************************************************************
    Plans Plugin styles
*****************************************************************************/
    .plan-info {
        position: absolute;
        z-index: 4;
        font-size: 10px;
        background-color: aliceblue;
        border: 1px solid lightblue;
        border-radius: 3px;
        padding-left: 2px;
        padding-right: 2px;
    }

        .plan-info.subject {
            border-color: darkred;
            z-index: 5;
            background-color: greenyellow;
        }

        .plan-info a {
            white-space: nowrap;
            color: green;
        }

            .plan-info a[data-series=SO] {
                color: darkblue;
            }

            .plan-info a[data-series=ML] {
                color: red;
            }

            .plan-info a:hover {
                text-decoration: none;
            }



    .prover-map-control {
        position: static;
        height: 0;
    }

        .prover-map-control div {
            position: absolute;
        }

    html.no-canvas div.prover-map-control {
        z-index: 4;
    }

div.premise-map-button {
    background-image: url("/content/images/map/map-icons-sprite.png");
    width: 28px;
    height: 28px;
    z-index: 5;
    cursor: pointer;
    right: 0px;
    margin-right: 3px;
}

    div.premise-map-button.button-rect {
        top: 71px;
        background-position: -0px -196px;
    }

        div.premise-map-button.button-rect:hover,
        div.premise-map-button.button-rect.selected {
            background-position: -28px -196px;
        }

    div.premise-map-button.button-in {
        top: 104px;
        background-position: 0px -84px;
    }

        div.premise-map-button.button-in:hover {
            background-position: -28px -84px;
        }

    div.premise-map-button.button-out {
        top: 137px;
        background-position: 0px -112px;
    }

        div.premise-map-button.button-out:hover {
            background-position: -28px -112px;
        }

    div.premise-map-button.button-nz {
        top: 170px;
        background-position: 0px -140px;
    }

        div.premise-map-button.button-nz:hover {
            background-position: -28px -140px;
        }

    div.premise-map-button.button-previous {
        top: 203px;
        background-position: 0px -168px;
    }

        div.premise-map-button.button-previous:hover {
            background-position: -28px -168px;
        }

        div.premise-map-button.button-previous.disabled {
            background-position: -56px -168px;
        }

    div.prover-map-button, div.prover-map-toggle {
        width: 24px;
        height: 24px;
        margin: 4px;
        margin-left: 16px;
        z-index: 5;
        cursor: pointer;
    }

        div.prover-map-button.large {
            margin-left: 4px;
            width: 48px;
            height: 48px;
        }

        div.prover-map-button, div.prover-map-button div {
            background-image: url("/content/images/map/map-control-2.png");
        }

            div.prover-map-button.button-rect {
                top: 56px;
                background-position: -96px -96px;
            }



                div.prover-map-button.button-rect:hover,
                div.prover-map-button.button-rect.selected {
                    background-position: -96px -120px;
                }

    /* disappear on phone screens*/
    @media (max-width: 480px) {
        div.prover-map-button.button-rect {
            display: none;
        }
    }


    div.prover-map-button.button-in {
        top: 88px;
        background-position: -96px -48px;
    }

        div.prover-map-button.button-in:hover {
            background-position: -96px -72px;
        }

    div.prover-map-button.button-out {
        top: 112px;
        background-position: -120px -48px;
    }

        div.prover-map-button.button-out:hover {
            background-position: -120px -72px;
        }

    div.prover-map-toggle.button-pos {
        top: 136px;
    }

        div.prover-map-toggle.button-pos > input {
            display: none;
        }

            div.prover-map-toggle.button-pos > input:checked + label > img {
                filter: drop-shadow(0px 0px 2px red)
            }


    @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
        div.prover-map-control > div.prover-map-toggle.button-pos {
            display: none !important;
        }
    }


    div.prover-map-button.measure {
        position: absolute;
        top: 0;
        right: 0;
        background-position: left top;
        background-image: url("/content/images/map/measure-24.png");
    }

    div.prover-map-button.button-pan div {
        position: absolute;
        width: 48px;
        height: 48px;
    }

        div.prover-map-button.button-pan div.north {
            background-position: -48px 0px;
        }

        div.prover-map-button.button-pan div.south {
            background-position: 0px -48px;
        }

        div.prover-map-button.button-pan div.east {
            background-position: -96px 0px;
        }

        div.prover-map-button.button-pan div.west {
            background-position: -48px -48px;
        }

        div.prover-map-button.button-pan div.nz {
            background-position: 0px -96px;
        }

    div.qmap-tile {
        z-index: 1;
        position: absolute;
        overflow: hidden;
        width: 256px;
        height: 256px;
    }

    div.popup-menu {
        position: absolute;
        z-index: 21;
        display: none;
        background-color: White;
        border: 1px solid #9BD;
        overflow: hidden;
        cursor: pointer;
        font-family: Helvetica, Arial;
    }

        div.popup-menu > div.menu-item {
            height: 24px;
            line-height: 22px;
            color: Blue;
            text-decoration: none;
            display: block;
            padding-left: 5px;
            padding-right: 20px;
            background-repeat: no-repeat;
            font-size: 13px;
            font-family: Helvetica, Arial;
        }

        div.popup-menu.with-icons > div.menu-item {
            padding-left: 24px;
        }

        div.street:hover,
        div.popup-menu > div.menu-item:hover,
        div.popup-menu > div.menu-item.selected {
            text-decoration: none;
            color: White;
            background-color: #4DA0E6;
        }

    div.street {
        padding-left: 20px;
        background-repeat: no-repeat;
        background-position: 2px 2px;
        margin-top: 3px;
        cursor: pointer;
    }

        div.street.add,
        div.menu-item.add {
            background-image: url(/content/images/map/plus-13.png);
            background-position: 4px 4px;
        }

        div.street.remove,
        div.menu-item.remove {
            background-image: url(/content/images/map/minus-13.png);
            background-position: 4px 4px;
        }

    div.menu-item.view {
        background-image: url("/content/images/map/view16.png");
        background-position: 4px center;
    }

.hover-info {
    font-family: Arial;
    font-size: 12px;
    line-height: 12px;
    position: absolute;
    z-index: 2;
    padding: 4px 2px 2px 4px;
    border-radius: 5px;
    white-space: nowrap;
    cursor: default;
    max-width: 150px;
    max-height: 100px;
    overflow: hidden;
    background: rgba(255,255,255,0.3);
}



    .hover-info div {
        color: Black;
        text-shadow: 0 0 1px white, 0 0 2px white, 0 0 2px white,0 0 2px white, 0 0 3px white, 0 0 4px white, 0 0 5px white;
    }





    .hover-info.hover div,
    .hover-info:hover div,
    .Aerial .hover-info div {
        color: White;
        text-shadow: 0 0 1px black, 0 0 2px black, 0 0 2px black,0 0 2px black, 0 0 3px black, 0 0 4px black, 0 0 5px black;
    }





    .Aerial .hover-info {
        background: rgba(0,0,0,0.2);
    }





.hover-info:hover,
.hover-info.hover {
    z-index: 3;
    max-width: none;
    max-height: none;
    display: block;
    background: rgba(0,0,0,0.6);
}

    .hover-info.hover {
        z-index: 5;
    }

    .hover-info .item + .item {
        display: none;
    }

    .hover-info:hover .item + .item,
    .hover-info.hover .item + .item {
        display: block;
    }

    .hover-info .item {
        max-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hover-info.hover .item,
    .hover-info:hover .item {
        max-height: none;
    }

    .hover-info > div.item {
        margin-bottom: 3px;
    }

    .hover-info div.item > div.item {
        margin-left: 12px;
    }

    .hidden {
        display: none;
    }

    /*** Scale Bar ***/
    .scale {
        bottom: 3px;
        height: 14px;
        left: 75px;
        position: absolute;
        width: 120px;
        z-index: 4;
    }

        .scale, .scale .text {
            border: 1px solid white;
            border-top: 0;
        }

            .scale div {
                background-color: #607;
                float: left;
                height: 11px;
            }

            .scale .side {
                border-top: 1px solid white;
                width: 2px;
            }

            .scale .text {
                background: none;
                color: Black;
                cursor: default;
                font-family: Arial;
                font-size: 11px;
                line-height: 11px;
                padding-left: 2px;
                text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
                width: 112px;
            }

                .scale .text div {
                    background: none;
                }



    .scale .bottom {
        height: 2px;
        width: 100%;
    }
    /*** END Scale Bar ***/

/*** Measuring tools ***/
.measure-tools {
    position: absolute;
    top: 38px;
    right: 3px;
    height: 28px;
    z-index: 11;
    /*padding-top: 4px;*/
}

    .measure-tools .activate {
        width: 28px;
        height: 28px;
        float: left;
        position: relative;
    }

        .measure-tools .activate .btn {
            width: 28px;
            height: 28px;
            background-image: url(/content/images/map/map-icons-sprite.png);
            background-position: 0 -28px;
            position: absolute;
            border: 0;
            left: 0;
        }

            .measure-tools .activate .btn:hover {
                background-position: -28px -28px;
            }

        .measure-tools .activate.active .btn {
            background-position: 0px -56px;
        }

            .measure-tools .activate.active .btn:hover {
                background-position: -28px -56px;
            }

        .measure-tools .activate .ruler {
            background-image: url(/content/images/map/ruler-segment-right.png);
            position: absolute;
            width: 12px;
            height: 4px;
            left: 0px;
            bottom: 0;
        }


    .measure-tools .tool-container {
        width: 108px;
        height: 28px;
        float: left;
        background-image: url(/content/images/map/ruler-segment-right.png);
        background-repeat: repeat-x;
        background-position: 0 24px;
        margin-top: 1px;
        /*padding-left: 4px;*/
        overflow: hidden;
        white-space: nowrap;
    }

        .measure-tools .tool-container div {
            width: 24px;
            height: 24px;
            display: inline-block;
            background-image: url(/content/images/map/measure-premise.png);
            margin-right: 3px;
        }

    .measure-tools .remove {
        background-position: 0px -48px;
    }

        .measure-tools .remove:hover {
            background-position: -24px -48px;
        }

        .measure-tools .remove.disabled {
            background-position: -48px -48px;
        }

        .measure-tools .remove.selected {
            background-position: -72px -48px;
        }

            .measure-tools .remove.selected:hover {
                background-position: -96px -48px;
            }


    .measure-tools .polygon {
        background-position: 0px 0px;
    }

        .measure-tools .polygon:hover {
            background-position: -24px 0px;
        }

        .measure-tools .polygon.disabled {
            background-position: -48px 0px;
        }

        .measure-tools .polygon.selected {
            background-position: -72px -0px;
        }

            .measure-tools .polygon.selected:hover {
                background-position: -96px -0px;
            }

    .measure-tools .line {
        background-position: 0px -24px;
    }

        .measure-tools .line:hover {
            background-position: -24px -24px;
        }

        .measure-tools .line.disabled {
            background-position: -48px -24px;
        }

        .measure-tools .line.selected {
            background-position: -72px -24px;
        }

            .measure-tools .line.selected:hover {
                background-position: -96px -24px;
            }

    .measure-tools .clear-all {
        background-position: 0px -72px;
    }

        .measure-tools .clear-all:hover {
            background-position: -24px -72px;
        }

        .measure-tools .clear-all.disabled {
            background-position: -48px -72px;
        }

        .measure-tools .clear-all:active {
            background-position: -72px -72px;
        }

            .measure-tools .clear-all:active:hover {
                background-position: -96px -72px;
            }

/* disappear on phone screens*/
@media (max-width: 480px) {
    .measure-tools {
        display: none;
    }
}

/*** END Measuring Tools ***/

/*** Search Tools ***/
.search-tools {
    position: absolute;
    right: 0;
    top: 32px;
    height: 24px;
    z-index: 11;
    padding-top: 4px;
}

    .search-tools div {
        display: inline-block;
    }

    .search-tools .tool-container div {
        width: 24px;
        height: 24px;
        display: inline-block;
        background-image: url(/content/images/map/measure.png);
        margin-right: 3px;
    }

    .search-tools.inactive .tool-container div {
        display: none;
    }

    .search-tools .tool-container .polygon {
        background-position: 0 0;
    }

        .search-tools .tool-container .polygon:hover {
            background-position: -24px 0;
        }

        .search-tools .tool-container .polygon.selected {
            background-position: 0 -24px;
        }

            .search-tools .tool-container .polygon.selected:hover {
                background-position: -24px -24px;
            }

    .search-tools .tool-container .remove {
        background-position: -0px -48px;
    }

        .search-tools .tool-container .remove:hover {
            background-position: -24px 48px;
        }

        .search-tools .tool-container .remove.selected {
            background-position: 0px -72px;
        }

            .search-tools .tool-container .remove.selected:hover {
                background-position: -24px -72px;
            }

    .search-tools .tool-container .clear-all {
        background-position: -48px -48px;
    }

        .search-tools .tool-container .clear-all:hover {
            background-position: -72px -48px;
        }

    .search-tools .show {
        width: 24px;
        height: 24px;
        background-image: url(/content/images/map/arrows.png);
        background-position: 0 0;
    }

    .search-tools.inactive .show {
        background-position: 0 -24px;
    }

/*** END Search Tools ***/

/* Layer shortcuts */
#premise-layer-shortcuts {
    position: absolute;
    top: 0;
    right: 0;
    height: 28px;
    z-index: 4;
}

#premise-layer-shortcut-container {
    width: 0px;
    float: left;
    margin-top: 1px;
    overflow: hidden;
    white-space: nowrap;
}

#premise-layer-background {
    display: inline-flex;
    background-color: white;
    padding: 3px 5px 3px 0px;
    float: left;
    border: 0;
    box-shadow: 0 1px 3px rgb(60 64 67 / 30%), 0 4px 8px 3px rgb(60 64 67 / 15%);
    border-radius: 8px;
}

    #premise-layer-background .layer-group {
        display: grid;
    }

        #premise-layer-background .layer-group a {
            font: 10px arial;
            text-align: center;
            margin-left: 5px;
            padding-top: 3px;
        }

div.premise-map-button.button-layers {
    top: 5px;
    background-position: 0px 0px;
}

    div.premise-map-button.button-layers:hover {
        background-position: -28px 0px;
    }

    div.premise-map-button.button-layers.selected {
        background-position: 0px -28px;
    }

.premise-layer-thumbnail {
    background-position: center;
    background-size: 48px 48px;
    border-radius: 8px;
    border: 1px solid black;
    display: inline-block;
    height: 48px;
    width: 48px;
    margin-left: 5px;
    transform: translateY(4%);
    cursor: pointer;
}

    .premise-layer-thumbnail:hover {
        background-clip: initial;
        border: 2px solid rgb(26,115,232);
        border-radius: 8px;
        padding: 0;
    }

.premise-layer-sitemap {
    background-image: url(/content/images/map/premise-sitemap-layer.png);
}

.premise-layer-aerial {
    background-image: url(/content/images/map/premise-aerial-layer.png);
}

.premise-layer-topo50 {
    background-image: url(/content/images/map/premise-contours-layer.png);
}

.premise-layer-sitemap, .premise-layer-topo50, .premise-layer-aerial {
    background-color: rgb(241,243,244);
}

.thumbnail-depressed {
    transform: scale(0.98);
    /* Scaling button to 0.98 to its original size */
    box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);
    /* Lowering the shadow */
}
/* End Layer shortcuts */