/*Gmaps styles start*/
.google_map { }

    .google_map .vertical_border,
    .google_map .corner {
        background-image: url(/static/blocks/maps/sprite.corners.vertical.borders.png);
    }

    .google_map .horizontal_border {
        background-image: url(/static/blocks/maps/sprite.horizontal.borders.png);
    }

        .google_map .corner {
            width: 14px; height: 14px;
            background-repeat: no-repeat;
            position: absolute;
            z-index: 65;
        }
            .google_map .corner.lt {
                background-position: -46px 0;
            }
            .google_map .corner.rt {
                background-position: 0 0;
            }
            .google_map .corner.lb {
                background-position: -30px 0;
            }
            .google_map .corner.rb {
                background-position: -16px 0;
            }
        .google_map .vertical_border {
            width: 2px;
            background-repeat: repeat-y;
            position: absolute;
            z-index: 62;
        }
            .google_map .vertical_border.left {
                background-position: -44px 0;
            }
            .google_map .vertical_border.right {
                background-position: -14px 0;
            }

        .google_map .horizontal_border {
            background-repeat: repeat-x;
            position: absolute;
            z-index: 62;
        }
            .google_map .horizontal_border.top {
                background-position: 0 0;
                height: 3px;
            }
            .google_map .horizontal_border.bottom {
                background-position: 0 -4px;
                height: 1px;
            }

    /*standart borders-corners*/
    .google_map.styled {position: relative; left: 0px; top: 0px;}

        .google_map.styled .corner.lt {
            left: 0px; top: 0px;
        }
        .google_map.styled .corner.rt {
            right: 0px; top: 0px;
        }
        .google_map.styled .corner.lb {
            left: 0px; bottom: 0px;
        }
        .google_map.styled .corner.rb {
            right: 0px; bottom: 0px;
        }
        /*позиционирование слева и сверху определяет скрипт*/
        .google_map.styled .vertical_border.left {
            left: 0px;
        }
        .google_map.styled .vertical_border.right {
            right: 0px;
        }
        .google_map.styled .horizontal_border.top {
            top: 0px;
        }
        .google_map.styled .horizontal_border.bottom {
            bottom: 0px;
        }

    .google_map .controls {
        background-color: #a6b0bb;
        height: 18px;
        position: relative;
        left: 0px; top: 0px;
        margin: 0px;
    }
        .google_map .controls .icon {
            background-image: url('/static/blocks/maps/sprite.controls.png');
        }
            .google_map .controls .icon.expand {
                background-repeat: no-repeat;
                width: 9px; height: 9px;
                background-position: 0 0;
                position: absolute;
                left: 50%;
                top: 5px;
                margin-left: -4px;
            }
            .google_map.collapsed .controls .icon.expand {
                background-position: 0 -9px;
            }

