
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Solid Navbar  */
.navbar.inside-navbar {
    background: #fff;
}
.navbar.inside-navbar .dropdown span {
    color: #666;
}
.navbar.inside-navbar .wheel {
    background: url(../images/icons/TDA-grey.png) no-repeat scroll 0 0 / 20px;
}
.navbar.inside-navbar .icon {
    color: #666;
}

/* ENd of solid nav  */
ul {
    list-style: none;
}
.dropdown .mainLink a:hover {
    text-decoration: none !important;
}

.dropdown span {
    color: #fff;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 2;
    font-weight: 700;
}

.navbar::after {
    content: " ";
    position: absolute;
    width: 84%;
    bottom: 0;
    border-bottom: 1px solid #fff;
}

.navbar {
    display: flex;
    justify-content: unset;
    align-items: center;
    gap: 1em;
}

.buttons {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 0em;
    margin-left: auto;
}

.brand {
    display: inherit;
    width: 53px;
    height: 53px;
    background: url(../images/bmw-logo.svg) no-repeat scroll 0 0 / 100%;
}

.wheel {
    display: inherit;
    padding: 0;
    width: 20px;
    margin: -4px 0;
    height: 20px;
    background: url(../images/icons/TDA-white.png) no-repeat scroll 0 0 / 20px;
}

.brand:hover {
    font-weight: bolder;
}

/* button {
    border: none;
    transition: 0.3s;
    cursor: pointer;
} */

.buttons ul {
    padding: 0;
    margin: 0;
}

.buttons a:hover{
    color: #fff;
}


/* .btn {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    background: #428aff;
    padding: 0.5em 1.3em;
    border-radius: 16px;
    color: #fff;
}

.btn:hover {
    background: #3877db;
} */

.menu-btn {
    margin-left: 1em;
    background: none;
    display: inline-block;
}

.menu-btn span {
    font-size: 2.3em;
}

.dropdown>div,
.sub-dropdown>div {
    cursor: pointer;
}

.dropdown .menu a:hover {
    color: #9b9b9b;
}

.buttons ul li {
    display: inline-block;
    padding: 0  5px;
}

.buttons ul li img {
    width: 16px;
}

.subitem-title.active + .list_subitems{
    display: block;
}

.mainLink a:hover{
    border-color:transparent !important;
    color: unset;
}
.navbar.inside-navbar .icon {
    color: #666;
}
.navbar.inside-navbar .brand {
    background: url(../images/bmw-gray.svg) no-repeat scroll 0 0 / 100%;
}

