@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;500&display=swap");

body {
  font-family: "Open Sans", sans-serif;
  font-size: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #012970;
  font-weight: 600;
}

h1 {
  font-size: 24px;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 18px;
}
h4 {
  font-size: 16px;
}
h5 {
  font-size: 14px;
}

#index {
  /* background-image: url("/static/img/fondo_big.jpg"); */
  background-color: #000000;
  background-image: url("/static/img/fondo_big.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #ffffff;
}
#index .card {
  padding: 1rem;
  background-color: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  & .card-body a {
    background-color: #05ad9d;
    border: 1px solid #ffffff;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
  }
}

@media (max-width: 1280px) {
  html {
    font-size: 1rem;
  }
}
@media (max-width: 1000px) {
  html {
    font-size: 0.9rem;
  }
}

@media (max-width: 800px) {
  html {
    font-size: 0.8rem;
  }
  #index {
    background-image: url("/static/img/fondo_movil.jpg");
  }
  .sidebar {
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 0.8rem;
  }
  .sidebar {
    min-height: 40px;
  }
}

.aside {
  margin-left: 0;
  padding-left: 0;
  overflow-y: auto;
  border-right: 2px solid #aab7cf;
  /* height: 100vh; */
  height: auto;

  bottom: 0;
  box-shadow: 0px 0px 20px rgb(1 41 112 / 10%);
}
.aside::-webkit-scrollbar-thumb {
  background-color: #ec2b55;
}

.scroll::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav {
  margin-left: 0px;
  padding-left: 10px;
}
.sidebar-nav li {
  margin: 0;
  padding: 0;
}

.sidebar-nav li a {
  display: block;
  text-align: left;
  color: #012970;
  font-size: 90%;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 2px;
  margin: 0;
}

#home ul.sidebar-nav li a:hover {
  background-color: #f6f9ff;
  color: #4154f1;
}

.sidebar-nav li ul li {
  list-style: circle;
  margin-left: 1em;
}
#home .sidebar-nav li ul li a:hover {
  background-color: white;
}
.sidebar-nav li ul li a span {
  font-size: 80%;
}

ul li ul li a,
td {
  font-size: 90%;
  font-weight: 300;
}

#home input.form-control {
  font-size: 90%;
  font-weight: 600 !important;
  color: #4154f1;
}
.dropdown-toggle::after {
  display: none;
}

i {
  margin-right: 1em;
}

#home .main,
.accordion-button {
  background: #f6f9ff;
}

.nav-item {
  list-style: none;
}

.error-block {
  margin: 0.8em;
  font-size: 0.8em;
  background-color: #f18686;
  color: white;
  text-align: center;
  border-radius: 4px;
}

#resumen_year table tbody {
  font-family: "Roboto Mono", monospace;
}
#resumen_year table .text-right {
  text-align: right;
  font-weight: 300;
}

#resumen_year table strong {
  font-family: "Roboto Mono", monospace;
  font-weight: 500;
}

.accordion {
  border: 1px solid #ebedf1;
}
.arrendador {
  font-weight: bold;
}
.arrendatario {
  font-style: italic;
  font-weight: 600;
}

a.btn i.bi {
  margin: 0 auto;
  padding: 0 0.5em;
}

#login form {
  max-width: 80%;
  margin: 0 auto;
}
#index img {
  margin-right: 0.5em;
}
#index i {
  margin-left: 0.5em;
}

.bg-yellow {
  background-color: #ffc107 !important;
}
.bg-teal {
  background-color: #20c997 !important;
}
.bg-teal-100 {
  background-color: #d2f4ea !important;
}
.bg-red-100 {
  background-color: #f8d7da !important;
}

fieldset {
  background-color: #fcfcfc;
  padding: 1em;
  margin: 1em;
  width: auto;
  border-right: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
}
legend {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-weight: 300;
}

.card {
  max-width: 300px;
  background-color: transparent;
  border: 1px solid whitesmoke;
  box-shadow: 3px 3px 5px #b6b6b6;
}
.card a {
  font-family: "Courier New", Courier, monospace;
  display: block;
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  text-align: center;
}

/* Botones pagina de inicio */

.button-portada {
  padding: 10px 20px;
  text-transform: uppercase;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 500;
  color: #ffffff80;
  text-shadow: none;
  background: transparent;
  cursor: pointer;
  box-shadow: transparent;
  border: 1px solid #ffffff80;
  transition: 0.5s ease;
  user-select: none;
  text-decoration: none;
}

.button-portada:hover,
.button-portada:focus {
  color: #ffffff;
  background: #05ad9d;
  border: 1px solid #05ad9d;
  text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 20px #ffffff;
  box-shadow: 0 0 5px #05ad9d, 0 0 20px #05ad9d, 0 0 50px #05ad9d,
    0 0 100px #05ad9d;
}

/* login */

.login-box {
  margin: 0 auto;
  max-width: 400px;
  border: 3px solid #05ad9d;
  border-radius: 4px;
  margin-top: 2em;
  padding: 0em;
  background: url(../img/fondo_login.png) no-repeat;
  opacity: 0.8;

  & input {
    border: 1px solid #05ad9e;
  }
}

.login-box button {
  padding: 10px 20px;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid #12867b;
  font-size: 15px;
  color: black;
  cursor: pointer;
  transition: 0.5s ease;
  user-select: none;
  color: #07a797;
  background: rgb(255, 255, 255) !important;
}

.login-box button:hover,
.login-box button:focus {
  color: white !important;
  background: #07a797 !important;
  border: 1px solid #05ad9d !important;
}
