﻿body {
    font-family: Inter, sans-serif;
}

a {
    color: #a50202;
    text-decoration: none;
}

    a:hover {
        color: #820101;
    }

    a:hover .bg-icon {
        background-color: #a50202;
    }

    a:hover .service-icon {
        filter: grayscale(1) brightness(0) invert(1)
    }

    a:hover .service-link {
        color: #820101 !important;
    }

.navbar {
    padding: .5rem !important;
}

.nav-link {
    color: #212529 !important;
}

    .nav-link:hover {
        color: #820101 !important;
    }

@media (min-width: 992px) {
    .nav-link {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

.nav-link-override.active {
    color: #212529 !important;
}

    .nav-link-override.active:hover {
        color: #212529 !important;
    }

.nav-link-override {
    color: #ffffff !important;
}

    .nav-link-override:hover {
        color: #ffffff !important;
    }

.service-link {
    color: #212529 !important;
}

    .service-link:hover {
        color: #820101 !important;
    }

.service-txt {
    color: #212529 !important;
}

.btn.btn-primary {
    background-color: #a50202;
    border-color: #a50202;
    color: #fff;
    padding: .5rem 2rem;
}

    .btn.btn-primary:hover {
        background-color: #820101;
        border-color: #820101;
    }

    .c-link:hover .btn {
        background-color: #820101;
        border-color: #820101;
    }

    .os-link:hover .btn {
        background-color: #820101;
        border-color: #820101;
    }

.btn.btn-outline-primary {
    border-color: #fff;
    border-radius: 0;
    color: #fff;
}

    .btn.btn-outline-primary:hover {
        background-color: #820101;
    }

    .btn.btn-outline-primary:focus {
        background-color: #820101;
    }

.swiper-pagination-bullet-active {
    background: #a50202 !important;
}

.br-0 {
    border-radius: 0;
}

.widget-section {
    width: 100%;
    height: 563px;
    background-position: center;
    background-size: cover;
    position: relative;
}

    .widget-section .tyre-search {
        color: #2f2f2f;
    }

    .widget-section .overlay:before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .widget-section .hero-title {
        color: #fff;
        font-family: "Montserrat", sans-serif;
        font-size: 2.4rem;
        font-weight: 500;
        font-style: italic;
        text-transform: uppercase;
    }

    .widget-section .header-section .hero-title {
        font-size: 32.5px;
    }

    .widget-section .hero-title .hero-title-alt {
        font-style: normal;
        font-weight: 600;
    }

    .widget-section .hero-title.sml {
        font-size: 2rem;
    }

@media (max-width: 768px) {
    .widget-section .media-wrapper-tyre-widget {
        padding-left: 25px;
        padding-right: 25px;
    }
}

.carousel-bg-section {
    width: 100%;
    height: 312px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.media-wrapper {
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 200px;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 200px;
    position: relative;
    z-index: 10;
}

@media (min-width: 769px) and (max-width: 991.5px) {
    .media-wrapper {
        padding: 120px 60px;
    }
}

@media (max-width: 768px) {
    .media-wrapper {
        padding: 120px 40px;
    }
}

.form-check-input:checked {
    background-color: #a50202;
    border-color: #a50202;
}

.home-h1 {
    font-size: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    clip: rect(1px, 1px, 1px, 1px);
}

.fw-700 {
    font-weight: 700;
}

.search-bg {
    background-color: #333;
    padding: 5px;
}

    .search-bg .nav-link {
        align-items: center;
        color: #fff;
        display: flex;
        font-family: Inter, sans-serif;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
    }

        .search-bg .nav-link:hover {
            border-color: transparent;
        }

        .search-bg .nav-link > svg {
            fill: #fff;
            width: 25px;
            margin-right: 10px;
        }

@media (min-width: 576px) {
    .search-bg .nav-link > svg {
        width: 30px;
    }
}

.search-bg .nav-link.active > svg {
    fill: #ed1c24;
}

@media (max-width: 768px) {
    .widget-section .hero-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .widget-section .media-wrapper {
        padding: 40px;
    }
}

.home-bg {
    position: relative;
}

.carousel-bg {
    position: relative;
}

.flickity-container {
    width: 100%;
    height: 563px;
}

.flickity-carousel-container {
    width: 100%;
    height: 312px;
}

.fixed-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.flickity-page-dots .dot {
    background: #ffffff !important;
}

@media (max-width: 992px) {
    .widget-h {
        height: 563px;
    }
}

@media (max-width: 768px) {
    .widget-h {
        height: 563px;
    }

    .widget-l {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 992px) {
    .carousel-bg-h {
        height: 312px;
    }
}

@media (max-width: 768px) {
    .carousel-bg-h {
        height: 312px;
    }

    .carousel-bg-l {
        display: flex;
        align-items: center;
    }
}

.overlay:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.overlay-black:before {
    background-color: #161c2d;
}

.overlay-50:before {
    opacity: .5;
}

.lookup-vrn-txt {
    background: url(//assets.tyresandservice.co.uk/Images/vrn/uk-reg.png) no-repeat left top;
    background-color: #fdf059;
    height: 42px;
    line-height: 24px;
    padding: 0 10px 0 35px;
}

.lookup-vrn-txt-b {
    border-color: #000000;
}

.h-42 {
    height: 42px;
}

.bg-icon {
    align-items: center;
    background-color: #ffffff;
    border: 5px solid #363535;
    border-radius: 50%;
    display: flex;
    height: 120px;
    justify-content: center;
    margin-bottom: 20px;
    width: 120px;
}

.bg-grey {
    background-color: #efefef;
}

.kam-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
}

.footer-type {
    padding: 0px;
    list-style-type: none;
}

.footer-list {
    columns: 2 !important;
}

.footer-link {
    color: #ffffff !important;
}

    .footer-link:hover {
        color: #a50202 !important
    }

.sm-icon {
    transition: filter 0.3s;
    filter: grayscale(0) brightness(1) invert(0);
}

    .sm-icon:hover {
        filter: brightness(0) saturate(100%) invert(9%) sepia(68%) saturate(7287%) hue-rotate(357deg) brightness(93%) contrast(107%);
    }

.p-15 {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
}

.p-64 {
    padding-top: 64px;
    padding-bottom: 64px;
}

.p-128 {
    padding-top: 128px;
    padding-bottom: 128px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .book-mot-txt {
        display: inline-block;
    }

        .book-mot-txt .mot-txt::before {
            content: "\A";
            white-space: pre;
        }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .buy-tyres-txt {
        display: inline-block;
    }

        .buy-tyres-txt .tyres-txt::before {
            content: "\A";
            white-space: pre;
        }
}

.primary-bg {
    background-color: #a50202;
}

.secondary-bg {
    background-color: #303030;
}

.form-control.input-validation-error {
    border-color: #ed1c24;
}

.field-validation-error {
    color: #ed1c24;
}

.btn-unstyled {
    background: transparent;
    border: none;
}

.toggle-branch {
    display: none;
}

@media (max-width: 500px) {
    .toggle-branch {
        display: block;
    }
}

.centre {
    padding: 20px;
}

.fs-14 {
    font-size: 14px;
}

.fs-15 {
    font-size: 15px;
}

.fs-18 {
    font-size: 18px;
}

.text-primary {
    color: #a50202 !important;
}

.branch-list li {
    list-style: none;
    margin-bottom: .5rem;
    padding-left: 30px;
    position: relative;
}

.branch li {
    list-style: none;
    margin-bottom: .5rem;
    padding-left: 30px;
    position: relative;
}

.branch-list li:before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    left: 3px;
    position: absolute;
    top: 0;
}

.branch li:before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    left: 3px;
    position: absolute;
    top: 0;
}

.branch-list li.address:before {
    content: "\f3c5";
}

.branch li.address:before {
    content: "\f3c5";
}

.branch-list li.phone:before {
    content: "\f3cd";
}

.branch li.phone:before {
    content: "\f3cd";
}

.branch-list li.email:before {
    content: "\f0e0";
}

.branch li.email:before {
    content: "\f0e0";
}

.branch li.manager:before {
    content: "\f007";
}

.branch li.opening-hours:before {
    content: "\f017";
}

.input-group .btn-search,
.input-group .btn-geolocate {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    padding: 7px 12px;
    z-index: 10;
}

    .input-group .btn-search:focus,
    .input-group .btn-geolocate:focus {
        box-shadow: none;
        outline: 0;
    }

.input-group .btn-geolocate {
    right: 3px;
}

    .input-group .btn-geolocate:before {
        background-color: #ced4da;
        content: "";
        height: 20px;
        left: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
    }

.branches-list {
    max-height: 745px;
    overflow-y: scroll;
    overflow-x: hidden;
}

    .branches-list .btn-primary:focus,
    .branches-list .btn-primary:active:focus {
        box-shadow: none !important;
    }

@media (min-width: 501px) {
    .branches-list {
        display: block !important;
    }
}

#map {
    min-height: 800px;
}

@media (min-width: 501px) {
    #map {
        display: block !important;
    }
}

