﻿/***** BEGIN RESET *****/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    font-family: 'Roboto Condensed', sans-serif;
}

.surroundstuffbox {
    display: flex;
}

.plines {
    display: flex;
    flex-wrap: wrap;
}

.card.card-parts-cat {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    padding: 1.25rem;
    width: 25%;
    margin: 2%;
    align-items: center;
    text-align: center;
}

.card-body {
    margin-top: 20px;
}

.card-body h3 {
    margin-bottom: 2.3rem;
}

ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

td {
    vertical-align: top;
}


/***** END RESET *****/

/* Clearfix */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}

/* Inventory Styling */
.list-content .list-main-section .list-container .list-listing .listing-top-right .view-listing-details-link,
.faceted-search-content .selected-facets-container .selected-facet,
.list-content .list-listing-mobile .view-listing-details-link,
.list-content .list-listing-mobile .buy-now-link,
.list-content .list-listing-mobile .check-availability-link,
.list-content .list-listing-mobile .email-seller-link,
.detail-content .detail-main-body .main-detail-data .offer-btn,
.detail-content .detail-main-body .main-detail-data .buy-btn,
.detail-content-mobile .detail-main-body .main-detail-data .dealer-phone-mobile-container .dealer-phone-mobile,
.detail-content-mobile .detail-main-body .main-detail-data .offer-btn-mobile,
.detail-content-mobile .detail-main-body .main-detail-data .send-email-btn-mobile,
.detail-content-mobile .detail-main-body .main-detail-data .send-wholesale-email-btn-mobile,
.detail-content-mobile .detail-main-body .main-detail-data .fin-calc-btn-mobile,
.list-container-flexrow .view-listing-details-link,
.modal-content .form-bottom .captcha-and-submit .captcha-placeholder button,
.contact-options a,
.fin-calc-mobile>a {
    background: #AC202D !important;
}

.list-content .list-title .list-title-text,
.detail-content-mobile .detail-main-body .detail-mobile-top .detail-title {
    font-size: 22px;
    line-height: 26px;
}

.detail-content .detail-additional-data .data-row .data-label,
.detail-content-mobile .detail-additional-data .data-row .data-label {
    background: #AC202D !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-content-mobile .detail-contact-bar .contact-bar-btn,
.faceted-search-content .mobile-done-button-container .mobile-done-button {
    background: #000 !important;
}

.detail-content .detail-main-body .main-detail-data .offer-btn,
.detail-content .detail-main-body .main-detail-data .buy-btn {
    float: none;
}

.modal-content .modal-top .modal-title,
.listing-description,
.list-content .listing-portion-title,
.list-content .list-title .list-title-text,
.detail-content .dealer-info h3,
.dealer-info,
.detail-content-mobile .dealer-info h3,
.fin-calc p,
.detail-content-mobile .detail-main-body .detail-mobile-top .detail-title {
    color: #000 !important;
}

.view-listing-details-link i,
.view-listing-details-link span,
.view-listing-details-link span:hover {
    color: white !important;
}

.dealer-btns-bottom a {
    background: #AC202D !important;
}


body {
    -webkit-text-size-adjust: none;
    background: url("../siteart/whitediamond.png") repeat !important;
    background-attachment: fixed !important;
}

h1,
h2,
h3,
h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    line-height: normal;
}

h1 {
    color: #AC202D;
}

h2.butitsh1 {
    color: #AC202D;
    font-size: 2em;
}

strong {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
}

p {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 26px;
}

p {}

a:link,
a:visited,
a:active {
    text-decoration: none;
    color: #AC202D;
}

a.btn.btn-primary:not(.container.cf *) {
    padding: .375rem .75rem;
    background-color: #ac202d;
    color: white;
}

.card-body p {
    margin-bottom: 2rem;
}

a:hover {
    text-decoration: none;
    color: #555;
}

.wrapper {
    max-width: 70%;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 20px 0px;
    box-sizing: border-box;
}

.pimg {
    display: inline-block;
    border: 1px solid #333;
    max-width: 100%;
    height: auto;
}

.pimg img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.content {
    padding: 0 0 0 0;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 39829432;
}

.sticky+.content {
    padding-top: 60px;
}

