/* keeps footer at bottom of screen */
#emw-container {
    min-height: 65vh;
}



.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
}

body {
}
/* controls max page width */
.emw-width-controller {
    max-width: 1800px !important;
    min-width: 440px !important;
}

/* controls max filter width */
.emw-width-panel {
    max-width: 340px !important;
}

.required:after {
    color: red;
    content: ' *';
    display: inline;
    font-size: 20px;
    vertical-align: middle
}

.emwbody1 h1, .emwbody1 .h1 {
    font-weight: bold;
}

.emwbody1 .font-sans {
    font-family: "__Inter_8f9154","__Inter_Fallback_8f9154",ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.emwbody1 h2, .emwbody1 .h2 {
    font-weight: bold;
}

.emwbody1 h3, .emwbody1 .h3 {
    font-weight: bold;
    font-size: 1.5rem !important;
}

h4, .h4 {
    font-weight: bold;
}

/* stacked progress bars from BS 5.3 */
.progress,
.progress-stacked {
    --bs-progress-height: 1.2rem;
    --bs-progress-font-size: 1rem;
    --bs-progress-bg: var(--bs-secondary-bg);
    --bs-progress-border-radius: var(--bs-border-radius);
    --bs-progress-box-shadow: var(--bs-box-shadow-inset);
    --bs-progress-bar-color: #000;
    --bs-progress-bar-bg: #0d6efd;
    --bs-progress-bar-transition: width 0.6s ease;
    display: flex;
    height: var(--bs-progress-height);
    overflow: hidden;
    font-size: var(--bs-progress-font-size);
    background-color: var(--bs-progress-bg);
    border-radius: var(--bs-progress-border-radius);
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: var(--bs-progress-bar-color);
    text-align: center;
    white-space: nowrap;
    background-color: var(--bs-progress-bar-bg);
    transition: var(--bs-progress-bar-transition);
}


.progress-stacked > .progress {
    overflow: visible;
}

    .progress-stacked > .progress > .progress-bar {
        width: 100%;
    }
/* text-bg classes added from 5.3 */
.text-bg-primary {
    color: #fff !important;
    background-color: RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-secondary {
    color: #fff !important;
    background-color: RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-success {
    color: #fff !important;
    background-color: RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-info {
    color: #000 !important;
    background-color: RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-warning {
    color: #000 !important;
    background-color: RGBA(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-danger {
    color: #fff !important;
    background-color: RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-light {
    color: #000 !important;
    background-color: RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-dark {
    color: #fff !important;
    background-color: RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important;
}
/* solve problem caused by shoppingcart min.css - burger not appearing */
.emwbody1 .navbar-dark .navbar-toggler-icon, .navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
/* solves problem with quantity input on cart page */

.emw-input-width {
    width: 60px !important
}

/* white links for top nav */
@media (min-width: 991.98px) {
    .emwbody1 .navbar-dark .navbar-nav .nav-item a.nav-link {
        color: #fff !important
    }
}
/* links don't underline on hover */
.emwbody1 a.emw-hover:link {
    text-decoration: none !important;
    color: #000 !important;
}

.emwbody1 a.emw-hover:visited {
    color: #000 !important;
    text-decoration: none !important;
}

.emwbody1 a.emw-hover:hover {
}

.emwbody1 a.emw-hover:active {
    color: #000 !important;
    text-decoration: none !important;
}

/* mega menu */



/*  Mega Menu adjustments */
.nav-item.dropdown.dropdown-mega {
    position: static;
}

.dropdown-menu {
    width: 90%;
    top: auto;
    left: 5%;
}

}

/*  Complete styles for main navbar toggler and hamburger menu */
.navbar-toggler {
    border: none;
    padding: 0;
    outline: none;
    &:focus
}

{
    box-shadow: none;
}

.hamburger-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    z-index: 11;
    float: right;
    .hamburger

{
    position: absolute;
    transform: translate(-50%, -50%) rotate(0deg);
    left: 50%;
    top: 50%;
    width: 50%;
    height: 50%;
    pointer-events: none;
    span

{
    width: 100%;
    height: 4px;
    position: absolute;
    background: #333;
    border-radius: 2px;
    z-index: 1;
    transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0), background 0.2s cubic-bezier(0.77,0.2,0.05,1.0), all 0.2s ease-in-out;
    left: 0px;
    &:first-child

{
    top: 10%;
    transform-origin: 50% 50%;
    transform: translate(0% -50%) !important;
}

&:nth-child(2) {
    top: 50%;
    transform: translate(0,-50%);
}

&:last-child {
    left: 0px;
    top: auto;
    bottom: 10%;
    transform-origin: 50% 50%;
}

}

&.active {
    span

{
    position: absolute;
    margin: 0;
    &:first-child

{
    top: 45%;
    transform: rotate(45deg);
}

&:nth-child(2) {
    left: 50%;
    width: 0px;
}

&:last-child {
    top: 45%;
    transform: rotate(-45deg);
}

}
}
}
}
}


.icons {
    display: inline-flex;
    margin-left: auto;
    a

{
    transition: all 0.2s ease-in-out;
    padding: 0.2rem 0.4rem;
    color: #ccc !important;
    text-decoration: none;
    &:hover

{
    color: white;
    text-shadow: 0 0 30px white;
}

}
}
/* fix to stop mega menu being pulled to the left */

/*.emwbody1 .dropdown-menu[data-bs-popper] {
    left: initial !important;
}*/
/* css for hover effect on portfolio index panels */
.hovereffect {
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
}

    .hovereffect .overlay {
        width: 100%;
        height: 100%;
        position: absolute;
        overflow: hidden;
        top: 0;
        left: 0;
        -webkit-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
    }

    .hovereffect:hover .overlay {
    }

    .hovereffect img {
        display: block;
        position: relative;
        /* added by emw start */
        width: 100%;
        /* added by emw end */
    }

    .hovereffect h2 {
        text-transform: uppercase;
        color: #fff;
        text-align: center;
        position: relative;
        font-size: 17px;
        padding: 10px;
        background: rgba(0, 0, 0, 0.6);
        -webkit-transform: translateY(45px);
        -ms-transform: translateY(45px);
        transform: translateY(45px);
        -webkit-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
    }

    .hovereffect:hover h2 {
        -webkit-transform: translateY(5px);
        -ms-transform: translateY(5px);
        transform: translateY(5px);
    }

    .hovereffect a.info {
        display: inline-block;
        text-decoration: none;
        padding: 7px 14px;
        text-transform: uppercase;
        color: #fff;
        border: 1px solid #fff;
        background-color: transparent;
        opacity: 0;
        filter: alpha(opacity=0);
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        -webkit-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
        font-weight: normal;
        margin: -52px 0 0 0;
        padding: 62px 100px;
    }

    .hovereffect:hover a.info {
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    .hovereffect a.info:hover {
        box-shadow: 0 0 5px #fff;
    }
/* css for google maps dealer locations */
@media (min-width: 768px) {
    .map-legend {
        background-color: white;
        border-radius: 2px;
        box-shadow: 1px 5px 5px grey;
        padding: 8px 16px;
        position: absolute;
        left: 50px;
        top: 470px;
    }
}

.map-legend {
    width: 100%;
    max-width: 330px;
    z-index: 9;
}

    .map-legend h3 {
        margin-bottom: 15px;
    }

    .map-legend ul {
        margin-bottom: 0;
        padding-left: 4px;
    }

        .map-legend ul li img {
            width: 30px;
            margin-right: 10px;
        }

        .map-legend ul li {
            list-style-type: none;
            margin-bottom: 15px;
            font-size: 14px;
        }
/* css to modify product cards */
.em-product .emw-card {
    border: none !important
}

    .em-product .emw-card .card-footer {
        border: none !important
    }

    .em-product .emw-card .fs-7 {
        font-size: 0.8rem !important;
    }

.emwbody1 {
    background: #f8f8f8 !important
}

    /* fix small font-size without modifying bootstrap file */
    .emwbody1 p {
        font-size: 1.1rem !important;
    }
    /* stops navbar toggler disappearing */

    .emwbody1 .navbar-toggler {
        background-color: aliceblue !important
    }

.category-banner {
    object-fit: cover;
    object-position: center;
    max-height: 400px !important;
    width: 100%;
}

.navbar .megamenu {
    padding: 1rem;
}

/* tweaks to get megamenu panel to stay in centre */
.emwbody1 .emw-dropdown-menu {
    width: 100%;
    background: transparent;
    /* max-width: 1400px; */
    margin-left: auto;
    margin-right: auto;
    z-index: 100;
    border: none !important;
    padding-top: 0px !important;
}

.emwbody1 .emw-mega-content {
    background-color: aliceblue;
    border: 1px solid #C0D8E8;
}

.emwbody1 .dropdown-menu[data-bs-popper] {
    right: 0;
}
/* add colour chagne to nav links on hover */
.emwbody1 .emw-dropdown-menu .list-group-item:hover {
    transition: color 0.3s ease;
    background-color: #C0D8E8;
}
.emwbody1 .emw-bg-nav {
    background-color: aliceblue !important;
    width: 100% !important;
}
/* light background for toggler nav below md */
@media (max-width: 991.98px) {
    .emwbody1 .emw-bg-nav {
        background-color: aliceblue !important;
        width: 100% !important;
    }

        .emwbody1 .emw-bg-nav .nav-link {
            transition: color 0.3s ease !important;
            background-color: aliceblue !important;
            color: #000 !important;
        }

            .emwbody1 .emw-bg-nav .nav-link:hover {
                transition: color 0.3s ease !important;
                background-color: #C0D8E8 !important;
                color: #000 !important;
            }
}
/* add styling to filters */
.emw-card-blue {
    background-color: aliceblue
}

    .emw-card-blue .card-header, .emw-card-blue .card-footer {
        background-color: aliceblue !important
    }

    .emw-card-blue .card-body {
        background-color: aliceblue !important;
        border-bottom: 1px solid #b5b5b5 !important;
    }

        .emw-card-blue .card-body .list-group-item {
            background-color: aliceblue !important;
            border-bottom: none !important;
        }
/* holding image styling */
.emw-hold-image {
    margin: auto;
    max-width: 250px;
    opacity: 0.7
}

.emw-list-image {
    margin: auto;
    max-width: 250px;
}

.emw-card a.stretched-link:hover {
    background-color: aliceblue !important;
}

.emw-card:hover {
    background-color: aliceblue; /* Color when the card is hovered */
    /* color: #fff;  Change text color for better readability */
}

.emw-card-darker:hover {
    background-color: #A4C0D0; /* Color when the card is hovered */
    /* color: #fff;  Change text color for better readability */
}

.emw-card .btn-dark {
    color: #fff;
    background-color: #A4C0D0;
    border-color: #A4C0D0;
}

    .emw-card .btn-dark:hover {
        color: #fff;
        background-color: #C0D8E8;
        border-color: #C0D8E8;
    }



    .emw-card .btn-dark:active, .emw-card .btn-dark.active,
    .show > .emw-card .btn-dark.dropdown-toggle {
        color: #fff;
        background-color: #A4C0D0;
        border-color: #A4C0D0;
    }

.emw-card a:link.emw-no-dec {
    color: #000;
    text-decoration: none;
    width: 100%;
    display: inline-block;
}

.emw-card a:visited.emw-no-dec {
    color: #000;
    text-decoration: none;
    width: 100%;
    display: inline-block;
}

.emw-card a:hover.emw-no-dec {
    color: #000;
    text-decoration: none;
    width: 100%;
    display: inline-block;
}

.emw-card a:active.emw-no-dec {
    color: #000;
    text-decoration: none;
    width: 100%;
    display: inline-block;
}

.emwbody1 .e-breadcrumb-item {
    font-size: 1rem;
}

.emwbody1 a:link.e-breadcrumb-url {
    color: #000;
    text-decoration: none;
}

.emwbody1 a:visited.e-breadcrumb-url {
    color: #000;
    text-decoration: none;
}

.emwbody1 a:hover.e-breadcrumb-url {
    color: #000;
    text-decoration: underline;
}

.emwbody1 a:active.e-breadcrumb-url {
    color: #000;
    text-decoration: none;
}
/* style search box */
.emwbody1 .emw-form {
    padding-top: 2px; min-width:60px;
}

    .emwbody1 .emw-form input.e-input::placeholder {
        font-size: 1rem !important;
    }

.emwbody1 .emw-logo-svg {
    min-width: 160px;
    max-width: 200px;
    height: auto
}
/* move logo up */
.emwbody1 .emw-neg-topmarg {margin-top:-1.8rem !important;
}
/* hide contact use when input way */
.embody1 #emw-contact {display:block;}

/* sticky header transparent */

.emwbody1 .scrolled {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
/* primary button colourways */
.emwbody1 .btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #00456d;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ef7c2f;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}
.emwbody1 .emw-bg-dark {
    background:#707070;
}