@media (max-width: 991.98px) {
  .logo{
    position: absolute;
    top: -18px;
  } 
}

@media (max-width: 991.98px) {
  #inbox-button{
    display: none!important;
  } 
}
/* Avatar border color in UserProfile page */
.avatar.avatar-xxl.shadow-xl.position-relative.z-index-2 {
  border: 2px #D81B60 solid;
}

.input-group-text > .material-icons {
  color: #1A73E8!important;
}

h3.mb-0 {
  color: #D81B60;
}


.mt-lg-0.mt-4.mb-3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#homePicHeader {
  background-image: url("../../images/home-desktop.png");
}

.page-header {
  background-position: unset!important;
}

h3.text-white {
  font-size: 40px; 
  line-height: 1.4; 
  padding: 8px; 
}

.navbar-toggler .navbar-toggler-icon .navbar-toggler-bar {
  background-color: violet;
}

.badge.badge-primary {
  color: white;
  background-color: #cc084b;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  width: auto;
  font-size: 12px;
}

.mt-lg-0.mt-4.text-warning {
  margin-bottom: 1.5rem;
}

p.lead.text-white {
  margin-top: 5%;
  font-size: 22px;
  line-height: 1.4;
}

.col-8.mx-auto.text-center.mt-1{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sottolineato {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 4px;
}

input.geoapify-autocomplete-input.form-control, input.choices__input.choices__input--cloned, input.choices__item.choices__item--selectable {
  font-weight: bold!important;
}

/* Personalizza la scrollbar per tutti gli elementi e il body della pagina */
::-webkit-scrollbar {
  width: 0px!important; /* Larghezza della scrollbar */
}

/* Traccia della scrollbar */
::-webkit-scrollbar-track {
  background: #fff; /* Colore di sfondo bianco per la traccia */
  box-shadow: inset 0 0 3px grey; /* Ombra interna per un effetto incassato */
}

/* Maniglia della scrollbar */
::-webkit-scrollbar-thumb {
  background: #43A047 ; /* Colore di sfondo rosa per la maniglia */
  border-radius: 8px; /* Bordi arrotondati per la maniglia */
  border: 2px solid #fff; /* Bordo bianco attorno alla maniglia */
}

/* Effetto al passaggio del mouse sulla maniglia della scrollbar */
::-webkit-scrollbar-thumb:hover {
  background: #43A047 ; /* Colore di sfondo più scuro quando il mouse è sopra */
}

@media (max-width: 1200px) {
  .nav-link.overflow-visible.ps-2.d-flex.cursor-pointer.align-items-center.btn.btn-sm.bg-gradient-success.mb-0.me-1.text-white,
  .nav-link.overflow-visible.ps-2.d-flex.cursor-pointer.align-items-center.btn.btn-sm.bg-gradient-info.mb-0.me-1.text-white
  {
    height: 39px;
  }
}

@media (max-width: 768px) { /* iPad e dispositivi con larghezza inferiore */
  .city-distance-container {
      flex-direction: row;
  }

  h3.text-white {
    font-size: 30px; 
    line-height: 1.4; 
    padding: 8px; 
  }
  
  p.lead.text-white {
    padding-top: 10px;
    font-size: 20px;
    line-height: 1.4;
  }

  #homePicHeader {
    background-image: url("../../images/home-mobile-3.png") !important;
  }
}

