/* ========= Our Team CSS last edited by NK on 18-01-2023 at 15:52 Hours ========= */

/* Banner section */
section.our-team-banner {
    margin: 0;
}

section.our-team-banner .container-fluid {
    padding: 0;
}

.banner-wrapper {
    position: relative;
    background-image:
        url(https://storage.googleapis.com/etechnologyconsultants.appspot.com/our-team-banner-img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
}

.banner-wrapper::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: #222831;
    opacity: 0.7;
}

.banner-wrapper .content-wrapper {
    margin-top: 20%;
    padding: 0 7.3em;
}

.banner-wrapper .content-wrapper span.pre-header-text {
    font-weight: 500 !important;
}

.banner-wrapper .content-wrapper h1 {
    font-size: 4em;
    letter-spacing: 1.3px;
    color: #FFF;
    margin: 30px 0;
    font-weight: 600;
    text-transform: uppercase;
}

.banner-wrapper .content-wrapper h3 {
    font-size: 2em;
    letter-spacing: 1px;
    color: #FFF;
    text-transform: capitalize;
    margin-bottom: 40px;
    margin-top: 0;
}

.banner-wrapper .content-wrapper h1 span.colored-fullstop {
    color: #faab19;
    font-weight: 600;
    font-size: 22px;
    position: relative;
    top: 3px;
    margin-left: 3px;
}

.banner-wrapper .content-wrapper h3 span.colored-fullstop {
    color: #faab19;
    font-weight: 600;
    font-size: 17px;
    position: relative;
    top: 1.4px;
    margin-left: 2px;
}

.banner-wrapper .button-wrapper a.custom-button {
    border-color: #FFF;
    background: transparent !important;
}

.banner-wrapper .button-wrapper a.custom-button span {
    color: #FFF;
}

.banner-wrapper .button-wrapper a.custom-button::before {
    background-color: #222831;
}

/* Our Leaders */

section.our-leaders {
    padding: 60px 0;
    background-color: #FFF;
}

section.our-leaders span.pre-header-text {
    color: #222831;
}

section.our-leaders h2.section-title {
    font-size: 4em;
    line-height: 1.3;
    color: #faab19;
    font-weight: 600;
    letter-spacing: 0.8px;
    margin-top: 25px;
}

section.our-leaders .summary p {
    font-size: 1.5em;
    line-height: 1.5;
    letter-spacing: 0.5px;
    margin-top: 40px;
    margin-bottom: 80px;
}

section.our-leaders article.bio-card-wrapper .content {
    position: relative;
    margin: auto;
    overflow: hidden;
    text-align: center;
}

section.our-leaders article.bio-card-wrapper .content .content-overlay {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    border-radius: 4px;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

section.our-leaders article.bio-card-wrapper .content:hover .content-overlay {
    opacity: 1;
}

section.our-leaders article.bio-card-wrapper .content-image {
    width: 100%;
    border: 2px solid #222831;
}

section.our-leaders article.bio-card-wrapper .content-details {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

section.our-leaders article.bio-card-wrapper .content:hover .content-details {
    top: 55%;
    left: 50%;
    opacity: 1;
}

section.our-leaders article.bio-card-wrapper .content-details h3 {
    color: #fff;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 2em;
}

section.our-leaders article.bio-card-wrapper .content-details p {
    color: #faab19;
    font-size: 1.5em;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

section.our-leaders article.bio-card-wrapper .content-details ul.contact-link-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 0 2em;
    margin-bottom: 10px;
}

section.our-leaders article.bio-card-wrapper .content-details ul.contact-link-list>li>a {
    text-decoration: none;
    transition: all 0.4s;
}

section.our-leaders article.bio-card-wrapper .content-details ul.contact-link-list>li>a:hover>ion-icon {
    background-color: #fff;
    transition: all 0.4s;
    color: #222831;
}

section.our-leaders article.bio-card-wrapper .content-details ul.contact-link-list>li>a>ion-icon {
    font-size: 1.5em;
    color: #FFFFFF;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.4s;
}

section.our-leaders article.bio-card-wrapper .fadeIn-bottom {
    top: 80%;
}

.button-wrapper a.custom-button:hover {
    cursor: pointer !important;
}

.modal-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(34, 40, 49, 0.85);
    visibility: hidden;
    opacity: 0;
    transition: all 0.25s ease-in-out;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.modal-wrapper.open {
    opacity: 1;
    visibility: visible;
}

.modal-wrapper .modal {
    display: block;
    position: relative;
    width: 70%;
    height: 70%;
    overflow-y: auto;
    top: 50%;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.modal-wrapper.open .modal {
    margin-top: -180px;
    opacity: 1;
}

.modal-wrapper .custom-modal-body {
    display: flex;
    flex-direction: column;
}

.modal-wrapper .head {
    background-color: #222831;
    padding: 10px 20px;
}

.modal-wrapper .btn-close {
    font-size: 3em;
    display: block;
    float: right;

    color: #faab19;
    transition: all 0.4s;
    height: 48px;
}

.modal-wrapper .btn-close:hover {
    color: #fff;
}

.modal-wrapper .content {
    padding: 4em 8em;
    background-color: #fff;
}

.modal-wrapper .content p {
    font-size: 1.2em;
    letter-spacing: 0.5px;
    line-height: 1.5;
    margin-bottom: 50px;
}

.modal-wrapper .content p:last-child {
    margin-bottom: 0;
}

.modal-wrapper .foot {
    background: #faab19;
    padding: 10px 20px;
}

.modal-wrapper .foot .btn-close {
    color: #222831;
    transition: all 0.4s;
}

.modal-wrapper .foot .btn-close:hover {
    color: #fff;
}

/* media query of modal in mobile view */

@media only screen and (max-width: 1200px) {
    .modal-wrapper .modal {
        width: 80%;
        height: 75%;
        top: 300px;
    }

    .modal-wrapper .content {
        padding: 2em 4em;
    }

    section.our-leaders article.bio-card-wrapper .content:hover .content-details {
        top: 135px;
    }
}

@media only screen and (max-width: 768px) {

    section.our-leaders .summary p {
        font-size: 16px;
        margin-top: 30px;
        margin-bottom: 40px;
    }

    section.our-leaders h2.section-title {
        font-size: 2.75em;
    }

    section.our-leaders {
        padding-bottom: 0;
    }

    .modal-wrapper .modal {
        width: 90%;
        height: 80%;
        top: 280px;
    }

    .modal-wrapper .head {
        padding: 0;
    }

    .modal-wrapper .btn-close {
        font-size: 40px;
    }

    .modal-wrapper .content {
        padding: 10px 20px;
    }

    .modal-wrapper .content p {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .modal-wrapper .foot {
        padding: 0;
    }

    article.bio-card-wrapper {
        margin-bottom: 30px;
    }
}