body {
    color: #555150;
    background-color: #ffffff;
    font-family: Roboto, serif;
}

a {
    color: #337ab7;
}

p {
    margin: 4pt 0;
}

ul {
    margin: 4pt auto;
}

h1 {
    margin: 0 0 6pt 0;
    font-family: "Roboto Slab", serif;
}

h2 {
    margin: -5pt 0 6pt 0;
    font-family: "Roboto Slab", serif;
    font-weight: normal;
}

h3 {
    margin: 6pt auto 6pt auto;
    font-family: "Roboto Slab", serif;
    text-transform: uppercase;
}

.dark_accent {
    color: #00796b;
}

.light_accent {
    color: #47aba2;
}

.right-line-caption {
    display: flex;
    align-items: center;
    margin: 6pt 0 1pt 0;
}

.right-line-caption:after {
    background: #00796b;
    height: 0.3em;
    flex: auto;
    content: '';
    /*margin: 3pt;*/
    margin: 3pt 0 6pt 0;

}

div.experience_aggregation {
    border-bottom: solid;
    border-color: #a5a5a5;
    padding: 0.1pt;
    margin-bottom: 2pt;
}

div.experience_aggregation:last-of-type {
    border: none;
}

div.experience {
    font-family: "Roboto Slab", serif;
    padding: 0.1pt;
    margin-top: 2pt;
    margin-bottom: 2pt;
}

div.experience {
    border-bottom: dashed;
    display: inline-block;
    width: 100%;
}

div.experience:last-of-type {
    border-bottom: none;
}

@media print {
    div.experience_aggregation {
        /*break-after: auto;*/
        /*break-before: auto;*/
        /*break-inside: avoid;*/
    }

    div.experience_aggregation:first-child {
        /*break-inside: avoid;*/
        break-before: avoid;
        break-after: auto;
    }

    div.experience_aggregation > p, span {
        break-before: avoid;
        break-after: avoid;
        /*break-inside: avoid;*/
        font-size: 0.8em;
    }

    div.experience {
        break-inside: avoid;
        break-before: auto;
        /*break-after: auto;*/
        font-size: 0.8em;
    }

    /*div.experience:first-of-type {*/
    /*    break-inside: avoid;*/
    /*    break-before: avoid;*/
    /*    break-after: auto;*/
    /*}*/

    div.experience > ul, .skills {
        min-height: 1px;
        /*break-before: auto;*/
        /*break-after: auto;*/
        /*break-inside: auto;*/
    }

    div.experience > p,div.illustrations {
        break-before: avoid;
    }

    div.experience_detail {
        break-inside: avoid;
    }

    div.experience_detail_right {
        break-before: avoid;
        break-after: avoid;
        break-inside: avoid;
    }

    div.experience_detail_right > p {
        break-before: avoid;
        break-after: avoid;
        break-inside: avoid;
    }

    .forced_break {
        page-break-after: always;
        break-after: page;
    }
}

div.experience_detail_right {
    float: right;
    font-style: oblique;
    color: #a5a5a5;
    font-size: 0.8em;
}

div.experience_aggregation p {
    margin: 0;
}

div.experience_detail p {
    text-indent: 2em;
}

div.skills span {
    padding: 0 1pt;
    line-height: 18pt;
    /*margin: 40pt 0;*/
    border: #a5a5a5 dashed 1.3pt;
    border-radius: 20%;
}

div.avatar {
    float: left;
    width: 12em;
    padding: 0.5em;
}

div.illustrations {
    float: right;
    width: 28em;
    padding: 0.2em;
    /*margin-bottom: 2em;*/
    display: inline-block;
}

div.illustrations_center {
    float: right;
    width: 28em;
    padding: 0.2em;
    /*margin-bottom: 2em;*/
}

div.link {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    float: right;
    /*block-size: 30px;*/
    /*size: 30px;*/
    width: 10em;
    box-sizing: content-box;
}

div.link:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

img.link {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

img.avatar {
    object-fit: contain;
    height: 100%;
    width: 100%;
    border-radius: 1em;
}

img.illustration {
    object-fit: contain;
    height: 100%;
    width: 100%;
    border-radius: 1em;
}

p.link {
    font-size: 0.8em;
    text-align: center;
    padding: 0.2em 0.2em;
    margin: 0.2em 0.4em;
    object-fit: contain;
}

p.summary {
    font-style: oblique;
    font-family: "Roboto Slab", serif;
    font-size: 1.2em;
    float: initial;
}

.company_name {
    font-size: larger;
    font-weight: bold;
}