.logo {
    float: left;
    max-width: 100%;
    height: auto;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.socials {
    text-align: right;
    float: right;
}

.socials img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.socials a {
    color: #AC202D;
}

.socials a:hover {
    color: #555;
    text-decoration: none;
}

header span {
    float: right;
    display: block;
    clear: both;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}

.left-cols {
    width: 25%;
    max-width: 100%;
    vertical-align: top;
    display: inline-block;
    box-sizing: border-box;
}

.right-cols {
    width: 75%;
    max-width: 100%;
    vertical-align: top;
    display: inline-block;
    padding-left: 10px;
    box-sizing: border-box;
}

p ul {
    margin-left: 20px;
}

.two-cols {
    width: 50%;
    max-width: 100%;
    font-size: 17px;
    line-height: 26px;
    vertical-align: top;
    display: inline-block;
    box-sizing: border-box;
}

.two-cols-pad {
    padding-left: 10px;
}

hr {
    border: 1px solid #AC202D;
    margin: 20px 0px;
    clear: both;
}

.openhouse {
    background: #e24f25;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

.openhouse a:link,
.openhouse a:visited,
.openhouse a:active {
    text-decoration: none;
    color: #fff;
}

.openhouse a:hover {
    text-decoration: none;
    color: #333;
}

.openhouse:hover {
    background: #a52f33;
}

.tiles {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    color: #fff;
    background: #000;
    display: flex;
}

.tiles>a:first-of-type {
    width: 50%;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    position: relative;
    text-align: left;
    color: white;
    background: url("../siteart/precision-farming.png");
    min-height: 500px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
}

.bigbox {
    display: flex;
    align-items: center;
    height: 100%;
    /* margin: 0 6vw; */
}

.sidebox {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    max-width: 100%;
}

.sidebox>a>div:first-of-type {}

.sideboxstacked {
    width: 100%;
    overflow: hidden;
    position: relative;
    text-align: left;
    color: #fff;
    min-height: 250px;
    border: 1px solid #ccc;
    align-items: center;
    display: flex;
}

.sideboxstacked.sbone {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("../siteart/neweq.png");
}

.sideboxstacked.sbthree {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("../siteart/used-equipment.png");
}

.sbtwo {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("../siteart/precision-farming.png");
}

.sideboxstacked2.sbfour {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("../siteart/lawn-garden.png");
}


.sideboxstacked.sbone:hover {
    background:
        linear-gradient(rgba(172, 32, 45, 0.5), rgba(172, 32, 45, 0.5)),
        url("../siteart/neweq.png");
    /* Replace with the path to your unique image */
}

.sideboxstacked.sbthree:hover {
    background:
        linear-gradient(rgba(172, 32, 45, 0.5), rgba(172, 32, 45, 0.5)),
        url("../siteart/used-equipment.png");
    /* Replace with the path to your unique image */
}

.sbtwo:hover {
    background:
        linear-gradient(rgba(172, 32, 45, 0.5), rgba(172, 32, 45, 0.5)),
        url("../siteart/precision-farming.png");
    /* Replace with the path to your unique image */
}

.sideboxstacked2.sbfour:hover {
    background:
        linear-gradient(rgba(172, 32, 45, 0.5), rgba(172, 32, 45, 0.5)),
        url("../siteart/lawn-garden.png");
    /* Replace with the path to your unique image */
}

.sideboxstacked2 {
    width: 100%;
    overflow: hidden;
    position: relative;
    text-align: left;
    color: #fff;
    min-height: 250px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
}

.bigbox:hover,
.sideboxstacked:hover,
.sideboxstacked2:hover {
    border: 1px solid #AC202D;
}

.tiles h2 {
    font-size: 25px;
    color: #fff;
}

.tiles p {
    font-size: 20px;
    color: #fff;
}

.centered {
    /* position: absolute; */
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 1); */
    width: 100%;
    margin: 0 6vw;
}

.lawngarden .centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
    margin: 0;
    width: unset;
}

.caseih {
    max-width: 50%;
    width: 100%;
    height: auto;
    display: block;
    float: left;
    box-sizing: border-box;
    text-align: center;
    padding: 2% 0;
}

.caseih img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
}


.side {
    background: #fff;
    width: 300px;
    height: 520px;
    position: fixed;
    z-index: 9990;
}

.ig-side {
    background: #fff;
    width: 326px;
    height: 520px;
    position: fixed;
    z-index: 9990;
}

.reel img,
.reel a {
    width: 100%;
}

#fb {
    top: 275px;
    left: -300px;
    z-index: 99999999;
}

#ig {
    top: 400px;
    left: -326px;
    z-index: 99999999;
}

.fb_iframe_widget {
    display: inline-block;
    position: relative;
}

#facebookTab {
    display: block;
    height: 120px;
    width: 42px;
    background: url(../siteart/fb.png);
    position: absolute;
    right: -42px;
    top: 0px;
}

