:root {
    --swiper-theme-color: #ed0707 !important;
}

#topbar {
    background: #ed0707 !important;
}

#topbar .social-links a {
    color: rgba(255, 255, 255, 1) !important;
}

#header .logo a {
    color: #ed0707 !important;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
    color: #ed0707 !important;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
    color: #ed0707 !important;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
    color: #ed0707 !important;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
    color: #ed0707 !important;
}

.navbar>ul>li>a:before {
    background-color: #ed0707 !important;
}

.jd-logo {
    font-size: calc(1.375rem + 1vw) !important;
}

.jd-hero {
    width: 100% !important;
    max-height: 75vh;
}

.featured-services .icon i {
    color: #ed0707 !important;
}

.featured-services .icon-box:hover::before {
    background: #ed0707;
}

.section-title h2 {
    background: #fde7e7 !important;
    color: #ed0707 !important;
}

.section-title h3 span {
    color: #ed0707 !important;
}

.featured-services .icon-box:hover .title a,
.featured-services .icon-box:hover .description {
    color: #fff !important;
}

.featured-services .icon-box:hover .icon i {
    color: #fff !important;
}

.about .content ul i {
    font-size: 35px !important;
    padding: 10px !important;
}

.jd-contact-btn {
    font-size: 1.25rem !important;
    background: #ed0707 !important;
    border: 2px solid #ed0707 !important;
}

.jd-contact-btn:hover {
    background: #fde7e7 !important;
    color: #ed0707 !important;
    border: 2px solid #ed0707 !important;
}

.jd-btn-watch-video i {
    color: #ed0707;
    font-size: 32px;
    transition: 0.3s;
    line-height: 0;
    margin-right: 8px;
}

.jd-btn-watch-video:hover {
    color: #ed0707;
}

.jd-btn-watch-video-container {
    display: inline-block;
    background: #fde7e7;
    padding: 10px 20px;
    border-radius: 50px;
    transition: 0.3s;
}

.jd-top-link:hover {
    color: white !important;
}

.back-to-top {
    background: #ed0707 !important;
}

#footer .footer-top .footer-links ul i {
    color: #ed0707 !important;
}

.about .content ul i {
    color: #ed0707 !important;
}

a:hover {
    color: #ed0707 !important;
}

.faq .faq-list .collapsed:hover {
    color: #ed0707 !important;
}

.faq .faq-list .question {
    color: #ed0707 !important;
}

.faq .faq-list .collapsed {
    color: black !important;
}

.testimonials {
    background: url(https://timwalshdrivingschool.co.uk/img/testimonials-bg.jpg) no-repeat center bottom;
    background-size: cover;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #ed0707 !important;
}

.services .icon-box {
    padding: 20px 20px;
}

.services .icon-box:hover h4 a, .services .icon-box:hover .icon i {
    color: #ed0707 !important;
}

.services .icon-box .icon i {
    color: #ed0707 !important;
}

.services .icon-box:hover .icon {
    background: #fde7e7 !important;
}

.services .icon-box:hover .icon {
    border-color: #ed0707 !important;
}

.jd-btn-watch-video {
    font-size: 16px;
    transition: 0.5s;
    margin-left: auto;
    margin-right: auto;
    color: #222222;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.jd-contact-link {
    color: #ed0707 !important;
}

.jd-contact-link:hover {
    color: #d95454 !important;
}

#hero {
    background-size: contain !important;
    background: url(https://timwalshdrivingschool.co.uk/img/banner.jpg) no-repeat top left !important;
}

.pricing .featured h3 {
    background: #ed0707 !important;
}

.jd-pricing--price {
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid #d2d2d2;
}

.jd-pricing--description {
    height: 4rem;
    border-bottom: 1px solid #d2d2d2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.jd-pricing--description p {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.jd-pricing--description-two {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.jd-pricing--description-two p {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.jd-pricing--btn-container {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pricing .btn-wrap {
    margin-top: 0 !important;
}

.pricing .box .jd-pricing--price h4 {
    color: #ed0707 !important;
}

.pricing .btn-buy {
    background: #ed0707 !important;
}

.pricing .btn-buy:hover {
    color: #ed0707 !important;
    background: #fde7e7 !important;
    border: 1px solid #ed0707 !important;
}

.pricing .box .jd-price-hover h4 {
    transition: font-size 0.3s ease;
}

.pricing .box .jd-price-hover h4 sup {
    transition: font-size 0.3s ease;
}

.pricing .box:hover .jd-price-hover h4 {
    font-size: 40px;
}

.pricing .box:hover .jd-price-hover h4 sup {
    font-size: 24px;
}

.terms-and-conditions h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.terms-and-conditions p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.terms-and-conditions ul li {
    font-size: 0.85rem;
}

.form-control:focus, .form-check-input:focus {
    border-color: #ed0707 !important;
    box-shadow: 0 0 0 0.2rem rgba(237, 7, 7, 0.25) !important;
}

.form-check-input:checked {
    background-color: #ed0707;
    border-color: #ed0707;
}

.contact-form .btn {
    background: #ed0707 !important;
    border: 2px solid #ed0707 !important;
}

.jd-star-rating .jd-star {
    display: inline-block;
    cursor: pointer;
}

.jd-star-rating .jd-star .jd-star-empty {
    color: #ed0707;
    display: block;
}

.jd-star-rating .jd-star .jd-star-filled {
    color: #ed0707;
    display: block;
}

.jd-star-rating .jd-star i {
    font-size: 2rem;
}

.jd-required {
    color: #ed0707 !important;
}

#footer .footer-top .footer-links {
    margin-bottom: 0 !important;
}

.cookies-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 1rem;
    width: 70%;
    max-width: 30rem;
    background: #000;
    color: #fff;
    padding: 10px 0;
    z-index: 9999;
}

.cookies-notice button {
    background: #ed0707 !important;
    border: 2px solid #ed0707 !important;
}

.twds-testimonial {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding-bottom: 20px;
}

.twds-testimonial-item {
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
    border-radius: 8px;
}

.twds-testimonial-item img {
    width: 175px;
    height: auto;
    border-radius: 5px;
    margin-right: 20px;
}

.twds-testimonial-text {
    flex: 1;
}

.twds-testimonial-text h3 {
    margin-top: 0;
}

.twds-past-students {
    display: grid;
    gap: 20px;
}

.twds-past-students-swiper {
    padding-top: 10px;
}

.gallery .gallery-item img {
    transition: all ease-in-out 0.4s;
    width: 100%;
    max-height: 20rem;
    object-fit: cover;
}

.gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery .gallery-item {
    overflow: hidden;
}

#preloader:before {
    border: 6px solid #ed0707;
    border-top-color: #e2eefd;
}

@media (min-width: 800px) {
    .jd-logo {
        font-size: calc(1.375rem + 1vw) !important
    }
}

@media (min-width: 1000px) {
    .jd-logo {
        font-size: 14px !important;
    }
}

@media (min-width: 1200px) {
    .jd-logo {
        font-size: 20px !important;
    }
    .jd-footer-container {
        max-width: 90% !important;
    }
}

@media (min-width: 1400px) {
    .jd-logo {
        font-size: 30px !important;
    }
}


@media (min-width: 576px) {
    .jd-final-twds-testimonial {
        width: 50%;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .jd-hero {
        width: 100% !important;
        height: 35vh;
        object-fit: cover;
    }
}