/* Global Transition
-----------------------------------------------------------------*/

#header .container .menu-container > .menu-item > .menu-link,
#content a,
.footer-widgets-wrap a,
#copyrights a,
#side-panel .nav-tree li a,
.top-links-item a,
.checkbox-style:checked + .checkbox-style-3-label:before,
.radio-style:checked + .radio-style-3-label:before,
.mfp-close {
  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.dark .header-badge,
.menu-link span.stock-level,
.page-menu-item > a div,
#side-panel .nav-tree span.stock-level {
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}


/* General
-----------------------------------------------------------------*/

* {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-transition: background-color .2s ease-in-out, border-color .2s ease-in-out;
  -moz-transition: background-color .2s ease-in-out, border-color .2s ease-in-out;
  -o-transition: background-color .2s ease-in-out, border-color .2s ease-in-out;
  transition: background-color .2s ease-in-out, border-color .2s ease-in-out;
}

body.dark,
.dark #wrapper,
.dark #content,
.dark .shop-quick-view-ajax,
.dark .portfolio-ajax-modal,
.dark .ajax-modal-title,
.dark .modal-content,
.dark .page-transition-wrap {
  background-color: #0c0c0c;
}

.dark #page-title,
#page-title.dark,
body.dark #side-panel,
body #side-panel.dark,
.dark .card,
.dark .modal-bg,
.dark .bg-grey {
  background-color: #181818;
}

.dark .form-select:not(.not-dark) optgroup,
.dark .sm-form-select:not(.not-dark) optgroup {
  background-color: #282828;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input.webkitappearance,
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

form {
  margin: 0;
}

.ls-0 {
  letter-spacing: 0px !important;
}

.text-shadow,
.menu-link {
  text-shadow: 1px 1px 20px rgba(0,0,0,0.6);
}

.filter-grayscale {
  filter: grayscale(100%);
}

.fw-500 {
    font-weight: 500;
}

.listspacing ul,
.listspacing ol {
  padding-left: 40px;
}

a.racecar {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-style: italic;
  text-decoration: none !important;
  border: 0 none !important;
}

.grecaptcha-badge {
  z-index: 999;
}

.top-links {
  border-left: 1px solid #EEE;
  margin-left: 17px;
}

.dark .top-links {
  border-left-color: rgba(255,255,255,0.1);
}

.top-links-item:hover {
  background-color: transparent !important;
}

.top-links-item a:hover {
  color: #000;
}

.modal-bg {
    background-color: #fff;
}

.mfp-close {
    color: #000;
}

.dark .mfp-close {
  color: #fff;
}

.card {
  background-color: #F5F5F5;
  border: 0 none;
}

.portfolio-meta li:last-child {
  margin-bottom: 0;
}

.button {
  padding: 11px 22px;
}

.button-border {
  padding: 8px 22px;
}

.button.button-small {
  padding: 9px 17px;
}

.button-border.button-small {
  padding: 7px 17px;
}

.bg-size-cover {
  background-size: cover !important;
}

.bg-size-cover-center-no-repeat {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.tabs-container-center {
  text-align: center;
}

  .tabs-container-center ul {
    display: inline-block;
    text-align: left;
  }

select.sm-form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

@media (min-width: 992px) {
  .menu-link div > i.icon-angle-down {
    margin: 0 -5px 0 5px;
  }
}

.intro-slider-container {
  width: 100%;
  /*height: 100vh; Desktop 100% screen height */
  height: 56.25vw;
}

@media (max-width: 991px) {
  .intro-slider-container {
    height: 56.25vw;
  }
}

.home-cat-card .card-img-overlay.bg {
  background-color: rgba(0, 0, 0, 0.3);
}

.home-cat-card .content-item:hover .item-opacity-overlay,
.home-cat-card .content-item:hover .card-img-overlay.bg {
  background-color: rgba(0, 0, 0, 0.4);
}

label {
  color: var(--cnvs-color);
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.dropzone {
  border: 1px solid rgba(0, 0, 0, .1) !important;
  min-height: 125px !important;
}

.sub-p-nomargin p {
    margin: 0;
}

.full-scroller-padding {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.full-scroller-padding .owl-carousel-full .owl-nav [class*=owl-] {
  left: -0.75rem !important;
}

.full-scroller-padding .owl-carousel-full .owl-nav .owl-next {
  left: auto !important;
  right: -0.75rem !important;
}


/* Custom Header Size
-----------------------------------------------------------------*/
.header-size-custom #logo img {
  height: 100px;
}

@media (min-width: 992px) {

  .header-size-custom .header-wrap-clone {
    height: calc( 179px + 1px + 1rem );
  }

  #header.header-size-custom + .include-header {
    margin-top: calc( -194px - 2px );
  }

  .header-size-custom.sticky-header-shrink #header-wrap #logo img {
    height: 70px;
  }

  .header-size-custom .menu-container > .menu-item > .menu-link {
    padding-top: 29px;
    padding-bottom: 29px;
  }

  .header-size-custom.sticky-header-shrink .menu-container > .menu-item > .menu-link {
    padding-top: 19px;
    padding-bottom: 19px;
  }
}

#footer {
  background-color: var(--themecolor);
}

