/*!
 * Niki Hasler Main CSS
*/

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #fff;
    /*background-color: #f2f2f2;*/
}
/*
hr {
    border-color: #36384f;
    border-width: 3px;
    max-width: 50px;
}

    hr.light {
        border-color: white;
    }
*/
a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #36384f;
}

    a:hover,
    a:focus {
        color: #36384f;
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
    letter-spacing: 3px;
    color: #36384f;
}

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6 {
    color: #fff;
}

p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.lead {
    font-size: 24px;
    font-weight: 400;
}

@media (min-width: 768px) {
    .lead {
        font-size: 24px;
    }
}

.font2 {
    font-family: 'Libre Baskerville', serif;
}
/* entypo */
[class*="entypo-"]:before {
    font-family: 'entypo', sans-serif;
}

.italic {
    font-style: italic;
}

.bg-primary {
    background-color: #36384f;
}

.bg-dark {
    background-color: #222222;
    color: white;
}

.bg-gold {
    background-color: #a2926a;
    color: white;
}

.text-faded {
    color: rgba(255, 255, 255, 0.7);
}

.bg-primary a {
    color: #fff;
}

    .bg-primary a:hover {
        opacity: 0.7;
    }

section {
    padding: 100px 0;
}

aside {
    padding: 15px 0;
}

.no-padding {
    padding: 0;
}

.text-center {
    text-align: center;
}

.ls0 {
    letter-spacing: 0px;
}

P.drop-cap:first-letter {
    font-size: 15px;
    float: left;
    margin-top: .15em;
    color: #a2926a;
}

.button.mini {
    padding: 4px 8px 4px 8px !important;
    letter-spacing: 1px !important;
}

.border-blue-top {
    border-top: 3px solid #36384f !important;
}

.border-blue-bottom {
    border-bottom: 3px solid #36384f !important;
}

.border-blue-tb {
    border-top: 3px solid #36384f !important;
    border-bottom: 3px solid #36384f !important;
}

.position-relative {
    position: relative;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

.text-white {
    color: white !important;
}

/* ----------- TOP BAR & NAVIGATION ----------- */

/* Top Bar */
#top-bar {
    position: relative;
    height: 115px;
    line-height: 44px;
    font-size: 13px;
    z-index: 9999;
    /*background-color: #36384f;*/
    background-color: #fff;
}

.device-xxs #top-bar {
    height: 87px;
}

#top-bar a {
    color: #fff !important;
}

.navbar-brand {
    height: 115px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
    padding-top: 45px;
}

.navbar-brand-svg {
    height: auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 25px;
    padding-top: 25px;
}

    .navbar-brand-svg img {
        /*width: 100%;*/
        height: 65px;
    }

@media (max-width: 1199px) and (min-width: 992px) {
    .navbar-brand {
        /*padding-top: 50px;*/
    }
}

.device-xs .navbar-brand {
    height: 87px;
}

@media (max-width: 767px) {
    .navbar-brand {
        /*padding-bottom: 15px;
        padding-top: 22px;*/
        padding-bottom: 12px;
        padding-top: 12px;
    }
}
/* Auto height for responsive navigation */
.navbar-collapse.in {
    overflow: hidden;
    max-height: none !important;
    height: auto !important;
}
/* Auto height for responsive navigation END */
.device-xxs .navbar-brand.main-logo {
    height: 60px;
}

.bg-primary .main-logo a:hover img {
    opacity: 1;
}

.device-xs .navbar-brand.main-logo, .device-sm .navbar-brand.main-logo {
    width: 100%;
}

.navbar-brand img {
    /*max-height: 55px;*/
}

.device-sm .navbar-brand img, .device-xs .navbar-brand img {
    margin-left: auto;
    margin-right: auto;
}

.ferrari-logos {
    padding: 30px 15px;
    height: 115px;
}

.device-xxs .ferrari-logos, .device-xs .ferrari-logos, .device-sm .ferrari-logos, .device-md .ferrari-logos {
    height: 100%;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .ferrari-logos {
        padding-left: 0px;
    }
}

.ferrari-logos img {
    height: 35px;
    float: right;
}

.ferrari-logos .ferrari-badge img {
    height: 50px;
}

.ferrari-logos .scuderia-niki,
.ferrari-logos .classiche {
    padding-top: 8px;
}

.navbar-brand.logos-top {
    height: 60px;
    padding: 15px 15px;
}

.navbar-brand-nofloat {
    float: none;
}

.navbar-brand-flex {
    display: flex;
    justify-content: center;
}

.navbar-brand .ferrari-logos {
    padding: 0px;
    float: left;
}

    .navbar-brand .ferrari-logos img {
        max-height: 30px;
    }

.navbar-brand .scuderia-niki,
.navbar-brand .classiche,
.navbar-brand .ferrari-badge {
    float: left;
    max-height: 40px;
}

/*.navbar-brand .ferrari-logos .scuderia-niki {
    margin-left: 8px;
}

.navbar-brand .ferrari-logos .classiche {
    margin-left: 8px;
}
*/


/* Top Bar END */

.navbar-border {
    border-top: 3px solid #36384f !important;
}

.navbar-default.affix .navbar-border {
    border-top: none !important;
}


.navbar {
    margin-bottom: 0px;
}

.navbar-default {
    background-color: #ffffff;
    border-color: rgba(34, 34, 34, 0.05);
    font-family: 'Lato', sans-serif;
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    letter-spacing: 1px;
}

.device-lg .navbar-default {
    padding-top: 115px;
}

.translated-ltr .device-lg .navbar-default {
    padding-top: 155px;
}


.device-xs .navbar-default {
    /*margin-top: 87px;*/
    padding-top: 0px !important;
    position: relative;
    margin-bottom: 0px;
}

.device-xxs .navbar-default {
    padding-top: 0px !important;
    position: relative;
    margin-bottom: 0px;
}

.device-sm .navbar-default {
    padding-top: 0px !important;
    position: relative;
    margin-bottom: 0px;
}

.device-md .navbar-default {
    padding-top: 0px !important;
    position: relative;
    margin-bottom: 0px;
}

.device-xxs .navbar-default.affix, .device-xs .navbar-default.affix {
    padding-top: 0px !important;
}

.navbar-default .navbar-header .navbar-brand {
    color: #36384f;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

    .navbar-default .navbar-header .navbar-brand:hover,
    .navbar-default .navbar-header .navbar-brand:focus {
        color: #36384f;
    }

.navbar-default .navbar-header .navbar-toggle {
    font-weight: 700;
    font-size: 12px;
    color: #222222;
    text-transform: uppercase;
}

.navbar-default .nav > li > a,
.navbar-default .nav > li > a:focus {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 9px;
    color: rgb(0,0,0);
}

@media (max-width: 1199px) and (min-width: 992px) {
    .navbar-default .nav > li > a,
    .navbar-default .nav > li > a:focus {
        font-size: 9px;
        letter-spacing: 0px;
    }
}

.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus:hover {
    color: #000000ad;
}

.navbar-default .nav > li.active > a,
.navbar-default .nav > li.active > a:focus {
    color: #fff !important;
    background-color: transparent;
}

    .navbar-default .nav > li.active > a:hover,
    .navbar-default .nav > li.active > a:focus:hover {
        background-color: transparent;
    }

@media (min-width: 768px) {
    .navbar-default {
        background-color: #ffffff;
    }

        .navbar-default .navbar-header .navbar-brand {
            color: rgba(255, 255, 255, 0.7);
        }

            .navbar-default .navbar-header .navbar-brand:hover,
            .navbar-default .navbar-header .navbar-brand:focus {
                color: white;
            }

        .navbar-default .nav > li > a,
        .navbar-default .nav > li > a:focus {
            color: rgb(0, 0, 0);
        }

            .navbar-default .nav > li > a:hover,
            .navbar-default .nav > li > a:focus:hover {
                color: #000000ad;
            }

        .navbar-default.affix {
            background-color: #fff;
            border-color: rgba(34, 34, 34, 0.05);
            padding-top: 0px;
        }

            .navbar-default.affix .navbar-header .navbar-brand {
                color: rgba(255, 255, 255, 0.7);
                font-size: 14px;
            }

                .navbar-default.affix .navbar-header .navbar-brand:hover,
                .navbar-default.affix .navbar-header .navbar-brand:focus {
                    color: #36384f;
                }

            .navbar-default.affix .nav > li > a,
            .navbar-default.affix .nav > li > a:focus {
                color: rgb(0, 0, 0);
            }

                .navbar-default.affix .nav > li > a:hover,
                .navbar-default.affix .nav > li > a:focus:hover {
                    color: #000000ad;
                }
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: #dfdfdf;
}
/* !!CHANGE NAVIGATION TOGGLE BREAK POINT HERE!! */
@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .collapse.in {
        display: block !important;
    }
}

.navbar-toggle {
    padding: 0px;
    border: none;
    margin-top: 18px;
    margin-bottom: 18px;
}

.navbar-default .navbar-header .navbar-toggle {
    /*color: #fff;*/
    font-size: 17px;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    /*background-color: #2f3144;*/
    background-color: #fff;
}

.nav > li > a {
    padding: 15px 7px;
}

@media (max-width: 991px) and (min-width: 768px) {
    .nav > li > a {
        padding: 11px 12px;
    }

    #top-bar .container-fluid .container-lg {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media (max-width: 767px) {
    .nav > li > a {
        padding: 11px 12px;
    }

    #top-bar .container-fluid .container-lg {
        padding-left: 0px;
        padding-right: 0px;
    }
}
/* // !!CHANGE NAVIGATION TOGGLE BREAK POINT HERE!! */

/*  Navbar Dropdown Hover 
.sidebar-nav {
    padding: 9px 0;
}

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}

.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}
/*  Navbar Dropdown Hover */

.dropdown-menu {
    color: rgba(10, 75, 121, 1) !important;
    background-color: #fff !important;
    border-bottom: 3px solid #36384f !important;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0px;
    padding-top: 1px;
    padding-bottom: 0px;
}

    .dropdown-menu > li > a {
        

        text-transform: uppercase;
        font-weight: 800;
        font-size: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

        .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
            color: #000000ad;
            background-color: #fff;
        }

    .dropdown-menu.language > li > a {
        text-align: right;
        padding-right: 12px;
    }

@media (max-width: 767px) {
}


@media (max-width: 991px) {
    .dropdown-menu.language > li > a {
        text-align: left;
        padding-left: 25px !important;
    }
    .dropdown-menu {
        position: relative;
        width: 100%;
        padding: 5px 0;
        margin-bottom: 15px;
        color: #fff !important;
        list-style: none;
        background-color: #ffffff !important;
        background-clip: padding-box;
        border: none !important;
        box-shadow: inherit;
    }

        .dropdown-menu > li > a {
            color: rgb(0,0,0);
            padding-left: 25px;
        }
}
/* Customize the navbar links to be fill the entire space of the .navbar 
.navbar .navbar-inner {
    padding: 0;
}

.navbar .nav {
    margin: 0;
    display: table;
    width: 100%;
}

.navbar .nav li {
    display: table-cell;
    width: 10%;
    float: none;
}

.navbar .nav li a {
    font-weight: bold;
    text-align: center;
}

.navbar .nav li:first-child a {
    border-left: 0;
}

.navbar .nav li:last-child a {
    border-right: 0;
}
*/
/* CENTERED NAVIGATION!!! 
  .device-md .navbar-nav, .device-lg .navbar-nav {
    width: 100%;
    text-align: center;

  }

  .device-md .navbar-nav li, .device-lg .navbar-nav li {
      float: none;
      display: inline-block;
  }
 CENTERED NAVIGATION!!! */
