@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@font-face {
  font-family: "Diverda Sans Com Medium";
  src: url("https://db.onlinewebfonts.com/t/5b46e8941800676b0c12cfcec9359097.eot");
  src: url("https://db.onlinewebfonts.com/t/5b46e8941800676b0c12cfcec9359097.eot?#iefix")format("embedded-opentype"),
  url("https://db.onlinewebfonts.com/t/5b46e8941800676b0c12cfcec9359097.woff2")format("woff2"),
  url("https://db.onlinewebfonts.com/t/5b46e8941800676b0c12cfcec9359097.woff")format("woff"),
  url("https://db.onlinewebfonts.com/t/5b46e8941800676b0c12cfcec9359097.ttf")format("truetype"),
  url("https://db.onlinewebfonts.com/t/5b46e8941800676b0c12cfcec9359097.svg#Diverda Sans Com Medium")format("svg");
}

body {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 70%,
      rgba(0, 0, 0, 1) 100%
    ),
    url("../static/images/background.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

.cbg {
  background: url("../static/images/bg-white.jpg");
  /* background: rgba(12, 6, 9, 0) !important; */
  background-repeat: repeat-y;
  background-position: center;
  background-size: auto;
  background-attachment: fixed;
}

.site_logo {
  width: 145px;
  height: 50px;
  background-image: url("../static/images/header-img.png");
  background-size: 145px 50px;
  background-repeat: no-repeat;
}

/* .custom-hr {
    background-image: url(/static/images/site/hr-full.png);
    background-repeat: no-repeat;
    display: block;
    height: 15px;
    border: none;
} */

#langs .btn {
  background-color: transparent !important;
}

.centered {
  vertical-align: middle;
}

th.dt-center,
td.dt-center {
  text-align: center;
  vertical-align: middle;
}

.tdcolumnicon {
  padding: 0 !important;
}

.tdcolumniconcrest {
  padding: 0 !important;
  max-width: 44px !important; 
  max-height: 44px !important;
}

.break-word {
  word-break: break-word !important;
}

.row {
  --bs-gutter-x: 0 !important;
}

.navbar-nav li:hover > ul.dropdown-menu {
  display: block;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
}

.dropdown-menu > li > a:hover:after {
  text-decoration: underline;
  transform: rotate(-90deg);
}

.custom-footer {
  text-decoration: none;
}

.w-85 {
  width: 85%;
}

.h-85 {
  height: 85%;
}

h1, h2, h3, h4, h5 {
  font-family: "PT Serif", serif;
}

p {
  font-family: Arial, Helvetica, sans-serif;
}

#prevnextfooter {
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

#prevnextfooter a.next {
  text-align: right;
  right: 0;
}

#prevnextfooter a.home {
  left: 33%;
  text-align: center;
}

#prevnextfooter a.prev {
  left: 0;
}

#prevnextfooter a {
  text-decoration: none;
}

/* .dt-search {
  display: none !important;
} */

.insider {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 3px;
  padding-right: 3px;
  text-align: left;
  font-size: 12px;
  background: #091120;
  margin-top: 0;
  color: #fff;
}

.item_table {
  font-size: 12px;
  color: #fff;
  border: 0;
  width: 316px;
  padding: 0;
  border-collapse: collapse;
}

.outer {
  box-shadow: 0 0 1px 1px #060b14, inset 0 0 0 1px #0d1420;
  background: #152034;
  border: 1px solid #1a293a;
  padding: 5px;
}

.page_outer {
  width: 100%;
  padding: 10px;
  /* background-color: #f8f9fa; */
  text-align: center;
  vertical-align: top;
}

.splitter {
  color: #1e3425;
}

.item_info {
  display: inline-block;
  max-width: 400px;
  margin-right: 20px;
  vertical-align: top;
}

.item_id {
  width: 80px;
}

.item_data {
  text-align: right;
}

