:root {
    --spinner-color: #61A754 !important;
}

/**************/
/* ITEM POPUP */
/**************/
.cc-team-popup-background {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    visibility: hidden;
}

.cc-team-popup-background:hover {
    cursor: pointer;
}

.cc-team-popup {
    position: fixed;
    top: 200px;
    margin: 0 10%;
    padding: 40px;
    background: white;
    box-shadow: 0 5px 30px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 10001;
}

.cc-team-popup:hover {
    cursor: auto;
}

.cc-team-popup > .close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.cc-team-popup > .close:hover {
    cursor: pointer;
}

.cc-team-popup > .firstRow > img {
    float: left;
}

.cc-team-popup > .firstRow > div {
    position: relative;
    top: 20px;
    left: 30px;
    display: inline-block;
}

.cc-team-popup > .description {
    display: inline-block;
    margin-top: 30px;
}

/********/
/* GRID */
/********/
.cc-team-wrapper {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-gap: 0;
}

.team-divider {
    height: 2px;
    width: 70px;
    background-color: #6f8fb8;
}


/*************/
/* ITEM GRID */
/*************/
.cc-team_managment-ajax-wrapper,
.cc-team_all-ajax-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 2rem 1rem;
}

/*
.cc-team_managment-ajax-wrapper {
    margin-top: 40px;
    margin-bottom: 80px;
}
*/
.cc-team_all-ajax-wrapper {
    margin-top: 40px;
    margin-bottom: 80px;
}

.cc-team-itemWrapper {
    text-align: center;
}

.cc-team-itemWrapper:hover {
    cursor: pointer;
}

.cc-team-itemWrapper:hover > .content > img {
    border-radius: 5rem;
    border: 1px solid #7996BC;
}

.cc-team-itemWrapper > .content > img {
    width: 122px;
    height: 122px;
    padding: 10px;
    border: 1px solid transparent;
}

.cc-team-itemWrapper > .content > p {
    line-height: 20px;
}

.cc-team-filter-wrapper a {

    color: white !important;

}

.cc-team-filter-wrapper > a:hover span {
    color: white;
}

.cc-team-filter-wrapper > a.nectar-button.see-through:hover {
    background-color: #6f8fb8 !important;
}


.cc-team-filter-wrapper a.active {


}

.cc-team-filter-wrapper .team-sub-category-wrapper {

    display: none;


}

.cc-team-filter-wrapper .team-sub-category-wrapper > div {

    display: flex;
    flex-flow: row;
}


.team-sub-category-wrapper label {
    margin-left: 20px;
}

.team-sub-category-wrapper [type="checkbox"] {
    position: relative;
    z-index: 0;
    -webkit-appearance: none;
}

.team-sub-category-wrapper [type="checkbox"] + label {
    cursor: pointer;
    color: black;
}

.team-sub-category-wrapper [type="checkbox"] + label::before {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid black;
    background-color: #fff;
    display: block;
    content: "";
    float: left;
    margin-right: 10px;
    margin-bottom: 20px;
    z-index: 5;
    position: relative;
    top: 2px;
}

.team-sub-category-wrapper [type="checkbox"]:hover + label::before {
    box-shadow: inset 0 0 0 3px #fff;
    /*
     border-color: #61A754;
     background-color: #61A754;
     */
    border-color: #6f8fb8;
    background-color: #6f8fb8;

    opacity: 0.5;
}

.team-sub-category-wrapper [type="checkbox"]:checked + label::before {
    box-shadow: inset 0 0 0 3px #fff;
    /*
      border-color: #61A754;
      background-color: #61A754;
     */
    border-color: #6f8fb8;
    background-color: #6f8fb8;
}


.innpact-filter-btn span {

    color: #6f8fb8;
}

.innpact-filter-btn {
    transition: 0.3s;
    -webkit-transition: 0.3s;
    width: auto;
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
    background-color: white;
    border-radius: 50px;
    font-family: Barlow, serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.01em;
    border: 1px solid #6f8fb8;
    height: 45px;
    padding-left: 1rem;
    padding-right: 1rem;
    cursor: pointer;
    margin-bottom: 10px;
}

.innpact-filter-btn.active {
    background-color: #6f8fb8;
    border: 1px solid transparent;

}

.innpact-filter-btn.active span {
    color: #FFFFFF;
}

.innpact-filter-btn:hover {
    background-color: #6f8fb8;
}

.innpact-filter-btn:hover span {
    color: #FFFFFF;
}

@media only screen and (max-width: 550px) {
    .cc-team-popup > .firstRow > div {
        left: 0;
        width: 100%;
    }

    .cc-team_all-ajax-wrapper {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 700px) {
    .cc-team-popup {
        padding: 20px;
        max-height: 80vh;
        overflow: scroll;
    }
}

@media only screen and (min-width: 551px) and (max-width: 950px) {
    .cc-team-popup > .firstRow > div {
        display: block;
    }

    .cc-team_all-ajax-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (min-width: 751px) and (max-width: 1000px) {

}

@media only screen and (min-width: 1001px) and (max-width: 1099px) {

}

@media only screen and (min-width: 1100px) {

}