/* LANGUAGE SELECTOR  */
.flag-icon {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50%;
    margin-right: 5px;
    margin-left: 7px;
    margin-bottom: -2px;
}

.flag-icon-de {
    background-image: url(/Images/flags/Germany.svg);
}

.flag-icon-en {
    background-image: url(/Images/flags/United_Kingdom.svg);
}

.dropdown-menu.language {
    min-width: 100px;
}

/* Google Language Translator */
.goog-te-gadget-simple {
    background-color: #fff;
    border-left: 0px;
    border-top: 0px;
    border-bottom: 0px;
    border-right: 0px;
    font-size: 10pt;
    display: inline-block;
    padding-top: 15px;
    padding-bottom: 15px;
    cursor: pointer;
    zoom: 1;
    float: right;
    background-color: #2f3144;
    margin-top: 13px;
}

.goog-te-gadget {
    font-family: arial;
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    height: 50px !important;
}

/* Header */
header {
    position: relative;
    width: 100%;
    min-height: auto;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    background-position: center center;
    color: white;
    height: 400px;
}

    header .gold-line {
        position: absolute;
        bottom: -10px;
        width: 100%;
        height: 10px;
        background-color: #a2926a;
    }

    header .header-content {
        position: relative;
        text-align: left;
        padding: 100px 15px 100px;
        width: 100%;
    }

        header .header-content .header-content-inner h1 {
            font-weight: 400;
            text-transform: uppercase;
            margin-top: 0;
            margin-bottom: 0;
            font-size: 30px;
        }

        header .header-content .header-content-inner hr {
            margin: 30px auto;
        }

        header .header-content .header-content-inner p {
            font-weight: 300;
            color: rgba(255, 255, 255, 0.7);
            font-size: 16px;
            margin-bottom: 50px;
        }

@media (min-width: 768px) {
    header {
        height: 400px;
        ;
    }

        header .header-content {
            position: absolute;
            top: 50%;
            -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            transform: translateY(-50%);
            padding: 0 30px;
        }

    .device-sm header .header-content {
        padding: 0 30px;
    }

    header .header-content .header-content-inner {
        max-width: 1220px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
    }

        header .header-content .header-content-inner h1 {
            font-size: 35px;
            color: #fff;
            font-weight: bold;
            text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.50);
        }

        header .header-content .header-content-inner p {
            font-size: 18px;
            max-width: 80%;
            margin-left: auto;
            margin-right: auto;
        }
}

.device-md header .header-content .header-content-inner, .device-sm header .header-content .header-content-inner {
    margin-top: 0px;
}

.device-md header, .device-sm header {
    height: 250px;
    ;
}

.device-xs header .header-content .header-content-inner {
    margin-top: 0px;
}

.device-xs header {
    height: 150px;
    margin-top: 0px;
}

    .device-xs header .header-content {
        padding: 61px 15px 58px;
    }

        .device-xs header .header-content .header-content-inner h1 {
            font-size: 25px;
            color: #fff;
        }

.device-xxs header .header-content .header-content-inner {
    margin-top: 0px;
    text-align: center;
}

.device-xs header .header-content .header-content-inner {
    text-align: center;
}

.device-xxs header {
    height: 150px;
    margin-top: 0px;
}

    .device-xxs header .header-content {
        padding: 61px 15px 62px;
    }

        .device-xxs header .header-content .header-content-inner h1 {
            font-size: 25px;
            color: #fff;
            font-weight: 700;
            text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.50);
        }

    .device-xxs header.header-inspection-and-collection h1 {
        font-size: 19px !important;
    }

.device-xxs header {
    background-color: #000;
}

/* Header END */

/* Header images */

header.header-about-us {
    background-image: url('/Images/headers/about-us.webp');
}

header.header-goodwool {
    background-image: url('/Images/headers/goodwool.jpg');
}

header.header-the-team {
    background-image: url('/Images/headers/the-team.webp');
}

.device-xxs header.header-the-team {
    background-image: url('/Images/headers/the-team.webp');
    /*background-image: url('/Images/headers/the-team-sp.webp');*/
}

.device-xs header.header-the-team {
    background-image: url('/Images/headers/the-team.webp');
    /*background-image: url('/Images/headers/the-team-sp-landscape.webp');*/
}

.device-sm header.header-the-team {
    background-image: url('/Images/headers/the-team.webp');
    /*background-image: url('/Images/headers/the-team-sp.webp');*/
}

header.header-q-and-a {
    background-image: url('/Images/headers/q-and-a.webp');
}

header.header-car-sales {
    background-image: url('/Images/headers/car-sales.webp');
}

header.header-car-details {
    background-image: url('/Images/headers/car-details.webp');
}

header.header-workshop {
    background-image: url('/Images/headers/workshop.webp');
}

header.header-repairs {
    background-image: url('/Images/headers/repairs.webp');
}

header.header-parts {
    background-image: url('/Images/headers/parts.webp');
}

header.header-services {
    background-image: url('/Images/headers/services.webp');
}

header.header-restoration {
    background-image: url('/Images/headers/restoration.webp');
}

header.header-classiche {
    background-image: url('/Images/headers/classiche.webp');
}

header.header-case-studies {
    background-image: url('/Images/headers/case-studies.webp');
}

header.header-inspection-and-collection {
    background-image: url('/Images/headers/inspection-and-collection.webp');
}

header.header-ferrari-models {
    background-image: url('/Images/headers/ferrari-models.webp');
}

header.header-news {
    background-image: url('/Images/headers/news.webp');
}

header.header-events {
    background-image: url('/Images/headers/events.webp');
}

header.header-shop {
    background-image: url('/Images/headers/shop.webp');
}

header.header-racing {
    background-image: url('/Images/headers/racing.webp');
}

header.header-contact {
    background-image: url('/Images/headers/contact.webp');
}

header.header-privacy-policy {
    background-image: url('/Images/headers/privacy.webp');
}


header.header-f12-berlinetta {
    background-image: url('/Images/headers/f12-berlinetta.webp');
}

/* Ferrari Models */

header.header-812-superfast {
    background-image: url('/Images/headers/models/812-superfast.jpg');
}

header.header-488-gtb {
    background-image: url('/Images/headers/models/488-gtb.jpg');
}

header.header-488-spider {
    background-image: url('/Images/headers/models/488-spider.jpg');
}

header.header-458-speciale-a {
    background-image: url('/Images/headers/models/458-speciale-a.jpg');
}

header.header-458-speciale {
    background-image: url('/Images/headers/models/458-speciale.jpg');
}

header.header-california-t {
    background-image: url('/Images/headers/models/california-t.jpg');
}

header.header-f12-tdf {
    background-image: url('/Images/headers/models/f12-tdf.jpg');
}

header.header-gtc4-lusso-t {
    background-image: url('/Images/headers/models/gtc4-lusso-t.jpg');
}

header.header-laferrari {
    background-image: url('/Images/headers/models/laferrari.jpg');
}

header.header-laferrari-aperta {
    background-image: url('/Images/headers/models/laferrari-aperta.jpg');
}

header.header-gtc-4-lusso {
    background-image: url('/Images/headers/models/gtc4-lusso.jpg');
}

header.header-ff {
    background-image: url('/Images/headers/models/ff.jpg');
}

header.header-portofino {
    background-image: url('/Images/headers/models/portofino.jpg');
}

header.header-488-pista {
    background-image: url('/Images/headers/models/488-pista.jpg');
}

header.header-488-pista-spider {
    background-image: url('/Images/headers/models/488-pista-spider.jpg');
}

header.header-monza-sp1 {
    background-image: url('/Images/headers/models/monza-sp1.jpg');
}

header.header-monza-sp2 {
    background-image: url('/Images/headers/models/Monza-SP2.jpg');
}

/* Header images END */

/* Ferrari Model title*/


/* Ferrari Model title END*/

/* Breadcrumbs */

#breadcrumb {
    padding: 0px;
    background-color: #36384f;
}

.breadcrumb {
    margin-bottom: 0px;
    background-color: #36384f;
}

.device-xs .breadcrumb, .device-xxs .breadcrumb {
    text-align: center;
    font-size: 10px;
}

.breadcrumb li a {
    color: #f2f2f2;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 11px;
}

.breadcrumb li {
    color: #f2f2f2;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 11px;
}

.breadcrumb > .active {
    color: #f2f2f2;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
}

/* Breadcrumbs END */

.section-heading {
    margin-top: 0;
}

.service-box {
    max-width: 400px;
    margin: 50px auto 0;
}

@media (min-width: 992px) {
    .service-box {
        margin: 20px auto 0;
    }
}

.service-box p {
    margin-bottom: 0;
}

.section-sub-heading {
    font-size: 19px;
    font-style: italic;
    color: #a2926a;
    font-family: 'Libre Baskerville', serif;
    letter-spacing: 0px;
}

/* ----------- TOP BAR & NAVIGATION END ----------- */

/* Gallery Portfolio Popup */
.portfolio-box {
    position: relative;
    display: block;
    /*max-width: 650px;*/
    margin: 0 auto;
}

    .portfolio-box img {
        width: 100%;
    }

    .portfolio-box .portfolio-box-caption {
        color: white;
        opacity: 0;
        display: block;
        background: rgba(0, 0, 0, 0.4);
        position: absolute;
        bottom: 0;
        text-align: center;
        width: 100%;
        height: 100%;
        -webkit-transition: all 0.35s;
        -moz-transition: all 0.35s;
        transition: all 0.35s;
    }

        .portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
            width: 100%;
            text-align: center;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
        }

            .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
            .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
                font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
                padding: 0 15px;
            }

            .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
                text-transform: uppercase;
                font-weight: 600;
                font-size: 14px;
            }

            .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
                font-size: 18px;
            }

    .portfolio-box:hover .portfolio-box-caption {
        opacity: 1;
    }

    .portfolio-box:focus {
        outline: none;
    }

@media (min-width: 768px) {
    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
        font-size: 16px;
    }

    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
        font-size: 22px;
    }
}
/* Gallery Portfolio Popup END */

/* Home Block Links */
.block-link h2 {
    position: absolute;
    display: table;
    bottom: 10px !important;
    width: 100%;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 3px;
    z-index: 2;
}

.txt-overlay {
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
    z-index: 1;
}

.block-link {
    position: relative;
    display: block;
    margin: 0 auto;
}

    .block-link .block-link-caption {
        color: white;
        opacity: 0;
        display: block;
        background: rgba(0, 0, 0, 0.4);
        position: absolute;
        bottom: 0;
        text-align: center;
        width: 100%;
        height: 100%;
        -webkit-transition: all 0.35s;
        -moz-transition: all 0.35s;
        transition: all 0.35s;
    }

        .block-link .block-link-caption .block-link-caption-content {
            width: 100%;
            text-align: center;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
        }

            .block-link .block-link-caption .block-link-caption-content .project-category,
            .block-link .block-link-caption .block-link-caption-content .project-name {
                font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
                padding: 0 15px;
            }

            .block-link .block-link-caption .block-link-caption-content .project-category {
                text-transform: uppercase;
                font-weight: 600;
                font-size: 14px;
            }

            .block-link .block-link-caption .block-link-caption-content .project-name {
                font-size: 18px;
            }

    .block-link:hover .block-link-caption {
        opacity: 1;
    }

    .block-link:focus {
        outline: none;
    }

