hr {
  background-color: #ececf1;
  height: 1px;
  margin: 0.7em 0;
}

.title.is-blue {
  color: var(--blue-text);
}

.button.is-warning {
  color: var(--brown-text-for-yellow-bg);
  background-color: var(--yellow-bg);
  font-weight: 600;

  &:hover,
  &:focus,
  &:active {
    background-color: lighten(var(--yellow-bg), 2);
  }
}

.message.is-info .message-body {
  border-color: #c8dfec;
}

.collapsable--close {
  display: none;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-dropdown {
  background-color: var(--header-bg);
}

.navbar-burger {
  color: var(--header-fg);
}

.navbar .navbar-brand {
  background: var(--header-bg);
  }

.navbar .navbar-brand .nevbar-item {
  padding: 0.35rem 1rem;
  }

#python-canarias-logo {
  margin-top: 2px;
  max-height: var(--header-height);
  }

.navbar .navbar-menu {
    background: var(--header-bg);
    box-shadow: none;
    border-top: 1px solid #f2f2f2;

    @include from($desktop) {
      border-top: 0;
    }

    @include from($desktop) {
      .navbar-end {
        padding-right: 1rem;
      }
    }

    .navbar-item,
    .navbar-link {
      color: var(--header-fg);
      background: var(--header-bg);
    }

    .navbar-item:hover,
    .navbar-link:hover {
      background: darken(var(--header-bg), 5%);
    }

    .navbar-item.is-active,
    .navbar-link.is-active {
      background: darken(var(--header-bg), 10%);
      font-weight: bold;
      color: var(--header-fg);
    }

    i {
      padding-right: 0.3rem;
    }
  }
}

.card {
  border-radius: var(--radius);

  & + .card {
    margin-top: 1.7rem;
  }

  .card-header {
    border-radius: var(--radius) var(--radius) 0 0;
    background-color: rgba(0, 0, 0, 0.03);
  }
}

.message-body {
  p {
    text-align: justify;
  }
  p:not(:last-child) {
    padding-bottom: 0.5rem;
  }
}

article {
  margin-bottom: 1rem;
}

html {
  /* source: https://stackoverflow.com/q/46463338 */
  -webkit-font-feature-settings: 'liga' 0, 'clig' 0;
  -moz-font-feature-settings: 'liga' 0, 'clig' 0;
  font-feature-settings: 'liga' 0, 'clig' 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Lato",Arial,sans-serif;
  font-size: 1.03rem;
}

.no-scroll {
  overflow: hidden;
}

.inactive-link {
  pointer-events: none;
}

.header-page {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  background-color: var(--header-bg);
  z-index: 99;
  height: var(--header-height);
}

.content-page {
  max-width: 59rem;
  min-height: calc(100vh - #{$navbar-height} - #{$footer-height} + 1px);
  padding: 2rem 1.2rem 5rem 1.2rem;

  @include from($custom-mobile) {
    & > .box {
      padding: 2rem;
    }
  }

  @include from($desktop) {
    padding: 2rem 0rem 5rem 0rem;
  }

  &.is-wide {
    max-width: 80rem;
  }

  &.is-narrow {
    max-width: 47rem;
  }
}

/* Error class for Django Forms https://bit.ly/3vidyK2 */
.errorlist {
  color: var(--error-message);
  font-size: smaller;
  margin-top: 0.5rem;
}

/* Float notification messages at top of pages */
.messages {
  position: absolute;
  right: 24px;
  top: var(--header-height) + 4rem;
  width: 100%;
  z-index: 1000;
  }

.messages .notification {
  width: var(--notification-width);
  margin-left: auto;
  margin-right: 1rem;
  margin-top: 1rem;
  z-index: 1000;
  margin-bottom: 0;
  }

.message {
  scroll-margin-top: var(--header-height) + 1rem;
}


a.url {
  font-family: monospace;
  font-size: 90%;
  text-decoration: none;
}

a.url:hover {
  text-decoration: underline;
}


#breadcrumbs {
  border-bottom: 0px dotted green;
  margin-bottom: 0;
  background-color: #3f0b1a;
  color: #EEEEEE;
  z-index: 1000;
  margin-top: var(--header-height);
  margin-left: 0;
  margin-right: 0;
  line-height: 1.2rem;
  padding-left: 1ex;
}

.hero-body {
  margin: 0;
  padding: 0;
  width: 100%;
  //min-height: 148px;
  text-align: center;
  border: 0px dotted green;
}

.hero-body img {
  margin: 0;
  padding: 0;
  width: 100%;
}

.titulo-subtitulo {
  padding-top: 0.5rem;
  padding-bottom: 0.8rem;
  text-align: center;
  border: 0px solid red;
}

.footer-button {
  position: absolute;
  top: -22.5px;
  left: calc(50% - 22.5px);
  z-index: 100;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 22.5px;
  border-color: var(--header-bg);
  background-color: whitesmoke;
}


.footer-page {
  background-color: var(--footer-bg);
  position: relative;
  margin-top: 2em;
  padding: 1.5em 1.5em 2.2em 1.5em;

  a {
    color: var(--footer-fg);

    &:hover {
      font-weight: 400;
    }
  }

  .footer-column {
    color: #ebebeb;
    padding-top: 2rem;
  }

  h1,
  h2 {
    color: whitesmoke;
  }
}

