:root {
    /*
    Scheme 1:
    Blue: #0f2862
    Red: #9e363a
    Purple: #091f36
    Grey Blue: #4f5f76

    Scheme 2:
    Blue: #1561ad
    Blue-Muted: #1c77ac
    Blue-Green: #1dbab4
    Red-Orange: #fc5226
    */
    --main-bg-color: white;
    --main-scheme-color: #0f2862;
    --main-decoration-color: #091f36;
    --section-title-color: #0f2862;
    --secondary-decoration-color: #4f5f76;
    --secondary-bg-color: #757676;
    --summary-bg-color: #7675753b;
    --section-subtitle-color: #4f5f7680;
  }


body    {
    /* font-family: "Roboto", sans-serif; */
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding-top: 0;
    padding-left: 8px;
    padding-bottom: 20px;

}

.topbar {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    background-color: var(--main-bg-color);
    padding-bottom: 20px;
    padding-left: 10px;
}

ul.skills li::after {
    border: 1.2px solid var(--main-decoration-color) ;
    width: 200px;
    height: 10px;
    content: "";
    display: inline-block;
    margin-left: 20px;
    vertical-align: middle;
    background-color: var(--secondary-bg-color);
    border-radius: 3pt;
    position: absolute;
}

@media only screen and (min-width: 1000px) {
    header.topbar {
        width: 100%;
    }
    
    div.resume {
        display: flex;
        flex-direction: row;
        flex-flow: row;
        top: 170px;
        position: absolute;
        left: 0;
        width: 100%;
    }

    div.leftbar {
        width: 25%;
        height: 100%;
        position: fixed;
        display: block;
        z-index: 99;
        left: 10px;
        top: 170px
    }

    div.main-content {
        width: 75%;
        z-index: 0;
        position: absolute;
        right: 0;
        top: 180px
    }

    div.job,
    div.job-hidden,
    div.skill-group,
    div.degree {
        position: relative;
        flex-direction: column;
        flex-wrap: nowrap;
        border-left: 2px var(--secondary-decoration-color) solid ;
        padding-left: 80px;
        padding-top: 13px;
        /* padding-bottom: 20px; */
    }

    label.organization {
        color: var(--secondary-decoration-color);
        font-size: 10pt;
        padding-top: 3px;
    }

    ul.skills li::after {
        width: 200px;
        left: 520px;
    }
    
    ul.skills li.low::after {
        background-image: linear-gradient(to right, rgba(0,0,0,0) 33%, white 0%);
    }
    
    ul.skills li.medium::after {
        background-image: linear-gradient(to right, rgba(0,0,0,0) 66%, white 0%);
    }
    
    ul.skills li.high::after {
        background-image: linear-gradient(to right, rgba(0,0,0,0) 100%, white 0%);
    }
}

@media only screen and (max-width: 1000px) {
    body {
        width: 400px;
    }
   
    header.topbar {
        width: 100%;
    }
    
    div.resume {
        display: flex;
        flex-direction: column;
        flex-flow: column;
        height: 100%;
    }

    div.leftbar {
        top: 180px;
        position: absolute;
        display: inline;
    }

    div.main-content {
        z-index: 0;
        position: absolute;
        bottom: -400px;
        height: 100%;
    }

    div.job,
    div.job-hidden,
    div.skill-group,
    div.degree {
        position: relative;
        flex-direction: column;
        flex-wrap: nowrap;
        border-left: 2px var(--secondary-decoration-color) solid ;
        padding-left: 15px;
        padding-top: 13px;
        /* padding-bottom: 20px; */
    }

    div.skill-group {
        width: 80%;
    }

    label.organization {
        color: var(--secondary-decoration-color);
        font-size: 10pt;
        padding-top: 3px;
        padding-left: 60px;
    }

    ul.skills li::after {
        width: 30px;
        right: 0;
    }
    
    ul.skills li.low::after {
        background-image: linear-gradient(to right, rgba(0,0,0,0) 33%, white 0%);
    }
    
    ul.skills li.medium::after {
        background-image: linear-gradient(to right, rgba(0,0,0,0) 66%, white 0%);
    }
    
    ul.skills li.high::after {
        background-image: linear-gradient(to right, rgba(0,0,0,0) 100%, white 0%);
    }
}