@media (min-width: 768px) {
    .block-link .block-link-caption .portfolio-box-caption-content .project-category {
        font-size: 16px;
    }

    .block-link .block-link-caption .block-link-caption-content .project-name {
        font-size: 22px;
    }
}
/* Home Block Links END */
.intro-strap {
    width: 100%;
    padding-left: 100px;
}

@media (max-width: 767px) {
    .intro-strap {
        width: 100%;
        padding-left: 0px;
    }
}
/* Ferrari Carousel */
.intro-bg {
    background-image: url('/Images/home/intro-bg.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: left bottom; /* or 0&#37; 100% */
}

@media (max-width: 1199px) and (min-width: 992px) {
    .intro-bg {
        padding-bottom: 50px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .intro-bg {
        padding-top: 60px;
        padding-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .intro-bg {
        background-size: cover;
        padding-bottom: 40px;
    }
}

.owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 30px !important;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #36384f !important;
}

.carousel-car-title {
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: -1;
    letter-spacing: 1px;
    font-size: 16px;
}

@media (max-width: 991px) and (min-width: 768px) {
    .carousel-car-title {
        bottom: -5px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .carousel-car-title {
        bottom: 0px;
    }
}

.carousel-car-title span {
    font-style: italic;
    color: #fff;
    margin-top: 10px;
    font-family: 'Libre Baskerville', serif;
    opacity: 0.7;
}

.carousel-car-title small {
    color: #a2926a;
}

.lights a img {
    opacity: 0;
}

.lights a:hover img {
    opacity: 1;
}

.ferrari {
    background-image: url(/Images/home/carousel/ferrari.png);
    background-size: cover;
}

.ferrai-812-superfast {
    background-image: url(/Images/home/carousel/812-superfast.png);
    background-size: cover;
}

.ferrai-f12-berlinetta {
    background-image: url(/Images/home/carousel/f12-berlinetta.png);
    background-size: cover;
}

.ferrai-488-spider {
    background-image: url(/Images/home/carousel/488-spider.png);
    background-size: cover;
}

.ferrai-488-gtb {
    background-image: url(/Images/home/carousel/488-gtb.png);
    background-size: cover;
}

.ferrai-458-speciale-a {
    background-image: url(/Images/home/carousel/458-speciale-a.png);
    background-size: cover;
}

.ferrai-california-t {
    background-image: url(/Images/home/carousel/california-t.png);
    background-size: cover;
}

.ferrai-458-speciale {
    background-image: url(/Images/home/carousel/458-speciale.png);
    background-size: cover;
}

.ferrari-gtc4-lusso {
    background-image: url(/Images/home/carousel/gtc4-lusso.png);
    background-size: cover;
}

.ferrari-la-ferrari {
    background-image: url(/Images/home/carousel/la-ferrari.png);
    background-size: cover;
}

.ferrari-ff {
    background-image: url(/Images/home/carousel/ff.png);
    background-size: cover;
}

.ferrari-la-ferrari-aperta {
    background-image: url(/Images/home/carousel/la-ferrari-aperta.png);
    background-size: cover;
}

.ferrari-gtc4-lusso-t {
    background-image: url(/Images/home/carousel/gtc4-lusso-t.png);
    background-size: cover;
}

.ferrari-f12-tdf {
    background-image: url(/Images/home/carousel/f12-tdf.png);
    background-size: cover;
}

.portofino {
    background-image: url(/Images/home/carousel/portofino.png);
    background-size: cover;
}

.ferrari-488-pista {
    background-image: url(/Images/home/carousel/488-pista.png);
    background-size: cover;
}

.ferrari-488-pista-spider {
    background-image: url(/Images/home/carousel/488-pista-spider.png);
    background-size: cover;
}

.ferrari-monza-sp1 {
    background-image: url(/Images/home/carousel/monza-sp1.png);
    background-size: cover;
}

.ferrari-monza-sp2 {
    background-image: url(/Images/home/carousel/monza-sp2.png);
    background-size: cover;
}

/* Ferrari Carousel END */



/* Team Carousel */

.team-carousel img {
    padding: 60px;
}



.carousel-team-title {
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    color: #36384f;
    z-index: -1;
    letter-spacing: 1px;
    font-size: 16px;
}

@media (max-width: 991px) and (min-width: 768px) {
    .carousel-team-title {
        bottom: -5px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .carousel-team-title {
        bottom: 0px;
    }
}

.carousel-team-title span {
    font-style: italic;
    color: #fff;
    margin-top: 10px;
    font-family: 'Libre Baskerville', serif;
    opacity: 0.7;
}

.carousel-team-title small {
    color: #a8a8a8;
}

/* Ferrari featured News Items */

.featured-news-title {
    line-height: 1.3;
    text-transform: uppercase;
}

/* Ferrari Models Index */
.model-item {
    margin-bottom: 50px;
}

.device-xs .model-item {
    margin-bottom: 40px;
    padding-left: 90px;
    padding-right: 90px;
}

.model-item-title {
    text-align: center;
}

    .model-item-title h2 {
        letter-spacing: 1px;
        font-size: 18px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .model-item-title h4 {
        letter-spacing: 1px;
    }

    .model-item-title h5 {
        letter-spacing: 0px;
        font-style: italic;
        color: #a2926a;
    }

/* Ferrari Model Images */

.model-f12-tdf {
    background-image: url(/Images/ferrari-models/models/f12-tdf.png);
    background-size: cover;
}

a .light-f12-tdf img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-f12-tdf img {
    opacity: 0;
}

a:hover .light-f12-tdf img {
    opacity: 0;
}

.model-la-ferrari-aperta {
    background-image: url(/Images/ferrari-models/models/la-ferrari-aperta.png);
    background-size: cover;
}

a .light-la-ferrari-aperta img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-la-ferrari-aperta img {
    opacity: 0;
}

a:hover .light-la-ferrari-aperta img {
    opacity: 0;
}

.model-812-superfast {
    background-image: url(/Images/ferrari-models/models/812-superfast.png);
    background-size: cover;
}

a .light-812-superfast img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-812-superfast img {
    opacity: 0;
}

a:hover .light-812-superfast img {
    opacity: 0;
}

.model-458-speciale {
    background-image: url(/Images/ferrari-models/models/458-speciale.png);
    background-size: cover;
}

a .light-458-speciale img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-458-speciale img {
    opacity: 0;
}

a:hover .light-458-speciale img {
    opacity: 0;
}

.model-f12-berlinetta {
    background-image: url(/Images/ferrari-models/models/f12-berlinetta.png);
    background-size: cover;
}

a .light-f12-berlinetta img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-f12-berlinetta img {
    opacity: 0;
}

a:hover .light-f12-berlinetta img {
    opacity: 0;
}

.model-488-spider {
    background-image: url(/Images/ferrari-models/models/488-spider.png);
    background-size: cover;
}

a .light-488-spider img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-488-spider img {
    opacity: 0;
}

a:hover .light-488-spider img {
    opacity: 0;
}

.model-488-gtb {
    background-image: url(/Images/ferrari-models/models/488-gtb.png);
    background-size: cover;
}

a .light-488-gtb img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-488-gtb img {
    opacity: 0;
}

a:hover .light-488-gtb img {
    opacity: 0;
}

.model-458-speciale-a {
    background-image: url(/Images/ferrari-models/models/458-speciale-a.png);
    background-size: cover;
}

a .light-458-speciale-a img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-458-speciale-a img {
    opacity: 0;
}

a:hover .light-458-speciale-a img {
    opacity: 0;
}

.model-california-t {
    background-image: url(/Images/ferrari-models/models/california-t.png);
    background-size: cover;
}

a .light-california-t img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-california-t img {
    opacity: 0;
}

a:hover .light-california-t img {
    opacity: 0;
}

.model-la-ferrari {
    background-image: url(/Images/ferrari-models/models/la-ferrari.png);
    background-size: cover;
}

a .light-la-ferrari img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-la-ferrari img {
    opacity: 0;
}

a:hover .light-la-ferrari img {
    opacity: 0;
}

.model-gtc4-lusso {
    background-image: url(/Images/ferrari-models/models/gtc4-lusso.png);
    background-size: cover;
}

a .light-gtc4-lusso img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-gtc4-lusso img {
    opacity: 0;
}

a:hover .light-gtc4-lusso img {
    opacity: 0;
}

.model-ff {
    background-image: url(/Images/ferrari-models/models/ff.png);
    background-size: cover;
}

a .light-ff img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-ff img {
    opacity: 0;
}

a:hover .light-ff img {
    opacity: 0;
}

.model-portofino {
    background-image: url(/Images/ferrari-models/models/portofino.png);
    background-size: cover;
}

a .light-portofino img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-portofino img {
    opacity: 0;
}

a:hover .light-portofino img {
    opacity: 0;
}

.model-488-pista {
    background-image: url(/Images/ferrari-models/models/488-pista.png);
    background-size: cover;
}

a .light-488-pista img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-488-pista img {
    opacity: 0;
}

a:hover .light-488-pista img {
    opacity: 0;
}

.model-488-pista-spider {
    background-image: url(/Images/ferrari-models/models/488-pista-spider.png);
    background-size: cover;
}

a .light-488-pista-spider img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-488-pista-spider img {
    opacity: 0;
}

a:hover .light-488-pista-spider img {
    opacity: 0;
}

.model-monza-sp1 {
    background-image: url(/Images/ferrari-models/models/monza-sp1.png);
    background-size: cover;
}

a .light-monza-sp1 img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-monza-sp1 img {
    opacity: 0;
}

a:hover .light-monza-sp1 img {
    opacity: 0;
}

.model-monza-sp2 {
    background-image: url(/Images/ferrari-models/models/monza-sp2.png);
    background-size: cover;
}

a .light-monza-sp2 img {
    opacity: 0.8;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.device-touch a .light-monza-sp2 img {
    opacity: 0;
}

a:hover .light-monza-sp2 img {
    opacity: 0;
}

/* Model details titles */

.ferrari-model-details-title {
    max-height: 50px;
}

h2.ferrarimodel-title {
    font-size: 36px;
    margin-bottom: 50px;
}

/* Models tab spec */

.nav-tabs > li > a {
    border-radius: 0px;
    padding: 9px 15px;
    padding-right: 8px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 3px;
    font-size: 11px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    background-color: #ffffff;
    color: #36384f;
}

.nav-tabs {
    margin-bottom: 20px;
}

.col-model-details {
    min-height: 550px;
}

.device-sm .col-model-details,
.device-xs .col-model-details {
    min-height: auto;
}

.col-model-details .accordion .table {
    margin-bottom: 5px;
}

/* Models spec accordian */

.accordion-heading {
    background-color: #dddddd;
    border-bottom: #fff 5px solid;
}

    .accordion-heading a {
        font-weight: bold;
    }

.accordion .accordion-group .accordion-heading a.accordion-toggle {
    background-color: #e9e9e9;
    display: block;
    line-height: 40px;
    height: 40px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    color: #8e8e8e;
    padding: 0px 15px 0px 15px;
    letter-spacing: 2px;
}

@media (max-width: 767px) {
    .accordion .accordion-group .accordion-heading a.accordion-toggle {
        font-size: 8px;
        letter-spacing: 0px;
    }

    a.accordion-toggle .icon {
        font-size: 14px;
    }
}

a.accordion-toggle .icon {
    font-size: 20px;
}

/* Ferrari Models details backgrounds */

.model-details-bg {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: right bottom; /* or 0&#37; 100% */
}

.device-md .model-details-bg, .device-sm .model-details-bg, .device-xs .model-details-bg, .device-xxs .model-details-bg {
    background: none;
}

.ferrari-812-superfast-bg {
    background-image: url('/Images/ferrari-models/812-superfast-background.jpg');
}

.f12-berlinetta-bg {
    background-image: url('/Images/ferrari-models/f12-berlinetta-background.jpg');
}

.ferrari-gtc4-lusso-bg {
    background-image: url('/Images/ferrari-models/gtc-4-lusso-background.jpg');
}

.ferrari-458-speciale-a-bg {
    background-image: url('/Images/ferrari-models/458-speciale-a-background.jpg');
}

.ferrari-458-speciale-bg {
    background-image: url('/Images/ferrari-models/458-speciale-background.jpg');
}

.ferrari-488-gtb-bg {
    background-image: url('/Images/ferrari-models/488-gtb-background.jpg');
}

.ferrari-488-spider-bg {
    background-image: url('/Images/ferrari-models/488-spider-background.jpg');
}

.ferrari-california-t-bg {
    background-image: url('/Images/ferrari-models/california-t-background.jpg');
}

.ff-bg {
    background-image: url('/Images/ferrari-models/ff-background.jpg');
}

.ferrari-f12tdf-bg {
    background-image: url('/Images/ferrari-models/f12-tdf-background.jpg');
}

.ferrari-laferrari-aperta-bg {
    background-image: url('/Images/ferrari-models/laferrari-aperta-background.jpg');
}

.laferrari-bg {
    background-image: url('/Images/ferrari-models/laferrari-background.jpg');
}

.portofino-bg {
    background-image: url('/Images/ferrari-models/portofino-background.jpg');
}

.ferrari-488-pista-bg {
    background-image: url('/Images/ferrari-models/488-pista-background.jpg');
}

.ferrari-488-pista-spider-bg {
    background-image: url('/Images/ferrari-models/488-pista-spider-background.jpg');
}

.ferrari-monza-sp1-bg {
    background-image: url('/Images/ferrari-models/monza-sp1-background.jpg');
}

.ferrari-monza-sp2-bg {
    background-image: url('/Images/ferrari-models/monza-sp2-background.jpg');
}


.device-sm .f12-berlinetta-bg,
.device-xs .f12-berlinetta-bg,
.device-xxs .f12-berlinetta-bg,
.device-sm .ferrari-gtc4-lusso-bg,
.device-xs .ferrari-gtc4-lusso-bg,
.device-xxs .ferrari-gtc4-lusso-bg,
.device-sm .ferrari-458-speciale-a-bg,
.device-xs .ferrari-458-speciale-a-bg,
.device-xxs .ferrari-458-speciale-a-bg,
.device-sm .ferrari-458-speciale-bg,
.device-xs .ferrari-458-speciale-bg,
.device-xxs .ferrari-458-speciale-bg,
.device-sm .ferrari-488-gtb-bg,
.device-xs .ferrari-488-gtb-bg,
.device-xxs .ferrari-488-gtb-bg,
.device-sm .ferrari-488-spider-bg,
.device-xs .ferrari-488-spider-bg,
.device-xxs .ferrari-488-spider-bg,
.device-sm .california-t-bg,
.device-xs .california-t-bg,
.device-xxs .california-t-bg,
.device-sm .f12-berlinetta-bg,
.device-xs .f12-berlinetta-bg,
.device-xxs .f12-berlinetta-bg,
.device-sm .ff-bg,
.device-xs .ff-bg,
.device-xxs .ff-bg,
.device-sm .laferrari-aperta-bg,
.device-xs .laferrari-aperta-bg,
.device-xxs .laferrari-aperta-bg,
.device-sm .laferrari-bg,
.device-xs .laferrari-bg,
.device-xxs .laferrari-bg,
.device-sm .portofino-bg,
.device-xs .portofino-bg,
.device-xxs .portofino-bg,
.device-sm .ferrari-488-pista-bg,
.device-xs .ferrari-488-pista-bg,
.device-xxs .ferrari-488-pista-bg,
.device-sm .ferrari-488-pista-spider-bg,
.device-xs .ferrari-488-pista-spider-bg,
.device-xxs .ferrari-488-pista-spider-bg,
.device-sm .ferrari-monza-sp1-bg,
.device-xs .ferrari-monza-sp1-bg,
.device-xxs .ferrari-monza-sp1-bg,
.device-sm .ferrari-monza-sp2-bg,
.device-xs .ferrari-monza-sp2-bg,
.device-xxs .ferrari-monza-sp2-bg {
    background-image: none;
}

/* Ferrari Models END */

/* Home Slider Positioning */

.center-center {
    background-position: center;
}

.center-bottom {
    background-position: center bottom !important;
}

@media (max-width: 991px) and (min-width: 768px) {
    .advert-slide {
        background-size: contain !important;
        background-color: #fff200
    }
}

/* Home Video Slide */

.video-wrap video {
    height: auto !important;
}

@media (max-width: 991px) and (min-width: 768px) {
    .swiper-slide .video-wrap {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -1;
        top: 0;
        left: 0;
    }

    .swiper_wrapper {
        height: 40% !important;
    }

    .video-wrap video {
        height: 60% !important;
    }

    .swiper_wrapper .swiper-slide:not(.video-slider-holder) {
        background-position: center bottom;
        width: 100% !important;
        height: 100% !important;
    }
}

/* ------------ Stock ------------ */

/* Stock Index */

.stock-image {
    margin-bottom: 20px;
}

a:hover .stock-image img {
    opacity: 0.8;
}

a .stock-image img {
    opacity: 1;
    -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}

.stock-index-title {
    text-align: center;
}

    .stock-index-title h4 {
        letter-spacing: 1px;
    }

    .stock-index-title h2 {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .stock-index-title h5 {
        letter-spacing: 0px;
        font-style: italic;
        color: #a8a8a8;
    }

/* ------------ Stock END ------------ */


.call-to-action h2 {
    margin: 0 auto 20px;
}

.text-primary {
    color: #36384f;
}

.no-gutter > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

.btn-default {
    color: #222222;
    background-color: white;
    border-color: white;
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
}

    .btn-default:hover,
    .btn-default:focus,
    .btn-default.focus,
    .btn-default:active,
    .btn-default.active,
    .open > .dropdown-toggle.btn-default {
        color: #222222;
        background-color: #f2f2f2;
        border-color: #ededed;
    }

    .btn-default:active,
    .btn-default.active,
    .open > .dropdown-toggle.btn-default {
        background-image: none;
    }

    .btn-default.disabled,
    .btn-default[disabled],
    fieldset[disabled] .btn-default,
    .btn-default.disabled:hover,
    .btn-default[disabled]:hover,
    fieldset[disabled] .btn-default:hover,
    .btn-default.disabled:focus,
    .btn-default[disabled]:focus,
    fieldset[disabled] .btn-default:focus,
    .btn-default.disabled.focus,
    .btn-default[disabled].focus,
    fieldset[disabled] .btn-default.focus,
    .btn-default.disabled:active,
    .btn-default[disabled]:active,
    fieldset[disabled] .btn-default:active,
    .btn-default.disabled.active,
    .btn-default[disabled].active,
    fieldset[disabled] .btn-default.active {
        background-color: white;
        border-color: white;
    }

    .btn-default .badge {
        color: white;
        background-color: #222222;
    }

.btn-primary {
    color: white;
    background-color: #36384f;
    border-color: #36384f;
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary.focus,
    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        color: white;
        background-color: #313246;
        border-color: #36384f;
    }

    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        background-image: none;
    }

    .btn-primary.disabled,
    .btn-primary[disabled],
    fieldset[disabled] .btn-primary,
    .btn-primary.disabled:hover,
    .btn-primary[disabled]:hover,
    fieldset[disabled] .btn-primary:hover,
    .btn-primary.disabled:focus,
    .btn-primary[disabled]:focus,
    fieldset[disabled] .btn-primary:focus,
    .btn-primary.disabled.focus,
    .btn-primary[disabled].focus,
    fieldset[disabled] .btn-primary.focus,
    .btn-primary.disabled:active,
    .btn-primary[disabled]:active,
    fieldset[disabled] .btn-primary:active,
    .btn-primary.disabled.active,
    .btn-primary[disabled].active,
    fieldset[disabled] .btn-primary.active {
        background-color: #36384f;
        border-color: #36384f;
    }

    .btn-primary .badge {
        color: #36384f;
        background-color: white;
    }

.btn {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    border: none;
    border-radius: 0px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-gold {
    background-color: #a2926a;
    color: #fff;
}

    .btn-gold:hover {
        color: #fff;
    }

    .btn-gold:hover,
    .btn-gold:focus,
    .btn-gold.focus,
    .btn-gold:active,
    .btn-gold.active,
    .open > .dropdown-toggle.btn-gold {
        color: white;
    }

.btn-xl {
    padding: 15px 30px;
}

::-moz-selection {
    color: white;
    text-shadow: none;
    background: #36384f;
}

::selection {
    color: white;
    text-shadow: none;
    background: #36384f;
}

img::selection {
    color: white;
    background: transparent;
}

img::-moz-selection {
    color: white;
    background: transparent;
}

body {
    webkit-tap-highlight-color: #36384f;
}


/* Headers */

.wide {
    width: 100%;
    height: 35%;
    background-size: cover;
    background-position: center;
}

    .wide.history {
        background-image: url(/images/headers/history.jpg);
    }

/* 1280 Framework */
.container-fluid.container-lg {
    max-width: 1280px;
    padding-left: 30px;
    padding-right: 30px;
}
/* Helpers */
.gold-line {
    position: absolute;
    bottom: 15px;
    width: 100%;
    height: 5px;
    background-color: #a2926a;
}

.blue-line {
    position: absolute;
    bottom: 15px;
    width: 100%;
    height: 5px;
    background-color: #a2926a;
}

.grey-light-bg {
    background-color: #eee;
}

.white {
    color: #fff;
}

/*.gold {
    color: #a2926a !important;
}*/

.txt-grey {
    color: #a8a8a8 !important;
}

.fright {
    float: right;
}

.fleft {
    float: left;
}

.text-right {
    text-align: right;
}

.uppercase {
    text-transform: uppercase;
}

.bold {
    font-weight: bold;
}

.nopadding {
    padding: 0px;
}

.nopaddingleft {
    padding-left: 0px;
}

.nopaddingright {
    padding-right: 0px;
}

.toppadding-xsm {
    padding-top: 15px !important;
}

.toppadding-xlg {
    padding-top: 150px !important;
}

.nobottompadding {
    padding-bottom: 0px !important;
}

.bottompadding-xsm {
    padding-bottom: 15px !important;
}

.padding-xsm {
    padding: 15px !important;
}

.leftpadding-xsm {
    padding-left: 15px !important;
}

.toppadding-sm {
    padding-top: 30px !important;
}

.bottompadding-sm {
    padding-bottom: 30px !important;
}

.padding-sm {
    padding: 30px !important;
}

.toppadding-md {
    padding-top: 50px !important;
}

.bottompadding-md {
    padding-bottom: 50px !important;
}

.padding-md {
    padding: 50px !important;
}

.topmargin-xsm {
    margin-top: 15px !important;
}

.bottommargin-xsm {
    margin-bottom: 15px !important;
}

.margin-xsm {
    margin: 15px !important;
}

.allmargin {
    margin: 50px !important;
}

.leftmargin {
    margin-left: 50px !important;
}

.rightmargin {
    margin-right: 50px !important;
}

.topmargin {
    margin-top: 50px !important;
}

.bottommargin-xlg {
    margin-bottom: 150px !important;
}

.bottommargin-lg {
    margin-bottom: 100px !important;
}

.bottommargin-md {
    margin-bottom: 50px !important;
}

.bottommargin-sm {
    margin-bottom: 30px !important;
}

.nobottommargin {
    margin-bottom: 0px !important;
}

.topmargin-sm {
    margin-top: 30px !important;
}

.topmargin-md {
    margin-top: 50px !important;
}

.notopmargin {
    margin-top: 0px !important;
}

.norightmargin {
    margin-right: 0px !important;
}

.notoppadding {
    padding-top: 0px;
}

.img100 {
    width: 100%;
    height: auto;
}

.w100 {
    width: 100%;
}
/* 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;
    }
}
/* Helpers END */
.intro {
    letter-spacing: 1px;
    margin-top: 10px;
    font-size: 16px;
}
/* Icons */
.icon-align-middle {
    vertical-align: middle;
}

/* Line Border */
.border-top {
    width: 100%;
    height: 10px;
    background-color: #a2926a;
    border-top: 7px solid #36384f;
}

.border-bottom {
    width: 100%;
    height: 10px;
    background-color: #a2926a;
    border-bottom: 7px solid #36384f;
}

/* Instagram */
.ig_user {
    font-size: 19px;
    font-style: italic;
    color: #a8a8a8;
}

.ig_user-icon {
    padding-right: 5px;
    color: #a8a8a8;
}

/* Scroll to Top */

.scroll-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 99999999;
    color: #a2926a;
    width: 45px;
    height: 43px;
    line-height: 37px;
    font-weight: 300;
    right: 12px;
    bottom: 10px;
    font-size: 16px;
    padding-top: 2px;
    border: solid #a2926a 2px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

    .scroll-top-wrapper.show {
        visibility: visible;
        cursor: pointer;
        opacity: 1.0;
    }

    .scroll-top-wrapper i.fa {
        line-height: inherit;
    }

/* ----------- TEAM MEMEBERS ----------- */

.team-member {
    margin-bottom: 60px;
}

    .team-member img {
        margin-bottom: 15px;
    }

.team-member-title {
    text-align: center;
}

    .team-member-title h4 {
        letter-spacing: 1px;
    }

    .team-member-title h2 {
        letter-spacing: 1px;
        font-size: 18px;
    }

    .team-member-title h5 {
        letter-spacing: 0px;
        font-style: italic;
        color: #a8a8a8;
        margin-bottom: 0px;
    }

.team-section {
    padding-bottom: 40px;
}

/* ----------- HERITAGE----- */

#heritage-gallery .portfolio-box {
    max-width: none;
}

    #heritage-gallery .portfolio-box img {
        width: 100%;
    }

/* ----------- HISTORY----- */

.team {
    width: 100%;
    margin-top: -22px;
}

.call-to-action {
    font-family: 'Libre Baskerville', serif;
    color: #fff;
    letter-spacing: 0;
    font-style: italic;
}

    .call-to-action h3 {
        font-family: 'Libre Baskerville', serif;
        color: #36384f;
        letter-spacing: 0;
        font-style: italic;
        margin-top: 15px;
    }

.about-bg {
    background-image: url('/Images/about/background.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: left bottom; /* or 0&#37; 100% */
    background-color: #bcbcbc;
    padding-bottom: 200px;
}

.about-bg-grey {
    background-color: #dddddd;
}

.about-content {
    padding-top: 150px;
}

.device-sm .about-content,
.device-md .about-content {
    padding-top: 80px;
}

.device-xxs .about-content {
    padding-top: 55px;
}

.device-xxs .team {
    margin-top: 15px;
}

/* ----------- SHOP ----------- */

.shop-bg {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: right top;
    background-image: url('/Images/shop/badge-background.jpg');
}

h2.shop-title {
    font-size: 36px;
    margin-bottom: 30px !important;
    margin-top: 0px !important;
}

/* ----------- CAR INSPECTION AND COLLECTION MANAGEMENT ----------- */

h2.cicm-title {
    font-size: 24px;
    margin-bottom: 15px !important;
}

/* ----------- RESTORATION ----------- */

.restoration-bg {
    background-image: url('/Images/Restoration/restoration-bg.webp');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: left bottom; /* or 0&#37; 100% */
    background-color: #000000;
    padding-bottom: 50px;
    padding-top: 50px;
    color: #fff;
}

    .restoration-bg a {
        color: #fff;
    }

/* ----------- SERVICING ----------- */

h2.blocklink-title {
    font-size: 24px;
    text-transform: uppercase;
    color: #fff;
}

/* ----------- RACING ----------- */

.racing-bg {
    background-image: url('/Images/Racing/index-bg.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: left bottom; /* or 0&#37; 100% */
    background-color: #000000;
    padding-bottom: 50px;
    padding-top: 50px;
    color: #fff;
    background-size: cover;
}

.device-sm .racing-bg {
    background-size: cover;
}

.device-xs .racing-bg {
    background-size: cover;
}

.device-xxs .racing-bg {
    background-size: cover;
}

.racing-bg a {
    color: #fff;
}

h2.racinglead {
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: 1px;
    color: #fff;
}


/* ----------- NEWS ----------- */

.latest-news-title {
    font-weight: bold;
    line-height: 26px;
    letter-spacing: 1px;
    font-size: 18px;
}

.article-details {
    padding-left: 0px;
    margin-bottom: 30px;
}

    .article-details li {
        display: inline-block;
        margin-right: 10px;
        padding-right: 10px;
        border-right: solid 1px #a2926a;
        font-size: 13px;
    }

        .article-details li:last-child {
            border-right: 0px;
        }

    .article-details .news-cat {
        font-family: 'Libre Baskerville', serif;
        font-style: italic;
    }

.news-image {
    margin-bottom: 15px;
}

.news-list-item {
    margin-top: 25px;
    margin-bottom: 35px;
}

.news-list-container {
    margin-bottom: 40px;
}

.latest-news-blocks {
    padding-bottom: 50px;
    padding-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
}

.right-col-first-title {
    margin-top: 19px !important;
}

.item-image {
    background-color: #000;
}

    .item-image img {
        opacity: 1;
        -webkit-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
        -moz-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
        -o-transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
        transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    }

    .item-image:hover img {
        opacity: 0.7;
    }

.news-container {
    margin-left: 40px;
    margin-right: 40px;
}

    .news-container img {
        width: 100%;
    }

@media (max-width: 767px) {
    .news-container {
        margin-left: 0px;
        margin-right: 0px;
    }
}

.b-lazy {
    -webkit-transition: opacity 500ms ease-in-out !important;
    -moz-transition: opacity 500ms ease-in-out !important;
    -o-transition: opacity 500ms ease-in-out !important;
    transition: opacity 500ms ease-in-out !important;
    max-width: 100% !important;
    opacity: 0 !important;
}

    .b-lazy.b-loaded {
        opacity: 1 !important;
    }

/* NEWS ARTICLE */

.news-title-lg {
    margin-bottom: 20px;
    line-height: 35px;
}

.news-title-sm {
    margin-bottom: 5px;
}

#news-rightcol-titles {
    padding-left: 20px;
    padding-right: 20px;
}

/* NEWS CATEGORY */

.pagination > li:first-child > a, .pagination > li:first-child > span {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #a2926a;
    border-color: #a2926a;
}

.pagination > li > a, .pagination > li > span {
    color: #a2926a;
}

    .pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
        color: #a2926a;
    }

/* ----------- CAR DETAILS ----------- */

.vehicle-gallery {
    padding-top: 15px;
}

.sp-full-screen-button:before {
    color: #fff;
}

.table > tbody > tr > th {
    font-size: 13px;
    line-height: 2.4;
}

#car-details-slider .sp-selected-thumbnail {
    border: 0px;
    opacity: 0.6;
}

.vehicle-details-col {
    padding-left: 45px;
}

@media (max-width: 767px) {
    .vehicle-details-col {
        padding-left: 15px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .vehicle-details-col {
        padding-left: 15px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .vehicle-details-col {
        padding-left: 15px;
    }
}

/* ----------- CONTACT ----------- */

h2.contact-title {
    font-size: 24px;
    color: #36384f !important;
    text-transform: uppercase;
    margin-bottom: 30px !important;
}

/* ----------- CONTACT FORM ----------- */

.contact-form-cont {
    position: relative;
    max-width: 550px;
    padding: 80px 50px 30px 60px;
}

.contact-form-container-left {
    position: relative;
    margin: 0 0 0 40px;
    padding-top: 70px;
    padding-bottom: 40px;
}

.gray-bg {
    background: #eee;
}

.form-control {
    border-radius: 0;
    height: auto;
    box-shadow: none !important;
}

    .form-control.error {
        border-color: #E42C3E;
        z-index: 1;
    }

label.error {
    font-weight: normal;
    visibility: hidden !important;
    display: none !important;
}

.gray-bg-container .contact-form-cont .form-control.valid, .gray-bg-container .contact-form-container-left .form-control.valid {
    border-color: #3db03f;
    z-index: 1;
}

.gray-bg-container .contact-form-cont .form-control.error, .gray-bg-container .contact-form-container-left .form-control.error {
    border-color: #E42C3E;
    z-index: 1;
}

#contactSuccess {
    margin-top: 15px;
    margin-bottom: 0px;
    border: none;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
}

input, textarea, select, .login-select, .form-control {
    border: none;
    border-bottom: 1px solid #a6a7a9;
    border-radius: 0px;
    background: transparent;
    color: #4b4e53;
    font-size: 14px;
    margin: 0;
    outline: medium none;
    padding: 8px 20px 8px 0;
}

.input-border {
    border: 1px solid #dedede;
    padding: 9px 15px;
}

select.input-border {
    border: 1px solid #dedede;
    padding: 9px 20px 9px 10px;
}

.w-100 {
    width: 100%;
}

.w-80 {
    width: 80%;
}

.mx-auto {
    margin-right: auto;
    margin-left: auto;
}

::-webkit-input-placeholder, .form-control::-webkit-input-placeholder {
    color: #4b4e53;
}

::-moz-placeholder, .form-control::-moz-placeholder {
    color: #4b4e53;
}
/* Firefox 19+*/
:-moz-placeholder, .form-control:-moz-placeholder {
    color: #4b4e53;
}
/* Firefox 18- */
:-ms-input-placeholder, .form-control:-ms-input-placeholder {
    color: #4b4e53;
}


:focus::-webkit-input-placeholder {
    color: #a6a7a9;
}

:focus::-moz-placeholder {
    color: #a6a7a9;
}
/* Firefox 19+*/
:focus:-moz-placeholder {
    color: #a6a7a9;
}
/* Firefox 18- */
:focus:-ms-input-placeholder {
    color: #a6a7a9;
}

.form-control:focus, .nl-email-input:focus {
    border-color: #4b4e53;
}

.leave-comment-cont {
    padding: 10px 40px 60px 40px;
}

.shipping-cont {
    padding: 1px 40px 40px 40px;
}

@media (max-width: 767px) {
    .leave-comment-cont {
        margin-bottom: 80px;
    }

    .display-none-767 {
        display: none;
    }
}

.mb-23 {
    margin-bottom: 23px;
}

.button.gold-btn {
    color: #fff;
    background-color: #a2926a;
}

    .button.gold-btn:hover {
        background-color: #8b7d5b;
    }

.button.grey {
    color: #fff;
    background-color: #aaa;
}

    .button.grey:hover {
        background-color: #898989;
    }

.button.blue-btn {
    color: #fff;
    background-color: #36384f;
}

    .button.blue-btn:hover {
        background-color: #292a3d;
    }

.button.large {
    font-size: 16px;
    line-height: 20px;
    padding: 20px 40px;
    display: inline-block;
}

.button.medium {
    padding: 10px 37px 10px 37px;
    display: inline-block;
}

.button.small {
    font-size: 11px;
    line-height: 16px;
    padding: 10px 15px 10px 15px;
    display: inline-block;
}

.button {
    background-color: #ffea00;
    color: #4b4e53;
    border: none;
    transition: all .3s ease 0s;
    outline: none;
    position: relative;
    letter-spacing: 3px;
    margin-right: 10px;
    margin-bottom: 5px;
}

    .button .icon {
        font-size: 15px;
        margin-right: -8px;
    }

/* Alerts */

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert {
    border-radius: 0;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

/* Validation Errors */

.validation-summary-errors ul {
    list-style-type: none;
    padding-left: 0px;
}

    .validation-summary-errors ul li {
        padding: 15px;
        margin-bottom: 20px;
        border: 1px solid transparent;
        color: #a94442;
        background-color: #f2dede;
        border-color: #ebccd1;
    }


/* ----------- Contact Block ----------- */

.page-section {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}

.fes7-img-cont {
    overflow: hidden;
    position: absolute;
    height: 100%;
    padding: 0;
    top: 0;
}

.fes7-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: 50% 50%;
    background-size: cover;
    z-index: 0;
    width: 100%;
    display: block;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
}

.p-80-cont {
    padding-top: 80px;
    padding-bottom: 80px;
}

.table-borderless > tbody > tr > td, .table-borderless > tbody > tr > th, .table-borderless > tfoot > tr > td, .table-borderless > tfoot > tr > th, .table-borderless > thead > tr > td, .table-borderless > thead > tr > th {
    border: 0;
}

.table.opening-times > tbody > tr > th {
    padding: 0px;
}

.table.opening-times, .table.opening-times > tbody > tr > th {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ----------- Google Maps Embed Overlay ----------- */

.map-overlay {
    background: transparent;
    position: relative;
    width: 100%;
    height: 480px; /* your iframe height */
    top: 480px; /* your iframe height */
    margin-top: -480px; /* your iframe height */
}

/* ----------- GOODWOOL ----------- */

.feature-icons-row .icon {
    text-align: center;
    text-transform: uppercase;
}

    .feature-icons-row .icon img {
        padding: 15px;
        border: solid #ccc 2px;
        border-radius: 50%;
        width: 55%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        -webkit-transition: .4s ease-in;
        -o-transition: .4s ease-in;
        transition: .4s ease-in;
    }

@media (max-width: 767px) {
    .feature-icons-row .icon img {
        width: 30%;
    }
}

    .feature-icons-row .icon:hover img {
        border: solid #36384f 2px;
    }

    .feature-icons-row .icon h3 {
        font-size: 1.3rem;
        margin-top: 0px;
        margin-bottom: 40px;
        font-weight: 600;
    }

/* ----------- Gallery Grid ----------- */

.gallery-container {
    display: grid;
    /*grid-template-columns: repeat(4, 25%);*/
    grid-template-columns: auto auto auto;
    grid-gap: 2px;
    grid-auto-flow: dense;
    border-bottom: 2px solid #fff;
}

    .gallery-container .gallery-item:nth-child(10n + 1) {
        grid-column: 1 / span 2;
        grid-row: auto / span 2;
    }

    .gallery-container .gallery-item:nth-child(10n) {
        grid-column: 3 / span 2;
        grid-row: auto / span 2;
    }

    .gallery-container .gallery-item:nth-child(10n + 2),
    .gallery-container .gallery-item:nth-child(10n + 4) {
        grid-column: 3 / span 1;
        grid-row: auto / span 1;
    }

    .gallery-container .gallery-item:nth-child(10n + 3),
    .gallery-container .gallery-item:nth-child(10n + 5) {
        grid-column: 4 / span 1;
        grid-row: auto / span 1;
    }

    .gallery-container .gallery-item:nth-child(10n + 6),
    .gallery-container .gallery-item:nth-child(10n + 8) {
        grid-column: 1 / span 1;
        grid-row: auto / span 1;
    }

    .gallery-container .gallery-item:nth-child(10n + 7),
    .gallery-container .gallery-item:nth-child(10n + 9) {
        grid-column: 2 / span 1;
        grid-row: auto / span 1;
    }

@media (max-width: 767px) {
    .gallery-container {
        display: block;
    }

        .gallery-container .gallery-item {
            margin: 0px;
            border-bottom: 2px solid #fff;
        }

            .gallery-container .gallery-item:last-child {
                margin: 0px;
                border-bottom: none;
            }
}

/* ----------- Video Modal ----------- */

.video-modal {
    position: relative;
}

.video-modal:hover {
    cursor: pointer;
}

    .video-modal .play-button {
        position: absolute;
        width: 80px !important;
        height: 80px !important;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        -webkit-transition: .4s ease-in;
        -o-transition: .4s ease-in;
        transition: .4s ease-in;
        opacity: 0.8;
    }

    .video-modal:hover .play-button {

        opacity: 1;
    }

.video-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    background: rgba(0,0,0,0.5);
    background: linear-gradient( 0deg, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    -webkit-transition: .4s ease-in;
    -o-transition: .4s ease-in;
    transition: .4s ease-in;
    opacity: 0.5;
}

.video-modal:hover .video-modal-overlay {
    opacity: 1;
}

    .modal {
    text-align: center;
    padding: 0 !important;
}

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}


.modal-content {
    border: none;
    border-radius: 0px;
}

.modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}

.modal-body {
    position: relative;
    padding: 0px;
}

.close {
    position: absolute;
    right: 0;
    top: -30px;
    z-index: 999;
    font-size: 2rem;
    font-weight: normal;
    color: #fff;
    opacity: 1;
}

/* ----------- Q and A ----------- */

.qanda-title {
}

h1.nikihaslerag {
    font-weight: 900;
    text-transform: uppercase;
    color: #36384f;
    font-size: 73px;
    letter-spacing: 6px;
    margin-top: 0px;
    margin-bottom: 50px;
}

@media (max-width: 767px) {
    h1.nikihaslerag {
        font-size: 28px;
        letter-spacing: 4px;
    }
}

h2.heritage {
    font-weight: 400;
    text-transform: uppercase;
    color: #36384f;
    font-size: 38px;
    font-family: 'Cinzel', serif;
    margin-bottom: 0px;
    letter-spacing: 3px;
}

@media (max-width: 767px) {
    h2.heritage {
        font-size: 20px;
        letter-spacing: 0px;
    }
}

h3.from {
    font-family: 'ITC New Baskerville Std';
    font-style: italic;
    font-size: 46px;
    position: absolute;
    bottom: 42px;
    left: -95px;
}


/* ----------- Q and A Accordian ----------- */
.device-lg .qanda-bg .panel-group {
    min-height: 700px;
}

.panel-default > .panel-heading {
    color: #8e8e8e;
    background-color: transparent;
    border-color: #ddd;
    font-size: 12px;
    font-weight: 900;
    border-radius: 0px;
    padding-left: 0px;
}

.panel-title {
    font-family: 'Libre Baskerville', serif;
    color: #a8a8a8;
    letter-spacing: 0px;
    font-style: italic;
    font-size: 18px;
    line-height: 25px;
}

.panel-group .panel {
    border-radius: 0px;
}

.panel {
    box-shadow: none;
    background-color: transparent;
}

.panel-default {
    border: 0px;
}

    .panel-default > .panel-heading + .panel-collapse > .panel-body {
        border-top: 0px;
        padding-left: 0px;
        padding-right: 55px;
    }

.device-xxs .panel-default > .panel-heading + .panel-collapse > .panel-body,
.device-xs .panel-default > .panel-heading + .panel-collapse > .panel-body,
.device-sm .panel-default > .panel-heading + .panel-collapse > .panel-body,
.device-md .panel-default > .panel-heading + .panel-collapse > .panel-body {
    padding-right: inherit;
}

.qanda-bg {
    background-image: url('/Images/about/qanda/niki-background.webp');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: right bottom; /* or 0&#37; 100% */
    padding-bottom: 200px;
}

.device-xxs .qanda-bg,
.device-xs .qanda-bg,
.device-sm .qanda-bg,
.device-md .qanda-bg {
    background-image: none;
    padding-bottom: 100px;
}



/* ----------- FOOTER ----------- */
footer {
    /*background-color: #36384f;*/
    background-color: #fff;
    color: #ffffff;
    /*padding-top: 60px;
    padding-bottom: 60px;*/
}

.footer-bg-top {
    border-top: 3px solid #36384f;
    margin-top: 7px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer-bg-colour {
    background-color: #36384f;
    padding-top: 40px;
    padding-bottom: 40px;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color: #fff;
}

footer address {
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

footer .contact h6 {
    font-size: 10px;
    margin-top: 0px;
    margin-bottom: 9px;
}

@media (max-width: 991px) and (min-width: 768px) {
    footer .contact {
        text-align: center;
    }
}

@media (max-width: 767px) {
    footer .contact {
        text-align: center;
    }

        footer .contact h6.links a {
            margin-right: 10px !important;
            font-size: 8px;
        }

    footer .footer-logo {
        float: none !important;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    footer .strap-line {
        float: none;
        text-align: center;
    }

    footer .footer-ferrari-holder {
        float: none;
        text-align: center;
        margin-top: 30px;
    }
}

footer .contact h6:first-child {
    margin-top: 0px;
}

footer .contact h6 a {
    color: #fff;
}

footer .contact h6:last-child {
    margin-top: 20px;
}

footer .contact h6.links a {
    margin-right: 15px;
}

    footer .contact h6.links a:hover {
        opacity: 0.7;
    }

footer .footer-logo {
    /*max-height: 25px;
    margin-bottom: 20px;
    float: right;*/
}

@media (max-width: 991px) and (min-width: 768px) {
    footer .footer-logo {
        float: none;
        /*margin-top: 30px;*/
        margin-bottom: 30px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    footer .footer-logo {
        margin-right: 10px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    footer .footer-ferrari-holder {
        margin-right: 10px;
        margin-top: 20px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    footer .footer-ferrari-holder {
        float: none;
        text-align: center;
        margin-top: 30px;
    }
}

footer .strap-line {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
    float: right;
    /*margin-right: 15px;*/
}

.device-xs footer .strap-line {
    float: none;
    text-align: center;
}

.device-xs footer .copyright {
    float: none;
}

@media (max-width: 991px) and (min-width: 768px) {
    footer .strap-line {
        float: none;
        text-align: center;
    }

    footer .copyright {
        float: none;
    }
}

footer .copyright {
    text-transform: uppercase;
    font-size: 8px;
    letter-spacing: 3px;
    /*margin-right: 15px;*/
    margin-bottom: 0px;
}

@media (max-width: 767px) {
    footer .copyright {
        width: 100%;
        margin-right: 0px;
    }
}

footer .copyright a {
    color: #fff;
}

    footer .copyright a:hover {
        opacity: 0.7;
    }

    footer .copyright a.racecar {
        font-family: Verdana, Geneva, sans-serif;
        text-transform: lowercase;
        font-size: 11px;
        font-style: italic;
        letter-spacing: 1px;
    }

footer .copyright .divide {
    font-weight: 900;
    color: #a2926a;
}

.ferrari-logos .scuderia-niki,
.ferrari-logos .classiche,
.ferrari-logos .ferrari-badge {
    float: right;
    max-height: 55px;
}

.ferrari-logos .scuderia-niki {
    margin-left: 55px;
}

.ferrari-logos .classiche {
    margin-left: 30px;
}

@media (max-width: 1199px) and (min-width: 992px) {
    /*    .ferrari-logos .scuderia-niki {
        margin-left: 10px;
    }

    .ferrari-logos .classiche {
        margin-left: 10px;
    }
*/
}

.footer-logos.ferrari-logos {
    padding: 0 20px;
    height: auto;
    float: right;
    height: 30px;
    /*width: 206px;*/
}

footer .footer-logos.ferrari-logos {
    display: flex;
    justify-content: center;
}


@media (max-width: 991px) and (min-width: 768px) {
    .footer-logos.ferrari-logos {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .footer-logos.ferrari-logos {
        margin-right: auto;
        margin-left: auto;
    }
}

.footer-logos.ferrari-logos img {
    max-height: 45px;
}

.footer-logos.ferrari-logos .scuderia-niki,
.footer-logos.ferrari-logos .classiche,
.footer-logos.ferrari-logos .ferrari-badge {
    float: right;
    max-height: 30px;
}

.footer-logos.ferrari-logos .scuderia-niki {
    padding-top: 0;
    margin-left: 80px;
}

.footer-logos.ferrari-logos .classiche {
    padding-top: 0;
    /*margin-left: 50px;*/
    margin-left: 0 !important;
}

@media (min-width: 992px) {
    .footer-brand-flex {
        display: flex;
        align-items: center;
    }
}


.device-sm .footer-logos.ferrari-logos {
    margin-top: 20px;
}

.device-md .footer-logos.ferrari-logos {
    /*margin-top: 20px;*/
    float: right;
    margin-right: 15px;
}

.device-xs .footer-logos.ferrari-logos {
    margin-top: 30px;
}

.device-xxs .footer-logos.ferrari-logos {
    margin-top: 30px;
}

/* ----------- HOME SLIDER ----------- */

.one-page-arrow {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    left: 50%;
    margin-left: -50px;
    width: 101px;
    height: 32px;
    font-size: 32px;
    text-align: center;
    color: #fff;
}

a.one-page-arrow:hover,
a.one-page-arrow:focus,
a.one-page-arrow:active {
    color: #ddd;
}

/* ----------------------------------------------------------------
	Flex Slider
-----------------------------------------------------------------*/


.fslider,
.fslider .flexslider,
.fslider .slider-wrap,
.fslider .slide,
.fslider .slide > a,
.fslider .slide > img,
.fslider .slide > a > img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
}

.fslider {
    min-height: 32px;
}


.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
    outline: none;
    border: none;
}

.slider-wrap,
.flex-control-nav,
.flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
}

.flexslider {
    position: relative;
    margin: 0;
    padding: 0;
}

    .flexslider .slider-wrap > .slide {
        display: none;
        -webkit-backface-visibility: hidden;
    }

    .flexslider .slider-wrap img {
        width: 100%;
        display: block;
    }

.flex-pauseplay span {
    text-transform: capitalize;
}

.slider-wrap:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .slider-wrap {
    display: block;
}

* html .slider-wrap {
    height: 1%;
}

.no-js .slider-wrap > .slide:first-child {
    display: block;
}

.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.flex-control-nav {
    position: absolute;
    z-index: 10;
    text-align: center;
    top: 14px;
    right: 10px;
    margin: 0;
}

    .flex-control-nav li {
        float: left;
        display: block;
        margin: 0 3px;
        width: 10px;
        height: 10px;
    }

        .flex-control-nav li a {
            display: block;
            cursor: pointer;
            text-indent: -9999px;
            width: 10px !important;
            height: 10px !important;
            border: 1px solid #FFF;
            border-radius: 50%;
            transition: all .3s ease-in-out;
            -webkit-transition: all .3s ease-in-out;
            -o-transition: all .3s ease-in-out;
        }

            .flex-control-nav li:hover a,
            .flex-control-nav li a.flex-active {
                background-color: #FFF;
            }


/* ----------------------------------------------------------------
	Swiper Slider
-----------------------------------------------------------------*/


.swiper-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Fix of Webkit flickering */
    z-index: 1;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    -webkit-transition-property: -webkit-transform, left, top;
    -webkit-transition-duration: 0s;
    -webkit-transform: translate3d(0px,0,0);
    -webkit-transition-timing-function: ease;
    -o-transition-property: -o-transform, left, top;
    -o-transition-duration: 0s;
    -o-transform: translate3d(0px,0,0);
    -o-transition-timing-function: ease;
    -o-transform: translate(0px,0px);
    transition-property: transform, left, top;
    transition-duration: 0s;
    transform: translate3d(0px,0,0);
    transition-timing-function: ease;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.swiper-free-mode > .swiper-wrapper {
    -webkit-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    margin: 0 auto;
}

.swiper-slide {
    float: left;
}

/* IE10 Windows Phone 8 Fixes */
.swiper-wp8-horizontal {
    -ms-touch-action: pan-y;
}

.swiper-wp8-vertical {
    -ms-touch-action: pan-x;
}

/* ----------------------------------------------------------------
	Slider
-----------------------------------------------------------------*/

#slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.device-md #slider {
    margin-top: 0px;
}

.device-sm #slider {
    margin-top: 0px;
}

.device-xxs #slider {
    margin-top: 0px;
}

.slider-parallax {
    visibility: visible;
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
    -webkit-backface-visibility: hidden;
}

/* Boxed Slider
-----------------------------------------------------------------*/

.boxed-slider {
    padding-top: 40px;
}

/* Flex Slider - Thumbs
-----------------------------------------------------------------*/

.fslider[data-animation="fade"] .flexslider {
    height: auto !important;
}

.flex-control-nav.flex-control-thumbs {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 2px -2px -2px 0;
    height: 75px;
}

    .flex-control-nav.flex-control-thumbs li {
        margin: 0 2px 2px 0;
    }

        .flex-control-nav.flex-control-thumbs li img {
            cursor: pointer;
            text-indent: -9999px;
            border: 0;
            border-radius: 0;
            margin: 0;
            opacity: 0.5;
            -webkit-transition: all .3s ease-in-out;
            -o-transition: all .3s ease-in-out;
            transition: all .3s ease-in-out;
        }

        .flex-control-nav.flex-control-thumbs li,
        .flex-control-nav.flex-control-thumbs li img {
            display: block;
            width: 100px !important;
            height: 75px !important;
        }

            .flex-control-nav.flex-control-thumbs li:hover img,
            .flex-control-nav.flex-control-thumbs li img.flex-active {
                border-width: 0;
                opacity: 1;
            }


/* Flex Thumbs - Flexible
-----------------------------------------------------------------*/

.fslider.flex-thumb-grid .flex-control-nav.flex-control-thumbs {
    margin: 2px -2px -2px 0;
    height: auto;
}

    .fslider.flex-thumb-grid .flex-control-nav.flex-control-thumbs li {
        width: 25% !important;
        height: auto !important;
        margin: 0;
        padding: 0 2px 2px 0;
    }

.fslider.flex-thumb-grid.grid-3 .flex-control-nav.flex-control-thumbs li {
    width: 33.30% !important;
}

.fslider.flex-thumb-grid.grid-5 .flex-control-nav.flex-control-thumbs li {
    width: 20% !important;
}

.fslider.flex-thumb-grid.grid-6 .flex-control-nav.flex-control-thumbs li {
    width: 16.66% !important;
}

.fslider.flex-thumb-grid.grid-8 .flex-control-nav.flex-control-thumbs li {
    width: 12.5% !important;
}

.fslider.flex-thumb-grid.grid-10 .flex-control-nav.flex-control-thumbs li {
    width: 10% !important;
}

.fslider.flex-thumb-grid.grid-12 .flex-control-nav.flex-control-thumbs li {
    width: 8.33% !important;
}

.fslider.flex-thumb-grid .flex-control-nav.flex-control-thumbs li img {
    width: 100% !important;
    height: auto !important;
}


/* Swiper Slider
-----------------------------------------------------------------*/

.swiper_wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.full-screen .swiper_wrapper {
    height: auto;
}

.swiper_wrapper .swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    /*background: url('/Images/pattern2.png') repeat;*/
}

.swiper_wrapper .swiper-slide {
    position: relative;
    margin: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.swiper-slide [data-caption-animate] {
    -webkit-backface-visibility: hidden;
}

.swiper-slide .video-wrap,
.section .video-wrap,
.swiper-slide .yt-bg-player,
.section .yt-bg-player {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

#slider .container {
    position: relative;
    height: 100%;
}

#slider.canvas-slider .swiper-slide img {
    width: 100%;
}

#slider.canvas-slider a {
    display: block;
    height: 100%;
}

/* Revolution Slider
-----------------------------------------------------------------*/

.boxedcontainer {
    max-width: 1140px;
    margin: auto;
}

.tp-banner-container {
    width: 100%;
    position: relative;
    padding: 0;
}

.tp-banner {
    width: 100%;
    position: relative;
}

.tp-banner-fullscreen-container {
    width: 100%;
    position: relative;
    padding: 0;
}

.tp-banner .button {
    height: auto !important;
}

.tparrows.preview2:after {
    line-height: 1 !important;
}


/* Video Overlay
-----------------------------------------------------------------*/

.video-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
}

    .video-wrap video {
        position: relative;
        z-index: 1;
        width: 100%;
    }

.video-overlay,
.video-placeholder {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    background: transparent url('images/grid.png') repeat;
    -webkit-backface-visibility: hidden;
}

.video-placeholder {
    z-index: 4;
    background-repeat: no-repeat !important;
}


/* Slider Caption
-----------------------------------------------------------------*/

.slider-caption,
.nivo-caption,
.flex-caption {
    position: absolute;
    top: 0;
    left: 15px;
    z-index: 20;
    max-width: 550px;
    color: #EEE;
    font-size: 22px;
    font-weight: 300;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.15);
    -webkit-transition: top .3s ease;
    -o-transition: top .3s ease;
    transition: top .3s ease;
}

    .slider-caption:not(.dark),
    .slider-caption:not(.dark) h2 {
        color: #222;
        text-shadow: none;
    }

    .slider-caption h2 {
        font-size: 64px;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-weight: 700;
        line-height: 1;
        margin-bottom: 30px;
    }

    .slider-caption p {
        margin-bottom: 10px;
        font-size: 24px;
    }

    .slider-caption.slider-caption-right {
        left: auto;
        right: 15px;
    }

    .slider-caption.slider-caption-center {
        position: relative;
        max-width: 800px;
        text-align: center;
        margin: 0 auto;
        left: 0;
        right: 0;
    }

.slider-caption-bg {
    padding: 5px 12px;
    border-radius: 2px;
    background-color: rgba(0,0,0,0.6);
    top: auto;
    bottom: 50px;
    left: 50px;
}

    .slider-caption-bg.slider-caption-bg-light {
        background-color: rgba(255,255,255,0.8);
        color: #333;
        font-weight: 400;
        text-shadow: none;
    }

.slider-caption-top-left {
    top: 50px;
    bottom: auto;
}

.slider-caption-top-right {
    top: 50px;
    bottom: auto;
    left: auto;
    right: 50px;
}

.slider-caption-bottom-right {
    left: auto;
    right: 50px;
}


/* Slider Arrows
-----------------------------------------------------------------*/

#slider .owl-theme .owl-controls {
    margin: 0;
}

