/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@400;600&display=swap');

:root {
    --primary:rgba(204,0,0,.8);
    --secondary:rgba(102,102,102,0.95);
    --success:#000;
    --danger:#c00;
    --warning:#666;
    --info:#333;
    --light:#f2f2f2;
    --dark:#000;
    --muted:#f2f2f278;
    --white:#fff;
}

html {overflow-x:hidden}
body, html {font-family: 'Spartan', sans-serif;color:VAR(--dark)}
.navbar {font-family: 'Spartan', sans-serif;}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family: 'Spartan', sans-serif;font-weight:normal;}
h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small {}
@media (max-width:767px) {
    h1,.h1 {font-size:1.8rem;}
    h2,.h2 {font-size:1.375rem;}
    h3,.h3 {font-size:1.25rem;}
    h4,.h4 {font-size:1.125rem;}
    h5,.h5 {font-size:1rem;}
    h6,.h6 {font-size:.875rem;}
}

/* TYPOGRAPHY & COLORS */
a {color:inherit;}
a:hover {color:VAR(--primary);}
p {color:VAR(--dark);}
.display-2 {font-size:2.5rem;}
@media (min-width:768px) {.display-2 {font-size:3.5rem;}}
@media (min-width:1200px) {.display-2 {font-size:5.5rem;}}
.container {max-width:1200px;}
.nav-link:focus,li:focus,a:focus {outline:thin dotted VAR(--primary) !important;}
.sm-gutters {margin-right:-.5em;margin-left:-.5em;}
.sm-gutters .col,.sm-gutters [class*="col-"] {padding-right:.5em;padding-left:.5em;}

/*CARD REMOVE BORDER RADIUS */
.card,.card-img {border-radius:0;}

/*Alert Colors*/
.alert {border-radius:0}
.alert-warning {color:VAR(--light) !important;background-color:VAR(--danger)!important;border-color:VAR(--danger);}
.alert-success {color:VAR(--primary)!important;background-color:VAR(--info)!important;border-color:VAR(--info);}
.alert-success strong, b, strong, p > strong {color:inherit!important;}

/* MARKETING BAR */
#marketingbar {background-color:VAR(--white)!important;padding:.25em;display:none}
#marketingbar .text-warning {color:VAR(--primary)!important;}
@media (min-width: 992px) {
    #marketingbar .text-warning {font-size:14px}
    #marketingbar {display:block}
}

