/*Make The Divi Contact Form Submit Button Fullwidth*/

.pa-contact-form-submit-fullwidth .et_contact_bottom_container {
	width: 100%;
	flex-direction: column;
	gap: 1em;
	padding-left: 3%;
	margin-top: 0px;
}

.pa-contact-form-submit-fullwidth .et_contact_bottom_container button {
	width: 100%;
	margin: 0;
}


.slick-slide{
	margin: 0 5px;
}

.et_pb_column_slider_hidden {
	visibility: hidden;
}

#boton-slider-izquierda, #boton-slider-derecho {
  background-color: lightgray;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#boton-slider-izquierda span, #boton-slider-derecho span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
}

#boton-slider-izquierda span { transform: rotate(135deg); }
#boton-slider-derecho span { transform: rotate(-45deg); }

/*
.slider {
  margin: 0 auto;
  padding: 0 10px;
}

.slick-slide {
  box-sizing: border-box;
}

.slide-item {
  background: none;
  text-align: center;
  height: 50%;
}

*/


/* 2 Columns Mobile */
@media all and (max-width: 767px) {
    .two-col-mob .et_pb_column {
        width:47.25% !important;
    }

.two-col-mob .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }
    .two-col-mob .et_pb_column:not(:nth-child(2n)) {
            margin-right:5.5% !important;
    }
}

/* 3 Columns Mobile */
@media all and (max-width: 767px) {
    .three-col-mob .et_pb_column {
        width:29.6667% !important;
    }
    .three-col-mob .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }
    .three-col-mob .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}

/* 5 Columns Mobile */
@media all and (max-width: 767px) {
    .five-col-mob .et_pb_column {
        width:15.6% !important;
    }
    .five-col-mob .et_pb_column:nth-last-child(-n+5) {
        margin-bottom:0;
    }
    .five-col-mob .et_pb_column:not(:nth-child(5n)) {
        margin-right:5.5% !important;
    }
}



.main-menu, .main-menu-mobile {
  position: fixed;
  top: 0px;
  width: 100%;
  z-index:3000;
}
body.admin-bar .main-menu { /* Se está mostrando el meu admin de wordpress */
  top: 32px;
}

body.admin-bar .main-menu-mobile.top_scroll { /* Se está mostrando el meu admin de wordpress */
  top: 46px;
}
.menu-categorias-mobile-fila {
	min-height: 29vw !important;
	max-height: 29vw !important;
	overflow: hidden;

	padding-right: 0px !important;
}
.menu-categorias-mobile-fila .slick-list {
  padding: 0 20% 0 0 !important;
}

body #et-main-area.mobile_mode {
  margin-top: 51vw;
}

.et_pb_button_module_wrapper:has(> .equipo_telefono) {
  display: inline-block;
  width:40%;
  margin-right: 10%;
}
.et_pb_button_module_wrapper .equipo_telefono {
  width: 85%;
}

@media(max-width: 499px) {
  .et_pb_button_module_wrapper:has(> .equipo_telefono) {
    display: inline-block;
    width:45%;
    margin-right: 10%;
  }

  .et_pb_button_module_wrapper:has(> .equipo_telefono_last) {
    margin-right: 0;
  }

  .et_pb_button_module_wrapper .equipo_telefono {
    width: 100%;
  }
}

.whatsapp_ico { display: none; }

.template_object_gallery .et_pb_slides { aspect-ratio: auto 1440 / 1080; }
.template_object_gallery .et_pb_slides { width: 100%; height: 100%; }
.template_object_gallery .et_pb_slides .et_pb_slide  { width: 100%; height: 100%; }

.imagen-vehiculo {
  aspect-ratio: auto 1440 / 1080;

}

/*CSS PRECIO ROJO*/

.pricebefore {
	text-decoration:line-through;
	font-size: 90%;
	margin-right: 2%;
}
.formatear-numero .pricebefore {
	font-size: 80%;
}

