@charset "UTF-8";

html {
    color: #000;
    background: #fff;
}

body {
    max-width: 17cm;
    margin: 1em auto;
}

/* Language */

body *[lang="de"],
body *[lang="en"],
body *[lang="fr"] {
    display: none
}

html[lang="de"] *[lang="de"],
html[lang="en"] *[lang="en"],
html[lang="fr"] *[lang="fr"] {
    display: revert
}

#language-selector {
    border: none;
    position: fixed;
    top: 1em;
    right: 1em;
}

.flex {
    display: flex;
    justify-content: space-between;
}

/* Icons */

.icon {
    height: 2em;
    width: 2em;
}

.with-icon {
    display: flex;
    vertical-align: middle;
    align-items: center;
    gap: 0.25em;
}

social-network a {
    display: block;
    margin-right: 0.5em;
}

/* Address */

address,
address>*>* {
    display: block;
    font-style: normal;
}

name {
    font-weight: bolder
}

address {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

postal,
electronic {
    display: block;
}

/* Content */

html,
#address {
    font-size: 13pt;
}

details {
    margin-bottom: 1em;
}

dt {
    float: left;
    clear: left;
    font-weight: bold;
}

.no-call {
    clear: left;
    margin-left: 1.75rem;
    font-size: x-small;
    color: darkred;
}

dd {
    float: left;
    margin-left: 0;
}

.soft-skills dd {
    float: none;
}

.soft-skills dt>span::after {
    content: ":"
}

.soft-skills dt>span[lang="fr"]::after {
    content: " :"
}

.list-padding {
    padding-left: 1.25em;
}

/* Print rules */

.print-only {
    display: none;
}

.hidden {
    display: none !important;
}

@media print {
    @page {
        margin: 2.5cm 2cm
    }

    html {
        font-size: 10pt;
    }

    a,
    a:active,
    a:hover,
    a:visited {
        color: blue;
    }

    header,
    .no-break {
        page-break-inside: avoid;
    }

    #language-selector {
        display: none;
    }

    .print-only {
        display: revert;
    }

    .no-print,
    .specific-competences {
        display: none !important;
    }
}

/* Section headers */

attachment {
    float: right;
    clear: right;
    font-size: small;
    text-align: right;
    font-weight: normal;
}

header {
    clear: both;
}

period {
    clear: right;
    font-variant: small-caps;
    display: block;
    white-space: nowrap;
}

role {
    display: block;
    clear: right;
    text-align: right;
    font-style: italic;
}

img {
    max-width: 100%;
    display: inline;
    margin: auto;
}

.reference-icon {
    height: 2em;
    vertical-align: bottom;
}

.reference-label {
    vertical-align: bottom;
}

.specific-competences h4 {
    margin: 0;
    display: inline-block;
}

/* Skills */

#languages ul {
    list-style: none;
}

.skills>li>span {
    font-weight: bold;
}

.skills,
.skills ol {
    list-style: none;
    padding-left: 0;
}

.skills ol,
.skills ol li {
    display: inline;
    margin-left: 0;
    padding-left: 0;
}

.skills ol li::after,
.skills>.primary li:last-child::after,
.skills>.secondary li:last-child::after {
    content: ", ";
}

.skills ol li:last-child::after {
    content: ", ...";
}

.primary,
.secondary,
.tertiary {
    display: inline;
}

#experience .skills {
    color: black;

    -webkit-mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1),
            rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1),
            rgba(0, 0, 0, 0));
}

/* Logo */

.own-logo {
    display: inline-block;
}

.own-logo a {
    text-decoration: none;
    color: black;
}

.logo {
    font-family: Courier New, Courier, monospace;
    font-weight: 400;
    display: grid;
    grid-template-columns: min-content min-content;
    justify-content: center;
}

.logo-image {
    font-size: 180%;
    font-family: Trebuchet MS, Lucida Sans Unicode, Lucida Grande, Lucida Sans, Arial, sans-serif;
    padding-right: 0.1em;
}

.logo span {
    background-color: transparent;
}

.logo-prenom,
.logo-surname {
    text-align: right;
    padding-right: .15em;
    border-right: thin solid;
}

.logo-soft,
.logo-ware {
    text-align: left;
    padding-left: .15em;
}

.logo-image {
    grid-row: 1 / span 2;
    grid-column: 1;
}

.logo-prenom {
    grid-row: 1;
    grid-column: 2;
}

.logo-surname {
    grid-row: 2;
    grid-column: 2;
}

.logo-soft {
    grid-row: 1;
    grid-column: 3;
}

.logo-ware {
    grid-row: 2;
    grid-column: 3;
}