#slider-arrow-left,
#slider-arrow-right,
.camera_prev,
.camera_next,
#slider .owl-prev,
#slider .owl-next,
.flex-prev,
.flex-next,
.nivo-prevNav,
.nivo-nextNav,
.slider-arrow-top-sm,
.slider-arrow-bottom-sm {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    top: 50%;
    left: 0;
    margin-top: -26px;
    background-color: rgba(0,0,0,0.3);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 0px;
    -webkit-transition: background-color .3s ease-in-out;
    -o-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
}

.slider-arrow-top-sm,
.slider-arrow-bottom-sm {
    top: auto;
    bottom: 57px;
    left: auto;
    right: 20px;
    margin: 0;
    width: 32px;
    height: 32px;
    border-radius: 3px 3px 0 0;
}

.slider-arrow-bottom-sm {
    bottom: 20px;
    border-radius: 0 0 3px 3px;
}

.fslider[data-thumbs="true"] .flex-prev,
.fslider[data-thumbs="true"] .flex-next {
    margin-top: -64px;
}

#slider .owl-prev,
#slider .owl-next {
    -webkit-transition: background-color .3s ease-in-out;
    -o-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
}

#slider-arrow-right,
.camera_next,
#slider .owl-next,
.flex-next,
.nivo-nextNav {
    left: auto;
    right: 0;
    border-radius: 0px 0 0 0px;
}

    #slider-arrow-left i,
    #slider-arrow-right i,
    .camera_prev i,
    .camera_next i,
    #slider .owl-prev i,
    #slider .owl-next i,
    .flex-prev i,
    .flex-next i,
    .nivo-prevNav i,
    .nivo-nextNav i,
    .slider-arrow-top-sm i,
    .slider-arrow-bottom-sm i {
        line-height: 50px;
        width: 34px;
        height: 52px;
        color: #DDD;
        color: rgba(255,255,255,0.8);
        text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
        font-size: 32px;
        text-align: center;
        margin-left: 7px;
    }