.estadoventa_indicator2 {
  width: 500px;
  height: 500px; 
  top: 0px;
  margin-left: -20px !important;
  background-size: contain !important;
  z-index: 2; /* Asegura que esté encima del fondo semitransparente */
  position: absolute; /* Necesario para posicionar encima de otro fondo */
}


/*change hamburger icon to x when mobile menu is open*/

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}


/*adjust the new toggle element which is added via jQuery*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}

/*some code to keep everyting positioned properly*/

ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}


/*remove default background color from menu items that have children*/

.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}


/*hide the submenu by default*/

ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}


/*show the submenu when toggled open*/

ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}


/*adjust the toggle icon position and transparency*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}


/*submenu toggle icon when closed*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	color: #10069f;
	background: #f0f3f6;
	border-radius: 50%;
	padding: 3px;
}


/*submenu toggle icon when open*/

ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}


/*add point on top of the menu submenu dropdown*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}


.combined-row {
    display: flex;
    overflow: hidden;
}

.combined-row-mobile .slick-list {
  padding: 0 20% 0 0 !important;
}

/*adjust the position of the hamburger menu*/

.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 1px;
	line-height: 0;
}

.mobile_menu_bar:before {
color:#10069f !important;
}

/*force the background color and add a rounded border*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}

.et_mobile_menu {
border-top:3px solid #10069f !important;
}








/* ****************************************** */

.divilife-3-col-feature-blurb .et_pb_image_wrap img {
  aspect-ratio: auto 1000 / 726;
}

body #et-main-area.mobile_mode .divilife-3-col-feature-blurb-slider .et_pb_image_wrap {
  min-height: 50vw !important;
  max-height: 50vw !important;
}

.divilife-3-col-feature-blurb-slider .slick-arrow,
.divilife-3-col-feature-blurb-slider .slick-arrow:hover,
.divilife-3-col-feature-blurb-slider .slick-arrow:focus {
  position: absolute;
  font-size: 0;
  line-height: 0;
  padding: 0;
  color: transparent;
  outline: none;
  background: #e1e1e1;
  border: none;
  cursor: pointer;
  top: 50%;
  z-index: 100;
  height: 35px;
  vertical-align: middle;
  border-radius: 50%;
  width: 35px;
}

.divilife-3-col-feature-blurb-slider .slick-prev {
  left: -50px;
}

.divilife-3-col-feature-blurb-slider .slick-next {
  right: -50px;
}

.divilife-3-col-feature-blurb-slider .slick-arrow:before {
  font-family: ETmodules;
  color: #000;
  background: transparent;
  opacity: 1;
  font-size: 26px;
  vertical-align: middle;
  color: #fff;
  text-align: center;
}

.divilife-3-col-feature-blurb-slider .slick-arrow:hover:before {
  opacity: 0.8;
}

.divilife-3-col-feature-blurb-slider .slick-prev:before {
  content: '\34';
}

.divilife-3-col-feature-blurb-slider .slick-next:before {
  content: '\35';
}

/* Mostrar las flechas solo en pantallas grandes */
@media (min-width: 981px) {
  .divilife-3-col-feature-blurb-slider .slick-arrow,
  .divilife-3-col-feature-blurb-slider .slick-prev,
  .divilife-3-col-feature-blurb-slider .slick-next {
    display: block !important; /* Mostrar las flechas en pantallas grandes */
  }
}

