:root {
    --header-height-nav: 65px;
    --header-height-nav-mobile: 45px;
}

ul
{
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

.head {
    box-shadow: 0 8px 16px rgba(0,0,0,.1);
}

header {
    /* webkit-box-shadow: 0 8px 16px rgba(0,0,0,.1); */
    box-shadow: 0 8px 16px rgba(0,0,0,.1);
}

.nav-item > .nav-link {
    /* color: #000000; */
    cursor: default;
    padding-top: 0;
    line-height: var(--header-height-nav);
    height: var(--header-height-nav);
    text-align: center;
    text-decoration: none;
}

/*mobile menu item vertical spacing adjustment*/
@media only screen and (max-width: 1199.98px) {
    .nav-item > .nav-link {
        height: 3em;
        line-height: 1.5;
        font-size: 24px;
        padding-top: 1rem;
        padding-bottom: 1rem;
        font-family: var(--secondary-font), Arimo;
    }

    .multilevel-dropdown .dropdown-item .dropdown-link {
        height: 3em;
        font-size: 24px;
    }

    .dropdown-item.top-category > .nav-link {
        font-size: 24px;
    }
}

.dropdown-item > a:hover,
.dropdown-item > a:focus
{
    color: #AAA;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .dropdown-item > a {
        font-family: var(--secondary-font);
    }
}

@media only screen and (max-width: 991px) {
    .header.container {
        max-width: none;
    }
}

@media only screen and (max-width: 1253px) {
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: inherit;
        padding-left: inherit;
    }
}

@media (max-width: 554px) {
    .multilevel-dropdown .dropdown-menu {
        border-style: none;
    }
}

/*@media (min-width: 769px) {*/ @media (min-width: 1200px) {
    .multilevel-dropdown .dropdown-menu {
        background: #ffffff;
        box-shadow: 1px 1px 4px #C6C5C5;
        border-style: solid;
    }
}

/*@media only screen and (max-width: 768px) {*/ @media only screen and (max-width: 1200px) {
    .dropdown .dropdown-item .dropdown-link, .dropdown .dropdown-submenu .dropdown-link {
        padding-left: 0;
        padding-right: 0;
        text-align: center;

        /*padding-top: 0.5rem;*/
        /*height: 3em;*/
    }

    .multilevel-dropdown .dropdown-item {
        padding: 0;
    }    
}

.navbar-spacer {
    height: 104px; /*determine a way to calculate*/
}

@media only screen and (min-width: 1200px) {
    .navbar-spacer {
        height: 0px;
    }
}

@media only screen and (min-width: 544px) {
    .menu-spacer, .submenu-spacer {
        height: 0;
    }
}

@media only screen and (min-width: 1200px) {
    .menu-spacer, .submenu-spacer {
        display: none;
    }
}

@media only screen and (min-width: 1200px) {
    .menu-spacer, .submenu.spacer {
        display: none;
    }
}

.nav-item.dropdown.show > .dropdown-menu > .navbar-spacer,
.nav-item.dropdown.show > .dropdown-menu > ul > .navbar-spacer,
.dropdown-item.dropdown.show > .dropdown-menu > .navbar-spacer,
.dropdown-item.dropdown.show > .dropdown-menu > ul > .navbar-spacer {
    height: 0px;
}

.dropdown-submenu {
    position: unset;
    display: block;
    width: 100%;
    padding: .25rem 0 1.5rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;    
}

/*@media only screen and (max-width: 768px) {*/    @media only screen and (max-width: 1200px) {
    .dropdown-submenu {
        padding: .25rem 1.5rem;
    }
}

.dropdown-submenu >.dropdown-menu {
    top: 0;
    left: 100%;
}

.dropdown-menu > ul {
    margin: 0;
    padding: 0;
}

.scrollable-dropdown {
    padding: 24px 12px 24px 0px;
}

.menu-vehicle-containers, .scrollable-dropdown > ul {
    overflow: hidden auto;
    max-height: calc(100dvh - var(--header-height) - 48px);
}

.container
{
    padding: 0;
}

.utility-bar {
    padding: 12px 0 10px;
    background: #404041;
}
.utility-bar .before{
    display: table;
    content: " ";
}
.utility-bar .after{
    clear: both;
}

.utility-bar div .social-media {
    float: right;
    margin: 0;
    padding: 0;
    list-style-type: none;
    padding-top: 1px;
}

ul.social-media {
    margin: 0;
    padding: 0;
    text-align: center;
  }
  
  ul.social-media > li {
    display: inline-block;
  }
  
  ul.social-media > li > a {
    display: inline-block;
    font-size: 18px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    border-radius: 36px;
    background-color: #fff;
    color: #000 !important
  }

