.vatToggle {
    width: unset;
    padding-top: 0;
    margin-right: 10px;
}

/* VAT toggle styles */
.vat-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    white-space: nowrap;
}

.vat-label {
    cursor: pointer;
    opacity: 0.6;
}

.vat-label.active {
    font-weight: bold;
    opacity: 1;
}

.vat-toggle-switch {
    position: relative;
    width: 32px;
    height: 17px;
    border-radius: 12px;
    border: 1px solid #ccc;
    background-color: #e5e5e5;
    padding: 0;
    outline: none;
    cursor: pointer;
    vertical-align: middle;
}

.vat-toggle-switch .vat-knob {
    position: absolute;
    top: 1px;
    left: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #fff;
    transition: left 0.2s ease-in-out;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.vat-toggle-switch.on,
.vat-toggle-switch.off {
    background-color: #293e5b;
    border-color: #365075;
}

.vat-toggle-switch.on .vat-knob {
    left: 16px;
}

body {
    font-family: "Raleway", sans-serif;
}

.navbar-default {
    background-color: #486896;
}

.header-search .searchform .btn,
#search .searchform .btn {
    background: #f9f9f9;
    border: 1px solid #ccc !important;
    border-left: 0 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.header-search .fa-search,
#search .fa-search {
    color: #555555;
}

input#mainsearch,
input#secondsearch {
    border-radius: 5px 0 0 5px;
}

#header-four-columns a {
    color: #fff;
    font-weight: 600;
}

.footer-top {
    margin-top: 20px;
    background-color: #486896;
    padding: 10px 0;
    text-align: center;
}

.footer-top p {
    margin-bottom: 0;
}

.footer-top a {
    color: #fff;
}

footer {
    margin-top: 0;
    background: #92a7c6;
    padding-bottom: 0;
}

#footer-links li {
    padding: 3px 0;
}

#footer-links li a:hover {
    text-decoration: none;
    color: #486896;
}

#footer-copyright {
    margin-top: 30px;
    margin-bottom: 30px;
}

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
    background-color: #486896;
}

#newsletter-container .form-group {
    display: block;
}

#newsletter-container .form-group .form-control {
    width: 100%;
}

#newsletter-container p {
    margin-top: 20px;
    margin-bottom: 10px;
}

.btn-primary {
    background-color: #486896;
    border-color: #486896;
}

#home-featured-products-section .thumbnail {
    padding: 15px;
    border: 0;
}

#home-shop-by-category-section.container {
    margin-bottom: 30px;
}

.featured-title {
    background: none;
    padding: 10px;
    font-size: 3rem;
    text-transform: unset;
    text-align: center;
    font-weight: bold;
    color: #486896;
}

#shop-category-flex {
    display: flex;
    flex-wrap: wrap;
}

.shop-cat-tile {
    padding: 30px;
    margin-bottom: 30px;
}

.shop-cat-tile .caption {
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: #486896;
    font-weight: 600;
}

#home-boasts-section {
    background: #486896;
    margin-bottom: 60px;
    color: #fff;
}

#home-boasts-section .boast-container {
    margin: 30px 0;
    padding: 15px 45px;
    text-align: center;
}

.boast-icon {
    font-size: 3rem;
    color: #92a7c6;
    margin-bottom: 10px;
}

div#splide-brands-track,
div#splide-featured-track {
    padding-bottom: 0;
}

a#view-all-btn {
    margin: 0 auto;
    display: table;
}

.help-container {
    text-align: center;
    padding: 30px;
}

.h4c-description p {
    margin-bottom: 0;
}

.help-container .img-responsive {
    margin: 0 auto;
}

#home-help-section {
    margin-bottom: 60px;
    color: #486896;
    text-transform: uppercase;
}

#home-help-section h2 {
    font-size: 2rem;
    font-weight: 600;
}

.help-container a {
    color: #486896;
}

.btn-default {
    color: #486896;
    border-color: #486896;
}

