﻿/* Temporary Styles  -  Will merge in with site.css when finished */


@media only screen and (max-width: 992px) {
    header {
        top: 0;
        z-index: 200;
    }
}


/* Top Header */
.mobile-header {
}

.mobile-header__top {
    display: flex;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

    .mobile-header__top .mobile-header__logo {
        flex: 1 50%;
    }

        .mobile-header__top .mobile-header__logo img {
            max-height: 40px;
        }

    .mobile-header__top .mobile-header__user-icons {
        flex: 1 30%;
    }

    .mobile-header__top .basket-account-currency-menu {
    }

        .mobile-header__top .basket-account-currency-menu ul {
            float: right;
        }

        .mobile-header__top .basket-account-currency-menu #basket-menu-item,
        .mobile-header__top .basket-account-currency-menu #account-menu-item,
        .mobile-header__top .basket-account-currency-menu #currency-menu-item {
            float: unset;
            display: inline-block;
            height: 25px;
        }

            .mobile-header__top .basket-account-currency-menu #account-menu-item #account-menu-username {
                display: none;
            }

            .mobile-header__top .basket-account-currency-menu #currency-menu-item #selected-currency {
                top: -4px;
            }


    .mobile-header__top .mobile-header__icon {
        width: 40px;
        text-align: center;
        position: relative;
    }

        .mobile-header__top .mobile-header__icon img {
            height: 20px;
            margin: 0 auto;
        }

    .mobile-header__top .mobile-header__icon--currency {
        font-size: 25px;
        color: #ffce06;
    }



/* Sub Header Buttons Start */

.mobile-sub-header {
    background: #ffce06;
    padding: 0;
    margin: 0 -15px;
    width: calc(100% + 30px);
}

.mobile-header__buttons {
    display: flex;
    align-items: center;
}

    .mobile-header__buttons .mobile-header__icon {
        flex: 1 20%;
        text-align: center;
        position: relative;
        padding-top: 10px;
        padding-bottom: 5px;
    }

        .mobile-header__buttons .mobile-header__icon img {
            height: 20px;
            font-size: 20px;
            display: block;
            margin: 5px auto 5px;
            color: #000;
        }

        .mobile-header__buttons .mobile-header__icon.active:after {
            top: 100%;
            left: 50%;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            z-index: 10;
        }

        .mobile-header__buttons .mobile-header__icon.active:after {
            border-color: rgba(136, 183, 213, 0);
            border-top-color: #ffce06;
            border-width: 8px;
            margin-left: -8px;
        }

        .mobile-header__buttons .mobile-header__icon i {
            width: 40px;
            font-size: 20px;
            display: block;
            margin: 0 auto 3px;
            color: #000;
        }

    .mobile-header__buttons .mobile-header__icon-text {
        font-size: 14px;
        color: #000;
    }

/* All mobile dropdowns */
.mobile-menu-dropdown {
    box-shadow: 0px 7px 20px -10px rgba(255, 255, 255, 0.1);
}


/* Sub Header Buttons End */
/* Mobile Search Pop up Start*/
.mobile-header__search {
    display: none;
    padding: 10px;
    background: #000;
    position: relative;
}

.open {
    display: block;
}

.mobile-header__search #search-area {
    float: none;
    margin-bottom: 0;
}

.mobile-header__search #SearchTerm {
    display: block;
    padding: 10px;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin: 0;
    border: none;
    border-radius: 0;
    background-color: #fff;
}

.mobile-header__search #search-results-container {
    left: 10px;
}
/* Mobile Search Pop up End*/



/* Mobile Menu Start */

.mobile-header__main-menu {
    display: none;
    background-color: #000;
}

    .mobile-header__main-menu .mobile-menu {
        padding-top: 0;
        position: relative;
        z-index: 0;
    }

    .mobile-header__main-menu #phone-container {
        margin-bottom: 0;
    }

#about-container nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Mobile Menu End */

/* Quick Browse Menu */

