.tms-content-overlay {
    top: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.tms-content-strap {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.intro {
    letter-spacing: 1px;
}

.header .logo a {
    -webkit-transition-duration: .5s !important;
    transition-duration: .5s !important;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .intro {
        font-size: 3.900rem;
    }
}

.alt-font {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.alt-font-2 {
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif !important;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.4;
}

.text-foskers-red {
    color: #971b1e !important;
}

.btn-foskers {
    background: #971b1e;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-color: #971b1e;
}

    .btn-foskers:hover {
        background: #801417;
        color: white;
        border-color: #971b1e;
    }

.btn-border-foskers {
    background: #ffffff;
    border-color: #971b1e;
    color: #971b1e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-border-foskers:hover {
        background: #971b1e;
        color: white;
        border-color: #971b1e;
    }


.bkg-hover-theme:hover {
    background: #ae1c26;
}

.tms-slide img:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.feature-2.ferrari-enter .feature-image img {
    width: 100%;
}

.feature-2.ferrari-enter.right .row .feature-image {
    margin-left: -122%;
}

.feature-2.ferrari-enter .row .feature-image,
.feature-2.ferrari-enter .row.flex .feature-image {
    width: 225%;
    margin-right: -70%;
}

@media (max-width: 767px) {
    .title-xlarge.home-slider-titles {
        font-size: 4rem;
    }
}

/* Home featured Stock */
@media (max-width: 1199px) and (min-width: 992px) {
    .grid-container.full-width.home-featured-cars .grid .grid-item {
        width: 50%;
    }
}

@media (min-width: 2000px) {
    .content-grid-4 .grid-item {
        width: 24.99%;
    }
}

/* Helpers */

.line-height-45px {
    line-height: 45px;
}

.inherit-font {
    font-family: inherit !important;
}

.width-100 {
    width: 100%;
}

.width-49 {
    width: 49%;
}

.font-weight-900 {
    font-weight: 900 !important;
}

/* Car move */

.car img {
    width: 100%;
}

.car {
    position: absolute;
    width: 90%;
    -webkit-animation: linear forwards;
    -webkit-animation-name: ferrari;
    -webkit-animation-duration: 4s;
    animation-timing-function: ease-out;
}

/* Car move tablet portrait */
@media (max-width: 991px) and (min-width: 768px) {
    .car {
        position: absolute;
        width: 132%;
        -webkit-animation: linear forwards;
        -webkit-animation-name: ferrari;
        -webkit-animation-duration: 4s;
        animation-timing-function: ease-out;
    }

    @-webkit-keyframes ferrari {
        0% {
            left: -230% !important;
        }

        100% {
            left: -38% !important;
        }
    }
}

/* Car move smartphone */
@media (max-width: 767px) {
    .car {
        position: absolute;
        width: 135%;
        -webkit-animation: linear forwards;
        -webkit-animation-name: ferrari;
        -webkit-animation-duration: 4s;
        animation-timing-function: ease-out;
    }
}

@-webkit-keyframes ferrari {
    0% {
        left: -85%;
    }

    100% {
        left: -38%;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {

    .car {
        position: absolute;
        width: 120%;
        -webkit-animation: linear forwards;
        -webkit-animation-name: ferrari;
        -webkit-animation-duration: 4s;
        animation-timing-function: ease-out;
    }

    @-webkit-keyframes ferrari {
        0% {
            left: -100%;
        }

        100% {
            left: -65%;
        }
    }
}

@media (min-width: 2000px) and (max-width: 3000px) {

    .car {
        position: absolute;
        width: 75%;
        -webkit-animation: linear forwards;
        -webkit-animation-name: ferrari;
        -webkit-animation-duration: 4s;
        animation-timing-function: ease-out;
    }

    @-webkit-keyframes ferrari {
        0% {
            left: -100%;
        }

        100% {
            left: -30%;
        }
    }

    .xl-car-container-pb {
        padding-bottom: 165px;
    }
}

/* Wheel animation */

.f40-wheel {
    position: absolute;
    width: 14%;
    right: 19.5%;
    top: 29%;
    -webkit-animation: spin 4s linear forwards;
    -moz-animation: spin 4s linear forwards;
    animation: spin 4s linear forwards;
    animation-timing-function: ease-out;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Headers */

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    z-index: -1;
    top: 0px;
}

.intro-title-about {
    background-image: url(/images/headers/about.jpg);
}

.intro-title-history {
    background-image: url(/images/headers/history.jpg);
}

.intro-title-showroom {
    background-image: url(/images/headers/showroom.jpg);
}

.intro-title-storage {
    background-image: url(/images/headers/storage.jpg);
}

.intro-title-news {
    background-image: url(/images/headers/news.jpg);
}

.intro-title-contact {
    background-image: url(/images/headers/contact.jpg);
}

.intro-title-workshop {
    background-image: url(/images/headers/workshop.jpg);
}

.intro-title-bookservice {
    background-image: url(/images/headers/bookservice.jpg);
}

.intro-title-restoration {
    background-image: url(/images/headers/restoration.jpg);
}

.intro-title-testimonials {
    background-image: url(/images/headers/testimonials.jpg);
}

.intro-title-privacy {
    background-image: url(/images/headers/privacy.jpg);
}

/* Home */

.featured-media .tms-arrow-nav {
    display: block !important;
}

/* Storage */

.storage-left-half .media-column {
    background-image: url(/images/storage/left-half.jpg) !important;
}

.hero-5 .media-column {
    height: 100%;
    position: absolute;
    left: 0;
}

.price-bike-bg {
    background-image: url(/images/storage/price-bike-bg.png) !important;
    background-position: center center;
    background-size: cover;
}

.price-car-bg {
    background-image: url(/images/storage/price-car-bg.png) !important;
    background-position: center center;
    background-size: cover;
}

.pricing-table.large .pricing-table-price .interval {
    font-size: 1.7rem !important;
}

.stat-container {
    width: inherit;
}

    .stat-container i.stat-unit-1 {
        font-size: 30px;
        position: absolute;
        top: 5px;
        padding-left: 10px;
        font-style: normal;
        color: #971b1e;
    }

    .stat-container i.stat-unit-2 {
        font-size: 30px;
        position: absolute;
        bottom: 52px;
        padding-left: 10px;
        font-style: normal;
        color: #971b1e;
    }

    .stat-container i.stat-unit-3 {
        font-size: 25px;
        position: absolute;
        top: 5px;
        padding-left: 5px;
        font-style: normal;
        color: #971b1e;
    }

    .stat-container i.stat-unit-4 {
        font-size: 25px;
        position: absolute;
        bottom: 52px;
        padding-left: 7px;
        font-style: normal;
        color: #971b1e;
    }

.stat-counter {
    font-size: 4.5rem;
    font-weight: 300;
}

.stat-inner p {
    margin-bottom: 0px;
}

.tabs.vertical:after {
    content: "" !important;
}

.tabs.style-2 .tab-nav > li.active a, .tabs.style-2 .tab-nav > li.active a:hover, .tabs.style-2.vertical .tab-nav > li.active a, .tabs.style-2.vertical.right .tab-nav > li.active a {
    color: #971b1e !important;
    font-weight: 700;
}

.tabs.style-2 .tab-nav > li a, .tabs.style-2.vertical .tab-nav > li a, .tabs.style-2.vertical.right .tab-nav > li a {
    font-size: 13px;
}

/* History */

.grid-filter-menu a.alt-font-2 {
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif !important;
    font-weight: 400;
}

.history-bg-section-1 {
    background-image: url(/images/history/section-1-bg.jpg);
}

.history-lead-title-bg {
    background-image: url(/images/history/lead-title-bg.jpg);
    background-size: cover;
    background-position: center;
}

.history-1970-right .media-column {
    background-image: url(/images/history/1970-right.jpg) !important;
}

.history-1990-left .media-column {
    background-image: url(/images/history/1990-left.jpg) !important;
}

.history-2000-right .media-column {
    background-image: url(/images/history/2000-right.jpg) !important;
}

.history-2010-left .media-column {
    background-image: url(/images/history/2010-left.jpg) !important;
}

.history-current-right .media-column {
    background-image: url(/images/history/current-right.jpg) !important;
}

/* Restoration */

.restoration-overlay {
    position: absolute;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
    z-index: 0;
    bottom: 0px;
}

.post-title.restoration-case-study {
    font-size: 2.1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

@media (max-width: 991px) and (min-width: 768px) {
    .feature-2 .feature-image img.restoration-right-img {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .feature-2 .feature-image img.restoration-right-img {
        width: 100%;
    }
}

/* News */
.overlay-info.news-title > span > span {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #fff;
}

@media (max-width: 767px) {
    .overlay-info.news-title > span > span {
        font-size: 1.4rem;
    }
}

.post-autor.news-year {
    margin-top: 5px !important;
}


.signup-form-container.foskers-subscribe {
    padding: 4rem !important;
    margin-bottom: 0;
    background: rgba(0,0,0,.5) !important;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

    .flex-wrap > .grid-item {
        width: 33%
    }

@media only screen and (max-width: 1140px) {
    .content-inner .grid-container .grid .grid-item {
        width: 49%;
    }
}

@media only screen and (max-width: 600px) {
    .content-inner .grid-container .grid .grid-item {
        width: 100%;
    }
}

/* Dynamic Articles */

#news.section-block img[style="float: right;"], #restorationcasestudy.section-block img[style="float: right;"] {
    margin-left: 40px;
    margin-bottom: 40px;
}

#news.section-block img[style="float: left;"], #restorationcasestudy.section-block img[style="float: left;"] {
    margin-right: 40px !important;
    margin-bottom: 40px;
}

#news.section-block p img, #restorationcasestudy.section-block p img {
    margin-right: 20px;
}

    #news.section-block p img:last-child, #restorationcasestudy.section-block p img:last-child {
        margin-right: 0px;
    }


@media (max-width: 1199px) and (min-width: 992px) {
    #news.section-block img[style="float: right;"], #restorationcasestudy.section-block img[style="float: right;"] {
        margin-left: 0px;
        margin-bottom: 30px;
        width: 100% !important;
    }

    #news.section-block img[style="float: left;"], #restorationcasestudy.section-block img[style="float: left;"] {
        margin-right: 0px !important;
        margin-bottom: 30px;
        width: 100% !important;
    }

    #news.section-block p img, #restorationcasestudy.section-block p img {
        margin-right: 0px;
        width: 100% !important;
        margin-bottom: 30px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    #news.section-block img[style="float: right;"], #restorationcasestudy.section-block img[style="float: right;"] {
        margin-left: 0px;
        margin-bottom: 30px;
        width: 100% !important;
    }

    #news.section-block img[style="float: left;"], #restorationcasestudy.section-block img[style="float: left;"] {
        margin-right: 0px !important;
        margin-bottom: 30px;
        width: 100% !important;
    }

    #news.section-block p img, #restorationcasestudy.section-block p img {
        margin-right: 0px;
        width: 100% !important;
    }
}

