/* For Header and Footer styling go to "all_ontologies.css" */
/* For Logo Funds UE styles go to style.css */

a {
    text-decoration: underline;
    font-weight: 500;
}

/* Main style */
main {
    gap: 40px;
}

main > h2 {
    margin-bottom: 0;
}

strong {
    font-weight: 500;

}

.details_container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 60%;
    padding-left: 30px;
}

.label{
    width: 110px;
    font-weight: 700;
    font-size: 16px;
    color: var(--font-color-label);
}

.sf_container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.source_link{
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
}

.source_link > p{
    white-space: nowrap;
}

.links{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.links > p:not(:first-child){
    padding-top: 5px;
}

.files_container{
    display: flex;
    gap: 30px;
    padding-left: 50px;
}

    .files_list {
        counter-reset: my-counter;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
  
        .files_list > li {
            list-style: none;
            counter-increment: my-counter; 
        }
  
        .files_list > li::before {
            content: counter(my-counter) ".";
            margin-right: 5px; 
            font-weight: 500;
        }

        .label_type {
            font-weight: 500;
        }
  
        .files_description{
            padding-left: 20px;
            font-size: 16px;
            line-height: 24px;
        }

.description_container {
    display: flex;
    gap: 15px;
}
        
    .description_info {
        display: flex;
        flex-direction: column;
        font-size: 16px;
        line-height: 24px;
        margin-top: -2px;
        width: 100%;
    }
        
        .description_info p {
            width: 100%;
            box-sizing: border-box;
            word-wrap: break-word;
        }

        .description_info > p:nth-child(n+3) {
            margin-top: 40px;
         }
        
        .description_info ul, ol {
            padding: 0 0 0 20px;
        } 

        .description_info ol > li {
            list-style-type: decimal;
        }

        .description_info ul > li {
            list-style-type: disc;
        }

        .description_info img {
            width: 80% !important;
            height: auto !important;
        }

.authorship_container{
    display: flex;
    gap: 30px;
}
    .authorship{
        display: flex;
        flex-direction: column;
        line-height: 25.5px;
        margin-top: -2px;
    }

    .authorship > p:nth-child(n+3) {
        margin-top: 20px;
    }

@media (max-width: 1200px) {
    .details_container {
        width: 80%;
    }
    .files_description, .description_info, .authorship {
        text-align: justify;
    }

    .description_info img {
        width: 100%;
    }
}