/* HTML Styles for Jeff Geerling's website. */

/* Basic Styles */
body {
  font-size: 100%;
  font-family: Georgia, Times, serif;
  margin: 0;
  padding: 0;
}

p {
  margin: .8em 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.2em;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
  color: #666;
  margin-bottom: .25em;
}

a {
  color: #444;
}

a:visited {
  color: #555;
}

a:hover, a:focus {
  color: #888;
}

li {
  margin: 0 0 .4em;
}

img {
  padding: 4px;
  border: 1px solid #eee;
}

section, div {
  display: block;
}

/* Layout Styles */
#page-wrapper {
  font-size: 1em;
  width: 920px;
  margin: 1em auto;
  border: 1px solid #999;
  -moz-border-radius: 15px;
  border-radius: 15px;
  padding: 1.5em;
  overflow-y: auto;
}

.info-box {
  background-color: #efefef;
  border: 1px solid #eee;
  -moz-border-radius: 15px;
  border-radius: 15px;
  padding: 1em;
}

.resume-section {
  border: 1px solid #ccc;
  -moz-border-radius: 15px;
  border-radius: 15px;
  padding: 1em;
  margin-bottom: 1em;
}

.info-box h2,
.resume-section h2 {
  margin-top: 0;
}

.info-box ul {
  margin-top: .25em;
  margin-bottom: 0;
}

.resume-section li {
  margin-bottom: 1em;
}

#highlight {
  background-color: #fff;
  border-color: #ccc;
  margin-bottom: 1.5em;
  overflow-y: auto;
}

#content {
  margin: 0;
}

#box-projects {
  width: 25%;
  float: left;
}

#box-projects li {
  font-size: .8em;
  margin-left: -1em;
}

#box-what-i-do {
  width: 65%;
  float: right;
}

#bottom {
  font-size: .8em;
  color: #999;
  width: 920px;
  margin: 0 auto;
  text-align: center;
}

/* Navigation Links - Page-level */
.page-navigation ul {
  list-style-type: none;
  margin: 0 0 .75em;
  padding: 0 0 .8em;
  text-align: center;
}

.page-navigation li {
  display: inline;
}

.page-navigation li a {
  background-color: #bbb;
  -moz-border-radius: 5px;
  border-radius: 5px;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 90%;
  margin: 0 .3em;
  padding: .5em .8em;
  text-align: center;
  text-decoration: none;
}

.page-navigation li a:hover {
  background-color: #ddd;
  color: #555;
}

/* Class and ID Styles */
h1#page-title {
  border-bottom: 1px solid #ccc;
  line-height: .7em;
  margin-top: .15em;
  font-size: 3.5em;
}

#highlight h2 {
  color: #333;
}

#portrait {
  width: 115px;
  float: left;
}

#my-description {
  width: 770px;
  float:right;
}

.page-resume h1 a {
  text-decoration: none;
  color: #000;
}

.resume-section {
  overflow: auto;
}

.resume-section h2 {
  float: left;
  text-shadow: 1px 2px 0 #ddd,
               0 2px 10px rgba(0,0,0,.15);
  width: 20%;
}

.resume-section .content {
  border-left: 1px solid #ddd;
  float: right;
  padding-left: 1em;
  width: 72%;
}

.resume-section p:first-child,
.resume-section h3:first-child,
.resume-section .job:first-child {
  margin-top: 0;
}

.resume-section p:last-child,
.resume-section .job:last-child {
  margin-bottom: 0;
}

.resume-section .job {
  -moz-border-radius: 15px;
  border-radius: 15px;
  background-color: #f7f7fb;
  margin: 1em 0;
  padding: 1em;
}
