.flex {
    display: flex;
}
.align-center {
    align-items: center;
}
.align-end {
    align-items: flex-end;
}

.hubs-page #td-outer-wrap {
    pointer-events: unset !important;
}

.term-top-info {
    display: flex;
    flex-wrap: nowrap;
}

.term-top-info h1 {
    color: #ee701e;
}

.term-top-info .term-logo {
    padding-right: 30px;
    padding-left: 30px;
    min-width: 200px;
    max-width: 400px;
    width: 25%;
}

.term-top-info .term-top-right {
    flex: 1;
}

.term-top-info .term-logo .term-logo-block {
    position: relative;
    border: 2px solid #2f2f2f;
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
}

.term-top-info .term-logo .term-logo-block:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.term-top-info .term-logo .term-logo-block img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
    border: 10px solid #fff;
}

.verified-babge {
    margin-top: -2px;
    margin-left: 15px;
    height: 40px;
    width: 90px;
    background-image: url('../assets/images/verified-badge.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.term-tabs {
    margin-top: 50px;
}
.term-tabs .tabs { list-style: none; padding: 0 !important; margin-bottom: 30px; }
.term-tabs .tabs li { position: relative; display: inline-block; margin: 0; }
.term-tabs .tabs li + li a:not(.active):not(.next) {
    margin-left: -4px;
}
.term-tabs .tabs li + li a:not(.active):not(.next):before {
    display: block;
    content: '';
    position: absolute;
    top: 10px;
    left: -1px;
    height: 20px;
    width: 2px;
    background-color: #fff;
}
.term-tabs .tabs li a {
    position: relative;
    display: inline-block;
    background-color: #80ba27;
    height: 40px;
    padding: 0 20px 0 15px;
    color: white;
    text-decoration: none;    
    font-size: 20px;
    font-weight: 600;
    line-height: 40px;
    text-transform: uppercase;
}
.term-tabs .tabs li a.prev,
.term-tabs .tabs li:last-child a {
    border-bottom-right-radius: 20px;
}
.term-tabs .tabs li a.active {
    border-bottom-right-radius: 20px;
    background-color: #be1622;
}
.term-tabs .tabs li a.active:before {
    display: block;
    content: '';
    position: absolute;
    top: 100%;
    left: 16px;
    height: 5px;
    width: calc(100% - 40px);
    background-color: #3c3c3b;
}
.term-tabs .tab-content { display: none; }
.term-tabs .tab-content.active { display: block; }


/* Hubs Page */
.az-filter {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 20px 0;
    flex-wrap: wrap;
    padding-left: 45px;
    position: relative;
}

.az-filter a {
    display: inline-block;
    padding: 0 0.5vw;
    margin: 0 0.5vw 10px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.az-filter .divider {
    color: #ccc;
    position: absolute;
    left: 40px;
    top: 0;
}

.az-filter a.all {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    margin: 0;
}

.az-filter a.active {
    font-weight: 700;
}

.az-filter a:hover {
    text-decoration: underline;
}

.az-filter a:focus {
    text-decoration: underline;
    outline: none;
}

.az-filter a.disabled {
    color: #ccc;
    pointer-events: none;
}

.type-filter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.type-filter .divider {
    display: inline-block;
    margin: 0 15px;
    color: #ccc;
    font-size: 24px;
}

.verified-filter {
    display: flex;
    align-items: center;
}

.verified-filter label {
    display: block;
    height: 35px;
    width: 90px;
    background: url(../assets/images/verified-badge.svg) no-repeat center left / contain;
    cursor: pointer;
}

.verified-filter label.not-verified {
    filter: grayscale(100%);
}

.verified-filter input {
    display: none;
}

.type-filter a {
    display: block;
    margin: 0 15px;
    font-size: 24px;
    font-weight: 600;
}

.type-filter a.active {
    font-weight: 700;
}
/* Styles for term list */
.sections-container .term-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 !important;
    text-align: center;
}

/* Default to 5 items per row for desktops */
.term-list li {
    position: relative;
    list-style: none;
    width: calc(100% / 6); /* Adjusting for padding and margin */
    padding: 10px;
}

.term-list li .vendor-image {
    position: relative;
    display: block;
    padding-bottom: 45%;
    height: 0;
    width: 100%;
}

.term-list li .vendor-image .name {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    height: 100%;
    width: 100%;
    word-break: break-word;
}

.term-list li img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    margin: 0;
    height: 100%;
    width: 100%; /* Adjust image width as needed */
    object-fit: contain;
}

.term-list li .verified {
    margin-top: 10px;
    height: 15px;
    width: 100%;
    background: url(assets/verified-badge.svg) no-repeat center center / contain;
}

.term-list li a {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.vendor-page-block {
    margin-bottom: 30px;
}

.vendor-page-block #playht-iframe-wrapper {
    display: none !important;
}

.authorized-section {
    display: flex;
    margin-bottom: 30px;
}
.authorized-section li {
    padding: 10px;
    margin: 0;
    width: 20%;
    list-style: none;
}
.authorized-section li a {
    display: block;
    text-decoration: none;
}
.authorized-section li a .image-wrap {
    position: relative;
    display: block;
    padding-bottom: 45%;
    height: 0;
    width: 100%;
}
.authorized-section li a img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    margin: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

/* Adjust for small desktop: 4 items per row */
@media (min-width: 1920px) {
   
}

@media (max-width: 1300px) {
    .term-list li {
        width: calc(25% - 20px); /* Adjust the width for 4 items per row, accounting for padding and margin */
    }
}

/* Adjust for tablets: 3 items per row */
@media (max-width: 768px) {
    .term-list li {
        width: calc(33.333% - 30px); /* Adjust the width for 3 items per row, accounting for padding and margin */
    }

    .term-list li a {
        font-size: 18px;
    }
}

/* Adjust for mobiles: 2 items per row */
@media (max-width: 560px) {
}
/* End Hubs Page */