#instagramTab {
    display: block;
    height: 137px;
    width: 42px;
    background: url(../siteart/ig.png);
    position: absolute;
    right: -42px;
    top: 0px;
}

#facebookTab:hover {
    background: url(../siteart/fb-on.png);
    z-index: 99999999999;
}

#instagramTab:hover {
    background: url("../siteart/ig-on.png");
    z-index: 99999999999;
}

.plines img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin: 3px;
    /* border: 1px solid #ccc; */
    height: 200px;
    width: 200px;
    object-fit: contain;
}

/*.plines img:hover {border:1px solid #AC202D;}*/

.usedeq a {
    color: #fff;
}

.usedeq {
    position: relative;
    text-align: center;
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.5em;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    padding: .5%;
}

.usedeq img {
    max-width: 100%;
    height: auto;
	background-color:#000!important;
    transition: .5s ease;
    backface-visibility: hidden;
    border: 1px solid #ccc;
    width: 302px;
    height: 227px;
    object-fit: cover;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.usedeq:hover img {
    opacity: 0.3;
    cursor: pointer;
}

.usedeq:hover .middle {
    opacity: 1;
}

.usedeqtext {
    background-color: #AC202D;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    color: #fff;
    padding: 16px 32px;
}

a.footerlink:link,
a.footerlink:visited,
a.footerlink:active {
    text-decoration: underline;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

a.footerlink:hover {
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.footertext {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #999999;
}

.smallfootertext {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #999999;
}

.footer {
    background: #222 url("../siteart/black.png") repeat;
    max-width: 100%;
    height: auto;
    padding: 20px 0px;
}

.footer a:link,
.footer a:visited,
.footer a:active {
    text-decoration: none;
    color: #fff;
}

.footer a:hover {
    text-decoration: underline;
    color: #ccc;
}

.four-cols {
    width: 24%;
    height: auto;
    display: inline-block;
    vertical-align: top;
    color: #fff;
}

.four-cols p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.four-cols .socials {
    text-align: left;
    float: none;
}

.four-cols .socials a {
    color: #fff;
}

.four-cols .socials a:hover {
    color: #ccc;
    text-decoration: none;
}

.smallmanu img {
    display: inline-block;
    float: right;
    max-width: 100%;
    height: auto;
}

.hosted-content .listings-wrapper .listings-list .col {
    line-height: 21px !important;
}

.hosted-content .listings-wrapper .listings-list {
    font-size: 15px !important;
}

.hosted-content a.ext-rental-prices {
    display: none;
}

.currency-capital-price-container img {
    display: inline !important;
    padding: 0px 5px !important;
    vertical-align: middle !important;
}

.covid19 {
    color: #fff;
    background: #000;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: normal;
    line-height: normal;
    text-align: center;
    padding: 1%;
}

/************************************************ Responsive Styles **/


@media screen and (max-width: 1400px) {
    .card.card-parts-cat {
        width: 41%;
    }
}

@media screen and (max-width: 1200px) {
    .card.card-parts-cat {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .popup {
        overflow-y: scroll;
        max-height: 100%;
    }

    .tiles {
        flex-direction: column;
    }

    .tiles>* {
        width: 100% !important;
        max-width: 100%
    }

    .four-cols {
        width: 49%;
    }

    .left-cols {
        width: 100%;
    }

    .right-cols {
        width: 100%;
        padding-left: 0px;
        padding-top: 10px;
    }

    .tiles h2 {
        font-size: 22px;
    }

    .wrapper {
        max-width: 80%;
    }

    .plines {
        text-align: center;
    }

    #fb,
    #ig {
        display: none;
    }

    .openhouse {
        font-size: 24px;
    }

    .caseih {
        padding: 2%;
    }

}

@media screen and (max-width: 734px) {

    .surroundstuffbox {
        flex-direction: column
    }

    div#info iframe {
        min-width: 100% !important
    }

    .logo img {
        height: 80px;
        max-width: 100%;
    }

    .fa-2x {
        font-size: 1.5em !important;
    }

    .bigbox {
        width: 100%;
        height: auto;
    }

    .sidebox {
        width: 100%;
    }

    .sideboxstacked {
        width: 100%;
        height: auto;
    }

    .sideboxstacked2 {
        width: 100%;
        height: auto;
    }

    .smallmanu {
        width: 100%;
        clear: both;
    }

    .smallmanu img {
        float: none;
        padding: 5px 0px;
    }

    .caseih {
        max-width: 100%;
        float: none;
        padding: 5% 0;
    }

    .bts-popup-container p {
        font-size: 15px;
    }
}

@media screen and (max-width: 600px) {
    header span {
        float: none;
        font-size: 14px;
    }

    .logo {
        float: none;
        width: 100%;
        text-align: center;
    }

    .logo img {
        height: 80px;
        max-width: 100%;
        margin: 0 auto;
    }

    .socials {
        text-align: center;
        float: none;
    }

    .openhouse {
        font-size: 18px;
    }
}

@media screen and (max-width: 415px) {
    .four-cols {
        width: 100%;
    }

    .tiles h2 {
        font-size: 18px;
    }

    .two-cols {
        width: 100%;
    }

    .two-cols-pad {
        padding-left: 0px;
    }

}



@media screen and (max-width: 320px) {}

.intro-section {
    background: #AC202D;
    padding: 170px 140px;
    color: #fff;
    text-align: center;
    /* Center-align text on smaller screens */
}

.intro-section h1 {
    margin-bottom: 10px;
    color: white;
}

.intro-section p {
    line-height: 1.5;
}

.intro-section a {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .intro-section {
        padding: 75px;
        /* Adjust padding for smaller screens */
    }
}

@media screen and (max-width: 480px) {
    .intro-section {
        padding: 40px;
        /* Further reduce padding for smaller screens */
    }
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 15px;
    justify-content: center;
    /* Center the grid items horizontally */
}

.image-grid img {
    width: 100%;
    max-width: 100%;
    height: auto;
}


/* FROM FISCHER  */

.contactsurround .flexify {
    display: flex;
    flex-direction: row-reverse;
}

.contactsurround .flexfix .flexify {
    width: 100%;
}

.contactsurround .flexify>div {
    margin-right: 80px;
}

.contactsurround .flexfix .flexify>div {}

.contactsurround img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
}

.contactsurround .flexfix .flexify img {
    object-fit: cover;
    width: clamp(380px, 28.645833333333332VW, 550px);
    object-position: right;
    max-height: max(440px, 26.5625VW);
}

.contactsurround ::-moz-selection {
    background: #bf0e0e;
    text-shadow: none;
}

.contactsurround ::selection {
    background: #bf0e0e;
    text-shadow: none;
}

.contactsurround h1 {
    text-transform: uppercase;
    padding-bottom: 10px;
}

.contactsurround h2 {
    text-transform: uppercase;
}

.contactsurround h3 {}

.contactsurround p {}

.contactsurround .breakup p {
    padding-bottom: 40px;
}

.contactsurround .breakup:first-of-type p {
    padding: 0;
}

.contactsurround strong {}

.contactsurround a {
    transition: all .2s ease-in-out;
}

.contactsurround a:hover {}

.contactsurround html,
.contactsurround body {
    background: url(../siteart/black_bg.png);
    overflow-x: hidden;
}

.contactsurround .container {
    max-width: 1250px;
    margin: 0 auto;
    width: 95%;
    margin-bottom: 70px;
}

.contactsurround .breakup {
    margin-bottom: 10px;
    border-bottom: 1px solid grey;
    padding: 60px 0;
    width: 100%;
}

.contactsurround .container>.breakup {}

.contactsurround .column2 {
    /* float: left; */
    padding-right: 25px;
    box-sizing: border-box;
    padding-left: 10px;
}

.contactsurround .column2 {
    width: 50%;
}

div#info iframe {
    width: 60% !important;
    min-width: 220px;
}

