.desktop-only {
    display: block !important;
}
.mobile-only {
    display: none !important;
}

.navbar{
    background-color: #BF181D !important;
}

.subMenuItemContainer{
    background-color: #BF181D !important;
}

.subMenuItemContainerMobile{
    background-color: #BF181D !important;
    width: 100%;
}

.menuItem, .subMenuItem{
    color: #FFFFFF !important;
}

.menuItem:hover, .subMenuItem:hover{
    color: #D9D9D9 !important;
}

.toggleNavMobile{
    background-color: #BF181D !important;
    color: #FFFFFF !important;
}

.bodyContainer{
    padding-top: 50px !important;
}

.card{
    padding: 0px !important;
}

.cardText{
    padding: 10px !important;
}

.cardDescription{
    margin-bottom: 0px !important;
}

.badgeCategoria{
    background-color: #2ea200 !important;
    color: #ffffff !important;
    border: 1px solid #2ea200 !important;
    border-radius: 3px !important;
    padding: 10px 5px !important;
}

.badgeCategoriaEscort {
    background-color: pink !important;
    color: #ffffff !important;
    border: 1px solid pink !important;
    border-radius: 3px !important;
    padding: 10px 5px !important;
}

.badgeCategoriaTrans {
    background-color: orange !important;
    color: #ffffff !important;
    border: 1px solid orange !important;
    border-radius: 3px !important;
    padding: 10px 5px !important;
}

.badgeCategoriaVirtual {
    background-color: green !important;
    color: #ffffff !important;
    border: 1px solid green !important;
    border-radius: 3px !important;
    padding: 10px 5px !important;
}

.badgeCategoriaMistress {
    background-color: red !important;
    color: #ffffff !important;
    border: 1px solid red !important;
    border-radius: 3px !important;
    padding: 10px 5px !important;
}

.badgeAbbonamentoFull{
    background-color: #ff0000 !important;
    color: #ffffff !important;
    border: 1px solid #ff0000 !important;
    border-radius: 3px !important;
    padding: 10px 5px !important;
}

.badgeAbbonamentoGold{
    background-color: #ffd900 !important;
    color: #ffffff !important;
    border: 1px solid #ffd900 !important;
    border-radius: 3px !important;
    padding: 10px 5px !important;
}

.badgeAbbonamentoPlatinum{
    background-color: #ababab !important;
    color: #ffffff !important;
    border: 1px solid #ababab !important;
    border-radius: 3px !important;
    padding: 10px 5px !important;
}

.badgeAbbonamentoBase{
    background-color: #ffffff !important;
    color: #757575 !important;
    border: 1px solid #ffffff !important;
    border-radius: 3px !important;
    padding: 10px 5px !important;
}

.badgeNew{
    background-color: #a60202 !important;
    color: #ffffff !important;
    border: 1px solid #a60202 !important;
    border-radius: 3px !important;
    padding: 10px 5px !important;
}

.footer{
    background-color: #BF181D !important;
    color: #FFFFFF !important;
}

.itemMenuFooter{
    color: #FFFFFF !important;
}

.itemMenuFooter:hover{
    color: #D9D9D9 !important;
}

.login {
    margin-left: 10px !important;
    margin-right: 10px !important;
    margin-top: 10px !important;
    margin-bottom: 90px !important;
}

.uk-input:focus, .uk-textarea:focus, .uk-select:focus {
    border-color: #BF181D !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.3) !important;
}

.uk-button, .uk-button-small {
    background-color: #BF181D !important;
    color: #FFFFFF !important;
    cursor: pointer;
}

.uk-radio:checked{
    background-color: #BF181D !important;
}

.uk-checkbox:checked{
    background-color: #BF181D !important;
}

.truncate {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.uk-button-small-custom {
    padding: 2px 6px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    background-color: #BF181D !important;
    color: #FFFFFF !important;
    cursor: pointer;
}

.uk-overflow-auto {
    max-height: 400px !important;
    overflow-y: auto !important;
}

.aligned-list li {
    display: table-row !important;
    margin-bottom: 20px !important;
}
.aligned-list .label,
.aligned-list .value {
    display: table-cell !important;
    padding: 0px 0px !important;
    text-align: left !important;
}

.aligned-list .label {
    padding-right: 5px !important;
    white-space: nowrap !important;
}

.aligned-list .value {
    padding-left: 5px !important;
}

.gallery-img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
}
.gallery-container {
    display: flex !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
}