.addon_info {
  display: inline-block;
  max-width: 400px;
  vertical-align: top;
}

.item_title {
  font-size: 14px;
  font-weight: bold;
}

.item_limits {
  color: #99181b;
}

.base_stats {
  color: #4488c5;
}

.passive_buffs {
  color: #4ba332;
}

.show_random_bonus {
  cursor: pointer;
}

.show_random_bonus_mw {
  cursor: pointer;
}

.pointer {
  cursor: pointer;
}

.random_bonus {
  display: none;
}

.random_bonus_mw {
  display: none;
}

.item_grade_0 {
  color: #fff;
}

.item_grade_1 {
  color: #1fa717;
}

.item_grade_2 {
  color: #0391c4;
}

.item_grade_3 {
  color: #ffa414;
}

.item_grade_4 {
  color: #c63db6;
}

.item_grade_5 {
  color: orange;
}

.crest_grade_0 {
  color: #000000;
}

.crest_grade_1 {
  color: #1fa717;
}

.crest_grade_2 {
  color: #0391c4;
}

.crest_grade_3 {
  color: #ffa414;
}

.crest_grade_4 {
  color: #c63db6;
}

.crest_grade_5 {
  color: orange;
}

#CrestsTable th:first-child,
#CrestsTable td:first-child {
  text-align: center;
}

.item-icon {
  vertical-align: top;
  width: 45px;
}

.crest-icon {
  vertical-align: middle;
  width: 56px;
}

.bronze {
  color: #bc6e4c;
}

.silver {
  color: #ccc;
}

.gold {
  color: #f7ab32;
}

.H_S_GOOD {
  color: #5ac336;
}

.H_W_GOOD {
  color: #4496db;
}

.H_S_BAD {
  color: #d02c2c;
}

.H_W_BAD {
  color: #db7131;
}

.tooltiphr {
  border: 0;
  height: 2px;
  background-image: -webkit-linear-gradient(
    left,
    rgba(42, 49, 58, 0),
    rgba(42, 49, 58, 1) 9%,
    rgba(42, 49, 58, 1) 91%,
    rgba(0, 0, 0, 0)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(42, 49, 58, 0),
    rgba(42, 49, 58, 1) 9%,
    rgba(42, 49, 58, 1) 91%,
    rgba(0, 0, 0, 0)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(42, 49, 58, 0),
    rgba(42, 49, 58, 1) 9%,
    rgba(42, 49, 58, 1) 91%,
    rgba(0, 0, 0, 0)
  );
  background-image: -o-linear-gradient(
    left,
    rgba(42, 49, 58, 0),
    rgba(42, 49, 58, 1) 9%,
    rgba(42, 49, 58, 1) 91%,
    rgba(0, 0, 0, 0)
  );
  margin-bottom: 15px;
}

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}

.bootstrap-select.btn-group .dropdown-toggle .filter-option-inner-inner {
  padding-left: 40px;
}

.bootstrap-select.btn-group .dropdown-toggle .filter-option-inner-inner:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.bootstrap-select.btn-group
  .dropdown-toggle
  .filter-option-inner-inner
  .image-text {
  margin-right: 10px;
}

.custom-width {
  width: 125%;
}

.img-mouseover {
  opacity: 1;
}

.img-mouseover:hover {
  opacity: 0.8;
}

.carousel .carousel-item {
  height: 400px;
}

.carousel-item img {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  min-height: 500px;
}

