html {
  font-size: 20px;
  height: 100%;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  height: 100%;
  background-color: white;

  &.overflow-hidden {
    overflow: hidden;
  }
}

main {
  flex: 1 0 auto;
  margin-top: $nav_height;
  margin-bottom: 16px;
}

.content-with-margin {
  margin-top: 100px;
  margin-bottom: 100px;
}

.full-height {
  height: 100%;
}

.material-icons.inline {
  vertical-align: bottom;
}

.no-margin {
  margin: 0;
}

.small-margin-top {
  margin-top: 20px;
}

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

.big-margin-top {
  margin-top: 60px;
}

.small-margin-bottom {
  margin-bottom: 20px;
}

.medium-margin-bottom {
  margin-bottom: 40px;
}

.big-margin-bottom {
  margin-bottom: 60px;
}

.small-margin-right {
  margin-right: 20px;
}

.medium-margin-right {
  margin-right: 40px;
}

.big-margin-right {
  margin-right: 60px;
}

.small-margin-left {
  margin-left: 20px;
}

.medium-margin-left {
  margin-left: 40px;
}

.big-margin-left {
  margin-left: 60px;
}

.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

#info {
  display: block;
  position: fixed;
  padding: 20px;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

img {
  max-width: 100%;
}

@media only screen and (max-width: $breakpoint_medium) {
  main {
    margin-top: 86px;
  }
}

.row {
  ul {
    padding-left: 24px !important;
    li {
      list-style-type: disc !important;
    }
  }
}

ul {
  &.dropdown-content {
    padding-left: 0px !important;
    li {
      list-style-type: none !important;
    }
  }
}

#cookie-bar {
  display: none;
  position: fixed;
  bottom: 0;
  padding: 30px 50px;
  width: 100%;
  background-color: #367845;
  text-align: center;
  z-index: 2500;
  max-height: 250px;

  transition: all 0.7s ease-in;

  p {
    color: white;
  }

  #decline-cookies,
  #accept-cookies {
    // background-color: white;
    color: white;
    margin-left: 10px;
    border: 2px #ffffff solid;
  }

  &.show {
    display: block;
  }

  &.animate-hide {
    max-height: 0px;
    padding: 0px;
  }
}

#up {
  cursor: pointer;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background-color: #367845;
  position: fixed;
  bottom: 50px;
  right: 25px;
  display: none;
  z-index: 1000;

  img {
    position: absolute;
    height: 25px;
    width: 25px;
    top: calc(50% - 13.5px);
    left: calc(50% - 12.5px);
    transform: rotate(-90deg);
  }
}

.grecaptcha-badge {
  visibility: hidden;
}

.lp-content {
    ul {
        padding-left: 25px;
        li {
            list-style-type: disc;
        }
    }

    ol {
        padding-left: 25px;
        li {
            list-style-type: decimal;
        }
    }
}

// overwrite django-cms darkmode
:root {
  color-scheme: light !important;
}

button.button-filled-green {
    color: white !important;
    background-color: $zim_green !important;
}