.slider-arrow-top-sm i,
.slider-arrow-bottom-sm i {
    width: 32px;
    height: 32px;
    margin: 0;
    line-height: 30px;
    font-size: 18px;
    color: #FFF;
    color: rgba(255,255,255,1);
}

.flex-prev i {
    margin-left: 9px;
}

#slider .owl-prev i {
    margin-left: 0;
}

#slider-arrow-right i,
.camera_next i,
.nivo-nextNav i {
    margin-left: 10px;
}

.flex-next i {
    margin-left: 11px;
}

#slider .owl-next i {
    margin-right: 4px;
}

#slider .owl-controls .owl-nav {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

    #slider .owl-controls .owl-nav div,
    #slider:hover .owl-controls .owl-nav {
        opacity: 1;
    }

#slider-arrow-left:hover,
#slider-arrow-right:hover,
.camera_prev:hover,
.camera_next:hover,
#slider .owl-prev:hover,
#slider .owl-next:hover,
.flex-prev:hover,
.flex-next:hover,
.nivo-prevNav:hover,
.nivo-nextNav:hover,
.slider-arrow-top-sm:hover,
.slider-arrow-bottom-sm:hover {
    background-color: rgba(0,0,0,0.6) !important;
}


/* Slide Number
-----------------------------------------------------------------*/