/* HEADER */
.main-header {height:auto;background-color:VAR(--white);font-size:1em}
.search-product {border:none;background-color:VAR(--white);}
#search {width:100%;}
.icon-badge-group  {display:flex;flex-direction:row;}
.icon-badge-group .icon-badge-container:first-child {margin-left:0}
.icon-badge-container {position:relative;align-self:center}
.icon-badge-icon {font-size: 18px;position: relative;padding: 0 4px;}
.icon-badge {background-color: VAR(--dark);font-size: 9px;color: VAR(--white);text-align:center;width:12px;height:12px;border-radius: 50%;position: absolute;top: -2px;left: 12px;font-weight: 700;font-style: normal;}
.logo {max-height: 45px!important;margin:0!important;}
@media (min-width: 576px){.logo {max-height:65px!important;margin:.5em 0 .5em .5em;}}
@media (min-width: 768px){
    .logo {max-height:80px!important;margin:.5em 0;}
    .main-header{font-size:.9em;}
}
@media (max-width: 991.99px){
    #search > div > input {font-size: .75em;}
    #searchWrap {width:100%!important;}
}
@media (min-width: 992px){
    .logo {max-height:130px!important;margin:0;}
    .main-header {font-size:1.0em;}
}
@media (min-width: 1200px){.icon-badge-icon {font-size: 18px;}}
.icon-badge {background-color: #000;font-size: 9px;color: VAR(--white);;text-align:center;width:12px;height:12px;border-radius: 50%;position: absolute;top: -2px;left: 12px;font-weight: 700;font-style: normal;}
.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {background-color:VAR(--primary)!important;}
.hamburger {padding-right:0;padding-top:0;margin-top:0;}
.flexbreak {flex-basis: 100%;height: 0;}
.bg-primary a {color:VAR(--white)}
.bg-primary a:hover {color:VAR(--info)}
.headline::after {content: "";display: block;width: 6em;max-width: 70%;border-bottom: 0.3em solid rgba(55,55,55,1);margin: 0.5em auto 1em;}

/* SMART SEARCH PRO */
.sspSearchProWrap {max-height:calc(100vh - var(--header-height));overflow-y: scroll;width:100%!important;max-width:100%!important;border-radius:0!important;border:1px solid VAR(--light)!important;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;background-color:VAR(--white)!important;padding:1.5rem!important;margin-left:0!important;}
.searchProNav {background-color:VAR(--white)!important;}
.sspCard-item {border-radius:0!important;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important;}
.sspCard-item:hover {box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;transform:scale(1.0)!important;-webkit-transform:scale(1.0)!important;}
a.sspSearchItemLink:hover {background:transparent!important;color:VAR(--warning)!important;}
.searchInput {border-radius:0;padding:0 35px 0 10px!important;}
.searchInput::placeholder {color:VAR(--dark)!important;font-size:12px;font-weight:400;}
.searchInput:focus {background-color:VAR(--white)!important;color:VAR(--dark)!important;}
#search > div > button > span.fs-12.fa.fa-search {color:VAR(--dark)}
.searchInput:focus ~ #search > div > button > span.fs-12.fa.fa-search {color:VAR(--dark)!important;}
div.sspHeader > h3 {font-weight:400}

/* HOME PAGE SLIDER */
.carousel-inner {position: relative;height: 100%;overflow: hidden;}
.carousel-overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.3);z-index: 1;pointer-events: none;}
.carousel-item img {width: 100%;height: 40vh;object-fit: cover;object-position: center center;position: relative;z-index: 0;}
.carousel-caption {position: absolute; top: 50%; left: 50%;bottom:auto; transform: translate(-50%, -50%); z-index: 105; color: var(--white); text-align:left; width: 80%; opacity: 1; animation: fadeIn 1.5s ease-in-out forwards, slideUp 1.5s ease-in-out forwards; height: auto;pointer-events: auto;}
.carousel-control-prev, .carousel-control-next {width: auto; height: auto; position: absolute; top: 50%; transform: translateY(-50%); z-index: 104; pointer-events: auto;}
.carousel-control-prev {left: 5px; /* Move it outside the caption */}
.carousel-control-next {right: 5px; /* Move it outside the caption */}
@media (min-width: 992px) {
    .carousel-control-prev {left: 50px; /* Move it outside the caption */}
    .carousel-control-next {right: 50px; /* Move it outside the caption */}
}
@media (min-width: 768px) {.carousel-inner, .carousel-inner img {height: 50vh;}}
@media (min-width: 992px) {.carousel-inner, .carousel-inner img {height: 65vh;}}
@keyframes fadeIn {from {opacity: 0;}to {opacity: 1;}}
@keyframes slideUp {from {transform: translate(-50%, -40%);}to {transform: translate(-50%, -50%);}}
#carouselExampleIndicators {margin-top:-1rem}

/* HOME PAGE MARKETING */
.object-fit-cover {width:auto;height:100%;object-fit:cover;}
.subtitle{opacity:0;text-transform:uppercase;transition:opacity 0.15s;}
.marketing-card, .card-img, .card-img-top {border-radius: 0;}
#location-footer .card-img-overlay {background: rgba(0, 0, 0, 0.5);}
.card-title::after {display: block; content: ""; border-bottom: 2px solid var(--white); width: 50%; margin: auto; transition: width 0.3s ease;}
.marketing-card {position: relative;}
.marketing-card::after {content: ""; display: block; padding-bottom: 100%;}
.marketing-card img, .marketing-card .embed-responsive {position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;}
.marketing-card .card-img-overlay {background-color: rgba(0, 0, 0, 0.05); transition: background 0.3s ease;}
.marketing-card .subtitle {opacity: 0; transition: opacity 0.3s ease;}
.marketing-card:hover .card-img-overlay {background: rgba(155, 155, 155, 0.75);}
.marketing-card:hover .subtitle {opacity: 1;}
.marketing-card:hover .card-title::after {width: 75%;}
.gradient-overlay {background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.5) 100%);}
.category-card-img {position:relative;}
.category-card-img::after {content: "";display: block;padding-bottom: 60%;}
.category-card-img > img{position: absolute;width: 100%;height: 100%;object-fit: cover;object-position: 50% 50%;}
.parallaxcard { position: relative; overflow: hidden; height: 300px; }
.parallaxcard > img { position: absolute; top: 0; left: 0; width: 100%; height: auto; min-height: 100%; object-fit: cover; transform: translateZ(0); will-change: transform; }
transform:translateZ(0);will-change:transform;}
.parallaxcard .card-img-overlay,.parallaxcard figure,.parallaxcard figure > img {transition:all .5s;}
.parallaxcard:hover .card-img {opacity:.5;}
.parallaxcard:hover .card-img-overlay {background:rgba(155,155,155,.75);transition-delay:0.1s;transition-duration:0.3s;}
.parallaxcard:hover .subtitle {opacity:1;transition-delay:0.1s;transition-duration:0.3s;}
.parallaxcard:hover .card-title::after {width:75%;transition-duration:0.3s;}

