/* Affixing header. Might need adjustment if the code for .affix starts working */
section:not(.page-inventory-details) .header .header-container {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background: var(--header-background);
  }

  /** Adds top margin to all pages to account for fixed header**/
  section[class*="page-"]:not(.page-inventory-details){
    margin-top: var(--cwVar-headerHeight);
  }

  /* media queries based on current header size, but there's a script to make the variable always the size of the header container */
  :root {
    --cwVar-headerHeight: 159px;
  } 







.cw-header .cw-header-logo-wrap {
    background-color: #ffffff;
}



/* Hero ============================================================================================== */
/*-- Hero --*/

.cw-hero .carousel-item {
    height: 300px;
    background-size: cover;
    background-position: center center;
}

.cw-hero .carousel-control-prev,
.cw-hero .carousel-control-next {
    width: 10%;
    text-align: center;
    opacity: 0.7;
}

.cw-hero .carousel-control-prev:hover,
.cw-hero .carousel-control-next:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .cw-hero .carousel-item {
        height: 500px
    }
}

/*-- Hero Buttons --*/

/*-- FOLLOWING CSS IS NEEDED TO APPLY OPACITY TO BUTTONS WHILE USING TEMPLATE COLORS VARIABLES --*/

.cw-button {
    height: 60px;
    margin: auto;
    border: 1px solid black;
    line-height: 60px;
    opacity: 0;
    transform: translateY(50%);
    -webkit-animation: slide-up 1s ease-out forwards;
            animation: slide-up 1s ease-out forwards;
}

.cw-button>div {
    position: absolute;
    width: 100%;
}

.cw-buttons a {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    padding-left: 45px;
    font-weight: bold;
    text-shadow: 0 0 2px black;
}

.cw-button1 a {
    background: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/9BD97201017639D65ED37670AF7DB828.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.cw-button2 a {
    background: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/E9953CBDCEF5219BAD43DEA816C7681B.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.cw-button3 a {
    background: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/CF093D421D068CA44AB8112F0217CB32.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

@-webkit-keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(50%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(50%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}


@media (min-width: 768px) {
    .cw-buttons {
        position: absolute;
        bottom: 0;
        left: 0;
        display: flex;
        width: 100%;
        font-size: .95rem;
        overflow: hidden
    }

    .cw-button {
        width: 33%;
        margin: 0 .25rem;
        height: 75px;
        line-height: 75px;
    }

    .cw-button>div {
        opacity: .5;
    }

    .cw-button:hover>div {
        background: var(--color-theme-highlight);
    }
}

@media (min-width: 992px) {
    .cw-buttons {
        font-size: 1.15rem;
    }

    .cw-button {
        margin: 0 .75rem;
    }
}

@media (min-width: 1200px) {
    .cw-buttons {
        max-width: 1100px;
        left: calc(50% - 550px);
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* About Us ======================================================================================== */
.cw-about {
   position: relative;
   z-index: 0;
}
.cw-about::before {
    content: '';
    background: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/2CFF1191CDC8DDF24D4443392A787650.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4em 0 0;
    z-index: -1;
    opacity: 10%;
}

@media(min-width: 992px) {
    .cw-about {
        padding: 4em 0
    }

    .cw-about img {
        width: 50%
    }
}

.cw-about .expand {
    -webkit-animation-name: expand;
            animation-name: expand;
    visibility: visible;
    -webkit-animation-duration: 6s;
            animation-duration: 6s;
    -webkit-animation-delay: 1s;
            animation-delay: 1s;
    margin: 1em auto;
    -webkit-animation-fill-mode: both;
            animation-fill-mode: both
}

@-webkit-keyframes expand {
    0% {
        width: 15px
    }

    100% {
        width: 100%
    }
}

@keyframes expand {
    0% {
        width: 15px
    }

    100% {
        width: 100%
    }
}

.cw-about h3 {
    font-size: 1.15rem;
    color: var(--color-theme-primary);
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 2em
}

.cw-about h3 span {
    font-size: 2rem;
    color: var(--color-theme-secondary);
    text-transform: uppercase;
    font-weight: 700
}

.page-home .form {
    background: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/5CBA49311F0D6429EBCAD7A50C08A530.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed
}

@media(min-width: 992px) {
    .page-home .form .form-wrap {
        margin-top: -49em;
        width: 45%;
        margin-right: 2.5%;
        margin-left: auto;
        position: relative;
        z-index: 1
    }

    .cw-about h3 {
        margin-top: 0
    }
}

@media(min-width: 1200px) {
    .page-home .form .form-wrap {
        margin-top: -46em;
        width: 45%;
        margin-right: 2.5%;
        margin-left: auto
    }
}

.page-home .form {
    padding-top: 1.5em
}

.page-home textarea.form-control {
    height: 100px
}

/* ===================================================================================== */
/*-- Form Double Border Fix --*/
.bootstrap-select {
    padding: 0 !important;
    background: 0 0;
    border: none
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%
}

.btn {
    text-transform: uppercase;
}

/* Footer =========================================================================================== */
:root {
    --white: #ffffff;
    --black: #000000;
}

.cw-footer {
    padding: 4rem 0;
    background-color: var(--black);
    background-size: cover;
    color: var(--white);
    text-align: center
}

.cw-footer iframe {
    width: 100%
}

.cw-footer a {
    color: var(--white)
}

.cw-address,
.cw-phone {
    position: relative;
    line-height: 1.35;
    padding-left: 1.5rem;
    font-size: 1.1rem
}

.cw-address:before {
    font-family: FontAwesome;
    content: "\f3c5";
    position: absolute;
    left: 0;
    padding-right: .5rem;
    color: var(--white)
}

.cw-phone:before {
    font-family: FontAwesome;
    content: "\f2a0";
    position: absolute;
    left: 0;
    top: 2px;
    padding-right: .5rem;
    color: var(--white)
}

.cw-footerMenu a {
    display: block;
    margin-bottom: .65rem;
    font-weight: 700
}

.cw-footerMenu a:hover,
.cw-social a:hover,
.cw-phone:hover {
    color: var(--color-theme-secondary)
}

.cw-footer h5,
.business-hours .bh-title {
    margin-bottom: 1rem;
    color: var(--color-theme-primary);
    padding-left: 0;
    border: none;
    font-size: 1.25rem
}

.cw-social a {
    display: inline-block;
    margin: 0 .5rem 0 0
}

.cw-social i {
    font-size: 25px
}

.footer {
    padding-top: 0
}

footer>.container {
    display: none
}

@media(min-width: 768px) {
    .cw-footer {
        text-align: left
    }
}

.inventory .card-header {
    color: #fff!important;
}
.inventory .btn-link.btn-clear-filter {
    color: #fff!important;
}

/* Business Hours HOmepage */
.business-hours {
    padding: 10px;
}

.business-hours .opening-hours li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.business-hours .opening-hours li span {
    margin-left: auto; /* Ensures the span is pushed to the far right */
}