#slide-number {
    position: absolute;
    opacity: 0;
    top: auto;
    right: 20px;
    bottom: 20px;
    z-index: 20;
    width: 36px;
    height: 40px;
    text-align: center;
    color: rgba(255,255,255,0.8);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.15);
    font-size: 18px;
    font-weight: 300;
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
}

#slider:hover #slide-number {
    opacity: 1;
}

#slide-number-current,
#slide-number-total {
    position: absolute;
    line-height: 1;
    top: 5px;
    left: 0;
}

#slide-number-total {
    top: auto;
    bottom: 5px;
    left: auto;
    right: 0;
}

#slide-number span {
    display: block;
    font-size: 32px;
    line-height: 40px;
}


/* Pagination
-----------------------------------------------------------------*/

#slider .owl-dots {
    position: absolute;
    width: 100%;
    z-index: 20;
    margin: 0;
    top: auto;
    bottom: 15px;
}

#slider .owl-controls .owl-dots span {
    width: 10px;
    height: 10px;
    margin: 0 3px;
    opacity: 1;
    background-color: transparent;
    border: 1px solid #FFF;
}

#slider .owl-dots .owl-dot.active span,
#slider .owl-dots .owl-dot:hover span {
    background-color: #FFF !important;
}



.testimonial.testimonial-full[data-animation="fade"] .flexslider {
    overflow: visible !important;
}

