/*
 * This file is part of the AP project.
 */

/*
 * -----------------------------------------------------------------------------
 * --- Root --------------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
:root {
}

/*
 * -----------------------------------------------------------------------------
 * --- Annotation --------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.c-annotation {
    font-weight: bold;
    margin: 0 0 1.5em 0;
    padding: 15px 15px;
    border-radius: 0;
    background-color: #eeeeee;
}

.c-annotation p {
    margin: 0;
}

/*
 * -----------------------------------------------------------------------------
 * --- Button back -------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.c-button-back {
    display: inline;
    width: 80px;
    height: auto;
    margin-top: 1.0em;
    margin-bottom: 1.0em;
}

/*
 * -----------------------------------------------------------------------------
 * --- Content -----------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.c-content {
    margin: 0 0 2.0em 0;
}

/*
 * -----------------------------------------------------------------------------
 * --- Download file general ---------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.c-download-file {
}

.c-download-file__list {
    display: block;
    width: 100%;
    margin: 0 0 1.5em 0;
}

@media screen and (min-width: 600px) {
    .c-download-file__list {
        display: flex;
        flex-wrap: wrap;
        gap: 15px 30px;
    }
}

.c-download-file__item {
    display: flex;
    align-items: center;
    height: 65px;
    margin: 0 0 1.0em 0;
    padding: 0 0 0 65px;
    list-style: none;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: contain;
}

@media screen and (min-width: 600px) {
    .c-download-file__item {
        width: calc(50% - 20px);
        min-width: calc(50% - 20px);
        margin: 0;
    }
}

@media screen and (min-width: 1000px) {
    .c-download-file__item {
    }
}

@media screen and (min-width: 1400px) {
    .c-download-file__item {
        width: calc(33% - 20px);
        min-width: calc(33% - 20px);
    }
}

.c-download-wide__file:last-child {
    margin-bottom: 0;
}

/**
 * -----------------------------------------------------------------------------
 * --- Enumeration -------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.c-enumeration ul {
    margin: 1.0em;
    padding: 0;
    list-style: disc;
}

.c-enumeration li {
    line-height: 1.75;
    margin: 0 0 0 5px;
    padding: 0;
}

.c-enumeration__link,
.c-enumeration__link:active,
.c-enumeration__link:link,
.c-enumeration__link:visited {
}

.c-enumeration__link:hover {
}

/*
 * --------------------------------------------------------------------------------
 * --- Headline -------------------------------------------------------------------
 * --------------------------------------------------------------------------------
 */
.c-headline {
    text-transform: uppercase;
    color: var(--color-education);
}

