.palestrantes{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}
.palestrantes .palestrante{
    width: 25%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: stretch;
    padding: 5px;
}
.palestrantes .speaker-layout {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 310px;
}

.palestrantes .speaker-modal h2{
    margin-top: 0;
}

.palestrantes .speaker-layout .link-photo {
    width: 100%;
    height: 100%;
    display: flex;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}

.palestrantes .speaker-layout:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 200%;
    z-index: 2;
    background: rgba(76, 24, 100, 0.8);
    -webkit-transform: rotate(8deg);
    -moz-transform: rotate(8deg);
    -ms-transform: rotate(8deg);
    transform: rotate(8deg);
    top: 60%;
    left: -90%;
    -webkit-transition: all 0.7s cubic-bezier(0.19, 0.63, 0, 1.2);
    -moz-transition: all 0.7s cubic-bezier(0.19, 0.63, 0, 1.2);
    -ms-transition: all 0.7s cubic-bezier(0.19, 0.63, 0, 1.2);
    -o-transition: all 0.7s cubic-bezier(0.19, 0.63, 0, 1.2);
    transition: all 0.7s cubic-bezier(0.19, 0.63, 0, 1.2);
}

.palestrantes .speaker-layout .item-social {
    position: absolute;
    left: -100%;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    bottom: 5%;
    -webkit-transform: translateY(-5%);
    -moz-transform: translateY(-5%);
    -ms-transform: translateY(-5%);
    -o-transform: translateY(-5%);
    transform: translateY(-5%);
    -webkit-transition: all 1s cubic-bezier(0, 0, 0.25, 1.38);
    -moz-transition: all 1s cubic-bezier(0, 0, 0.25, 1.38);
    -ms-transition: all 1s cubic-bezier(0, 0, 0.25, 1.38);
    -o-transition: all 1s cubic-bezier(0, 0, 0.25, 1.38);
    transition: all 1s cubic-bezier(0, 0, 0.25, 1.38);
}

.palestrantes .modalPalestrantes {
    background-color: rgba(0, 0, 0, .8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    z-index: 30;
}

.palestrantes .contentModal{
    margin: 0 auto;
    margin-top: 10%;
    max-width: 640px;
    background-color: #eee;
    padding: 0;
    box-shadow: 0 0 2px #fff;
    border-radius: 0 0 50px 0;
    max-height: 90vh;
}

.palestrantes .contentModal .fechar{
    float: right;
    border-radius: 30px;
    width: 45px;
    height: 45px;
    padding: 0;
    margin-top: -15px;
    margin-right: -15px;
    font-size: 22px;
    background: #0073aa;
    color: #fff;
    line-height: 0;
    border: none;
    outline: none;
    cursor: pointer;
}

.palestrantes .contentModal .fechar:hover{
    background-color: #0d354e;
}

.palestrantes .contentModal .detalhes{
    padding: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}

.palestrantes .contentModal .foto-bio{
    padding-right: 15px;
    width: 40%;
    min-width: 40%;
}

.palestrantes .contentModal .foto-bio img {
    border-radius: 5px;
}

.palestrantes .contentModal h4{
    margin: 0;
    font-size: 16px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.palestrantes .detalhes .bio{
    line-height: 22px
}

.palestrantes .speaker-layout .item-social ul li {
    display: inline-block;
    font-size: 22px;
}

.palestrantes .speaker-layout .item-social ul li a {
    color: #fad03b;
    padding: 10px;
    -webkit-transition: all all 0.5s ease-out;
    -moz-transition: all all 0.5s ease-out;
    -o-transition: all all 0.5s ease-out;
    transition: all all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.palestrantes .speaker-layout .item-social ul li a:hover {
    color: #ffffff;
}

.palestrantes .speaker-layout .item-title {
    text-align: left;
    position: absolute;
    left: 15px;
    z-index: 6;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    width: 90%;
}

.palestrantes .speaker-layout .item-title .title {
    margin-bottom: 8px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.palestrantes .speaker-layout .item-title .subtitle {
    font-size: 14px;
    color: #fff;
    word-break: break-all;
    font-family: Arial, Helvetica, sans-serif;
}

.palestrantes .speaker-layout .eventcatagory-light {
    color: #ffffff;
    text-align: left;
}

.palestrantes .speaker-layout:hover img {
    transform: scale(1.1);
}

.palestrantes .speaker-layout:hover:before {
    -webkit-transform: rotate(20deg);
    -moz-transform: rotate(20deg);
    -ms-transform: rotate(20deg);
    transform: rotate(20deg);
    top: 22%;
    left: -90%;
}

.palestrantes .speaker-layout:hover .item-title {
    bottom: 30%;
    -webkit-transition: all all 0.8s ease-out;
    -moz-transition: all all 0.8s ease-out;
    -o-transition: all all 0.8s ease-out;
    transition: all all 0.8s ease-out;
    -webkit-transition: all 0.8s ease-out;
    -moz-transition: all 0.8s ease-out;
    -ms-transition: all 0.8s ease-out;
    -o-transition: all 0.8s ease-out;
    transition: all 0.8s ease-out;
}

.palestrantes .speaker-layout:hover .item-social {
    left: 20px;
    opacity: 1;
    visibility: visible;
}

.palestrantes .palestrante .detalhe{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}

.palestrantes .detalhes{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}
.palestrantes .detalhes .foto-bio{
    padding-right: 10px;
}
.palestrantes .detalhes .foto-bio img{
    width: auto;
}

.palestrantes .palestrante-dados {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    max-width: 320px;
}

.palestrantes .palestrante-dados h2 { 
    margin: 0 0 10px 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;          
}

@media (max-width: 780px) {
    
    .palestrantes .palestrante{
        width: 100% !important;
    }

    .palestrantes .contentModal {
        max-width: 320px;
        margin-top: 25%;
        flex-direction: column;
        align-items: end;
    }

    .speaker-modal .modal-dialog {
        /*padding-top: 60px;*/
        display: flex;
        justify-content: center;
        position: absolute;
        top: 13.3%;
        left: 13.3%;
        right: 13.3%;
        bottom: 13.3%;
    }

    .palestrantes .contentModal .detalhes {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .palestrantes .contentModal .detalhes h4 {
        text-align: center;
        font-size: 18px;
        padding-bottom: 5px;
        border-bottom: 1px solid #ccc;
    }

    .palestrantes .contentModal .foto-bio {
        padding: 0;
        text-align: center;
    }   

}

@media (max-width: 1024px) {
    .palestrantes .palestrante{
        width: 50%;
    }
}