body {
  background-color: #212529;
  color: #fff;
  background-image: linear-gradient(to right, #212529, #6c757d);
}

#loader{
	position: fixed;
	width: 100%;
	height: 100vh;
	background: #000000 url('https://cssauthor.com/wp-content/uploads/2018/06/Bouncy-Preloader.gif') no-repeat center;
	z-index: 999;
}

.loading-img {
  top: 40%;
  left: 45%;
  z-index: 100;
}

#notification {
  margin-top: 5rem;
}
#notFound {
  margin-top: 5rem;
}
#etusivu {
  margin-top: 5rem;
}
#havainnot {
  margin-top: 5rem;
}
#tallenna_havainto {
  margin-top: 5rem;
}
#info {
  margin-top: 5rem;
}
#kirjaudu {
  margin-top: 5rem;
}

.navbar-brand {
  background-color: transparent;
  border: none;
}

.popover-header {
  background-color: lime;
  color: #212529;
}
.popover-body {
  background-color: #212529;
  color: #b0b9c1;
}
.popover-arrow {
  color: #212529;
}

.flex-jc-c {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shadow {
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0), 0 10px 20px 0 rgba(0,0,0,0.19)!important;
}

.grayF {
  color: rgba(255,255,255,.55);
}

.dropdown {
  margin-top: .5rem;
  margin-bottom: .5rem;
}

.dropdown-toggle {
  background-color: transparent;
  border: none;
}

.dropdown>*:hover {
  color: lime;
}
.nav-pills>*>*:hover, .nav-pills>*>*>*:hover {
  color: lime;
}

hr {
  color: lime;
  margin-top: 4rem;
  margin-bottom: 4rem;
  opacity: .75;
}

.mt-4 {
  margin-top: 5rem;
}

.mt-5 {
  margin-top: 5rem;
}

.half {
  width: 50%;
}

.hide {
  display: none!important;
}
.show {
  display: block;
}

.nav-link.show {
  color: var(--bs-nav-link-color)!important;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.66)!important;
}

#noUser {
  text-decoration: none;
}

#infoPage {
  font-size: smaller;
}

.searchDiv {
  margin: auto;
  width: fit-content;
  margin-top: 2rem;
}
.searchDiv>form {
  display: flex;
  flex-direction: row;
}
.searchDiv>*>input {
  background-color: #b0b9c1;
}
.searchDiv>*>button {
  color: #fff;
  border-color: #fff;
}

.underlined {
  text-decoration: 1px solid underline;
  margin-top: 1rem;
  margin-bottom: 0;
}

.infoParagraph {
  margin-top: 3.5rem;
}

.right-border {
  border-right: 2px solid rgb(72, 72, 72);
}

#natureInfo {
  margin-top: 3.5rem;
}

@media (min-width: 1400px) {
  .intro {
    width: 80%;
    margin: auto;
    background-color: #adb5bd;
    color: black;
    padding: 1rem;
    border-radius: .25rem;
  }
  .luonto_elvyttaa>*>*>*>*>iframe {
    height: 400px;
  }
}

@media (max-width: 1000px) {
  .luonto_elvyttaa {
    flex-direction: column;
  }
  .luonto_elvyttaa>*>*>*>*>iframe {
    height: 250px;
  }
  .right-border {
    border-right: none;
  }
  .col-8 {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .right-border {
    border-right: none;
  }
  .col-8 {
    width: 100%;
  }
  .readers_pic {
    flex-direction: column;
  }
  .readers_pic>* {
    width: 100%;
    max-width: 100%;
  }
  .news {
    flex-direction: column;
  }
  .news>* {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 750px) {
  .news {
    flex-direction: column;
    margin-top: 0;
  }
  .news>* {
    width: 100%;
  }
  .readers_pic {
    flex-direction: column;
  }
  .readers_pic>* {
    width: 100%;
    max-width: 100%;
  }
  .carousel-item>*>*>img {
    max-width: 100%;
  }
  .carousel-item>iframe {
    max-width: 100%;
  }
  #youtubeCarouselDiv {
    width: 100%;
  }
  .right-border {
    border-right: none;
  }
  .col-8 {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .info {
    display: flex;
    margin-bottom: 4rem;
  }
  
  .info .left {
    width: 50%;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem;
    border: 1px solid #6c757d;
    border-radius: .25rem;
  }
  
  .info .right {
    margin-left: 1rem;
    width: 50%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.5rem;
    border: 1px solid #6c757d;
    border-radius: .25rem;
  }

  .img-div img {
    border-radius: .25rem;
    width: 30%;
  }

  .form-filters {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .form-filter {
    display: flex;
    flex-direction: row;
    padding: 0.5rem;
  }
  #rightCol {
    margin-left: 3rem;
  }
  iframe {
    width: 600px;
    height: 400px;
  }
}

@media (max-width: 992px) {
  .info {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 4rem;
  }
  
  .info .left {
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem;
    border: 1px solid #6c757d;
    border-radius: .25rem;
  }
  
  .info .right {
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.5rem;
    border: 1px solid #6c757d;
    border-radius: .25rem;
  }

  .img-div img {
    border-radius: .25rem;
    width: 60%;
  }

  .form-filters {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 80%;
    align-items: center;
  }
  .form-filter {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
  }

  .right-border {
    border-right: none;
  }
  .col-8 {
    width: 100%;
  }

  #rightCol {
    margin: 0;
  }
  iframe {
    width: 230px;
    height: 150px;
  }
}

@media (max-width: 620px) {
  .toggle-list {
    flex-direction: column!important;
    margin: auto;
  }
}

@media (max-width: 285px) {
  iframe, .carousel, img {
    max-width: 200px;
  }
  p {
    font-size: small;
  }
  li {
    font-size: small;
  }
  th, td {
    font-size: small;
  }
}

@media (max-width: 540px) {
  #formRow {
    flex-direction: column;
  }
  #top>img {
    width: 2rem;
    height: 2rem;
  }
}

