/*
Theme Name: Autobike
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.15.2
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.blog-post-inner .is-divider {
    display: none;
}

.product-summary .woocommerce-Price-currencySymbol {
    font-size: inherit;
    vertical-align: baseline;
}

.price-title {
    display: none;
}

.product-info .price-title {
    display: inline-block;
}

h1 {
    font-size: 30px;
}

h3 {
    font-size: 20px;
}

p {
    font-size: 16px;
}

.tooltipster-base {
    display: none;
}

a {
    transition: all .3s;
}

.searchform-wrapper .autocomplete-suggestions {
    background-color: white;
}

.autocomplete-suggestion .price,
.autocomplete-suggestion .price del,
.autocomplete-suggestion span.amount {
    color: #b50000;
}

.autocomplete-suggestion {
    cursor: pointer;
    color: #232323 !important;
}

.live-search-results {
    position: absolute;
}

/* global end */

/* sidebar start */
.post-sidebar.col {
    padding-right: 0;
}

.widget .is-divider {
    height: 0;
    margin: 10px;
}

#agent_form {
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 15px;
    position: relative;
}

#agent_form .button {
    width: 100%;
}

.widget .widget-title {
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    font-size: 18px;
}

ul.product_list_widget li img {
    width: 100px;
    background-color: white;
    height: 100%;
    top: 0;
}

ul.product_list_widget li {
    margin-left: 0;
    padding-left: 112px;
    background-color: #F4F4F4;
}

.sidebar-menu-link .ux-menu-link__link {
    color: black;
    padding-left: 35px;
    position: relative;
    font-size: 14px;
}

.sidebar-menu-link .ux-menu-link__link::before {
    content: url(./assets/imgs/price-tag.png);
    position: absolute;
    left: 5px;
    margin-top: 2px;
}

.sidebar-news .box-text {
    padding-left: 15px;
}

.sidebar-news
/* sidebar end */

/* header start */

.header-main .header-inner .nav-left {
    justify-content: center;
}

.suggested-keywords {
    display: flex;
    color: white;
    margin-top: 5px;
    font-size: 14px;
}

.suggested-keywords>* {
    margin: 0 5px;
}

.suggested-keywords a {
    color: #e20000;
}

.suggested-keywords a:hover {
    text-decoration: underline;
}

.home-search-form .search-field {
    min-height: 40px;
    padding: 0 30px !important;
}

.stuck .search-field {
    min-height: unset;
}

.nav-dropdown {
    padding: 10px 0;
}

.header-wrapper .header-bottom-logo-link {
    display: none;
}

.header-wrapper.stuck .header-bottom-logo-link {
    display: block;
}

.header.show-on-scroll,
.stuck .header-main {
    background-color: var(--primary-color);
}

/* header end */

/* home start */

.home-banner {
    z-index: 10;
}

.home-search-form {
    max-width: 80%;
}

.home-search-form .ux-search-submit {
    padding: 7px 20px;
    height: 60px;
    border-radius: 0 5px 5px 0;
}

.home-search-form .ux-search-submit>* {
    margin: 0 5px;
}

.home-search-form .search-field {
    height: 60px;
    box-shadow: none;
    border-radius: 5px 0 0 5px;
}

a.tag_item {
    color: #ffcc00;
}

a.tag_item:hover {
    color: #b50000;
    text-decoration: underline;
}

.tag_item:last-child .phay {
    display: none;
}

.search-row>.col {
    margin: 0;
}

.sc_box {
    position: absolute;
    bottom: 100%;
    margin-bottom: 18px;
    left: 0;
    min-width: 600px;
    z-index: 9;
    display: none;
}

.sc_box.show {
    display: block;
}

.box-inner {
    background-color: white;
    box-shadow: 0 10px 20px 0 rgb(186 186 186 / 50%);
    overflow: hidden;
    border-radius: 10px;
    display: flex;
}

.sc_box::after {
    position: absolute;
    top: 100%;
    left: 15px;
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 10px solid white;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    filter: drop-shadow(rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px);
}

.sc_box .col {
    padding: 0;
    height: 350px;
}

.sc_box .col ul {
    height: inherit;
    overflow-y: scroll;
}

.sc_box .col ul::-webkit-scrollbar {
    width: 5px;
}

.sc_box .col ul::-webkit-scrollbar-track {
    background: #fafafa;
}