.navbar.navbar.inside-navbar::after {
    content: " ";
    position: absolute;
    width: 84%;
    bottom: 0;
    border-bottom: 1px solid #ddd;
}
@media screen and (min-width: 992px) {
    .navbar {
        padding: 0px 8%;
    }

    .dropdown>div {
        /* padding: 1.5em 1em; */
        padding: 1.5em 0.6em;
    }

    .mega-menu {
        display: flex;
        justify-content: center;
        margin: 0;
    }

    .menu-btn {
        display: none;
    }

    .menu {
        background: #fff;
        position: absolute;
        top: 4.4em;
        left: 0;
        width: 100%;
        padding: 0 2em;
        /* overflow-y: scroll; */
        transition: 0.4s ease-in-out;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 2em;
    }

    .menu>li:first-child {
        font-size: 1.1em;
        font-weight: bold;
        margin: 0;
    }

    .sub-dropdown>div span:first-child {
        font-weight: bold;
    }

    .dropdown>div {
        border-bottom: 5px solid transparent; 
        transition: 0.3s;
    }

    .dropdown:hover>div {
        border-color: #1c69d4;
    }

    .dropdown li {
        margin-bottom: 1em;
    }

    .buttons li {
        position: relative;
    }

    .buttons li::after{
        content: '';
        position: absolute;
        top: 0;
        border-bottom: 5px solid transparent; 
    }

    .dropdown>div span:last-child,
    .sub-dropdown>div {
        display: none;
    }

    /* Width */
    .menu::-webkit-scrollbar {
        width: 8px;
    }

    /* Track */
    .menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    /* Handle */
    .menu::-webkit-scrollbar-thumb {
        background: #888;
    }

    /* Handle on hover */
    .menu::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

    /* Hide menu */
    .menu {
        height: 0;
    }

    .dropdown .menu {
        height: 100vh;
        padding: 2em 8%;
        display: none;
    }

    .menu-show {
        display: block !important;
    }

    .navbar:has(.menu-show) {
        background: #fff;
    }

    .navbar:has(.menu-show) .dropdown span {
        color: #666;
    }

    .navbar:has(.menu-show) .brand {
        background: url(../images/bmw-gray.svg) no-repeat scroll 0 0 / 100%;
    }
    .navbar:has(.menu-show) .wheel {
        background: url(../images/icons/TDA-grey.png) no-repeat scroll 0 0 / 20px;
    }
    .navbar:has(.menu-show)::after {
        content: " ";
        position: absolute;
        width: 84%;
        bottom: 0;
        border-bottom: 1px solid #ddd;
    }
    .navbar:has(.menu-show) .buttons .icon{
        color: #666;
    }
    .navbar:has(.menu-show) .dropdown>div {
        border-bottom: 5px solid transparent; 
        transition: 0.3s;
    }
    .navbar:has(.menu-show) .dropdown:hover>div {
        border-color: #1c69d4;
    }
    .menu-back{
        display: none;
    }
    .material-symbols-outlined{
        display: none;
    }
}
@media screen and (min-width: 993px) and (max-width: 1023px){
    .dropdown>div {
        padding: 1.5em 0.4em;
    }
}
/* Responsive Design */
@media screen and (max-width: 991px) {
    .navbar.inside-navbar .material-symbols-outlined {
        color: #666;
    }
    .navbar {
        /* padding: 1em 1.5em; */
    }

    .navbar::after{
        width: 88%; 
        border-color: transparent;
    }
    .menu-container {
        background: #fff;
        position: absolute;
        top: 4.3em;
        left: 0;
        width: 100%;
        overflow-y: hidden;
        transition: 0.3s ease-in-out;
    }

    .subitem-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5em;
        width: 140%;
    }
    /* Width */
    .mega-menu::-webkit-scrollbar {
        width: 8px;
    }

    /* Track */
    .mega-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    /* Handle */
    .mega-menu::-webkit-scrollbar-thumb {
        background: #888;
    }

    /* Handle on hover */
    .mega-menu::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

    .mega-menu {
        padding: 1em 1em 1em 1em;
        height: 100%;
        /* overflow-y: scroll; */
    }

    .mega-menu li {
        font-weight: bold;
        font-size: 1.1em;
        position: relative;
    }

    .mega-menu li>div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5em;
    }

    .mega-menu li>div a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5em;
        width: 100%;
    }

    .menu li {
        padding: 0 1em;
        font-size: 1em;
        font-weight: 400;
    }

    .menu a {
        display: block;
        margin: 0.8em 0;
    }

    .menu {
        display: none;
    }

    /* Toggle class for Javascript */
    .menu-show {
        display: block;
    }

    .material-symbols-outlined {
        transition: 0.3s;
        color: #fff;
    }

    /* Toggle class for javascript */
    .icon-rotated {
        transform: rotate(90deg);
    }

    .dropdown>div,
    .sub-dropdown>div {
        cursor: pointer;
        padding: 0.5em;
    }

    .sub-menu {
        font-size: 0.9em;
        display: none;
    }

    /* Toggle class for Javascript */
    .sub-menu-show {
        display: block;
    }

    .dropdown:hover>div,
    .sub-dropdown:hover>div {
        background: transparent;
    }

    /* Hide menu */
    .menu-container {
        height: 0;
    }

    /* Toggle class for javascript */
    .mega-menu-show {
        height: 100vh;
    }

    .dropdown span {
        color: #000;
    }

    .navbar:has(.mega-menu-show) {
        background: #fff;
    }
    .navbar:has(.mega-menu-show) .brand {
        background: url(../images/bmw-gray.svg) no-repeat scroll 0 0 / 100%;
    }
    .navbar:has(.mega-menu-show) .wheel {
        background: url(../images/icons/TDA-grey.png) no-repeat scroll 0 0 / 20px;
    }
    .navbar:has(.mega-menu-show) .buttons .icon{
        color: #666;
    }
    .navbar::after {
        width: 88%;
    }
    .navbar:has(.mega-menu-show)::after {
        content: " ";
        position: absolute;
        width: 88%;
        bottom: 0;
        border-bottom: 1px solid #ddd;
    }
    .navbar:has(.mega-menu-show) .menu{
        margin: 10px 0 0;
    }
    .navbar:has(.mega-menu-show) .material-symbols-outlined{
        color: #000;
    }

    .list_subitems{
        display: none;
    }

    /* .menu{
        position: absolute;
        left: 400px;
        transition: left ease 1s !important;
        -webkit-transition: left ease 1s !important;
    }
    */
    .menu-show {
        position: absolute;
        left: 800px;
        overflow: hidden;
        top: 0;
        height: 100vh;
        width: 100%;
        background: #fff;
    }
    .menu-back{
        display: flex;
        margin-top: 20px;
    }

    

}

