#inner-page-wrapper {
    margin-bottom: 0;
}

#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}

#ip-team {
    position: relative;
}

#ip-team #breadcrumbs {
    padding-left: 8.375%;
    padding-right: 8.375%;
    color: #fff;
}

.team-text {
    background: #fff;
    padding: 1px 0 96px;
    position: relative;
    z-index: 1;
}

.team-logo {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    width: 713px;
    margin: 0 auto;
    max-width: 90%;
}

.team-logo canvas {
    display: block;
    width: 100%;
    background-size: 100%;
    background-position: center top;
    opacity: 0.08;
    filter: brightness(0);
}

.team-text-title-wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 105px 0 51px;
}

.team-text .container p {
    font-size: 22px;
    letter-spacing: 0.04em;
    line-height: 1.272727272727273;
    color: #fff;
    text-align: center;
    font-family: var(--font-family-title);
    margin-bottom: 60px;
}

.team_top_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.team-tab-sort {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin-bottom: 58px;
}

.team-tab-sort li {
    margin: 0 27px;
}

.team-tab-sort li a {
    font-size: 22px;
    letter-spacing: 0.1em;
    line-height: 1.272727272727273;
    color: #fff;
    text-align: center;
    font-family: var(--font-family-title);
    text-transform: uppercase;
    display: block;
    position: relative;
    padding: 15px 0;
}

.team-tab-sort li a:after {
    height: 2px;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgb(129, 21, 26);
    background: linear-gradient(90deg, rgba(129, 21, 26, 1) 0%, rgba(245, 68, 76, 1) 100%);
    left: 0;
    right: 0;
    transform: scaleX(0);
    transition: all .3s ease;
}

.team-tab-sort li a.active:after,
.team-tab-sort li a:hover:after {
    transform: scaleX(1);
}

.team-filter-form {
    max-width: 625px;
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
}

.team-filter-form input[type="text"] {
    width: 370px;
    height: 69px;
    border: 1px solid #6d6d6d;
    font-size: 15px;
    letter-spacing: 0.05em;
    color: #fff;
    background: transparent;
    font-style: italic;
    padding: 0 30px;
    width: 59.2%;
    border-right: 0;
}

.team-filter-form button {
    width: 40.8%;
    height: 69px;
    background: transparent;
    border: 1px solid var(--primary);
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #fff;
    font-family: var(--font-family-title);
    text-transform: uppercase;
    transition: all .3s ease;
}

.team-filter-form button:hover {
    background: var(--primary);
    color: #fff;
}


.team-list-wrap {
    position: relative;
    padding-left: 8.375%;
    padding-right: 8.375%;
    padding-top: 61px;
    padding-bottom: 62px;
}

.team-list-group {
    position: relative;
}

.team-list-group h2 {
    text-align: center;
    font-size: 50px;
    font-weight: 500;
    font-family: var(--font-family-title);
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    margin-bottom: 44px;
}

.team-list {
    margin: 0 -9px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
}

.team-list-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.team-item {
    width: 20%;
    padding: 0 7.5px;
    margin-bottom: 22px;
}

.custom-layout .team-list {}

.custom-layout .team-list .team-item {
    margin: 0 0 22px;
    width: calc(100% / 5);
}

.custom-layout .team-list {
    margin: 0 calc( 100% / 7 );
}

.team-item a {
    display: block;
    position: relative;
}

.team-item-img {
    position: relative;
}

.team-item-img canvas {
    display: block;
    width: 100%;
}

.team-item-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: all .3s ease;
    filter: grayscale(1);
}

.team-item-img:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #bdbdbd;
    z-index: 1;
}

.team-item-info {
    color: #000;
    text-align: center;
    padding: 25px 0 18px;
    position: relative;
    /*min-height: 105px;*/
}

.team-item-info h3 {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.05em;
    line-height: 1;
    font-family: var(--font-family-title);
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--primary);
}

.team-item-info span {
    display: block;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.454545454545455;
}

.team-item-hover {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .3s ease;
}

.team-item-hover:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    background: url(/wp-content/uploads/2024/04/accent-logo-white.png) center top no-repeat;
    background-size: 119px;
    z-index: -1;
    opacity: 0.08;
}

.team-item-hover span {
    width: 100%;
    text-align: center;
}

.team-item-hover span .ai-mobile-phone a {
    font-weight: 500;
    font-size: 25px;
    letter-spacing: 0.05em;
    color: #fff;
    font-family: var(--font-family-title);
    transition: opacity .3s ease;
}

.team-item-hover span a.asis-mailto-obfuscated-email {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #Fff;
    font-family: var(--font-family-title);
    transition: opacity .3s ease;
}

.team-item-hover span .ai-mobile-phone a:hover,
.team-item-hover span a.asis-mailto-obfuscated-email:hover {
    opacity: 0.7;
}

