
#resources-hub{
    width: 35px;
    height: 0px;
    top: 50px;
    z-index: 1041;
}

#resources-hub #resources-hub-close-btn{
    color: var(--resources-hub-color);
}
#resources-hub>.ui-resizable-w {
    width: 12px;
}
#resources-hub>.ui-resizable-w:hover {
    background: var(--activated-color);
    opacity: 0.5;
}

#resources-hub .expandable-content>.panel>.panel-heading{
    background: unset;
    outline: unset;
}
#resources-hub .resource-hub{
    width: calc(100% - 264px);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border-radius: var(--main-border-radius);
    margin: 0px 5px 5px;
    padding-bottom: 5px;
    background: var(--resources-hub-items-panel);
    z-index: 10;
}

#resources-hub .resource-hub::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    xbackground-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    pointer-events: none;
}

#resources-hub input[type="search"] {
    color: var(--resources-hub-input-color);
    background: var(--resources-hub-input-background)
}
#resources-hub .components_selector>select{
    padding-top: 10px;
    padding-bottom: 15px;
    overflow: hidden;
    color: var(--resources-hub-input-color);
    background: var(--resources-hub-input-background)
}
#resources-hub .categories_selector>select{
    height: calc(100% - 80px);
    padding-top: 10px;
    color: var(--resources-hub-input-color);
    background: var(--resources-hub-input-background)
}
#resources-hub .panel-jobs-search{
    font-size: 0.9em;
    height: calc(100% - 45px);
    margin-top: 5px;
    outline: 0;
    border-radius: unset;
    padding-top: 0px;
    background: none;
    color: var(--resources-hub-color)
}
#resources-hub .panel-jobs-search label {
    margin-left: 6px;
    overflow: hidden;
    white-space: nowrap;
}
#resources-hub.expanded,
#resources-hub.expanding{
    color: var(--resources-hub-color);
    background: var(--resources-hub-background);
    box-shadow: 10px 4px 8px 10px rgba(0, 0, 0, 0.3);
    padding-left: 10px;
}

.expandable-content>.panel{
    background: unset;
}
.expandable-content>.panel>.panel-heading{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom-right-radius: unset;
    border-bottom-left-radius: unset;
    border-top-left-radius: unset;
}
.expandable-content>.panel>.panel-heading>h5{
    white-space: nowrap;
    text-align: center;
}

.expandable-content>.panel>.panel-body{
    padding-left: 5px;
    padding-right: 15px;
}

#resources-hub .resource-hub-title{
    font-size: 0.9em;
    width: calc(100% - 25px);
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
}
#resources-hub .resource-hub-title>a{
    text-decoration: none;
}

#resources-hub #resource_documentations .item:hover h6{
    text-decoration: underline;
}


#resources-hub a[data-toggle="collapse"]{
    display: inline-block;
    padding: 10px;
}

#resources-hub .resource-hub-panel a[data-toggle="collapse"]{
    padding-left: 4px;
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: 0.9em;
}


.resource-hub-categories {
    height: calc(100% - 66px);
    margin-top: 5px;
    overflow-y: auto;
}
.resource-hub-categories .item-content-text::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: var(--scrollbar-hover-background);;
}


.resource-hub-category{
    cursor: default;
    font-weight: bold;
    opacity: 0.6;
}


.resource-hub-categories .category_scroller {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    xbackground: var(--input-background);
    border-radius: 4px;
}


.resource-hub-panel{
}
.main-category .resource-hub-panel{
    padding-left: 0;
}
.resource-hub-panel .item .aos-type-label{
    color: var(--resource-color);
    opacity: 0.5;
    position: relative;
    left: 0;
    border: 0.6px solid var(--panel-heading-color);
    font-size: 0.7em;
}
#resource_documentations .item .aos-type-label{
    display: none;
}
.resource-hub-panel .item {
    color: var(--resource-color);
    border-radius: var(--main-border-radius);
    padding: 15px;
    text-align: left;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    height: 200px;
    width: 300px;
    display: inline-flex;
    margin: 10px;
    vertical-align: middle;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    position: relative;
    /* background: var(--app-color); */
    z-index: 10;
    letter-spacing: 0.6px;
    border: 0.5px solid var(--resource-border-color);
    background: var(--resource-background);

}

.resource-hub-panel .item:hover {
    transform: scale(1.02); /* Slight zoom effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Emphasized shadow on hover */
}
.resource-hub-panel .item .header-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}


.resource-hub-panel .item .open-item-btn{
    align-self: flex-end;
    display: none;
}
.resource-hub-categories .item:hover {
    xbox-shadow: 8px 8px 16px rgba(0, 0, 0, 0.4);
}

.resource-hub-categories .item>.header-top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: -4px;
}
.resource-hub-categories .item .header-block{
    display: flex;
    align-items: center;
    width: 100%;
    height: 30px;
    margin-top: 10px;
}
.resource-hub-categories .item h6 {
    margin: 0px;
    white-space: break-spaces;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    max-height: 3em;
}

.resource-hub-categories .item p {
    font-size: 0.8em;
    margin-top: 2px;
    margin-bottom: 0px;
    word-break: break-word;
    line-height: 1.3em;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0.7;
    xbackground: var(--resources-hub-background);
    padding: 10px;
}

img.aos_thumbnail{
    width: 30px;
    height: fit-content;
    margin-right: 10px;
    display: inline-block;
}
.resource-hub-categories .item .buttons{
    font-weight: bold;
    font-size: 0.9em;
    display: flex;
    float: right;
    margin-top: -1px;
    padding-left: 2px;
    padding-right: 10px;
}
.resource-hub-categories .item .resource_state{
    padding-left: 10px;
    font-size: 1.2em;
}

.resource-hub-categories .item .resource_state.edit,
.resource-hub-categories .item .resource_state.remove{
    opacity: 0;
}
.resource-hub-categories .item .resource_state.edit{
    zoom: 0.9;
}
.resource-hub-categories .item:hover .resource_state {
    opacity: 0.7;
}
.resource-hub-categories .item .out_of_date {
    color: var(--activated-color);
    display: inline-block;
}
.resource-hub-categories .item .up_to_date {
    color: var(--state-success);
    display: inline-block;
}

.resource-hub-categories .category{
    margin-bottom: 20px;
    text-align: left;
    font-size: 0.9em;
}

.resource-hub-categories .category h4{
    text-align: left;
    color: white;
}
.resource-hub-categories .category h4::content{
}

#app_components_tabs{
    font-size: 0.8em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#app_components_tabs>li>a{
    padding-top: 4px;
    padding-bottom: 4px;
}

#resource_documentations .item{
    padding-top: 0;
    padding-bottom: 0;
    background: none;
    margin-bottom: 5px;
}

#resources-hub .panel-jobs-search select>option{
    padding: 3px 3px 3px 10px;
}


#resources-hub .panel-jobs-search select>option:checked{
    background: var(--table-selection-background) linear-gradient(0deg, var(--table-selection-background)  0%, var(--table-selection-background)  100%);  /*workaround to force checked:focused background */
    color: white;
    border-radius: var(--main-border-radius);
}

