#ol-map-bms-outer {
    position: relative; 
    height: auto; 
    width: 100%; 
    overflow: hidden; 
    z-index: 1;
}

#ol-map-bms {
    height: 400px; 
    width: 100%;
    padding: 0;
    margin: 0;
    z-index: 1;
}

.ol-overlay-container {
    margin-top: -105px;
}

.ol-viewport {
    border-radius: 0;
}

.ol-viewport canvas {
    max-width: none !important;
} 

.ol-popup {
    position: relative;
    left: -50px;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    width: 150px;
    display: block;
}

#ol-popup-content p {
    font-size: 13px;
	margin-bottom: 0 !important;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
	font-size: 20px;
    top: -5px;
    right: 6px;
}
.ol-popup-closer:after {
    content: "x";
}

.button, [type="button"], [type="reset"], [type="submit"], button {
    cursor: pointer;
}

.ol-control,
.ol-control:hover,
.ol-control:active {
    border: none;
    border-radius: 0;
	background-color: transparent;
}
.ol-zoom .ol-zoom-in,
.ol-zoom .ol-zoom-in:hover,
.ol-zoom .ol-zoom-in:active,
.ol-zoom .ol-zoom-in:focus,
.ol-zoom .ol-zoom-out,
.ol-zoom .ol-zoom-out:hover,
.ol-zoom .ol-zoom-out:active,
.ol-zoom .ol-zoom-out:focus,
.ol-full-screen .ol-full-screen-false,
.ol-full-screen .ol-full-screen-false:hover,
.ol-full-screen .ol-full-screen-false:active,
.ol-full-screen .ol-full-screen-false:focus,
.ol-full-screen .ol-full-screen-true,
.ol-full-screen .ol-full-screen-true:hover,
.ol-full-screen .ol-full-screen-true:active,
.ol-full-screen .ol-full-screen-true:focus,
.resize-map .resize-map-button,
.hideuserloc-map .hideuserloc-map-button,
.showuserloc-map .showuserloc-map-button {
    border-radius: 2em;
	background-color: #fff !important;
	border: none !important;
	text-decoration: none !important;
}

.hideuserloc-map .hideuserloc-map-button img,
.showuserloc-map .showuserloc-map-button img {
	width: 38px;
	height: auto;
}

.resize-map {
    top: 7.2em;
	left: .5em;
}

.hideuserloc-map {
    top: 11.2em;
	left: .5em;
}
.showuserloc-map {
    top: 11.2em;
	left: .5em;
}
#hideuserloc {
    display: none;
}
#showuserloc {
    display: none;
}

.ol-control button {
    display: block;
    margin: 5px 5px 5px 5px;
    padding: 0;
    color: #000;
    font-size: 1.5em;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    height: 2em;
    width: 2em;
    line-height: .4em;
    background-color: transparent;
	background: transparent;
    border: none;
    border-radius: 2px;
}

.ol-attribution {
    background: rgba(255,255,255,.8) !important;
	padding: 0 !important;
	max-width: calc(100% - 0.1em);
}
.ol-attribution ul {
	padding: 0 !important;
}
.ol-attribution.ol-control button {
    font-size: 1em;
    height: 1.5em;
    width: 1.5em;
	margin: 0 !important;
	background-color: #fff !important;
	float: right;
}

@media (max-width: 959px) { 
    #ol-map-bms {
        transform:rotate(0);
	}
    .ol-control {
	    margin-top: 15px;
	    transform: rotate(0) !important;
    }
}
@media (min-width:960px){
    #ol-map-bms {
        height: 580px; 
    }
}

@media (min-width: 1200px) { 
    #ol-map-bms-outer {
        height: 580px!important;
	}
    #ol-map-bms {
        position: absolute; 
        top: -35px; 
        left: -20px; 
        height: 650px !important; 
        width: 110%;
	    transform: rotate(3deg) !important;
    }
	.ol-popup {
        transform: rotate(-3deg);
	}
	.ol-zoom.ol-unselectable {
	    margin-top: 60px;
    }
    .ol-control {
	    margin-top: 50px;
	    transform: rotate(-3deg);
    }
	.ol-control button {
        margin: 5px 5px 5px 15px;
	}
	.resize-map {
        top: 7.575em;
	    left: .75em;
    }
    .ol-full-screen {
        top: -28px;
        right: 0;
	    bottom: auto;
        left: 80%;
	    margin-left: 25px;
    }
	.ol-attribution {
        top: 500px;
        right: auto;
	    bottom: auto;
	    left: 90%;
	}
}

@media (max-width: 639px) { 
  .ol-control button {
    margin: 0 0 8px 0;
    color: #000000;
    font-size: .8em !important;
  }
  .resize-map {
    margin-top: -26px;
  }
  #ol-map-bms {
    transform:rotate(0);
  }
}