.btn-default:hover,
.btn-primary:hover {
    color: #fff;
    background-color: #92a7c6;
    border-color: #486896;
}

#subscribeModal .modal-dialog .modal-content {
    border: 5px solid #486896;
}

.catalogue-product #leftsidebar {
    margin-top: 15px;
}

.category-text {
    text-align: center;
}

.category-text h1 {
    font-weight: 600;
    color: #486896;
    text-transform: uppercase;
}

.product-filter-container,
#browseby-panel {
    background: 0;
    border: 0;
}

.product-filter-container #accordion .panel-heading a {
    padding-left: 5px;
}

.product-filter-container #main-filterpanel .panel-body,
.product-filter-container #main-filterpanel-mobile .panel-body {
    padding-top: 15px;
}

.product-filter-container #accordion .panel-heading a.collapsed {
    padding-left: 5px;
}

#leftsidebar .panel-default>.panel-heading a:hover {
    background-color: #92a7c6;
}

#leftsidebar label.option,
.browseby-item {
    color: #486896;
}

#leftsidebar #browseby-panel .panel-heading {
    background: none;
    border: none;
}

#leftsidebar .panel-heading a {
    color: #486896;
    font-weight: 600;
}

.category-box,
.grouped-category-box,
.product-box {
    padding: 0;
    border: 0;
    margin-bottom: 0px;
}

.product-image-container,
.grouped-cat-image-container {
    height: 200px;
}

.grouped-cat-image,
.product-image {
    max-height: 200px;
}

.product-box,
.grouped-category-box {
    position: relative;
}

.product-box-addto {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 70px;
    text-align: right;
}

.product-box-addto .wishlistform,
.product-box-addto .quoteform {
    display: inline-block;
}

.product-box-inner input.basketsubmit.addtobasket.btn.btn-primary,
.grouped-category-box .viewoptions .btn {
    width: 182px;
}

.product-box .quantity,
.product-box .basketpartqty,
.favourite-product-buttons .quantity,
.favourite-product-buttons .basketpartqty {
    min-height: 50px;
}

#leftsidebar .portal.panel-default>.panel-heading {
    background: unset !important;
    color: #486896 !important;
}

span.tab-title {
    font-weight: 600;
}

#leftsidebar .panel {
    border-color: transparent;
}

#leftsidebar .portal .panel-body,
#leftsidebar .portal .panel-body a,
button.btn.btn-link.logoutbutton {
    background: unset;
    color: #486896;
}

#leftsidebar .panel-default>.panel-heading {
    background-color: unset;
    border-color: #ccc;
}

.grouped-category-box h3 {
    font-size: 11px;
}

.image,
.pdetails {
    border: none;
    padding: 0;
    overflow: auto;
}

.generic-blocks .block {
    color: #486896;
    border: 2px solid #486896;
    border-radius: 5px;
}

.generic-blocks .block.active {
    border: 2px solid #486896;
    background: #486896;
    color: #fff;
}

.selectors .grpselectlabel {
    font-weight: 600;
    color: #486896;
    min-width: 130px;
}

.pdetails .addtobasket,
.pdetails .addtobasket a,
.ourpriceis {
    color: #486896;
}

.pdetails .add .quantity .basketqtylabel {
    text-align: left;
    float: left;
    min-width: 130px;
    font-weight: 600;
}

.buy-qty {
    max-width: 72px;
}

.dec,
.inc {
    background-color: #486896;
    border: 1px solid #486896;
    display: inline-block;
    width: 50px;
    color: #fff;
}

.dec:hover,
.inc:hover {
    background-color: #92a7c6;
}

.form-control.buy-qty {
    font-size: 24px;
}

.product-box .quantity {
    width: 100% !important;
}

.product-list-item {
    margin-bottom: 50px;
}

.pdetails .wishlistform,
.pdetails .basketsubmit,
.pdetails #quoteform,
.login-prompt {
    text-align: left;
    max-width: 430px;
}