/*Dest map*/
    .google_map.user .canvas,
    .google_map.city .canvas,
    .google_map.destination .canvas,
    .google_map.turbina_world .canvas {
        height: 500px;
    }

    .google_map.user .controls,
    .google_map.city .controls,
    .google_map.destination .controls,
    .google_map.turbina_world .controls {
        cursor: pointer;
    }

    .google_map.user.collapsed,
    .google_map.city.collapsed,
    .google_map.destination.collapsed {
        position: relative;
        left: 0px; top: 0px;
    }
        .google_map.user .fade,
        .google_map.city .fade,
        .google_map.destination .fade {
            display: none;
        }
        .google_map.user.collapsed .fade,
        .google_map.city.collapsed .fade,
        .google_map.destination.collapsed .fade {
            display: block;
            background-color: #fff;
            opacity: 0.5;
            width: 100%;
            height: 80px;
            position: absolute;
            left: 0px; top: 0px;
            cursor: pointer;
        }
        .google_map.user.collapsed .fade:hover,
        .google_map.city.collapsed .fade:hover,
        .google_map.destination.collapsed .fade:hover {
            opacity: 0.2;
        }
        .google_map.user.collapsed .canvas,
        .google_map.city.collapsed .canvas,
        .google_map.destination.collapsed .canvas {
            height: 80px;
        }
        .google_map.user .filter,
        .google_map.city .filter,
        .google_map.destination .filter {
            display: block;
            position: absolute;
            right: 20px;
            top: 20px;
            z-index: 200;
            border-radius: 10px;
        }
            .google_map.user.collapsed .filter,
            .google_map.city.collapsed .filter,
            .google_map.destination.collapsed .filter {
                display: none;
            }

    /*добавление направлений пользователя*/
    .google_map.user .add_destinations {
        background-color: #A6B0BB;
        padding: 10px 0px 0px 10px;
        position: relative; left: 0px; top: 0px;
    }
    .google_map.user .add_destinations div.selector_box {
        background-color: #fff;
        background-color: white;
        padding: 5px 0px 5px 10px;
        border-radius: 5px;
        position: relative;
        top: 4px; left: 0px;
    }
        .google_map.user .add_destinations .inline_selector {
            display: inline-block;
            padding-right: 26px;
            color: #EC5E00;
        }
        .google_map.user .add_destinations .inline_selector .aj_link {
            border-bottom-color: #EC5E00;
        }
        .google_map.user .add_destinations .inline_selector .options {
            z-index: 67;
        }
        .google_map.user .add_destinations .inline_selector ul {
            list-style: none;
            margin: 0;
            padding: 3px 4px 4px 4px;
        }
            .google_map.user .add_destinations .inline_selector ul li {
                white-space: nowrap;
                cursor: pointer;
                margin: 0px;
                padding: 4px;
                border-radius: 3px;
            }
            .google_map.user .add_destinations .inline_selector ul li:hover {
                background-color: #EFEFEF;
            }
            .google_map.user .add_destinations .inline_selector ul li:hover .aj_link {
                color: #FB2222;
                border-bottom-color: #FB2222;
            }

            .google_map.user.collapsed .add_destinations {
                display: none;
            }
            .google_map.user .add_destinations input {
                font-size: 18px; padding: 5px;
                width: 200px;
                margin-left: 10px;
            }

    /*фильтр для объектной карты*/
    .google_map .filter {
        width: 196px;
        background-color: #fff;
        position: relative;
        font-size: 13px;
        padding: 1px 0px;
        color: black;
        border: 1px solid #ed7d31;
        border-image: initial;
    }
    .google_map .filter ul li label {
        font-size: 11px;
    }
        .google_map .filter .caption {
            cursor: pointer;
        }
        .google_map .filter.city .caption {
            padding:  5px 14px 5px 14px;
            text-align: left;
            position: relative;
            left: 0px; top: 0px;
        }
        
        .google_map .filter.city .caption:not(.map-legend-hide) .map-legend-arrow {
            position: absolute;
            right: -1px;
            bottom: -1px;
            width: 28px;
            height: 42px;
            background-image: url('/static/icons/map_legend_toggle_up.png');
            background-size: cover;
        }
        
        .google_map .filter.city .caption.map-legend-hide .map-legend-arrow {
            position: absolute;
            right: -1px;
            top: -2px;
            width: 28px;
            height: 42px;
            background-image: url('/static/icons/map_legend_toggle_down.png');
            background-size: cover;
        }
       
        .google_map .filter.user ul {
            padding-top: 15px;
            border-top: 1px solid #ed7d31;
            list-style-type: none;
            margin: 0px;
            padding-left: 12px;
        }
            .google_map .filter.user ul li {
                float: left;
                padding: 3px 12px 3px 17px;
                position: relative;left: 0px;
            }
                .google_map .filter.user ul li img {
                    position: absolute;
                    left: -17px; top: 2px;
                }
                .google_map .filter.user ul li img.checked {
                    top: 1px;
                }


        .google_map .filter.city ul {
            list-style-type: none;
            margin: 0px;
            display: block;
            padding: 0px 15px 5px 15px;
        }

        .google_map .filter.city > ul {
            list-style-type: none;
            margin: 0px;
            display: block;
            padding: 15px 15px 5px 15px;
            border-top: 1px solid #ed7d31;
        }

        .google_map .filter.city ul.city_map_checkbox {
            border-top: 1px solid #ed7d31;
            padding: 15px 15px 0px 35px;
        }
        .google_map .filter.city .extra_filter ul {
            padding: 0px 15px 2px 15px;
        }
        .google_map .filter.city .extra_filter ul li label {
            margin-top: 3px;
        }
         .google_map .filter.city .extra_filter ul li input {
            display: inline-block;
            margin-right: 5px;
         }
         .google_map .filter.city ul.city_map_checkbox li label {
             margin-top: 0px;
         }
            .google_map .filter.city ul li {
                padding-bottom: 5px;
            }
            .google_map .filter.city ul li label {
                display: inline-block;
                margin-top: 8px;
            }
        .google_map .filter.city:hover ul {
            display: block;
        }
            .google_map .filter label {
                cursor: pointer;
                position: relative;
                left: 0px; top: 0px;
            }
            .google_map .filter.user .checkbox,
            .google_map .filter.city .checkbox {
                width: 13px; height: 13px;
                background-image: url(/static/blocks/maps/sprite.filter.elements.gif);
                background-repeat: no-repeat;
            }
            .google_map .filter.city .checkbox {
                position: absolute; left: -20px; top: 2px;
            }

                .google_map .filter .checkbox.checked {
                    width: 15px; height: 14px;
                    top: 1px;
                }

                .google_map .filter.city .theme_1 label,
                .google_map .filter.user .type_was label {color: #174edb;}
                .google_map .filter.city .theme_1 .checkbox,
                .google_map .filter.user .type_was .checkbox {
                    background-position: -26px -25px;
                }
                    .google_map .filter.city .theme_1 .checkbox.checked,
                    .google_map .filter.user .type_was .checkbox.checked {
                        background-position: -3px -24px;
                    }

                .google_map .filter.city .theme_2 label {color: #fa8100;}
                .google_map .filter.city .theme_2 .checkbox {
                    background-position: -26px -3px;
                }
                    .google_map .filter.city .theme_2 .checkbox.checked {
                        background-position: -3px -2px;
                    }

                .google_map .filter.city .theme_3 label,
                .google_map .filter.user .type_write label,
                .google_map .filter.city .theme_un label {color: #21b903;}

                .google_map .filter.city .theme_3 .checkbox,
                .google_map .filter.user .type_write .checkbox,
                .google_map .filter.city .theme_un .checkbox {
                    background-position: -26px -47px;
                 }
                    .google_map .filter.city .theme_3 .checkbox.checked,
                    .google_map .filter.user .type_write .checkbox.checked,
                    .google_map .filter.city .theme_un .checkbox.checked {
                        background-position: -3px -46px;
                    }

                .google_map .filter.city .theme_4 label {color: #d107d3;}
                .google_map .filter.city .theme_4 .checkbox {
                    background-position: -26px -69px;
                }
                    .google_map .filter.city .theme_4 .checkbox.checked {
                        background-position: -3px -68px;
                    }
                
                .google_map .filter.city .theme_5 label {color: #ffc000;}
                .google_map .filter.city .theme_5 .checkbox {
                    background-position: -26px -3px;
                }
                    .google_map .filter.city .theme_5 .checkbox.checked {
                        background-position: -3px -2px;
                    }

                .google_map .filter.user .type_want label {color: #e8be06;}
                .google_map .filter.user .type_want .checkbox {
                    background-position: -26px -113px;
                }
                    .google_map .filter.user .type_want .checkbox.checked {
                        background-position: -3px -112px;
                    }

                .google_map .filter.user .type_live label {color: #fb2222;}
                .google_map .filter.user .type_live .checkbox {
                    background-position: -26px -91px;
                }
                    .google_map .filter.user .type_live .checkbox.checked {
                        background-position: -3px -90px;
                    }

                .google_map .filter.user .user_map_tooltip {
                    color: #999;
                    font-size: 11px;
                    padding-left: 12px;
                    padding-right: 12px;
                    padding-bottom: 4px;
                    font-weight: normal;
                    padding-top: 2px;
                    text-align: right;
                }


    /*кластеры на карте*/
    .google_map .cluster {
        color: white;
        text-align: center;
        position: relative;
    }
        .google_map .cluster span {
            position: absolute;
            left: 50%;
            margin-left: -10px;
            width: 20px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            border-radius: 20px;
            font-weight: bold;
            background-color: rgba(0,0,0,0.5);
        }

    .google_map .cluster.objects {
        background-image: url(/static/blocks/maps/sprite.icons.themes.png);
        background-repeat: no-repeat;
    }
        .google_map .cluster.objects.count_0 span {
            top: 15px;
            font-size: 12px;
        }
        .google_map .cluster.objects.count_1 span {
            top: 15px;
            font-size: 12px;
        }
        .google_map .cluster.objects.count_2 span {
            top: 15px;
            font-size: 12px;
        }
        .google_map .cluster.objects.count_0 {
            width: 37px;
            height: 36px;
        }
        .google_map .cluster.objects.count_1 {
            width: 40px;
            height: 40px;
        }
        .google_map .cluster.objects.count_2 {
            width: 45px;
            height: 44px;
        }

        .google_map .cluster.objects.thematic_1.count_0 {
            background-position: -40px -60px;
        }
        .google_map .cluster.objects.thematic_1.count_1 {
            background-position: -82px -60px;
        }
        .google_map .cluster.objects.thematic_1.count_2 {
            background-position: -127px -60px;
        }

        .google_map .cluster.objects.thematic_2.count_0 {
            background-position: -40px -116px;
        }
        .google_map .cluster.objects.thematic_2.count_1 {
            background-position: -82px -116px;
        }
        .google_map .cluster.objects.thematic_2.count_2 {
            background-position: -127px -116px;
        }

        .google_map .cluster.objects.thematic_3.count_0 {
            background-position: -40px -5px;
        }
        .google_map .cluster.objects.thematic_3.count_1 {
            background-position: -82px -5px;
        }
        .google_map .cluster.objects.thematic_3.count_2 {
            background-position: -127px -5px;
        }

        .google_map .cluster.objects.thematic_un.count_0 {
            background-position: -319px -0px;
            width: 42px;
            height: 44px;
        }
        .google_map .cluster.objects.thematic_un.count_0 span {
            margin-top: 7px;
            margin-left: -14px;
        }
        .google_map .cluster.objects.thematic_un.count_1 {
            background-position: -360px -0px;
            width: 46px;
            height: 47px;
        }
        .google_map .cluster.objects.thematic_un.count_1 span {
            margin-left: -12px;
            margin-top: 10px;
        }
        .google_map .cluster.objects.thematic_un.count_2 {
            background-position: -405px 0px;
            width: 51px;
            height: 52px;
        }
        .google_map .cluster.objects.thematic_un.count_2 span {
            margin-left: -13px;
            margin-top: 15px;
        }
        .google_map .cluster.objects.thematic_4.count_0 {
            background-position: -40px -172px;
        }
        .google_map .cluster.objects.thematic_4.count_1 {
            background-position: -82px -172px;
        }
        .google_map .cluster.objects.thematic_4.count_2 {
            background-position: -127px -172px;
        }

    .google_map .cluster.points {
        background-image: url(/static/blocks/maps/sprite.icons.points.png);
        background-repeat: no-repeat;
        font-size: 11px;
        z-index: 300;
    }
        .google_map .cluster.points.count_1 span {
            top: 5px;
        }
        .google_map .cluster.points.count_2 span {
            top: 5px;
        }

        .google_map .cluster.points.count_1 {
            width: 39px;
            height: 24px;
        }
        .google_map .cluster.points.count_2 {
            width: 52px;
            height: 24px;
        }

        .google_map .cluster.points.type_was.count_1 {
            background-position: -34px -112px;
        }
        .google_map .cluster.points.type_want.count_1 {
            background-position: -34px -78px;
        }
        .google_map .cluster.points.type_write.count_1 {
            background-position: -34px -44px;
        }

        .google_map .cluster.points.type_was.count_2 {
            background-position: -73px -112px;
        }
        .google_map .cluster.points.type_want.count_2 {
            background-position: -73px -78px;
        }
        .google_map .cluster.points.type_write.count_2 {
            background-position: -73px -44px;
        }

    /*окно информации на карте*/
    .gmap_info_box {
        cursor: default;
        width: auto;
        max-width: 400px;
        min-width: 200px;
        background-color: #fff;
        border-radius: 5px;
        -moz-box-shadow: 1px 1px 6px #969696;
        -webkit-box-shadow: 1px 1px 6px #969696;
        box-shadow: 1px 1px 6px #969696;
    }
    .gmap_info_box .boxBody {
        padding: 10px;
    }

    .gmap_info_box .ui-icon-closethick {
        position: absolute;
        right: -12px;
        top: -12px;
        cursor: pointer;
    }
        .gmap_info_box .caption {
            font-size: 18px;
            position: relative;
            left: 0px; top: 0px;
        }
        .gmap_info_box .caption.object {
            margin-top: 5px;
            margin-bottom: 10px;
            margin-left: 30px;
        }
        .gmap_info_box .caption.object.unesco_object {
             margin-left: 40px;
             margin-bottom: 15px;
        }
            .gmap_info_box .map_object_photo{
                margin-top: 5px;
                padding-top: 10px;
            }
            .gmap_info_box .map_object_count {
                color: #026987;
            }
            .gmap_info_box .map_object_lat_lng {
                margin-top: 5px; padding-top: 5px;
            }
            .gmap_info_box .caption .marker {
                position: absolute;
            }

            .gmap_info_box .caption.geo {
                margin-left: 18px;
            }
            .gmap_info_box .caption.geo.big {
                margin-left: 28px;
                line-height: 28px;
            }
            .gmap_info_box .caption.geo.superbig {
                margin-left: 38px;
                line-height: 40px;
            }
            /*.gmap_info_box .caption.geo a {
                margin-left: 18px;
                делаем margin для всего блока, для выравнивания по левому краю
            }*/
                .gmap_info_box .caption.geo .marker {
                    left: -24px;
                    top: -5px;
                    width: 20px;
                    height: 25px;
                }

                .gmap_info_box .caption.geo.big .marker {
                    left: -29px;
                    top: 0px;
                    width: 24px;
                    height: 30px;
                }

                .gmap_info_box .caption.geo.superbig .marker {
                    left: -42px;
                    top: -5px;
                    width: 39px;
                    height: 47px;
                }


                .gmap_info_box .caption.user_destination {
                    margin-left: 20px;
                }
                    /*.gmap_info_box .caption.user_destination a,
                    .gmap_info_box .caption.user_destination span {
                        margin-left: 20px;
                        делаем margin для всего блока, для выравнивания по левому краю
                    }*/
                .gmap_info_box .caption.user_destination .marker {
                    background-image: url(/static/blocks/maps/sprite.icons.points.png);
                    background-repeat: no-repeat;
                    left: -28px;
                    top: -2px;
                    width: 25px;
                    height: 24px;
                }
                    .gmap_info_box .caption.user_destination .marker.type_live {
                        background-position: -9px -10px;
                    }
                    .gmap_info_box .caption.user_destination .marker.type_was {
                        background-position: -9px -112px;
                    }
                    .gmap_info_box .caption.user_destination .marker.type_write {
                        background-position: -9px -44px;
                    }
                    .gmap_info_box .caption.user_destination .marker.type_want {
                        background-position: -9px -78px;
                    }

                .gmap_info_box .caption.object .marker {
                    background-image: url(/static/blocks/maps/sprite.icons.themes.png);
                    background-repeat: no-repeat;
                    left: -35px;
                    top: -5px;
                    width: 30px;
                    height: 33px;
                }
                    .gmap_info_box .caption.object .marker.theme_1 {
                        background-position: -5px -60px;
                    }
                    .gmap_info_box .caption.object .marker.theme_2 {
                        background-position: -5px -116px;
                    }
                    .gmap_info_box .caption.object .marker.theme_3 {
                        background-position: -5px -5px;
                    }
                    .gmap_info_box .caption.object .marker.theme_un {
                        left: -45px;
                        top: -10px;
                        width: 40px;
                        height: 45px;
                        background-position: -506px 0px;
                    }
                    .gmap_info_box .caption.object .marker.theme_4 {
                        background-position: -5px -172px;
                    }

                    .gmap_info_box .caption.object .marker.theme_5 {
                        background-position: -5px -226px;
                    }
                .gmap_info_box .caption.object a { }

                .gmap_info_box .caption.one_object {
                    margin-left: 41px;
                    min-height: 40px;
                }
                .gmap_info_box .caption.one_object .marker {
                    background-image: url(/static/blocks/maps/sprite.icons.themes.png?3);
                    background-repeat: no-repeat;
                    left: -46px;
                    top: -5px;
                    width: 38px;
                    height: 41px;
                }
                    .gmap_info_box .caption.one_object .marker.theme_1 {
                        background-position: -230px -60px;
                    }
                    .gmap_info_box .caption.one_object .marker.theme_2 {
                        background-position: -230px -116px;
                    }
                    .gmap_info_box .caption.one_object .marker.theme_3 {
                        background-position: -230px -5px;
                    }
                    .gmap_info_box .caption.one_object .marker.theme_un {
                        width: 40px;
                        height: 45px;
                        background-position: -506px 0px;
                    }
                    .gmap_info_box .caption.one_object .marker.theme_4 {
                        background-position: -230px -172px;
                    }
                    .gmap_info_box .caption.one_object .marker.theme_5 {
                        background-position: -230px -231px;
                    }

                .gmap_info_box .caption.one_object a,
                .gmap_info_box .caption.one_object span { }

        .gmap_info_box ul {
            list-style-type: none;
            margin: 0px;
            padding-top: 2px;
        }
        .gmap_info_box ul.top_dotted {
            margin-top: 5px;
        }
            .gmap_info_box ul li {
                font-size: 11px;
                float: left;
                line-height: 18px;
                margin-right: 7px;
            }
                .gmap_info_box ul li sup {
                    font-size: 10px;
                    color: #F34915;
                    margin-left: 2px;
                }

        .gmap_info_box .address.top_dotted {
            margin-top: 10px; padding-top: 5px;
        }
        .gmap_info_box .phones.top_dotted {
            margin-top: 5px; padding-top: 5px;
        }
        .gmap_info_box .links.top_dotted {
            margin-top: 5px; padding-top: 5px;
        }

        .gmap_info_box .show_childs.top_dotted {
            margin-top: 5px;
            padding-top: 5px;
        }
            .gmap_info_box .aj_link {
                color: #F34915;
                border-bottom-color: #F34915;
            }

.destination-map-legend-toggle {
    font-size: 11px;
    font-style: italic;
    font-weight: normal;
    display: inline-block;
    margin-left: 10px;
}
/*Gmaps styles end*/