.team-item:hover .team-item-img img {
    filter: unset;
}

.team-item:hover .team-item-hover {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.team-list-group.group-leadership {
    margin-bottom: 55px;
}

.team-list-group.group-agents h2 {
    margin-bottom: 52px;
}

.team-list-group.group-agents .team-item {
    margin-bottom: 29px;
}

.team-address {
    position: relative;
    background: #000;
    padding: 117px 0 98px;
    z-index: 1;
}

.team-address-logo {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    width: 713px;
    margin: 0 auto;
    max-width: 90%;
}

.team-address-logo canvas {
    display: block;
    width: 100%;
    background-size: 100%;
    background-position: center 33%;
    opacity: 0.08;
}

.team-address h2 {
    text-align: center;
}

.team-address h2 span {
    display: block;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.54em;
    color: var(--primary);
    color: #757575;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.team-address h2 i {
    display: block;
    font-size: 25px;
    line-height: 1.52;
    font-style: italic;
    font-family: var(--font-family-title);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-variant: lining-nums;
}

.team-address-btn {
    width: 256px;
    margin: 30px auto 0;
    display: block;
}



.team-address img {
    display: block;
    margin: 30px auto 0;
    max-width: 250px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 30px;
}


.aiosp-wrap .aiosp-container .aios-popup-body {
    width: 834px;
    max-width: 100%;
    background: rgb(129, 21, 26);
    background: -moz-linear-gradient(90deg, rgba(129, 21, 26, 1) 0%, rgba(245, 68, 76, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(129, 21, 26, 1) 0%, rgba(245, 68, 76, 1) 100%);
    background: linear-gradient(90deg, rgba(129, 21, 26, 1) 0%, rgba(245, 68, 76, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#81151a", endColorstr="#f5444c", GradientType=1);
    min-height: auto;
    padding: 20px;
    position: relative;
}

div#team-popup {
    background: #000;
    position: relative;
    padding: 140px 5% 88px;
}

.team-popup-title-wrap {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    margin-bottom: 67px;
}

.team-popup-form {
    max-width: 496px;
    margin: 0 auto;
    position: relative;
}

.team-popup-form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 19px;
}

.team-popup-form .wpcf7-form-control-wrap input,
.team-popup-form .wpcf7-form-control-wrap select {
    width: 100%;
    height: 64px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #c2c2c2;
    font-size: 14px;
    color: #787878;
    letter-spacing: 0.08em;
    padding: 0;
}

.team-popup-form .wpcf7-form-control-wrap select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAyIDc5LmRiYTNkYTNiNSwgMjAyMy8xMi8xNS0xMDo0MjozNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI1LjcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTAzNUM3NUYxNEVFMTFFRkEzODc4Rjg4MUIyRkU3OTkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTAzNUM3NjAxNEVFMTFFRkEzODc4Rjg4MUIyRkU3OTkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFNzAyNDZENDE0RTYxMUVGQTM4NzhGODgxQjJGRTc5OSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxMDM1Qzc1RTE0RUUxMUVGQTM4NzhGODgxQjJGRTc5OSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjRrbvQAAACFSURBVHjaYmwSlVJmYGAIYSAMVrMAicdAnArEyngU3gHiPiYg8QuIqwmYWgHEv5mgnFVAfAqHwmNAvA7EgCn+D8QlWBSCxEuhNFwxCBwG4g1oitdBTWZAVwxz2x8o+zeUz4BL8U0gngVlT4eGAk7FINAIDc5mdAlsil8BsTUQv0GXAAgwAC8FGyDOQ90DAAAAAElFTkSuQmCC');
    background-repeat: no-repeat;
    background-position: 100% 50%;
}

.team-popup-form input.wpcf7-submit {
    height: 69px;
    background: transparent;
    border: 1px solid var(--primary);
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #fff;
    font-family: var(--font-family-title);
    text-transform: uppercase;
    transition: all .3s ease;
    width: 256px;
    max-width: 100%;
    margin: 51px auto 0;
    display: block;
}

.team-popup-form input.wpcf7-submit:hover {
    background: var(--primary);
    color: #fff;
}


.team-popup-form .wpcf7-spinner,
.team-popup-form .ajax-loader {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    margin: auto;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
    position: absolute;
    width: auto;
    font-size: 12px;
    top: 40%;
}

.team-popup-form .wpcf7 form .wpcf7-response-output {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    font-size: 12px;
    color: #fff;
    margin: 10px auto 0;
    text-align: center;
}

.aiosp-ref-\#team-popup .aiosp-close {
    font-size: 0;
    color: var(--primary);
    width: auto;
    height: auto;
    opacity: 1;
    top: 9%;
    right: 9.5%;
    transition: opacity .3s ease;
}

.aiosp-ref-\#team-popup .aiosp-close:before {
    content: "\b0247";
    position: relative;
    font-family: agentimage !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 25px;
    color: inherit;
}

