/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  padding-top: 3rem;
  color: black;
}
/* ----------------------------------------------- */

html, body, #map {
  height: 100%;
  width: 100%;
}
.leaflet-bar { line-height:30px; };


#loading {
  background: #e9e9e9;          
  position: absolute; 
  top: 0;                  
  right: 0;                
  bottom: 0;
  left: 0;
  opacity: 0.5;
  
  
}
#loading-img {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10001;
}

.leaflet-container {
  background-color:rgba(255,0,0,0.0);
}

.modal-dialog{
  overflow-y: initial !important
}
.modal-body {
  height: 70vh;
  overflow-y: auto;
  /* color: #000000;
  border-color: white;
  background-color: #5caed3; */
}

.short-modal{
  height: auto;
}


table, th, tr {
  color: #000000;
}

/* .btn-close{
  background-color: #67bfe7;
}

.btn {
  background-color: #67bfe7;
} */

.table {
  margin: 0 auto;
}

#weatherModal > div > div.modal-footer {
  background-color: white;
}
/* UNESCO marker popup */
.markerContainer {
  max-height: 40vh;
  padding-right: 1rem;
  overflow-y: auto;
}
.markerThumbnail {
  float: left;
  padding: 0.5rem;
}

.markerTxtDescription {
  font-size: 1rem;
}

#flag {
  display: block;
  margin: 0 auto;
}

.card-text{
  font-size: 1rem !important;
}




/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 0;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
  background: #000;
  color: white;
  position: relative;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}

.overlay-image {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.5;
}



/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }
}

@media screen and (min-width: 780px) {
  .leaflet-bar button,
  .leaflet-control-zoom-in,
  .leaflet-control-zoom-out { height: 50px !important; width: 50px !important; font-size: 2.6em; padding: 8px; }
}
