/*
header
offer listing list
offer listing grid carousel
offer - sidebar
*/
.product-list-item>* {
    display: block;
}
.product-list-item .product-info {
    border-right: none;
}
.content-sidebar .product-list-item .product-info {
    padding-left: 0;
    padding-right: 0;
}
.product-list-item .add_to_compare {
    margin-bottom: 0;
}
.google-maps {
    width: 100%;
}
.product-list-item .cat-list {
    margin: 10px 0 0 0;
}

/* header */
@media (max-width: 1024px) {
    .box-header-nav {
        display: none;
    }
    .main-header .vertical-menu, .main-header .header-search, .main-header .logo {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    .main-header .logo {
        padding-bottom: 20px;
    }
    .header-control {
        margin-top: 0;
    }
}
.sticky.is-sticky {
    background: #18436e;
}
/* offer listing list */
.sort-views .button {
    padding: 8px;
    font-size: 20px;
    color: #18436e;
    border: 2px solid #f4f4f4;
    border-radius: 25px;
    line-height: 15px;
    margin-left: 5px;
    background: #f4f4f4;
}
.sort-views .button:hover, .sort-views .button.active {
    border: 2px solid #d75808;
    color: #fff;
    background: #d75808;
}
.sort-views .button .fa.fa-th-list, .sort-views .button .icon_grid-2x2, .sort-views .button .icon_map {
    font-size: 16px;
}
.product-item, .product-date, .product-buy, .offer-details {
    display: flex;
}
.product-date {
    flex-direction: column;
    justify-content: space-between;
}
.product-media {
    flex: 1 0 40%;
    max-width: 40%;
    padding-right: 20px;
}
.product-date {
    flex: 1 0 60%;
    max-width: 60%;
}
.product-buy {
    margin-bottom: 5px;
}
.product-button {
    flex: 1 0 50%;
    max-width: 50%;
    align-self: center;
    margin-bottom: 0;
}
.product-add .button-favorites.active,
.product-add .button-share.active {
    background: #d7580a;
    color: #fff;
    border-color: #d7580a;
}
.product-add .button-favorites.active .fa-heart-o:before {
    content: "\f004";
}

.product-add .button-favorites.active:hover {
    background: #888;
    border-color: #888;
}

.product-list-item .product-add {
    flex: 1 0 50%;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
}
.product-add .button {
    margin-left: 10px;
    font-size: 16px;
    width: 36px;
    height: 36px;
    line-height: 38px;
    padding: 0;
    text-align: center;
    border-radius: 50%;
    /* border: 2px solid #e6e6e6; */
    color: #18436e;
    background: #f4f4f4;
}
.product-add .button:hover {background: #18436e;color: #fff;}
.product-item-sidebar .price del {
    font-size: 16px;
}
@media (max-width: 1199px) {
    .product-list-item .product-button {
        flex: 1 0 70%;
        max-width: 70%;
        margin-top: 5px;
        padding-right: 0;
    }
    .product-buy .product-add {
        flex: 1 0 30%;
        max-width: 30%;
        justify-content: flex-end;
        margin-top: 0;
        padding-right: 0;
    }
}
@media (max-width: 991px) {
    .product-item {
        flex-direction: column;
    }
    .product-item .product-media {
        flex: 1 0 100%;
        max-width: 100%;
        padding-right: 0;
    }
    .product-item .product-date {
        flex: 1 0 100%;
        max-width: 100%;
        padding-left: 0;
    }
    .content-sidebar .product-list-item .wishlist {
        right: 10px;
    }
    .content-sidebar .product-list-item .flash {
        left: 10px;
    }
}
@media (max-width: 991px) {
    .product-info {
        display: flex;
        flex-direction: column;
    }
    .product-info .stock {
        order: 2;
        padding-bottom: 20px;
    }
    .product-info .product-name {
        order: 1;
    }
    .product-item .offer-details {
        padding-bottom: 10px;
    }
    .product-item .transport {
        padding: 0 5px;
    }
    .product-item .cat-list {
        margin: 0;
    }
}
@media (max-width: 390px) {
    .product-buy {
        flex-direction: row;
        margin-bottom: 0;
    }
    .product-buy .product-button {
        flex: 1 0 60%;
        max-width: 60%;
    }
    .product-buy .product-add  {
        flex: 1 0 40%;
        max-width: 40%;
        align-self: center;
    }
    .product-list-item .product-button .price del,
    .product-list-item .product-button .price ins {
        display: block;
    }
    .product-list-item .product-button .price ins {
        margin-left: 0;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .product-item .offer-details {
        flex-direction: column;
    }
    .product-item .offer-details .cat-list {
        order: 2;
        margin-top: 0;
    }
    .product-item .offer-details .transport {
        order: 1;
        margin-top: 5px;
        padding: 0 5px;
    }
}


/* offer listing grid carousel */

.carousel .product-item {
    flex-direction: column;
    padding: 0 5px;
    border-bottom: none;
}
.carousel .product-media, .carousel .product-date {
    flex: 1 0 100%;
    max-width: 100%;
}
.carousel .transport, .carousel .wishlist, .carousel .stock,  .carousel .product-add {
    display: none;
}
.carousel .product-media {
    padding-right: 0;
}
.carousel .product-date {
    padding-left: 0;
}
.carousel .product-button {
    padding-top: 10px;
    max-width: 100%;
}
.carousel .product-button del{
    font-size: 14px;
    margin-right: 10px;
}
.carousel .product-button ins{
    color: #d75808;
}
.carousel .product-item h3 {
    line-height: 20px;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .carousel .product-buy {
        flex-direction: column;
    }
    .carousel .product-button {
        flex: 1 0 100%;
        max-width: 100%;
        align-self: flex-start;
    }
    .carousel .group-btn-control {
        flex: 1 0 100%;
        max-width: 100%;
    }
    .carousel .product-item .product-info {
        padding: 0;
    }
    .carousel .product-media {
        margin-bottom: 0;
    }
}

/* offer - sidebar */

/* overwrite */
.recent-posts-list .product-item {
    padding: 0;
    border: none;
}
.recent-posts-list .product-item:not(.style2):not(.style3):not(.style4):not(.product-list-item):hover {
    border: none;
    box-shadow: none;
}
/*.widget-latest-post .thumb {
    float: none;
    width: auto;
    max-width: none;
    margin-right: 0;
}*/
/**/

.recent-posts-list .product-item-sidebar {
    flex-direction: column;
}
.recent-posts-list .product-media, .recent-posts-list .product-date,
.recent-posts-list .product-button {
    flex: 1 0 100%;
    max-width: 100%;
}
.recent-posts-list .product-date, .recent-posts-list .product-media {
    padding: 0;
    position: relative;
}
.recent-posts-list .product-name {
    padding-top: 20px;
    line-height: 20px;
}
.recent-posts-list .product-name a {
    color: #222;
}
.recent-posts-list .product-button {
    margin-top: 10px
}
.recent-posts-list .product-button ins {
    float: left;
    margin-right: 7px;
    margin-bottom: 0;
}
/* product-single */
.product-single .product-add {
    display: flex;
    flex-wrap: wrap;
    /* border: none; */
}
.product-single .product-add .add_to_cart {
    flex: 1 0 100%;
    border: none;
    background: #d75808;
    color: #fff;
    padding: 10px 0;
    font-weight: bold;
}
.product-single .product-add .add_to_compare, .product-single .product-add .add_to_share {
    flex: 1 0 calc(50% - 4px);
}
.product-single .product-add .add_to_compare {
    margin-right: 4px;
}
