/* map container */

.mapsvg {
    /* set map height to 100px for a preloader message - */
    /* real height will be set later by MapSVG */
    height: 100px;
    position : relative;
}
.mapsvg-wrap *, .mapsvg * {
    outline: none !important;
}
.mapsvg svg {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*overflow: visible !important;*/
    max-width: none !important;
    max-height: none !important;
    width: 100%;
    height: 100%;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
}
.mapsvg.mapsvg-responsive {
    width: 100%;
    height: auto;

}
.mapsvg.mapsvg-cursor-pointer .mapsvg-region {
    cursor: pointer;
}


/* preloader */
.mapsvg-loading {
    position: absolute;
    top:  50%;
    left: 50%;
    font-size: 12px !important;
    z-index: 1;
    padding: 7px 10px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border: 1px solid #ccc;
    background: #f5f5f2;
    color: #999    
}

/* disabled regions */
.mapsvg-disabled {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    pointer-events: none;  
    cursor: default;
}

/* zoom buttons */
.mapsvg-buttons {
    position: absolute;
    margin: 15px;
    top: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}
.mapsvg-buttons.right {
    right: 0;
}
.mapsvg-buttons.left {
    left: 0;
}
.mapsvg-btn-zoom {
    width: 20px;
    height: 20px;
    border-radius: 3px; 
    display: block; 
    margin-bottom: 7px;  
    cursor: pointer;
    position: relative;
    background-color: #bbb;
    padding: 0;
}
.mapsvg-btn-zoom:hover {
    background-color: #eee;
}
.mapsvg-btn-zoom.in:before, .mapsvg-btn-zoom.out:before {
    content: '';
    display: block;
    position: absolute;
    top: 9px;
    left: 4px;
    background-color: white;
    height: 2px;
    width: 12px;
    pointer-events: none;
}
.mapsvg-btn-zoom.in:after {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 9px;
    background-color: white;
    height: 12px;
    width: 2px;
    pointer-events: none;
}

/* zoom buttons for mobile screens */
@media (max-width: 767px){
    .mapsvg-btn-zoom:hover {
        background-color: #bbb;
    }
    .mapsvg-btn-zoom {
        width: 30px;
        height: 30px;
        margin-bottom: 10px;
    }
    .mapsvg-btn-zoom.in:before, .mapsvg-btn-zoom.out:before {
        top: 14px;
        left: 5px;
        height: 2px;
        width: 20px;
    }
    .mapsvg-btn-zoom.in:after {
        top: 5px;
        left: 14px;
        height: 20px;
        width: 2px;
    }
}

/* tooltips */
.mapsvg-tooltip {
    font-weight: normal;
    font-size: 12px;
    font-family: Helvetica, Arial;
    color: #000000;
    position: absolute;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    z-index: 999999;
    background-color: white;
    border: 1px solid #eee;
    padding: 4px 7px;
    max-width: 600px;
    opacity: 0;
    -webkit-transition: opacity .15s ease-in;
    -moz-transition: opacity .15s ease-in;
    -ms-transition: opacity .15s ease-in;
    -o-transition: opacity .15s ease-in;
    transition: opacity .15s ease-in;
    pointer-events: none;
    text-align: left;
}
.mapsvg-tooltip.mapsvg-tooltip-visible {
    opacity: 1;
}

