.welcomeMsg{
    text-align: center;
    color: lightgray
}

h1 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    display: inline;
    margin: 0;
    border-left-width: 5px;
    
    border-color: lightgray;
}

html, body {
    margin: 0;
    padding: 0;
  }
  #map {
    z-index: 1;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

#map:active {
    cursor: grabbing;
}
#countrySelectContainer {
    margin: auto;
    position: fixed;
    top: 0;
    z-index: 1000;
    padding: 11px 0;
    left: 50%;
    transform: translateX(-50%);
}
#country {
    width: 200px;
    margin: 0 auto;
  }
#worldIcon {
    border-right: 5px;
    margin: auto;
    height: 29px;
    width: 29px;
    vertical-align: baseline;
}
.col {
    text-align: center;
    margin: auto; 
}
table {
    margin:auto;
    table-layout: fixed;
    width: 100%;
}
.heading {
    background-color: darkseagreen;
    border-top-width: 25px;
    border-color: lightgrey;
    font-weight: bold;
    text-align: center;
    font-size: 1.25em;
}
thead {
    text-align: center;
    background: lightblue;
}
.modal-footer {
    margin: auto;
}

.countryInfo th {
    text-align: left;
}

.countryInfo td {
    text-align: right;
}
.Currencyexchangem th {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.center-image {
    text-align: center;
}

.read-more-link {
    display: block;
    margin-top: 20px;
}
.Currencyexchangem th input{
    width: 80px;
}

.Currencyexchangem td {
    text-align: right;
}
.modalTitle {
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .modalTitle {
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
  }
  


#countryFlag {
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    display: block;
    margin-bottom: -20px;
}
/* weather */
.weatherHead {
    background-color: lightskyblue !important;
}

.weatherTable td {
    text-align: center;
}

.weatherbground{
    background-color: rgb(201, 201, 201) !important;
    border-radius: 100%;
}

.weatherIcon {
    width: 50%;
    margin: auto;
    display: block;
    padding-top: 25%;
}


/* news */
.newsTable {
    width: 100%;
  }
  
  .wikiImage {
    max-width: 150px;
    max-height: 150px;
  }
  
  .wikiTitle {
    font-weight: bold;
    text-align: left;
  }
  
 
  /* en news */

  .newsImage {
    width: 100%;
    height: auto;
  }
  
  .newsTitle {
    font-weight: bold;
  }
  
  .overflow-ellipsis {
    max-width: 75%;
    height: 150px ;
    overflow: hidden;
    
    
  }
  
  .modal-lg {
    max-width: 800px;
  }
  
  .card {
    border: none;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
/* buttons */



#weatherInfoBtn{
    width: 40px;
    height: 40px;
    transition-duration: .3s;
    background-image:url("../icons/cloudy-day.png");
    background-repeat: no-repeat; 
    background-position: center;
    background-size: cover;  
    background-color: rgb(238, 238, 238);
    background-size: 80%;
}
#newsBtn{
    width: 40px;
    height: 40px;
    transition-duration: .3s;
    background-image:url("../icons/news.png");
    background-repeat: no-repeat; 
    background-position: center;
    background-size: cover;  
    background-color: rgb(238, 238, 238);
    background-size: 80%;
}
#CurrencyExchangeBtn{
    width: 40px;
    height: 40px;
    transition-duration: .3s;
    background-image:url("../icons/icons8-currency-exchange-80.png");
    background-repeat: no-repeat; 
    background-position: center;
    background-size: cover;  
    background-color: rgb(238, 238, 238);
    background-size: 80%;
}

#countryInfoBtn{
    width: 40px;
    height: 40px;
    transition-duration: .3s;
    background-image:url("../icons/info.png");
    background-repeat: no-repeat; 
    background-position: center;
    background-size: cover;  
    background-color:rgb(238, 238, 238);
    background-size: 80%;
}
#wikiBtn{
    width: 40px;
    height: 40px;
   transition-duration: .3s;
    background-image:url("../icons/wikipedia.png");
    background-repeat: no-repeat; 
    background-position: center;
    background-size: cover;  
    background-color:rgb(238, 238, 238);
    background-size: 80%;
}

#translationBtn{
    width: 40px;
    height: 40px;
   transition-duration: .3s;
    background-image:url("../icons/translation.png");
    background-repeat: no-repeat; 
    background-position: center;
    background-size: cover;  
    background-color:rgb(238, 238, 238);
    background-size: 80%;
}


/* modal tranlator */

#translationModal .modal-content {
    border-radius: 0;
}

#translationModal .modal-header {
    background-color: #007bff;
    color: #fff;
    border-bottom: none;
}

#translationModal .modal-title {
    font-weight: bold;
}

#translationModal .form-group label {
    font-weight: bold;
}


#translationModal .form-control {
    border-radius: 0;
}

#translationModal #translateButton {
    margin-top: 10px;
}

#translationModal #outputText {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-height: 100px;
}
#translationModal .modal-body {
    padding-bottom: 20px;
}

#translationModal .form-group {
    margin-bottom: 20px;
}

#translationModal #translateButton {
    margin-top: 30px;
}



/* Preloader*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #f2f2f2;
    border-top: 6px solid #56829e;
    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);
    }
}


/* responsive */

@media only screen and (max-height: 550px) {
          
    #countryFlag {
        margin-left: auto;
        margin-right: auto;
        width: 50%;
        display: block;
        margin-bottom: -20px;
    }
    

    
    /* --- Button Icons --- */
    
    #countryInfoBtn, #weatherBtn, #wikiBtn, #newsBtn,#weatherInfoBtn, #CurrencyExchangeBtn, #translationBtn {
        width: 35px;
        height: 35px;
    }
    
  
    
    #preloaderText {
        line-height: 200px;
        margin-top: -150px;
        top: 25%;
        width: 100%;
        font-size: 1.25em;
    }
    
}

@media only screen and (max-height: 450px) {

    /* --- Button Icons --- */
    
    #countryInfoBtn, #weatherBtn, #wikiBtn, #newsBtn,#weatherInfoBtn, #CurrencyExchangeBtn, #translationBtn {
        width: 25px;
        height: 25px;
    }

    #reset{
        width: 15px;
        height: 15px;
    }  

}


@media only screen and (max-width: 950px) {
    


    #countryFlag {
        margin-left: auto;
        margin-right: auto;
        width: 40%;
        display: block;
        margin-bottom: -20px;
    }

    
    #countryInfoBtn, #weatherBtn, #wikiBtn, #newsBtn,#weatherInfoBtn, #CurrencyExchangeBtn, #translationBtn {
        width: 35px;
        height: 35px;
    }

    #reset{
        width: 15px;
        height: 15px;
    }
    
    #preloaderText {
        line-height: 200px;
        margin-top: -150px;
        top: 25%;
        width: 100%;
        font-size: 1.25em;
    }
    
}
  
@media only screen and (max-width: 515px) {

 

    #headCol {
        padding-top:5px
    }

    #globe{
        height: 20px;
        width: 20px;
    }

    h1 {
        border-left-width: 2px;
    }

    #countryInfoBtn, #weatherBtn, #wikiBtn, #newsBtn,#weatherInfoBtn, #CurrencyExchangeBtn, #translationBtn {
        width: 25px;
        height: 25px;
    }
  
}

@media only screen and (max-width: 430px) {

  

    #headColumn {
        padding-top:5px
    }
  
}

@media only screen and (max-width: 380px) {

    h1 {
        font-size: large;
    }
    
 
}