* {
        margin: 0;
        padding: 0;
}

.document {
        width: 50em;
        margin-left: 1em;
        margin-top: 1em;
        padding: 0 0 0 0;
        border: 1px solid black;
}

.document>ul {
        padding: 1em 1em 1em 1em;
}

/*
Horrible hacks to get title and subtitle look like they're aligned left and right on the same line:
*/

.title, .subtitle {
    margin:0;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 1.1em;
    display: block;
    background-color: black;
    color: white;
    padding: 0 .3em .05em .9em;
}

.subtitle {
    position: relative;
    top: -1.4em;
    text-align: right;
    font-size: .9em;
    background: transparent;
}

ul.details {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 1em;
    xwidth: 40%;
}

.detail-key {
    display: none;
}

ul.details li {
    display: inline;
}

ul.details li:before {
    content: "•"
}

ul.details li:first-child:before {
    content: ""
}

/*
ul.details li:nth-child(1) {
    float: left;
}

ul.details li:nth-child(2) {
    float: right;
}
    
ul.details li:nth-child(3) {
    float: left;
    clear: both;
}

ul.details li:nth-child(4) {
    float: right;
}*/

ul, li {
        list-style-type: none;
        list-style: none;
        margin: 0;
        padding: 0;
        display: block;
}

.position-description li ul li {
    list-style: circle;
}

.position ul {
    list-style-type: inherit;
}

.position-description li {
    list-style-type: inherit;
    list-style: disc;
    margin-left: 1em;
    margin-top: .2em;
    padding: inherit;
    display: list-item;
}

ul.pad li {
    margin-top: .5em;
}

.section {
    clear: both;
}

.section h1 {
    margin:0;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 1.1em;
    display: block;
    background-color: black;
    color: white;
    padding: 0 .3em .05em .9em;
}

#work-experience {
    margin-top: 1em;
}

.experiencesummary {
    margin: 1em 1em 1em 1em !important;
    /*padding: 0.1em 0.1em 0.1em 0.1em;*/
    background-color:#F9FFFF;
    border:1px solid #CCCCCC;
    display:block;
    padding:0.3em !important;
}

.position, .eduinstance {
    padding: 0em 1em 0em 1em;
    margin-bottom: 1em;
}

.position-dates {
    margin-bottom: 0;
}

#education h1, #work-experience h1 {
    margin-bottom: 1em;
}

.position-title {
    font-weight: bold;
    
}

.position p {
    margin: 0;
}

p {
    margin-bottom: 1em;
}

#skills p, #achievements p, #references p {
    padding: .5em 1em 0 1em;
    margin: 0;
}

#skills p:nth-child(3) {
    padding-top: 0;
}

#skills p:last-child, #achievements p:last-child, #references p:last-child {
    padding-bottom: 1em;
}

#skills ul {
    padding: .5em 1em 0 1em;
}