#footer,
.copyright-links a {
  border: 0 none !important;
  margin: 0;
}

.footer-logo {
  max-width: 250px;
}

.top-links-item i {
  color: var(--themecolor);
}

.btn-primary,
.button.button-primary.button-border:not(.button-fill):hover,
.button-primary-solid {
  background-color: var(--themecolor);
  border-color: var(--themecolor);
}

#page-title {
  border: 0 none;
  padding: 3rem 0;
  background-color: transparent;
}

  #page-title .container {
    position: relative;
  }

  #page-title h1 {
    line-height: 1;
    font-size: 3.5rem;
    /*text-transform: uppercase;*/
    font-weight: 600;
    text-align: center;
    text-shadow: 0px 0px 10px rgb(255,255,255,1);
  }

@media (max-width: 767.98px) {
  #page-title h1 {
    font-size: 2.5rem;
  }
}

.intro-video video,
.intro-video .swiper-slide-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
  object-fit: cover;
}

.accordion-button {
  font-weight: 400;
  padding-left: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}
  .accordion-button:focus {
    box-shadow: none;
  }

  .accordion-button:not(.collapsed) {
    background-color: transparent;
  }


/* Mode Switcher
---------------------------------------------------------------------------- */
.icon-dark {
  font-family: 'lined-icons' !important;
}

.dark .icon-dark {
  font-family: 'font-icons' !important;
}

.dark .dark-mode .icon-dark::before {
  content: "\eae7";
}

.dark-mode .icon-dark::before {
  content: "\e9e3";
}

.mode-switcher {
  position: relative;
}

  .mode-switcher .pts-text,
  .mode-switcher .pts-switcher {
    display: block;
    overflow: hidden;
  }

  .mode-switcher .pts-text {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    margin-right: 10px !important;
    cursor: default;
  }

    .mode-switcher .pts-text span.tlight,
    .mode-switcher.pts-switch-active .pts-text span.tdark {
      display: none;
    }

    .mode-switcher .pts-text span.tdark,
    .mode-switcher.pts-switch-active .pts-text span.tlight {
      display: inline-block;
    }


/* Stock Side Push Panel
-----------------------------------------------------------------*/

#side-panel .nav-tree li .badge {
  font-size: 12px;
}

#side-panel .side-panel-padding,
#side-panel .nav-tree li a {
  padding-left: 30px;
  padding-right: 30px;
}

#side-panel .widget,
#side-panel .side-panel-wrap {
  width: 100%;
}

.nav-tree li.active > a,
.dark .nav-tree li a {
  color: #fff !important;
}

.dark .nav-tree li:not(.active) a:hover {
  color: var(--navhover) !important;
  padding-left: 35px !important;
}

.dark .si-dark:hover,
.dark .header-badge:hover,
.menu-link:hover span.stock-level,
#side-panel .nav-tree li:not(.active) a:hover span.stock-level {
    background-color: #eee !important;
}

.dark .si-dark:hover i,
.dark .header-badge:hover a,
.menu-link:hover span.stock-level,
#side-panel .nav-tree li:not(.active) a:hover span.stock-level {
    color: #000 !important;
}

.nav-tree li.active {
  background-color: var(--themecolor);
}

@media (max-width: 1199px) {
  .stock-label-hide {
    display: none !important;
  }
}


/* Parts
-----------------------------------------------------------------*/
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate( 90deg);
}

.parts-category-link {
  color: inherit;
  text-decoration: none;
}

.parts-category-link::after {
  display: none;
}

.parts-category-link-selected {
  color: var(--themecolor);
  font-weight: 700;
}

.product-vehicle-models {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.widget_links li.active,
.widget_links li.active a {
  font-weight: 700;
  color: var(--themecolor);
}

.portfolio-overlay {
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.portfolio-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  background-color: rgba(0,0,0,0.5);
  opacity: 0;
}

.portfolio-image:hover .portfolio-overlay {
  opacity: 1;
}

.crt-widget.crt-widget-branded {
  padding-bottom: 0 !important;
}

.bg-grey {
  background-color: #F5F5F5;
}

.bg-dark-grey {
  background-color: #282828;
}

.divcenter {
  position: relative !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.modal-summary {
  max-width: 800px;
}

.pt-30,
.py-30 {
  padding-top: 30px !important;
}

.pb-30,
.py-30 {
  padding-bottom: 30px !important;
}

.pr-30,
.px-30 {
  padding-right: 30px !important;
}

.pl-30,
.px-30 {
  padding-left: 30px !important;
}

@media (max-width: 1200px) {
  #logo img {
    padding: 20px 0;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .menu-link {
    font-size: 0.83rem;
    padding-left: 20px;
    padding-right: 20px;
    letter-spacing: 0.03rem;
  }
}

@media (max-width: 992px) {
  #header {
    z-index: 99;
  }

    #header + .include-header {
      margin-top: calc( -100px - 1px );
      display: inline-block;
      vertical-align: bottom;
      width: 100%;
    }
}

