.listing-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
}
.listing-images {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.main-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}
.small-images {
  display: flex;
  justify-content: space-between;
}
.small-image {
  width: 33.3333%;
  height: 66px;
  background-size: cover;
  background-position: center;
  margin-left: -2px;
  margin-right: -2px;
}
.listing-info {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 20px;
}
.listing-address {
    font-size: 22px;
    color: #313131;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: tahoma;
}
.listing-details {
    font-size: 16px;
    color: #777;
    margin-bottom: auto;
    font-family: tahoma;
}
.listing-price {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: tahoma;
}

/*.listing-description {*/
/*    margin: 0;*/
/*    color: #121212;*/
/*    font-size: 16px;*/
/*    line-height: 22px;*/
/*    text-align: left;*/
/*    white-space: pre-wrap;*/
/*}*/

.worker-info {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-family: tahoma;
}
.worker-info .fio,
.worker-info .phone {
  margin-right: 10px;
}
.worker-info a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #ffbf23;
    color: #000 !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    margin-right: 20px;
    font-size: 14px;
    padding-left: 30px;
    padding-right: 30px;
    height: 25px;
    display: flex;
    align-items: center;
}


/* одна страница*/
.wide-listing-container {
      display: flex;
      flex-direction: row;
      margin-bottom: 50px;
    }
    .wide-listing-container .listing-description {
                 margin: 0;
    color: #121212;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
    white-space: pre-wrap;
        font-family: tahoma;
    margin-top: 20px;
    }
    .wide-listing-left {
      width: 66%;
      padding-right: 20px;
    }
    .wide-listing-right {
      width: 33%;
      padding-left: 20px;
      box-sizing: border-box;
      margin-top: 9px;
    display: flex;
    flex-direction: column;
    background-color: #ebebeba1;
    padding: 15px;
    border-radius: 8px;
    height: fit-content;
    }
    .listing-address {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 10px;
      font-family: tahoma;
    }
    .metro-info {
      font-size: 16px;
        color: #777;
        margin-top: 8px;
        font-family: tahoma;
        margin-bottom: 20px;
    }
    .info-row {
      display: flex;
      justify-content: space-around;
      margin-bottom: 10px;
    }
    .info-item {
          padding: 0;
    margin: 0;
    font-size: 22px;
    line-height: 29px;
    color: #313131;
    font-weight: 600;
    text-align: center;
    }
    .info-value {
          font-family: tahoma;
    }
.info-label {
    font-size: 14px;
    color: #777;
    font-family: tahoma;
    display: block;
    width: 100%;
    font-size: 18px;
    color: #818181;
    font-weight: 400;
}
    .listing-description {
            font-size: 16px;
    color: #777;
    margin-bottom: 20px;
    font-family: tahoma;
    }
    .pometka{
            list-style: none;
    padding-left: 0 !important;
    }
    .listing-price {
      font-size: 26px;
      font-weight: 500;
      margin-bottom: 10px;
      font-family: tahoma;
    }
    .worker-fio, .worker-phone {
      font-size: 18px;
      color: #333;
      margin-bottom: 10px;
      font-family: tahoma;
    }
    .general-info{
            font-family: tahoma;
    }
    .general-info h2{
        margin-bottom: 15px;
        margin-top: 30px;
    }
    .general-info ul{
            list-style-type: none;
        padding-left: 0 !important;
    }
    .general-info li{
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 22px;
    list-style: none;
    }
    .general-info li span:nth-child(1){
        margin-right: 10px;
            color: #7a7a7a;
    }
    .general-info li span:nth-child(2){
        padding-left: 24px;
    }
    
    .swiper-container {
      width: 100%;
      height: 400px;
      overflow: hidden;
      margin-bottom: 20px;
              position: relative;
    }
    .swiper-slide {
      background-size: cover;
      background-position: center;
    }
    .advertisement-link{
padding: 6px 12px;
    background-color: #ffbf23;
    color: #000 !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    padding-left: 15px;
    padding-right: 15px;
    height: 25px;
    display: flex;
    align-items: center;
    width: 150px;
    font-weight: bold;
    font-family: tahoma;
    margin-top: 14px;
    }
/* одна страница*/

@media (min-width: 768px) {
  .listing-container {
    flex-direction: row;
  }
  .listing-images {
    width: 40%;
  }
  .listing-info {
    width: 60%;
  }
  
}

@media (max-width: 768px) {
    .listing-info {
        padding-left: 0;
        margin-top: 10px;
    }
    .worker-info {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }
    .worker-info a {
        margin-bottom: 10px;
    }
     .worker-info .fio, .worker-info .phone {
        margin-bottom: 10px;
    }
    
    .wide-listing-container {
        display: flex;
        flex-direction: column;
        margin-bottom: 50px;
    }
    .wide-listing-left {
        width: 100%;
        padding-right: 20px;
    }
    .wide-listing-right {
        width: 100%;
        
    }
    
}
#listings{
    min-height: 400px;
    position: relative;
    font-family: tahoma;
}

#spinner {
position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    margin-left: -25px;
    border-radius: 50%;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hide {
  display: none;
}