@import url('https://fonts.googleapis.com/css?family=Radio+Canada:400,400i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Radio+Canada+Big:400,400i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Lilex:400,400i,700,700i');

body {
	font-family: "Radio Canada",sans-serif;
	padding: 2em 0;
	margin: 0 auto;
	width: 45em;
    font-size: 14pt;
    color: #1b2468;
    background: #f3f7f0;

    @media print {
        font-size: 11pt;
        color: black;
        nav {
            display: none;
        }
    }
}

h1, h2, h3, dt {
    font-family: "Radio Canada Big", sans-serif;
    font-weight: normal;
}

h2 {
    margin-top: 1.5em;
}

h3 {
    margin-top: 1em;
    margin-bottom: 0em;
    line-height: 1em;
}

a {
    font-weight: bold;
    color: #b13a50;
    @media print {
        font-weight: normal;
        text-decoration: none;
        color: inherit;

        &::after {
            font-size: 0.8em;
            content: " (URL: " attr(href) ") ";
        }
    }
}

a:hover, a:focus {
    color: #5e2689;
    text-decoration: none;
}

a:active {
    color: #3a4aa1;
}

code {
    font-family: 'Lilex', monospace;
    font-size: 0.9em;
}

dl {
    padding-top: 0;
}

dt {
    font-weight: bold;
}

p {
	text-align: justify;
}

address {
	padding-bottom: 1em;
}

.abstract {
	font-style: italic;
}

.citation {
}

#tricolour {
    width: 240px;
    height: 1em;
    color: #eebd31;
    background: #eebd31;
    border-left: solid  240px #11335d;
    border-right: solid 240px #9d1939;
    border-top: 0;
    border-bottom: 0;
}

header {
	display: flex;
}

#photo {
	width: 240px;
	float: left;
	padding: 1.5em 2em 0 0;
}

#photo img {
	width: 240px;
}

#profile {
}

body > dl, body > ul, body > ol {
    margin-left: 0;
    padding-left: 0;
}

body > ul, body > ol {
    list-style-position: outside;
}

@media screen {
    dl, ol, ul {
        ul {
            margin: 0;
            padding: 0;
            li {
                font-family: "Radio Canada Big", sans-serif;
                font-weight: normal;
                line-height: 2;
                display: inline-block;

                a {
                    text-decoration: none;
                    font-weight: normal;
                    border: thin solid;
                    padding: 0.25em .5em;
                    &:hover {
                        border: thin solid #b13a50;
                        background: #b13a50;
                        color: white;
                    }
                    &:active {
                        color: white;
                        border: thin solid #5e2689;
                        background: #5e2689;
                    }
                }
            }
        }
    }
}
