/*-----------------------
 * Grandezza colonne filtro e risultati
-----------------------*/
.ris-ogg {
  width: 74%;
}

.voci-filtro-ogg {
  width: 24%;
}

/*-----------------------
 * Conta oggetti del risultato
-----------------------*/
.conta-ogg {
  background: #102a43;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 20px;
}

.conta-ogg p.contatore {
  color: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0;
}

.conta-ogg span.desc-oggetto {
  display: block;
  font-size: 18px;
  font-weight: 400;
}

/* Aggiungi questo dopo .conta-ogg */
.toggle-container {
  margin-bottom: 20px;
}

.toggle-buttons {
  display: flex;
  background: #fff;
  border-radius: 50px;
  padding: 3px;
  overflow: hidden;
}

/*-----------------------
 * Toggle button
-----------------------*/
.toggle-button {
  flex: 1;
  border: none;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #102a43;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-button.active {
  background: #102a43;
  color: #fff;
  border-radius: 50px;
}

/*-----------------------
 * Filtro dropdown scelta singola
-----------------------*/
.seleziona-ordine {
  position: relative;
  margin-bottom: 10px;
  height: 38px;
  width: 100%;
}

.seleziona-ordine select {
  display: none;
}

.select-items div,
.select-selected {
  font-family: inherit;
  font-size: 14px;
  border: 2px solid #102a43;
  background: #102a43;
  color: #fff;
  padding: 8px 16px;
  cursor: pointer;
  user-select: none;
}

.select-selected {
  border-radius: 5px;
}

.select-selected:after {
  content: "";
  position: absolute;
  background-image: url(/wp-content/uploads/freccia-giu-bianca.svg);
  background-size: 20px;
  top: 11px;
  right: 11px;
  width: 20px;
  height: 20px;
}

.select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

.select-selected.select-arrow-active {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.select-hide {
  display: none;
}

.select-items div:last-child {
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.select-items div:hover {
  background: #102a43;
}

/*-----------------------
 * Bottone per reimpostare impostazioni
-----------------------*/
button#reimposta {
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid #102a43;
  background: rgba(16, 42, 67, 0.4);
  color: #102a43;
  padding: 9px 16px;
  cursor: pointer;
  user-select: none;
  width: 100%;
  border-radius: 5px;
}

button#reimposta:before {
  content: "";
  display: block;
  background-image: url(/wp-content/uploads/reload-restart.svg);
  background-size: 14px;
  width: 14px;
  height: 14px;
  margin-right: 3px;
}

/*-----------------------
 * Barra di ricerca casinò
-----------------------*/
input#cerca-oggetto::placeholder {
  color: #102a43;
}

input#cerca-oggetto {
  font-family: inherit;
  font-size: 16px;
  width: 100%;
  height: calc(100% - 2px);
  padding: 12px 20px;
  border-radius: 5px;
  color: #102a43;
  border: 2px solid #102a43;
  background: rgba(16, 42, 67, 0.2);
  outline: none;
  margin-bottom: 10px;
}

/*-----------------------
 * Risultati filtro oggetto
-----------------------*/
.text-muted {
  font-style: italic;
  margin-bottom: 10px;
  background: #d9e2ec;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #829ab1;
}

.kksr-legend {
  width: 100%;
  text-align: center;
  margin: 0 !important;
}

.kk-star-ratings .kksr-stars .kksr-star {
  padding-right: 2px !important;
}

.kk-star-ratings .kksr-stars {
  display: none;
}

.img-ste {
  width: 39%;
}

.multiselect-dropdown-list {
  overflow: auto;
}

.voci-filtro-ogg label {
  font-style: italic;
  font-size: 12px;
}

.voci-filtro-ogg select {
  font-family: inherit;
  position: relative;
  width: 100% !important;
  padding: 5px 10px;
  border-radius: 5px;
  color: #102a43;
  border: 2px solid #102a43;
  background: rgba(16, 42, 67, 0.4);
  outline: none;
  cursor: pointer;
}

