/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.tabs .e-con-full.e-flex.e-con.e-child{
    border: 0px !important;
}
/* TIMELINE */
/* --- ESTILOS PRINCIPALES --- */
.timeline-container {
    position: relative;
    width: 100%;
    max-width: 500px; /* Aumenté un poco para que quepan las fotos */
    margin: 0 auto;
    padding: 20px 0;
    font-family: "Jacquelina", Sans-serif; 
    color: #000; 
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #000;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    height: 80px; /* Aumenté un poco la altura para la imagen */
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* --- LADO IZQUIERDO --- */
.timeline-item.left {
    left: 0;
    justify-content: flex-end;
    padding-right: 20px;
    text-align: right;
}

.timeline-item.left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 1px;
    background-color: #000;
}

/* --- LADO DERECHO --- */
.timeline-item.right {
    left: 50%;
    justify-content: flex-start;
    padding-left: 20px;
    text-align: left;
}

.timeline-item.right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 1px;
    background-color: #000;
}

/* --- TEXTO DEL AÑO --- */
.year {
    font-size: 80px;
    line-height: 1;
    font-weight: 400;
    margin-top: -20px;
    font-family: "Jacquelina", Sans-serif;
    white-space: nowrap;
}
.timeline-thumb {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #000;
    transition: transform 0.2s;
    margin-top: -10px;
}
.timeline-thumb:hover {
    transform: scale(1.1);
}
.timeline-item.left .timeline-thumb {
    margin-right: 15px;
}
.timeline-item.right .timeline-thumb {
    margin-left: 15px;
}
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    animation: zoomIn 0.3s;
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    font-family: Arial, sans-serif;
}
.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
@keyframes zoomIn {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
/* FIN TIMELINE */
.elementor-slideshow__footer.elementor-lightbox-prevent-close {
	display: none !important;
}