/* Typography Import  */

@font-face {
    font-family: 'Path';
    src: url('fonts/Path-R.woff');
    font-weight: normal;
}

@font-face {
    font-family: 'Path';
    src: url('fonts/Path-C.woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Path-Mono';
    src: url('fonts/Path-RMono.woff');
    font-weight: normal;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: Path;
}

code {
    font-family: Path-Mono;
    word-wrap: break-word !important;
    white-space: pre-wrap !important;
}

.tree {
    font-family: Menlo;
}

/* Footnotes */

.footnote {
    float: footnote;
    font-family: serif;
}

::footnote-call {
    color: red;
}

::footnote-marker {
    color: lime;
}

.caption {
    text-align: center;
    font-size: smaller;
    margin-top: 5px;
    margin-bottom: 5px;
}

img {
    display: block;
    max-width: 100%;
    /* max-height: 50%; */
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
}

.photo{
    display: block;
    max-width: 80%;
    /* max-height: 50%; */
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
}

.logoTxt img {
    display: inline-block;
    max-height: 10vw;
    max-width: 10vw;
    margin: 1vw;
    vertical-align: middle;
    height: auto;
    width: auto;
}

.logoTxt {
    display: flex;
    align-items: center;
}

.logoTxt p{
    display: inline-block;
    vertical-align: middle;
    font-size: small;
    max-width: 70%;
}

.photo-gallery{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.photo-gallery img{
   width: 45%;
   height: auto;
   object-fit: cover;
}

/* Page Management */

@media print {

    @page {
        /* format */
        size: A4;

        /* Margin  */
        /*  margin-top: 35mm;
        margin-left: 35mm;
        margin-right: 35mm;
        margin-bottom: 35mm; */

        /* Color */
        color: black;
    }

    /*  Main Content Management */
    .break {
        break-after: always;
    }

    #content {
        /* break-before: right; */
        page: content;
    }

    h2 {
        string-set: title content(text);
    }

    /* Text Management */
    h1 {
        /* Block management */
        margin-top: 0;
        margin-bottom: 5mm;
        display: block;

        text-align: left;

        /* Typeface Management */
        font-weight: 900;
        font-size: 35pt;
        line-height: 1.20;
    }

    h2 {
        /* Block management */
        margin-top: 0;
        margin-bottom: 5mm;
        display: block;

        text-align: left;

        /* Typeface Management */
        font-weight: 900;
        font-size: 28pt;
        line-height: 1.20;
    }

    h3 {
        /* Block management */
        margin-top: 0;
        margin-bottom: 5mm;
        display: block;

        text-align: left;

        /* Typeface Management */
        font-weight: 900;
        font-size: 24pt;
        line-height: 1.20;
    }

    p {
        /* Block management */
        margin-top: 0;
        margin-bottom: 5mm;
        display: block;

        text-align: left;

        /* Typeface Management */
        font-weight: 400;
        font-size: 13pt;
        line-height: 1.40;
    }

    ul, ol {
        font-weight: 400;
        font-size: 13pt;
        line-height: 1.40;
    }

    /* pagination and running title */
    @page:right {

        @bottom-left {
            content: counter(page);
        }

        @bottom-right {
            content: string(title);
            /* width: fit-content; */
            font-size: 8pt;
            text-align: right;
        }

    }

    @page:left {

        @bottom-right {
            content: counter(page);
        }

        @bottom-left {
            content: string(title);
            /* width: fit-content; */
            font-size: 8pt;
        }

    }

}