html, body {
  height: 100%;
}

body {
  background-color: #f7f7f7;
  font-family: "trebuchet ms", tahoma, arial, verdana, sans-serif;
  font-size: 10pt;
  margin: 0;
  color: gray;
}

.main_panel {
  background-color: white;
  width: 42em;
  margin: 0 auto;
  padding-left: 2em;
  padding-right: 2em;
  min-height: 100%;
  position: relative;
}

.right_edge {
  background: url(../images/right-edge.png) repeat-y top left;
  width: 5px;
  position: absolute;
  top: 0;
  left: 100%;
  height: 100%;
}

.left_edge {
  background: url(../images/left-edge.png) repeat-y top right;
  width: 5px;
  position: absolute;
  top: 0;
  right: 100%;
  height: 100%;
}

img {
  border: 0;
}

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

a:hover {
  text-decoration: underline;
}

.nav {
  font-family: impact;
  color: #dec3a3;
  letter-spacing: .05em;
  padding-top: 7em;
  position: relative;
  font-weight: normal;
}

.emblem {
  float: right;
  margin-top: 4em;
  width: 98px;
  height: 98px;
  background: url(../images/emblem.png);
}

.nav a {
  color: #dec3a3;
}

.nav a:hover {
  color: #ffa622;
  text-decoration: none;
}

.nav .selected {
  color: #ffa622;
}

.logo {
  vertical-align: middle; 
  margin-right: 1em;
  border: 0;
}

.content {
  background: white;
  padding: 0 .2em;
}

h1 {
  color: #dec3a3;
  font-family: impact;
  font-weight: normal;
  line-height: .9em;
  font-size: 2.5em;
  margin-bottom: .4em;
}

h2.clients {
  clear: right;
}

h2 {
  color: #ffa622;
  font-family: impact;
  font-weight: normal;
  line-height: .9em;
  font-size: 1.6em;
  margin-bottom: .4em;
}

h3, h4 {
  margin-bottom: .3em;
}

h4 {
  color: #dec3a3;
}

.title_accent {
  color: #ffa622;
}

.size_control {
  position: absolute;
  top: .5em;
  right: 2em;
  color: #f2f2f2;
}

.size_control a {
  color: lightgray;
}

.next_button {
  position: absolute;
  left: 100%;
  top: 18em;
}

.prev_button {
  position: absolute;
  right: 100%;
  top: 18em;
}

.prev_button img {
  margin-right: 1px;
}

.next_button img {
  margin-left: 1px;
}

.work_image_wrapper {
  border: 1px solid lightgray;
  padding: .6em;
  margin-bottom: .3em;
}

.work_image_wrapper_2 {
  height: 9em;
  overflow: hidden;
  cursor: pointer;
}

.work_image {
  width: 100%;
}

.featured_work {
  margin-bottom: .5em;
  margin-top: 1em;
  padding: .8em;
  font-size: .85em;
  background-color: #f7f7f7;
}

.featured_info {
  margin-left: 7em;
}

.featured_work h2 {
  color: #ffa622;
  float: left;
  margin-top: 0;
  margin-right: .3em;
  margin-bottom: 1em;
}

.featured_work hr {
  border: 0;
  border-bottom: 1px solid lightgrey;
  margin: .3em 0;
}

.featured_left {
  float: left;
  color: lightgray;
}

.featured_right {
  margin-left: 5em;
}

.image_info {
  margin-top: .5em;
  font-size: .9em;
}

.number {
  font-family: impact;
}

.logo_block_wrapper {
  width: 23%;
  float: left;
  margin-right: .7em;
  margin-bottom: .7em;
  text-align: left;
}

.logo_block {
  background-color: #9f9e9e;
  text-align: center;
  height: 8ex;
}

.logo_block img {
  height: 100%;
}

.client_name {
  margin-top: .3em;
  height: 5ex;
  line-height: .95em;
}

.side_panel {
  width: 35%;
  float: right;
  background-color: #f7f7f7;
  padding: .4em;
  margin-left: 1em;
}

.side_panel h2 {
  margin-top: .3em;
  color: gray;
}

.promo_image {
  width: 95%;
  border: 1px solid lightgray;
  padding: .2em;
  background-color: white;
}

.left_col {
  float: left;
  width: 40%;
}

.right_col {
  float: left;
  width: 56%;
}

.footer {
  margin-top: 3em;
  padding-bottom: 2em;
  color: lightgrey;
  font-size: .9em;
  clear: both;
}