@media (min-width: 501px) {
    .branches-list {
        display: block !important;
    }
}

.branch-list {
    padding-left: 0;
}

.trustpilot-img {
    max-height: 50px;
}

.google-img {
    max-height: 40px;
}

.good-garage-scheme-img {
    max-height: 60px;
}

.grt-colour {
    color: #a50202;
    font-size: 25px;
    font-weight: 700;
}

.grst-colour {
    color: #820101;
}

.ratings-star:last-child {
    margin-right: 0 !important;
}

.careers-list {
    list-style: none;
    padding-left: 0;
}

    .careers-list li {
        margin-bottom: 24px;
    }

.careers-padding {
    padding: 24px;
}

.careers-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.map-img {
    max-height: 500px;
}

.branch-img {
    max-height: 300px
}

.flickity-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(1.6em + 1.625rem + 2px);
    height: calc(1.6em + 1.625rem + 2px);
    background-color: inherit !important;
    color: #000 !important;
}

.flickity-button-icon {
    display: none;
}

.flickity-button::after, .flickity-button::before {
    font-family: "Font Awesome 6 Pro";
}

.flickity-button.previous::before {
    content: "\f177";
}

.flickity-button.next::before {
    content: "\f178";
}

.flickity-prev-next-button.previous {
    left: -12px !important;
}

