﻿.vehicle-search-panel {
    width: 100%;
    position: fixed;
    top: 100%;
    -webkit-transition: all 0.75s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 0.75s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2110;
    display: flex;
    justify-content: center;
}

    .vehicle-search-panel.showoverlay {
        top: 30px;
    }

    .vehicle-search-panel svg {
        width: 40px;
        height: 40px;
        filter: grayscale(100%);
    }

/*---Panel---*/

.panel-control .panel-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    height: 80px;
    border-bottom: 1px solid #e3e3e3;
}

    .panel-control .panel-title .close {
        font-size: 2.5rem;
        font-weight: 500;
        color: #515151;
        opacity: 1;
    }

    .panel-control .panel-title .man-logo {
        width: 30px;
        height: 30px;
        float: left;
        font-size: 1.5rem;
        text-align: left;
    }

        .panel-control .panel-title .man-logo:hover {
            cursor: pointer;
        }

    .panel-control .panel-title .fs-title {
        font-size: 20px;
        text-transform: capitalize;
        color: #333;
        letter-spacing: 2px;
        font-weight: bold;
        margin: 0;
    }

.container-fluid.panel-container {
    padding: 0 30px !important;
}

.panel-button {
    padding: 40px 0;
    /*border-radius: 2px;
    background: linear-gradient(#006689 0%, #047ea7 100%);
    box-shadow: 0px 3px 6px rgba(31, 146, 180, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;*/
}

    .panel-button:hover {
        opacity: 0.8;
    }

    .panel-button span {
        font-size: 0.74rem;
        display: block;
    }

    .panel-button.panel-second-row {
        background: linear-gradient(#508cac 0%, #5ea2c6 100%);
    }

    .panel-button.panel-third-row {
        background: linear-gradient(#008ebf 0%, #0095c6 100%);
    }

    .panel-button.in-stock-button {
        background: linear-gradient(#179500 0%, #158100 100%);
    }

.center-search-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #f0f0f0;
    padding: 20px 0;
}

    .center-search-buttons .btn {
        margin: 0 10px;
    }

/*---//Panel---*/

.dropdown-group {
    max-width: 100%;
    padding-bottom: 10px;
}

    .dropdown-group .dropdown + .dropdown {
        margin-top: 0;
        border-top: 0;
    }

    .dropdown-group .dropdown {
        border-radius: 0;
    }

.dropdown-body {
    padding: 0;
}

    .dropdown-body input[type=text],
    .dropdown-body select {
        margin-top: 10px;
    }

.dropdown-default > .dropdown-heading {
    color: #333;
    background-color: #fff;
    border-color: #e4e5e7;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .dropdown-default > .dropdown-heading a {
        text-decoration: none;
        text-align: left;
        color: #515151;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #ececec;
        height: 50px;
        margin: 0 auto;
        cursor: pointer;
        padding: 0 30px;
        font-weight: 500;
    }

        .dropdown-default > .dropdown-heading a:after {
            content: "";
            position: relative;
            top: 1px;
            display: inline-block;
            font-family: "Font Awesome 5 Pro";
            font-style: normal;
            font-weight: 700;
            line-height: 1;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            transition: transform .25s linear;
            -webkit-transition: -webkit-transform .25s linear;
        }

        .dropdown-default > .dropdown-heading a .highlight {
            color: #009892;
            font-weight: 700;
            display: contents;
        }

        .dropdown-default > .dropdown-heading a .shaded {
            color: #b7b6b6;
            display: contents;
        }

        .dropdown-default > .dropdown-heading a[aria-expanded="true"] {
            background-color: #009892;
            color: white;
        }

            .dropdown-default > .dropdown-heading a[aria-expanded="true"] .highlight {
                color: white;
            }

            .dropdown-default > .dropdown-heading a[aria-expanded="true"]:after {
                content: "\f106";
            }

        .dropdown-default > .dropdown-heading a[aria-expanded="false"]:after {
            content: "\f107";
        }

    .dropdown-default > .dropdown-heading h6.dropdown-title {
        margin-bottom: 0;
    }

    .dropdown-default > .dropdown-heading h4.dropdown-title {
        margin-bottom: 0;
        font-size: 18px;
        color: #515151 !important;
    }

/*---Vehicle Search DDL---*/
/*Rename?*/

.vehicle-search li.selected-item {
    background-color: #f0f0f0 !important;
}

    .vehicle-search li.selected-item:after {
        content: "\f00c";
        font-size: 22px;
        color: #009892;
        font-family: "Font Awesome 5 Pro";
        font-weight: 500;
        margin-left: auto;
    }

/*Is still neded?*/
.selected-item .fa-check {
    margin-left: auto;
    color: #009892 !important;
    filter: grayscale(0%);
}

.vehicle-search li:first-of-type {
    box-shadow: inset 0px 10px 5px -7px #b8b8b8;
    border-top: 0;
}

.vehicle-search li:last-of-type {
    box-shadow: inset 0px -7px 5px -7px #ececec;
}
/*------------------------------*/
ul.vehicle-search {
    padding-inline-start: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.vehicle-search li {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    border-top: 1px solid #e4e4e4;
    height: 50px;
    margin: 0 auto;
    cursor: pointer;
    padding: 0 30px 0 40px;
    background-color: #f0f0f0;
}

    .vehicle-search li a {
        color: #515151;
    }

    .vehicle-search li img {
        height: 40px;
        filter: grayscale(100%) opacity(70%);
    }

    .vehicle-search li img {
        margin-right: 20px;
    }

    .vehicle-search li:hover, .vehicle-search li:focus {
        background-color: #dfdede;
    }
/*-------------------------------*/
ul .vehicle-search {
    padding: 1rem 2rem;
}

.vehicle-search li label {
    margin: 0;
    font-weight: 500;
    display: block;
    line-height: 40px;
    margin-right: 10px;
}

    .vehicle-search li label:hover {
        cursor: pointer;
    }

.vehicle-search li {
    line-height: 50px;
}
/*---//Vehicle Search DDL---*/

/*---Body Types---*/
.search-body-type a {
    color: #555;
}

.search-body-type li {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .search-body-type li:nth-of-type(even) {
        background: #f0f0f0;
    }

.body-type-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    font-weight: 700;
}

    .body-type-description span {
        font-size: 0.8rem;
        font-weight: 500;
    }
/*---//Body Types---*/

/*---Search Budget---*/
.search-budget li {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .search-budget li:nth-of-type(even) {
        background: #f0f0f0;
    }

    .search-budget li a {
        color: #515151;
    }
/*---//Search Budget---*/

/*---Make\Model---*/
.make-image-row {
    padding: 0 30px;
}

    .make-image-row img {
        padding: 10px;
    }

.search-model li {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .search-model li:nth-of-type(even) {
        background: #f0f0f0;
    }
/*---//Make\Model---*/

#vehicle-search-form {
    text-align: center;
    position: relative;
    width: 700px;
    height: calc(100vh - 78px);
}

    #vehicle-search-form fieldset {
        background: #fff;
        border: 0 none;
        border-radius: 0px;
        box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
        box-sizing: border-box;
        width: 100%;
        padding-bottom: 30px;
        /*stacking fieldsets above each other*/
        position: relative;
    }

        #vehicle-search-form fieldset li:hover {
            cursor: pointer;
        }

        #vehicle-search-form fieldset#body-search,
        #vehicle-search-form fieldset#budget-search {
            padding-bottom: 0;
        }

    #vehicle-search-form input,
    #vehicle-search-form select {
        padding: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
        color: #2C3E50;
        font-size: 13px;
    }

    #vehicle-search-form input,
    #vehicle-search-form select {
        width: 88%;
    }

    #vehicle-search-form .field-error {
        color: red;
        display: block;
    }

    #vehicle-search-form input:focus,
    #vehicle-search-form textarea:focus {
        -moz-box-shadow: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        border: 1px solid #017701;
        outline-width: 0;
        transition: All 0.5s ease-in;
        -webkit-transition: All 0.5s ease-in;
        -moz-transition: All 0.5s ease-in;
        -o-transition: All 0.5s ease-in;
    }

    #vehicle-search-form .action-button {
        width: 88%;
        background: #017701;
        font-weight: bold;
        color: #fff;
        border: 0 none;
        border-radius: 5px;
        cursor: pointer;
        padding: 20px 5px;
        margin: 10px 0;
        letter-spacing: 1.5px;
    }

        #vehicle-search-form .action-button:hover,
        #vehicle-search-form .action-button:focus {
            box-shadow: 0 0 0 2px white, 0 0 0 3px #017701;
        }

    /*---Affect the scroll on the search only---*/
    #vehicle-search-form::-webkit-scrollbar {
        background: transparent;
        width: 9px !important;
    }

    #vehicle-search-form::-webkit-scrollbar-thumb {
        background: #007092;
    }


    #vehicle-search-form::-webkit-scrollbar {
        background: transparent;
        width: 3px;
    }

    #vehicle-search-form::-webkit-scrollbar-thumb {
        background: #0094c6;
    }
