/* Masthead */
.masthead {
    position: relative;
    padding: 0 0 60px;
    background: #F5F5F5;
    height: auto;
}

.masthead:after {
    display: none;
}

.masthead .breadcrumbs {
    padding: 0;
}

.masthead .container {
    max-width: 1325px;
    height: 100%;
}

.masthead__content-wp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.masthead__content {
    display: flex;
    flex-direction: column;
}

.masthead__text {
    width: 100%;
    padding-right: 20px;
}

.masthead__text h1 {
    font-size: 50px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 25px;
}

.masthead__image {
    position: relative;
    left: 0;
    top: 0;
}

@media (min-width: 1200px) {
    .masthead {
        position: relative;
        margin-top: 146px;
        padding: 60px 0;
        min-height: 450px;
    }

    .masthead__text {
        width: 50%;
        padding-right: 120px;
    }

    .masthead__image {
        position: absolute;
        left: 50%;
        top: 0;
        height: 100%;
    }

    .masthead__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* Filter Groups */
.filter-group {
    margin: 5px 0;
    padding-top: 20px;
    position: relative;
    padding: 10px 30px 26px 25px;
    margin: 0;
}

.rental-filter .filter-group {
    background: #f5f5f5;
    padding: 20px 30px 26px 25px;
}

.filter-group:before {
    content: "";
    width: calc(100% - 40px);
    height: calc(100% - 118px);
    background-color: #fff;
    position: absolute;
    left: 20px;
    top: 62px;
    z-index: 0;
}

.filter-group.collapsed svg {
    transform: rotate(180deg);
}

.filter-group .icon-minus {
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-group.collapsed .icon-minus {
    display: none;
}

.filter-group .icon-plus {
    transition: all 0.2s ease;
    cursor: pointer;
    display: none;
}

.filter-group.collapsed .icon-plus {
    display: block;
}

.filter-group h4 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 20px;
}

.filter-group label span {
    font-size: 16px;
}

.checkbox-label {
    display: block;
    margin: 8px 0;
    font-size: 14px;
    color: #333;
}

.filter-controls {
    display: flex;
    gap: 20px;
    padding-top: 30px;
    justify-content: flex-end;
}

.control-btn {
    border: none;
    padding: 0;
    color: #9B4C32;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-weight: bold;
    background: none;
}

.control-btn:hover {
    color: #020202;
    background: #f5f5f5;
}

.control-btn:hover #Path_8961,
.control-btn:hover #reset-2 {
    color: #020202;
}

.control-btn:hover #Path_8961,
.control-btn.active #Path_8961 {
    fill: #020202;
}

.control-btn:hover #reset-2,
.control-btn.active #reset-2 {
    fill: #020202;
}

.control-btn.active {
    color: #020202;
}

/* Checkbox Styles */
.filter-group:not(.certified-filter) input[type="checkbox"] {
    margin-right: 10px;
    -webkit-appearance: none;
    border: solid 1px #CCCCCC;
    height: 10px;
    width: 10px;
    border-radius: 10px;
    position: relative;
}

.filter-group:not(.certified-filter) input[type="checkbox"]:checked {
    background:#FBC81F;
    border: none;
}

.filter-group:not(.certified-filter) input[type="checkbox"]:checked:after {
    content: "";
    width: 10px;
    height: 7px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="9.341" height="6.985" viewBox="0 0 9.341 6.985"><path id="check_5_" data-name="check (5)" d="M8.1,0,3.345,4.415,1.332,2.267,0,3.515l3.252,3.47L9.342,1.341Zm0,0" transform="translate(0)"/></svg>');
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: 0;
    left: 2px;
}


/* CTA Buttons Styles */
.cta-buttons {
    padding: 30px 0;
}

.cta-buttons.bg-black {
    background: #252526;
}