.voci-filtro-ogg .multiselect-dropdown {
  font-family: inherit;
  position: relative;
  width: 100% !important;
  padding: 5px 40px 5px 10px;
  border-radius: 5px;
  color: #102a43;
  border: 2px solid #102a43;
  background: rgba(16, 42, 67, 0.4);
  outline: none;
  cursor: pointer;
}

.voci-filtro-ogg .multiselect-dropdown-list-wrapper {
  z-index: 100;
  padding: 2px;
  border-radius: 4px;
  border: solid 1px #ced4da;
  display: none;
  margin: -1px;
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  background: #fff;
}

.voci-filtro-ogg span.placeholder {
  display: inline-flex;
  background-color: #102a43;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 5px 10px 5px 0;
  padding: 3px 7px;
  border-radius: 4px;
}

.voci-filtro-ogg .multiselect-dropdown:after {
  content: "";
  display: block;
  position: absolute;
  top: 14px;
  right: 10px;
  background-image: url(/wp-content/uploads/freccia-giu.svg);
  background-size: 20px;
  width: 20px;
  height: 20px;
}

.voci-filtro-ogg input.multiselect-dropdown-search.form-control {
  font-family: inherit;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
  color: #102a43;
  border: 2px solid #102a43;
  background: rgba(16, 42, 67, 0.4);
  outline: none;
  margin-bottom: 10px;
}

.voci-filtro-ogg .multiselect-dropdown span.optext {
  display: inline-flex;
  background-color: #102a43;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 5px 10px 5px 0;
  padding: 3px 7px;
  border-radius: 3px;
}

.voci-filtro-ogg .multiselect-dropdown span.optext .optdel {
  float: right;
  margin-left: 5px;
  font-size: 12px;
  cursor: pointer;
  color: #102a43;
  text-align: center;
  font-weight: 700;
  background: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

.voci-filtro-ogg label.wrapper:after {
  content: "";
  display: block;
  background-image: url(/wp-content/uploads/domanda.svg);
  background-size: 12px;
  width: 12px;
  height: 12px;
  margin-left: 5px;
}

.voci-filtro-ogg label.wrapper {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.wrapper {
  position: relative;
  -webkit-transform: translateZ(0);
  /* webkit flicker fix */
  -webkit-font-smoothing: antialiased;
  /* webkit text rendering fix */
}

.wrapper .tooltip {
  background: #140707;
  bottom: 100%;
  color: #fff;
  display: block;
  margin-bottom: 15px;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  position: absolute;
  width: 100%;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  -ms-transform: translateY(10px);
  -o-transform: translateY(10px);
  transform: translateY(10px);
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
  -webkit-box-shadow: 2px 2px 6px rgb(0 0 0 / 28%);
  -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
  -ms-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
  -o-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
  box-shadow: 2px 2px 6pxrgba (0, 0, 0, 0.28);
  border-radius: 5px;
}

/* This bridges the gap so you can mouse into the tooltip without it disappearing */
.wrapper .tooltip:before {
  bottom: -20px;
  content: " ";
  display: block;
  height: 20px;
  left: 0;
  position: absolute;
  width: 100%;
}

/* CSS Triangles - see Trevor's post */
.wrapper .tooltip:after {
  border-left: solid transparent 10px;
  border-right: solid transparent 10px;
  border-top: solid #140707 10px;
  bottom: -10px;
  content: " ";
  height: 0;
  left: 10px;
  position: absolute;
  width: 0;
}

.wrapper:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
  transform: translateY(0px);
}

/* IE can just show/hide with no transition */
.lte8 .wrapper .tooltip {
  display: none;
}

.lte8 .wrapper:hover .tooltip {
  display: block;
}

/*-----------------------
 * Risultati filtro oggetto
-----------------------*/
#oggetto-filtrate .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  width: 100%;
}

#oggetto-filtrate .oggetto {
  display: block;
  position: relative;
  text-decoration: none;
  height: 100%;
  background: #fff;
  border-radius: 5px;
}

