/* HubLAC — Equipe */

/*
TEAM
*/

body.page-template-team {background-color: var(--global--color-purple);}

.team-grid {
    display: grid;
    gap: 50px;
    margin: 50px 0 80px;
}

.team-group h4 {font-weight: 700;}

.team-group ul {
    margin: 20px 0 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
    display: flex;
	flex-wrap: wrap;
    gap: 25px;
}

.team-group ul li {
    position: relative;
    display: flex;
    gap: 10px;
    color: var(--global--color-white);
    cursor: pointer;
    width: 250px;
    height: 300px;
    align-items: flex-end;
}

.team-group ul li:hover p {margin: 0;}

.team-txt {padding: 10px;}

.team-txt h5 {font-weight: 600;}

.team-txt p {
    font-size: var(--global--font-size-xxs);
    transition: 0.2s all;
	margin: 0;
}

.team-txt p.team-type {
	font-weight:600;
	margin: 10px 0 0;
}

.team-img-box {
    width: 250px;
    height: 300px;
    background-color: var(--global--color-yellow);
    opacity: 1;
    transition: 0.4s all;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    pointer-events: none;
}

.team-group ul li:hover .team-img-box {
    opacity: .8;
    pointer-events: all;
}

.team-img {
    width: 100%;
    height: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: multiply;
    background-color: var(--global--color-yellow);
    opacity: 0.6;
    transform: scale(1);
    transition: 0.4s all;
}

.team-group ul li:hover .team-img {
    opacity: 0.8;
    transform: scale(1.1);
    background-color: #ffcc325c;
}

.team-text {
    display: grid;
    align-items: flex-end;
    position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    top: 0;
    left: 0;
    color: var(--global--color-white);
    font-size: var(--global--font-size-xs);
    padding: 20px;
    opacity: 0;
    transition: 0.4s all;
}

.team-item.active .team-text,
.team-item:hover .team-text {opacity: 1;}

.team-content {
    height: 275px;
    overflow-y: scroll;
    opacity: 0;
    transition: 0.4s all;
}

.team-item.active .team-content {opacity: 1;}

.team-content::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
}

.team-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: none;
    background-color: #ffffff82;
    border: none;
}

.team-content::-webkit-scrollbar-track {
    border-radius: 10px;
    -webkit-box-shadow: none;
    background-color: #ffffff42;
}

.team-content p:first-child {
    margin: 0 0 1em;
}

.team-link {
    margin-top: 20px;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-item.active .team-link {
    opacity: 1;
    pointer-events: all;
}

.team-link a:hover .btn,
.team-link a .btn:hover {color: var(--global--color-white);}

.team-text .btn {
    font-size: var(--global--font-size-xxs);
    color: var(--global--color-white);
}

.team-text .btn::after {
    right: -51px;
    top: 2px;
}

.team-text a:hover .btn::before,
.team-text .btn:hover::before,
.team-text .btn::before {border-color: var(--global--color-white);}

.team-icon {
    color: var(--global--color-white);
    font-size: var(--global--font-size-sm);
    transition: 0.2s all;
    display: block;
}

.team-link a:hover .team-icon {
    opacity: 0.5;
    transform: scale(0.9);
}

.team-infos {margin-top: 30px;}

p.team-job {
    margin: 5px 0 0;
    line-height: 1.2;
    font-weight: 600;
    font-size: var(--global--font-size-xxs);
}

p.team-email {margin: 20px 0 0;}

.team-text .material-icons {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 5px;
    border: 1px solid var(--global--color-white);
    border-radius: 50%;
    user-select: none;
}

.team-text .material-icons::before{
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    content: "north_east"; 
    transition: 0.4s all;
}

.team-item.active .team-text .material-icons::before{
    content: "close"; 
}

.btnwrap:hover .material-icons.md1::before{
    content:"done"; 
}

.team-footer ul {
    list-style: none;
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    margin: 0;
    padding: 0;
}

.team-footer ul li {margin: 5px 0;}

/* ---- Responsivo (celular) ---- */
@media (max-width: 767px) {

    /* Team */

    .circle-container {
        position: relative;
        width: 100%;
        height: auto;
        border: none;
        border-radius: 50%;
        margin: 0;
        z-index: 1;
    }

    .circle {
        display: block;
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        margin: 0 0 50px;
        transform: none !important;
    }

}