.cta-buttons h2 {
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.cta-buttons p {
    color: #fff;
    text-align: center;
}

.cta-buttons__buttons {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-buttons__buttons a {
    color: #252525 !important;
    background-color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    padding: 37px 10px;
    text-transform: uppercase;
    font-size: 24px;
    border-bottom: solid 8px #ffcc00;
    border-radius: 2px;;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-buttons__buttons svg {
    margin-left: 20px;
}

.cta-buttons .container {
    max-width: 1325px;
}

@media (min-width: 768px) {
    .cta-buttons {
        padding: 60px 0;
    }
}

@media (min-width: 1200px) {
    .cta-buttons {
        padding: 80px 0;
    }

    .cta-buttons__buttons a {
        width: calc((100% / 3) - 22px);
    }

    .cta-buttons__buttons.cta-buttons-count-2 a {
        width: max-content;
        padding: 37px 90px;
    }


    .cta-buttons__buttons a:hover {
        background: #ffcc00;
    }
}

/* Wysiwyg White and Yellow Styles */
.wysiwyg {
    padding: 30px 0;
}

.wysiwyg .container {
    max-width: 1325px;
}

.wysiwyg.bg-yellow {
    background: #B1963C;
    color: #fff;
}

.wysiwyg.bg-yellow h2 {
    color: #fff;
    font-size: 35px;
}

.wysiwyg.bg-white {
    color: #252526;
}

.wysiwyg.bg-white h2 {
    color: #252526;
    font-size: 35px;
    line-height: 40px;
    padding-bottom: 20px;
}
.wysiwyg-content.center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wysiwyg-content.center p {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.wysiwyg-content.center a {
    display: inline-block;
    margin: 10px;
    clear: both;
}

@media (min-width: 768px) {
    .wysiwyg {
        padding: 60px 0;
    }
}

@media (min-width: 1200px) {
    .wysiwyg {
        padding: 80px 0;
    }
}

/* Trending Deails */

.trending-deals {
    padding: 60px 0;
    background: #f5f5f5;
}

.trending-deals .container {
    max-width: 1325px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.deals-header {
    margin-bottom: 40px;
    width: 100%;
}

.deals-intro {
    max-width: 100%;
    width: 100%;
}

.deals-image {
    width: 100%;
}

.deals-image img {
    width: 100%;
}

.deals-intro h2 {
    margin-bottom: 20px;
    color: #333;
    line-height: 48px;
    font-size: 35px;
    line-height: 40px;
}

.deals-intro p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.view-all-link {
    text-transform: uppercase;
    display: inline-block;
    padding: 14px 25px;
    background: #ffb81c;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.view-all-link:after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #252526;
    content: "";
    display: inline-block;
    position: relative;
    margin-left: 7px;
}

.view-all-link:hover {
    background: #ffa200;
    color: #fff;
}

.view-all-link:hover:after {
    border-color: transparent transparent transparent #fff;
}

/* Slider specific styles */
.deals-slider {
    width: 100%;
}

/* Slick arrow styles */
.deals-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 40px;
    height: 40px;
    background: #ffb81c;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #000;
    font-size: 0;
}

.deals-slider .slick-prev {
    left: -20px;
}

.deals-slider .slick-next {
    right: -20px;
}

.deals-slider .slick-prev:before,
.deals-slider .slick-next:before {
    font-size: 20px;
    color: #000;
    content: "\e902";
}

.deals-slider .slick-prev {
    transform: rotate(180deg);
    top: calc(50% - 20px);
}

.deals-slider .slick-prev:hover,
.deals-slider .slick-next:hover {
    background: #ffa200;
}

.btn-location {
    background: #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    border-bottom: solid 8px #FBC81F;
    position: relative;
    font-size: 24px;
    font-weight: bold;
    line-height: 35px;
    padding: 22px 60px 22px 80px;
    margin-right: 0;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    max-width: max-content;
}

.btn-location:before {
    content: "";
    background: url('data:image/svg+xml,<svg id="Group_21" data-name="Group 21" xmlns="http://www.w3.org/2000/svg" width="19.575" height="27.025" viewBox="0 0 19.575 27.025"><path id="Path_17" data-name="Path 17" d="M80.361,0a9.8,9.8,0,0,0-9.788,9.788c0,6.7,8.759,16.53,9.132,16.945a.882.882,0,0,0,1.312,0c.373-.415,9.132-10.248,9.132-16.945A9.8,9.8,0,0,0,80.361,0Zm0,14.712a4.924,4.924,0,1,1,4.924-4.924A4.924,4.924,0,0,1,80.361,14.712Z" transform="translate(-70.573)" fill="%23252526"/></svg>');
    background-repeat: no-repeat;
    width: 20px;
    height: 28px;
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translate(0, -50%);
}

.btn-location:after {
    height: 19px;
    width: 12px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="11.837" height="18.572" viewBox="0 0 11.837 18.572"><path id="down-chevron" d="M16.021,0,9.286,6.735,2.551,0,0,2.551l9.286,9.286,9.286-9.286Zm0,0" transform="translate(0 18.572) rotate(-90)" fill="%23252526"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    position: absolute;
    margin: 0;
    top: 50%;
    transform: translate(0, -50%);
    right: 34px;
}

.filter-actions button {
    display: inline-block;
    position: relative;
    border: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    padding: 14px 12px;
    width: 100%;
    margin-bottom: 15px;
}

.filter-actions button:after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #fff;
    content: "";
    display: inline-block;
    position: relative;
    margin-left: 7px;
}

.rental-filter .range-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    width: 100%;
    height: 5px;
    background: no-repeat;
    -webkit-appearance: none;
    pointer-events: none;

}

.rental-filter input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 6px;
    height: 23px;
    background: #252526;
    border-radius: 2px;
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    pointer-events: auto;
    margin-top: 0;
}

.rental-filter input[type="range"]::-moz-range-thumb {
    width: 5px;
    height: 20px;
    background: #252526;
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
}

.rental-filter  input[type="range"]:hover::-webkit-slider-thumb {
    background: #B1963C;
}

.rental-filter .range-slider .min-range {
    left: 0;
}

.rental-filter .range-slider .max-range {
    right: 0;
}

.rental-filter .range-slider {
    position: relative;
    height: 5px;
    margin: 30px 0;
}

.rental-filter .range-slider .slider-track {
    position: absolute;
    width: 100%;
    height: 5px;
    background: #B1963C;
    border-radius: 5px;
}

.rental-filter .range-slider .slider-track .progress{
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    background: #96140D;
    border-radius: 5px;
}

.rental-filter [type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 7px; /* Change width */
    height: 20px; /* Change height */
    background: #B0190F; /* Change color */
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
}

.filter-group > * {
    position: relative;
}

.rental-filter .price-inputs{
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #000;
}

.rental-filter .price-inputs .price-input{
    position: relative;
    padding: 5px 0 5px 9px;
    position: relative;
}

.rental-filter .price-inputs .price-input label{
    position: absolute;
    left: 20px;
    top: 10px;
    z-index: 20;
    font-weight: normal;
}

.rental-filter .filter-group.collapsed h4{
    padding-bottom: 0;
}

.rental-filter .price-inputs .price-input input{
    width: 99px;
    padding: 4px 8px 4px 39px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 4px;
 }
 
 .rental-filter .filter-group {
    padding-top: 20px;
 }
 .page-template-page-rental-power-main .family-list { 
    max-height: 261px !important;
 }
 .masthead__description h2 {
    color: #252525;
 }
 .filter-actions .btn-shop-new {
     background: #B1963C;
 }
 .family-header h2.family-name::after {
    content: unset;
 }
 
 .filter-actions .btn-shop-new:hover {
     background: #99802b;
 }
 
 .filter-actions .btn-shop-rental {
     background: #B0190F;
 }
 
 .filter-actions .btn-shop-rental:hover {
     background: #99160d;
 }



.filter-actions .btn-shop-new {
    background: #B1963C;
}

.filter-actions .btn-shop-new:hover {
    background: #99802b;
}

.filter-actions .btn-shop-rental {
    background: #B0190F;
}

.filter-actions .btn-shop-rental:hover {
    background: #99160d;
}

.filter-actions .btn-shop-used {
    color: #252526;
    background: #FBC126;
}

.filter-actions .btn-shop-used:after {
    border-color:transparent transparent transparent #252526;
}

.filter-actions .btn-shop-used:hover {
    background: #f2b102;
}

.hide-filter h3 {
    font-size: 24px;
    text-align: left;
    padding: 0 20px;
    font-weight: 600;
    color: #252525;
}

.hide-filter h4 {
    background: #252525;
    color: #fff;
    font-size: 20px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.collapsed .hide-filter h4 svg {
    transform: rotate(180deg)
}

.hide-filter svg path {
    fill: #fff;
}

.reset-all-filters{
    margin-top: 20px;

}

@media screen and (min-width: 768px) {
    .deals-slider .deal-card:before {
        content: "";
        position: absolute;
        width: 50%;
        height: 100%;
        top: 0px;
        right: 0;
        background: transparent;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
        z-index: 2232;
    }
}

@media (min-width: 1200px) {
    .hide-filter {
        display: none;
    }

    .deals-header {
        margin-bottom: 40px;
        min-width: 533px;
        width: 553px;
    }

    .deals-intro {
        max-width: 533px;
        padding-right: 100px;
    }

    .deals-image {
        width: auto;
    }

    .deals-image img {
        width: auto;
    }

    .deals-slider {
        margin: 0 -15px;
        width: calc(100% - 632px);
    }

    .btn-location {
        margin-right: 30px;
        margin-bottom: 20px;
    }

    .tax-cat_new_machine_rental_family .masthead__image {
        width: 50%;
        left: unset;
        right: 0;
    }
}
