/* Global styles needed for startpage and other pages */


/*  Component: item v2.0  */

.item-v2 {
    position: relative;
    border: none;
    flex: 1 1 calc(19% - 8px);
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 6px;
    text-decoration: none;
    overflow: hidden;
    text-decoration: none;
    line-height: 16px;
    color: #46474E;
    max-width: calc(25% - 8px);
}

.item-v2:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    border-radius: 6px; 
    border: 1px solid transparent;
    pointer-events: none;
}

.item-v2:hover:before {
    border-color: #D32222;
}

.item-v2:active:before {
    border-width: 2px;
}

.item-v2:focus,
.item-v2:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(183, 52, 52, .25);
}

.item-v2 .item-image {
    height: 225px;
    width: 100% !important;
    object-fit: cover;
    background-color: #f2f2f2;
}

.item-v2 .item-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: normal;
    padding: 8px 8px 16px;
    color: #333;
}

.item-v2 .price {
    font-size: 20px;
    line-height: 28px; 
    font-weight: normal; 
    color: #333333;
    font-size: 14px;
    font-weight: 900;
    line-height: 20px;
    margin-bottom: 0;
    padding: 0;
}

.item-v2 .item-name {
    padding: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
    width: 100%;
    text-decoration: none !important;
    color: #333333;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 4px;
    margin-top: 0;
}

.item-v2 .item-location {
    color: #5C5D66;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    word-wrap: break-word;
    margin-top: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
    width: 100%;
}



@media (max-width: 1300px) {
    .item-v2 {
        flex: 1 1 calc(17% - 8px);
        max-width: calc(25% - 8px);
    }
    .item-v2  .item:nth-child(16),
    .item-v2  .item:nth-child(17),
    .item-v2  .item:nth-child(18) {
        display: none;
    }
    .item-v2  .item-name {
        
    }
}

@media (max-width: 1000px) {
    .item-v2 {
        flex: 1 1 calc(22% - 8px);
        max-width: calc(25% - 8px);
    }
    .item-v2  .item:nth-child(16),
    .item-v2  .item:nth-child(17),
    .item-v2  .item:nth-child(18) {
        display: initial;
    }
    .item-v2  .item-name {
        
    }
}

@media (max-width: 767px) {
    .item-v2  .item-image {
        height: 120px;
    }
    .item-v2 .item-name {
      margin-bottom: 0;
    }
}

@media (max-width: 700px) {
    .item-v2 {
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    .item-v2  .item-name {
        
    }
}