@font-face {
  font-family: "JMed";
  src: url('jmed-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font: 13.5px/1.5 sans-serif;
  background-color: #1c1c20;
  color: #ffffff;
}

pre,
code {
  font-family: monospace;
}

p,
pre {
  margin-bottom: 16px;
}

h1, h2, h3, h4 {
	margin-bottom: 16px;
	font-family: "JMed";
}

h2 {
	line-height: 100%;
	margin-bottom: 32px;
}

hr {
  border: 0 #ccc solid;
  border-top-width: 1px;
  clear: both;
  height: 0;
}

a {
	color: #ffff66;
	text-decoration: none;
}

a:hover {
	color: #ffc;
	text-decoration: underline;
}

.pad20 {
	margin-top: 30px;
}

.img-border {
	border: 1px solid #ffff66;
}

/* structure */
.container {
	padding: 5px 15px;
}

.header {
	background-image:url('../img/logo_bg.png');
	background-repeat:repeat-x;
}

.header img {
	max-width: 100%;
}

.primary-nav {
	text-align: right;
	list-style-type: none;
	font-family: "JMed";
	font-size: 24px;
}

.primary-nav ul {
	margin: 0 0 24px 0;
	border-top: 1px solid #ff6;
	// line-height: 12px;
	// border-top: 1px solid #330;
	// border-bottom: 2px solid #330;
}

.primary-nav li {
	list-style: none;
	display: inline;
	margin-left: 16px;
}

.primary-nav li.highlight a{
	color: #ffc;
}

.side-nav ul {
	font-family: "JMed";
	padding: 0;
	margin: 0 0 15px;
	list-style: none;
	font-size: 18px;
}

.side-nav li {
	margin-bottom: 10px;
	line-height: 100%;
}

.project {
	margin-bottom: 30px;
}

.fancybox img {
	margin: 0 12px 12px 0;
}


/* media queries */
@media all and (min-width: 720px) {
	.container {
		max-width: 690px;
		margin: 0 auto;
	}

	.side-nav {
		float: left;
		width: 20%;
		text-align: right;
		margin-top: 16px;
	}
	
	.side-nav li {
		margin-bottom: 12%;
		direction: rtl;
	}

	.content {
		float: right;
		width: 72%;
		padding-left: 3%;
		border-left: 0px solid #222;
		margin-top: 0px;
	}

	.float-left {
		float: left;
		margin: 0 20px 10px 0;
	}
	.float-right {
		float: right;
		margin: 0 0 10px 20px;
	}
}
