﻿ul {
    list-style-position: inside;
    margin-left: 1em;
}


.ipath_maincontent {
    padding: 2em;
    padding-top: 0em;
}

@media (width <= 960px) {
    .ipath_main_container {
        padding: 1px;
        padding-top: 2px;
    }
}

@media (width >= 960px) {
    .ipath_main_container {
        padding: 20px;
    }
}

.ipath_breadcrumbs {
    margin-left: 1em;
}

.ipath_caption {
    border-bottom: 1px solid;
    margin-bottom: 1em;
}

.ipath_topheader {
    border-bottom: 1px solid;
    margin-top: 8px;
    margin-bottom: 1em;
}

.ipath_sectionheader {
    border-bottom: 1px solid;
    margin-top: 2em;
    margin-bottom: 1em;
}

.section_header{
    margin-top: 0.8em;
    border-bottom: 1px solid;
}


.selected {
    background-color: #1E88E5 !important;
}

    .selected > td {
        color: white !important;
    }

        .selected > td .mud-input {
            color: white !important;
        }


/*** Tables ****/
.ipath_table_header {
    background-color: var(--mud-palette-background-gray);
}

.ipath_table_fixed {
    background-color: #ddd;
    font-weight: bold;
}


/*** node header ****/
.ipath_node_header {
    /* background-color: var(--mud-palette-appbar-background); */
    border: 1px solid black;
    display: grid;
    grid-template-columns: 5fr 1fr;
}

.ipath_section_header {
    background-color: var(--mud-palette-background-gray);
    border-bottom: 1px solid;
    display: grid;
    grid-template-columns: 5fr 1fr;
}

.ipath_header_title {
    grid-column-start: 1;
    grid-row-start: 1;
    font-size: 1.1em;
    font-weight: bold;
    padding-top: 8px;
    padding-left: 1em;
}

.ipath_header_actions {
    grid-column-start: 2;
    grid-row-start: 1;
    text-align: right;
    align-content: end;
    padding-right: 4px;
    min-width: 90px;
}

.ipath_header_toolbar {
    background-color: var(--mud-palette-background-gray);
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    border-top: 1px solid;
}