.contactsurround .last {
    padding-right: 0;
}

.contactsurround .box {
    margin-bottom: 15px;
}

.contactsurround .showroom-fish a {
    float: left;
    width: calc(20% - 6px);
    border: 3px #bf0e0e solid;
    padding: 15px 0;
    box-sizing: border-box;
    text-align: center;
    margin: 5px 3px;
    transition: all .2s ease-in-out;
    text-decoration: none;
    cursor: pointer;
    padding-left: 5px;
    padding-right: 5px;
}

.contactsurround .flexify .showroom-fish a {
    width: 230px;
}

.contactsurround .showroom-fish a {}

.contactsurround .showroom-fish {}

.contactsurround .showroom-fish a {
    text-decoration: none !important;
}

.contactsurround .showroom-fish a:hover {
    background: #bf0e0e;
}

.contactsurround *:after,
.contactsurround *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.contactsurround #form {
    background: #fafafa;
    border: 1px #ccc solid;
    padding: 25px;
    box-sizing: border-box;
}

.contactsurround #form input[type="text"],
.contactsurround #form input[type="submit"],
.contactsurround #form textarea {
    width: 100%;
    padding: 10px 5px;
    border: 1px solid #ccc;
    margin: 5px 0 15px;
    box-sizing: border-box;
}

