/* 
Theme Name: Grupo Nombela
Theme URI: https://gruponombela.com/
Description: Grupo Nombela Child
Author: ecomlabs
Author URI: https://ecomlabs.es/
Template: hello-elementor
Version: 2.0.0
Text Domain: gruponombela
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ELEMENTOR */
.e-con {
    transition: none;
}

/* AUTOMOTIVE PLUGIN */
.car_listings div.inventory {
    -webkit-transform: none;
    transform: none;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    box-shadow: none;
    border: none;
    background: #fff;
    padding: 20px;
    border-radius: 28px;
    border: none;
}
.car_listings div.inventory a {
    min-height: auto;
}
.car_listings div.inventory .options-primary {
    width: 100%;
    position: inherit;
    left: inherit;
    top: inherit;
    padding: 0px;
    float: none;
    font-size: inherit;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    line-height: inherit;
    margin-bottom: 15px;
    list-style-type: none;
}
.car_listings div.inventory .options-primary li {
    color: #555;
}
.content-nav ul li.gradient_button:hover, .gradient_button:hover {
    background-color: inherit;
    background: inherit;
    filter: inherit;
}
.car_listings div.inventory.options-primary {
    margin-bottom: 20px;
    width: auto;
    padding-left: 5px;
}
.car_listings div.inventory .title {
    max-width: 100%;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 22px;
    line-height: inherit;
    left: inherit;
    right: inherit;
    position: inherit;
    margin-bottom: 0.5em;
}
.car_listings div.inventory.has-tax-label .price {
    display: none
}
.car_listings div.inventory a.inventory .preview-container {
    width: 100%;
    height: 100%;
    max-height: 240px;
    overflow: hidden;
  }
.car_listings div.inventory a.inventory .preview {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover; 
    background: #e7e7e3;
    object-position: center;
    border-radius: 28px;
    max-width: inherit;
    border: inherit;
    position: inherit;
    right: inherit;
    left: inherit;
    float: none;
    top: inherit;
}
.car_listings div.inventory .option,
.car_listings div.inventory .price b {
    line-height: inherit;
    color: #131313 !important;
    font-size: inherit;
    vertical-align: middle;
}


.generate_new .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.generate_new .pagination li {
    margin: 0 5px;
}

.generate_new .pagination li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    font-size: 16px;
    color: var(--e-global-color-secondary);
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.generate_new .pagination li.active a {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.generate_new .pagination li.disabled a {
    color: #adb5bd;
    background-color: #e9ecef;
    border-color: #dee2e6;
    cursor: not-allowed;
    pointer-events: none;
}

.generate_new .pagination li a:hover, .car_listings .pagination li a:focus {
    background-color: var(--e-global-color-secondary);
    color: #fff;
    border-color: var(--e-global-color-secondary);
}

.generate_new .pagination li a i {
    font-size: 18px;
}

div.inventory table td.spec, div.inventory table .spec, .post-entry table td.spec, .post-entry table .spec {
    vertical-align: middle;
}
.listing_select .ts-wrapper.single .ts-control {
    box-shadow: none;
    background-color: #fff;
    background: #fff;
    border-radius: 25px;
    padding: 8px 30px 8px 20px !important;
    min-width: 200px;
    font-size: 1em;
    line-height: inherit;
    font-family: inherit;
}
.listing_select .ts-wrapper.single .ts-control>input {
    opacity: 1;
    position: inherit;
    left: auto;
    font-size: 1em;
    line-height: inherit;
    font-family: inherit;
    float: none;
}
.inventory-listing .content-nav-buttons .gradient_button {
    padding: 12px 16px 12px 16px;
    height: auto;
    line-height: 38px;
}

.inventory-listing .content-nav-buttons .content-nav ul li a {
    font-size: 18px;
    font-weight: normal;
    line-height: normal;
    text-shadow: none;
}

body .ts-wrapper .ts-control::after, body .ts-wrapper.single .ts-control::after {
    right: 18px;
}
.car_listings div.inventory .view-details {
    border-radius: 12px 12px 12px 12px;
    padding: 12px 24px 12px 24px;
    border: none;
    background-color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    line-height: var(--e-global-typography-accent-line-height);
    color: var(--e-global-color-accent);
    cursor: pointer;
    height: auto;
    text-shadow: none;
    position: inherit;
    left: inherit;
    bottom: inherit;
    right: inherit;
}
.car_listings div.inventory .view-details i {
    vertical-align: middle;
}
.recent-vehicles-wrap {
    display: none !important;
}

@media only screen and (max-width: 991px) {
    .car_listings div.inventory a.inventory .preview-container {
        max-height: 380px;
      }
}

@media only screen and (max-width: 767px) {
    .car_listings div.inventory .inventory .title {
        left: 0px;
        max-width: 100%;
    }
    .car_listings div.inventory a.inventory .preview {
        width: 100%;
        max-width: 100%;
        max-height: none;
        left: 0;
        float: none;
        display: block;
        margin-bottom: 0;
    }
    .row.generate_new .car_listings.row {
        max-width: 100%;
    }
    #vehicle-gallery-dd4dc57 .main-slider {
        height: 420px !important;
    }
}

/* ELEMENTOR */
.elementor-form .elementor-field-type-recaptcha_v3 {
    display: none
}
.elementor-posts .elementor-post {
    background: #fff;
    border-radius: 28px;
}
.elementor-posts .elementor-post .elementor-post-date {
    border: 1px solid var( --e-global-color-primary );
    padding: 4px 10px;
    border-radius: 4px;
}
.elementor-posts .elementor-post .elementor-post__text {
    padding: 12px 35px 12px 0px;
}
.elementor-posts .elementor-post .elementor-post__text .elementor-post__read-more {
    border-radius: 12px 12px 12px 12px;
    padding: 16px 32px 16px 32px;
    background-color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    line-height: var(--e-global-typography-accent-line-height);
    color: var(--e-global-color-accent);
    cursor: pointer;
}

/* EVENT CALENDAR */
#tribe-events-pg-template {
    max-width: 100%;
}