/* Ajustes solo para pantallas menores a 980px (dispositivos móviles) */
@media (max-width: 980px) {

  .divilife-3-col-feature-blurb-slider .slick-prev {
    left: -32px;
  }

  .divilife-3-col-feature-blurb-slider .slick-next {
    right: -30px;
  }

  .divilife-3-col-feature-blurb-slider .slick-arrow:before {
    font-family: ETmodules;
    color: #000;
    background: transparent;
    opacity: 1;
    font-size: 26px;
    vertical-align: middle;
    color: #fff;
    text-align: center;
  }

  .divilife-3-col-feature-blurb-slider .slick-arrow,
  .divilife-3-col-feature-blurb-slider .slick-arrow:hover,
  .divilife-3-col-feature-blurb-slider .slick-arrow:focus {
    position: absolute;
    font-size: 0;
    line-height: 0;
    padding: 0;
    color: transparent;
    outline: none;
    background: #e1e1e1;
    border: none;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    height: 25px;
    vertical-align: middle;
    border-radius: 50%;
    width: 25px;
  }

  /* Ocultar las flechas en pantallas móviles */
  .divilife-3-col-feature-blurb-slider .slick-arrow,
  .divilife-3-col-feature-blurb-slider .slick-prev,
  .divilife-3-col-feature-blurb-slider .slick-next {
    display: none !important;
  }

  /* Ajustar el contenedor del slider para evitar el desbordamiento */
  .divilife-3-col-feature-blurb-slider .slick-slide {
    margin-right: 10px;
    overflow: hidden; /* Evitar que las imágenes salgan del contenedor */
  }

  .divilife-3-col-feature-blurb-slider .slick-list {
    overflow: hidden !important;
  }

  .divilife-3-col-feature-blurb-slider .slick-track {
    margin-left: 0 !important;
    padding-left: 0 !important;
    overflow: hidden;
  }

  /* Solución al corte por debajo: Ajustar la altura del contenedor */
  .divilife-3-col-feature-blurb-slider {
    height: auto !important;
    max-height: 100%;
    overflow: hidden !important;
  }

  .divilife-3-col-feature-blurb-slider .slick-slide img {
    width: 100%;
    height: auto;
    max-height: none; /* Remover la limitación de altura */
    object-fit: contain; /* Ajustar las imágenes dentro del contenedor */
  }

  /* Prevenir el desplazamiento horizontal no deseado */
  body.mobile_mode {
    overflow-x: hidden; /* Evitar el desplazamiento horizontal */
  }
}






/* IDIOMA SLIDER SEO*/
body.lang-es .texto-encima-tractoras::after {
    content: "Cabezas tractoras";
	position: absolute;
    top: 83%;
    left: 10%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 10px;
}

body.lang-en .texto-encima-tractoras::after {
    content: "Tractor trucks";
	position: absolute;
    top: 83%;
    left: 10%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 10px;
}
body.lang-es .texto-encima-furgonetas::after {
    content: "Furgonetas";
	position: absolute;
    top: 83%;
    left: 10%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 10px;
}

body.lang-en .texto-encima-furgonetas::after {
    content: "Vans";
	position: absolute;
    top: 83%;
    left: 10%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 10px;
}
body.lang-es .texto-encima-camiones::after {
    content: "Camiones";
	position: absolute;
    top: 83%;
    left: 10%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 10px;
}

body.lang-en .texto-encima-camiones::after {
    content: "Trucks";
	position: absolute;
    top: 83%;
    left: 10%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 10px;
}
body.lang-es .texto-encima-semi::after {
    content: "Sequirremolques";
	position: absolute;
    top: 83%;
    left: 10%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 10px;
}

body.lang-en .texto-encima-semi::after {
    content: "Semitrailers";
	position: absolute;
    top: 83%;
    left: 10%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 10px;
}
body.lang-es .texto-encima-agricola::after {
    content: "Maquinaria agrícola";
	position: absolute;
    top: 83%;
    left: 10%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 10px;
}