/*
 * -----------------------------------------------------------------------------
 * --- File object -------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.c-file {
    overflow: hidden;
    margin: 0;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

.c-file__icon {
    max-height: 65px;
}

.c-file__link,
.c-file__link:active,
.c-file__link:link,
.c-file__link:visited {
    text-decoration: underline;
}

.c-file__link:hover {
    text-decoration: underline;
}

.c-file__info {
    color: #666666;
}

.c-file__description {
    color: #000000;
}

/*
 * -----------------------------------------------------------------------------
 * --- Gallery grid ------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.c-gallery-grid {
    display: block;
    margin: 0 0 2.0em 0;
}

.c-gallery-grid__item {
    display: block;
    overflow: hidden;
    margin: 0 0 15px 0;
}

.c-gallery-grid__item a {
    width: 100%;
}

.c-gallery-grid__item .c-medium {
    width: 100%;
    height: auto;
    transition: var(--image-trasform-speed);
}

.c-gallery-grid__item .c-medium--youtube {
    aspect-ratio: 16 / 9;
}

.c-gallery-grid__item .c-medium:hover {
    transform: var(--image-trasform-scale);
}

@media screen and (min-width: 450px) {
    .c-gallery-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .c-gallery-grid::after {
        display: block;
        flex-grow: 10;
        content: '';
    }

    .c-gallery-grid__item {
        margin: 0;
    }

    .c-gallery-grid__item--image {
        flex-grow: 1;
        height: 24vmin;
        margin: 0;
    }

    .c-gallery-grid__item--video {
        flex-grow: 0;
        height: 24vmin;
        margin: 0;
    }

    .c-gallery-grid__item--youtube {
        flex-grow: 0;
        height: 24vmin;
        margin: 0;
    }

    .c-gallery-grid__item .c-medium {
        flex-grow: 1;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 100%;
        min-height: 100%;
        max-height: 100%;
        margin: 0;
        object-fit: cover;
        object-position: center;
    }
}

@media screen and (min-width: 600px) {
    .c-gallery-grid__item {
    }
}

@media screen and (min-width: 750px) {
    .c-gallery-grid__item {
    }
}

/*
 * -----------------------------------------------------------------------------
 * --- Medium ------------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.c-medium {
}

.c-medium--audio {
}

.c-medium--animation-bitmap {
}

.c-medium--animation-vector {
}

.c-medium--canvas {
}

.c-medium--image {
}

.c-medium--video {
}

.c-medium--youtube {
}

/**
 * -----------------------------------------------------------------------------
 * --- Pagination --------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.c-pagination {
}

.c-pagination__button--previous {
    background-image: url("../images/pagination-previous.svg");
}

.c-pagination__button--previous:hover {
    background-color: #000000;
    background-image: url("../images/pagination-previous-focus.svg");
}

.c-pagination__previous--inactive {
    background-image: url("../images/pagination-previous-inactive.svg");
}

.c-pagination__button--next {
    background-image: url("../images/pagination-next.svg");
}

.c-pagination__button--next:hover {
    background-color: #000000;
    background-image: url("../images/pagination-next-focus.svg");
}

.c-pagination__next--inactive {
    background-image: url("../images/pagination-next-inactive.svg");
}

.c-pagination__summary {
    line-height: 30px;
    display: block;
    margin: 0 0 1.0em 0;
    text-align: center;
}

@media screen and (min-width: 640px) {
    .c-pagination__summary {
        float: left;
        text-align: left;
    }
}

.c-pagination__list {
    display: flex;
    justify-content: center;
    margin: 0 0 1.0em 0;
    gap: 5px;
}

@media screen and (min-width: 640px) {
    .c-pagination__list {
        float: right;
        text-align: left;
    }
}

.c-pagination__link,
.c-pagination__link:active,
.c-pagination__link:link,
.c-pagination__link:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0;
    text-decoration: none;
    color: #000000;
    border-radius: 10%;
    background-color: #cccccc;
}

.c-pagination__link:hover {
    color: #ffffff;
    background-color: #000000;
}

.c-pagination__link--focus,
.c-pagination__link--focus:active,
.c-pagination__link--focus:link,
.c-pagination__link--focus:visited {
    color: #ffffff;
    background-color: #000000;
}

.c-pagination__link--focus:hover {
    color: #ffffff;
    background-color: #000000;
}

.c-pagination__button {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 10%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 18px 18px;
}

@media screen and (min-width: 500px) {
    .c-pagination__button {
        display: flex;
    }
}

/*
 * -----------------------------------------------------------------------------
 * --- Table document ----------------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.c-table-document__table {
    width: 100%;
    margin: 0;
    border-spacing: 0;
    border-collapse: collapse;
    border: none;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.c-table-document__thead th {
    padding: 6px 10px;
    color: #ffffff;
    background-color: var(--color-education);
}

.c-table-document__row:nth-child(even) {
    background-color: #eeeeee;
}

.c-table-document__tbody td {
    padding: 6px 10px;
    vertical-align: top;
}

.c-table-document__link,
.c-table-document__link:active,
.c-table-document__link:link,
.c-table-document__link:visited {
    color: var(--color-education);
}

.c-table-document__link:hover {
    color: var(--color-education);
}

.c-table-document__cell--date {
    text-align: left;
}

.c-table-document__cell--file {
    text-align: left;
}

@media screen and (max-width: 740px) {
    .c-table-document__table,
    .c-table-document__table thead,
    .c-table-document__table tbody,
    .c-table-document__table th,
    .c-table-document__table td,
    .c-table-document__table tr {
        display: block;
        border: none;
    }

    .c-table-document__table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .c-table-document__table tr {
        margin-bottom: 1.0em;
        border: 1px solid #dddddd;
        background-color: transparent !important;
        padding: 5px 5px 5px 0;
    }

    .c-table-document__table td {
        position: relative;
        color: #000000;
        border: none;
    }

    .c-table-document__table td:before {
        font-weight: bold;
        position: absolute;
        left: 10px;
        content: attr(data-label) ':';
    }

    .c-table-document__cell--date {
        padding: 0 0 0 150px !important;
        width: auto;
    }

    .c-table-document__cell--file {
        padding: 0 0 0 150px !important;
    }
}

/*
 * -----------------------------------------------------------------------------
 * --- Table official board ----------------------------------------------------
 * -----------------------------------------------------------------------------
 */
.c-table-official-board__table {
    width: 100%;
    margin: 0;
    border-spacing: 0;
    border-collapse: collapse;
    border: none;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.c-table-official-board__thead th {
    padding: 6px 10px;
    color: #ffffff;
    background-color: var(--color-education);
}

.c-table-official-board__row:nth-child(even) {
    background-color: #eeeeee;
}

.c-table-official-board__tbody td {
    padding: 6px 10px;
    vertical-align: top;
}

.c-table-official-board__link,
.c-table-official-board__link:active,
.c-table-official-board__link:link,
.c-table-official-board__link:visited {
    color: var(--color-education);
}

.c-table-official-board__link:hover {
    color: var(--color-education);
}

.c-table-official-board__cell--date {
    text-align: left;
    width: 120px;
}

.c-table-official-board__cell--file {
    text-align: left;
}

@media screen and (max-width: 740px) {
    .c-table-official-board__table,
    .c-table-official-board__table thead,
    .c-table-official-board__table tbody,
    .c-table-official-board__table th,
    .c-table-official-board__table td,
    .c-table-official-board__table tr {
        display: block;
        border: none;
    }

    .c-table-official-board__table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .c-table-official-board__table tr {
        margin-bottom: 1.0em;
        border: 1px solid #dddddd;
        background-color: transparent !important;
        padding: 5px 5px 5px 0;
    }

    .c-table-official-board__table td {
        position: relative;
        color: #000000;
        border: none;
    }

    .c-table-official-board__table td:before {
        font-weight: bold;
        position: absolute;
        left: 10px;
        content: attr(data-label) ':';
    }

    .c-table-official-board__cell--date {
        padding: 0 0 0 150px !important;
        width: auto;
    }

    .c-table-official-board__cell--file {
        padding: 0 0 0 150px !important;
    }
}
