/* LML: Moved to theme _bootswatch.scss */
/* body { */
/*   font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important; */
/*   margin: 0; */
/*   min-height: 100vh; */
/*   padding-bottom: 0px; */
/*   padding-top: 0px; */
/*   position: relative; */
/* } */

/* LML: Moved to theme _bootswatch.scss */
/* .list-group-item { */
/*   background-color: #dbd9e4; */
/*   background-color: #ececec; */
/*   border: 1px solid #000000e3; */
/*   color: #525252; */
/* } */

/* LML: Moved to theme _bootswatch.scss */
/* .list-group-item-primary { */
/*   background-color: #038199; */
/*   color: #ffffff; */
/* } */


/* LML: BUG: Nope! Don't colour a subset of icons for everything! */
.fa.fa-arrow-circle-down, .fa.fa-arrow-circle-up {
  color: #ececec;
}

/* LML: REVIEW REQUIRED... */



.sourcelink {
  text-decoration: underline;
  color: #efff00;
}

.sourcelink:hover {
  background-color: #efff00;
}

/* Page, City and Theme title styling */

.main-title {
  animation: fadeInRight 0.5s;
  -webkit-animation: fadeInRight 0.5s;
  -moz-animation: fadeInRight 0.5s;
  -o-animation: fadeInRight 0.5s;
  -ms-animation: fadeInRight 0.5s;
  animation-timing-function: ease;
}

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

.theme-title div {
  padding-left: 10px;
}

/* Indicator title section styling */

.ind-header {
  animation: fadeInRight 0.5s;
  -webkit-animation: fadeInRight 0.5s;
  -moz-animation: fadeInRight 0.5s;
  -o-animation: fadeInRight 0.5s;
  -ms-animation: fadeInRight 0.5s;
  animation-timing-function: ease;
}

div#ind-title {
  text-transform: capitalize;
  display: inline-block;
  vertical-align: top;
  width: 55%;
  text-align: start;
  overflow-wrap: break-word;
}

div#ind-popups {
  display: inline-block;
  vertical-align: top;
  width: 40%;
  text-align: end;
}

@media only screen and (max-width: 767px) {
  div#ind-popups {
    display: inline-block;
    vertical-align: top;
    text-align: end;
  }
}


/* Styling for data table section  */

.table-area {
  overflow: auto;
}

ul.table-area {
  animation: fadeIn 0.5s;
  -webkit-animation: fadeIn 0.5s;
  -moz-animation: fadeIn 0.5s;
  -o-animation: fadeIn 0.5s;
  -ms-animation: fadeIn 0.5s;
  animation-timing-function: ease-in;
}

table {
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border-bottom: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
  text-transform: capitalize;
}

/* Popup container */

#popup-container {
  display: inline-block;
}

.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* The actual popup (appears on top) */

.popup .popuptext {
  visibility: hidden;
  background-color: #038199;
  cursor:default;
  color: #fff;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
  margin-block-end: 8px;
}

.popuptext {
  visibility: hidden;
  background-color: #038199;
  cursor:default;
  color: #fff;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
  margin-block-end: 8px;
  padding-left: 8px;
}

.sourcetext {
  text-align: initial;
  overflow-y: scroll;
  overflow-x: clip;
  overflow-wrap: break-word;
  max-width: 300%;
  width: max-content;
  height: max-content;
  max-height: 1000%;
  padding-top: 8px;
  padding-right: 8px;
  padding-left: 8px;
  max-height: 500%;
}

.disclaimertext {
  text-align: center;
  padding: 8px 0;
  width: 160px;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */

.popup .show {
  visibility: visible;
  animation: fadeIn 0.2s;
  -webkit-animation: fadeIn 0.2s;
  -moz-animation: fadeIn 0.2s;
  -o-animation: fadeIn 0.2s;
  -ms-animation: fadeIn 0.2s;
}

/* Add animation (fade in the popup) 
Extra classes e.g. -webkit- for cross-browser compatability
*/

@keyframes fadeInRight {
  from {opacity: 0; transform: translate3d(50px, 0, 0);}
  to {opacity: 1; transform: translate3d(0, 0, 0);}
}
@-webkit-keyframes fadeInRight {
  from {opacity: 0; transform: translate3d(50px, 0, 0);}
  to {opacity: 1; transform: translate3d(0, 0, 0);}
}
@-moz-keyframes fadeInRight {
  from {opacity: 0; transform: translate3d(50px, 0, 0);}
  to {opacity: 1; transform: translate3d(0, 0, 0);}
}
@-o-keyframes fadeInRight {
  from {opacity: 0; transform: translate3d(50px, 0, 0);}
  to {opacity: 1; transform: translate3d(0, 0, 0);}
}
@-ms-keyframes fadeInRight {
  from {opacity: 0; transform: translate3d(50px, 0, 0);}
  to {opacity: 1; transform: translate3d(0, 0, 0);}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@-moz-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-o-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-ms-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
