/**
* Theme Name: LEDEX Fórum
* Description: Onde Líderes de Negócios Conectam Ideias
* Template: eventchamp
* Version: 2.2.1
*/


.topbutton {
     height:50px;
     width:50px;
     position:fixed;
     right:5px;
     bottom:5px;
     Z-index:2000;
     background-image:url("/wp-content/uploads/2025/06/topbutton50.png");
     background-repeat:no-repeat;
     display:none;
}




/* Speaker Popup Styles */
.speaker-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}

.speaker-popup-content {
    position: relative;
    background-color: white;
    max-width: 900px;
    width: 95%;
    margin: 40px auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.speaker-popup-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.speaker-popup-left img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.speaker-popup-right {
    padding: 10px 0;
}

.speaker-popup-right h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.speaker-popup-right .company {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.speaker-popup-right .bio {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin: 20px 0;
}

.close-popup {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    color: #333;
    border: none;
    transition: all 0.2s ease;
}

.close-popup:hover {
    transform: scale(1.1);
    background: #f8f8f8;
}

/* Hover effects for clickable elements */
.speaker-thumbnail,
.speaker-name,
.gt-image a,
.gt-name a {
    cursor: pointer;
}

.speaker-thumbnail img,
.gt-image img {
    transition: opacity 0.2s ease;
}

.speaker-thumbnail:hover img,
.gt-image a:hover img {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .speaker-popup-grid {
        grid-template-columns: 1fr;
    }
    
    .speaker-popup-content {
        padding: 20px;
        margin: 20px auto;
    }
    
    .speaker-popup-left {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Prevent body scroll when popup is open */
body.popup-open {
    overflow: hidden;
}



/* Add to your existing CSS */
.country-flag {
    font-size: 1.1em;
    margin-left: 6px;
    vertical-align: middle;
}

/* Optional: Add a subtle tooltip on hover */
.gt-company {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* If you want to adjust flag size in popup */
.speaker-popup .country-flag {
    font-size: 1.2em;
}

/* Alternative: If you prefer flag icons instead of emojis, 
   you can use an icon library like flag-icons */
.country-flag-icon {
    width: 18px;
    height: 12px;
    margin-left: 6px;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}




.speakerlinks {
    display: flex;
    align-items: center;
    gap: 10px;
	font-size: 20px;
	color: #808080;
    margin-top: 15px;    /* Add top margin */
    margin-left: 10px;   /* Add left margin */
}

/* Remove bullet points and make items display in a row */
.speakerlinks .gt-social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px; /* Space between icons */
}

/* Style the icons */
.speakerlinks .gt-social-links i {
    color: #808080; /* Gray color */
    font-size: 20px; /* Adjust size as needed */
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

/* Optional: Hover effect */
.speakerlinks .gt-social-links a:hover i {
    color: #07004D; /* Darker gray on hover */
}

/* Ensure list items don't have any default margins */
.speakerlinks .gt-social-links li {
    margin: 0;
}