.aiosp-ref-\#team-popup .aiosp-close:hover {
    color: #fff;
}

.team-address-item:not(.active) {
    display: none;
}













.team-address {
    background: #fff;
}

.team-address h2 span {
    color: #000;
}

.team-address h2 i {
    color: #000;
}

.team-address-logo canvas {
    filter: brightness(0);
}

.team-address:before {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(129, 21, 26, 1) 0%, rgba(245, 68, 76, 1) 100%);
    z-index: 992;
}






#ip-team #breadcrumbs {
    color: #000;
}


.team-text .container p {
    color: #000;
}

.team-tab-sort li a {
    color: #000;
}

.team_top_btn a {
    color: #000 !important;
}

.team_top_btn a:hover {
    color: #fff !important;
}

.team-filter-form button {
    color: #000;
}

.team-filter-form input[type="text"] {
    color: #000;
}

/* Adjustments */
div#executive-team .group-leadership:not(.has-search) .team-item-info {
    padding-left: 5px;
    padding-right: 5px;
}

div#executive-team .group-leadership:not(.has-search) .team-item-hover {
    padding: 0 10px;
}

/* Adjustments */

.team-address img.pp:not(.active) {
    display: none;
}



@media only screen and (max-width: 1366px) {

    #ip-team #breadcrumbs,
    .team-list-wrap {
        padding-left: 4.375%;
        padding-right: 4.375%;
    }
}

@media only screen and (max-width: 1280px) {

    #ip-team #breadcrumbs,
    .team-list-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media only screen and (max-width: 1199px) {
    .team-tab-sort li {
        margin: 0 10px;
    }

    .team-tab-sort li a {
        font-size: 18px;
    }
}

@media only screen and (min-width: 1281px) and (max-width: 1440px) {

    /* Adjustments */
    div#executive-team .group-leadership:not(.has-search) .team-item-info span {
        font-size: 9px;
    }

    div#executive-team .group-leadership:not(.has-search) .team-item-hover span a.asis-mailto-obfuscated-email {
        font-size: 10px;
    }

    div#executive-team .group-leadership:not(.has-search) .team-item-hover span .ai-mobile-phone a {
        font-size: 20px;
    }

    div#executive-team .group-leadership:not(.has-search) .team-item-info h3 {
        font-size: 17px;
    }

    /* Adjustments */
}

@media only screen and (min-width: 992px) and (max-width: 1280px) {

    /* Adjustments */
    div#executive-team .group-leadership:not(.has-search) .team-item-info span {
        font-size: 9px;
    }

    div#executive-team .group-leadership:not(.has-search) .team-item-hover span a.asis-mailto-obfuscated-email {
        font-size: 8px;
    }

    div#executive-team .group-leadership:not(.has-search) .team-item-hover span .ai-mobile-phone a {
        font-size: 20px;
    }

    div#executive-team .group-leadership:not(.has-search) .team-item-info h3 {
        font-size: 17px;
    }

    /* Adjustments */
}

@media only screen and (min-width: 992px) {

    /* Adjustments */
    /* div#executive-team .group-leadership:not(.has-search) .team-item {
        width: calc(100% / 7);
    }

    div#executive-team .group-leadership:not(.has-search) .team-item:nth-child(1) {
        margin-left: calc((100% / 7) / 1);
    }

    div#executive-team .group-leadership:not(.has-search) .team-item:nth-child(5) {
        margin-right: calc((100% / 7) / 1);
    }

    div#executive-team .group-leadership:not(.has-search) .team-item:nth-child(6) {
        margin-left: calc((100% / 7) / 1);
    }

    div#executive-team .group-leadership:not(.has-search) .team-item:nth-child(10) {
        margin-right: calc((100% / 7) / 1);
    }

    div#executive-team .group-leadership:not(.has-search) .team-item:nth-child(11) {
        margin-left: calc(((100% / 7) / 1));
    }

    div#executive-team .group-leadership:not(.has-search) .team-item:nth-child(15) {
        margin-right: calc(((100% / 7) / 1));
    } */

    /* Adjustments */
}

@media only screen and (max-width: 991px) {
    .team-text-title-wrap {
        padding-top: 50px;
        text-align: center;
    }

    .team-text {
        padding-bottom: 50px;
    }

    .team-item {
        width: 33.33%;
    }

    div#team-popup {
        padding: 50px 5% 50px;
    }

    .aiosp-ref-\#team-popup .aiosp-close {
        top: 20px;
        right: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .team-item {
        width: 50%;
    }
}

@media only screen and (max-width: 560px) {
    .team-filter-form input[type="text"] {
        width: 70%;
        padding: 0 15px;
    }

    .team-filter-form button {
        width: 30%;
    }

    .team-list-group h2 {
        font-size: 30px;
    }

    .team-item {
        width: 100%;
    }
}