Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> item_image.vYTGaleria  [in template "2169472#2169513#8188019" at line 1443, column 86]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if item_image.vYTGaleria.getData()??...  [in template "2169472#2169513#8188019" at line 1443, column 81]
----
1<link rel="stylesheet" href="owl.carousel.min.css"> 
2<link rel="stylesheet" href="owl.theme.default.min.css"> 
3<style> 
4    #sany-detalle-maquinarias-tab .--richtext li, #sany-detalle-maquinarias-tab .--richtext p { 
5    line-height: 1.5 !important; 
6    font-size: 15px; 
7    min-width: 100%; 
8
9    #ficha-maquinaria .caracteristica-sany-nombre { 
10        font-size: 1.25rem; 
11        font-weight: 600; 
12        box-shadow: 0.8rem 0.5rem 0.7rem rgba(0, 0, 0, 0.15) !important; 
13
14    .detail-model-breadcrumb { 
15        background-color: #f7f8f8; 
16
17	.breadcrumb{ 
18	  background-color: transparent !important; 
19		padding: 0.4rem 1rem 0rem 1rem; 
20		margin: auto; 
21
22 
23    .title-detalle-modelo-card div { 
24        width: 80%; 
25        border-bottom: 6px solid #E60000; 
26        padding-bottom: .5rem; 
27        margin-bottom: 1.75rem; 
28
29	 
30	.breadcrumb-item{ 
31	  color: #CACACA; 
32		font-size: 0.625rem; 
33		font-weight: 400; 
34
35	 
36	.breadcrumb-item .active{ 
37	  color: var(--Sany-light-black); 
38
39	 
40	.breadcrumb-item + .breadcrumb-item::before{ 
41		top: 3px; 
42		left: -2px; 
43		margin-top: 0; 
44	}	 
45	 
46	.breadcrumb-link{ 
47	  color: #CACACA;; 
48		text-decoration: none; 
49
50	 
51	.breadcrumb-link:hover{ 
52	  color: var(--Sany-light-black); 
53		text-decoration: none; 
54
55	 
56	@media screen and (min-width: 768px){ 
57		.breadcrumb{ 
58	    background-color: transparent; 
59		  padding: 1.2rem 1rem; 
60		  margin: auto; 
61
62
63	 
64	@media screen and (min-width: 992px) { 
65	  .breadcrumb-item{ 
66		  font-size: 0.75rem; 
67
68		 
69		.breadcrumb-item + .breadcrumb-item::before{ 
70		  top: 5px; 
71	  }	 
72
73</style> 
74<style> 
75 
76@media (max-width: 992px) { 
77    #sany-detalle-maquinarias-tab .tabs-panel { 
78        padding: 0; 
79
80 
81    .tabs-panel h2.titleTabMaquinarias { 
82        font-size: 1.25rem !important; 
83
84 
85    .modal-gallery-prod { 
86        max-width: 100% !important; 
87
88 
89    .modal-gallery-prod .carousel-indicators { 
90        height: 40px !important; 
91
92 
93    .modal-gallery-prod .carousel-control-next, .modal-gallery-prod .carousel-control-prev { 
94        width: 30px !important; 
95        height: 30px !important; 
96
97 
98    .modal-gallery-prod .carousel-control-next { 
99        margin-top: -30px !important; 
100
101 
102    .modal-gallery-prod .carousel-control-next .carousel-control-prev-icon,  
103    .modal-gallery-prod .carousel-control-next .carousel-control-next-icon,  
104    .modal-gallery-prod .carousel-control-prev .carousel-control-prev-icon,  
105    .modal-gallery-prod .carousel-control-prev .carousel-control-next-icon { 
106        width: 14px !important; 
107        height: 14px !important; 
108
109 
110    .modal-gallery-prod .carousel-indicators li { 
111        width: 60px !important; 
112        height: 40px !important; 
113
114
115 
116@media (max-width: 768px) { 
117    .modal-gallery-prod .carousel-indicators { 
118        display: none !important; 
119
120 
121    .modal-gallery-prod .carousel-control-next, .modal-gallery-prod .carousel-control-prev { 
122        position: absolute !important; 
123        top: calc(50% - 15px) !important; 
124        left: -16px !important; 
125
126 
127    .modal-gallery-prod .carousel-control-next { 
128        left: auto !important; 
129        right: -16px !important; 
130        top: calc(50% - 15px) !important; 
131        margin-top: 0px !important; 
132
133
134 
135.modal { 
136    background-color: rgba(0, 0, 0, 0.6); 
137
138 
139.modal-open .modal { 
140    overflow-x: hidden; 
141    overflow-y: auto; 
142
143 
144 
145#additionalGallery { 
146    margin: -1rem; 
147
148 
149.modal-gallery-prod .carousel-indicators li img { 
150    width: auto; 
151    height: 100%; 
152    opacity: .5; 
153
154 
155.modal-gallery-prod { 
156    max-width: 80%; 
157
158 
159.modal-gallery-prod .carousel-inner { 
160    margin-bottom: 20px; 
161
162 
163.modal-gallery-prod .modal-content { 
164    background-color: transparent; 
165    border: 0; 
166
167 
168.modal-gallery-prod .carousel-control-next { 
169    float: right; 
170    margin-top: -55px; 
171
172 
173.modal-gallery-prod .carousel-indicators li.active img { 
174    opacity: 1; 
175
176 
177.modal-gallery-prod .carousel-control-next, .modal-gallery-prod .carousel-control-prev { 
178    background-color: #E60000; 
179    opacity: 1; 
180    width: 50px; 
181    height: 50px; 
182    position: relative; 
183    border-radius: 100%; 
184
185 
186.modal-gallery-prod .carousel-indicators li { 
187    width: 80px; 
188    height: 60px; 
189    overflow: hidden; 
190    border-radius: 0.75rem; 
191    text-indent: inherit; 
192    background-color: #1C1C1C; 
193    opacity: 1; 
194    border: 0px; 
195
196 
197.modal-gallery-prod .carousel-indicators { 
198    flex-direction: row; 
199    height: 60px; 
200    width: calc(100% - 120px); 
201    text-indent: inherit; 
202    margin: 10px auto auto; 
203    left: 0; 
204    overflow: hidden; 
205
206 
207.cat-maquinarias { 
208  padding: 2rem; } 
209  .cat-maquinarias h3 { 
210    font-size: 2rem; } 
211 
212    .caja-video::before { 
213        content: ""; 
214        position: absolute; 
215        width: 90px; 
216        height: 90px; 
217        left: calc(50% - 45px); 
218        bottom: calc(50% - 45px); 
219        background-image: url(/documents/d/nuevosany/play); 
220        z-index: 10; 
221        background-size: contain; 
222
223 
224    .caja-video.small::before { 
225        background-image: unset!important; 
226        width: unset; 
227        height: unset; 
228
229 
230    .hide-gallery { 
231        padding-right: 15px; 
232        padding-left: 15px; 
233
234 
235    #ficha-maquinaria #sany-detalle-maquinarias-tab .swiper-wrapper li:hover:not(.active) { 
236        background-color: #f8f9fa; 
237        color: #495057 !important; 
238
239 
240    #ficha-maquinaria #sany-detalle-maquinarias-tab .swiper-wrapper li.active a { 
241        color: #1C1C1C; 
242
243 
244    #ficha-maquinaria #sany-detalle-maquinarias-tab .swiper-wrapper a { 
245        color: #495057; 
246
247 
248    @media (max-width: 990px) { 
249        .hide-gallery { 
250            padding: 0; 
251
252  .cat-maquinarias { 
253    padding: 2rem 0 0 0; } 
254    .cat-maquinarias h3 { 
255      font-size: 1rem; 
256      padding: 0px 2rem; }} 
257 
258        #ficha-maquinaria .tabs-content { 
259            padding-bottom: 6rem; 
260            /* background-image: url(/documents/d/nuevosany/mountain); */ 
261            background-repeat: repeat-x; 
262            background-position: bottom center; 
263            background-size: 140%; 
264            background-color: #f7f8f8; 
265
266 
267        .body-sany{ 
268        background-image: unset;  
269
270 
271        #ficha-maquinaria #sany-detalle-maquinarias-tab .swiper-wrapper a { 
272            text-decoration: none !important; 
273            font-size: 1.125rem; 
274                    /* padding: 1rem 8rem 1rem 8rem; */ 
275
276 
277        #ficha-maquinaria #sany-detalle-maquinarias-tab h2 { 
278            font-size: 2.25rem; 
279            font-weight: 600; 
280
281 
282        #ficha-maquinaria #sany-detalle-maquinarias-tab .row  { 
283            margin-left: auto; 
284            margin-right: auto; 
285            max-width: 1440px; 
286            padding: 1rem; 
287
288 
289        #ficha-maquinaria .tabs .swiper-slide { 
290            padding: 1rem 1.75rem; 
291
292 
293        #banner-modelos .banner-imagen-static { 
294            height: 100vh; 
295            width: 100%; 
296            background: no-repeat center center; 
297            display: flex; 
298            flex-direction: column; 
299 
300            background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.00) 19.24%), 
301            linear-gradient(0deg, rgba(0, 0, 0, 0.30) 1.79%, rgba(0, 0, 0, 0.00) 74.66%), 
302            url('<#if (vGrupoBanner.vImagenBannerModelo.getData())?? && vGrupoBanner.vImagenBannerModelo.getData() != "">${vGrupoBanner.vImagenBannerModelo.getData()}</#if>'); 
303            background-color: lightgray; 
304            background-size: cover; 
305            background-repeat: no-repeat; 
306            background-position: 0% 50%; 
307            height: 607px; 
308            /*static height figma*/ 
309
310 
311        #banner-modelos .banner-buttons { 
312            /*max-width: 1150px;*/ 
313            position: absolute; 
314            width: 46%; 
315            top: 0px; 
316            right: 4%; 
317            left: auto; 
318            height: 100%; 
319            gap: 2rem; 
320            display: flex; 
321            align-items: flex-start; 
322            flex-direction: column; 
323            justify-content: center; 
324            color: #fff; 
325
326 
327        #banner-modelos .banner-titulo { 
328            color: var(--Sany-White); 
329            text-align: center; 
330            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25); 
331            /*font-family: Catamaran;*/ 
332            font-size: 60px; 
333            font-style: normal; 
334            font-weight: 700; 
335            line-height: 120%; 
336            text-transform: uppercase; 
337
338 
339        /*#banner-modelos .btn-saber-mas{ 
340            border-radius: 8px; 
341            background: var(--Gradiante, linear-gradient(59deg, #043888 -7.38%, #54904E 63.95%, #A8EB12 116.4%)); 
342            display: flex; 
343            padding: var(--SM, 12px) var(--ML, 20px); 
344            justify-content: center; 
345            align-items: center; 
346            gap: var(--XS, 4px); 
347            }*/ 
348 
349        #banner-modelos .btn-cotizar-sany { 
350            width: 90%; 
351             
352            max-width: 360px; 
353            /* height: 60px; */ 
354            border-radius: 12px; 
355            background: var(--Sany-Red); 
356            color: var(--Sany-White); 
357            box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25); 
358            font-size: 1rem; 
359            border-radius: 12px; 
360
361 
362        #banner-modelos .banner-button { 
363            /*position: absolute;*/ 
364            color: var(--Sany-White); 
365            /*top: 85%; 
366            left: 25%; 
367            transform: translate(-50%, -50%);*/ 
368
369 
370        /* #banner-modelos .container-titulo-banner { 
371            width: 468px; 
372        } */ 
373 
374        #banner-modelos .title-banner { 
375            font-size: 4rem; 
376            font-weight: 700; 
377
378 
379        #banner-modelos .banner-parrafo { 
380            font-size: 2rem; 
381            line-height: 150%; 
382
383 
384        #banner-modelos .banner-parrafo { 
385            color: var(--Sany-White); 
386            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25); 
387            font-style: normal; 
388            line-height: 48px; 
389            font-size: 32px; 
390            font-weight: 600; 
391
392 
393        /*detalle-maquinarias seccion*/ 
394 
395        #sany-detalle-maquinarias-tab { 
396            /*font-family: Apercu,sans-serif;*/ 
397
398 
399        #sany-detalle-maquinarias-tab .breadcrumb { 
400            background-color: #fff; 
401            font-weight: 550 
402
403 
404        #sany-detalle-maquinarias-tab .--richtext li:last-of-type { 
405            margin-bottom: 1.5rem; 
406
407 
408        #sany-detalle-maquinarias-tab .--richtext li { 
409            margin-bottom: 1rem; 
410
411 
412        #sany-detalle-maquinarias-tab .--richtext li, 
413        #sany-detalle-maquinarias-tab .--richtext p { 
414            /*letter-spacing: .01em;*/ 
415            line-height: 18px; 
416                    font-size: 15px; 
417                    min-width: 100%; 
418
419 
420        #sany-detalle-maquinarias-tab .--richtext p { 
421            font-size: 1rem; 
422
423 
424        #sany-detalle-maquinarias-tab .--richtext ol { 
425            list-style: number; 
426            list-style-position: inside; 
427
428 
429        #sany-detalle-maquinarias-tab .tabs-panel { 
430            gap: 0px; 
431            padding: 2rem; 
432            padding-top: 0rem;; 
433
434 
435        .--richtext h1, 
436        .--richtext h2, 
437        .--richtext h3, 
438        .--richtext h4, 
439        .--richtext h5, 
440        .--richtext h6 { 
441            margin-bottom: 1.5rem; 
442
443 
444        .--richtext table { 
445            border: 1.5px solid grey; 
446            font-size: 18px; 
447            text-align: center; 
448            width: 800px; 
449
450 
451        .--richtext table th { 
452            font-weight: 700; 
453
454 
455        .--richtext table td, 
456        .--richtext table th { 
457            border: 1.5px solid grey; 
458            padding: 8px; 
459
460 
461        .tabs-panel { 
462            animation: contentEffect .3s; 
463            display: none; 
464            flex-direction: column; 
465            gap: 32px; 
466            /*max-width: 800px;*/ 
467            /*overflow-x: auto;*/ 
468
469 
470        .tabs { 
471            color: #1A202E; 
472            /*margin-top: 90px; 
473        margin-bottom: 90px;*/ 
474
475 
476        ol, 
477        ul, 
478        dl { 
479            margin-bottom: 0rem !important; 
480            margin-top: 0 !important; 
481
482 
483        ul { 
484            margin-block-start: 0em !important; 
485            margin-block-end: 0em !important; 
486            padding-inline-start: 0px !important; 
487
488 
489        .tabs a { 
490            color: var(--Gogoro-Black); 
491
492 
493        .tabs a:hover { 
494            color: var(--Gogoro-Black); 
495
496 
497        /*li.tabs-list__item.swiper-slide.swiper-slide-active { 
498            padding-right: 30px; 
499        }*/ 
500 
501        .tabs .swiper-slide { 
502            /*width: auto; 
503                    padding: 1.4rem;*/ 
504                    width: 33.5vw; 
505        padding: 1.4rem 0 1.4rem 0; 
506        background: var(--Sany-White); 
507        text-align: center; 
508
509 
510        .tabs-list { 
511            display: inline-flex; 
512            flex-direction: row; 
513            flex-wrap: nowrap; 
514            width: 100%; 
515            scrollbar-width: none; 
516            font-weight: 400; 
517            font-size: 16px; 
518            line-height: 24px; 
519            letter-spacing: 0.02em; 
520                    background: var(--Sany-White); 
521                    justify-content: center; 
522
523 
524        .tabs-list::-webkit-scrollbar { 
525            display: none; 
526            width: 0 !important; 
527
528 
529        .tabs-list__item { 
530            display: inline-block; 
531            padding: 10px 0; 
532            flex-shrink: 0; 
533
534 
535        .tabs-list__item.active { 
536            /*border-bottom: 2px solid var(--Gradiante); 
537        z-index: 1; 
538        font-weight: 500;*/ 
539            border: none; 
540            background-image: linear-gradient(59deg, #e60000 -7.38%, #e60000 63.95%, #e60000 116.4%); 
541            background-repeat: no-repeat; 
542            background-position: bottom; 
543            background-size: 100% 2px; 
544                    font-weight: 600; 
545
546 
547        .tabs-buttons { 
548            position: relative; 
549            width: 100%; 
550            margin-bottom: 40px; 
551
552 
553        .tabs-buttons::after { 
554            content: ""; 
555            position: absolute; 
556            bottom: 0; 
557            left: 0; 
558            border-bottom: 2px solid #CDCACA; 
559            width: 100%; 
560
561 
562        .tabs-panel { 
563            display: none; 
564            flex-direction: column; 
565            gap: 32px; 
566            animation: contentEffect 0.3s; 
567
568 
569        #ficha-maquinaria .movile-collapsible-maquinarias .card-detalle-atributo-modelo{ 
570            padding: 1.25rem !important; 
571
572 
573        #ficha-maquinaria .card-detalle-atributo-modelo{ 
574                gap: 60px; 
575                    background: var(--Sany-White); 
576                    border-radius: 12px; 
577                    min-height: 400px; /*458px;*/ 
578
579             
580            #ficha-maquinaria .caracteristica-sany-nombre{ 
581            cursor: pointer; 
582                width: 400px; 
583                /* height: 60px; */ 
584                border-radius: 12px; 
585                background: #dedede; 
586                color: #878787; 
587                /*box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);*/ 
588                font-size: 1.25rem; 
589                border-radius: 12px; 
590                padding: .75rem; 
591 
592
593             
594            #ficha-maquinaria .container-buttons-detalle-modelo-sany{ 
595            gap: 1rem; 
596
597             
598            .button-clicked-active{ 
599            color: var(--Sany-Red) !important; 
600                background: var(--Sany-White) !important; 
601                box-shadow: 5px 0px 5px 0px rgba(255,255,255,0.7); 
602
603             
604            .caracteristica-sany-nombre.button-clicked-active::after { 
605        content: ''; 
606        position: absolute; 
607        top: 50%; 
608        right: -15px; 
609        width: 26px; 
610        height: 100%; 
611        background-color: var(--Sany-White); 
612        transform: translateY(-50%); 
613        box-shadow: 0.8rem 0.5rem 0.7rem rgba(0, 0, 0, 0.15) !important; 
614
615 
616    #ficha-maquinaria .imagen-caracteristica-sany { 
617        max-width: 310px; 
618				flex: 1; 
619
620		 
621		#ficha-maquinaria .detalle-caracteristica-sany { 
622		flex: 1; 
623
624 
625    #ficha-maquinaria img { 
626        max-width: 100%; 
627
628 
629    #ficha-maquinaria img.img-thumbnail { 
630        padding: 0px; 
631        border: 0px; 
632        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; 
633        margin-bottom: 5px !important; 
634        object-fit: cover; 
635        width: 100%; 
636
637 
638    #ficha-maquinaria .collapsible-header { 
639        font-size: 1rem; 
640        cursor: pointer; 
641        font-weight: bold; 
642        padding: 1.125rem 2rem; 
643        /* border: 1px solid #ccc; */ 
644        /*    border-radius: 12px 12px 0px 0px;*/ 
645        border-radius: 12px; 
646        background: #D7AF37; 
647        height: 50px; 
648        color: var(--Sany-White); 
649        transition: border-radius 0.4s linear; 
650            border: 0px solid #ccc; 
651
652 
653    #ficha-maquinaria .movile-collapsible-maquinarias { 
654        margin-bottom: 1rem; 
655
656 
657 
658    #ficha-maquinaria #card__container{ 
659    filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.25)); 
660
661 
662    #galeria .swiper-slide{ 
663        width: unset; 
664        padding: unset; 
665        background: unset!important; 
666        text-align: unset; 
667        border-radius: 12px; 
668
669 
670    #galeria .swiper-pagination-bullet-active { 
671        opacity: var(--swiper-pagination-bullet-opacity, 1); 
672        background: var(--Sany-Red); 
673
674 
675    #galeria .swiper-pagination-bullet { 
676        width: 30px; 
677        height: 30px; 
678
679 
680    #galeria .swiper-button-next:after, #galeria .swiper-button-prev:after{ 
681        display: none; 
682
683 
684    #galeria .swiper-button-next, #galeria .swiper-button-prev{ 
685        width: 60px; 
686        height: 60px; 
687        transform: translate3d(0rem,-2rem,0rem); 
688
689 
690    #galeria div#container-img-galeria { 
691        /*background: white;*/ 
692        height: 100%; 
693
694 
695    #galeria picture { 
696        width: 1135px; /*1150px*/ 
697        height: 850px; 
698
699 
700    #galeria .card{ 
701        border-radius: 12px !important; 
702
703 
704    #ficha-maquinaria .seccion-galeria-imagen-video img{ 
705        width: 100% !important; 
706        height: 100% !important; 
707
708 
709    #ficha-maquinaria .seccion-galeria-imagen-video p{ 
710        margin: 0 !important; 
711
712 
713 
714    #ficha-maquinaria .seccion-galeria-imagen-video { 
715        filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.25)); 
716
717 
718    #ficha-maquinaria .seccion-galeria-imagen-video .swiper-slide{ 
719        background: unset; 
720
721 
722    #ficha-maquinaria .embed-responsive{ 
723        height: 100% !important; 
724    width: 100% !important; 
725
726 
727    .oculto { 
728        display: none; 
729
730 
731    /* #ficha-maquinaria .detail-model-breadcrumb{ 
732    position: absolute; 
733        top: 92px; 
734    } */ 
735 
736    #ficha-maquinaria .container__box__item{ 
737    list-style-type: none; 
738        margin-right: 5px; 
739        font-size: 10px; 
740        font-weight: 400; 
741        color: var(--Sany-White); 
742
743 
744    #ficha-maquinaria .container__box__item a:hover{ 
745    text-decoration: none; 
746
747 
748    #ficha-maquinaria .detail-model-breadcrumb__container__box li:nth-child(2)::before, 
749    #ficha-maquinaria .detail-model-breadcrumb__container__box li:nth-child(3)::before{ 
750        content: "/"; 
751        margin-right: 5px; 
752
753 
754    #ficha-maquinaria .card-detalle-atributo-modelo.desktop-tab { 
755        padding: 2.5rem !important; 
756        box-shadow: 0.8rem 0.5rem 0.7rem rgba(0, 0, 0, 0.15) !important; 
757
758 
759 
760        /**/ 
761 
762        /*Breakpoints*/ 
763             
764    @media screen and (min-width: 576px){ 
765    #ficha-maquinaria .tabs-buttons{ 
766        margin-bottom: 0; 
767
768         
769        #ficha-maquinaria .detail-model-breadcrumb__container{ 
770            padding: 1rem 2rem; 
771
772 
773    #ficha-maquinaria .detail-model-breadcrumb{ 
774        position: static; 
775
776         
777        #ficha-maquinaria .detail-model-breadcrumb__container__box li:nth-child(3){ 
778        color: var(--Sany-Black-2); 
779
780         
781        #ficha-maquinaria .detail-model-breadcrumb__container__box li:nth-child(3) a{ 
782        cursor: text; 
783
784         
785        #ficha-maquinaria .detail-model-breadcrumb__container__box li:nth-child(3)::before{ 
786        color: var(--Sany-light-black); 
787
788         
789        #ficha-maquinaria .container__box__item{ 
790            font-size: 14px; 
791            font-weight: 500; 
792            color: var(--Sany-light-black); 
793
794
795             
796        @media (max-width: 1200px)  { 
797        #galeria picture { 
798        width: auto; 
799        height: 655px; 
800
801
802 
803        @media (max-width: 1024px) { 
804            #ficha-maquinaria .caracteristica-sany-nombre{ 
805            width: 340px; 
806
807
808 
809        @media (max-width: 991px) { 
810 
811            #banner-modelos .banner-buttons { 
812                width: 100%; 
813                left: 0; 
814                display: flex; 
815                align-items: center; 
816                justify-content: flex-end; 
817                padding-bottom: 40px; 
818
819 
820            #banner-modelos .banner-imagen-static { 
821                background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.00) 19.24%), 
822                linear-gradient(0deg, rgba(0, 0, 0, 0.30) 1.79%, rgba(0, 0, 0, 0.00) 74.66%), 
823                url('<#if (vGrupoBanner.vImagenBannerModeloMovile.getData())?? && vGrupoBanner.vImagenBannerModeloMovile.getData() != "">${vGrupoBanner.vImagenBannerModeloMovile.getData()}</#if>'); 
824
825 
826            #banner-modelos .title-banner { 
827                font-size: 3rem; 
828
829 
830            #banner-modelos .btn-cotizar-sany { 
831                width: 80%; 
832                max-width: 360px; 
833
834 
835            #banner-modelos .banner-buttons { 
836                max-width: 100%; 
837                gap: 1rem; 
838                bottom: 6%; 
839
840            #ficha-maquinaria #sany-detalle-maquinarias-tab .swiper-wrapper a { 
841                font-size: 0.85rem; 
842
843 
844            #ficha-maquinaria .tabs .swiper-slide { 
845                padding: 1.4rem; 
846
847             
848            #galeria picture { 
849        width: auto; 
850        height: 540px; 
851
852 
853    #galeria .swiper-button-next, #galeria .swiper-button-prev { 
854        transform: translate3d(0,15.2rem,0); 
855
856             
857
858 
859        @media (max-width: 768px) { 
860            .--richtext table { 
861                width: 700px; 
862
863                     
864                    #ficha-maquinaria .caracteristica-sany-nombre { 
865                            width: 315px; 
866
867
868 
869        @media (max-width: 576px) { 
870            .tabs-buttons { 
871                margin-bottom: 0px; 
872
873            .detail-model-breadcrumb { 
874                background-color: transparent; 
875
876            #banner-modelos .banner-titulo { 
877                font-size: 34px; 
878
879 
880            #banner-modelos .banner-parrafo { 
881                font-size: 16px; 
882
883 
884            #banner-modelos .banner-imagen-static { 
885                height: 366.92px; 
886
887 
888            #banner-modelos .container-titulo-banner { 
889                width: 100%; 
890
891 
892            .--richtext table { 
893                width: auto; 
894
895 
896            #sany-detalle-maquinarias-tab .tabs-list { 
897                font-size: 17px; 
898                line-height: 30px; 
899                display: flex; 
900                            justify-content: unset; 
901                /*flex-direction: column; 
902                -webkit-transform: none !important;*/ 
903
904 
905            .swiper-slide { 
906                /*width: 100% !important;*/ 
907
908 
909 
910            #sany-detalle-maquinarias-tab .legal-page__title { 
911                font-size: 40px; 
912
913 
914            .tabs-list { 
915                font-size: 28px; 
916                line-height: 68px; 
917
918 
919            .tabs { 
920                /*margin-top: 40px; 
921                margin-bottom: 40px;*/ 
922
923                     
924                    .tabs .swiper-slide { 
925        padding: 1rem; 
926
927                     
928                    #ficha-maquinaria .caracteristica-sany-nombre { 
929        width: 100%; 
930
931 
932    .caracteristica-sany-nombre.button-clicked-active::after { 
933        display: none; 
934
935         
936        .tabs .swiper-slide { 
937            width: auto; 
938                    padding: 1.4rem; 
939 
940
941             
942            #ficha-maquinaria .card-detalle-atributo-modelo { 
943        border-radius: 0px 0px 12px 12px !important; 
944
945 
946        #ficha-maquinaria .titleTabMaquinarias{ 
947            font-size: 21px; 
948
949             
950            #galeria picture { 
951        width: auto; 
952        height: 320px; 
953
954 
955    #galeria .swiper-button-next, #galeria .swiper-button-prev { 
956        transform: translate3d(0,8.2rem,0); 
957
958 
959    #ficha-maquinaria .embed-responsive{ 
960        position: unset !important; 
961
962             
963
964 
965        @media (max-width: 320px) { 
966            #ficha-maquinaria .caracteristica-sany-nombre { 
967            font-size: 21px; 
968
969             
970            #galeria picture { 
971        width: auto; 
972        height: 250px; 
973
974 
975    #galeria .swiper-button-next, #galeria .swiper-button-prev { 
976        transform: translate3d(0,6.2rem,0); 
977
978
979 
980 
981        .container-btn-sany .btn-cotizar-sany { 
982            height: 45px; 
983            border-radius: 12px; 
984            background: var(--Sany-Red); 
985            color: var(--Sany-White); 
986            box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25); 
987            font-size: 14px; 
988            border-radius: 12px; 
989            font-weight: 400 !important; 
990
991 
992        .container-btn-sany .btn-cotizar-sany:hover { 
993            color: var(--Sany-White); 
994
995 
996        .container-btn-sany #icon-download{ 
997            height: 25px; 
998            margin-right: 20px; 
999
1000 
1001        .container-btn-sany #icon-download path{ 
1002            fill: white; 
1003
1004 
1005        #overlay-gallery-image { 
1006            width: 100%; 
1007            background-color: rgba(0, 0, 0, 0.30); 
1008            height: 100%; 
1009            position: fixed; 
1010            z-index: 10; 
1011            top: 0; 
1012            display: none; 
1013            justify-content: center; 
1014            align-content: center; 
1015            flex-wrap: wrap; 
1016
1017 
1018        #overlay-gallery-image .paginator { 
1019            justify-content: space-between; 
1020            align-items: center; 
1021            display: flex; 
1022            flex-wrap: wrap; 
1023
1024 
1025        #overlay-gallery-image .paginator .image-gallery { 
1026            width: auto; 
1027            height: auto; 
1028            display: none; 
1029
1030 
1031        #overlay-gallery-image .paginator .image-gallery p{ 
1032            margin-bottom: 0px !important; 
1033
1034 
1035        #overlay-gallery-image .paginator .image-gallery img{ 
1036            margin: 20px; 
1037            border-radius: 15px; 
1038            width: 75px; 
1039            height: auto; 
1040            cursor: pointer; 
1041
1042 
1043        #overlay-gallery-image .paginator .container-arrow { 
1044            height: 25px; 
1045            width: 25px; 
1046            background-color: #E60000; 
1047            border-radius: 50%; 
1048            display: flex; 
1049            align-items: center; 
1050            justify-content: center; 
1051            cursor: pointer; 
1052
1053 
1054        #overlay-gallery-image .paginator .container-arrow.disabled { 
1055            opacity: 0.5; 
1056            cursor: auto; 
1057
1058 
1059        #overlay-gallery-image .paginator .container-arrow svg { 
1060            height: 18px; 
1061
1062 
1063        #overlay-gallery-image .paginator .container-arrow svg path{ 
1064            fill: white; 
1065
1066 
1067        #overlay-gallery-image .paginator .image-gallery .embed-responsive{ 
1068            width: 75px !important; 
1069
1070 
1071        #overlay-gallery-image .paginator .image-gallery .ytp-large-play-button{ 
1072            display: none !important; 
1073
1074 
1075        #overlay-gallery-image .view-media-container { 
1076            width: 100%; 
1077
1078 
1079        #overlay-gallery-image .view-media-container .view-medias { 
1080            margin-top: 15px 
1081
1082 
1083        #overlay-gallery-image .view-media-container .view-media { 
1084            display: none; 
1085            justify-content: center; 
1086            align-content: center; 
1087            flex-wrap: wrap; 
1088
1089 
1090        #overlay-gallery-image .view-media-container .view-media img { 
1091            display: block; 
1092            width: 600px; 
1093            height: auto; 
1094
1095 
1096        #overlay-gallery-image .view-media-container .container-btn-close { 
1097            width: 100%; 
1098            width: 600px; 
1099            position: absolute; 
1100            left: 50%; 
1101            transform: translate(-50%, -50%); 
1102
1103 
1104        #overlay-gallery-image .view-media-container .container-btn-close .btn-close { 
1105            float: right; 
1106            color: white; 
1107            font-size: 18px; 
1108            cursor: pointer; 
1109
1110				 
1111				.owl-carousel .item img { 
1112      		width: 100%; 
1113      		height: auto; 
1114
1115    </style> 
1116 
1117    <section id="overlay-gallery-image"> 
1118        <div class="view-media-container"> 
1119            <div class="container-btn-close"> 
1120                <div class="btn-close"> 
1121
1122                </div> 
1123            </div> 
1124            <#if vGrupoDetalleModelos??> 
1125                <#if vGrupoDetalleModelos.vGrupoSeccionGaleria??> 
1126                    <#if vGrupoDetalleModelos.vGrupoSeccionGaleria.vImagenVideoGaleria??> 
1127                        <#assign index = 0 /> 
1128                        <div class="view-medias"> 
1129                            <#list vGrupoDetalleModelos.vGrupoSeccionGaleria.vImagenVideoGaleria.getSiblings() as cur_vGrupoDetalleModelos_vGrupoSeccionGaleria_vImagenVideoGaleria> 
1130                                <div class="view-media" data-media="media-${index}"> 
1131                                 
1132                                    ${cur_vGrupoDetalleModelos_vGrupoSeccionGaleria_vImagenVideoGaleria.getData()} 
1133                                </div> 
1134                                <#assign index = index  + 1 /> 
1135                            </#list> 
1136                        </div> 
1137                    </#if> 
1138                </#if> 
1139            </#if> 
1140        </div> 
1141        <#if vGrupoDetalleModelos??> 
1142            <#if vGrupoDetalleModelos.vGrupoSeccionGaleria??> 
1143                <#if vGrupoDetalleModelos.vGrupoSeccionGaleria.vImagenVideoGaleria??> 
1144                    <#assign index = 0 /> 
1145                    <div class="paginator"> 
1146                        <div class="container-arrow arrow-left"> 
1147                            <svg class="icon-arrow" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"> 
1148                                <path d="M34.5 239L228.9 44.7c9.4-9.4 24.6-9.4 33.9 0l22.7 22.7c9.4 9.4 9.4 24.5 0 33.9L131.5 256l154 154.8c9.3 9.4 9.3 24.5 0 33.9l-22.7 22.7c-9.4 9.4-24.6 9.4-33.9 0L34.5 273c-9.4-9.4-9.4-24.6 0-33.9z"/> 
1149                            </svg> 
1150                        </div> 
1151                        <div class="images-gallery"> 
1152                            <#list vGrupoDetalleModelos.vGrupoSeccionGaleria.vImagenVideoGaleria.getSiblings() as cur_vGrupoDetalleModelos_vGrupoSeccionGaleria_vImagenVideoGaleria> 
1153                                <div class="image-gallery" data-media="media-${index}"> 
1154                                    ${cur_vGrupoDetalleModelos_vGrupoSeccionGaleria_vImagenVideoGaleria.getData()} 
1155                                </div> 
1156                                <#assign index = index  + 1 /> 
1157                            </#list> 
1158                        </div> 
1159                         
1160                        <div class="container-arrow arrow-right"> 
1161                            <svg class="icon-arrow float-right" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"> 
1162                                <path d="M285.5 273L91.1 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.7-22.7c-9.4-9.4-9.4-24.5 0-33.9L188.5 256 34.5 101.3c-9.3-9.4-9.3-24.5 0-33.9l22.7-22.7c9.4-9.4 24.6-9.4 33.9 0L285.5 239c9.4 9.4 9.4 24.6 0 33.9z"/> 
1163                            </svg> 
1164                        </div> 
1165                    </div> 
1166                     
1167                </#if> 
1168            </#if> 
1169        </#if> 
1170    </section> 
1171 
1172    <seccion id="ficha-maquinaria"> 
1173        <section id="banner-modelos" class="position-relative"> 
1174            <div class="owl-carousel">	 
1175							<div class= "item"> 
1176								<picture> 
1177								<#if (vGrupoBanner.vImagenBannerModelo.getData())?? && vGrupoBanner.vImagenBannerModelo.getData() != ""> 
1178									<#if (vGrupoBanner.vImagenBannerModeloMovile.getData())?? && vGrupoBanner.vImagenBannerModeloMovile.getData() != ""> 
1179										<source srcset="${vGrupoBanner.vImagenBannerModelo.getData()}" media="(min-width: 992px)">  
1180										<source srcset="${vGrupoBanner.vImagenBannerModeloMovile.getData()}" media="(min-width: 768px)"> 
1181										<img src="${vGrupoBanner.vImagenBannerModelo.getData()}" srcset="${vGrupoBanner.vImagenBannerModeloMovile.getData()}, ${vGrupoBanner.vImagenBannerModelo.getData()}" alt="${vGrupoBanner.vImagenBannerModelo.getAttribute("alt")}" /> 
1182									</#if> 
1183								</#if> 
1184							</picture> 
1185							<div class="banner-buttons"> 
1186									<div class="container-titulo-banner text-center text-lg-left"> 
1187											<#if (vGrupoBanner.vTituloBanner.getData())??> 
1188													<h1 class="title-banner"> ${vGrupoBanner.vTituloBanner.getData()} </h1> 
1189											</#if> 
1190											<#if (vGrupoBanner.vBajadaBanner.getData())??> 
1191													<div class="banner-parrafo d-none d-lg-block"> ${vGrupoBanner.vBajadaBanner.getData()} </div> 
1192											</#if> 
1193									</div> 
1194 
1195									<#if (vNombreModelo.getData())??> 
1196											<#if (vSelectCategoria.getData())??> 
1197											<a 
1198															class="btn btn-cotizar-sany text-center" 
1199															data-senna-off="true" href="/cotizar#${vSelectCategoria.getData()}-${vNombreModelo.getData()}">Cotiza Ahora                    
1200											</a>  
1201											</#if>	 
1202									</#if>         
1203 
1204							</div> 
1205						</div> 
1206        </section> 
1207 
1208        <section id="sany-detalle-maquinarias-tab" class=""> 
1209            <nav class="breadcrumb wrapper d-none"> 
1210                <ul class="breadcrumb__list"> 
1211                    <li class="breadcrumb__item"><a href="/legales">Legales</a></li> 
1212                    <li class="breadcrumb__item"><a href="<#if (v_GrupoCategoriaLegales.v_Enlace.getData())??> 
1213                                        ${v_GrupoCategoriaLegales.v_Enlace.getData()} 
1214                                    </#if>"> 
1215                            <#if (v_GrupoCategoriaLegales.v_TituloLegales.getData())??> 
1216                                ${v_GrupoCategoriaLegales.v_TituloLegales.getData()} 
1217                            </#if> 
1218                        </a> 
1219                    </li> 
1220                </ul> 
1221            </nav>				 
1222                     
1223            <main> 
1224                <div class="tabs wrapper"> 
1225                    <nav 
1226                        class="shadow tabs-buttons swiper swiper-initialized swiper-horizontal swiper-pointer-events swiper-backface-hidden"> 
1227                        <ul class="tabs-list swiper-wrapper" role="tablist" id="swiper-wrapper-3ebea8d6b5f65396" 
1228                            aria-live="polite" style="transition-duration: 0ms; transform: translate3d(0px, 0px, 0px);"> 
1229                            <#assign idTab=0> 
1230                                <#if vGrupoDetalleModelos.vGrupoCaracteristicas.getSiblings()?has_content> 
1231                                    <#list vGrupoDetalleModelos.vGrupoCaracteristicas.getSiblings() as 
1232                                        cur_vGrupoDetalleModelos_vGrupoCaracteristicas> 
1233                                        <#assign idTab=idTab + 1> 
1234                                            <li class="tabs-list__item swiper-slide swiper-slide-next" role="group" 
1235                                                aria-label="2 / 2" style="margin-right: 30px;" aria-selected="true"><a 
1236                                                    role="tab" id="tab-${idTab}" aria-controls="tabpanel-${idTab}" 
1237                                                    href="#tab${idTab}" 
1238                                                    class="tabs-list__anchor">${cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vTituloTab.getData()}</a> 
1239                                            </li> 
1240                                    </#list> 
1241                                </#if> 
1242                                                             
1243                                                            <!--galeria--> 
1244                                                            <li class="tabs-list__item swiper-slide swiper-slide-next" role="group" 
1245                                                aria-label="2 / 2" style="margin-right: 30px;" aria-selected="true"><a 
1246                                                    role="tab" id="tab-10" aria-controls="tabpanel-10" 
1247                                                    href="#tab10" 
1248                                                    class="tabs-list__anchor">Galeria</a> 
1249                                </li> 
1250                                                            <!--galeria--> 
1251                        </ul> 
1252                        <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span> 
1253                    </nav> 
1254                                     
1255                                    <section class="detail-model-breadcrumb"> 
1256                                    <nav class="container-breadcrumb"> 
1257                                        <ol class="breadcrumb mb-0 container pb-0"> 
1258                                            <li class="breadcrumb-item"> 
1259                                                <a class="breadcrumb-link" href="/home">Home</a> 
1260                                            </li> 
1261                                            <#if (vSelectCategoria.getData())??> 
1262                                                <li class="breadcrumb-item"> 
1263                                                    <a class="breadcrumb-link" href="/${vSelectCategoria.getData()?lower_case?replace(" ", "-")}">${vSelectCategoria.getData()}</a> 
1264                                                </li> 
1265                                            </#if> 
1266                                            <#if (vNombreModelo.getData())??> 
1267                                                <li class="breadcrumb-item"> 
1268                                                <a class="active breadcrumb-link">${vNombreModelo.getData()}</a> 
1269                                                </li> 
1270                                            </#if> 
1271                                        </ol> 
1272                                    </nav>   
1273                                    </section> 
1274                    <div id="tabs-container" class="tabs-content"> 
1275                        <!-- Iterar paneles. Incluir aria-hidden --> 
1276                        <#assign idContenidoTab=0> 
1277                            <#if vGrupoDetalleModelos.vGrupoCaracteristicas.getSiblings()?has_content> 
1278                                <#list vGrupoDetalleModelos.vGrupoCaracteristicas.getSiblings() as 
1279                                    cur_vGrupoDetalleModelos_vGrupoCaracteristicas> 
1280                                    <#assign idContenidoTab=idContenidoTab + 1> 
1281                                        <div class="tabs-panel --richtext flex-column flex-md-row flex-wrap" aria-hidden="false" role="tabpanel" 
1282                                            id="tabpanel-${idContenidoTab}" aria-labelledby="tab-${idContenidoTab}" 
1283                                            style="display: none;">								 
1284                                                                                    <#if vGrupoDetalleModelos.vGrupoCaracteristicas.getSiblings()?has_content> 
1285                                                                                                <h2 class="titleTabMaquinarias mt-5 mb-3 d-flex justify-content-center align-items-center w-100">${cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vTituloTab.getData()}</h2> 
1286                                                                                    </#if>					 
1287                                                                                    <div class="row">																																			 
1288                                                                                    <div id="card__container" class="d-md-flex"> 
1289                                            <!--lista menu detalle caracteristicas--> 
1290                                            <div class="container-buttons-detalle-modelo-sany d-none d-md-flex flex-column pb-4 pb-md-0 px-md-2"> 
1291                                            <#if 
1292                                                cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vGrupoDetalle.getSiblings()?has_content> 
1293                                                <#list 
1294                                                    cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vGrupoDetalle.getSiblings() 
1295                                                    as cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle> 
1296                                                        <#if 
1297                                                            (cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vNombreAtributoMaquina.getData())??> 
1298                                                            <div class="text-center caracteristica-sany-nombre position-relative"> 
1299                                                                ${cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vNombreAtributoMaquina.getData()} 
1300                                                            </div> 
1301                                                        </#if>                                                                                              
1302                                                </#list> 
1303                                            </#if> 
1304                                            </div> 
1305                                            <!--lista menu detalle caracteristicas end--> 
1306                                            <!-- detalle interno caracteristicas--> 
1307                                            <#if 
1308                                                cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vGrupoDetalle.getSiblings()?has_content> 
1309                                                <#list 
1310                                                    cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vGrupoDetalle.getSiblings() 
1311                                                    as cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle> 
1312                                                    <div style="z-index: 2" class="d-none d-md-flex flex-row justify-content-center align-items-center"> 
1313                                                        <div class="desktop-tab card-detalle-atributo-modelo d-none" data-atribute-card-detalle="${cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vNombreAtributoMaquina.getData()}"> 
1314                                                            <#if (cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vImagenAtributoMaquina.getData())?? 
1315                                                                && 
1316                                                                cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vImagenAtributoMaquina.getData() 
1317                                                                !=""> 
1318                                                                <div class="imagen-caracteristica-sany d-none d-xl-block"> 
1319                                                                    <img class="w-100" 
1320                                                                        src="${cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vImagenAtributoMaquina.getData()}" /> 
1321                                                                </div> 
1322                                                            </#if> 
1323 
1324                                                            <#if 
1325                                                                (cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vDetalleAtributoMaquina.getData())??> 
1326                                                                <div class="detalle-caracteristica-sany"> 
1327                                                                                                                                <div class="title-detalle-modelo-card d-flex flex-column"> 
1328                                                                                                                                        <div class="font-weight-bold pb-1">${cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vNombreAtributoMaquina.getData()}</div> 
1329                                                                                                                                         
1330                                                                                                                                    </div> 
1331                                                                    ${cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vDetalleAtributoMaquina.getData()} 
1332                                                                    <#if (cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vFicha.getData())?? && cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vFicha.getData() != ''> 
1333                                                                        <div class="container-btn-sany d-none d-md-block mt-4" > 
1334                                                                            <a class="btn-cotizar-sany d-flex align-items-center justify-content-center font-weight-bold" href="${cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vFicha.getData()}"> 
1335                                                                                <svg id="icon-download" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 122.88 120.89"> 
1336                                                                                    <path d="M84.58,47a7.71,7.71,0,1,1,10.8,11L66.09,86.88a7.72,7.72,0,0,1-10.82,0L26.4,58.37a7.71,7.71,0,1,1,10.81-11L53.1,63.12l.16-55.47a7.72,7.72,0,0,1,15.43.13l-.15,55L84.58,47ZM0,113.48.1,83.3a7.72,7.72,0,1,1,15.43.14l-.07,22q46,.09,91.91,0l.07-22.12a7.72,7.72,0,1,1,15.44.14l-.1,30h-.09a7.71,7.71,0,0,1-7.64,7.36q-53.73.1-107.38,0A7.7,7.7,0,0,1,0,113.48Z"/> 
1337                                                                                </svg> 
1338                                                                                Descargar Ficha 
1339                                                                            </a> 
1340                                                                             
1341                                                                        </div> 
1342                                                                    </#if> 
1343                                                                 
1344                                                                </div> 
1345                                                            </#if> 
1346                                                        </div> 
1347                                                    </div> 
1348                                                </#list> 
1349                                            </#if> 
1350                                            <!-- detalle interno caracteristicas end--> 
1351 
1352                                            <!--collapse movile --> 
1353 
1354                                            <#if 
1355                                                cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vGrupoDetalle.getSiblings()?has_content> 
1356                                                <#list 
1357                                                    cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vGrupoDetalle.getSiblings() 
1358                                                    as cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle> 
1359                                                        <#if (cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vNombreAtributoMaquina.getData())??> 
1360                                                             
1361                                                            <div class="collapsible d-block d-md-none movile-collapsible-maquinarias"> 
1362                                                                    <h6 class="collapsible-header mb-0 align-items-center d-flex"> 
1363                                                                        ${cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vNombreAtributoMaquina.getData()} 
1364                                                                    </h6> 
1365                                                                    <ul id="lista-secciones" class="collapsible-content"> 
1366                                                                         
1367                                                                        <#if 
1368                                                                            cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vGrupoDetalle.getSiblings()?has_content> 
1369                                                                             
1370                                                                                <div class="d-flex flex-row justify-content-center align-items-center"> 
1371                                                                                    <div class="card-detalle-atributo-modelo flex-row align-items-center d-flex flex-column-reverse" data-atribute-card-detalle="${cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vNombreAtributoMaquina.getData()}" style="display:flex !important;"> 
1372                                                                                        <#if (cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vImagenAtributoMaquina.getData())?? 
1373                                                                                            && 
1374                                                                                            cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vImagenAtributoMaquina.getData() 
1375                                                                                            !=""> 
1376                                                                                            <div class="imagen-caracteristica-sany"><img 
1377                                                                                                    src="${cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vImagenAtributoMaquina.getData()}" /> 
1378                                                                                            </div> 
1379                                                                                        </#if> 
1380 
1381                                                                                        <#if 
1382                                                                                            (cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vDetalleAtributoMaquina.getData())??> 
1383                                                                                            <div class="detalle-caracteristica-sany"> 
1384                                                                                                <div class="title-detalle-modelo-card d-flex flex-column pb-2"> 
1385                                                                                                <div class="font-weight-bold pb-1">${cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vNombreAtributoMaquina.getData()}</div> 
1386                                                                                                </div> 
1387                                                                                                ${cur_vGrupoDetalleModelos_vGrupoCaracteristicas_vGrupoDetalle.vDetalleAtributoMaquina.getData()} 
1388                                                                                            </div> 
1389                                                                                        </#if> 
1390                                                                                    </div> 
1391                                                                                </div> 
1392                                                                             
1393                                                                        </#if> 
1394 
1395                                                                    </ul> 
1396                                                                </div>   
1397                                                             
1398                                                        </#if>                                                                                              
1399                                                </#list> 
1400 
1401                                                <#if (cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vFicha.getData())?? && cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vFicha.getData() != ''> 
1402                                                    <div class="container-btn-sany d-block d-md-none mt-4" > 
1403                                                        <a class="btn-cotizar-sany d-flex align-items-center justify-content-center font-weight-bold" href="${cur_vGrupoDetalleModelos_vGrupoCaracteristicas.vFicha.getData()}"> 
1404                                                            <svg id="icon-download" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 122.88 120.89"> 
1405                                                                <path d="M84.58,47a7.71,7.71,0,1,1,10.8,11L66.09,86.88a7.72,7.72,0,0,1-10.82,0L26.4,58.37a7.71,7.71,0,1,1,10.81-11L53.1,63.12l.16-55.47a7.72,7.72,0,0,1,15.43.13l-.15,55L84.58,47ZM0,113.48.1,83.3a7.72,7.72,0,1,1,15.43.14l-.07,22q46,.09,91.91,0l.07-22.12a7.72,7.72,0,1,1,15.44.14l-.1,30h-.09a7.71,7.71,0,0,1-7.64,7.36q-53.73.1-107.38,0A7.7,7.7,0,0,1,0,113.48Z"/> 
1406                                                            </svg> 
1407                                                            Descargar Ficha 
1408                                                        </a> 
1409                                                         
1410                                                    </div> 
1411                                                </#if> 
1412                                            </#if> 
1413 
1414                                             
1415 
1416                                        <!--collapse movile end--> 
1417                                        </div> 
1418                                        </div> 
1419                    </div>                     
1420                                </#list> 
1421                            </#if> 
1422 
1423                        <!-- tab galeria start --> 
1424                        <div class="cat-maquinarias tabs-panel p-0" aria-hidden="false" role="tabpanel" 
1425                        id="tabpanel-10" aria-labelledby="tab-10" 
1426                        style="display: none;" data-category="Galería"> 
1427                            <div class="contenedor"> 
1428                                <h2 class="text-center mt-5 mb-3">Galería</h2> 
1429                                <div class="container"> 
1430                                    <div class="row"> 
1431                                        <div class="container"> 
1432                                            <div class="container"> 
1433                                                <#if vGrupoDetalleModelos??> 
1434                                                    <#if vGrupoDetalleModelos.vGrupoSeccionGaleria??> 
1435                                                        <#if vGrupoDetalleModelos.vGrupoSeccionGaleria.vGroupGaleria??> 
1436                                                            <#if vGrupoDetalleModelos.vGrupoSeccionGaleria.vGroupGaleria.getSiblings()?has_content> 
1437                                                                <#assign imagenIndex = 0> 
1438                                                                 
1439                                                                <div class="row"> 
1440                                                                    <div class="col-lg-4 col-md-12 col-sm-12 flex-column justify-content-between d-flex" data-toggle="modal" data-target="#modal2"> 
1441                                                                        <#list vGrupoDetalleModelos.vGrupoSeccionGaleria.vGroupGaleria.getSiblings() as item_image> 
1442                                                                            <#if imagenIndex lt 2> 
1443                                                                                <#if item_image.vYTGaleria.getData()?? && item_image.vYTGaleria.getData() != ''> 
1444                                                                                    <#assign enlaceVideo = item_image.vYTGaleria.getData()> 
1445                                                                                    <#assign codigoVideo = enlaceVideo?substring(enlaceVideo?last_index_of("=") + 1)> 
1446                                                                                    <#assign enlaceImagen = "https://img.youtube.com/vi/${codigoVideo}/hqdefault.jpg"> 
1447                                                                                    <a class="open-gallery-modal" data-slide-to="${imagenIndex}"> 
1448                                                                                        <img  alt="youtube" src="${enlaceImagen}" class="img-thumbnail mt-3" /> 
1449                                                                                    </a> 
1450                                                                                <#else> 
1451                                                                                    <#if (item_image.vImgGaleria.getData())?? && item_image.vImgGaleria.getData() != ""> 
1452                                                                                        <a class="open-gallery-modal" data-slide-to="${imagenIndex}"> 
1453                                                                                            <img class="img-thumbnail mt-3" alt="${item_image.vImgGaleria.getAttribute("alt")}" src="${item_image.vImgGaleria.getData()}" /> 
1454                                                                                        </a> 
1455                                                                                    </#if> 
1456                                                                                </#if> 
1457                                                                                 
1458                                                                                <#assign imagenIndex = imagenIndex + 1 /> 
1459                                                                            </#if> 
1460                                                                        </#list> 
1461                                                                    </div> 
1462                                                                     
1463                                                                    <#assign imagenIndex = 0> 
1464                                                                    <#list vGrupoDetalleModelos.vGrupoSeccionGaleria.vGroupGaleria.getSiblings() as item_image> 
1465                                                                        <#if imagenIndex gt 1 && imagenIndex lt 9> 
1466                                                                            <#if imagenIndex == 2> 
1467                                                                                <div class="col-lg-8 col-md-12 col-sm-12 <#if item_image.vYTGaleria.getData()?? && item_image.vYTGaleria.getData() != ''> caja-video</#if>" data-toggle="modal" data-target="#modal2"> 
1468                                                                                    <#if item_image.vYTGaleria.getData()?? && item_image.vYTGaleria.getData() != ''> 
1469                                                                                        <#assign enlaceVideo = item_image.vYTGaleria.getData()> 
1470                                                                                        <#assign codigoVideo = enlaceVideo?substring(enlaceVideo?last_index_of("=") + 1)> 
1471                                                                                        <#assign enlaceImagen = "https://img.youtube.com/vi/${codigoVideo}/hqdefault.jpg"> 
1472                                                                                        <a class="open-gallery-modal" data-slide-to="${imagenIndex}"> 
1473                                                                                            <img class="img-thumbnail my-3" alt="youtube" src="${enlaceImagen}" data-test="${item_image.vYTGaleria.getData()}" /> 
1474                                                                                        </a> 
1475                                                                                    <#else> 
1476                                                                                        <#if (item_image.vImgGaleria.getData())?? && item_image.vImgGaleria.getData() != ""> 
1477                                                                                            <a class="open-gallery-modal" data-slide-to="${imagenIndex}"> 
1478                                                                                                 
1479                                                                                                <img class="img-thumbnail my-3" alt="${item_image.vImgGaleria.getAttribute("alt")}" src="${item_image.vYTGaleria.getData()}" /> 
1480                                                                                            </a>  
1481                                                                                        </#if> 
1482                                                                                    </#if> 
1483                                                                                </div> 
1484                                                                            <#else> 
1485                                                                                 
1486                                                                                <#if item_image.vYTGaleria.getData()?? && item_image.vYTGaleria.getData() != ''> 
1487                                                                                <div class="col-lg-4 col-md-12 col-sm-12 caja-video" data-toggle="modal" data-target="#modal2"> 
1488                                                                                    <#assign enlaceVideo = item_image.vYTGaleria.getData()> 
1489                                                                                    <#assign codigoVideo = enlaceVideo?substring(enlaceVideo?last_index_of("=") + 1)> 
1490                                                                                    <#assign enlaceImagen = "https://img.youtube.com/vi/${codigoVideo}/hqdefault.jpg"> 
1491                                                                                     
1492                                                                                    <a class="open-gallery-modal" data-slide-to="${imagenIndex}"> 
1493                                                                                        <img class="img-thumbnail my-3" alt="youtube" src="${enlaceImagen}" /> 
1494                                                                                    </a> 
1495                                                                                </div> 
1496                                                                                <#else> 
1497                                                                                <div class="col-lg-4 col-md-12 col-sm-12" data-toggle="modal" data-target="#modal2"> 
1498                                                                                    <#if (item_image.vImgGaleria.getData())?? && item_image.vImgGaleria.getData() != ""> 
1499                                                                                        <a class="open-gallery-modal" data-slide-to="${imagenIndex}"> 
1500                                                                                            <img class="img-thumbnail my-3" alt="${item_image.vImgGaleria.getAttribute("alt")}" src="${item_image.vImgGaleria.getData()}" /> 
1501                                                                                        </a> 
1502                                                                                    </#if> 
1503                                                                                 
1504                                                                                </div> 
1505                                                                                </#if> 
1506                                                                            </#if> 
1507                                                                        </#if> 
1508                                                                        <#assign imagenIndex = imagenIndex + 1 /> 
1509                                                                    </#list> 
1510 
1511                                                                    <#assign imagenIndexHidden = 0 /> 
1512                                                                     
1513                                                                    <div class="row w-100" id="additionalGallery" style="display: none;"> 
1514                                                                        <#list vGrupoDetalleModelos.vGrupoSeccionGaleria.vGroupGaleria.getSiblings() as item_image> 
1515                                                                            <#if imagenIndexHidden gt 8> 
1516                                                                                <!-- Las imágenes que se cargarán al hacer clic en el botón "Cargar Más Galerías" --> 
1517                                                                                <#if item_image.vYTGaleria.getData()?? && item_image.vYTGaleria.getData() != ''> 
1518                                                                                    <div class="hide-gallery col-lg-4 col-md-12 col-sm-12 caja-video" data-toggle="modal" data-target="#modal2"> 
1519                                                                                        <#assign enlaceVideo = item_image.vYTGaleria.getData()> 
1520                                                                                        <#assign codigoVideo = enlaceVideo?substring(enlaceVideo?last_index_of("=") + 1)> 
1521                                                                                        <#assign enlaceImagen = "https://img.youtube.com/vi/${codigoVideo}/hqdefault.jpg"> 
1522                                                                                         
1523                                                                                        <a class="open-gallery-modal" data-slide-to="${imagenIndexHidden}"> 
1524                                                                                            <img class="img-thumbnail my-3" alt="youtube" src="${enlaceImagen}" /> 
1525                                                                                        </a> 
1526                                                                                    </div> 
1527                                                                                    <#else> 
1528                                                                                    <div class="hide-gallery col-lg-4 col-md-12 col-sm-12" data-toggle="modal" data-target="#modal2"> 
1529                                                                                        <#if (item_image.vImgGaleria.getData())?? && item_image.vImgGaleria.getData() != ""> 
1530                                                                                            <a class="open-gallery-modal" data-slide-to="${imagenIndexHidden}"> 
1531                                                                                                <img class="img-thumbnail my-3" alt="${item_image.vImgGaleria.getAttribute("alt")}" src="${item_image.vImgGaleria.getData()}" /> 
1532                                                                                            </a> 
1533                                                                                        </#if> 
1534                                                                                     
1535                                                                                    </div> 
1536                                                                                </#if> 
1537                                                                            </#if> 
1538                                                                            <#assign imagenIndexHidden = imagenIndexHidden + 1 /> 
1539                                                                        </#list> 
1540                                                                    </div> 
1541                                                                         
1542                                                                </div> 
1543                                                                 
1544                                                            </#if> 
1545                                                        </#if> 
1546                                                    </#if> 
1547                                                </#if> 
1548                                            </div> 
1549                                            <!-- Modal 2 --> 
1550                                            <div class="modal fade" id="modal2" tabindex="-1" role="dialog" aria-labelledby="Lightbox Gallery 2 by Bootstrap 4" aria-hidden="true"> 
1551                                                <div class="modal-dialog modal-dialog-centered modal-gallery-prod" role="document"> 
1552                                                    <div class="modal-content"> 
1553                                                        <div class="modal-body"> 
1554                                                            <div id="lightbox2" class="carousel slide" data-ride="carousel" data-interval="5000" data-keyboard="true"> 
1555                                                                <ol class="carousel-indicators"> 
1556                                                                    <#assign imagenIndexModal = 0 /> 
1557                                                                    <#list vGrupoDetalleModelos.vGrupoSeccionGaleria.vGroupGaleria.getSiblings() as item_image> 
1558                                                                         
1559                                                                        <#if item_image.vYTGaleria.getData()?? && item_image.vYTGaleria.getData() != ''> 
1560                                                                            <#assign enlaceVideo = item_image.vYTGaleria.getData()> 
1561                                                                            <#assign codigoVideo = enlaceVideo?substring(enlaceVideo?last_index_of("=") + 1)> 
1562                                                                            <#assign enlaceImagen = "https://img.youtube.com/vi/${codigoVideo}/hqdefault.jpg"> 
1563                                                                            <li data-slide-to="${imagenIndexModal}" class="caja-video small"> 
1564                                                                                <img  src="${enlaceImagen}" alt="youtube"> ${imagenIndexModal} 
1565                                                                            </li> 
1566                                                                        <#else> 
1567                                                                            <#if (item_image.vImgGaleria.getData())?? && item_image.vImgGaleria.getData() != ""> 
1568                                                                                <li data-slide-to="${imagenIndexModal}"> 
1569                                                                                    <img  alt="${item_image.vImgGaleria.getAttribute("alt")}" src="${item_image.vImgGaleria.getData()}" /> 
1570                                                                                </li> 
1571                                                                            </#if> 
1572                                                                        </#if> 
1573                                                                         
1574                                                                        <#assign imagenIndexModal = imagenIndexModal + 1 /> 
1575                                                                    </#list> 
1576                                                                </ol> 
1577                                                                <div class="carousel-inner"> 
1578                                                                    <#assign imagenIndexModal = 0 /> 
1579                                                                    <#list vGrupoDetalleModelos.vGrupoSeccionGaleria.vGroupGaleria.getSiblings() as item_image> 
1580                                                                        <#if item_image.vYTGaleria.getData()?? && item_image.vYTGaleria.getData() != ''> 
1581                                                                            <#assign enlaceVideo = item_image.vYTGaleria.getData()> 
1582                                                                            <#assign codigoVideo = enlaceVideo?substring(enlaceVideo?last_index_of("=") + 1)> 
1583                                                                            <#assign enlaceImagen = "https://www.youtube.com/embed/${codigoVideo}?si=DJre55hj_7zm0DvH"> 
1584                                                                            <div data-open="${imagenIndexModal}" class="carousel-item"> 
1585                                                                                <iframe width="100%" height="400" src="${enlaceImagen}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> 
1586                                                                            </div> 
1587                                                                        <#else> 
1588                                                                            <#if (item_image.vImgGaleria.getData())?? && item_image.vImgGaleria.getData() != ""> 
1589                                                                                <div data-open="${imagenIndexModal}" class="carousel-item"> 
1590                                                                                    <img alt="${item_image.vImgGaleria.getAttribute("alt")}" src="${item_image.vImgGaleria.getData()}" class="w-100"> 
1591                                                                                </div> 
1592                                                                            </#if> 
1593                                                                        </#if> 
1594                                                                         
1595                                                                        <#assign imagenIndexModal = imagenIndexModal + 1 /> 
1596                                                                    </#list> 
1597                                                                </div> 
1598                                                                <a class="carousel-control-prev" href="#lightbox2" role="button" data-slide="prev"><span class="carousel-control-prev-icon" aria-hidden="true"></span><span class="sr-only">Previous</span></a> 
1599                                                                <a class="carousel-control-next" href="#lightbox2" role="button" data-slide="next"><span class="carousel-control-next-icon" aria-hidden="true"></span><span class="sr-only">Next</span></a> 
1600                                                            </div> 
1601                                                        </div> 
1602                                                    </div> 
1603                                                </div> 
1604                                            </div> 
1605                                        </div> 
1606                                    </div> 
1607                                </div> 
1608                            </div> 
1609                             
1610                            <#if 9 < imagenIndex> 
1611                                <div class="contenedor"> 
1612                                    <div class="loading text-center"><a id="showDivButton">Cargar más galerías</a></div> 
1613                                </div>  
1614                            </#if> 
1615                               
1616                        </div> 
1617 
1618                        <!-- tab galeria end --> 
1619                                         
1620 
1621                    </div> 
1622                                    <!--tab--> 
1623                </div> 
1624            </main> 
1625        </section> 
1626             
1627    </seccion> 
1628		 
1629		<script src="owl.carousel.min.js"></script> 
1630    <script> 
1631		 
1632				$(document).ready(function(){ 
1633					$(".owl-carousel").owlCarousel({ 
1634						items: 1, 
1635      			loop: false, 
1636      			autoplay: false, 
1637      			nav: false, 
1638      			dots: false 
1639					}); 
1640				}); 
1641 
1642        const showDivButton = document.getElementById('showDivButton'); 
1643        const additionalGallery = document.getElementById('additionalGallery'); 
1644 
1645        if(showDivButton){ 
1646            showDivButton.addEventListener('click', function () { 
1647                additionalGallery.style.display = 'flex'; // Mostrar la Galería 1 
1648            }); 
1649
1650 
1651        const galleryItems = document.querySelectorAll('.open-gallery-modal'); 
1652        const optionsImage = document.querySelectorAll(".carousel-inner .carousel-item"); 
1653        const options = document.querySelectorAll(".carousel-indicators li"); 
1654 
1655        options.forEach(item => { 
1656            var position = item.dataset["slideTo"]; 
1657            item.addEventListener("click", function(e){ 
1658                goToImage(position) 
1659            }) 
1660        }) 
1661         
1662        if(galleryItems && 0 < galleryItems.length){ 
1663            galleryItems.forEach(item => { 
1664                var position = item.dataset["slideTo"]; 
1665                if(position){ 
1666                    item.addEventListener("click", function(e){ 
1667                        if(additionalGallery){ 
1668                            goToImage(position) 
1669
1670                    }) 
1671
1672            }) 
1673
1674 
1675        function goToImage(position){ 
1676            options.forEach(o => { 
1677                o.classList.remove("active"); 
1678            }) 
1679 
1680            var option = document.querySelector(".carousel-indicators li[data-slide-to='" + position + "']") 
1681            console.log(option) 
1682            if(option) option.classList.add("active"); 
1683 
1684            optionsImage.forEach(o => { 
1685                o.classList.remove("active"); 
1686            }) 
1687 
1688            var optionImage = document.querySelector("[data-open='" + position + "']") 
1689            console.log(optionImage) 
1690            if(optionImage) optionImage.classList.add("active"); 
1691
1692 
1693        $(function () { 
1694            $('.tabs-list__anchor')[0].click(); 
1695            $('a[data-page=legales]').addClass('--active'); 
1696 
1697            //tabs init 
1698            function handleTabs() { 
1699                var tabsPanels = document.querySelectorAll('.tabs-panel'); 
1700        var tabsAnchors = document.querySelectorAll('.tabs-list__anchor'); 
1701         
1702        // Verificar si hay pestañas tanto para escritorio como para móvil 
1703        if (!tabsPanels.length || !tabsAnchors.length) return; 
1704         
1705        // Iterar sobre las pestañas y manejarlas 
1706        tabsAnchors.forEach(function (tabAnchor, index) { 
1707            tabAnchor.addEventListener('click', function () { 
1708                // Ocultar todas las pestañas 
1709                tabsPanels.forEach(function (panel) { 
1710                    panel.style.display = 'none'; 
1711                }); 
1712                 
1713                // Mostrar la pestaña correspondiente 
1714                tabsPanels[index].style.display = 'flex'; 
1715                 
1716                // Remover la clase 'active' de todos los enlaces 
1717                tabsAnchors.forEach(function (anchor) { 
1718                    anchor.parentElement.classList.remove('active'); 
1719                    anchor.parentElement.setAttribute('aria-selected', 'false'); 
1720                }); 
1721                 
1722                // Agregar la clase 'active' al enlace actual 
1723                tabAnchor.parentElement.classList.add('active'); 
1724                tabAnchor.parentElement.setAttribute('aria-selected', 'true'); 
1725            }); 
1726        }); 
1727 
1728                // Slider para tabs 
1729                var slider = document.querySelector('.tabs .swiper'); 
1730                if (slider) { 
1731                    var swiper = new Swiper(slider, { 
1732                        slidesPerView: 'auto', 
1733                        /*spaceBetween: 25, 
1734                        breakpoints: { 
1735                            1200: { 
1736                                spaceBetween: 30 
1737                            }, 
1738                            992: { 
1739                                spaceBetween: 30 
1740                            }, 
1741                            768: { 
1742                                spaceBetween: 30 
1743
1744                        }*/ 
1745                    }); 
1746
1747 
1748            // Seleccionar la primera pestaña por defecto 
1749        tabsAnchors[0].click(); 
1750
1751            handleTabs(); 
1752                     
1753                     
1754                //manejo de tabs				 
1755                setTimeout(function(){ 
1756                    $('.caracteristica-sany-nombre:first').click() 
1757                },0); 
1758                         
1759                $('[id*=tab-]').on('click', function() { 
1760                        let idTab = $(this).attr('id').trim(); 
1761                        console.log('id clicked: ' + idTab); 
1762                        let panelSelector = '#tabpanel-' + idTab.split('-')[1]; 
1763            console.log(panelSelector); 
1764                        $(panelSelector).find('.caracteristica-sany-nombre:first').click(); 
1765                }); 
1766 
1767                $('.caracteristica-sany-nombre').on('click', function () { 
1768                        console.log('clicked button'); 
1769                        let nombreCard = $(this).text().trim(); 
1770                        $('.caracteristica-sany-nombre').removeClass('button-clicked-active'); 
1771                        $(this).addClass('button-clicked-active'); 
1772                        $('.card-detalle-atributo-modelo').each(function () { 
1773                                let atributoCardDetalle = $(this).attr('data-atribute-card-detalle').trim();  
1774                                console.log('atributo match: ' + atributoCardDetalle) 
1775                                if (atributoCardDetalle === nombreCard) { 
1776                                        $(this).removeClass('d-none').addClass('d-flex'); 
1777                                        console.log('clicked enter IF'); 
1778                                } else { 
1779                                        $(this).removeClass('d-flex').addClass('d-none'); 
1780
1781                        }); 
1782                }); 
1783                 
1784                $('#ficha-maquinaria .collapsible-header').on('click',function(){ 
1785                let tab = $(this); 
1786                if (!tab.siblings().hasClass('active')){ 
1787                    tab.css('cssText','border-radius: 12px 12px 0px 0px !important;'); 
1788                    tab.find('.openCollapsible').removeClass('d-none') 
1789                    tab.find('.closeCollapsible').addClass('d-none') 
1790                } else { 
1791                    tab.css('cssText',' border-radius: 12px;') 
1792                    tab.find('.openCollapsible').addClass('d-none') 
1793                    tab.find('.closeCollapsible').removeClass('d-none') 
1794
1795            }); 
1796             
1797            //Swiper Galeria 
1798                var sliderGaleria = document.querySelector('#galeria .swiper'); 
1799                if (sliderGaleria) { 
1800                    let swiper = new Swiper(sliderGaleria, { 
1801                        slidesPerView: 1, 
1802                                            pagination: { 
1803                                                el: '.swiper-pagination', 
1804                                            }, 
1805                                            // Navigation arrows 
1806                                            navigation: { 
1807                                                nextEl: '.swiper-button-next', 
1808                                                prevEl: '.swiper-button-prev', 
1809                                            }, 
1810                        /*spaceBetween: 25,*/ 
1811                    /* breakpoints: { 
1812                            1200: { 
1813                                spaceBetween: 25 
1814                            }, 
1815                            992: { 
1816                                spaceBetween: 25 
1817                            }, 
1818                            768: { 
1819                                spaceBetween: 25 
1820
1821                        }*/ 
1822                    }); 
1823                }; 
1824 
1825                var swiperSanyGlobalMinis = document.querySelector("#swiper-galeria-sany-global-minis"); 
1826                if(swiperSanyGlobalMinis){ 
1827                let swiper = new Swiper( swiperSanyGlobalMinis, 
1828
1829                    slidesPerView: 1.5, 
1830                    spaceBetween: 6, 
1831                    loop: false, 
1832                    centerSlide: "true", 
1833                    breakpoints: { 
1834                        768: { 
1835                        slidesPerView: 1.5, 
1836                        spaceBetween: 0, 
1837                    }, 
1838
1839                }); 
1840            }; 
1841 
1842                var swiperSanyGlobalBigger = document.querySelector("#swiper-galeria-sany-global-bigger"); 
1843                if(swiperSanyGlobalBigger){ 
1844                let swiper = new Swiper(swiperSanyGlobalBigger, 
1845
1846                    slidesPerView: 1, 
1847                    spaceBetween: 0, 
1848                    loop: false, 
1849                    centerSlide: "true", 
1850                    breakpoints: { 
1851                        768: { 
1852                        slidesPerView: 1, 
1853                        spaceBetween: 0, 
1854                    }, 
1855                    }, 
1856
1857                ); 
1858            }; 
1859 
1860            $('#verMasGaleria').on('click', function(e) { 
1861                    e.preventDefault(); 
1862                    $('.imagen-extra').fadeToggle('fast', function() { 
1863                            if ($('.imagen-extra').is(':visible')) { 
1864                                    $('#verMasGaleria').text('Ver menos galería...'); 
1865                            } else { 
1866                                    $('#verMasGaleria').text('Ver más galería...'); 
1867
1868                    }); 
1869    }); 
1870 
1871 
1872        });   
1873 
1874        $(".openGallery").on("click", function(){ 
1875            $("#overlay-gallery-image").addClass("d-flex"); 
1876        }) 
1877 
1878        $("#overlay-gallery-image .paginator .image-gallery .embed-responsive").each(function(index, element) { 
1879            $(element).hide(); 
1880            var embedID = $(element).attr("data-embed-id"); 
1881            if(embedID != null){ 
1882                var urlParts = embedID.split("/"); 
1883                var idFirst = urlParts[urlParts.length - 1]; 
1884                var id = idFirst.split("?")[0] 
1885 
1886                const father = $(this).parent(); 
1887                father.html( 
1888                    "<p><img src='https://img.youtube.com/vi/" + id + "/default.jpg' /></p>" 
1889
1890
1891             
1892        }) 
1893 
1894        $(".openGallery").on("click", function(){ 
1895            var mediaId = $(this).data("media"); 
1896            openMedia(mediaId); 
1897            showPaginator(mediaId); 
1898            $("#overlay-gallery-image").addClass("d-flex"); 
1899        }) 
1900 
1901        $("#overlay-gallery-image .paginator .image-gallery").on("click", function(){ 
1902            var mediaId = $(this).data("media"); 
1903            openMedia(mediaId); 
1904            showPaginator(mediaId); 
1905        }) 
1906 
1907        $("#overlay-gallery-image .btn-close").on("click", function(){ 
1908            $("#overlay-gallery-image").removeClass("d-flex"); 
1909        }) 
1910 
1911        var current_page = 0; 
1912 
1913        function openMedia(id){ 
1914            $("#overlay-gallery-image .view-medias .view-media").removeClass("d-flex"); 
1915            $("#overlay-gallery-image .view-medias .view-media[data-media='" + id + "']").addClass("d-flex"); 
1916
1917 
1918        function showPaginator(id){ 
1919            var number = id.split("-")[1]; 
1920            number = parseInt(number); 
1921 
1922            current_page = number; 
1923 
1924            var max_page = 5; 
1925 
1926            if(5 < length_gallery) { 
1927                $("#overlay-gallery-image .paginator .image-gallery").removeClass("d-inline-flex"); 
1928                var max = (length_gallery < number + max_page)? length_gallery: number + max_page; 
1929                var min = (length_gallery < number + max_page)?(length_gallery - max_page): number; 
1930                for(var i = min; i < max; i++){ 
1931                    $("#overlay-gallery-image .paginator .image-gallery[data-media='media-" + i + "']").addClass("d-inline-flex"); 
1932
1933
1934 
1935            $("#overlay-gallery-image .paginator .arrow-left").removeClass("disabled"); 
1936            $("#overlay-gallery-image .paginator .arrow-right").removeClass("disabled"); 
1937             
1938            if(current_page == 0){ 
1939                $("#overlay-gallery-image .paginator .arrow-left").addClass("disabled"); 
1940            } else if (current_page == (length_gallery - 1)){ 
1941                $("#overlay-gallery-image .paginator .arrow-right").addClass("disabled"); 
1942
1943
1944 
1945        var length_gallery = $("#overlay-gallery-image .paginator .image-gallery").length; 
1946         
1947        if(length_gallery < 6) { 
1948            $("#overlay-gallery-image .paginator .container-arrow").addClass("disabled") 
1949
1950 
1951        $("#overlay-gallery-image .paginator .arrow-left").on("click", function(){ 
1952            if(0 < current_page){ 
1953                current_page--; 
1954                openMedia("media-" + current_page); 
1955                showPaginator("media-" + current_page); 
1956
1957        }) 
1958         
1959 
1960        $("#overlay-gallery-image .paginator .arrow-right").on("click", function(){ 
1961            if(current_page < length_gallery - 1){ 
1962                current_page++; 
1963                openMedia("media-" + current_page); 
1964                showPaginator("media-" + current_page); 
1965
1966        }) 
1967    </script>