@media screen and (max-width: 280px){
.buttons ul li {
    display: inline-block;
    padding: 0px 1px;
}
.brand {
    height: 30px;
    width: 30px;
}
.menu-container {
    top: 3.5em; 
}
}


/* 07-07-2023 newly added css */

@media (max-width: 480px) {

.menu-btn span {
 padding-top:5px;
 font-size: 2em;
}

.buttons ul {
 padding: 0;
 margin: 0;
 line-height: 0.5rem !important;
}

.brand {
 width:45px;
 height:45px;
}

}

/* css end */


/* Responsive Design Banner */
@media screen and (max-width: 767px) {
    h1.slider_title {
        font-size: .875rem;
        font-weight: 700;
        line-height: 1.25rem;
        text-transform: uppercase;
    }
    .slider_top {
        top: 7rem;
        /* left: 4.8rem; */
        width: 100%;
    }
    .banner_btn {
        min-height: 1.5rem;
        min-width: 10rem;
        /* padding: 0.25rem; */
        text-decoration: none;
    }
}

@media (min-width: 1920px) and (max-width: 2560px)  {
    .navbar {
        padding : 0px 5%;
        gap : 2em;
        }
    .dropdown>div { 
        padding : 2em 0.8em 
    }
    .navbar::after { 
        content: " "; position: absolute; width: 90%;
    }     
    .menu {
        top: 5.4em;
    }     
    footer {
        margin-top: 3rem !important;
    }  
    .teaserBoxDiv {
        margin-bottom: 3rem !important;
    }  
}

/* Media Query for Tablets Ipads portrait mode */
@media (min-width: 480px) and (max-width: 768px){
    .subitem-title {
        display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
        /* display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5em;
        width: 240%; */
    }
    .menu-back {
               padding-left: 1rem;
    }
    .tab-view {
        padding: 0 8%;
        display: contents;
    }
    .navbar:has(.mega-menu-show) .menu {
        margin: 10px 0 0;
        width: 93%;
    }
    .sub-tab-view {
        max-width: 70%;
    }
    
    
}
@media (min-width: 769px) and (max-width: 1024px){
    .subitem-title {
        display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
        /* display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5em;
        width: 240%; */
    }
    .menu-back {
               padding-left: 1rem;
    }
    .tab-view {
        padding: 0 8%;
        display: contents;
    }
    .navbar:has(.mega-menu-show) .menu {
        margin: 10px 0 0;
        width: 100%;
    }
    .sub-tab-view {
        max-width: 70%;
    }
    
    
}


