.leaflet-sidebar {
    position: absolute;
    height: 100%;
    /*height: auto; */

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*padding: 10px;*/
    padding:0 10px 0;

    z-index: 2000;
}

.leaflet-sidebar.left {
    left: -500px;
    transition: left 0.5s, width 0.5s;

    /*padding-right: 0;*/
}

.leaflet-sidebar.right {
	width: 400px;
    right: -500px; 
	top: 40px;   
	transition: right 0.5s, width 0.5s; 
	padding-top: 10px;  
	padding-left: 0;
    height: auto;
}

.leaflet-sidebar.right.noseatalk {
    width: 200px;
}

.leaflet-sidebar.left.visible {
    left: -9px;
}

.leaflet-sidebar.right.visible {
    right: 0;
}

.leaflet-left {
    transition: left 0.5s;
}

.leaflet-right {
    transition: right 0.5s;
}

.leaflet-sidebar > .leaflet-control {
    height: 100%;
    width: 100%;

    overflow: auto;
    -webkit-overflow-scrolling: touch;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*padding: 2px;*/
	/*padding: 5px 5px 5px 5px;*/

    font-size: 1.1em;

    /*background: #666f94;*/
    box-shadow: 0 1px 7px rgba(0,0,0,0.65);
    -webkit-border-radius: 4px;
    /*border-radius: 4px;*/
}

.leaflet-touch .leaflet-sidebar > .leaflet-control {
    box-shadow: none;
    border: 1px solid #fff;
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.leaflet-sidebar .close {
    position: absolute;
    right: 15px;
    /*top: 10px;
    width: 31px;
    height: 31px;*/ 
    color: #fff;
    font-size: 30pt;
    line-height: 1em;
    text-align: center;
   /* background: white;
    -webkit-border-radius: 16px;
    border-radius: 16px;*/
    cursor: pointer;

    z-index: 8;
}

.title{
    top:4px;
    right:4px;
}

@media(max-width:767px){  /*@media(max-width:767px){*/
    .leaflet-sidebar {
        width: 100%;
        padding: 0;
    }

    .leaflet-sidebar.left {
        left: -100%;
    }

    /*.slider_c {right: 60px;}*/

    .leaflet-sidebar.right {
        /*right: -100%;*/

        width: 190px;
		top: inherit;
		padding-top: 0;
		height: 100%;
    }

    .leaflet-sidebar.left.visible {
        left: 0;
    }

    .leaflet-sidebar.right.visible {
        right: 0;
    }

    .leaflet-sidebar > .leaflet-control {
        box-shadow: none;
        -webkit-border-radius: 0;
        font-size: .8em;
        border-radius: 0;
    }

	.leaflet-sidebar .close {
		position: absolute;
		right: 10px;
		top: 10px;

	}

	.leaflet-sidebar.left.visible ~ .leaflet-left {
		left: 100%;
	}

	.leaflet-sidebar.right.visible ~ .leaflet-right {
		right: 100%;
	}

	.leaflet-touch .leaflet-sidebar > .leaflet-control {
		border: 0;
	}

}

/*@media(min-width:480px) and (max-width:719px){
    .leaflet-sidebar {
        width: 320px;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 300px;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 300px;
    }

}*/

/*@media(min-width:720px) and (max-width:767px){
    .leaflet-sidebar {
        width: 360px;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 340px;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 340px;
    }

}*/

@media(min-width:768px) and (max-width:991px){
    .leaflet-sidebar {
        width: 360px;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 340px;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 340px;
    }

}

@media(min-width:992px) and (max-width:1199px){
    .leaflet-sidebar {
        width: 380px;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 360px;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 360px;
    }

}

/*@media(min-width:1200px) and (max-width:1365px){
    .leaflet-sidebar {
        width: 360px;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 340px;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 340px;
    }
      .title{
    right:150px;
    }
}*/
@media(min-width:1200px)  {
    .leaflet-sidebar {
        width: 380px;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 360px;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 360px;
    }

}