#oggetto-filtrate .img-ste {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  height: 60px;
  text-align: center;
  margin-bottom: 20px;
}

#oggetto-filtrate .img-thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  height: 100%;
  border-radius: var(--hsbg-border-radius);
}

#oggetto-filtrate .img-thumbnail img {
    height: 100%;
    object-fit: contain;
}

#oggetto-filtrate p.licenza-bkm {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 5px 0;
  font-size: 14px;
  color: #555;
  font-weight: 400;
}

#oggetto-filtrate p.licenza-bkm:before {
  content: "";
  display: block;
  background-image: url(/wp-content/uploads/adm.svg);
  background-size: 22px;
  width: 22px;
  height: 14px;
}

#oggetto-filtrate p.titolo-oggetto {
  width: 48%;
  text-transform: uppercase;
  margin: 0;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  color: #333;
}

#oggetto-filtrate .val-bsd {
  display: block;
  font-size: 34px;
  color: #f7b233;
  font-weight: 700;
  margin-top: 5px;
}

/*
#oggetto-filtrate .kk-star-ratings {
    display: flex!important;
    flex-wrap: wrap;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 10px;
}
#oggetto-filtrate .kk-star-ratings .kksr-stars {
    margin-right: 4px;
}
#oggetto-filtrate .kksr-icon {
    width: 12px!important;
    height: 12px!important;
}
*/
#oggetto-filtrate .btn-gioca-ora {
  display: block;
  text-align: center;
  text-decoration: none;
  background: #f7b233;
  border-bottom: 3px solid #b6760e;
  padding: 10px;
  border-radius: 5px;
  color: #102a43;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  margin-top: 10px;
}

#oggetto-filtrate .mag-info {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  margin-top: 10px;
}

/*
#oggetto-filtrate .kk-star-ratings .kksr-legend {
    font-size: 12px !important;
    color: #FFF;
    opacity: 1;
    margin-left: 0;
}
#oggetto-filtrate span.kksr-muted {
    display: none;
}
*/
#oggetto-filtrate button#load_more_posts {
  display: block;
  background: #102a43;
  margin: 20px auto 0;
  font-family: inherit;
  font-weight: 700;
  color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  max-width: 300px;
  border: 0;
  cursor: pointer;
}

#oggetto-filtrate .img-bsd {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

#oggetto-filtrate .info-bkm-desc {
  padding: 0 10px 10px 10px;
}

#oggetto-filtrate .card-bkm {
  display: flex;
  gap: 3px;
}

#oggetto-filtrate .card-bkm img {
  max-width: 30px;
}

#oggetto-filtrate .centra {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

#oggetto-filtrate .loader {
  animation: rotation 2s infinite linear;
  width: 80px !important;
  height: 70px !important;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

@media (min-width: 893px) {
  button.filtro-dropdown {
    display: none;
  }
}

@media (max-width: 892px) {
  .conta-ogg {
    display: none;
  }

  .voci-filtro-ogg {
    width: 100%;
  }

  .ris-ogg {
    width: 100%;
    margin-top: 20px;
  }

  .voci-filtro-ogg .box-cerca {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .voci-filtro-ogg .seleziona-ordine {
    width: 49%;
  }

  .voci-filtro-ogg button#reimposta {
    width: 49%;
    height: 41px;
  }

  .voci-filtro-ogg button.filtro-dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 700;
    color: #102a43;
    width: 100%;
    background: rgba(16, 42, 67, 0.4);
    border: 2px solid #102a43;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
  }

  .voci-filtro-ogg #tre-filtri-risposta {
    max-height: 0;
    overflow: hidden;
  }

  button.filtro-dropdown:before {
    content: "";
    display: block;
    background-image: url(https://casinomonkey.it/wp-content/uploads/filtro-bsd.svg);
    background-size: 16px;
    width: 16px;
    height: 16px;
    margin-right: 3px;
  }

  #oggetto-filtrate .centra {
    height: 200px;
  }
}