
/* main aspects of the page */
#map    {
    height: 100%;
    width: 100%;
}

body {
    padding: 0;
    margin: 0;
}
html, body{
    height: 100%;
    width: 100vw;
    margin: 0;
    overflow: hidden;
}
#loader {
  display: flex;
  justify-content:center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.7);
}

#loader-content{
  text-align: center;
  flex-direction: column;
}

#noNews {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  text-align: center;
  font-size: 1.3em;
  color: rgb(97, 3, 3);
  margin-top: 20px;
  background:#fff;
  opacity:1;
}

.pre-load {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#pre-load-news:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #f2f2f2;
    border-top: 6px solid #8a2e2e ;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

#pre-load-wiki:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #ddb55e ;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}




#pre-load-weather:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #f2f2f2;
    border-top: 6px solid #224380 ;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    }
    100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    }
    }
    @keyframes animate-preloader {
    0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    }
    100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    }
}

.fadeOut {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 1s, opacity 1s linear;
}

#map .leaflet-interactive {
    transition: opacity 0.4s, fill-opacity 0.4s;
  }


/* The modal overlay styling */

#flagContainer {
  float: right;
  width: 25%;
  margin-left: 1rem; 
  margin-bottom: 1rem; 
}

  #flagImg {
    width: 100%; 
    height: auto;
}






#mapContainer {
  position: relative;
  width: 100%;
  height: 100vh;
}

.input-group.mb-3 {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: transparent; /* add a background color to the input-group */
}

#countrySelect {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width:200px;
}

.loadingImg {
  width: 2em; 
  height: 2em; 
  vertical-align: middle; 
}