@media only screen and (max-width: 600px) {
    body {
        width: 400px;
    }

    header.topbar {
        width: 400px;
    }

    div.resume {
        display: flex;
        flex-direction: column;
        flex-flow: column;
        height: 100%;
    }

    div.leftbar {
        top: 180px;
        position: absolute;
        display: inline;
    }

    div.main-content {
        z-index: 0;
        position: absolute;
        bottom: -400px;
        height: 100%;
    }

    div.job,
    div.job-hidden,
    div.skill-group,
    div.degree {
        position: relative;
        flex-direction: column;
        flex-wrap: nowrap;
        border-left: 2px var(--secondary-decoration-color) solid ;
        padding-left: 15px;
        padding-top: 13px;
        /* padding-bottom: 20px; */
    }

    div.skill-group {
        width: 300px;
    }

    label.organization {
        color: var(--secondary-decoration-color);
        font-size: 10pt;
        padding-top: 3px;
        padding-left: 60px;
    }

    ul.skills li::after {
        width: 30px;
        left: 300px;
    }
    
    ul.skills li.low::after {
        background-image: linear-gradient(to right, rgba(0,0,0,0) 33%, white 0%);
    }
    
    ul.skills li.medium::after {
        background-image: linear-gradient(to right, rgba(0,0,0,0) 66%, white 0%);
    }
    
    ul.skills li.high::after {
        background-image: linear-gradient(to right, rgba(0,0,0,0) 100%, white 0%);
    }
}


h1 {
    text-transform: uppercase;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 1em;
}

h2 {
    text-transform: uppercase;
    color: var(--section-title-color);
}

h2:first-child {
    margin-block-start: 0px;
}

summary {
    border-radius: 4px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 20px;
    margin-bottom: 20px;
    background-color: var(--summary-bg-color);
    display: flex;
    flex-direction: column;
    /* opacity: 0.5; */
}

summary p {
    display: inline;
    margin-block-start: 0px;
}


section.experience,
section.skillset,
section.education {
    display: block;
    margin-left: 30px;
    /* margin-top: 30px; */
}

/* 
div.experience,
div.skillset,
div.education {
    display: block;
    margin-left: 150px;
    margin-top: 30px;
}

div.experience::before,
div.skillset::before,
div.education::before {
    position: absolute;
    left: 0px;
    margin-left: 20px;
    text-transform: capitalize;
    color: var(--main-decoration-color);
}

div.experience::before {
    content: "Experience";
}

div.skillset::before {
    content: "Skills";
}

div.education::before{
    content: "Education";
}
*/

div.job,
div.skill-group,
div.degree {
    display: flex;
}

div.job-hidden {
     display: none;
}

div.job::before,
div.job-hidden::before,
div.skill-group::before,
div.degree::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 13px;
    z-index: 3;
    padding: 6px;
    transform-origin: 50% 50%;
    border-radius: 50%;
    background-color: white;
    border-color: var(--main-decoration-color);
    border-width: 5px;
    border-style: solid;
    background-size: 12%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
} 

date.graduation,
date.timeframe {
    position: absolute;
    left: 0px;
    top: 8px;
    z-index: 3;
    padding: 10px;
    color: var(--main-scheme-color);
    font-size: 0.7em;
    text-align: left;
    width: 60px;
    padding-left: 15px;
}

div.job label,
div.job-hidden label {
    display: inline;
}

label.title,
label.skill-group,
label.program {
    color: var(--main-scheme-color);
    text-transform: uppercase;
    font-weight: bold;
}

/*
label.timeframe {
    color: var(--secondary-decoration-color);
    font-size: 10pt;
}
*/

p.description {
    margin-block-start: 5px;
    scroll-margin-block-end: 10px;
}

ul.skills {
    list-style: none;
    padding-left: 0;
    line-height: 18px;
    margin-top: 0;
}

ul.other,
div.job ul,
div.job-hidden ul {
    padding: 0 0 10px 0;
    margin: 0;
    list-style-type: none;
}

ul.other li,
div.job ul li,
div.job-hidden ul li {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: fit-content;
}

ul.other li:not(:last-child),
div.job ul li:not(:last-child),
div.job-hidden ul li:not(:last-child) {
    padding-right: 5px;
    border-right: 2px solid;
    border-color: var(--secondary-decoration-color);
  }

div.hidden {
    display: none;
}

button.showmore {
    border: none;
    background: none;
    position: relative;
    left: -30px;
    border-top: 2px solid var(--main-decoration-color);
    color: var(--secondary-decoration-color);
    font-size: 8pt;
    align-content: center;
    width: 60px;
    margin: 0;
    top: -5px;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    /* border-bottom: 1px dotted black; */
}

.tooltip-right::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -15px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent var(--secondary-bg-color) transparent transparent;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: var(--secondary-bg-color);
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

.tooltip-right {
    top: -5px;
    left: 125%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

a {
    text-decoration: none;
    color: var(--main-decoration-color);
}



a.mail::after,
a.mail:hover::after {
    display: inline;
    content: ' \2709';
    text-decoration: none;
}

a.url::after,
a.url:hover::after {
    display: inline;
    content: ' \01F517';
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}