html, body {
    margin: 0;
    padding: 0;
}
  
#map {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.inline-flex {
    display: inline-flex;
}

.largeText {
    font-size: 20px;
}

.bold {
    font-weight: bold;
}

#pre-load {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

.fadeOut {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 1s, opacity 1s linear;
}

#selectContainer {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 11px 0;
}
  
#countrySelect {
    width: 200px;
    margin: 0 auto;
}

.madal-dialog, .modal-dialog {
    /*margin: auto;
    width: 520px;*/
    height: 90%;
    transform: translate3d(0%, 0, 0);
}

.first {
    margin: 5px;
    width: 100%;
    scrollbar-width: none;
    overflow: hidden;
}

.weatherfirst {
    margin: 5px;
    width: 60%;
    scrollbar-width: none;
    overflow: hidden;
}

.wikiFirst, .wikiSecond, .wikiThird, .wikiFourth, .wikiFifth,
.photoOfTheDay, .first, .marsClear {
    width: 100%;
    display: inline-flex;
    align-items: center;
    overflow-x: hidden;
}

.marsClear {
    flex-wrap: wrap
}

.first {
    flex-direction: row-reverse;
}


.wikiData, .nasaDataFirst {
    width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 10px;
}

.nasaPhoto {
    cursor: pointer;
    margin-top: 16px;
}

.nasaTitle {
    font-weight: bolder;
}

#modal-body {
    overflow-x: unset;
}

#weather > div > div {
    background-image: url(../images/pexels-johannes-plenio-1118873.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#weatherCityInfo {
    display: inline-flex;
    color: #f8f8f8;
}

.weatherCityInfo {
    margin: 0px 20px 0px 50px;
    float: right;
}

#weatherImg {
    margin-left: 30px;
    margin-top: 15px;
}

#weather > div > div > div.modal-body > div.secondary {
    color: #f8f8f8;
}

.margin-top {
    margin-top: 40px;
}

#weather > div > div > div.modal-body > div.secondary > div:nth-child(1), .flex-column {
    display: flex;
    flex-direction: column;
}

.nasaSearch > img {
    margin: 20px 0px 20px 0px;
}

.nasaRoverPhotos::after, .newsSecondary::after {
    content: "";
    clear: both;
    display: table;
}

figure {
    border: thin #c0c0c0 solid;
    display: flex;
    flex-flow: column;
    padding: 5px;
    max-width: 220px;
    margin: auto;
}
  
figcaption {
    background-color: #222;
    color: #fff;
    font: italic smaller sans-serif;
    padding: 3px;
    text-align: center;
}

#modal-body > div.modal-footer > p {
    width: 80%;
    text-align: center;
}

@media only screen and (max-width: 600px) {
    .photoOfTheDay .image img {
        max-width: 150px;
    }
    #modal-body > div.modal-footer > p {
        width: unset;
    }
    figure img {
        max-width: 156px;
    }
}