.pdetails #wishlistsubmitinput,
.pdetails .addFavourite,
.plist-listview-item .wishlistsubmitinput-prodlist,
.plist-listview-item .addFavourite,
.plist-listview-item .moveFavourite {
    background-color: #999 !important;
    color: #fff;
    padding: 8px;
    width: 100%;
    outline: none;
}

.pdetails .quotesubmitinput-prodlist,
.plist-listview-item .btn-primary.button.quotesubmitinput-prodlist {
    background-color: #ccc !important;
    color: #fff;
    padding: 8px;
    width: 100%;
    margin-top: 5px;
}

.level .fa-times:before {
    content: "\f0d1";
    color: orange;
}

.plist-listview-item .btn-primary.button.quotesubmitinput-prodlist,
.plist-listview-item .add .basketsubmit,
.plist-listview-item .wishlistform {
    width: 235px;
}

.plist-listview-item .quoteform {
    clear: both;
}

.plist-listview-item button.button.btn.moveFavourite {
    margin-top: 5px;
}

.item-row .dec,
.item-row .inc {
    text-align: center;
    padding: 10px;
}

.item-row.rowborder .buy-qty {
    height: unset;
    padding: 1px 8px 5px 8px;
}

.list-view .rowborder,
.item-row {
    border: 0;
    border-bottom: 1px solid #ccc;
    margin-top: 50px;
    margin-bottom: 10px;
    padding: 0 0 50px;
}

/*.list-view .item-row .price {
    font-size: 3rem!important;
    color: #486896;
}*/
.login-prompt .btn-primary {
    background-color: #000 !important;
    color: #fff;
    padding: 8px;
    width: 100%;
    margin-top: 5px;
}

.login-prompt .btn-primary:hover,
.pdetails .quotesubmitinput-prodlist:hover,
.pdetails #wishlistsubmitinput:hover,
.pdetails .addFavourite:hover {
    background-color: #92a7c6 !important;
    border-color: #486896;
}

.main-heading {
    font-size: 4rem;
    font-weight: 600;
    color: #486896;
    text-align: center;
    margin-bottom: 30px;
}

.category-text h1 {
    text-transform: unset;
}

.pdetails .grpprice #grouped-product-price,
.pdetails .add #product-price {
    font-size: 3rem;
}

.pdetails .basketsubmit .addtobasket {
    color: #fff;
}

.product-group form.addtobasket {
    display: grid;
}

.product-group .pdetails .addtobasket .grpprice {
    order: 1;
}

.product-group .pdetails .addtobasket .alt-unit-price {
    order: 2;
}

.product-group .pdetails .addtobasket .selectors {
    order: 3;
}

.product-group .pdetails .code {
    order: 4;
}

.product-group .pdetails .level {
    order: 5;
}

.product-group .pdetails .ordquan {
    order: 6;
}

.product-group .pdetails .add {
    order: 7;
}

.tab-content {
    padding: 30px;
    border: 1px solid #ccc;
    border-top: 0;
}

.product-tabs {
    color: #486896;
    margin-top: 50px;
}

.product-tabs .nav-tabs a {
    color: #486896;
    font-weight: 600;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    background-color: #ddd;
}

/* Responsive YouTube embed */
#accordion-video .panel-content .video-embed {
    position: relative;
    max-width: 1080px;
}

/* 16:9 ratio (fallback for older browsers) */
#accordion-video .panel-content .video-embed::before {
    content: "";
    display: block;
    padding-top: 56.25%;
    /* 9/16 */
}

#accordion-video .panel-content .video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Modern browsers: use aspect-ratio, disable fallback */
@supports (aspect-ratio: 16/9) {
    #accordion-video .panel-content .video-embed::before {
        display: none;
        padding: 0;
    }

    #accordion-video .panel-content .video-embed iframe {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

.suggested-container {
    margin: 50px 0;
    padding: 0;
}

.buy-as-trade {
    display: inline-block;
    clear: both;
    width: 100%;
    margin-top: 30px;
    text-align: center;
    color: #486896;
}

.buy-as-trade h2 {
    margin-bottom: 30px;
    font-size: 4rem;
    font-weight: 600;
}

