@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@500&Ubuntu&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
}

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

#search-select-box {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 11px 0;
}

#select-country {
    max-width: 200px;
    margin: 0 auto;
}

/* Modal */
.modal-dialog.modal-dialog-centered {
    justify-content: center;
}
 .modal-content {
    width: auto;
} 

.modal-body {
    justify-content: center;
    background-color: #fbf8f8;
}

.modal-header {
   /* background: var(--blue);*/
   background-color: rgb(232, 233, 222);
}

.modal-header h6 {
    color: var(--azul);
}

/* Map */
#map {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
  }

/* Country Info Card */

.country, .countryClass {
    text-align: left;
}

#countryName {
    text-align: center;
}

.card.country {
    border: hidden;
}
.card.country img {
    width: 100%;
    border: 5px solid var(--darkblue);
    border-radius: 5px;
}

.card-body.country {
    background-color: #fff;
}


.card-body.country h4 {
    text-align: center;
    font-weight: bold; 
}

.card-body.country a {
    color: var(--darkblue);
    text-decoration: none;
}

.card-body.country a:hover {
    color: var(--korai);
    text-decoration: underline;
}

.table-country th,td {
    color: var(--darkblue) !important;
}

.table-country td {
   text-align: right;
}

#coatOfArms {
    border: none;
    width: 200px;
    height: 200px;
}

.country-body {
    position: relative;
}

.coatOfArms img {
    position: absolute;
    left: 30%;
    width: 150px;
    height: 150px;
}

#country-padding {
    padding-top: 50px;
}


/* Weather Card */
.weather-modal-body, .weather-modal-footer {
    background-color: rgb(216, 238, 241);
}

.weather-modal-footer{
    padding-left: 10px;
    padding-right: 10px;
   /* position: fixed;
    bottom: 0;*/
  }

  /*.weather-modal-body {
    overflow: hidden;
    min-height: 350px;
  }*/

/*News*/

.newsContent {
    border: black 2px;
}

#news-header {
    background-color: #F9F6EE;
}

/*Flag*/

#flag-country {
    color: var(--darkblue);
    text-decoration: none;
    text-align: center;
}

/* Country images */
.countryImages {
    width: 250px;
    margin: 0 auto;
    width: 100%;
    border: 3px solid #5095e9;
    padding: 10px;
}


/*Exchange*/
.clearButton {
    max-width: 250px;
    border-radius: 1px;
    
}
#buttonCont {
    text-align: left;
}

#form-result {
    border: 1px grey;
}

.fl {
    float: left;
}

.clear {
    clear: both;
  }
  
  /*.footer {
    position: fixed;
    bottom: 0;
  }*/

.form-floating {
    padding: 10px;
}

.currency-modal-body {
    background-color: #959aa0;
}

.exchangeIcon {
    position:relative;
    padding-bottom: 40px;
}

#iconArrow {
        position:absolute;
        top:45%;
        left:45%;
}

/* Loader */
.lds-dual-ring.hidden {
    display: none;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
    
.loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: var(--darkblue);
    }
    
.preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid var(--blue);
    border-top: 6px solid var(--azul) ;
    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);
    }
}

@media screen and (max-width: 385px) {
    .nav-logo img {
        display: none;
    }    

    .float-child {
        width: 50%;
        float: right;
    }
   
    .search-select-box {
        background-color: rgb(0, 255, 213);
    }
}