@media (max-width: 480px) { /* Smartphone e dispositivi con larghezza inferiore */

  h3.text-white {
    font-size: 30px; 
    line-height: 1.4; 
    padding: 8px; 
  }
  
  p.lead.text-white {
    padding-top: 10px;
    font-size: 16px;
    line-height: 1.4;
  }

  .city-distance-container {
      flex-direction: column;
  }

  .col-lg-5.mt-lg-n2.mt-2.d-none, .col-lg-9.mt-lg-n2.mt-2 {
    width: 100%;
  }

  .mt-lg-0.mt-4.mb-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .badge.badge-primary {
    color: white;
    background-color: #cc084b;
    padding: 0.55rem;
    /* width: 42%; */
    font-size: 14px;
  }
  /* Btn cerca home */
  .col-lg-2.mt-lg-n2.mt-2 {
    margin-top: 0rem;
    display: flex;
    align-items: center;
  }

  #footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dog_card_addType_btn{
    position: absolute;
    z-index: 2;
    right: -8px!important;
    text-transform: capitalize;
    background-color: transparent !important;
    top: -8px!important;
    border-bottom-left-radius: 4.0rem;
    border-top-right-radius: 4.0rem;
    opacity: 0.7;
    height: 28px;
    font-size: 10px;
    text-align: center;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 3) {
  /* CSS */
 /* Smartphone e dispositivi con larghezza inferiore */
  .city-distance-container {
      flex-direction: column;
  }

  .col-lg-5.mt-lg-n2.mt-2.d-none, .col-lg-9.mt-lg-n2.mt-2 {
    width: 100%;
  }

  .badge.badge-primary {
    color: white;
    background-color: #cc084b;
    padding: 0.55rem;
    /* width: 42%; */
    font-size: 14px;
  }
  /* Btn cerca home */
  .col-lg-2.mt-lg-n2.mt-2 {
    margin-top: 0rem;
    display: flex;
    align-items: center;
  }
}

@media only screen and (min-width: 321px) and (max-width: 479px) {
  .col-8.mx-auto.text-center.mt-1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 320px) {

  .col-lg-7.text-center.mx-auto {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
  }
  .mt-n5 {
    margin-top: 0rem !important;
    font-size: 25px!important;
  }

  .px-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  h3.text-white {
    font-size: 21px; 
    line-height: 1.4; 
    padding: 8px; 
  }

  p.lead.text-white {
    margin-top: 8%;
    font-size: 16px;
    line-height: 1.4;
  }

  .sottolineato {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
  }

  #footer-links {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .col-8.mx-auto.text-center.mt-1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2,1fr);
  }

  .col-lg-2.mt-lg-n2.mt-2 {
    display: flex;
    flex-direction: column;
  }

  #homePicHeader {
    background-image: url("../../images/home-mobile-1.png") !important;
  }
}

.select-choice-2 {
    background: #ffffff;
    color: #344767;
    width: 100%;
    padding: 0.5rem;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    /* border-bottom: 2px solid #e91e63; */
    font-weight: bold;
    margin: 24px;
    margin-left: -2.5rem;
    margin-right: 1.5rem;
    /* text-align: -webkit-center; */
    font-family: Arial, sans-serif; 
    cursor: pointer; 
}

.select-choice-2:hover, .select-choice-2:focus {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 2px solid #e91e63;
}

.select-choice-2 option:checked {
  background-color: #007bff; /* Sfondo blu per l'opzione selezionata */
  color: #fff; /* Testo bianco per l'opzione selezionata */
}

.city-distance-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  /*align-items: center;*/
  padding: 0 15px; /* Aggiungi padding per non attaccare i bordi */
  margin-top: 1rem;
}

.dogs-card .card-header{
    min-height: 191px;
}

.dogs-card .card-header .dog-image{
    text-align: center;
}

.pagination.pagination-primary .page-item.active>.page-link,
.pagination.pagination-primary .page-item.active>.page-link:focus,
.pagination.pagination-primary .page-item.active>.page-link:hover {
  color: #fff;
}

.text-xl {
  font-size: 1.7rem !important;
}

.msgNotification .listOfContacts .center-el{
  position: static;left: 0;right: 0;transform: initial;margin-bottom: 15px;
}

.msgNotification .listOfContacts{
  width: 100%;
  position: relative;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}

.top-20 {
  top: 20% !important;
}

.choices .choices__list.choices__list--single .choices__item--selectable {
  color: #344767;
  opacity: 1;
}

.dog-image img {
  max-height: 215px;
  min-height: 215px;
  width: 100%;
  object-fit: cover;
  background-color: #eaeef3 ; /* #D81B60 */
}

.min-height-70{
  min-height: 70px !important;
}

.max-height-70{
  max-height: 70px !important;
}

#sendMessageCollapse:not(.show) + .msgSuccessMessage{
  display: block !important;
}

.choices{
  margin-bottom: 0;
}

.dropzone .dz-image img {
  display: block;
  height: 120px;
  width: 100%;
  object-fit: cover;
}

.dropzone.dz-clickable {
  cursor: pointer;
  display: flex;
  justify-content: center;
  vertical-align: middle;
  flex-wrap: wrap;
}

.dz-message{
  width: 100% !important;
}

