﻿.speech-box {
    position: relative;
    max-width: 430px;
}

@media(min-width:991px) {
    .speech-pointer {
        position: absolute;
        left: -22px;
        top: 46%;
        width: 0;
        height: 0;
        border-top: 16px solid transparent;
        border-bottom: 16px solid transparent;
        border-right: 22px solid #f2f2f2;
    }
    .speech-pointer-right {
        position: absolute;
        right: -22px;
        top: 46%;
        width: 0;
        height: 0;
        border-top: 16px solid transparent;
        border-bottom: 16px solid transparent;
        border-left: 22px solid #f2f2f2;
    }

}

.speech-card {
    background: #f2f2f2;
    border: none !important;
}
    .speech-card p {
        font-size: 18px;
        color: #575757;
        font-weight:500;
    }

    @media(max-width:500px){

        .speech-card h3 {
            font-size: 1.3rem;
        }

        .speech-card p {
            font-size: 1.1rem;
        }
    }
/*@media (max-width: 576px) {

    .career-block {
        flex-direction: column;
    }

    .career-img {
        width: 100%;
        position: relative;
    }

    .career-content {
        position: absolute;
        bottom: -40px;*/ /* overlap effect */
        /*left: 50%;
        transform: translateX(-50%);
        width: 90%;
        z-index: 2;
    }

    .speech-box {
        max-width: 100%;
    }*/

    /* Center bottom pointer */
    /*.speech-pointer,
    .speech-pointer-right {
        top: auto;
        left: 50%;
        bottom: -14px;
        transform: translateX(-50%);
        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
        border-top: 14px solid #f3f3f3;
        border-bottom: 0;
    }*/

    /* Remove desktop arrows */
    /*.speech-pointer-right {
        right: auto;
    }*/

    /* Spacing after overlap */
    /*.career-block {
        margin-bottom: 80px;
    }
}
.career-block {
    position: relative;
}

.speech-box {
    position: relative;
    max-width: 420px;
}

.speech-card {
    background: #f3f3f3;
}

.speech-pointer {
    position: absolute;
    left: -14px;
    top: 40px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-right: 14px solid #f3f3f3;
}

.speech-pointer-right {
    position: absolute;
    right: -14px;
    top: 40px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 14px solid #f3f3f3;
}*/
