/**************Main****************/
body {
    background: black;
    color: #ccc;
    /*font-family: Georgia,serif;*/
    font-family: Verdana,sans-serif;
    margin-left: 1.5em;
}

a, a:visited {
    color: #999;
    text-decoration: none;
}

a:hover {
    color: #ccc;
}

time {
    font-weight: normal;
    float: right;
    color: #666;
    font-size: 11pt;
}

header, section, p.pdfbtn {
    max-width: 65em;
}

.junk {
    display: none;
}

p.pdfbtn {
    /* position: absolute;*/
    top: 0;
    width: 100%;
}

p.pdfbtn a {
    position:absolute;
    left: 10px;
}


@media print {
/*
    @page {
        size: auto;
        margin: auto;
    }
*/
    body {
        background: white;
        color: black;
    }

    a, a:visited {
        color: #222;
    }

    a:hover {
        color: #444;
    }

    time {
        color: #444;
    }

    p.pdfbtn {
        display: none;
    }
}



/***********Header**************/
header {
    display: table;
    padding-bottom: 6px;
    border-bottom: 1px grey solid;
    width: 100%;
}

header img {
    display: table-cell;
    max-width: 240px;
    max-height: 240px;
}

header div {
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

header h1 {
    margin: 1em 0 .3em 0;
    font-size: 20pt;
}

header h2 {
    margin: .3em 0 .3em 0;
    font-size: 14pt;
}

header h3 {
    margin: 0 0 .2em 0;
    font-weight: normal;
    font-size: 12pt;
}

@media print {
    header {
        border-bottom: 1px grey solid;
    }

    header div {
        vertical-align: top;
    }

    header img {
        margin: 0 0 0 0;
        max-width: 180px;
        max-height: 180px;
    }
}

/************Body**************/
section {
    page-break-inside: avoid;
}

section img {
    max-height: 1em;
    margin-top: 3px;
    padding-top: 3px;
}

div {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

#contact-info {
    margin-bottom: 0;
}

#contact-info p {
    margin-top: 0;
}

section h1 {
    border-bottom: 1px solid grey;
    color: #EEE;
    margin-bottom: .3em;
    font-size: 16pt;
}

section section {
    margin-bottom: 2em;
}

section section h1 {
    border-bottom: none;
    color: #CCC;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    font-size: 13.5pt;
}

section section h2, section section h3, section section h4, section section p {
    /*margin-left: .4em;*/
    margin-top: 0;
    font-size: 11.5pt;
}

section section h2, section section h3 {
    /*font-size: 1em;*/
    font-weight: normal;
}

section section h2 {
    margin-bottom: 0;
}

section section h3 {
    margin-bottom: 3px;
}

section section h4 {
    font-weight: normal;
    margin-bottom: 0;
    font-size: 11pt;
}

section section p {
    margin-bottom: 2px;
}

section section p, section sesction ul, section section li {
    font-size: 10pt;
}

section section ul {
    margin-top: 0;
    margin-bottom: 0;
    list-style-type: square;
}

#skills li {
    font-size: 11pt;
    margin-bottom: 0.2em;
    float: left;
    width: 50%;
}

#skills br {
    clear: left;
}

#links li {
    font-size: 11pt;
    margin-bottom: 0.2em;
    list-style-type: square;
}

#links br {
    clear: left;
}

#projects li{
	list-style-type: square;
	}
#projects h4 {
    margin-bottom: 0.1em;
}

#experience li{
	list-style-type: square;
	}
#experience h4 {
    margin-bottom: 0.1em;
}

@media print {
    /*
    div#ci {
    margin-bottom: 3em;
    }
    */
    div#resdiv {
        margin-top: 2em;
    }

    section, header {
        margin-left: auto;
        margin-right: auto;
    }

    section section {
        margin-bottom: 0em;
    }

    #clubs {
        margin-bottom: 3em;
        list-style-type: square;
    }

    div.section div.section {
        margin-bottom: 1em;
    }

    section h1, section section h1 {
        color: black;
    }
}

/*************Bibliography***********/

.bibref {
    display: none;
}

.bibitem {
/* turned off becasue no more date:
    padding-left: 1em;
*/
    font-size: 10pt;
    padding-bottom: .4em;
    /*font-family: Georgia, serif;*/
    font-family: Verdana, sans-serif;
}

.bibtitle {
    font-size: 11pt;
    font-weight: bold;
    color: #CCC;
    font-size: 11pt;
}

.bibtitle:hover {
    color: gray;
}

.bibbooktitle {
    font-style: italic;
}

.bibdate {
    /*color: #DDD;*/
}

.result tr {
    display: none;
}
.result tr.bibline {
    display: block;
    margin: 0;
    padding: 0;
}


.poweredby {
    display: none;
}

@media print {
    .bibtitle {
        font-size: 10pt;
        color: black;
    }

    .bibtitle:hover {
        color: gray;
    }

    #publications table, #publications tbody{
        page-break-inside: auto;
    }
}