#slider .owl-carousel .owl-item img {
    -webkit-backface-visibility: hidden;
}

.bnews-slider {
    float: left;
    width: 970px;
    margin-left: 20px;
    min-height: 0;
}

.validation-summary-errors,
.field-validation-error {
    color: #a94442;
}

/* changed a section style in the gallery 
    to reduce some of the whitespace - Tom
-----------------------------------------------------------------*/

.gallery-section {
    margin: 30px;
}

.container-fluid-nav-mobile {
    padding: 0px;
}

@media (max-width: 991px) {
    .navbar-border {
        border-top: none !important;
    }
}

/* Virtual Tour
-----------------------------------------------------------------*/

.virtual-tour {
    height: 550px;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .virtual-tour {
        height: 350px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .virtual-tour {
        height: 250px;
    }
}
@media (max-width: 767px) {
    .virtual-tour {
        height: 350px;
    }
}

/* Mailchimp Newsletter Subscribe
-----------------------------------------------------------------*/

#mc_embed_signup input {
    width: 100%;
    border: none !important;
    border-bottom: 1px solid #a6a7a9 !important;
    border-radius: 0px !important;
    background: transparent;
    color: #4b4e53;
    font-size: 14px;
    margin: 0;
    outline: medium none;
    padding: 8px 20px 8px 0;
}