/* LOCATION GALLERY */
.gallery-image {position:relative;transition-delay:0.1s;transition-duration:0.3s;}
.gallery-image::after {content: "";display: block;padding-bottom:100%;}
.gallery-image img {position: absolute;width: 100%;height: 100%;object-fit: cover;object-position: 50% 50%;}
.gallery-image:hover {opacity:.75;cursor:pointer}
.contain-image {position:relative;transition-delay:0.1s;transition-duration:0.3s;}
.contain-image::after {content: "";display: block;padding-bottom:100%;}
.contain-image img {position: absolute;width: 100%;height: 100%;object-fit: contain;object-position: 50% 50%;}
.contain-image:hover {opacity:.75;cursor:pointer}
#carouselExample .carousel-inner {max-height:80vh;height:80vh;display:flex;align-items:center;}
#carouselExample > div > div.carousel-item  {text-align:center;}
#carouselExample > div > div.carousel-item > img {object-fit:contain!important;margin:auto;max-height:100%;}
button.close {margin-right: -15px !important;margin-top: -15px !important;margin-bottom:-15px;background-color: #000 !important;color:#fff;border-radius: 15px !important;-moz-border-radius: 15px;width: 30px !important;height: 30px !important;opacity: 1 !important;z-index:9999999999999999999!important;position:relative;}
button.close:hover {background-color:#333 !important;color:#fff}
/* PAGE MENU */
.menu-card {position:relative;border:none;margin-bottom:1.5em;}
.menu-card .card-img-overlay {background-color:rgba(0,0,0,.45);transition-delay:0.1s;transition-duration:0.3s;}
.menu-card::after {content: "";display: block;padding-bottom: 50%;}
.menu-card img,.menu-card .embed-responsive {position: absolute;width: 100%;height: 100%;object-fit: cover;object-position: 50% 50%;}
.menu-card:hover .card-img-overlay {background:rgba(155,155,155,.75);transition-delay:0.1s;transition-duration:0.3s;}
.menu-card:hover .subtitle{opacity:1;transition-delay:0.1s;transition-duration:0.3s;color:inherit}
.menu-card:hover .card-title::after{width:75%;transition-duration:0.3s;}
.menu-card a:hover {color:inherit}

/* HOME PAGE CATS */
#featured .card-title::after {display:block;content:"";border-bottom:2px solid VAR(--muted);width:50%;margin:auto;}
#featured .card-title{opacity:1;transition-delay:0.1s;transition-duration:0.3s;}
#featured .marketing-card:hover .card-title::after{width:75%;transition-duration:0.3s;}
#carouselCategory1 .carousel-item,#carouselCategory2 .carousel-item {position:relative;}
#carouselCategory1 .carousel-item::after,#carouselCategory2 .carousel-item::after {content: "";display: block;padding-bottom: 100%;}
#carouselCategory1 .carousel-item img,#carouselCategory2 .carousel-item img {position: absolute;width: 100%;height: 100%;object-fit: cover;object-position: 50% 50%;}
#testimonials .carousel-inner {height:20vh;text-align:center}
#testimonials .carousel-indicators li {background-color:VAR(--muted)}
#testimonials > button.carousel-control-prev.text-muted > span .carousel-control-next {color:#000}

/* Button Colors */
.btn {}
.btn-primary{background:VAR(--primary);border:1px solid VAR(--primary);color:VAR(--white);}
.btn-primary:hover{background:VAR(--dark);border:1px solid VAR(--dark);color:VAR(--white)!important;}
.btn-warning{background:VAR(--warning);border:1px solid VAR(--warning);color:VAR(--dark);}
.btn-warning:hover{background:VAR(--dark);border:1px solid VAR(--dark);color:VAR(--white);}
.btn-default{background:VAR(--white)!important;border:1px solid VAR(--white)!important;color:VAR(--primary)!important;}
.btn-default:hover{background:VAR(--dark)!important;border:1px solid VAR(--dark)!important;color:VAR(--white)!important;}
a.btn.btn-primary.sbutton2 {color:VAR(--black);}
@media (min-width:992px) {.btn-lg {font-size:1.25rem;}}

/* Text Colors */
.text-danger {color:VAR(--danger)!important}
.text-primary {color:VAR(--primary)!important}
.text-primary:hover a {color:VAR(--info)!important}
.text-warning {color:VAR(--warning)!important}
.text-secondary {color:VAR(--info)!important}
.text-info {color:VAR(--info)!important}
.text-dark {color:VAR(--dark)!important;}
.text-white:hover > span {color:VAR(--danger)!important}

/* Background Colors */
.bg-light {background-color:VAR(--light)!important}
.bg-danger {background-color:VAR(--danger)!important;color:VAR(--white);}
.bg-primary {background-color:VAR(--primary)!important;color:VAR(--white);}
.bg-secondary {background-color:VAR(--secondary)!important}
.bg-info {background-color:VAR(--info)!important}
.bg-dark {background-color:VAR(--dark)!important;color:VAR(--white);}

/* Border Colors */
.border-light {border-color:VAR(--light)!important}
.border-danger {border-color:VAR(--danger)!important;olor:VAR(--white);}
.border-primary {border-color:VAR(--primary)!important;color:VAR(--white);}
.border-secondary {border-color:VAR(--secondary)!important}
.border-info {border-color:VAR(--info)!important}

/* BLOG */
.blog-card {transition:all .5s;}
.blog-card .card-img {height:300px;}
.blog-card:hover > img {opacity:.75}
.blog-card:hover a {color:VAR(--info)!important}
.blog-ha-bg-parallax {-moz-background-size: cover;-o-background-size: cover;-webkit-background-size: cover;background-size: cover;height: 35vh;width: 100%;display: table;vertical-align: middle;margin-bottom: 5%;}
.blog-ha-bg-parallax .ha-parallax-body {display: table-cell;vertical-align: middle;}
.blog-ha-bg-parallax .ha-content {width: 75%;margin: auto;padding: 20px;color: #000;}

/* LOCATION */
.list-employee {max-width:250px;}
#googlemap {height:100%;min-height:40vw}
@media (max-width:767px){
    td {display:block}
    .locName {font-size: 1rem;}
}


/*Footer*/
footer {background-color:VAR(--light);color:VAR(--dark)!important;}
footer p,footer h2, footer h3, footer h4, footer h5, footer h6,footer .h2, footer .h3, footer .h4, footer .h5, footer .h6, footer a {}
footer a:hover {}
footer li {font-size:.84em;}
footer .checkbox.mtop0, footer label, footer input {vertical-align:middle!important;}

/* OFFCANVAS PRODUCT MENU */
@media screen and (max-width:767px) {
    .row-offcanvas {position:relative; -webkit-transition:all .25s ease-out; -o-transition:all .25s ease-out; transition:all .25s ease-out;}
    .row-offcanvas-right {right:0;}
    .row-offcanvas-left {left:0;}
    .row-offcanvas-right .sidebar-offcanvas {right:-60%; /* 6 columns */}
    .row-offcanvas-left .sidebar-offcanvas {left:-60%; /* 6 columns */}
    .row-offcanvas-right.active {right:60%; /* 6 columns */}
    .row-offcanvas-left.active {left:60%; /* 6 columns */}
    .sidebar-offcanvas {position:absolute; top:0; width:60%; /* 6 columns */}
}
.switch-field input:checked + label {background-color:VAR(--warning);}
.arrows {cursor:pointer; color:VAR(--warning);}
ul.list-square > li {list-style-type:square!important;margin-inline-start:20px;}

/* ADVANCED SEARCH */
#custom-search-input {padding:3px;border:solid 1px VAR(--light);border-radius:6px;background-color:VAR(--white);min-width:260px;}
#custom-search-input input {border:0;box-shadow:none;}
#custom-search-input button {margin:2px 0 0 0;background:none;box-shadow:none;border:0;color:VAR(--warning);padding:0 8px 0 10px;border-left:solid 1px VAR(--info);}
#custom-search-input button:hover {border:0;box-shadow:none;border-left:solid 1px VAR(--light);}

#location-footer h3 {font-size: 0.85rem;}


/*CMS SPECIFIC*/
.herocard {transition: all 0.5s ease-in-out; position: relative; border: none; display: flex; align-items: center; justify-content: center; overflow: hidden;background-color:var(--dark)}
.herocard .card-img-overlay, .herocard figure, .herocard figure > img {margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;}
.herocard h1 {display: block; background-color: rgba(0, 0, 0, 0.25); padding: 0.5em; align-self: center; justify-self: center; color: var(--white);text-align: center;}
.herocard figure:after, .herocard:after {content: ''; display: block; padding-bottom: 25%;}
.herocard figure > img, .herocard > img {transition: all 0.5s ease-in-out; position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;}
@media (max-width: 768px) {.herocard h1 {font-size: 1.3rem; padding: 0.4em;}}
@media (max-width: 480px) {.herocard h1 {font-size: 1.2rem; padding: 0.3em;}}

.wishlistcard {border:none;}
.wishlistcard .wp-block-group__inner-container {display:flex!important;}
.wishlistcard > div > div{display:flex;flex-direction:column;}
.wp-block-image img {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.imgtopcard figure a {
    position: relative;
    margin-bottom: 0 !important;
    margin-block-end: 0 !important;
    display: block; /* Ensure the <a> is a block-level element */
    width: 100%; /* Ensures it covers the full width */
    height: 100%; /* Ensure the <a> element takes up all the available space */
}

.imgtopcard figure a::after {
    content: '';
    display: block;
    padding-bottom: 60%; /* Controls the aspect ratio of the figure */
}

.imgtopcard figure a > img {
    transition: all .5s;
    position: absolute;
    top: 0; /* Position the image correctly */
    left: 0; /* Reset left positioning */
    width: 100%; /* Ensures image covers full width */
    height: 100%; /* Ensures image covers full height */
    object-fit: cover !important; /* Ensures the image fills the space */
    object-position: 50% 50%; /* Center the image */
}

.imgtopcard .card-body {
    margin-top: 0 !important;
}

.cardimgoverlayfixed {transition:all .5s;position:relative;border:none;}
.cardimgoverlayfixed figure:after {content:'';display:block;padding-bottom:250px}
.cardimgoverlayfixed figure > img  {transition:all .5s;position: absolute;left:0;width: 100%;height: 100%;object-fit: cover;object-position: 50% 50%;}
.cardimgoverlayfixed .card-img-overlay {margin-top:0!important}
.cardshadow {}
.btn-primary a,.post-footer a {color:#fff;}
.btn-primary a:hover {color:#fff!important;}
.card-body .wp-block-group__inner-container {height:100%;display:flex;flex-direction:column;}
article.container, .page-container {max-width:100%!important;padding:0!important;}
article p, .page-container p {margin-block-start:1em!important;margin-block-end:1em!important;}
.wp-block-heading {margin-block-end:.5em!important;}
.post-footer {max-width:1200px!important;padding-left:15px!important;padding-right:15px!important;margin:0 auto!important;}
.columns-wrap { flex-wrap: wrap!important; }
.columns-wrap > .wp-block-column { flex: 0 0 100%!important; max-width: 100%!important; }
@media (min-width: 576px) and (max-width: 781.98px) {
    .columns-wrap > .wp-block-column { flex: 0 0 49%!important; max-width: 49%!important; }
    .columns-wrap {column-gap:1%!important}
}
@media (min-width: 782px) {
    .columns-wrap > .wp-block-column { flex: 0 0 23.5%!important; max-width: 23.5%!important; }
    .columns-wrap{column-gap:2%!important}
}
@media (max-width: 781.98px) {
    .is-layout-flex {flex-wrap:wrap!important}
    .imgtopcard {width:100%!important}
    .view-showroom{display:block !important}
}
.bg-social-svg { width: 60px; height: 60px; background: var(--gray); padding: 3px; border-radius: 100%; display: flex; align-items: center; justify-content: center; color: var(--white); }
.wishlist-svg { height: 16px; }
/* BBB logo — cap height so it doesn't render at natural pixel size */
.bbb-logo { max-height: 84px; width: auto; }
@media (max-width: 576px){footer .card.marketing-card.h-100 { height: 250px !important; }}
@media (max-width: 1199px){.bbb-logo { height: 84px; max-height: 84px; width: auto; }}
@media (min-width: 1199px){.bbb-logo { max-height: 84px; width: auto; min-width: 0; }}