body.lang-en .texto-encima-agricola::after {
    content: "Agricultural machinery";
	position: absolute;
    top: 83%;
    left: 10%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 10px;
}
@media (min-width: 981px) {
/* Fondo de las flechas izquierda y derecha solo para el deslizador con la clase deslizador-ficha */
.deslizador-ficha .et-pb-arrow-next, .deslizador-ficha .et-pb-arrow-prev {
    background-color: lightgray; /* Fondo con transparencia */
    padding: 10px; /* Espacio alrededor de las flechas */
    border-radius: 50%; /* Bordes redondeados para hacer círculos */
    color: #fff; /* Color del ícono de la flecha */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tamaño de las flechas */
.deslizador-ficha .et-pb-arrow-next:before, .deslizador-ficha .et-pb-arrow-prev:before {
    font-size: 20px; /* Tamaño de las flechas */
}

/* Hover: Cambiar el color del fondo cuando pasas el mouse */
.deslizador-ficha .et-pb-arrow-next:hover, .deslizador-ficha .et-pb-arrow-prev:hover {
    background-color: gray; /* Cambia el color de fondo al hacer hover */
    color: #000; /* Cambia el color de las flechas al hacer hover */
}
}

/*SCROLLEO CONTACTO FICHA*/
@media only screen and (min-width: 980px) {
    .scroll-fijo {
        position: relative;
        height: auto;  /* Mantener altura automática antes de fijarse */
        width: auto;   /* Mantener ancho automático antes de fijarse */
    }

    .scroll-fijo.fixed {
        position: fixed;
        top: 0;
        right: 0;
        height: auto;  /* Mantener la altura */
        width: 550px !important;   /* Mantener el ancho */
        left: 59% !important;
    }

    .scroll-fijo.stop {
        position: absolute;
        bottom: 0;
        top: auto;
        height: auto;  /* Mantener la altura */
        width: 550px !important;   /* Mantener el ancho */
        left: 59% !important;
    }

    /* Estilos para cuando hay zoom */
    .zoom-active.scroll-fijo.fixed {
        width: 450px !important;  /* Cambiar el ancho cuando hay zoom */
        left: 770px !important;   /* Ajustar el valor de left */
    }

    .zoom-active.scroll-fijo.stop {
        width: 450px !important;  /* Cambiar el ancho cuando hay zoom */
        left: 770px !important;   /* Ajustar el valor de left */
    }
	   /* Estilos para cuando hay zoom */
    .zoom-active2.scroll-fijo.fixed {
        width: 550px !important;  /* Cambiar el ancho cuando hay zoom */
        left: 1185px !important;   /* Ajustar el valor de left */
    }

    .zoom-active2.scroll-fijo.stop {
        width: 550px !important;  /* Cambiar el ancho cuando hay zoom */
        left: 1185px !important;   /* Ajustar el valor de left */
    }
}
@media only screen and (min-width: 2560px) {
    .scroll-fijo {
        position: relative;
        height: auto;  /* Mantener altura automática antes de fijarse */
        width: auto;   /* Mantener ancho automático antes de fijarse */
    }

    .scroll-fijo.fixed {
        position: fixed;
        top: 0;
        right: 0;
        height: auto;  /* Mantener la altura */
        width: 550px !important;   /* Mantener el ancho */
        left: 1450px !important;
    }

    .scroll-fijo.stop {
        position: absolute;
        bottom: 0;
        top: auto;
        height: auto;  /* Mantener la altura */
        width: 550px !important;   /* Mantener el ancho */
        left: 1450px !important;
    }
	 }


/* OCULTAR MOSTRAR */

.video_hidden { display: none; }

.hide_estado_not_nuevo {
	display: none;
}
.estado_Nuevo .hide_estado_not_nuevo {
	display: inherit;
}
.estado_Nuevo .hide_estado_nuevo {
	display: none;
}

/*Paginacion de blogs*/
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    background-color: #10069f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.pagination .page-numbers:hover {
    background-color: #0056b3;
}

.pagination .current {
    background-color: #ffffff; /* Fondo blanco */
    color: #10069f; /* Texto azul intenso */
    border: 2px solid #10069f; /* Borde azul intenso */
    pointer-events: none; /* Desactiva clics en el número actual */
    border-radius: 5px; /* (Opcional) Esquinas redondeadas */
}

/* Estilo para los botones "Anterior" y "Siguiente" */
.pagination .prev,
.pagination .next {
    background-color: #797979; 
    color: #ffffff; 
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
}

/* Hover para "Anterior" y "Siguiente" */
.pagination .prev:hover,
.pagination .next:hover {
    background-color: #5F5F5F; /* Azul más oscuro */
    color: #ffffff; /* Blanco */
}
.menu-llamar a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f095"; /* Código del ícono que quieres usar */
    font-weight: 900;
    margin-right: 8px;
    display: inline-block;
}
