body { 
    width: 100%;
    margin: 0 0;
    background: url(/images/smith.jpg) top right no-repeat; 
    background-attachment: fixed; 
}

#content {
    clear: left;
}

/* Header formatting ********************************************/
#header {
    background-color: rgb(220, 220, 220);
    margin: 10px auto;

    width: 80%;
    max-width: 800px;

    margin: 80px auto -20px auto;
}

#closeup {
    position: relative;
    top: -20px;

    float: left;
    margin: 10 10;
    border-radius: 10px;
}

#name {
    font-family: "Proggy", "Courier New", monospace;
}

#navbar {
    position: relative;
}

#download {
    content: url("/images/ic_file_download_black_24dp.png");
    height: 100%;
    max-height: 100%;
    width: auto;
    position: absolute;
    left: 0px;
}

ul.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

ul.navbar li {
    position: relative;
    float: left;
}

ul.navbar li a.navlink:link, a.navlink:visited {
    display: block;
    width: 120px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: rgb(100, 100, 250);
    text-align: center;
    padding: 4px;
    text-decoration: none;
    text-transform: uppercase;
}

ul.navbar li a.navlink:hover, a.navlinks:active {
    background-color: rgb(70, 70, 175);
}

/* CV formatting ********************************************/
.section {
    width: 80%;
    max-width: 800px;
    margin: 10px auto;
    
    overflow: hidden;
    background-color: rgba(220, 220, 220, 0.9);
}

.section .header .title {
    display: inline-block;
    margin: 10px 1%;
}

.separator {
    display: inline-block;
    width: 25%;
    margin: 10px 1%;
    
    height: 5px;
    background-color: rgb(100, 100, 250);

    vertical-align: middle;
}

.content .entry .position {
    display: inline-block;
    width: 25%;
    margin: 10px 1%;

    text-align: right;
    vertical-align: top;
}

.content .entry .info {
    display: inline-block;
    width: 70%;
    margin: 10px 1%;

}

.content .entry .info .grade {
    font-style: italic;
}

.content .entry .info .desc {
    font-size: 90%;
    font-style: italic;
}

.content .item .name {
    display: inline-block;
    width: 25%;
    margin: 10px 1%;

    text-align: right;
    vertical-align: top;
}

.content .item .desc {
    display: inline-block;
    width: 70%;
    margin: 10px 1%;
}

.content .article {
    margin: 10px 1%;
}

.math-false {
    margin: 5px 10% 5px;
}

.template {
    display: none;
}

/* Article formatting ********************************************/
.gallery {
    margin: 0px auto;
    max-width: 80%;
}

.gallery-image {
    opacity: 1.0;
    width: 25%;
    max-width: 300px;
}

.figure {
    width: 30%;
    //min-width: 200px;
}

.figure.side-image.left {
    float: left;
}

.figure.side-image.left img {
	width: 90%;
}

.figure.side-image.right {
    float: right;
}

.figure.center-image {
    width: 60%;
    margin: 0px auto;
}

.figure img {
	//width: 90%;
	margin: 2px auto;
	float: left;
}

.figure .caption {
	margin: 5px 5px;
	font-size: 90%;
	clear: left;
}