/* popovers */
.mapsvg-popover .mapsvg-popover-close {
    position: absolute;
    top: 0;
    right : 3px;
    cursor: pointer;
    color: #aaa;
    z-index : 1200;
    font-size: 14px;
    font-weight: normal;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.mapsvg-popover .mapsvg-popover-content {
    /*max-height: 400px;*/
    overflow-y: scroll;
}
.mapsvg-popover {
    background-color: rgba(255,255,255, 1);
    border-radius: 5px;
    /*bottom: 42px;*/
    box-shadow: 0 4px 15px 1px rgba(0, 0, 0, 0.5);
    color: #000;
    display: none;
    font-size: 12px;
    font-family: 'Helvetica',sans-serif;
    /*left: -95px;*/
    padding: 15px 10px 7px 10px;
    position: absolute;
    /*max-width: 500px;*/
    min-width: 100px;
    /*min-height: 80px;*/
    transform: translate(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    z-index: 2;
}
.mapsvg-popover:before {
    border-top: 7px solid rgba(255,255,255, 1);
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    bottom: -7px;
    content: '';
    display: block;
    left: 50%;
    margin-left: -7px;
    position: absolute;
}
.mapsvg-popover.mapsvg-popover-visible {
    display: block;
}
.mapsvg-popover.mapsvg-popover-animate {
    -webkit-animation: fade-in .2s linear 1 ; /* , move-up .2s ease-out */
    -moz-animation: fade-in .2s linear 1; /* , move-up .2s ease-out */
    -ms-animation: fade-in .2s linear 1; /* , move-up .2s ease-out */
}

/* gauge (used for "choropleth" maps) */
.mapsvg-gauge {
    background-color: #ffffff;
    border-radius: 3px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    max-width: 50%;
    min-width: 10%;
    /*z-index: 1;*/
    font-size: 11px !important;
    line-height: 15px !important;
    color: #666666;
    padding: 0px 0px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.5);
}
.mapsvg-gauge table {
    width: auto;
    margin: 0;
    border: 0;
    padding: 0;
}
.mapsvg-gauge .mapsvg-gauge-gradient {
    min-width: 100px;
}
.mapsvg-gauge table tr {
    border :0 !important;
}
.mapsvg-gauge table td {
    padding: 2px 7px;
    border: 0 !important;
}

/* directory */
.mapsvg-wrap {
    position: relative;
    /*padding-left: 250px;*/
}
.mapsvg-wrap .mapsvg-directory {
    display: flex;
    flex-flow: column;
    max-height: 100%;
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    background-color: #f5f5f5;
}
.mapsvg-wrap .mapsvg-directory.mapsvg-directory-right {
    left: auto;
    right: 0;
}
.mapsvg-details-container > div {
    background-color: #fafafa;
}
.mapsvg-controller-view {
    position: relative;
    height: 100%;
    pointer-events: auto;
    border-right: 1px solid #eee;
}

.mapsvg-controller-view-wrap.nano {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.mapsvg-controller-view-content {
    padding: 15px;
    box-sizing: border-box;
}
.mapsvg-details-container .mapsvg-controller-view-content {
    padding-top: 0;
}
.mapsvg-mobile-buttons {
    height: 50px;
    background-color: #eee;
    position: relative;
    display: none;
}
.mapsvg-button-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    left: 50%;
    bottom: 0;
    /*height: 30px;*/
    line-height: 50px;
    /*width: 32px;*/
    /*height: 32px;*/
    /*padding: 2px 6px;*/
    cursor: pointer;
    /*background-color: rgb(187,187,187);*/
    /*border-radius: 3px;*/
    color: #222;
    text-align: center;
    border: 1px solid #ddd;

}
.mapsvg-button-map {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    right: 50%;
    bottom: 0;
    /*height: 30px;*/
    line-height: 50px;
    /*width: 32px;*/
    /*height: 32px;*/
    /*padding: 2px 6px;*/
    cursor: pointer;
    /*background-color: rgb(187,187,187);*/
    /*border-radius: 3px;*/
    color: #444;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-right: 0;
}
.mapsvg-button-menu:hover, .mapsvg-button-map:hover {
    background-color: #e2e2e2;
}
.mapsvg-button-menu.active, .mapsvg-button-map.active {
    background-color: #ccc;
    border-color: #ccc;
    color: #fff;
}

.mapsvg-directory-search-wrap-margin {
    position: relative;
    height: 34px;
}
.mapsvg-directory-search {
    height: 34px;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 3px 15px 3px 15px;
    font-weight: normal;
    /*position: absolute;*/
    /*left: 7px;*/
    /*top: 7px;*/
    /*right: 7px;*/
    /*bottom: 7px;*/
    width: 100%;
}
.mapsvg-directory-search {
    position: absolute;
    top: 0;
    right: 0;
    left:0 ;
    bottom: 0;
    display:block;
    box-sizing:border-box;
}
.mapsvg-filter-btn-ok {
    display: none;
}


@media (max-width: 767px){
    .mapsvg-popover {
        padding-top: 20px;
    }
    .mapsvg-popover.mapsvg-popover-fullscreen {
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        border: 1px solid #e5e5e5;
        border-radius: 0;
        box-shadow: none;
    }
    .mapsvg-popover.mapsvg-popover-fullscreen.mapsvg-popover-animate {
        -webkit-transition: none !important;
        -moz-transition: none !important;
        -ms-transition: none !important;
        -o-transition: none !important;
        transition: none !important;
    }
    .mapsvg-popover.mapsvg-popover-fullscreen:before {
        display: none !important;
    }
    .mapsvg-popover-close {
        font-size: 20px !important;
        top: 5px !important;
        right: 5px !important;
        line-height: 20px !important;
    }

    .mapsvg-mobile-buttons {
        display: block;
    }
    .mapsvg-button-map, .mapsvg-button-menu  {
        display: block;
    }

    .mapsvg-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .mapsvg-wrap .mapsvg-directory {
        width: 100% !important;
    }
    /* switch "near" to "over" on mobiles */
    .mapsvg-details-view {
        left: 0 !important;
        width: 100% !important;
    }
    .mapsvg-details-container.near {
        z-index: 3 !important;
        left: 0 !important;
    }
    .mapsvg-controller-view {
        width: 100% !important;
    }
    .mapsvg-directory.closed {
        /*left: -100%;*/
        display: none;
    }
}



.mapsvg-directory-list-wrap:after,
.mapsvg-details-view:after
{
    /*box-shadow: 15px 0 15px -15px rgba(0,0,0,.5) inset;*/
    content: " ";
    height: 100%;
    position: absolute;
    right: -15px;
    width: 15px;
    top: 0;
}

.mapsvg-directory-search:active,
.mapsvg-directory-search:focus {
    border: 1px solid #eee !important;
}
.mapsvg-directory-search:focus,
.mapsvg-directory-search:active
{
    outline: 0 !important;
    -webkit-appearance:none !important;
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.mapsvg-directory-list-wrap {
    /*box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .3);*/
    border-right: 1px solid #e5e5e5;
    max-height: 100%;
    flex: 1 0;
    z-index: 1;
    background: #fafafa;
    position: relative;
    height: 48px;
}
.mapsvg-directory-list {
    overflow-y: scroll;
    position: absolute !important;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
}

.mapsvg-directory-item {
    display: block;
    cursor: pointer;
    padding: 10px;
}
.mapsvg-directory-item:hover {
    background: rgba(0,0,0,.05);
}

.mapsvg-directory-item:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.mapsvg-wrap .mapsvg {
    flex: 1 0;
    min-width: 0; /* firefox flex fix */
}

.mapsvg-directory {
    min-width: 0; /* firefox flex fix */
    /*background-color: #fafafa;*/
    position: relative;
    z-index: 2;
    -webkit-font-smoothing: antialiased;
}
.mapsvg-directory.closed {
    /*left: -100%;*/
    /*display: none;*/
}
.mapsvg-directory.closed .mapsvg-directory-list-wrap {
    /*left: -100%;*/
}
.mapsvg-directory.mapsvg-directory-overlapping .mapsvg-details-view {
    box-shadow: none;
}

.mapsvg-directory ul {
    margin: 0;
}
.mapsvg-directory li {
    list-style: none;
}
.mapsvg-directory-filter-wrap {
    padding-top: 7px;
}
.mapsvg-directory-filter-wrap:first-child {
    padding-top: 0;
}
.mapsvg-directory-filter-wrap:empty {
    display: none;
}
.mapsvg-filter-tag {
    background: #ddd;
    color: #666;
    display: inline-block;
    padding: 0 8px;
    line-height: 27px;
    border-radius: 5px;
    font-size: 13px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.mapsvg-filter-delete {
    display: inline-block;
    color: #444;
    font-size: 16px;
    padding-left: 3px;
}
.mapsvg-filter-delete:hover {
    color: #999;
    cursor: pointer;
}
.mapsvg-directory-search-wrap {
    /*min-height: 34px;*/
    box-sizing: border-box;
    position: relative;
}
/* details view */
/*.mapsvg-directory .mapsvg-details-container {*/
.mapsvg-details-container {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}
.mapsvg-details-container.near {
    z-index: 3;
    pointer-events: none;
}
.mapsvg-details-container.top {
    z-index: 3;
    pointer-events: none;
}
/*.mapsvg-directory.mapsvg-directory-overlapping .mapsvg-details-container {*/
.mapsvg-details-container {
}
.mapsvg-details-container:empty {
    display: none;
}

.mapsvg-details-view {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #fafafa;
    padding: 10px;
    -webkit-font-smoothing: antialiased;
    background-color: #fafafa;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
.over .mapsvg-details-view {
    opacity: 0;
}

.mapsvg-details-view-toolbar {
    position: relative;
    height: 25px;
}
.mapsvg-details-view.mapsvg-over {
    left: 0;
    width: 100%;
    z-index: 2;
}
.mapsvg-details-view.mapsvg-over:after {

    box-shadow: none !important;
}
.mapsvg-details-view.mapsvg-near {
    /*box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, .3);*/
    /*left: 100%;*/
    width: 100%;
    z-index: -1;
}
.mapsvg-details-view-content.nano {
    position: absolute;
    top: 35px;
    bottom: 0px;
    left: 10px;
    right: 0px;
}
.mapsvg-details-view-content.nano .nano-content {
    right: 15px;
}
.mapsvg-controller-view-toolbar {
    padding: 7px;
    box-sizing: border-box;
}
.mapsvg-controller-view-toolbar:empty {
    display: none;
}
.mapsvg-controller-view-toolbar:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.mapsvg-details-close {
    cursor: pointer;
    background: url('../img/close.png');
    background-size: cover;
    width: 25px;
    height: 25px;
    display: block;
    position: relative;
    float: right;
}
.mapsvg-details-close:hover {
    opacity: .6;
}
.mapsvg-details-back {
    left: 0;
    right: auto;
    cursor: pointer;
    background: url('../img/left.png');
    background-size: cover;
    width: 25px;
    height: 25px;
}

/* markers */
.mapsvg-marker {
    cursor: pointer;
    position: absolute;
}

/* make svg text objects "transparent" for mouse pointer */
.mapsvg text, .mapsvg tspan {
    pointer-events: none;
}

/* layers*/
.mapsvg-layer {}

/* pagination  (bootstrap styles) */
.mapsvg-pagination .pager {
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none;
}
.mapsvg-pagination .pager li {
    display: inline-block;
    margin: 0 2px;
}
.mapsvg-pagination .pager li > a,
.mapsvg-pagination .pager li > span {
    display: inline-block;
    padding: 5px 14px;
    line-height: 1.5;
    font-family: Helvetica;
    box-shadow: none;
    text-decoration: none;
    font-size: 13px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
}
.mapsvg-pagination .pager li > a:hover,
.mapsvg-pagination .pager li > a:focus {
    text-decoration: none;
    background-color: #eee;
}
.mapsvg-pagination .pager .next > a,
.mapsvg-pagination .pager .next > span {
    float: right;
}
.mapsvg-pagination .pager .previous > a,
.mapsvg-pagination .pager .previous > span {
    float: left;
}
.mapsvg-pagination .pager .disabled > a,
.mapsvg-pagination .pager .disabled > a:hover,
.mapsvg-pagination .pager .disabled > a:focus,
.mapsvg-pagination .pager .disabled > span {
    color: #ccc;
    cursor: not-allowed;
    background-color: #fff;
}
.mapsvg-pagination li.disabled {
    pointer-events: none;
}

/* Pagination when directory is switched off */
.mapsvg > .mapsvg-pagination {
    position: absolute;
    bottom: 10px;
    left: 7px;
}
.mapsvg > .mapsvg-pagination ul {
    margin: 0;
}


.mapsvg-filter-label:empty {
    display: none;
}
#mapsvg-admin .mapsvg-filter-label:empty {
    display: block !important;
}

.mapsvg-marker-hidden {
    /*display: none;*/
    opacity: 0.4;
    pointer-events: none;
}
.mapsvg-marker-visible {
    display: block !important;
}



/* animations */
@-webkit-keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-moz-keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-ms-keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-webkit-keyframes move-up {
    from {
        -webkit-transform: translateY(-30px);
    }
    to {
        -webkit-transform: translateY(0px);
    }
}
@-moz-keyframes move-up {
    from {
        -moz-transform: translateY(-30px);
    }
    to {
        -moz-transform: translateY(0px);
    }
}
@-ms-keyframes move-up {
    from {
        -ms-transform: translateY(-30px);
    }
    to {
        -ms-transform: translateY(0px);
    }
}

.slide-in {
    animation: slide-in .3s forwards;
    -webkit-animation: slide-in .2s forwards;
}

.slide-out {
    animation: slide-out .3s forwards;
    -webkit-animation: slide-out .2s forwards;
}
.slide-in {
    animation: slide-in .3s forwards;
    -webkit-animation: slide-in .2s forwards;
}

.slide-out {
    animation: slide-out .3s forwards;
    -webkit-animation: slide-out .2s forwards;
}

@keyframes slide-in {
    0% { left: 0;  }
    100% { left: 100%; }
}

@-webkit-keyframes slide-in {
    0% { left: 0;  }
    100% { left: 100%; }
}

@keyframes slide-out {
    0% { left: 100%;  }
    100% { left: 0%; }
}

@-webkit-keyframes slide-out {
    0% { left: 100%;  }
    100% { left: 0%; }
}


/* ICONS */

@font-face {
    font-family: 'mapsvg-icons';
    src: url('font/mapsvg-icons.eot?98971180');
    src: url('font/mapsvg-icons.eot?98971180#iefix') format('embedded-opentype'),
    url('font/mapsvg-icons.woff2?98971180') format('woff2'),
    url('font/mapsvg-icons.woff?98971180') format('woff'),
    url('font/mapsvg-icons.ttf?98971180') format('truetype'),
    url('font/mapsvg-icons.svg?98971180#mapsvg-icons') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'mapsvg-icons';
    src: url('../font/mapsvg-icons.svg?98971180#mapsvg-icons') format('svg');
  }
}
*/

[class^="mapsvg-icon-"]:before, [class*=" mapsvg-icon-"]:before {
    font-family: "mapsvg-icons";
    font-style: normal;
    font-weight: normal;
    speak: none;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.mapsvg-icon-menu:before { content: '\f0c9'; } /* '' */
.mapsvg-icon-map:before { content: '\f278'; } /* '' */


