/* hal-api-styles.css */
.hal-year-filter {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 3px 3px;
    cursor: pointer;
    margin-right: 3px;
    font-size: 0.9em;
   
}

.hal-year-filter.active {
    background-color: #dc3716;
    color: #ffffff;
    border-color: #f64b1c;
}

.hal-year-filter:hover {
    background-color: #fcb423;
    color: #ffffff;
    border-color: #ffb969;
}

#hal-search-input{
    max-width: 90%;
    height: 2.5rem;
    padding-top: 10px;
}

.hal-title{
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-primary-font-weight );
    color: var( --e-global-color-primary );
}

.hal-item{
    padding-bottom: 12px;
}


/* Modal Styles */
.hal-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 200; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.hal-modal-content {
    background-color: #fefefe;
    z-index: 200;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.hal-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.hal-modal-close:hover,
.hal-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.hal-fetch-abstract,
.hal-fetch-abstract:hover,
.hal-fetch-abstract:focus{
    background-color: transparent;
    border: none;
}

.hal-fetch-abstract{
    color : var( --e-global-color-accent );
}

.hal-fetch-abstract:focus{
    color : var( --e-global-color-accent );
}


.hal-fetch-abstract:hover{
    color: var( --e-global-color-primary );
}

.hal-abstract-container {
    column-count: 2; /* Creates 2 columns */
    column-gap: 20px; /* Sets the gap between columns */
    padding: 10px; /* Optional: Adds some padding inside the container */
    -webkit-column-count: 2; /* For Safari and Chrome compatibility */
    -moz-column-count: 2; /* For Firefox compatibility */
}
@media (max-width: 768px) {
    .hal-abstract-container {
        column-count: 1; /* Switches to 1 column on small screens */
        -webkit-column-count: 1;
        -moz-column-count: 1;
    }
}



/* Hide the default select arrow */
.team-dropdown {
    appearance: none; /* For modern browsers */
    -moz-appearance: none; /* For old Firefox */
    -webkit-appearance: none; /* For old Chrome, Safari */
    background-image: url('path_to_your_custom_arrow_image');
    background-repeat: no-repeat;
    background-position: right 0.7em top 50%, 0;
    background-size: 12px;
}

/* Custom dropdown styling */
.team-dropdown {
    display: block;
    width: 90%;
    padding: 0.5em 1em 0.5em 0.5em; /* Adjust padding to fit the custom arrow */
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.team-dropdown:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.team-dropdown:hover {
    border-color: #80bdff;
}