.image-container {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    padding-top: 150% !important;
}

.image-container img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.filepond--drop-label, .filepond--drop-label > label{
    cursor: pointer !important;
}

.filepond--credits{
    display: none !important;
}

.filepond--root {
    max-height: 20em !important;
}

.stato-annuncio-attivo {
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    margin-left: 2px !important;
    background-color: green !important;
}

.stato-annuncio-revisione {
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    margin-left: 2px !important;
    background-color: orange !important;
}

.stato-annuncio-scaduto {
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    margin-left: 2px !important;
    background-color: red !important;
}

.dt-search{
    display: none !important;
}

th.dt-orderable-none {
    align-content: start !important;
}

.select-td, .input-td{
    height: 25px !important;
}

.button-container {
    display: flex !important;
    gap: 10px !important;
}

.uk-button-small-custom {
    flex: 1 !important; 
    text-align: center !important; 
}

.uk-link{
    color: #147500 !important;
}

.uk-link:hover{ 
    color: #1ca800 !important;
}

.link{
    color: #BF181D !important;
}

.link:hover{
    color: #b67072 !important;
    text-decoration: none;
}

.fixed-buttons {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    padding: 0px !important;
    z-index: 1000 !important;
    box-shadow: 0px -3px 20px 2px #00000073 !important;

}

.fixed-buttons .uk-button {
    flex: 1 !important;
    margin: 0px !important;
}

.btn-blue {
    background-color: #007bff !important;
    color: white !important;
    border: none !important;
}

.btn-green {
    background-color: #28a745 !important;
    color: white !important;
    border: none !important;
}

.containerEditButton{
    position: absolute !important;
    z-index: 1000 !important;
    top: 0px !important;
    right: 0px !important;
    width: 100% !important;
    display: flex !important;
    align-content: flex-end !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

.buttonEditButton{
    height: min-content !important;
    margin: 10px !important;
    padding: 5px 10px 9px 10px !important;
    background-color: #BF181D !important;
    color: #FFFFFF !important;
    border-radius: 20% !important;
}

.buttonEditButton:hover{
    color: #dbdbdb !important;
}

.buttonDelete{
    background-color: #BF181D !important;
    color: #FFFFFF !important;
    border-radius: 20% !important;
    width: 25px !important;
    height: 25px !important;
    margin-left: -27px !important;
    margin-top: -1px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.buttonDelete:hover{
    color: #dbdbdb !important;
}

.cardEdit{
    padding: 20px !important;
}

.boxEdit{
    background-color: #f0f0f0 !important;
    border-style: dashed !important;
    border-width: 1px;
    padding: 10px !important;
}

.uk-small-label{
    font-size: 12px !important;
    background-color: #909090 !important;
    text-transform: none !important;
    margin: 1px !important; 
}

.custom-label{
    background-color: #e3e3e3 !important;
    color: #666666 !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #666666 !important;
    border-radius: 1px !important;
}

.ribbon {
    position: absolute !important;
    right: -2px !important;
    top: -5px !important;
    z-index: 3 !important;
    overflow: hidden !important;
    width: 75px !important;
    height: 75px !important;
    text-align: right !important;
  }
  
  .ribbon span.new {
    background: #d10002 !important;
  }
  
  .ribbon span {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    text-align: center !important;
    line-height: 20px !important;
    transform: rotate(45deg) !important;
    -webkit-transform: rotate(45deg) !important;
    width: 80px !important;
    display: block !important;
    position: absolute !important;
    top: 13px !important;
    right: -21px !important;
  }
  
  .ribbon span.new::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;
    z-index: -1 !important;
    border-left: 3px solid #7d2528 !important;
    border-right: 3px solid transparent !important;
    border-bottom: 3px solid transparent !important;
    border-top: 3px solid #7d2528 !important;
  }
  
  .ribbon span.new::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
    z-index: -1 !important;
    border-left: 3px solid transparent !important;
    border-right: 3px solid #7d2528 !important;
    border-bottom: 3px solid transparent !important;
    border-top: 3px solid #7d2528 !important;
  }

  .cardBadge{
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    padding: 0 !important;
    z-index: 1000 !important;
    position: absolute !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    box-shadow: inset 0px -40px 36px -9px black !important;
  }

  .custom-button {
    margin: 10px !important;
    padding: 0px 0px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    width: 300px !important;
    text-align: center !important;
    font-size: 12px !important;
    border: none !important;
}

