body {
    font-size: .875rem;
    background: url('../img/texture2.jpg') repeat;
    background-size: 215px 215px;
    animation: animatedBackground 500s linear infinite;
    color: #523A1E;
    /*
    background: #235693;
    background-image: linear-gradient(to bottom right, #235693, rgb(91, 128, 236));
    */
}

@keyframes animatedBackground {
    from {
      background-position-x: 0;
    }
    to {
      background-position-x: 10000px;
    }
}

.logo_prefeitura {
    width: 60px;
    height: auto;
    position: fixed;
    bottom: 15px;
    right: 15px;
    opacity: 0.7;
}

body, html {
    min-height: 100%;
  }
  
  .falling-leaves {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 1000px;
    max-width: 100%;
    height: 330px;
    margin-bottom: 20px;
    box-shadow: calc(5px + 0.1vw) calc(5px + 0.1vw) #523A1E;
    border-radius: 30px;
    background: url('../img/texture.png') repeat;
    background-size: 300px 300px;
    animation: animatedBackgroundDois 500s linear infinite;
    overflow: hidden;
  }

  @keyframes animatedBackgroundDois {
    from {
      background-position: 0 0;
    }
    to {
      background-position: 10000px 0;
    }
}
  
  .leaf-scene {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    transform-style: preserve-3d;
  }
  .leaf-scene div {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: url(../img/leaf.svg) no-repeat;
    background-size: 100%;
    transform-style: preserve-3d;
    -webkit-backface-visibility: visible;
            backface-visibility: visible;
  }

.feather {
    width: 16px;
    height: 16px;
}

/*
   * Sidebar
   */

.sidebar {
    position: fixed;
    top: 0;
    /* rtl:raw:
    right: 0;
    */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100;
    /* Behind the navbar */
    padding: 48px 0 0;
    /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

@media (max-width: 1000px) {
    .logo_prefeitura {
        display: none;
    }
}

.sidebar-sticky {
    height: calc(100vh - 48px);
    overflow-x: hidden;
    overflow-y: auto;
    /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #727272;
}

.sidebar .nav-link.active {
    color: #235693;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
}

/*
   * Navbar
   */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.login {
    display: flex;
    align-items: center;  
    width: 100vw;
    height: 100vh;
  }
  
  .form-signin {
      width: 400px;
      max-width: 90%;
      padding: 15px;
    }
    
    .form-signin .form-floating:focus-within {
      z-index: 2;
    }
    
    .form-signin input[type="text"] {
      margin-bottom: -1px;
      border-bottom-right-radius: 0;
      border-bottom-left-radius: 0;
    }
    
    .form-signin button[type="submit"] {
      margin-bottom: 10px;
      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }

    .btn-success {
        background: #395429;
      }
      .btn-success:hover, .btn-success:active {
        background: #367413 !important;
      }
      .form-control:active, .form-control:focus,
      .form-select:active, .form-select:focus {
        border-color: #395429 !important;
        box-shadow: 0 0 10px rgba(57, 84, 41, 0.7) !important;
      }
      .text-success {
        color: #395429 !important;
      }