body {
        background: url("https://personal.southampton.ac.uk/pm5c08/portfolio/style/gearsw_bg.png") no-repeat -75px 0;
        margin: 0;
        padding: 0;
	font-family: Helvetica,Verdana,sans-serif;
}

h1, h2, h3, h4, h5 {
	font-family: serif;
	color:#363636;
}

a {
	text-decoration: none;
	color: #551A8B
}

.content {
        margin-left: 175px;
        max-width: 1025px;
        min-height:300px;
}
.header {
        position: relative;
        max-width: 1070px;
        padding-left:130px;
        border-bottom: 1px solid #9ba2ce;
        color: #363636;
	font-family: Garamond,serif;
}
.navigation {
        position:absolute;
        bottom:0;
        right:0;
	margin: 10px 0;
}
.navigation li {
	float:right;
        display: block;
}
.navigation li a:hover {
	border-bottom: 1px solid #363636;
}
.navigation li a {
	color:#363636;
	text-decoration:none;
	display: block;
	margin-right: 2px;
	padding-right: 2em;
	border-bottom: 1px solid transparent;
}
h1 {
        font-size:48pt;
        margin:0;
}

.vertical {
        font-size:32pt;
        color: white;
        width: 0.9em;
        letter-spacing: 20px;
        line-height: 1em;
        white-space:normal;
        text-align: center;
}
.patrick {
        padding-left: 12em;
}
.white { color:white; }
.grid {
        max-width: 1000px;
        min-width: 320px;
        margin:auto;
}
.box {
        position: relative;
        display: inline-block;
        width:300px;
        height:300px;
        margin:10px;
        border: 1px solid #9ba2ce;
}
.clearer {
        clear:both;
        width: 100%;
        height: 1px;
}

.box p.title { display: none; }
.box:hover p.title {
        color: white;
        background-color: rgba( 0,0,0,0.75 );
        width: 100%;
        position: absolute;
        left:0;
        bottom:0;
        display: block;
        padding: 5px 0;
        font-size: 20pt;
	text-indent: 10px;
}
.edshare { background-image: url('https://personal.southampton.ac.uk/pm5c08/portfolio/images/edsharesmall.png'); }
.kuberneteslamp { background-image: url('https://personal.southampton.ac.uk/pm5c08/portfolio/images/kuberneteslampsmall.jpg'); }
.meprints { background-image: url('https://personal.southampton.ac.uk/pm5c08/portfolio/images/meprintssmall.png'); }
.panfeed { background-image: url('https://personal.southampton.ac.uk/pm5c08/portfolio/images/panfeedsmall.png'); }
.modulereport { background-image: url('https://personal.southampton.ac.uk/pm5c08/portfolio/images/modulereportsmall.jpg'); }
.humbox { background-image: url('https://personal.southampton.ac.uk/pm5c08/portfolio/images/humboxsmall.png'); }

.project {
	width: 710px;
	margin: 20px auto 40px;
	background-color: #f6f7fb;
	padding:20px;
        border: 1px solid #9ba2ce;
        border-left: 1px solid #9ba2ce;
}

.project h2 {
	margin-top:0;
}	

.project img {
	display: block;
        border: 1px solid #9ba2ce;
	margin: 10px 0;
}

.project p {
	font-family: "Helvetica","Verdana",sans-serif;
	font-size:90%;
	margin: 2px 0;
}

.project .description {
	float: left;
	width: 40%;
	padding-right: 20px;
	padding-bottom: 20px;
	min-height: 100px;
}

.meta {
	color: #9ba2ce;
}
	
.resume {
	padding-left: 20px;
}

.biography {
	max-width: 500px;
	padding: 0 20px;
	float: left;
}

.photo {
	float: left;
	padding: 20px;
}

/* print style stuff */
@media print { 
	.header { display: none !important; } 
}

/*mobile style stuff*/
@media all and (max-width: 699px) {
	.content {
	      margin-left: 5px;
	      margin-right: 5px;
	}
	.header, .patrick {
		padding-left: 0;
	}
	.header .patrick, .header h1 {
		padding-left: 5px;
	}
	.white { color:black; }
	.navigation {
		position: relative;
		top: 0;
		left: 0;	
		padding-left: 5px;
	}
	.navigation li {
		float:none;
		display: inline-block;
	}

	.navigation li a {
		padding-right: 1em;
	}
	
	body {
		background-color:transparent;
		background-image:none;
	}
	.project {
		width:calc(100% - 10px);
		padding-left:2px;
		padding-right:2px;
		margin-left: 0;
		margin-right: 0;
	}
	.project img {
		width: calc(100% - 4px);
	}
	.project .description {
		float: none;
		width: auto;
	}
	h1 {
		font-size: 24pt;
	}
	.resume {
		padding: 0;
	}
	.resume h1 {
		display:none;
	}
	li {
		margin-bottom: 5px;
	}
	.grid {
		text-align: center;
	}
	.box p.title {
		color: white;
		background-color: rgba( 0,0,0,0.75 );
		width: 100%;
		position: absolute;
		text-align: left;
		left:0;
		bottom:0;
		display: block;
		padding: 5px 0;
		font-size: 20pt;
		text-indent: 10px;
	}
}

