.esw-tab-container, .esw-sub-tab-container {
    display: flex;
    cursor: pointer;
    /*padding: 10px;*/
}

.esw-tab, .esw-sub-tab {
    padding: 10px 20px;
    margin: 0;
    /*border: 1px solid #dbdbdb;*/
    border-bottom: none;
    flex: 1;
    text-align: center;
    color: #e84f1c;
    background-color: #3a3386;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.esw-tab.active, .esw-sub-tab.active {
    background-color: #e84f1c;
    color: #FFF;
    font-weight: bold;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.esw-tab-content, .esw-sub-tab-content {
   /* border: 1px solid #dbdbdb;*/
    border-top: none;
}

.esw-tab-content-item, .esw-sub-tab-content-item {
    display: none;
    /*padding: 20px;*/
}

.esw-tab-content-item.active, .esw-sub-tab-content-item.active {
    display: block;
}
.esw-sub-tab-details {
    display: flex;
    align-items: center;
    /*margin: 10px;*/
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #12174b;
    border-radius: 0px;
    background-color: #12174b;
}

.esw-sub-tab-column {
    flex: 1;
    margin-right: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.esw-sub-tab-column.image {
    flex: 0 0 170px;
}

.esw-sub-tab-column:last-child {
    margin-right: 0;
}

.esw-sub-tab-column.schedule {
    flex: 0 0 190px; /* Tamanho fixo para a coluna de horários */
    margin-right: 10px;
}

.esw-sub-tab-schedule,
.esw-sub-tab-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #ffccbb;
}

.esw-sub-tab-image {
    max-width: 100%;
    height: auto;
    display: block; 
    border-radius: 50% !important;
}

.esw-speakers-list {
    margin-top: 10px;
}

.esw-speakers-list ul {
    list-style-type: disc;
    /*padding-left: 20px;*/
    margin-top: 5px;
}
.esw-sub-tab-title{
    color: #fff;
    font-size: 25px;
}

.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
 

.esw-sub-tab-column {
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
 
.esw-sub-tab-column.image .swiper-container {
    width: 150px; /* Define a largura do carrossel */
    height: 150px; /* Define a altura do carrossel */
    overflow: hidden; /* Esconde o excesso de conteúdo */
    position: relative; /* Para o posicionamento dos dots */
}

.swiper-slide img {
    width: 100%; /* Garante que a imagem se ajuste ao container */
    height: auto; /* Mantém a proporção da imagem */
}

.swiper-pagination {
    position: absolute; /* Posiciona os dots dentro do container */
    bottom: 0; /* Alinha os dots na parte inferior */
    left: 50% !important; /* Centraliza os dots horizontalmente */
    transform: translateX(-50%); /* Ajusta o alinhamento centralizado */
    display: flex; /* Utiliza flexbox para alinhar os dots */
    justify-content: center; /* Centraliza os dots */
    width: 100%; /* Garante que a largura dos dots seja igual ao do container */
}

.swiper-pagination-bullet {
    background: #000; /* Define a cor dos bullets */
    opacity: 1; /* Garante que os bullets sejam visíveis */
}

.swiper-pagination-bullet-active {
    background: #ffccbb!important; /* Define a cor do bullet ativo */
}
.swiper-button-next, .swiper-rtl .swiper-button-prev{
    display: none !important;
}
.swiper-button-prev, .swiper-rtl .swiper-button-next {
    display: none !important;
}
@media (max-width: 768px) {
    .esw-sub-tab-column {
        width: 100%; /* Garante que cada coluna ocupe a largura total em telas menores */
    }
    .esw-sub-tab-details {
        display: flex;
        flex-direction: column; /* Adiciona flex-direction: column para tornar o layout responsivo */
        align-items: flex-start;
        margin: 10px;
        padding: 10px;
        border: 1px solid #12174b;
        border-radius: 0px;
        background-color: #12174b;
    }

    .esw-sub-tab-column.image {
        align-items: center;
    }     
    
    .esw-sub-tab-column.schedule {
        margin-bottom: 10px; /* Adiciona uma margem inferior para separar o horário do restante */
        text-align: center; /* Centraliza o horário */
        align-items: center;
        flex: 0 0 35px;
        background-color: #f0f0f0; /* Adiciona um fundo ao horário */
        padding: 5px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    
    .esw-sub-tab-image {
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 0px;
    }
    
    .esw-speakers-list ul {
        list-style-type: disc;
        padding-left: 20px;
        margin-top: 5px;
    }
    
    .etw-speakers-list ul {
        list-style-type: disc;
        padding-left: 20px;
        margin-top: 5px;
    }
    
    /* Estilização para tornar o carrossel responsivo */
    .swiper-container {
        width: 100%;
        height: 150px;
    }
}
.esw-speaker-bio-link{
    color: #f5f5f5;
    text-decoration: none;

}.esw-sub-tab {
    background-color: #ffccbb;
}
.esw-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.esw-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.esw-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.esw-modal-close:hover,
.esw-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.esw-speaker-info {
    display: flex;
    align-items: center;
}

.esw-speaker-info img {
    max-width: 150px;
    margin-right: 20px;
    border-radius: 50%;
}

.esw-speaker-details {
    flex-grow: 1;
}

.esw-speaker-bio {
    margin-top: 20px;
}

.esw-speaker-position {
    font-style: italic;
    color: #555;
}


@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
/* Estilo para as sub-tabs */
.esw-sub-tab-container {
    display: flex;
    flex-wrap: wrap; /* Permite que as abas se movam para a linha seguinte se não houver espaço */
}

/* Cada sub-tab ocupará uma parte igual do espaço disponível */
.esw-sub-tab {
    flex: 1 1 180px; /* A largura mínima é 100px, mas pode crescer */
  /*   margin: 5px; Adiciona espaçamento entre as abas */border-right: 1px solid #12174b;
    border-top: 1px solid #12174b;
    text-align: center; /* Centraliza o texto */
}

/* Para dispositivos móveis */
@media (max-width: 768px) {
    .esw-sub-tab {
        flex: 1 1 45%; /* Cada sub-tab ocupará 45% da largura do container */
    }
}

.esw-speakers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.esw-speaker {
    text-align: center;
    width: 120px;
}

.esw-speaker img {
    width: 100%;
    height: auto;
    border-radius: 10px !important;
    object-fit: cover;
    margin-bottom: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: transform 0.2s ease-in-out;
}

.esw-speaker img:hover {
    transform: scale(1.05);
}

/* .esw-speaker-name {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
} */


@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
.esw-sub-tab-description-wrapper {
    position: relative;
    max-width: 100%;
}

.esw-sub-tab-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5em;
}

.esw-read-toggle {
    position: relative;
    padding: 5px;
    top: 5px;
    right: 0;
    background: #e84f1c;
    padding-left: 5px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
}

.esw-sub-tab-description.expanded {
    -webkit-line-clamp: unset;
}

.esw-sub-tab-description-wrapper.expanded .esw-read-toggle { 
    padding-left: 0;
}
