/**
** styles for interactive map modal view
**/
.map-close-button {
    margin-bottom: -50px;
    margin-top: 10px;
    margin-right: 15px;
    position: relative;
    z-index: 100
}

.quake-map-modal {
    width: 95%!important;
    height: 95%!important;
    max-height: none!important;
    max-width: none!important;
    min-width: 95%!important;
    min-height: 95%!important;
    margin: auto;
    top: 2.5%!important;
    background-color: transparent!important;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    -moz-box-shadow: none!important;
    overflow-x: visible!important;
    overflow-y: visible!important;
    background-clip: border-box!important;
    -webkit-background-clip: border-box!important;
    border: none!important
}

.quake-map-modal .modal-content {
   height: 100%!important;
}

.quake-map-modal-header {
    width: 95%!important;
    height: 90%!important;
    max-height: none!important;
    max-width: none!important;
    min-width: 95%!important;
    min-height: 90%!important;
    margin: auto;
    top: 2%!important;
    background-color: transparent!important;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    -moz-box-shadow: none!important;
    overflow-x: visible!important;
    overflow-y: visible!important;
    background-clip: border-box!important;
    -webkit-background-clip: border-box!important;
    border: none!important
}
@media screen and (max-width: 992px) {
    #largerMapButton {
        display: none;
    }
}

/*for static overview map, shaking layers mask */
.map-preview {
    display: grid;
    height: 250px;
    position: relative;
    overflow: hidden;
    background-color: black;
}
.map-preview * {
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
}
.map-preview:hover > .static-map {
    opacity: 0.7;
    cursor: pointer;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.map-preview:hover > .map-arrow-overlay{
    opacity: 1;
    cursor: pointer;
}
.static-map {
    grid-area: 1 / 1;
    width:100%;
    height:100%;
    max-width:none;
}
.map-arrow-overlay {
    grid-area: 1 / 1;
    opacity: 0;
}

/* for shaking layers map mask */
#quake-shaking {
    position: relative;
}

.map-mask-view {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 1000;
}
.shaking-status {
    position: absolute;
    border-radius: 5px;
    border-color:#999;
    border-width: 1px;
    border-style: solid;
    padding-top: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    min-height: 45%;
    background-color: white;
    z-index: 1100;
  }
/* end of shaking layers map mask */

#mapContainer {
    height: 640px;
}

@media (max-width: 1199px) {
    #mapContainer {
      height: 500px;
    }
}

.small-haz-map{
    width:100%;
    height:100%;
}

.large-haz-map{
    height:100%;
    width:100%;
    max-width:none;
    margin-left:0px;
    margin-bottom:20px;
}
#large-map-close-button{
    margin-top:2px;
    margin-right:0px;
    padding:10px 20px 10px 20px;
    text-transform: none;
    position:relative;
    z-index:100;
}

#gnss-sites-map{
    height:512px;
    width:100%;
    max-width:none;
    border-color:#ddd;
    border-width: 1px;
    border-style: solid;
}

#gnss-chart{
   border-color:#ddd;
   border-width: 1px;
   border-style: solid;
}

.volc-quake-stats {
   max-width:none;
}

.volc-quake-stats #canvas_v {
   height:576px;
   width:240px;
   min-width:180px;
}

.volc-quake-stats #geonet-haz-map {
   height:528px;
   width:100%;
}

.volc-quake-stats .canvas-plot {
   height:200px;
   width:100%;
}

.volc-quake-legend {
   width:80px;
   height:20px;
}

/* custom styles for leaflet controls */
.felt-intensity-legend{
    margin-left: 1px;
}

.map-legend {
    background: #fff;
    border-radius: 5px;
    margin: 10px 5px 10px 5px;
    padding: 10px;
}

.leaflet-control-attribution {
    margin: 5px 5px;
}

#quake-shaking .leaflet-control-attribution {
    background-color: transparent;
}

.align-vertical-center {
   display: flex;
   align-items: center;
   justify-content: center;
}

.contour-label {
    background-color:transparent;
    border: none;
    color: #fff;
    box-shadow: none;
    padding: none;
}