.mobile-header__quick-browse {
    display: none;
    background-color: #e6e6e6;
    overflow-y: scroll;
    height: 70vh;
}

    .mobile-header__quick-browse .category-mega-menu-row {
        position: relative;
        border: none;
        top: 0;
        display: block !important;
        visibility: visible !important;
    }

    .mobile-header__quick-browse .mega-menu-content-right {
        padding-left: 15px;
    }

    .mobile-header__quick-browse a.category-mega-menu {
    }

    .mobile-header__quick-browse .category-mega-menu ul {
        margin-top: 0;
    }

    .mobile-header__quick-browse a.category-mega-menu:before {
        font-family: "Font Awesome 5 Pro";
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font-weight: 400;
        content: "\f054";
        margin-right: 10px;
    }

    .mobile-header__quick-browse a.category-mega-menu.active:before {
        content: "\f078";
    }

    .mobile-header__quick-browse a.category-mega-menu-child {
        font-weight: 400;
        padding-left: 21px;
        margin-bottom: 2px;
    }


/* Vehicle Finder Menu Start */


.mobile-header__vehicle-select {
    display: none;
    padding: 10px;
    background: #000;
}

    .mobile-header__vehicle-select select {
        display: block;
        padding: 10px;
        margin: 0;
        width: 100%;
        position: relative;
        background: #fff;
        border: none;
        border-radius: 0;
        color: #000;
        -webkit-appearance: none;
    }

.select {
    border: 1px solid #ccc;
    overflow: hidden;
    width: 100%;
    position: relative;
    display: block;
    margin-top: 10px;
}


    .select::after {
        content: "\f078";
        font-family: "Font Awesome 5 Pro";
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font-weight: 400;
        color: #fff;
        padding: 9px 8px;
        position: absolute;
        right: 0;
        top: 0;
        background: #000;
        z-index: 1;
        text-align: center;
        width: 10%;
        height: 100%;
        pointer-events: none;
        box-sizing: border-box;
    }


    .select:first-of-type {
        margin-top: 0;
    }


/*select.mobile-header__vehicle-model,
select.mobile-header__vehicle-diagram {
    display: none;
}*/

/* Vehicle Finder Menu End */


/* Page Overlay Start */
.page-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 50;
}

    .page-overlay.active {
        display: block;
    }


/* Page Overlay End */







/* Part Theme */

@media only screen and (max-width: 992px) {
    body .parts-theme h1.diagram {
        margin: 10px 10px 5px;
    }
    body .parts-theme h2.diagram {
        margin: 0px 10px 5px;
    }

        body .parts-theme h1.diagram span {
            display: block;
        }

            body .parts-theme h1.diagram span:nth-child(1) {
                font-size: 14px;
            }

            body .parts-theme h1.diagram span:nth-child(2) {
                font-size: 16px;
                font-family: 'open_sansbold', arial;
            }
}



.parts-theme .diagram-image-container {
    overflow: hidden;
    height: 450px;
    position: relative;
}

@media only screen and (max-width: 567px) {
    .parts-theme .diagram-image-container {
        height: 300px;
    }
}

.parts-theme .diagram-image {
    height: 100%;
    margin: 0 auto;
    display: block;
}

.parts-theme .diagram-arrow {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    background-color: #FFCE06;
    z-index: 20;
    top: 50%;
    transform: translateY(-50%);
}

.parts-theme .diagram-arrow--next {
    right: -18px;
}

    .parts-theme .diagram-arrow--next i {
        left: 20px;
    }


.parts-theme .diagram-arrow--previous {
    left: -18px;
}

    .parts-theme .diagram-arrow--previous i {
        right: 11px;
    }

.parts-theme .diagram-arrow i {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #000;
}


.parts-theme .part-list {
    display: block;
    border: solid 1px #000;
    max-height: 250px;
    overflow-y: scroll;
    margin: 5px 10px;
}

@media only screen and (min-width: 567px) {
    .parts-theme .part-list {
        max-height: 350px;
    }
}

.parts-theme .part-list * {
    font-size: 14px;
}