.buy-as-trade p {
    margin-bottom: 30px;
    font-size: 2rem;
}

.suggested-box {
    border: 0;
    padding: 10px;
    margin-bottom: 0;
}

.product-list-item:hover {
    background-color: #f5f5f5;
}

#subscribeModal .modal-dialog {
    margin-top: 0;
    width: 500px;
}

#subscribeForm {
    padding: 0 80px 20px;
}

#subscribeForm .modal-footer {
    text-align: left;
}

.modal-heading-text {
    color: #486896;
    font-weight: 600;
    padding: 20px 30px;
    text-align: center;
}

.row.product-box-inner {

    .code,
    .level,
    .extra-info {
        display: none;
    }
}

.grouped-category-box .viewoptions {
    margin-top: 57px;
}

.product-caption,
.grouped-cat-caption {
    height: 80px;
}

.list-view {
    .grouped-cat-caption h2 {
        font-size: 19px;
    }

    .extra-info,
    .grouped-cat-caption,
    .grouped-cat-price-label {
        height: auto;
    }

    .plist-listview-item hr {
        display: none;
    }
}

@media (min-width: 992px) {

    .nav.nav-justified>li.level1>a.dropdown-toggle .menu-line-1,
    .nav.nav-justified>li.level1>a.dropdown-toggle .menu-line-2 {
        white-space: nowrap;
        /* don't wrap inside each line */
        display: block;
        /* each is its own line */
        line-height: 1.2em;
        /* slightly tighter line spacing */
        text-align: center;
        /* optional: keep it centred */
    }

    .nav>li>a {
        padding: 10px 30px;
    }

    .image,
    .pdetails {
        margin-bottom: 50px;
    }

    .grouped-category-box .price,
    .product-box .price,
    .item-row .price {
        font-size: 13px;
    }

    .cat-caption h2,
    .grouped-cat-caption h2,
    .product-caption h2 {
        font-size: 15px;
    }

    .help-container {
        padding: 60px;
    }

    .boast-container {
        border-right: 1px solid #92a7c6;
    }

    .boast-container:last-child {
        border-right: 0;
    }

    .boast-description {
        min-height: 70px;
    }

    .shop-cat-tile {
        width: 25%;
    }

    #home-featured-products-section .splide__arrow {
        background: none;
    }

    #home-featured-products-section .splide__arrow--prev {
        left: -30px;
    }

    #home-featured-products-section .splide__arrow--next {
        right: -30px;
    }

    .yamm .nav-heading a {
        color: #486896;
    }

    .navbar {
        min-height: 35px;
    }

    .top-bar-wrapper {
        height: 35px;
        color: #fff;
    }

    .top-bar-links li a {
        color: #ccc;
    }

    #header-four-column-container {
        background: #8ea3c4;
        color: #fff;
        font-size: 12px;
        text-transform: uppercase;
    }

    #header-four-column-container a,
    #header-four-column-container p,
    #header-four-column-container div {
        color: #fff;
    }

    #header-four-columns {
        display: flex;
        flex-wrap: nowrap;
    }

    #header-four-columns .col-xs-6,
    #header-four-columns .col-sm-6,
    #header-four-columns .col-md-3 {
        padding: 0;
    }

    #header-four-columns .col-md-3 {
        float: none;
        flex: 0 0 25%;
        max-width: 25%;
        display: flex;
    }

    #header-four-columns .h4c-wrapper {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        padding: 12px 15px;
        border-right: 1px solid rgba(255, 255, 255, 0.35);
        box-sizing: border-box;
        height: 100%;
        min-height: 60px;
    }

    #header-four-columns .col-md-3:last-child .h4c-wrapper {
        border-right: none;
    }

    .h4c-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        font-size: 24px;
        min-width: 32px;
    }

    #anvil-logo {
        max-height: 28px;
        width: auto;
        display: block;
    }

    .h4c-text {
        text-align: center;
        line-height: 1.3;
    }

    .h4c-title {
        font-size: 13px;
        margin: 0 0 2px;
        font-weight: 600;
        letter-spacing: 0.03em;
    }

    .h4c-description {
        font-size: 10px;
        margin: 0;
        letter-spacing: 0.03em;
    }

    .anvil-container .h4c-wrapper {
        background: #000;
    }

    .top-bar-wrapper {
        position: relative;
    }

    .top-bar-center-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #basket-and-login-container {
        text-align: right;
    }

    #basket-and-login-container li {
        display: inline-block;
        margin-left: 15px;
    }

    .header-search {
        width: 80% !important;
        margin: 0 auto;
        float: unset !important;
    }

    .menu-container {
        background-color: #e1e1e1;
        margin-top: 20px;
    }

    .navbar.navbar-default.yamm.hidden-xs.hidden-sm {
        background-color: transparent;
        border-color: transparent;
        margin-top: 0;
    }

    .yamm .level1>a {
        font-size: 12px !important;
        font-weight: 600;
        padding: 20px 5px;
    }

    #header-four-column-container {
        background-color: #92a7c6;
        color: #fff;
    }

    #basket-and-login-container li a {
        color: #555555;
    }

    #basket-and-login-container li a:hover {
        text-decoration: none;
        color: #486896;
    }

    #basket-and-login-container li a i {
        font-size: 26px;
        margin-left: 5px;
    }

    #footer-links,
    #footer-copyright {
        margin-bottom: 30px;
    }

    #cards-container {
        text-align: right;
    }
}