.brand {
    width: 250px;
    margin-left: 24px;
    /* padding-top: .93em; */
    /* margin-left: 0; */
    left: auto;
    position: relative;
}

.logo-home {
    height: 100%;
    display: flex;
}

nav > .container{
    max-width: 100%;
}

@media (max-width: 1200px) {
    nav > .container{
        padding-left: 0;
    }
}

.simple-header, nav .header, nav .header > .d-flex, .menu-group{
    height: var(--header-height-nav);
}

@media (max-width: 544px){
    .main-nav, .simple-header, nav .header, nav .header > .d-flex, .menu-group{
        height: var(--header-height-nav-mobile);
    }
    .brand .logo-img-mobile{
        width: 70%;
    }

    .brand .logo-home{
        justify-content: initial;
    }
}

nav .header > .d-flex{
    vertical-align: middle;
}

@media (max-width:768.98px) {
    .brand{
        margin-left: 0;
    }
}

.subaru-main-menu, .simple-header {
    box-shadow: 0px 2px 0px 0px #ececec;
}

.subaru-main-menu > .header{
    z-index: 999;
    background-color: #000;
}

.main-menu {
    background-color: #000;
}

nav {
    background-color: #000;
}

.navbar-header > .in > nav.navbar
{
    background-color: #fff!important;
}
.navbar-header > .in> .navbar-expand-lg > .menu-group > .nav > .nav-item > .nav-link
{
    background-color: #fff!important;
    color: #000000!important;
}
.navbar-header > a > img.d-lg-none
{
    padding-left: 15px;
}

.navbar-header-spacer {
    width: 200px; /*size of the store button to replace it*/
}

.navbar
{
    padding: 0rem 0rem;
}

.navbar .close-button button {
    display: flex;
    align-items: center;
}

.navbar-nav
{
    margin-block-start: 0em;
}
.navbar-toggler
{
    color: #fff;
    -webkit-filter: invert(1);
    filter: invert(1);
}

@media only screen and (min-width: 1200px) {
    .nav-item {
        margin: 0 12px;
    }
    .nav-item > a {
        font-family: var(--secondary-font);
    }
}

@media only screen and (min-width: 1254px) and (max-width: 1269px) {
    .nav-item {
        margin: 0 8px;
    }
}

.nav .navbar-nav > .nav-item .dropdown .show {
    background-color: #3344ff;
    color:#ffffff;
}

.nav-btn {
    cursor: default;
}

.menu-toggleable-left .close-menu {
    background-color: #fff;
    border-bottom: none;
    line-height: 36px;
    margin-top: 16px;
}

.close-btn-mobile {
    transform: scale(1.5);
}

.dropdown-item {
    cursor: default;
}

.dropdown-item > a
{
    color: #000;
    text-decoration: none;
    font-family: var(--secondary-font);
    font-size: 18px;
    text-transform: none;
}

.dropdown-submenu > .menuitem-text:hover {
    color: #AAA;
    text-decoration: none;
}

.dropdown-submenu-pointer {
    transform: scaleY(2);
}

.dropdown-submenu-pointer{
    background-color:var(--primary-1);
    width: 4px;
}

li.dropdown.dropdown-submenu > .dropdown-link > .dropdown-submenu-pointer {
    display: none;
}

li.dropdown.dropdown-submenu.show > .dropdown-link > .dropdown-submenu-pointer {
    display: inherit;
}

.close-img-mobile {
    transform: translateY(-50%);
    top: 0.25rem;
    position: relative;
}

.close-button .close-img-mobile {
    transform: translateY(-20%);
}

/*@media (max-width: 767px){*/    @media (max-width: 1199.98px){
    .menuitem-text
    {
        text-align: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0.75rem;
        padding-bottom: 0.5rem;
    }
}

/*@media only screen and (max-width: 769px) {*/    @media only screen and (max-width: 1199.98px) {    
    .vehiclenav-desktop {
        display:none !important;
    }
}
/*@media only screen and (min-width: 768px) {*/@media only screen and (min-width: 1200px) {
    .vehiclenav-mobile {
        display:none !important;
    }
}

.vehiclenav-desktop {
    width: calc(100vw - var(--scrollbar-width)); /* Variable set in mainmenu.js */
    height: auto;
    padding: 24px 12px;
}

.vehicle-list {
    max-width: 16.66667%;
}

.vehicle-display{
    max-height: calc(95dvh - 161px);
}

.vehicle-category-list {
    list-style-type: none;
    margin-right: 12px;
    padding-left: 0;
    right: 0;
}