.custom-card {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.custom-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-card-body {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  /* padding: 20px; */
  margin: 0;
  align-content: center;
}

.custom-card-text {
  margin: 0;
}

.error-template {padding: 40px 15px;text-align: center;}
.error-actions {margin-top:15px;margin-bottom:15px;}

/* .result {
  position: relative;
  padding: 10px; 
  border-bottom: 1px solid #ccc;
  height: 50px; 
}

.result a {
  display: block;
  position: relative;
  height: 100%; 
  text-decoration: none; 
  color: inherit;
}

.result a:hover {
  color: red;
  font-weight: bold;
}

.result-text {
  position: absolute;
  left: 0;
  top: 50%; 
  transform: translateY(-50%); 
}

.table-name {
  position: absolute;
  right: 0;
  top: 50%; 
  transform: translateY(-50%); 
  font-size: 0.8em;
  color: #666;
} */

.result {
  position: relative;
  padding: 8px;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
}

.result a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.result a:hover {
  font-weight: bold;
}

.result-text {
  margin-left: 10px; 
  flex-grow: 1;
}

.table-name {
  margin-left: auto;
  font-size: 0.8em;
  color: #666;
}

.input-wrapper {
  position: relative;
}

.clear-input-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #ccc;
  font-size: 20px;
}

.clear-input-btn:hover {
  color: red;
}

.results_hover:hover {
  font-weight: bold;
}

.text-hover:hover {
  font-weight: bold;
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.image-container .fig-con {
  height: 250px;
  width: 350px;
  overflow: hidden;
  border: 5px solid #3a3a3a;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  margin: 2px;
}

.image-container .gallery-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.image-container .gallery-item:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}

/* .image-container-pagination {
  margin-top: 20px;
  text-align: center;
}

.image-container-pagination a {
  margin: 0 5px;
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
  border: 1px solid #007bff;
}

.image-container-pagination a.active {
  background-color: #007bff;
  color: white;
} */

.image-container-pagination {
  margin-top: 20px;
  text-align: center;
}

.image-container-pagination a {
  display: inline-block; /* Mostrar los enlaces en línea */
  margin: 0 5px;
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
  border: 1px solid #007bff;
  cursor: pointer; /* Cambiar el cursor al estilo de un enlace */
}

.image-container-pagination a.active {
  background-color: #007bff;
  color: white;
}

.image-container-pagination a:hover {
  background-color: #007bff;
  color: white;
}

.hidden {
  display: none;
}

/* Prueba tooltip */

/* Estilos globales para el tooltip */

/* Estilos para el tooltip personalizado */
#custom-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  z-index: 1000;
  display: none;
}

.custom_outer {
  box-shadow: 0 0 1px 1px #060b14, inset 0 0 0 1px #0d1420;
  background: #152034;
  border: 1px solid #1a293a;
  padding: 5px;
  max-width: 400px;
}

.custom_insider {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 3px;
  padding-right: 3px;
  text-align: left;
  font-size: 12px;
  background: #091120;
  margin-top: 0;
  color: #fff;
}

.custom_item_table {
  font-size: 12px;
  color: #fff;
  border: 0;
  width: 316px;
  padding: 0;
  border-collapse: collapse;
}

.custom_page_outer {
  width: 100%;
  padding: 10px;
  text-align: center;
  vertical-align: top;
}

.custom_item_info {
  display: inline-block;
  max-width: 400px;
  margin-right: 20px;
  vertical-align: top;
}

/* Añadir estilos para la imagen */
.custom_item_table img {
  max-width: 100%;
  height: auto;
}


/* Prueba GlobalSearch */

.suggestions-container {
  position: absolute;
  margin-top: 5px;
  width: 100%; 
  max-width: 300px; 
  max-height: 300px;
  overflow-y: auto; 
  background-color: white;
  border: 1px solid #ddd;
  z-index: 1000;
  top: 100%; 
  left: 0; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
}

.d-flex.me-3 {
  position: relative;
}

#GlobalSearch {
  width: 300px; 
}

.langs {
  position: relative;
}

.no-suggestions {
  text-align: center; 
  color: rgba(0, 0, 0, 0.5); 
  padding: 10px; 
  font-size: 14px; 
  margin-top: 5px;
}

#ResultsTable td:nth-child(2) {
  width: 60px;
}
#ResultsTable td:nth-child(1) {
  width: 120px;
}

