/**
 * Stylesheet for MTD Global Content plugin
 * Brings necessary CSS from main site to properly render specific content
 */

/**
 * Smart buy section
 */
@media (min-width: 768px) {
.smart-buy .kt-row-layout-equal>.wp-block-kadence-column {
    height: 100%;
    max-height: 430px;
	margin: auto;
	overflow: hidden;
	-webkit-flex: 1;
    flex: 1;
    width: 0;
}
body:not(.rtl) .kt-row-column-wrap:not(.kt-gutter-none)>.wp-block-kadence-column:last-child {
    margin-right: 0px;
}
}
.mtd-global .kt-row-column-wrap {
    padding: 25px 0 25px 0;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}
.mtd-global #kt-layout-id_fa57fd-74 > .kt-row-column-wrap {
    padding-bottom: 24px;
    min-height: 370px;
    max-width: 470px;
    margin-left: auto;
    margin-right: auto;
}
.mtd-global #kt-layout-id_1ee5ac-73 > .kt-row-column-wrap {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    min-height: 374px;
}
.mtd-global .kadence-column_09d4c1-bb > .kt-inside-inner-col {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.mtd-global .kt-row-valign-middle>.wp-block-kadence-column {
    -webkit-justify-content: center;
    justify-content: center;
}
.mtd-global .smart-buy {
    background-color: #1b1b18;
    color:  #ffffff;
}
.mtd-global .wp-block-kadence-iconlist ul.kt-svg-icon-list {
    padding: 0;
    list-style: none;
    margin: 0 0 10px 0;
}
/**
 * Sale page
 * Styles for the catalog of inventory
 */

.fwpl-layout, .fwpl-row {
    position: relative;
}
.sale-page-facets select {
    width:  100%;
    max-width: 356px;
}
.sale-page-facets input[type="button"], .sale-page button {
    padding:  2px 8px;
}
.single-content .sale-page-facets .wp-block-columns, .sale-page-facets .facetwp-facet {
    margin-bottom:  0;
}
.sale-page .sale-item-body a {
    color:  #000;
    text-decoration: none;
}
.sale-page .sale-item-phone a {
    color:  #fff;
    text-decoration: none;
}
.sale-page .fwpl-item a:hover {
    color:  #f77117;
}
.sale-page .fwpl-result img {
    min-height: 225px;
}
.sale-page .fwpl-result > .fwpl-row > .fwpl-col > .fwpl-item > a {
    max-height: 225px;
    display: block;
    overflow: hidden;
}
.sale-page .fwpl-result > .fwpl-row > .fwpl-col {
    height: 685px;
    overflow: hidden;
}
.sale-item-body {
    min-height: 394px;
}
.warranty, .titling, .reserved .reserved {
    font-weight:  700;
}
.warranty-titling {
    padding: 0 0 4px 0;
}
.hide {
    display: none;
}
.sale-item-body .view-more {
    position: absolute;
    bottom: 0;
    background: #fff;
    width: 93%;
    padding: 10px 0;
}
.truck_excerpt {
    border-top: solid 1px #d9d9d9;
}
/**
 * Status flags on trucks
 */
.reserved .reserved, .sold .sold {
    color: red;
    font-weight: bold;
    font-size: 16px;
}
.reserved .flag .reserved, .sold .flag .sold {
    margin: -45px 0 0 -50px;
    display: block;
    background-color: #fff;
    width: 100px;
    text-align: center;
}
.sale-page .sold .sale-item-phone, .sold .sale-item-phone .fwpl-item {
    background-color: red;
    font-size: 16px;
}
.sale-page .sold {
    position: relative;
    top: 0;
}
.flag {
    display: none;
    text-transform: uppercase;
    position: absolute;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 20px solid #fff;
    width: 0;
    margin: 24px 0 0 10px;
}
.sold .flag, .reserved .flag {
    display: inline;
}
/**
 * FacetWP specific
 */
.facetwp-counter {
    display: none;
}
.facetwp-facet .facetwp-checkbox[data-value="1featured"] {
    display: none;
}
@media (max-width: 880px) {
    body .facetwp-template .fwpl-layout, 
    body .facetwp-template-static .fwpl-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    .sale-page .fwpl-item img {
        width: 100%;
    }
    .sale-item-body {
        min-height: 330px;
    }
    .sale-page .fwpl-result img {
    min-height: 276px;
}
}