.flickity-prev-next-button.next {
    right: -12px !important;
}

.flickity-page-dots {
    bottom: 0px !important;
}

#google-reviews {
    cursor: pointer;
}

.swiper-slide {
    height: auto !important;
}

.swiper-button-prev {
    left: -60px !important;
    color: #a50202 !important;
}

.swiper-button-next {
    right: -60px !important;
    color: #a50202 !important;
}

.swiper-pagination-bullets {
    bottom: -10px !important;
    width: 100% !important;
}

.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    margin: 0 8px !important;
}

@media (max-width: 1468px) {
    .swiper-button-next {
        display: none !important;
    }
}

@media (max-width: 1468px) {
    .swiper-button-prev {
        display: none !important;
    }
}

.c-link {
    border: 1px solid #dee2e6;
}

    .c-link:hover {
        border: 1px solid #a9acb0;
    }

.c-text-colour {
    color: #212529;
}

.os-link {
    border: 1px solid #dee2e6;
}

    .os-link:hover {
        border: 1px solid #a9acb0;
    }

.os-text-colour {
    color :#212529;
}

.nb-card {
    border: 5px solid #48494b;
    background-color: #a50202;
}

.bs-widget-b {
    border: 5px solid #000000;
}

.bs-widget-bg {
    background-image: url(/Images/robs-garage-location-image.png);
    background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: overlay;
    background-position: center;
    background-size: cover;
}

.remove-tyre-widget {
    color: #ffffff;
}

.container-embedded {
    min-height: 300px;
}

.spinner-embedded {
    position: absolute;
    left: 50%;
    right: 50%;
    transform: translateX(-36px);
}

    .spinner-embedded .spinner-border {
        color: #a50202;
        border-width: .5em;
        height: 4rem;
        width: 4rem;
    }

.cookie-container {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0.2rem 2.4rem !important;
    bottom: 0;
    display: none;
    font-size: 14px;
    padding: 40px 0;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.settings-container {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0.2rem 2.4rem !important;
    bottom: 0;
    display: none;
    font-size: 14px;
    padding: 40px 0;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.settings-border {
    border: 1px solid #DFE3E6;
}

.settings-scrollbar {
    max-height: 600px;
    overflow-y: scroll;
}

.settings-padding {
    padding-left: 28px;
    padding-right: 28px;
}

.settings-row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x)/ -2);
    margin-left: calc(var(--bs-gutter-x)/ -2);
}

    .settings-row > * {
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
        padding-right: calc(var(--bs-gutter-x)/ 2);
        padding-left: calc(var(--bs-gutter-x)/ 2);
        margin-top: var(--bs-gutter-y);
    }

.umb-block-grid__layout-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--umb-block-grid--grid-columns, 1), minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-rows: minmax(50px, min-content);
    -moz-column-gap: var(--umb-block-grid--column-gap, 0);
    column-gap: var(--umb-block-grid--column-gap, 0);
    row-gap: var(--umb-block-grid--row-gap, 0);
}

.umb-block-grid__layout-item {
    position: relative;
    /* For small devices we scale columnSpan by three, to make everything bigger than 1/3 take full width: */
    grid-column-end: span min(calc(var(--umb-block-grid--item-column-span, 1) * 3), var(--umb-block-grid--grid-columns));
    grid-row: span var(--umb-block-grid--item-row-span, 1);
}


.umb-block-grid__area-container, .umb-block-grid__block--view::part(area-container) {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--umb-block-grid--area-grid-columns, var(--umb-block-grid--grid-columns, 1)), minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-rows: minmax(50px, min-content);
    -moz-column-gap: var(--umb-block-grid--areas-column-gap, 0);
    column-gap: var(--umb-block-grid--areas-column-gap, 0);
    row-gap: var(--umb-block-grid--areas-row-gap, 0);
}

.umb-block-grid__area {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* For small devices we scale columnSpan by three, to make everything bigger than 1/3 take full width: */
    grid-column-end: span min(calc(var(--umb-block-grid--area-column-span, 1) * 3), var(--umb-block-grid--area-grid-columns));
    grid-row: span var(--umb-block-grid--area-row-span, 1);
}

@media (min-width:1024px) {
    .umb-block-grid__layout-item {
        grid-column-end: span min(var(--umb-block-grid--item-column-span, 1), var(--umb-block-grid--grid-columns));
    }

    .umb-block-grid__area {
        grid-column-end: span min(var(--umb-block-grid--area-column-span, 1), var(--umb-block-grid--area-grid-columns));
    }
}

.umbraco-forms-form input.text, .umbraco-forms-form input.title, .umbraco-forms-form textarea, .umbraco-forms-form select {
    margin: 0px !important;
    border: 1px solid #ced4da !important;
}

.umbraco-forms-form fieldset {
    padding: 0px !important;
    margin: 0px !important;
}

.umbraco-forms-form .umbraco-forms-navigation {
    padding: 0px !important;
}