/*** sub header ***/
.ipath_node {
    display: grid;
    grid-template-columns: 5fr 1fr 2fr 2fr;
    border-left: 1px solid;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.ipath_bold{
    font-weight: bold;
}

.ipath_node > div {
    padding-top: 4px;
    padding-left: 12px;
}

.ipath_node_title {
    grid-column-start: 1;
}

.ipath_node_type {
    grid-column-start: 2;
    background-color: #ffc;
}


@media (width <= 700px) {
    .ipath_node_type {
        display: none;
    }
}

    .ipath_node_sender {
        grid-column-start: 3;
        background-color: #fcc;
    }

    .ipath_node_date {
        grid-column-start: 4;
        background-color: #ccf;
    }



    .ipath_node_title2 {
        grid-column-start: 1;
        vertical-align: top;
    }


    .ipath_node_type2 {
        grid-column-start: 2;
        background-color: #ffc;
        vertical-align: top;
    }

    .ipath_node_sender2 {
        grid-column-start: 3;
        background-color: #fcc;
        vertical-align: top;
    }

    .ipath_node_date2 {
        grid-column-start: 4;
        background-color: #ccf;
        vertical-align: top;
    }




    .ipath_node_description {
        all: unset;
        display: block;
        padding: 1em;
        width: 100%;
    }

        .ipath_node_description li {
            margin-left: 2em;
        }

        .ipath_node_description a {
            color: var(--mud-palette-info-darken);
        }

    .ipath_node_form {
        margin-top: 2em;
        margin-bottom: 2em;
    }





    /**** Annotations **********************************************************/
    .ipath_annotations {
        margin-bottom: 2em;
        margin-top: 1em;
        /* max-width: 1200px; */
    }

.ipath_annotation_type{
    font-weight: bold;
    border-bottom: 1px solid;
}


@media (width <= 600px) {
    .ipath_annotation_block {
        width: 100%;
        border-top: 1px outset;
        margin-bottom: 1em;
    }

    .ipath_annotation_info {
        display: flex;
        gap: 1em;
    }
}

@media (width >= 600px) {
    .ipath_annotation_block {
        display: grid;
        grid-template-columns: 180px 100%;
        width: 100%;
        border-top: 1px outset;
        margin-bottom: 1em;
    }
}

    .ipath_annotation_block_list {
        width: 100%;
        border: 1px outset;
        margin-bottom: 20px;
    }

    .ipath_annotation_block:last-child {
        border-bottom: 1px inset;
    }

.ipath_annotation_info {
    padding: 4px;
    overflow: hidden;
    background-color: #f8faf8;
}

.ipath_annotation_info1{
    font-weight: bold;
}

.ipath_annotation_text {
    padding: 4px;
    padding-left: 1em;
}

.ipath_annotation_textboby {
    max-width: 800px;
}

    .ipath_annotation_footer {
        padding: 4px;
        width: 100%;
        border-top: 1px solid;
        max-width: 720px;
        color: dimgray;
        font-style: italic;
    }

    .morphology_code {
        font-style: italic;
        border: 1px dashed gray;
        margin: 2px;
        padding: 0 4px 0 4px;
    }
    /**** Gallery *******************************************************************/
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
        width: 100%;
        margin-top: 1em;
        margin-bottom: 2em;
        /* max-width: 1200px; */
    }

    .gallery-item {
        position: relative;
        width: 120px;
        height: 110px;
        overflow: hidden;
        border-radius: 10px;
        border: 1px outset;
        padding: 10px;
        text-align: center;
        align-content: center;
        background-color: var(--mud-palette-gray-lighter);
    }

        .gallery-item img {
            max-width: 95%;
            max-height: 90px;
            transition: transform 0.3s;
            border: 1px solid;
        }

            .gallery-item img:hover {
                transform: scale(1.1);
            }

    .gallery-context {
        box-shadow: -1px 1px 4px gray;
    }

    .gallery-contextmenu {
        position: absolute;
        top: 4px;
        right: 0px;
    }

    .gallery-item-label {
        font-size: 75%;
    }


    .gallery_alert {
        margin-top: 1em;
        margin-bottom: 2em;
        padding: 8px;
        border: 2px solid red;
        background-color: var(--neutral-layer-2);
    }

    .ipath_image {
        margin-top: 1em;
        width: 100%;
        height: 75vh;
        align-content: center;
        text-align: center;
        margin-bottom: 2em;
    }

        .ipath_image img {
            margin: 1em;
            padding: 2px;
            border: 1px solid;
            max-width: 100%;
            max-height: 75vh;
            display: block;
            margin: auto;
            background-color: gray;
            object-fit: contain;
        }

        .ipath_image > .slideshow {
            width: 95vh;
            height: 90vh;
            background-color: black;
        }

    .ipath_osd {
        margin-bottom: -4.2em;
    }

    .image_info {
        text-align: center;
        width: 100%;
    }


    .sortableGallery_footer {
        margin-top: 1em;
        margin-bottom: 1em;
        border: 1px medium;
        padding: 8px;
        background-color: var(--neutral-layer-2);
    }




    .ipath_coding_grouplistitem {
        display: grid;
        grid-template-columns: 90px 8fr;
        align-items: start;
        width: 100%;
        margin-left: -2em;
        border-bottom: 1px inset;
        padding: 2px;
    }

    .ipath_coding_grouplist_code {
        padding: 0px;
        font-size: 1em;
        font-weight: bold;
    }

    .ipath_coding_grouplist_display {
        line-height: 1em;
        padding: 3px;
    }


    .ipath_news_block {
        padding: 4px;
        margin-bottom: 8px;
    }

    .ipath_news_title {
        font-weight: bold;
        border-bottom: 1px solid;
        background-color: lightblue;
        padding: 4px;
    }

    .ipath_news_author {
        font-weight: normal;
        padding-left: 1em;
    }

    .ipath_news_body {
        all: unset;
    }

        .ipath_news_body li {
            margin-left: 2em;
        }

    .ipath_gentextinfo {
        font-style: italic;
        color: darkgrey;
        border-bottom: 1px inset;
        margin-bottom: 2px;
    }