.contactsurround #form textarea {
    height: 90px;
}

.contactsurround #form label {
    cursor: pointer;
}

.contactsurround .clear {
    clear: both;
}

@media screen and (max-width: 960px) {
    .contactsurround .showroom-fish a {
        width: 100% !important;
    }

    .contactsurround .box {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 1000px) and (min-width: 971px) {
    .contactsurround .container {
        padding: 0 25px;
    }

    .contactsurround .showroom-fish {}
}

@media screen and (max-width: 970px) and (min-width: 769px) {
    .contactsurround .container {
        padding: 0 25px;
    }

    .contactsurround .showroom-fish {}
}

@media screen and (max-width: 768px) and (min-width: 651px) {
    .contactsurround .container {
        padding: 0 25px;
    }

    .contactsurround .column2 {
        float: none;
        width: 100%;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .contactsurround .showroom-fish {}
}

@media screen and (max-width: 650px) and (min-width: 531px) {
    .contactsurround .container {
        padding: 0 25px;
    }

    .contactsurround .column2 {
        float: none;
        width: 100%;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .contactsurround .showroom-fish {}
}

@media screen and (max-width: 530px) {
    .contactsurround .container {
        padding: 0 25px;
    }

    .contactsurround .column2 {
        float: none;
        width: 100%;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .contactsurround .showroom-fish {}
}

.brandssurroundtwo .otherpage h3:not(.container.cf *):not(.otherpage .location h3:not(.container.cf *)) {
    color: #3b3b3b;
    padding-bottom: 20px;
    padding-bottom: max(9px, 1.04167vw);
}

.brandssurroundtwo .showroom-title {
    color: #CC2B00;
    text-align: center;
    padding: 20px 0;
    padding: max(9px, 1.04167vw) 0;
    width: 100%;
    text-transform: uppercase;
    border-bottom: 1px solid #f1f1f1;
}

.brandssurroundtwo .showroom-category {
    box-shadow: 2px 2px 4px #ddd;
    box-shadow: max(1px, 0.10417vw) max(1px, 0.10417vw) max(2px, 0.20833vw) #ddd;
    margin: 0 2px;
    margin: 0 max(1px, 0.10417vw);
    width: 22%;
    background: white;
    margin: 20px;
    margin: max(7px, 0.84167vw);
    /* position: relative; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.brandssurroundtwo .showroom-category img {
    width: 200px;
    width: max(88px, 10.41667vw);
    object-fit: contain;
    height: 200px;
    height: max(118px, 10.41667vw);
    padding-bottom: 30px;
}

.brandssurroundtwo .models,
.brandssurroundtwo .stock {
    text-align: center;
    padding: 15px 0;
    padding: max(7px, 0.78125vw) 0;
    text-transform: uppercase;
    color: #fff;
    transition: .3s ease;
}

.brandssurroundtwo .models {
    background: #ac202d;
    color: white;
}

.brandssurroundtwo .stock {
    background: #333;
}

.brandssurroundtwo .models:hover {
    background: black;
    color: white;
}

.brandssurroundtwo .stock:hover {
    background: #000;
}

.brandssurroundtwo .showroom-flex {
    display: flex;
    width: 100%;
}

.brandssurroundtwo .showroom-flex a {
    width: 100%;
}

@media only screen and (max-width : 840px) {
    .brandssurroundtwo .showroom-category {
        margin-bottom: 30px;
    }
}

@media screen and (max-width:1300px) {
    .brandssurroundtwo .showroom-flex {
        flex-direction: column;
    }
}

@media screen and (max-width:1020px) {
    .brandssurroundtwo .showroom-category {
        width: 47%;
    }

    .brandssurroundtwo .showroom-category img {
        width: 130px;
    }
}

@media screen and (max-width: 840px) {
    .brandssurroundtwo .showroom-category {
        width: 100%;
    }

    .brandssurroundtwo .showroom-flex a div {
        padding: 15px 0;
    }
}


.surroundbrands {
    display: flex !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
}

/* Styles for the popup */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 20px;
    border: 2px solid #000000;
    z-index: 999999999;
    /* overflow-y: scroll; */
    /* max-height: 100%; */
}

div#popup button {
    border: none;
    background: none;
    background: #ac202d;
    color: white;
    padding: 9px;
    font-size: 17px;
    border-radius: 10px;
    cursor: pointer;
}

/* Styles for the overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}