.sc_box .col ul::-webkit-scrollbar-thumb {
    background: rgb(215, 215, 215);
    border-radius: 99px;
}

.sc_box li {
    display: flex;
    flex-direction: row;
    margin: 0 !important;
    align-items: center;
    padding: 0 10px;
    border-right: 1px solid #b6b6b6;
}

.sc-moto .sc-item a {
    align-items: center;
    width: 100%;
}

.sc-item a span {
    padding-left: 10px;
}

.sc-result {
    position: relative;
}

#agent_form .loading,
.sc-result .loading {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    display: none;
}

.loading-inner {
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.64);
    display: flex !important;
    justify-content: center;
    align-items: center;
    display: none;
}

.sc-result .loading-icon {
    width: 40px;
    height: 40px;
}

.sc-item.focus {
    border: none;
    background-color: #F4F4F4;
}

.sc-item:hover {
    background-color: #F4F4F4;
}

.sc-moto .sc-item:hover {
    background-color: #F4F4F4;
}

.sc-item .box-img {
    width: 50px;
    height: 50px;
}

.sc-item .box-img img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.brand-button {
    height: 60px;
    border-radius: 5px 0 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-width: 2px;
    border-right: 0;
}

/* moto brand */
.moto-brand .col-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.moto-brand .box {
    max-width: 18.5%;
    flex-basis: 18.5%;
    margin: 0 6px 15px;
    border: 1px solid rgba(225, 225, 225, 0.744);
    border-radius: 5px;
    transition: all .4s;
}

.moto-brand .box:hover {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.moto-brand .box .box-text {
    padding-bottom: 0;
}

/* product tab start */

.products-tabs .nav {
    background-color: #C4211C;
    padding-left: 103px;
}

.products-tabs .nav>li>a {
    color: white;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
    transition: all .3s;
}

.products-tabs .nav>li:hover a {
    background-color: var(--primary-color);
}

.products-tabs .nav>li.active a {
    background-color: var(--primary-color);
    transition: all .3s;
}

.products-tabs .tab.see-all {
    margin-left: auto;
    padding: 10px 20px;
    color: white;
    transition: all .4s;
}

.products-tabs .tab.see-all:hover {
    background-color: var(--primary-color);
}

.products-tabs .moto-logo {
    position: absolute;
    left: 15px;
    background-color: #F9F9F9;
    object-fit: contain;
    max-height: 60px;
}

/* prouduct tab end */

.readmore-text {
    position: relative;
    margin-bottom: 20px;
}

.readmore-text::after {
    content: "";
    height: 80px;
    width: 100%;
    background: linear-gradient(0deg, #ffffff 0%, rgba(251, 251, 251, 0) 100%);
    position: absolute;
    bottom: 0;
    z-index: 1;
}

.readmore-text.SeeMore2::after {
    display: none;
}

.readmore-text.SeeMore2 {
    height: auto !important;
    overflow: auto;
}

.readmore.SeeMore2 i {
    transform: rotate(180deg);
}

/* home end */

/* product start */
.product-small.box {
    border: 1px solid #ebebeb;
    border-radius: 5px;
    transition: all .3s;
}

.product-small.box:hover {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.product-small.box .box-image img {
    object-fit: contain;
}

.product-small.box .box-text {
    padding: 15px;
    font-size: 17px;
    overflow: hidden;
}

.product-small.box .product-title a {
    font-weight: bold;
    color: #b50000;

}

.product-small.box .price-wrapper .price {
    margin-bottom: 15px;
}

.product-small.box .product-item-link {
    margin: 0;
    border-width: 1px;
    border-radius: 5px;
    width: 100%;
}

/* product end */
/* single product page start */
.product-page-title {
    background-color: white;
}

.shop-page-title .text-left {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
}

.shop-page-title .text-left>* {
    margin-left: 0;
    margin-bottom: 10px;
}

.product-info .col-inner {
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    height: fit-content;
    padding: 15px;
    display: flex;
    flex-direction: column-reverse;
}


.product-info p {
    margin-bottom: 0;
}

.pd-price-title {
    background-color: #b50000;
    padding: 5px 0px;
    text-align: center;
    margin: 10px 0;
    color: white;
}

.custom-price .flex-row,
.product-info .product-meta {
    justify-content: space-between;
    flex-wrap: wrap;
}

.pd-item {
    margin: 5px 0;
    position: relative;
    max-width: 50%;
    flex-basis: 50%;
}

.pd-area,
.pd-item.total,
.pd-item.name {
    padding-left: 18px;
}

.pd-area::before {
    content: url(./assets/imgs/black-placeholder-variant.png);
    position: absolute;
    left: 0;
    margin-top: 3px;
}

.pd-item.name::before {
    content: url(./assets/imgs/coin.png);
    position: absolute;
    left: 0;
    margin-top: 3px;
}

.pd-item.total::before {
    content: url(./assets/imgs/price-tag.png);
    position: absolute;
    left: 0;
    margin-top: 3px;
}

.pd-item.value {
    text-align: right;
}

.custom-price {
    display: none;
    margin-bottom: 10px;
}

.product-tabs {
    background-color: white;
    max-width: 1250px;
    padding: 5px 15px;
}

#product-sidebar {
    padding-left: 0;
    padding-top: 15px;
}

.shop-container .content-row>div:not(div#product-sidebar) {
    border-right: none;
}

.product-tabs li a {
    padding: 5px 20px;
    font-size: 16px;
}

.product-tabs li.active a {
    background-color: #ff0000 !important;
}

.video-col .col-inner {
    border: 1px solid #ebebeb;
    border-radius: 5px;
    overflow: hidden;
}

.video-col .col-inner>.img {
    margin-bottom: 0;
}

.video-col .box-text {
    padding: 15px;
}

.video-col .box-text h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 52px;
}

.sticky {
    position: fixed;
    top: 70px;
    z-index: 99;
    left: 0;
    right: 0;
    margin: auto;
}

/* single product page end */

/* dai ly page  */
.authorized-item {
    border: 1px solid #ebebeb;
    border-radius: 5px;
    overflow: hidden;
    transition: all .4s;
    height: 100%;
}

.authorized-item:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.authorized-item .box-text {
    padding: 15px;
}

.authorized-item .post-title {
    margin-bottom: 10px;
}

.authorized-item .box-text .flex-row {
    justify-content: flex-start;
    align-items: flex-start;
}

.authorized-item .box-text .flex-row i {
    margin: 3px 5px 0 0;
}

.authorized-item .box-text a:hover {
    text-decoration: underline;
}

/* contact page */

#contact_form.form-flat input,
#contact_form.form-flat textarea,
#contact_form.form-flat select {
    border-radius: 10px !important;
    height: 50px;
}

