/*	
	Theme Name: Motors - Child Theme
	Theme URI: http://motors.stylemixthemes.com/
	Author: StylemixThemes
	Author URI: http://stylemixthemes.com/
	Description: Motors Child theme
	Version: 4.0
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Tags: blue, red, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, responsive-layout, flexible-header, custom-background, custom-colors, custom-header, custom-menu, editor-style, sticky-post, theme-options
	Text Domain: motors-child
    Template: motors

    This theme, like WordPress, is licensed under the GPL.
    Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Add your own styles here */

.stm-view-by {
    display: none !important;
}
.n2-ss-slider [data-mode=stretch] .n2-ss-slide-background-image img{
	object-fit: cover !important;
}

#widget_lead2team{
	right: unset !important;
	left: 15px !important;
}
.col-md-12.col-sm-12.stm-filter_listing_status {
    display: none;
}
#listings-result img.img-responsive {
    width: 100%;
}
.stm-isearch-results-carousel-wrap .stm-template-front-loop .price .heading-font{
	color: #fff !important;
}
#ocultar_loadmore .load-more-btn
{
display:none;
}
@media screen and (max-width:768px) {
	.stm-listing-tabs ul.heading-font a {
		text-overflow: ellipsis;
		overflow: hidden;
		white-space: nowrap;
		max-width: 240px;
	}
	.topbar-mobile {
		display: flex !important;
		justify-content: space-around;
		padding-bottom: 20px;
	}
}

a.compare-fixed-link.pull-right.heading-font {
    color: #fff !important;
}

a.compare-fixed-link.pull-right.heading-font:hover {
    color: #1e0f9a !important;
}
.topbar {
    display: flex;
    justify-content: end;
    column-gap: 20px;
}

.redes li {
    list-style: none;
    padding: 0 5px;
}

.redes {
    display: flex;
    align-items: center;
}

.redes li a {
    font-size: 26px;
    color: #303234;
}

/* Estilos básicos para el header
#header  {
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
	background: #fff;
	transition: all 0.3s ease; /* Añadimos una transición suave
}

Estilos específicos para pantallas pequeñas (mobile)
@media (max-width: 768px) {
    .fixed {
        position: fixed !important;
    }
} */

/* Estilos para las filas dentro del footer */
.footer-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px; /* Espaciado entre las filas */
	margin-left: auto;
	margin-right: auto;
	max-width: 1240px;
	justify-content: space-between;
}

/* Estilos para las columnas */
.footer-col {
    padding: 15px;
}

/* Primera fila: 2 columnas (50% de ancho cada una) */
.col-17 {
    flex: 0 0 17%; /* Cada columna ocupa el 50% del ancho */
}
.col-25 {
    flex: 0 0 25%; /* Cada columna ocupa el 50% del ancho */
}

/* Responsivo: ajustar el footer en pantallas pequeñas */
@media (max-width: 768px) {
    .col-17, .col-25 {
        flex: 0 0 100%; /* Las columnas ocuparán el 100% del ancho en pantallas pequeñas */
        margin-bottom: 15px; /* Espaciado entre columnas en vista móvil */
    }
}

p.titulo-footer {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.mi_footer a {
    color: #fff !important;
    display: block;
}
.mi_footer a:hover {
    color: #fff;

}
div#footer-main {
    padding: 30px 0;
}

#footer-main img {
    padding-bottom: 20px;
}

#footer-main p.no-p {
	color: #fff;
	padding: 0;
	margin: 10px 0px;
}

#footer-main p.small {
    font-size: 12px;
}
.mi_footer ul {
    list-style: none;
    padding-inline-start: 0;
}

.mi_footer ul li {
    margin: 0;
}

/* Menu nuevo */
/* Barra superior */
.jc-top-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    font-size: 14px;
}

.jc-social-media a {
    margin-right: 15px;
    color: white;
    text-decoration: none;
}

.jc-language-selector {
    display: flex;
    align-items: center;
}

/* Contenedor del menú */
.jc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #444;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.jc-logo img {
    max-height: 50px;
}

.jc-main-menu ul {
    display: flex;
    list-style: none;
}

.jc-main-menu ul li {
    margin-right: 20px;
}

.jc-main-menu ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

.jc-hamburger-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jc-main-menu ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #444;
        display: none;
    }

    .jc-main-menu ul li {
        margin-right: 0;
        border-bottom: 1px solid #555;
    }

    .jc-hamburger-menu {
        display: block;
    }

    .jc-main-menu.jc-active ul {
        display: flex;
    }

    .jc-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .jc-header {
        justify-content: space-between;
    }
}

.cky-revisit-bottom-right{
    right: 85px !important;
}

/* New Post */

/* General Styles for Blog Posts */
.new-post .single-post {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding: 20px;
}

