﻿.map-modal {
    display: inline-block;
    width: auto;
    height: auto;
    position: absolute;
    top: 50px;
    left: 20px;
    margin: 0;
    outline: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: 2px 2px 5px #000;
    -moz-box-shadow: 2px 2px 5px #000;
    box-shadow: 2px 2px 5px #000;
    background: #fff;
    border-bottom: 4px solid #fcb930;
    z-index: 999;
    overflow: hidden;
    min-width: 200px;
}

    .map-modal .modal-header {
        display: block;
        border-bottom: none;
        white-space: nowrap;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        font-size: 0;
        line-height: normal;
        position: relative;
        padding: 0;
        min-height: 0;
    }

        .map-modal .modal-header .name {
            font-size: 18px;
            color: #fcb930;
            line-height: normal;
            display: inline-block;
            /*opacity: 0;*/
            padding: 8px 14px 0;
        }

            .map-modal .modal-header .name.arrow {
                cursor: pointer;
            }

                .map-modal .modal-header .name.arrow .arrow {
                    display: inline-block;
                    height: 0;
                    width: 0;
                    border: 0px solid transparent;
                    border-top: 4px solid #fcb930;
                    border-left-width: 4px;
                    border-right-width: 4px;
                    vertical-align: middle;
                }

    .map-modal button.close-btn {
        float: right;
        font-size: 18px;
        outline: none;
        border: none;
        background: none;
        filter: none;
        color: #333;
        line-height: normal;
        padding: 6px 14px 0 10px;
        z-index: inherit;
    }

        .map-modal button.close-btn:after {
            content: "x";
        }

    .map-modal .body-scrollviewer,
    .map-modal .header-scrollviewer {
        overflow: hidden;
        position: relative;
    }

    .map-modal .body {
        white-space: nowrap;
        font-size: 0;
        line-height: normal;
        position: relative;
    }

        .map-modal .body > div {
            /*display: inline-block;*/
            margin: 6px 14px 6px;
            font-size: 14px;
            white-space: normal;
            /*opacity: 0;*/
            vertical-align: top;
            /*overflow: hidden;*/
            /*height: 0;*/
        }

    .map-modal .actions {
        background: #fcb930;
        padding: 10px 14px 6px;
        position: relative;
    }

        .map-modal .actions button {
            margin-right: 10px;
            min-width: 60px;
            font-size: 14px;
        }

        .map-modal .actions a {
            vertical-align: middle;
            font-size: 13px;
        }

    .map-modal .loading {
        margin-top: 6px;
        text-align: center;
        color: #808080;
    }

        .map-modal .loading .spinner {
            display: inline-block;
            text-indent: -9999px;
            width: 16px;
            height: 16px;
            background-image: url(images/map-modal-spinner.gif);
            margin-right: 6px;
        }

        .map-modal .loading span {
            vertical-align: middle;
        }

    .map-modal.top {
        z-index: 1001;
        top: 50%;
        left: 50%;
        margin-left: 0;
        margin-top: 0;
    }

.modal-page-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: #000;
    opacity: 0;
    z-index: 1000;
}

.map-modal .tsb .scrollbar {
    position: absolute;
    right: -10px;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

/*
    IE10-specific fixes
    These might also be in ie-only.css for IE9.
*/
html[data-useragent*='MSIE 10'] .map-modal {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