.vehicle-category-label {
    padding: 24px 0;
    text-transform: uppercase;
}

.vehicle-category-btn, .vehicle-category-link {
    text-decoration: none !important;
    color: #aaa !important;
    font-family: var(--primary-font), Bold;
    display: initial;
}

.vehicle-category-btn:hover, .vehicle-category-link:hover{
    color: #000 !important;
    opacity: 1 !important;
}

a.vehicle-category-btn.selected, a.vehicle-category-link.selected {
    color: #000 !important;
    opacity: 1 !important;
}

.menu-vehicle-container {
    max-width: none;
}

#top-vehicle {
    width: calc(100vw - var(--scrollbar-width) - 8px);
    padding-left: 20px;
    padding-right: 20px;
}

.menuVehicle
{
    width: 44em;
    padding: 10px;
    min-height: 330px;
}

.menuVehicleHR {
    border-top: 1px solid #ccc;
    margin: 0;
}

.menuVehicleDesktop {
    min-width: 966px;
    max-width: 1000px;
}

.menuVehicleRow {
    display: inline-flex;
}

.navbar-header > div:not(.in) > .navbar-expand-md > .menu-group > .nav > .nav-item > .menuVehicle
{
    left:auto!important;
    right: 0;
}

/*@media only screen and (max-width: 768px) {*/ @media only screen and (max-width: 1199.98px) {
    .menuVehicle
    {
        padding: 0;
    }
}

@media only screen and (max-width: 1200px)
{
    .menuVehicle
    {
        width: 22em;
    }
}

@media only screen and (max-width: 920px)
{
    .menuVehicle
    {
        width: 18.2em;
    }
}

.menuVehicleItem
{
    min-width: 282px;
    min-height: 340px;
    /* width: 316px; */
    font-size: 14px;
    line-height: .1em;
    font-family: SubaruType-Book, 'Source Sans Pro', sans-serif;
    font-weight: 300;
    white-space: normal;
    margin-bottom: 5px;
    margin: 0 20px;
}

.menuVehicleItem:focus-within
{
    outline-style: auto;
    outline-width: 1px;
}

.menuVehicleItem img
{
    width: 100%;
    /* position: relative; */
    /* z-index: -1; */
    max-width: 280px;
}
.menuVehicleItemMobile,
.menuVehicleItemMobile .card-body
{
    padding: .5rem;
}

.menuVehicleItemCard
{
    height: 100%;
}
.menuVehicleItemCard
{
    padding-left: 0;
    padding-right: 0;
}
.menuVehicleItemCard p
{
    padding-left: 15px;
    padding-right: 15px;
}

.menuVehicleContent
{
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0);
    border-bottom: 0;
    height: 220px;
}

.menuVehicleActionsContainer:before {
    content:"";
    position: absolute;
    top:0;
    left:1%;
    height:90%;
    width:98%;
    background: rgba(255,255,255,0.6);
}

.menuVehicleActionsContainer
{
    width: 100%;
    display: none;
    transition: All .3s ease-in-out;
}

@media only screen and (max-width: 1200px)
{
    .menuVehicleActionsContainer
    {
        font-size: 11px;
    }
}

.menuVehicleItemCard:hover .menuVehicleActionsContainer,
.menuVehicleItemCard:focus .menuVehicleActionsContainer,
.menuVehicleItemCard:focus-within .menuVehicleActionsContainer
{
    display: block;
}

.menuVehicleActionsReserve
{
    display: block;
    height: 42px;
}

.menuVehicleItemCard:hover .menuVehicleActionsReserve
{
    display: none;
}

div.explore-btn, div.shop-btn, div.compare-btn
{
    width: 248px;
    display: block;
    text-align: center;
    height: 66px;
    transition: All .3s ease-in-out;
    border-width: 2px;
}

div.shop-btn {
    background-color: var(--white);
}

div.explore-btn {
    background-color: var(--white);
}

a.explore-btn, a.shop-btn, a.compare-btn
{
    text-decoration: none;
}

a.shop-btn {
    color: #444;
}

div.explore-btn > a, div.shop-btn > a {
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    display: flex;
    white-space: nowrap;
    line-height: 60px;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    text-transform: capitalize;
}