/* Main Content Area */
.new-post .main-content {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

/* Content Area */
.new-post .content-area {
    width: 75%;
    padding-right: 30px;
}

/* Post Title */
.new-post .post-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
}
.post-thumbnail {
    width: 100%;
}
/* Post Thumbnail */
.new-post .post-thumbnail img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Post Meta (Author, Date, Categories) */
.new-post .post-meta {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.new-post .post-meta span {
    margin-right: 15px;
}

.new-post .post-meta .post-author {
    font-weight: bold;
}

.new-post .post-meta .post-date {
    color: #1e0f9a;
}

.new-post .post-meta .post-categories {
    color: #27ae60;
}

/* Post Content */
.new-post .post-content {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #333;
}

.new-post .post-content p {
    margin-bottom: 20px;
}

/* Related Posts Section */
.new-post .related-posts {
    margin-top: 40px;
}

.new-post .related-posts h3 {
    font-size: 1.8rem;
    color: #34495e;
    margin-bottom: 15px;
}

.new-post .related-posts ul {
    list-style: none;
    padding: 0;
}

.new-post .related-posts ul li {
    margin-bottom: 10px;
}

.new-post .related-posts ul li a {
    font-size: 1.1rem;
    color: #1e0f9a;
    text-decoration: none;
}

.new-post .related-posts ul li a:hover {
    text-decoration: underline;
}

/* Sidebar */
.new-post .sidebar {
    width: 25%;
    padding: 10px;
}

.new-post .sidebar .widget{
    background-color: #ecf0f1;
    border-radius: 5px;
    padding: 20px;
}

/* Widget Titles */
.new-post .sidebar .widget h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Search Form in Sidebar */
.new-post .sidebar .widget form {
    margin-bottom: 30px;
}

.new-post .sidebar .widget form input[type="search"] {
    width: 100%;
    padding: 0 10px;
    font-size: 1rem;
    border: 1px solid #bdc3c7;
    border-radius: 3px;
    margin-bottom: 10px;
    background-color: #fff;
    
}
.new-post .sidebar .widget form input.search-field {
    background: #fff !important;
}

/* .new-post .sidebar .widget form input[type="submit"] {
    background-color: #1e0f9a;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 3px;
} */

/* .new-post .sidebar .widget form input[type="submit"]:hover {
    background-color: #3498db;
} */

/* Categories List in Sidebar */
.new-post .sidebar .widget ul {
    list-style: none;
    padding: 0;
}

.new-post .sidebar .widget ul li {
    margin-bottom: 10px;
}

/* .new-post .sidebar .widget ul li a {
    font-size: 1rem;
    color: #27ae60;
    text-decoration: none;
} */

.new-post .sidebar .widget ul li a:hover {
    text-decoration: underline;
}




.new-post div#ez-toc-container {
    padding: 20px;
}

.new-post p.ez-toc-title {
    font-weight: bold !important;
    font-size: 24px !important;
}

.new-post nav {
    padding: 10px 0;
}
/* Related Posts Section */
.new-post .related-posts {
    margin-top: 40px;
    width: 100%;
}

.new-post .related-posts h3 {
    font-size: 1.8rem;
    color: #34495e;
    margin-bottom: 15px;
}

.new-post .related-posts ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
}

.new-post .related-posts ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    flex: 1 1 0;
}

.new-post .related-posts ul li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1e0f9a;
    flex-direction: column;
    padding-right: 20px;
}

.new-post .related-posts ul li a:hover {
    text-decoration: underline;
}

.new-post .related-posts ul li img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Comments Section */
.new-post .comments-section {
    margin-top: 40px;
}

.new-post .comments-section h3 {
    font-size: 1.8rem;
    color: #34495e;
    margin-bottom: 20px;
}

.new-post .comments-section .comment-list {
    list-style: none;
    padding: 0;
}

.new-post .comments-section .comment-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.new-post .comments-section .comment-author {
    font-weight: bold;
}

.new-post .comments-section .comment-metadata {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.new-post .comments-section .comment-content {
    margin-top: 10px;
    font-size: 1rem;
}

.new-post .comments-section .comment-reply-link {
    font-size: 0.9rem;
    color: #1e0f9a;
    text-decoration: none;
}

.new-post .comments-section .comment-reply-link:hover {
    text-decoration: underline;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .new-post .main-content {
        flex-direction: column;
        padding: 20px;
    }
    .new-post .post-title{
        font-size: 2rem;
        line-height: normal;
    }
    div#ez-toc-container{
        width: 100% !important;
    }

    .new-post .content-area,
    .new-post .sidebar {
        width: 100%;
        padding: 0;
    }

    .new-post .content-area {
        padding-bottom: 40px;
    }
    .new-post .related-posts ul {
        flex-direction: column;
    }
}
.col-md-4 .post-grid-single-unit .image:not(.advert) a img{
    width: 100%;
}

.blog .content{
    padding: 20px !important;
}
.blog .content h4.title{
    font-size: 18px !important;
    font-weight: bold !important;
}
.post-grid-single-unit .content .title-relative{
    min-height: unset !important;
}
.post-grid-single-unit .content .title-relative a .title{
    position: unset !important;
    top: unset !important;
    transform: unset !important;
}
.title-relative h4.title {
    min-height: 50px;
}
.blog .entry-header {
    min-height: 350px;
    background-image: url("https://autocaravanassierranevada.com/wp-content/uploads/2022/11/20221125_182006b-scaled.jpg") !important ;
}
.post-content {
    line-height: normal !important;
}
@media (max-width: 767px) {
    #header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: #fff !important;
    }

    /* Compensa el espacio del header */
    body {
        padding-top: 120px !important; /* Ajusta según la altura del header */
    }
    .wpb_tabs.wpb_content_element {
        padding-top: 20px;
    }
}

.stm-layout-header-car_dealer .mobile-menu-trigger{
    top: 15px !important;
}
div#master-container {
    max-width: 100% !important;
}
