* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  letter-spacing: 0.3px;
}
body,
html {
  height: 100%;
  width: 100vw;
  font-family: Arial, Helvetica, sans-serif;
  /* overflow: hidden; */
}
body {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
#preLoader {
  position: fixed;
  background-color: #212529;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1500;
  overflow: hidden;
}
#preLoader:before {
  text-align: center;
  content: '\f0ac';
  color: #f8f9fa;
  position: fixed;
  font-family: 'Font Awesome 5 Free';
  font-size: 12rem;
  font-weight: 700;
  top: calc(50% - 6rem);
  left: calc(50% - 6rem);
  line-height: 12rem;
  animation: animatePreLoader 1.3s cubic-bezier(0.68, -0.55, 0.27, 1.55)
    infinite;
}
#preLoader:after {
  content: 'Gazetteer';
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  color: #f8f9fa;
  position: absolute;
  text-align: center;
  margin-top: 10vh;
  font-weight: 700;
  font-size: 3rem;
}
@keyframes animatePreLoader {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
#mapid {
  flex-grow: 1;
}
.leaflet-control-container .leaflet-control.easy-button-container,
.leaflet-control-container .leaflet-control.leaflet-control-layers,
.leaflet-control-container .leaflet-control.leaflet-control-zoom {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}
#infoButton,
#homeButton {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 44px;
  width: 44px;
  font-size: 1.6em;
  text-align: center;
  padding: 7px;
  color: #929292;
}
#mapid .leaflet-control-container .leaflet-control-zoom-in,
#mapid .leaflet-control-container .leaflet-control-zoom-out {
  height: 44px;
  width: 44px;
  font-size: 1.6em;
  text-align: center;
  padding: 7px;
  color: #929292;
}
#mapid .leaflet-control-container .leaflet-control-zoom-in {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
#mapid .leaflet-control-container .leaflet-control-zoom-out {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
#mainNavHeader {
  color: #fff;
  background-color: #212529;
  padding: 0.75rem 1rem;
}
#mainNavHeader h2 {
  margin-bottom: 0;
}
#countryDropdown:focus {
  box-shadow: none;
  border-color: unset;
}
#countryDropdown {
  cursor: pointer;
}
#countryInfoModal {
  /* display: flex;
  flex-direction: row; */
  justify-content: center;
  align-items: center;
  /* overflow: hidden; */
}
.modal-dialog {
  /* height: 90%; */
  /* display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  align-items: center; */
  /* overflow: hidden; */
  /* min-width: 500px; */
}
.modal-content {
  /* display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  align-items: stretch; */
  /* overflow-y: auto; */
  /* max-height: 70vh; */
}
.modal-header {
  background-color: #212529;
  color: #fff;
}
.modal-body {
  display: flex;
  flex-direction: column;
  /* flex-grow: 1; */
  max-height: 60vh;
  overflow-y: auto;
  padding: 0;
}
.modal-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
#countryInfoModal .btn {
  background-color: #212529;
  color: #fff;
  box-shadow: 3px 3px 1px #a9a9a9;
  margin: 1rem;
}
#countryInfoModal .btn:hover {
  box-shadow: 0 0 0 0.25rem #21252980;
}
#countryInfoModal .btn:focus {
  box-shadow: none;
}
#countryInfoModal .btn.close {
  padding: 0.3rem 1rem;
  font-size: 1rem;
  border-radius: 0.3rem;
  margin: 0.25rem;
}
.nav-item {
  width: 25%;
}
.nav-item .nav-link {
  display: flex;
  justify-content: center;
  background-color: #f8f9fa;
  color: #212529;
}
.nav-item .nav-link.active {
  background-color: #212529;
  color: #f8f9fa;
}
.nav-link {
  width: 100%;
}
.tab-content {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  overflow: hidden;
  padding: 0.2rem;
}
.tab-pane {
  flex-grow: 1;
  overflow: scroll;
  padding: 0.5rem;
}
.tab-pane.tabPaneHide {
  display: none;
}
.countryTitle {
  text-align: center;
  font-weight: 700;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin: 0;
}
.covidContainer,
.statsContainer {
  background-color: #f8f9fa;
  color: #212529;
  border: 1px solid #212529;
  border-radius: 0.3rem;
  padding: 0.5rem;
  padding-bottom: 0;
  margin-top: 0.5rem;
}
.covidContainer img,
.statsContainer img {
  width: 100%;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
  padding: 0.25rem;
  background-color: #f8f9fa;
  border: 1px solid #212529;
  /* max-width: 100%; */
  height: auto;
}
.covidContainer > p,
.statsContainer > p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}
.covidContainer > p > span,
.statsContainer > p > span {
  font-weight: 400;
  max-width: 50%;
  min-width: 50%;
  display: inline-block;
  padding-left: 0.5rem;
}
.countryCurrencies span {
  text-transform: capitalize;
}
.covidContainer > p:nth-child(even),
.statsContainer > p:nth-child(even) {
  background-color: #d3d3d3;
}
.covidNewCases {
  background-color: #fea;
}
.covidNewDeaths {
  background-color: #f90f01;
}
.covidNewRecovered {
  background-color: #c8e6c9;
}
.cardTemplateHide {
  display: none;
}
.capital {
  font-weight: 700;
  text-align: center;
}
.capitalHide {
  display: none;
}
#weatherCardTemplate {
  background-color: #f8f9fa;
  color: #212529;
  border: 1px solid #212529;
  border-radius: 0.3rem;
  padding: 0.5rem;
  padding-bottom: 0;
  margin-top: 0.5rem;
}
#weatherCardTemplate .weatherHeader {
  display: flex;
  flex-direction: row;
  border: 1px solid #212529;
  background-color: #fff;
  border-radius: 0.25rem;
  padding: 0.25rem;
  margin-bottom: 0.5rem;
}
#weatherCardTemplate .icon {
  width: 50%;
  border-radius: 0.25rem;
  padding: 0.25rem;
  background-color: #f8f9fa;
  border: 1px solid #212529;
  max-width: 50%;
  height: auto;
}
.weatherHeader .summary {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0.25rem 0.5rem;
}
.weatherHeader .summary .day {
  display: flex;
  align-items: flex-start;
  flex-grow: 1;
  font-weight: 700;
  margin: 0;
}
.weatherHeader .summary .temp {
  display: flex;
  flex-grow: 1;
  align-items: center;
  font-weight: 700;
  margin: 0;
}
.weatherHeader .color-mute {
  color: grey;
}
.weatherHeader .flex-fix {
  display: flex;
}
.weatherHeader .summary .description {
  display: flex;
  flex-grow: 1;
  align-items: flex-end;
  font-style: oblique;
  margin: 0;
}
#weatherCardTemplate > p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}
#weatherCardTemplate > p > span {
  font-weight: 400;
  max-width: 50%;
  min-width: 50%;
  display: inline-block;
  padding-left: 0.5rem;
}
.windDirection .fa-arrow-up {
  font-size: larger;
}
#weatherCardTemplate .icon.nighttime {
  background-color: #191970;
}
#weatherCardTemplate .icon.daytime {
  background-color: #87ceeb;
}
#weatherCardTemplate .description {
  text-transform: capitalize;
}
#weatherCardTemplate > p:nth-child(even) {
  background-color: #d3d3d3;
}
#newsCardTemplate {
  background-color: #f8f9fa;
  color: #212529;
  border: 1px solid #212529;
  border-radius: 0.3rem;
  padding: 0.5rem;
  padding-bottom: 0;
  margin-top: 0.5rem;
  text-align: center;
}
#newsCardTemplate .title {
  text-align: center;
  font-weight: 700;
  margin: 0.5rem 0;
}
#newsCardTemplate img {
  width: 100%;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
  padding: 0.25rem;
  background-color: #f8f9fa;
  border: 1px solid #212529;
  max-width: 100%;
  height: auto;
  margin: 0.5rem 0;
}
#newsCardTemplate .publishedBy {
  color: grey;
  text-align: center;
  font-size: 0.65rem;
  margin: 0;
}
#newsCardTemplate .description {
  background-color: #d3d3d3;
}
.popupHide {
  display: none;
}
#popupTemplate img {
  display: block;
}
#popupTemplate .btn {
  display: inline-block;
  margin-bottom: 0.75rem;
  margin-top: 0;
}
.popupIcon {
  display: inline-block;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.8rem;
}
.popupImg {
  width: 80%;
  display: inline-block;
  padding: 0;
  border-radius: 6px;
  margin: 1rem auto;
}
.popupTitle {
  font-weight: 700;
  text-transform: capitalize;
  margin: 1rem;
}
.popupText {
  font-style: oblique;
  margin: 1rem;
}
.popupBody {
  padding: 0.5rem;
  background-color: #fff;
  border-radius: 6px;
  max-height: 50vh;
  overflow: scroll;
}
.leaflet-popup {
  max-height: 70vh;
  max-width: 95vw;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  padding-bottom: 8px;
}
.leaflet-container a.leaflet-popup-close-button {
  color: #fff;
  margin-right: 2px;
}
.leaflet-popup-content {
  text-align: center;
}
a.popupBtn {
  color: #fff;
  box-shadow: 3px 3px 1px #a9a9a9;
  margin: 1rem;
}
a.popupBtn:focus {
  box-shadow: none;
}
a.popupBtn:hover {
  color: #fff;
}
.wikiPopup .leaflet-popup-content-wrapper,
.wikiPopup .leaflet-popup-tip,
.wikiPopup .popupBtn {
  background-color: #882022;
}
.wikiPopup .popupBtn:hover {
  box-shadow: 0 0 0 0.25rem #88202280;
}
.cityPopup .leaflet-popup-content-wrapper,
.cityPopup .leaflet-popup-tip,
.cityPopup .popupBtn {
  background-color: #eb7618;
}
.cityPopup .popupBtn:hover {
  box-shadow: 0 0 0 0.25rem #eb761880;
}
.airportPopup .leaflet-popup-content-wrapper,
.airportPopup .leaflet-popup-tip,
.airportPopup .popupBtn {
  background-color: #1c772c;
}
.airportPopup .popupBtn:hover {
  box-shadow: 0 0 0 0.25rem #1c772c80;
}
.riverPopup .leaflet-popup-content-wrapper,
.riverPopup .leaflet-popup-tip,
.riverPopup .popupBtn {
  background-color: #372347;
}
.riverPopup .popupBtn:hover {
  box-shadow: 0 0 0 0.25rem #37234780;
}
.monumentPopup .leaflet-popup-content-wrapper,
.monumentPopup .leaflet-popup-tip,
.monumentPopup .popupBtn {
  background-color: #731871;
}
.monumentPopup .popupBtn:hover {
  box-shadow: 0 0 0 0.25rem #73187180;
}
.homeLocationPopup .leaflet-popup-content-wrapper,
.homeLocationPopup .leaflet-popup-tip,
.homeLocationPopup .popupBtn {
  background-color: #105bae;
}
.homeLocationPopup .popupBtn:hover {
  box-shadow: 0 0 0 0.25rem #105bae80;
}
.countrySelectedPopup .leaflet-popup-content-wrapper,
.countrySelectedPopup .leaflet-popup-tip,
.countrySelectedPopup .popupBtn {
  background-color: #f2a824;
}
.countrySelectedPopup .popupBtn:hover {
  box-shadow: 0 0 0 0.25rem #f2a82480;
}
