.category {
    --webkit-overflow-scrolling: touch;
    overflow-x: auto ;
}
.category .nav-pills {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.category .nav-pills .pills-icon {
    height: 60px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 6px;
    padding-left: 2px;
}
.category .nav-link {
    height: 100%;
    display: flex;
    /*
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    */
    align-items: center;
    /*min-width: 150px;*/
    min-width: 140px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 24px;
    color: var(--category-text-color);
    font-weight: var(--category-font-weight);
}



.category .nav-link.active {
    color: var(--category-text-color);
    font-weight: var(--category-font-weight);
}
.nav-link.category-tab[data-columns="1"] {
    background-image: var(--res-1-bg);
}
.nav-link.category-tab[data-columns="2"] {
    background-image: var(--res-2-bg);
}
.nav-link.category-tab[data-columns="3"] {
    background-image: var(--res-3-bg);
}
.nav-link.category-tab[data-columns="4"] {
    background-image: var(--res-4-bg);
}
.nav-link.category-tab[data-columns="5"] {
    background-image: var(--res-5-bg);
}
.nav-link.category-tab[data-columns="6"] {
    background-image: var(--res-6-bg);
}
.nav-link.category-tab[data-columns="7"] {
    background-image: var(--res-7-bg);
}
.nav-link.category-tab:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}
.nav-link.category-tab.active {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.category-content {
    min-height: 295px;
    border: 1pt solid #000;
    border-radius: 12px 20px;
}

.category-select {
    border-color: #000 ;
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
}


.tab-content.tab-content-border  {
    border: 1pt solid #000;
    border-radius: 12px;
    min-height: 270px;
}

.tab-content .breadcrumb {
    margin-bottom: 0px;
}
.tab-content .breadcrumb .breadcrumb-item {
    font-weight: var(--breadcrumb-font-weight);
    color: var(--breadcrumb-text-color);
} 
.tab-content .breadcrumb .breadcrumb-item a {
    text-decoration: none;
    color: var(--breadcrumb-text-color);
}

.tab-content .tab-pane a {
    text-decoration: none;
}

.tab-content .tab-pane .tab-main-icon {
    width: 135px;
    height: 135px;
    border-radius: 24px;
    padding: 12px;
    background-color: var(--tab-main-icon-bg);
    display: flex;
    justify-content: center;
    align-items: center;
}
.tab-content .tab-pane .tab-main-icon:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}
.tab-content .tab-pane .tab-main-icon .tab-main-icon-image {
    width: 100%;
    /*height: 80p*/
}
@media  (max-width: 991.98px) { 
    .tab-content .tab-pane .tab-main-icon {
        width: 100px;
        height: 100px;
    }
    .tab-content .tab-pane .tab-main-icon .tab-main-icon-image {
        /*height: 57px;*/
        width: 100%;
    }
}
.tab-content .tab-pane .tab-main-icon-text {
    width: 135px;
    text-align: center;
    color: var(--tab-main-icon-text-color);
    font-weight: var(--tab-main-font-weight);
    padding-top: 8px;
}
@media  (max-width: 991.98px) { 
    .tab-content .tab-pane .tab-main-icon-text {
        width: 100px;
    }
}




.sub-tab-pane .nav-link  { 
    position: relative;
    margin-right: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 12px;
    color: var(--sub-tab-pane-text-color);
}
.sub-tab-pane .nav-link.active  { 
    background: 0 0;
    border: 0;
    color: var(--sub-tab-pane-text-active-color);
    font-weight: var(--sub-tab-pane-active-font-weight);
}
.sub-tab-pane .nav-link::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    content: "";
    background-color: var(--sub-tab-pane-text-color);
    width: 100%;
    height: 6px;
    border-radius: 20px;
    transition: all 0.5s;
}
.sub-tab-pane .nav-link.active::after {
    background-color: var(--sub-tab-pane-text-active-color);

}
.sub-tab-pane .nav-link:hover {
    color: var(--sub-tab-pane-text-active-color);
    font-weight: var(--sub-tab-pane-active-font-weight);
}
.sub-tab-pane .nav-link:hover::after {
    width: 85%;
    background-color: var(--sub-tab-pane-text-active-color);
}


.sub-tab-pane .media .border-bottom {
    border-bottom: var(--media-border-width) var(--media-border-style) var(--media-border-color) !important;
}
.sub-tab-pane .media:last-child .border-bottom {
    border-bottom: 0pt var(--media-border-style) var(--media-border-color) !important;
}

.sub-tab-pane .media .title {
    color: var(--media-text-color);
    font-weight: var(--media-font-weight);
}

.sub-tab-pane .media .btn-pdf {
    color: var(--sub-tab-pane-btn-text-color);
    background-color: var(--sub-tab-pane-btn-bg);
    border-color: var(--sub-tab-pane-btn-bg);
    font-weight: bold;
    border-radius: 8px !important; 
    padding: 4px 12px;
}
.sub-tab-pane .media .btn-pdf:hover,
.sub-tab-pane .media .btn-pdf:active,
.sub-tab-pane .media .btn-pdf:focus,
.sub-tab-pane .media .btn-pdf.active {
    color: var(--sub-tab-pane-btn-text-color);
    background-color: var(--sub-tab-pane-btn-bg);
    border-color: var(--sub-tab-pane-btn-bg);
    filter: brightness(var(--hover-brightness));
}

.sub-tab-pane .media .btn-ppt {
    color: var(--sub-tab-pane-btn-text-color);
    background-color: var(--sub-tab-pane-btn-bg);
    border-color: var(--sub-tab-pane-btn-bg);
    font-weight: bold;
    border-radius: 8px !important; 
    padding: 4px 12px;
}
.sub-tab-pane .media .btn-ppt:hover,
.sub-tab-pane .media .btn-ppt:active,
.sub-tab-pane .media .btn-ppt:focus,
.sub-tab-pane .media .btn-ppt.active {
    color: var(--sub-tab-pane-btn-text-color);
    background-color: var(--sub-tab-pane-btn-bg);
    border-color: var(--sub-tab-pane-btn-bg);
    filter: brightness(var(--hover-brightness));
}