div.explore-btn
{    
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

div.explore-btn.explore-center {
    top: 60%;
}

div.shop-btn
{    
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

div.shop-btn 
{
    margin-right: 1px;
}

div.compare-btn 
{
    margin-left: 1px;
}

.deeplink
{
    position: relative;
    top: -80px;
}

.font-size-12
{
    font-size: 12px;
}

.menuVehicleContent span.disc, .menuVehicleItemMobile span.disc
{
    cursor: pointer;
    position: relative;
    /* Mobile Nav z-index is 4 */
    z-index: 2;
    font-size: 70%;
    vertical-align: super;
}

@media only screen and (max-width: 1199.98px)
{
    .side-menu-mobile-scroll
    {
        max-height: 100dvh;
        /* max-width: 1200px; */
        overflow-x: hidden;
        overflow-y: auto;
    }
}

.hide-focus-outline *:focus {
    outline: none!important;
}
.price-font {
    font-weight: bold;
    font-size: 1.17em;
}

.mpg-font {
    font-size: 14px;
    font-weight: bold;
}

.model-name {
    margin: 0;
    padding-top: 0;
    margin-bottom: 0;
}

.year-label {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: bold;
}


.menuVehicle-type-container {
    position: relative;
    top: 12px;
    left: 12px;
    height: 24px;
    width: 90%;
}

.menuVehicle-type-mobile {
    margin-left: 8px;
    top: 8px;
}

.menuVehicle-type-label {
    font-family: var(--primary-font);
    font-size: 14px;
    padding: 4px 12px;
    color: white;
    background-color: var(--primary-1);
    height: auto;
    width: auto;
    border-radius: 30px;
    text-transform: capitalize;
}

.menuVehicle-type-blank {
    font-family: var(--tertiary-font);
    font-size: 14px;
    padding: 8px 12px;
}

.menuVehicleContent-text {
    padding-left: 1em;
    line-height: 150%;
    width: auto;
}
.menuVehicleContent-title{
    padding-left: 1em;
    margin-bottom: 0;
}

/* button standards */

div.btn-normal {
    background-color: var(--primary-1);
    padding: 2px;
    border-style: none;
}
a.btn-normal {
    color: #fff  !important;
    text-decoration: none;
}

div.btn-normal:hover,
div.btn-normal:focus,div.btn-normal:focus-within {
    opacity: 0.4;
}

div.btn-outline {
    border: 1px solid var(--black);
    color: var(--primary-1);
}
a.btn-outline {
    text-decoration: none;
}

div.btn-outline:hover,
div.btn-outline:focus,
div.btn-outline:focus-within {
    opacity: 0.4;
}

div.btn-outline:hover a.btn-outline,
div.btn-outline:focus-within a.btn-outline {
    color: #aaa !important;
}


a.btn-outline:hover {
    color: #aaa !important;
}

div.vehicle-btn-row{
    margin-left: 10px;
    margin-right: 10px;
}

div.vehicle-btn-row .col{
    padding-right: 0;
    padding-left: 0;
}

.menuVehicleContent span.disc, .menuVehicleItemMobileCard span.disc
{
    cursor: pointer;
    position: relative;
    /* Mobile Nav z-index is 4 */
    z-index: 2;
    font-size: 70%;
    vertical-align: super;
    color: var(--primary-1);
}

.menuVehicleContent-title-mobile {
    margin-left: 20px;
}

.menuVehicleContent-text-mobile {
    margin-left: 20px;
    padding-bottom: 2em;
    white-space: normal;
    font-size: 16px;
}

/*  Vehicle Image - Mobile */

.imageVehicleMobile
{
    width: 100%;
}

a.explore-btn-mobile, a.shop-btn-mobile
{
    display: flex;
    text-align: center;
    transition: All .3s ease-in-out;
    margin: 10px 10px;
    padding-left: 24px;
    padding-right: 24px;
    letter-spacing: 1px;
    align-items: center;
    justify-content: center;
}

a.explore-btn-mobile.col-6{
    margin: 0;
}

.menuVehicleContentReserve-mobile {
    display: block;
    height: 48px;
}

/* .menuVehicleItemMobileCard .btn-group-sm>.btn,
.menuVehicleItemMobileCard .btn-sm {
    min-width: 138px;
    line-height: 18px;
} */

@media only screen and (max-width: 1199.98px) {  
    .list-group > .dropdown-item,
    .dropdown-item.dropdown > .dropdown-link {
        height: 3em;
    }

    .top-category {
        height: 0;
    }
}

.nav-hr {
    margin: 0;
    position:relative;
    z-index:1001;
    pointer-events: none;
}

@media only screen and (max-width: 1199.98px){
    .nav-hr {
        z-index:1;
    }
} 

@media only screen and (max-width: 554px) {
    .navbar-header .navbar-toggler {
        font-size: inherit;
    }
}

@media (max-width:543.98px) {
    .menu-toggleable-left.in {
        right: 0;
        margin-right: 0;
    }
}