.limeF {
  color: lime;
}

.whiteF {
  color: #fff;
}

#rightCol {
  border: 1px solid rgba(255,255,255,.55);
  border-radius: .25rem;
  padding: 2rem;
}

.nav-item>a>span {
  color: rgba(255,255,255,.55);
}

.link {
  color: rgb(61, 255, 47);
}

.link:hover {
  color: rgb(50, 205, 39);
}

.indentation {
  margin-left: 1rem;
  margin-bottom: 0;
}

.img-div {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}

h5 {
  margin-bottom: 2rem;
  scroll-margin-top: 5rem;
}

h6 {
  margin-bottom: 1rem;
}

.toggle-list {
  flex-direction: row;
  max-width: 95%;
  padding-top: .5rem!important;
  padding-bottom: .5rem!important;
  margin: auto;
  text-align: center;
}

.toggle-list>.list-group-item {
  padding-top: .5rem!important;
  padding-bottom: .5rem!important;
  --bs-list-group-bg: #b0b9c1;
  --bs-list-group-active-bg: lime;
  --bs-list-group-active-border-color: limegreen;
  --bs-list-group-active-color: black;
  border-radius: .25rem;
}
.tab-content {
  margin-top: 1rem;
  padding: .5rem;
  border: 1px solid #adb5bd;
  border-radius: .25rem;
  font-size: smaller;
  background-color: #adb5bd;
  color: black;
}
.last-p {
  margin-bottom: .25rem!important;
}

.list-group.links {
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
}

.list-group-item.links {
  background-color: inherit;
  padding: .25rem;
  color: #fff;
}

.form-label {
  margin-top: 1rem;
}

button.primary {
  background-color: lime;
  border-radius: .25rem;
}

button.primary:hover {
 background-color: rgb(0, 118, 0);
 color: #fff;
}

#top {
  display: none;
  position: fixed;
  bottom: 3rem;
  right: 1rem;
  z-index: 99;
  border: none;
  background-color: transparent;
}

#addObsForm .form-label {
  font-size: smaller;
}
#addObsForm .form-input {
  font-size: smaller;
}
#addObsForm .form-select {
  font-size: smaller;
}
#addObsForm .form-select option {
  font-size: smaller;
}
#addObsForm .form-control {
  font-size: smaller;
}

.infoData {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: small;
  font-weight: bold;
}

button[disabled] {
  background-color: rgb(110, 255, 110);
}

button[disabled]:hover {
  cursor: not-allowed;
  background-color: rgb(110, 255, 110);
}

.trashIcon {
  width: 25px;
}
.trashIcon:hover {
  background-color: rgb(114, 255, 114);
  border-radius: .25rem;
  cursor: pointer;
}

.filter {
  background-color: #6c757d;
  border: 2px dotted rgb(50, 205, 39);
  border-radius: 0.25rem;
  width: 100%;
  margin: auto;
  margin-bottom: 2rem;
  margin-top: 6rem;
  padding: 0.5rem;
}

.form-filter.select {
  color: #6c757d;
}

.filterCombo {
  display: flex;
  flex-direction: column;
  padding-right: .5rem;
}

.searchIcon:hover {
  background-color: #b0b9c1;
  cursor: pointer;
  border-radius: .25rem;
}

.intendation {
  margin-left: 1rem;
  margin-bottom: 0;
}

.clickable:hover {
  cursor: pointer;
}

.link_button.show {
  background-color: transparent;
  border: none;
}

.link_button:hover {
  color: rgba(255, 255, 255, 0.764)!important;
}

#logout {
  color: rgba(255,255,255,.55)!important;
}

.imageData {
  display: flex;
  flex-direction: column;
  justify-items: center;
  padding-top: .5rem;
}

.imageData img {
  margin: auto;
}
.imageData p {
  margin: auto;
  margin-bottom: 0;
}
.imageData a {
  display: flex;
  flex-direction: column;
  justify-items: center;
  margin: auto;
}

.author {
  font-size: small;
}