/* Contact */
.checkbox:checked + .checkbox-label:before {
    content: '\e63a';
    background: #971b1e !important;
    border-color: #971b1e !important;
    color: #fff;
}

.widget.contact-details ul li {
    padding-top: 0;
    border: none;
    border-color: #eee;
    list-style: none;
}

.widget.contact-details ul {
    margin-left: 0px;
}

.widget.contact-details {
    padding-right: 25px;
}

.intro-details {
    padding-bottom: 17rem;
    z-index: -1;
}

.contact-map {
    margin-top: -125px;
    z-index: 2;
}

.shadow {
    -webkit-box-shadow: 0 0px 10px rgba(0, 0, 0, 0.15);
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.15);
}

.contact-signup-bg {
    background-image: url(/images/contact/signup.jpg);
    background-size: cover;
    background-position: center;
}

.restoration-link-bg {
    background-image: url(/images/workshop/restoration/restoration-link-bg.jpg);
    background-size: cover;
    background-position: center;
}

/* Footer */

a.racecar {
    font: italic bold 11px Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none !important;
    text-transform: none;
}

.navspacer {
    position: relative;
    width: 90px;
    height: 37px;
}

.wpcc-color-custom-885847434 .wpcc-btn {
    color: rgb(255, 255, 255) !important;
}

