@charset "utf-8";
/* ***************************************************
 *
 *  File:   cv_2023.css
 *
 *  Descr:  Style sheet for updated CV.
 *
 *  Author: Jomar Hønsi, 2023-2025
 *
 * **************************************************/
body {
    font-size: 1vw;
    padding: 0;
    margin: 0;
    /* Permalink - use to edit gradient: http://colorzilla.com/gradient-editor/#000000+0,666666+25,666666+75,000000+100 */
    background: rgb(0, 0, 0);
}

div#main {
    font-family: "Helvetica Neue", "Bookman", "Arial", "Helvetica", "Geneva", sans-serif;
    width: 90vw;
    max-width: 750px;
    padding: 10px;
    background-color: #c0c0b4;
    background-repeat: repeat-y;
    border-radius: 5px;
    box-shadow: inset 0 0 20px #abc;
}

table, div {
    margin: 0 auto;
    padding: 0;
    page-break-inside: avoid;
}

h1 {
    margin: 10px auto;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
}

h1 span {
    font-size: small;
    padding-left: 20px;
}

h2 {
    padding-top: 10px;
    font-size: 16px;
    text-align: center;
}

h3 {
    font-size: 14px;
    font-weight: normal;
}

h3 span {
    font-size: 11px;
    padding-left: 5px;
}

h4 {
    font-size: 12px;
    font-weight: normal;
    padding: 0;
    margin: 0;
}

h4 span {
    font-weight: bold;
    color: #339;
}

/* Top of the page, brief intro and contact info */
table#about {
    font-size: 12px;
    background: #ccd;
    border: 2px solid #999;
    border-radius: 5px;
    padding: 10px;
    width: fit-content;
}

table#about tr td:nth-of-type(1) {
    color: blue;
    padding: 5px;
}

table#about tr td:nth-of-type(2) img {
    width: 24px;
    height: 24px;
    float: left;
}

p.status {
  margin: 0 auto;
  text-align: center;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  color: #330;
  font-size: 0.8vw;
  margin-bottom: 20px;
}

/* Education and skill section */
div.education div, div.history, div.refs div {
    border: 1px solid #999;
    background-color: #d0d0c4;
    padding: 10px;
    margin: 20px;
}

div.education div {
    padding: 10px;
}

div.education div p {
    font-size: 12px;
}

/* Employment history section */
div.history, div.refs {
    margin-top: 20px;
}

div.history, div.refs {
    margin-top: 20px;
}

div.history h3 {
    font-weight: bold;
}

div.history h4 {
    color: #339;
    padding-left: 5px;
    letter-spacing: 1.4px;
}

div.history h4 span {
    padding-left: 10px;
    color: black;
    font-size: 10px;
}

div.history p {
    padding: 0 20px 0 20px;
    font-size: 12px;
    text-align: justify;
}

/* Info section */
div.info {
    padding: 10px;
    font-size: 12px;
    margin: 0 20px 0 20px;
}

div.info p {
    font-size: 14px;
    text-align: justify;
}

/* Course section */
table.course {
    background: #999;
    width: 70%;
    max-width: 600px;
}

table.course td, table.course th {
    background-color: #d0d0c4;
    font-size: 11px;
    padding: 5px;
    text-align: left;
}

table.course th {
    background-color: #d0d0d4;
}

/* References section */
div.refs {
    max-width: 600px;
    font-size: 12px;
    margin: 0 auto;
}

div.refs span {
    margin-left: 10px;
    color: darkblue;
}

div.refs div {
    background: #ccd;
    border: 1px solid #eee;
    margin: 0;
    padding: 10px 20px 0 20px;
}

div.refs img {
    width: 32px;
    height: 32px;
    float: right;
}

/* Footer */
div.footer {
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: auto auto auto;
    height: 40px;
    background-color: #336;
    border-radius: 5px;
}

div.footer div {
    padding: 5px;
    font-size: 13px;
    text-align: center;
}

div.footer div.version {
    padding: 12px;
    letter-spacing: 0.1em;
    color: white;
}

div.footer div.version b {
    color: lightblue;
}

/* Printer */
@media print {
    h1 {
        font-size: 32px;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    div#main {
        box-shadow: none;
        border: 0;
    }

    table.course {
        border: 1px solid #ccc;
    }

    h2#employment {
        page-break-before: always;
    }

    div.refs {
        border: 0;
    }

    div.footer {
        display: none;
    }
}
