.equipa_overlay{
    position: absolute;
    top:0; 
    left: 0;
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    background-color: rgba(30, 22, 86, 0.8);

    /* display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center; */

    transition: all 0.5s ease-in-out;
    opacity: 0;
}
.equipa_overlay:hover{
    opacity: 1;
}

.equipa_text_cont_wrapper{
    position: relative;
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.equipa_text_cont{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;

    padding: 20px;
    width: 100%;
}

.main_slider_text_cont{
    width: 40%;
}

@media(max-width: 1000px){
    .main_slider_text_cont{
        width: 80%;
    }
}
@media(max-width: 500px){
    .main_slider_text_cont{
        width: 100%;
    }
}

.main_slider_arrows_cont{
    bottom: 0;
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 7;
}



.team_desc_overlay_cont{
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
.team_desc_overlay_inner{
    width: 100%;
    height: 100vh;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.team_desc_overlay_card_holder{
    width: 70%;
}
.team_desc_overlay_card{
    width: 100%;
    max-height: 90vh;
    background-color: var(--verylightgrey);
    z-index: 10000;
}

.team_desc_overlay_card_inner{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.overlay_text_cont{
    overflow-y: auto;
    padding: 20px; 
    width: 100%; 
    max-height: 50vh;
}

@media(max-width: 1000px){
    .team_desc_overlay_card_inner{
        flex-direction: column;
        overflow-y: auto;
        max-height: 90vh;
    }
    .team_desc_overlay_card_inner .flex-grow-1{
        width: 100%;
    }
    .overlay_text_cont{
        overflow-y: hidden;
    }
    .team_desc_overlay_card_holder{
        width: 80%;
    }
}


.team_btn_wrapper .btn_first_solid{
    margin: 0 4px;
}

.smaller_p_cont .p{
    font-size: 14px !important;
    line-height: 20px !important;
}

.team_overlay_img{
    height: 50vh;
    width: auto;
}




/************/

.team_desc_overlay_cont_inner{
    width: 100%;
    height: 100%;
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.team_desc_overlay_window{
    height: 50vh;
    width: 70%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team_desc_overlay_card{
    flex-grow: 1;
    background-color: var(--verylightgrey);
}

.team_desc_overlay_card_inner{
    display: flex;
    align-items: center;
}

.team_desc_overlay_card_text_cont{
    flex-grow: 1;
    width: 100%;
    padding: 0 20px;
    max-height: 45vh;
    overflow-y: auto;
}
/************/