.custom-button2 {
    margin: 10px !important;
    padding: 0px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    width: 200px !important;
    text-align: center !important;
    font-size: 12px !important;
    border: none !important;
}

#active-filters .filters-container {
    display: flex !important;;
    flex-wrap: wrap !important;;
    justify-content: center !important;;
    padding: 10px !important;;
    text-align: center !important;;
}

#active-filters .filter-tag {
    background-color: #f0f0f0 !important;;
    padding: 5px 10px !important;;
    margin: 5px !important;;
    border-radius: 5px !important;;
    display: inline-flex !important;;
    align-items: center !important;;
}

#active-filters .filter-tag a {
    margin-left: 8px !important;;
    color: red !important;;
    font-weight: bold !important;;
    cursor: pointer !important;;
}

#cittaContainer label.hidden, #cittaContainer br.hidden {
    display: none !important;
}

.custom::-webkit-scrollbar {
    display: none !important;
}

.custom {
    -ms-overflow-style: none !important; 
    scrollbar-width: none !important;
}

.uk-tab::before {
    border: 0px !important;
}

.custom .uk-tab > li.uk-active > a {
    border-bottom-color: #BF181C !important;
}

.uk-overflow-auto-x {
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.dt-search{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

.custom-truncate {
    display: inline-block !important;
    max-width: 200px !important;
    overflow: hidden !important; 
    text-overflow: ellipsis !important; 
}

.custom-truncate-2 {
    display: inline-block !important;
    max-width: 500px !important;
    overflow: hidden !important; 
    text-overflow: ellipsis !important; 
}

.gallery-img-home {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
}

.gallery-img-banner {
    width: 100% !important;
    height: 210px !important;
    object-fit: cover !important;
}

.popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 999 !important;
}
.popup-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1200 !important;
    background-color: white !important;
    padding: 20px !important;
    max-width: 800px !important;
    text-align: center !important;
}

.no-scroll {
    overflow: hidden !important;
}

.gallery-img-videoHome {
    width: 100% !important;
    height: 210px !important;
    object-fit: cover !important;
}

.button{
    color: #BF181D !important;
}





.ad-container {
    position: relative;
    background-color: #f2f2f2;
    padding: 10px 0px 10px 0px;
    max-width: 728px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #ddd;
    overflow: hidden;
}

.ad-content {
    width: 100%;
    max-width: 728px;
    height: auto;
}

.ad-label {
    position: absolute;
    bottom: -1px;
    right: 10px;
    font-size: 10px;
    color: #666;
    font-family: Arial, sans-serif;
}


@media (max-width: 768px) {
    .ad-container {
        max-width: 100%;
    }
}








@media (max-width: 1270px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
    .gallery-container {
        justify-content: center !important;
    }
    .aligned-list {
        display: table !important;
        width: 90% !important;
    }
    .custom-button {
        width: 100% !important;
    }
    .gallery-img-home {
        width: 100% !important;
        height: 150px !important;
        object-fit: cover !important;
    }
    .popup-content {
        width: 90vw; /* Adattiamo la larghezza per schermi più piccoli */
        padding: 15px;
    }
}

@media (min-width: 640px) {
    .login {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    .gallery-container {
        justify-content: left !important;
    }
    .aligned-list {
        display: table !important;
        width: 50% !important;
    }
    #active-filters .filters-container {
        justify-content: flex-start !important; 
        text-align: left !important;
        padding-left: 15px !important;
    }
    #active-filters {
        padding-left: 10px !important;
    }
}