#mc_embed_signup {
    background: #fff;
    false;
    clear: left;
    font: 14px Helvetica,Arial,sans-serif;
    width: 100% !important;
}

    #mc_embed_signup .button {
        width: 100% !important;
        margin-bottom: 0px !important;
        background-color: #292a3d !important;
        padding: 10px 37px 10px 37px !important;
        display: inline-block !important;
        height: auto !important;
        text-transform: uppercase;
        line-height: 22px !important;
    }

    #mc_embed_signup div#mce-responses {
        text-align: center;
    }

    #mc_embed_signup #mce-success-response, #mc_embed_signup #mce-error-response {
        width: 100%;
    }

        /* Careers
-----------------------------------------------------------------*/

        .career-item {
    padding: 15px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

/* Navbar Search
-----------------------------------------------------------------*/
.navbar-search {
    padding: 0 10px;
}

.navbar-search-icon {
    margin-right: 5px;
    color: rgb(0, 0, 0);
}

input.form-search {
    border-bottom: 0 none;
    color: rgb(0, 0, 0);
    margin-top: 10px;
    font-weight: 800;
    font-size: 11px;
    display: inline-block;
    width: 150px;
}

    input.form-search::placeholder {
        color: rgb(0, 0, 0);
    }

    input.form-search:focus::placeholder {
        color: #fff !important;
    }

@media (max-width: 1250px) {
    input.form-search {
        width: 100px;
    }

    .navbar-search {
        padding: 0 10px;
    }
}

@media (max-width: 991px) {
    .navbar-search {
        padding: 0 10px;
    }

    input.form-search {
        width: 80%;
    }
}

.event-buttons .button {
    letter-spacing: 1px;
}

.checkbox-signup-label {
    display: inline;
    margin-left: 5px;
}

@media (max-width: 991px) {
    .navbar-header-mobile {
        background-color: #fff;
        border-top: 1px solid #dfdfdf;
        margin-right: 0px !important;
        margin-left: 0px !important;
    }

    .navbar-toggle {
        margin-right: 25px;
    }

    .ferrari-logos .scuderia-niki,
    .ferrari-logos .classiche {
        padding-top: 0;
    }

    .navbar-brand .ferrari-badge {
        padding-left: 60px;
    }

    .navbar-collapse {
        background-color: #ffffff;
    }

    .footer-text-spacing {
        padding-bottom: 30px;
    }

    .footer-navbar-brand-flex {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .navbar-brand .ferrari-badge {
        padding-left: 0;
    }

    .ferrari-logos .classiche {
        margin-left: 30px;
    }

    .ferrari-logos .scuderia-niki {
        margin-left: 60px;
        padding-right: 30px;
    }

    .navbar-brand.logos-top {
        padding: 16px 15px;
    }

    .navbar-brand .ferrari-logos img {
        max-height: 28px;
    }

    footer .footer-logo {
        max-height: 50px;
    }

    footer .footer-logos.ferrari-logos img {
        max-height: 32px;
    }

    footer .footer-logos.ferrari-logos .classiche,
    footer .footer-logos.ferrari-logos .scuderia-niki {
        margin-left: 60px;
        padding-right: 0;
    }

    footer .footer-logo {
        margin: 0;
    }

    .footer-bg-top {
        padding-top: 25px;
        padding-bottom: 30px;
    }
}

@media (max-width: 479px) {
    .swiper_wrapper:not(.force-full-screen), .swiper_wrapper:not(.force-full-screen):not(.canvas-slider-grid) .swiper-slide, .ei-slider {
        height: 180px !important;
    }
}

/* Video
-----------------------------------------------------------------*/

/* YOUMAX */

#youmax-header,
#youmax-tabs {
    display: none;
}

#youmax, .youmax {
    border-left: 1px solid #fff !important;
    border-right: 1px solid #fff !important;
    background-color: #ffffff !important;
}

#youmax {
    margin-top: -1px !important;
}

.youmax-video-list-views,
.youmax-show-button, .youmax-more-button {
    display: none !important;
}

#youmax,
.youmax,
#youmax-video-list-div,
#tiles li {
    background-color: transparent !important;
    border: 0 none !important;
    box-shadow: none !important;
}

ul#tiles {
    list-style: none;
}

.youmax-definition,
.youmax-duration {
    background-color: rgba(0,0,0,.8) !important;
    padding: 4px 8px !important;
}

.youmax-duration {
    bottom: 45px !important;
}

.dark .youmax-video-list-title {
    color: #fff !important;
    text-align: center !important;
    font-weight: 500 !important;
}

.youmax-video-list-title {
    text-align: center;
    color: #36384f !important;
    letter-spacing: 0px;
    font-family: 'Lato', sans-serif !important;
}

#youmax-load-more-div {
    background-color: #0C0C0C !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font: 'Lato', sans-serif !important;
}

#youmax-select-box {
    display: none !important;
}

#tiles li p {
    margin: 10px 10px 10px !important;
    height: 25px !important;
}

#youmax-load-more-div {
    background-color: #112756 !important;
    color: #FFFFFF !important;
}

#youmax-load-more-div {
    display: none !important;
}


/* Bootstrap Flex
-----------------------------------------------------------------*/

.d-flex {
    display: flex !important;
}
.justify-content-center {
    justify-content: center !important;
}
.align-items-center {
    align-items: center !important;
}