@media (min-width: 1400px) {

    header .container.hidden-sm.hidden-xs,
    .navbar.navbar-default.navbar-fixed-top .container,
    #home-slideshow-section {
        width: 1370px;
    }

    .shop-cat-tile {
        width: 20%;
    }

    .container.featured-title-container,
    #home-featured-products-section,
    #footer .container,
    #home-shop-by-category-section.container,
    #home-boasts-section .container,
    #home-help-section .container {
        width: 1270px;
    }
}

@media (min-width: 1600px) {

    header .container.hidden-sm.hidden-xs,
    .navbar.navbar-default.navbar-fixed-top .container,
    #home-slideshow-section {
        width: 1570px;
    }
}

@media (max-width: 991px) {
    .shop-cat-tile {
        width: 33.33333333333333%;
    }

    .navbar-header a {
        color: #ffffff;
    }

    .drilldown a.navback {
        background: #486896;
        color: #fff;
    }

    .drilldown li {
        border-bottom: 1px solid #486896;
        background: #92a7c6;
    }

    .drilldown a {
        color: #fff;
    }

    #footer-copyright {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .shop-cat-tile {
        width: 50%;
    }

    #subscribeModal .modal-dialog {
        max-width: 500px;
        margin: 0 auto;
        width: unset;
    }

    #subscribeForm {
        padding: 0 10px 20px;
    }

    .row.product-box-inner,
    .grouped-category-box {
        text-align: center;
    }

    .product-box .quantity {
        display: inline-block;
        float: unset;
        width: 190px !important;
    }
}

@media (max-width: 600px) {
    body {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .shop-cat-tile {
        width: 100%;
    }

    .navbar-brand {
        padding: 15px 0;
        width: unset;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .form-control.buy-qty {
        float: right;
    }

    .product-box div.basketsubmit {
        margin-top: 5px;
    }

    .product-image-container,
    .grouped-cat-image-container {
        height: 150px;
    }
}

.product-box .grid-view-buttons .price-block,
.grouped-category-box .grouped-cat-price-label {
    border-top: 0;
}

.cat-caption {
    text-align: center;
}

.fa-star:before {
    content: "\f004";
}

.variant-blocks .block {
    border: 1px solid #ccc;
}

.variant-blocks .block:hover {
    outline: 2px solid #486896;
}

.variant-blocks .block.active {
    outline: 2px solid #486896;
}

.grid-view-buttons .discounttext {
    display: none;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-social li a i {
    font-size: 40px;
}