@media (max-width: 767.98px) {
  #logo img {
    padding: 20px 0;
  }

  #logo img {
    height: 80px !important;
  }

  #header + .include-header {
    margin-top: calc( -80px - 1px );
  }
}

/* Offcanvas filter panel */

/* The filters share one form between the desktop sidebar and mobile drawer. */
.parts-filters-panel > .offcanvas-header,
.parts-filters-panel > .offcanvas-body {
  opacity: 1;
  transform: none;
  transition: none;
}

.parts-filters-panel > .offcanvas-body {
  display: block;
}

.parts-filters-panel .parts-filters ul {
  margin-top: 0;
}

.parts-filters-panel .btn-close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 991.98px) {
  /* Keep the drawer and its backdrop above the fixed site header. */
  #content-scroll:has(.parts-filters-panel:is(.show, .showing, .hiding)) {
    z-index: 1045;
  }
}

@media (min-width: 992px) {
  .parts-filters-panel > .offcanvas-body {
    padding: 0 1rem 1rem;
  }
}

.offcanvas-title {
  font-weight: 600;
  z-index: 1;
}

h2.offcanvas-title {
  text-shadow: 0px 0px 10px rgb(255, 255, 255, 1);
}

.offcanvas-header .btn-close {
  z-index: 1;
  opacity: 1;
  background-color: #ffffff;
}

  .offcanvas-header .btn-close:focus {
    box-shadow: none;
  }

/* News Index
-----------------------------------------------------------------*/

.more-link {
  font-weight: 600;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-style: normal;
  text-transform: uppercase;
  border-bottom: 2px solid #333;
  letter-spacing: 0.5px;
}

  a.more-link:hover {
    color: var(--themecolor);
    border-bottom-color: var(--themecolor);
  }

.entry-image img {
  border-radius: 0px;
}

.item-image-container {
  position: relative;
}

.item-opacity-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  z-index: 1;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: rgb(0 0 0 / 0%);
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  transition: 0.5s;
  transition-timing-function: ease-out;
}

.item-image-container:hover .item-opacity-overlay {
  background-color: rgb(0 0 0 / 20%);
}


/* Pagination
-----------------------------------------------------------------*/

.page-link {
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0rem;
  border-bottom-right-radius: 0rem;
}

.page-item:first-child .page-link {
  border-top-left-radius: 0rem;
  border-bottom-left-radius: 0rem;
}


/* Videos Index
-----------------------------------------------------------------*/

.video-holder {
  position: relative;
}

.video-overlay {
  position: absolute;
  top: 0;
  right: 0;
}

.i-custom {
  color: #fff !important;
  border-color: #fff !important;
  border-width: 3px !important;
  width: 92px !important;
  height: 92px !important;
  line-height: 88px !important;
  margin: 0 !important;
  padding-left: 5px;
}

a:hover .i-custom {
  background-color: #FFF !important;
  color: #222 !important;
  text-shadow: none !important;
}


/* Map
-----------------------------------------------------------------*/
#map {
  width: 100%;
  height: 450px;
}

#map iframe {
  width: 100%;
  height: 100%;
}

#map.map-grayscale {
  -webkit-filter: grayscale(95%);
  -moz-filter: grayscale(95%);
  -ms-filter: grayscale(95%);
  -o-filter: grayscale(95%);
  filter: grayscale(95%);
}


/* Alerts
-----------------------------------------------------------------*/

.alert-success h3 {
  color: #155724;
}

.alert-danger h3 {
  color: #721c24;
}

.alert-success h3, .alert-danger h3 {
  margin-bottom: 5px;
}

.alert-success p, .alert-danger p {
  margin-bottom: 0px;
}


/* Errors 404 & 500
-----------------------------------------------------------------*/

.error404-wrap .error404 {
  color: var(--bs-light) !important;
  opacity: 1;
  text-shadow: none;
}

/* Overlays
-----------------------------------------------------------------*/
.pattern-bg::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  background-image: linear-gradient(0deg, rgba(var(--cnvs-themecolor-rgb),0) 50%, rgba(var(--cnvs-themecolor-rgb),0.35) 50%);
  background-size: 3px 3px;
  -webkit-mask-image: linear-gradient(black, transparent);
  mask-image: linear-gradient(black, transparent);
}

.overlay-tint::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}
