.col, .col-12, .col-4, .col-xl-auto {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: none;
    }
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: -15px;
    margin-left: -15px;
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.single-profile .col-4 {
    margin: 0 auto;
}

@media (min-width: 576px) {
    .col-4 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        /*max-width: 50%;*/
    }
}

@media (min-width: 768px) {
    .col-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        /*max-width: 33.333333%;*/
    }
}

@media (min-width: 992px) {
    .col-4 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
    }
}

.our-team {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    margin-bottom: 30px;
    min-height: 24rem;
    overflow: hidden;
    padding: 30px 10px 40px;
    position: relative;
    text-align: center;
}

    .our-team .picture {
        display: inline-block;
        height: 130px;
        position: relative;
        width: 130px;
        z-index: 1;
    }

        .our-team .picture::before {
            content: "";
            width: 100%;
            height: 0;
            border-radius: 50%;
            background-color: #1a1a1a;
            position: absolute;
            bottom: 135%;
            right: 0;
            left: 0;
            opacity: 1;
            transform: scale(3);
            transition: all 0.3s linear 0s;
        }

    .our-team:hover .picture::before {
        height: 100%;
    }

    .our-team .picture::after {
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-color: #1a1a1a;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .our-team .picture img {
        border: 0rem #fff solid;
        width: 100%;
        height: auto;
        border-radius: 50%;
        transform: scale(1);
        transition: all 0.9s ease 0s;
    }

    .our-team:hover .picture img {
        border: 0.25rem #ABD037 solid;
        box-shadow: 0 0 0 10px #1a1a1a;
        transform: scale(0.9);
    }

    .our-team .name {
        color: #e1251b;
        font-size: 1.15rem;
        margin-bottom: 0.35rem;
    }

    .our-team .title {
        display: block;
        font-size: 1rem;
        color: #4e5052;
        text-transform: capitalize;
        margin: 0;
    }

    .our-team .email {
        margin: 0.5rem auto 0.5rem auto;
    }

        .our-team .email a, .our-team .name a {
            color: #e1251b;
            margin: 0;
            text-decoration: none;
        }

            .our-team .email a:hover, .our-team .name a:hover {
                text-decoration: underline;
            }

    .our-team .number {
        background-color: #1a1a1a;
        bottom: -100px;
        color: #fff;
        left: 0;
        margin: 0;
        padding: 0.55rem;
        position: absolute;
        transition: all 0.5s ease 0s;
        width: 100%;
    }

    .our-team:hover .number {
        bottom: 0;
    }

.profile-container-fluid {
    padding: 1rem 3rem;
}

.profile-container-fluid.flex {
    display: flex;
}

    .profile-container-fluid.flex > .profileText {
        margin-left: 2rem;
    }

section.profile-container-fluid:nth-of-type(even) {
    background-color: #d9d9d959;
}

/* Single Profile */
.single-profile {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    justify-content: center;
}

    .single-profile .text-container {
        width: 100%;
    }

    .single-profile .our-team {
        align-items: center;
        border-right: 2rem #3C7295 solid;
        display: flex;
        flex-direction: row;
        min-height: 12rem;
        padding: 30px 40px;
    }

        .single-profile .our-team .picture {
            margin-top: 2rem;
        }

            .single-profile .our-team .picture img {
                border: 0.25rem #fff solid;
                box-shadow: 0 0 0 7px #3C7295;
                margin-top: -1rem;
                min-width: 130px;
                transform: scale(1);
            }

            .single-profile .our-team .picture::before {
                content: "";
                width: 100%;
                height: 100%;
                border-radius: 50%;
                background-color: #3C7295;
                position: absolute;
                top: -18px;
                right: 0;
                left: -130%;
                opacity: 1;
                transform: scale(3) rotate(0deg);
            }

            .single-profile .our-team .picture::after {
                content: unset;
                width: unset;
                height: unset;
                border-radius: 50%;
                background-color: unset;
                position: unset;
                top: unset;
                left: unset;
                z-index: unset;
            }

        .single-profile .our-team .team-content {
            margin-left: 6%;
        }

        .single-profile .our-team .number {
            background-color: unset;
            bottom: unset;
            color: #3C7295;
            font-weight: 600;
            left: unset;
            margin: 0;
            padding: 0;
            position: unset;
            transition: all 0.5s ease 0s;
            width: 100%;
        }

    .single-profile .col-4 {
        width: calc(35% - 5px);
        max-width: 30rem;
        min-width: 30rem;
    }

/*CSS kicks in when the device width is 1400 and above*/
@media only screen and (min-width: 1400px) {
    .single-profile .col-4 {
        width: calc(35% - 5px);
        max-width: 30rem;
    }
}

/*CSS kicks in when the device width is 1350 and below*/
@media only screen and (max-width: 1350px) {
    .single-profile .col-4 {
        width: calc(40% - 5px);
    }
}

/*CSS kicks in when the device width is 1024 and below*/
@media only screen and (max-width: 1024px) {
    .single-profile .col-4 {
        width: calc(45% - 5px);
    }
}


/*CSS kicks in when the device width is 926 and below*/
@media only screen and (max-width: 926px) {
    .single-profile .col-4 {
        -ms-flex: 0 0 85%;
        flex: 0 0 85%;
        max-width: 85%;
        min-width: unset;
        width: 100%;
    }

    .row {
        margin-right: auto;
        margin-left: auto;
    }

    .our-team {
        max-width: 28rem;
    }

        .our-team .picture::before {
            height: 100%;
        }

        .our-team .picture img {
            border: 0.25rem #ABD037 solid;
            box-shadow: 0 0 0 14px #1a1a1a;
            transform: scale(0.9);
        }

        .our-team .number {
            bottom: 0;
        }

        .our-team .picture::before {
            bottom: 175%;
            transform: scale(4);
            transition: all 0.3s linear 0s;
        }
}


/*CSS kicks in when the device width is 667 and below*/
@media only screen and (max-width: 667px) {
    .single-profile .col-4 {
        -ms-flex: 0 0 85%;
        flex: 0 0 85%;
        max-width: 85%;
        min-width: unset;
        width: 100%;
    }

    .row {
        margin-right: auto;
        margin-left: auto;
    }

    .our-team {
        max-width: 20rem;
    }

    .our-team .picture::before {
        height: 100%;
    }

    .our-team .picture img {
        border: 0.25rem #ABD037 solid;
        box-shadow: 0 0 0 14px #1a1a1a;
        transform: scale(0.9);
    }

    .our-team .number {
        bottom: 0;
    }
}