.map-contact iframe {
    width: 100% !important;
    height: 200px !important;
}

/* footer  */
.ft_social {
    justify-content: flex-start;
}

.ft_social .social-item {
    margin-right: 10px;
}

#footer section {
    z-index: 0;
}

/* 
  ##Device = Low Resolution Tablets (Landscape)
  ##Screen = B/w 481px to 767px
*/
@media (max-width: 1024px) {

    #page_header_banner {
        padding: 35px 0 20px 0 !important;
    }

    .product-tabs {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: scroll;
    }

    .product-tabs>li>a {
        white-space: nowrap;
    }
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (max-width: 480px) {
    #key_word,
    .button, button, input[type=submit], input[type=reset], input[type=button],
    input[type=email],
    input[type=date],
    input[type=search],
    input[type=number],
    input[type=text],
    input[type=tel],
    input[type=url],
    input[type=password],
    textarea,
    select,
    .select-resize-ghost,
    .select2-container .select2-choice,
    .select2-container .select2-selection {
        font-size: 14px;
    }

    .home-search-form .search-field {
        padding: 0 15px !important;
    }

    .products-tabs .nav {
        padding-left: 15px;
        padding-right: 15px;
    }

    .products-tabs .moto-logo {
        position: relative;
        left: 0;
    }

    .product-search-row>.col>.col-inner {
        padding: 20px 15px !important;
    }

    .home-search-form {
        max-width: 100%;
    }

    .home-search-form .ux-search-submit span {
        display: none;
    }

    .moto-brand .box {
        max-width: 30%;
        flex-basis: 30%;
    }

    .products-tabs .moto-logo {
        position: static;
        height: inherit;
    }

    .product-small.box .product-item-link {
        padding: 0 10px;
        font-size: 14px;
    }

    .products-tabs .tab.see-all,
    .products-tabs .nav>li>a {
        font-size: 14px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .product-small.box .product-title a {
        min-height: 41.6px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}