/*---//Affect the scroll on the search only---*/

@media only screen and (min-device-width: 300px) and (max-width: 767px) and (orientation: landscape) {
    .vehicle-search-panel.showoverlay {
        top: 0;
    }

    .panel-container span {
        display: block;
    }

    .panel-button {
        min-height: 40px;
        padding: 20px 0;
    }

    .dropdown-group {
        padding-bottom: 40px;
    }

    #vehicle-search-form {
        height: 100vh;
        width: 100%;
    }
}

/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

    .body-type-description {
        font-size: 1.4rem;
    }

        .body-type-description span {
            font-size: 1.2rem;
        }
}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/


@media (min-width: 320px) and (max-width: 480px) and (orientation: portrait) {
    .vehicle-search-panel {
        width: 100%;
        height: calc(100vh - 45px);
    }

        .vehicle-search-panel.showoverlay {
            top: 0;
        }

    .panel-container span {
        display: block;
    }

    .panel-button {
        min-height: 40px;
        padding: 19px 0px;
    }

    .center-search-buttons {
        width: 100%;
        padding: 20px;
    }

        .center-search-buttons .btn-lg {
            padding: .25rem .5rem !important;
            font-size: 1.25rem
        }

    .dropdown-group {
        padding-bottom: 40px;
    }

    .search-body-type li {
        padding: 20px 0px;
    }

    .body-type-description span {
        text-align: left;
    }

    #vehicle-search-form {
        height: 100vh;
        width: 100%;
    }
}

/*
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) and (orientation: landscape) {
    .body-type-description {
        font-size: 1.4rem;
    }

        .body-type-description span {
            font-size: 1rem;
        }
}