.parts-theme .part-list .part-list__row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.parts-theme .part-list .part-list__row--header {
    background-color: #000;
    top: 0;
    position: sticky;
    position: -webkit-sticky;
    z-index: 10;
}

    .parts-theme .part-list .part-list__row--header .part-list__col {
        font-family: 'open_sansbold', sans-serif;
        color: #fff !important;
    }

/*.parts-theme .part-list .part-list__row:nth-child(even) {
        background-color: #fff;
    }*/

.parts-theme .part-list .part-list__row-first-part {
    padding: 4px 0;
    align-items: center;
}

.parts-theme .part-list .part-list__row: {

}

.parts-theme .part-list .part-list__col:nth-child(1) {
    flex: 1 10%;
    font-weight: 700;
    padding-left: 5px;
}

.parts-theme .part-list .part-list__col:nth-child(2) {
    flex: 1 25%;
    font-weight: 300;
    font-size: 10px;
}

.parts-theme .part-list .part-list__col:nth-child(3) {
    flex: 1 55%;
    font-weight: 700;
}

.parts-theme .part-list .part-list__col:nth-child(4) {
    flex: 5%;
}

.parts-theme .part-list__show-more {
    color: #000;
    padding: 0 5px;
    margin-right: 3px;
}

.parts-theme .part-list__row .part-list__condition {
    position: relative;
}

    .parts-theme .part-list__row .part-list__condition span {
        font-size: 10px;
    }

    .parts-theme .part-list__row .part-list__condition .main-price {
        margin-left: 5px;
    }


.parts-theme .part-list__row .icon-info {
    width: 14px;
    height: 14px;
    background-size: 14px;
    margin-right: 10px;
}

.parts-theme .part-list__row .green-dot-visible {
    position: relative;
    margin-right: 0px;
    width: 9px;
    height: 9px;
    top: 1px;
}



.part-list__content {
    padding: 20px 10px 20px;
    flex: 1 100%;
    background-color: #fbfbfb;
}

.part-list__content-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    background-color: #e6e6e6;
}

    .part-list__content-row:not(:first-child) {
        margin-top: 10px;
    }

.part-list__content-col {
    font-weight: 700;
}

    .part-list__content-col:nth-child(1) {
        flex: 1 50%;
        padding: 5px;
    }

    .part-list__content-col:nth-child(2) {
        flex: 1 50%;
        text-align: right;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }

.part-list__product {
    position: relative;
}

.part-list__content-col-product {
}

.part-list__content-col-price {
    font-family: open_sansbold;
}

.part-list__content-col-price span {
    font-size: 12px !important;
}

.part-list__content-col-price .main-price{
    margin-left: 5px;
}
.part-list__content-info, .part-list__content-info a {
    flex: 1 100%;
    padding: 4px 4px 0;
    background-color: #fff;
    font-size: 10px;
}

.part-list__qty {
    display: inline-block;
}

    .part-list__qty input {
        width: 30px;
        height: 100%;
        text-align: center;
        margin: 0;
        padding: 5px;
    }

.part-list__add-to-basket {
    display: inline-block;
    margin-right: 5px;
}

    .part-list__add-to-basket > span {
        top: -4px;
        margin-right: 8px;
        display: inline-block;
        position: relative;
    }

@media only screen and (max-width:370px) {
    .part-list__add-to-basket i {
        display: none;
        top: auto;
        top: unset;
    }

    .part-list__add-to-basket > span {
        margin-right: 0;
    }
}


.part-list__buy {
    background: #FFCE06;
    padding: 7px;
}

.part-list__buy--unavailable {
    opacity: .5;
}

@media only screen and (max-width: 992px) {

    .parts-theme .diagram-container {
        height: auto;
        margin: 0 10px;
        position: relative;
        height: 300px;
    }
}

@media only screen and (max-width: 768px) {

    .parts-theme .diagram-container {
        height: 350px;
    }

    .parts-theme .diagram-image-container {
        height: 350px;
    }
}


@media only screen and (max-width: 600px) {

    .parts-theme .diagram-container {
        height: 200px;
    }

    .parts-theme .diagram-image-container {
        height: 200px;
    }
}