.dog_card_addType_btn{
  position: absolute;
  z-index: 2;
  right: -16px;
  text-transform: capitalize;
  background-color: transparent !important;
  top: -16px;
  border-bottom-left-radius: 4.0rem;
  border-top-right-radius: 4.0rem;
  opacity: 0.7;
  height: 28px;
  font-size: 10px;
  text-align: center;
}

.dog_card_favorite_btn{
  position: absolute;
  z-index: 2;
  right: 6px;
  text-transform: capitalize;
  background-color: transparent !important;
}

.dog_card_favorite_btn span{
  color: #111;
  font-size: 15px;
}

.zIndexAdd.zIndexMax{
  z-index: 9999;
}

.fa-lg {
  font-size: 1.33333em !important;
}

#dogFilterNavigation.show{
  display: block !important;
  position: fixed;
  height: auto;
  width: 100%;
  top: 10px;
  left: 0;
  z-index: 9999;
}

#dogFilterNavigation.show ul{
  height: 100vh;
  overflow-y: scroll !important;
}

.autocomplete-container {
  position: relative;
}
.geoapify-autocomplete-input{
  border: none !important;
}
.geoapify-autocomplete-items{
  background: #ffffff;
  border: none;
  border-radius: 0 0 0.5rem .5rem !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 1rem 0.5rem;
  
}

.geoapify-autocomplete-items div:hover {
  background-color: #f0f2f5;
  border-radius: 0.3rem;
  padding-top: 7px;
  color: #344767;
}
.geoapify-close-button {
  position: absolute;
  right: 0;
  top: 0;
  height: 93%;
  display: none;
  align-items: center;
  background: #fff;
}

.nav-link.avatar-link{
  padding: 3px;
}

.nav-link.avatar-link .avatar{
  height: 33px ;
  width: 33px;
  margin-right: 5px;
}

.text-transform-capitalize{
  text-transform: capitalize;
}

.fs-14{
  font-size: 14px;
}

.multipleVariety > .choices{
  border-bottom: 1px solid #dddddd;
}

.text-nicelabel + label{
  display: inline-block;
  padding: 8px;
}
.text-nicelabel:not(:checked) + label {
  background-color: #1A73E8;
  color: #fff;
}
.text-nicelabel:checked + label {
  background-color: #4caf50;
}

.navbar-toggler[aria-expanded="true"]{
  border: none;
}

.accordion div button[aria-expanded='false'] .collapse-close {
  display: inline-block !important;
}

/* .pswp__zoom-wrap{
  display: flex;
    justify-content: center;
    transform: none !important;
    padding: 50px;
    padding-top: 30px;
}
.pswp__img:not(.pswp__img--placeholder) {
  position: static !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
} */
@media only screen and (max-width: 767.98px) and (min-width: 280px)  {
  .messenger{
    position: relative;
    height: 500px;
  }
  .messenger-listView{
    position: absolute;
    height: 100%;
    border-radius: 10px;
    top: 0;
  }
  .messenger-messagingView{
    height: 100% !important;
  }
  .messenger-tab{
    /* height: auto !important; */
    height: 532px !important;
    width: 100% !important;
  }
  .user-name{
    font-size: 16px;
  }
  .m-header{
    padding: 10px 0;
  }
  .m-header svg{
    margin: 0 6px;
  }

  .filterToggler{
    margin-bottom: 2.5rem !important;
  }
}

.dropzone .dz-preview.dz-error .dz-error-message{
  top: 150px;
}

@media only screen and (max-width: 395.98px) and (min-width: 280px)  {
  .dog-flex-wrap{
    flex-direction: column;
  }
  
  .dog-flex-wrap .me-5{
    margin-right: 0 !important;
  }
  .col-lg-2.mt-lg-n2.mt-2 {
    margin-top: 0rem !important;
  }
}
@media only screen and (max-width: 991.98px) and (min-width: 280px)  {
  .nav-btn-item{
    margin-bottom: 15px !important;
    margin-top: 7px;
  }

  .navbar .navbar-collapse .navbar-nav .dropdown .dropdown-menu {
    padding: 0 !important;
  }
  .navbar .navbar-collapse .navbar-nav .dropdown .dropdown-menu ul.list-group{
    width: 100% !important;
    padding-top: 20px;
  }
}