.form-thank-you-message {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    margin-bottom: 1rem;
    border-radius: .25rem;
    height: 0;
    overflow-y: hidden;
    transition-property: height, padding;
    transition-duration: .3s;
    transition-timing-function: ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.footer-logo-bottom {
    max-width: 255px;
}

/* Servicing */

#tml-tool-bar {
    display: none !important;
}

/* Stock Models */

.pagination-3 .btn-foskers {
    color: #fff;
}

.pagination-3.model-read-more li:last-child, .pagination-3.model-read-more li:first-child {
    float: none !important;
}

/*.overlay-info {
    background: rgba(255, 255, 255, 0.5) !important;
}

.bar, .box, .form-element, .form-element + label:before, .overlay-info, .thumbnail, .thumbnail .background-image, .thumbnail img, a, button, input, textarea {
    -webkit-transition-duration: .5s !important;
    transition-duration: .5s !important;
}*/

.img-scale-in:hover .background-image, .img-scale-in:hover img, .img-scale-out .background-image, .img-scale-out img, .overlay-fade-img-scale-in:hover .background-image, .overlay-fade-img-scale-in:hover img, .overlay-fade-img-scale-out .background-image, .overlay-fade-img-scale-out img, .overlay-img-scale-in:hover .background-image, .overlay-img-scale-in:hover img {
    -webkit-transform: scale3d(1.07,1.07,1) !important;
    transform: scale3d(1.07,1.07,1) !important;
}

/* Stock Details */

.menu-list li:nth-child(even) h4, .menu-list li:nth-child(even) .menu-description {
    color: #000;
}

.menu-item.dotted .menu-title,
.menu-item.dotted .menu-price {
    background-color: #fafafa;
}

.menu-list-spec .menu-title {
    padding-right: 6px;
}

.menu-list-spec .menu-price {
    padding-left: 6px;
}

#tml-content-wrapper {
    left: 7% !important;
    right: 7% !important;
    top: 0% !important;
    bottom: 0% !important;
}

@media only screen and (max-width: 960px) {
    #tml-content-wrapper {
        left: 10% !important;
        right: 10% !important;
    }
}

/* Errors */
.error-bkg {
    background-image: url(/images/error-bg.jpg);
}

/* Responsive helpers */

@media (min-width: 1200px) {
    .hidden-lg {
        display: none !important;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .hidden-md {
        display: none !important;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .hidden-sm {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .hidden-xs {
        display: none !important;
    }
}

.text-decoration-underline {
    text-decoration-color: #000 !important;
}

/* Navigation */

.navigation .sub-menu {
    width: 20rem;
}

.grecaptcha-badge {
    z-index: 10;
}
