.hidden {
    display: none;
  }

.visible {
    display: block;
  }

main > * {
    margin-top: 20px;
    margin-bottom: 20px;
}



.details-box .row {
    display: flex;
    margin-top: 10px;
}

.info-box {
    border: 1px solid #ddd;
    display: flex;
    flex-direction: grid;
    justify-content: center;
    padding-left: 5%;
    padding-right: 5%;

}

.details-box {
    width: 80%;
    display: flex;
    flex-direction: column;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
    min-height: 412px;
}

.preview-box {
    padding: 10px;
    width: fit-content
 }
.preview-box img {
    width: 283px;
    height: 400px;  
 }

.details-box .property {
    width: 150px; /* Adjust this value to get the desired distance */
    flex-shrink: 0;
    text-align: left;
}


spand > p {
    margin: 0;
    
}



.pdf-file {
    /* make underline on text */
    text-decoration: underline;

}

.appendix-box {
    display: flex;
    flex-direction: column;
    justify-content: start;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 20px;
    margin-bottom: 10px;
    /* min-height: 100px; */
}

.appendix-box h1 {
    font-size: medium;
    margin-bottom: 10px;
}

.appendix-box a {
    text-decoration: underline;
    position: relative;
    left: 10px;
}

.feature-box {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding: 10px;
    margin-bottom: 10px;
    min-height: 412px;
}

/* .map-box {
    display: flex;
    flex-direction: grid;
    justify-content: space-between;
    min-height: 500px;
} */

/* .map-box-inner {
    border: 1px solid black;
    margin-right: 10px;
    margin-bottom: 30px;
    max-height: 100%;
    width: 600px;
    # overflow: hidden;
} 
    */


/* .color-guide-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
    margin-right: 200px;
}

.color-guide-box-inner {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    
}

.color-guide-box-inner > p {
    
    padding-left: 5px;
    
}

 */

.color-guide-box-inner-presentation {
    border: 1px solid black;
    width: 20px;
    height: 20px;
}



.abstract-btn {
    display: inline;
    text-decoration: underline;
    border: none;
    background: none;
}

.abstract-btn:hover {
    color: grey;
    cursor: pointer;
}



.table-container {
    position: relative;
    min-height: 50vh;
    width: 100%;
}

thead {
    background-color: var(--primary-background-color);
    color: black;
}

tr {
    border: 1px solid;

}

table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
    font-size: small; 
    /* font-weight: lighter; */
}

table > * {
    font-size: small;
}

th {
    padding-left: 5px;

}

td {
    padding-left: 5px;
}

tr:hover {
    background-color: #EAEFF6;
}

.report-title a:link {
    
    font-weight: bold;
    font-size: small; 

}




.report-authors a:link {
    font-size: x-small ;
    color: grey;
    text-decoration: none 
}

.report-authors a:hover {
    color: rgb(80, 79, 79);;
    cursor: pointer;
    text-decoration: underline;
}



img:hover {
    cursor: pointer;
}

td {
    padding-top:  5px;
    padding-bottom: 5px;
}

td > a:link {
    text-decoration: underline;
    color: black;
}

/* Action buttons styles
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
    background-color: transparent;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
    background-color: transparent;
}

.btn-outline-danger:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
} */

/* .me-2 {
    margin-right: 0.5rem;
}

.ms-2 {
    margin-left: 0.5rem;
} */

/* Fix for consistent card header padding */
.card-header {
    padding: 0.75rem 1.25rem !important; /* Use !important to override any bootstrap styles */
}

.card-header h5 {
    margin-bottom: 0 !important;
}

.card-header .btn {
    padding: 0.375rem 0.75rem !important;
}

/* Bibliographic data styling */
.content-wrapper {
    position: relative;
}

.preview-image-container {
    float: right;
    width: 283px;
    margin-left: 20px;
    margin-bottom: 15px;
}

.preview-image-container img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.bibliographic-data {
    max-width: calc(100% - 300px); /* Allow room for the image */
}

.property-label {
    flex-shrink: 0;
}

.property-value {
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .preview-image-container {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .preview-image-container img {
        max-width: 283px;
    }
    
    .bibliographic-data {
        max-width: 100%; /* Full width on smaller screens */
    }
}

