


/* ПОЛНОЭКРАННАЯ КАРТА */

@media screen and (max-height: 280px) {
	.zoomBtn_plus, .zoomBtn_minus {
		display:none;
	}
}

@media screen and (min-width: 1100px) {
    .page-map .providerLink {
    	display:block;
    }
}

/* ВСЕ ОСТАЛЬНЫЕ СТРАНИЦЫ */
@media screen and (max-width: 1017px) {
	
    .get_on_google_play {
        display:none;
    }
    .firstMenu li {
        float:left;
        margin-right:20px;
    }
    .firstMenu {
        float:none;
    }

    .npArrow {
        display:none;
    }

    .street_box {
        width: 100%;
        padding:0;
    }
}
@media screen and (max-width: 700px) {

    .BMhead {
        min-height:60px;
    }
    .letters_boxes_list {
        grid-template-columns: 1fr 1fr;
    }

    .str_letter_expanded .streets_list {
        grid-template-columns: 1fr 1fr;
    }
	
}

@media screen and (max-width: 650px) {
    a.geoSidebarCrumb {
        padding-left:7px;
    }
	.geoSidebarCrumb img {
        display:none;
    }
	.multibox-cities {
		width:auto;
		margin-left:0;
		margin-bottom:15px;
	}
    #multimap_3 {
        display:none;
    }
	.newsTeaserTitle,
	.newsTeaser .field-type-text-with-summary{
		clear:both;
		float:none;
	}
    .firstMenu .menuActive {
        background:none;
    }
	#export_josm {
		display:none;
	}
}



@media screen and (max-width: 800px){
    .leaflet-touch .leaflet-control-layers-toggle{
        width: 30px !important;
        height: 30px !important;
        background-size: 90% !important;
    }
    .sidebar_opened .zoomBtns{
        top: 50%;
    }
    .zoomBtn{
        /*width: 20px;*/
        /*height: 20px;*/
    }
    .zoomBtn_plus{
        /*top: -35px;*/
    }
    .zoomBtn_minus{
        bottom: -35px;
    }
    .rout_enable{
        display: none;
    }
    .placeSideBox{
        width: 100%;
    }
    .placeSideRow{
        max-width: 230px;
        margin: 10px;
        box-sizing: border-box;
    }
    .view-id-places_list_sidebar{
        display: flex;
        margin: 0 -10px;
        flex-wrap: wrap;
    }

    .sidebar_opened .map_sidebar{
        height: 50%;
    }
    .sidebar_opened .mwrapP,
    .sidebar_opened #mwrap,
    .sidebar_opened #bmap{
        margin-left: 0;
        height: calc(50vh - 110px) !important;
    }
    .pageSidebar .view-tourplaces .tourplaceTeaser{
        float: none;
        margin-right: 0;
        max-width: none;
        margin-bottom: 0;
    }
    .pageSidebar{
        width: 100%;
    }
    .toursSideBox .view-id-tourplaces{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }
    .taxonomy_term_descriptionP{
        margin-right: 0;
    }
    .flex_row{
        flex-direction: column;
    }
    .share_popup{
        width: fit-content;
        max-width: 250px;
    }
    .share_popup input{
        max-width: 250px;
    }
    .taxonomy-goroda #bmap.with_margin{
        height: 300px !important;
        margin-bottom: 300px;
    }
    .mapParent{
        min-height: auto;
    }
    .taxonomy-goroda .map_sidebar{
        bottom: 39px;
        height: 300px;
        width: auto;
        right: -25px;
    }
    .map_sidebar{
        left: 0;
        right: 0;
        width: 100%;
        bottom: 0;
        height: 50%;
        overflow: auto;
    }
    #bmap.with_margin{
        margin-bottom: 50%;
        margin-left: 0;
    }
    .mapPopup_favorites{
        width: 100%;
    }
    .mapPopup_singleMarker{
        bottom: 70px;
        top: auto;
    }
}

/* Переход в мобильный режим */
@media screen and (max-width: 760px) {

    .right_nav .multimap_3{
        display: none;
    }
    .page-taxonomy-slug .map_sidebar{
        bottom:0;
    }
    .geoSearchInput{
        margin: 0;
    }
    .mobileMenuMap {
        position:relative;
        top:1px;
    }
    .searchResults {
        max-height:-webkit-calc(100% - 66px);
    }
    .mapTabsP div#searchGeoBox {
        width:auto;
        float:none;
        top:auto;
    }
    .left_nav{
        flex: 100%;
    }
    .mapTabsP .searchGeoBoxP {
        flex: 100%;
    }
    div div #geoSearchInput {
        width:100%;
    }
    
}
@media screen and (max-width: 550px) {

    .street_header {
        flex-direction: column;
    }
    .street_addhouse_box {
        margin-left:0;
        margin-top:30px;
    }
    a.zoomBtn {
        line-height:44px;
        font-size:50px;
    }
	
	.front .boxInterestPlaces {
		margin:0 -4%;
	}
    .pageBody, .multibox {
        padding-left:4%;
        padding-right:4%;
    }
    .map_box_page {
        margin-left:-4%;
        margin-right:-4%;   
    }

}
@media screen and (max-width: 540px) {
	
	.placeBoxInfo {
		padding-left:3%;
	}
	div.placesBox .placeBox {
		width:45%;
		margin-right:5%;
	}
	div.placesBox {
		padding-left:5%;
	}
    
    ul.bottomMenu {
        width:45%;
        margin-right:5%;
    }
}
@media screen and (max-width: 500px) {
.placeSideRow{
    max-width: 100%;
}
    .letters_boxes_list {
        grid-template-columns: 1fr;
    }
    .str_letter_expanded .streets_list {
        grid-template-columns: 1fr;

    }
    div.footerRightBox {
        float:none;
        text-align:center;
        clear:both;
        padding-top:20px;
    }
    #pageFooter {
        padding-left:5%;
        padding-right:0;
    }
    div.relatedItemP a.relatedItem {
        padding-left:5%;
        padding-right:5%;
        width:auto;
    }
    div.relatedItemP a img {
        max-width:100%;
    }
    div.relatedItemP {
        width:50%;
    }
	
}
@media screen and (max-width: 560px) {

    .pageSidebar {
        float:none;
    }
    .view-tourplaces .list-view {
        display:grid;
        grid-template-columns: 1fr 
    }
}

@media screen and (max-width: 420px) {
    .toursSideBox .view-id-tourplaces{
        grid-template-columns: 1fr;
    }
    .mapTabs2 {
        display:none;
    }
    .sync_map_btn {
        display:none !important;
    }
}

@media screen and (max-width: 370px) {
	div.mapLibraryInner a {
		width:45%;
		padding-left:2%;
		padding-right:2%;
	}
}
@media screen and (max-width: 350px) {
    
	.svgiconBox_G,
    .svgiconBox_OSM{
        display:none;
    }
	
}

@media screen and (max-width: 300px) {
    
	.svgiconBox_G,
    .svgiconBox_OSM{
        display:none;
    }
	.svg_routing_js {
		display:none;
	}
}

#edit-displays-settings-settings-content-tab-content-details-top-actions-duplicate {
	background:gray;
}

