/* =general */
* {
  margin: 0;
  padding: 0;
  border: none;
  }

body {
  font: small Verdana, Arial, sans-serif;
  background: white url(images/body-gradient.jpg) top repeat-x;
  }

h1, h2, h3, h4, h5 {
  font-family: Georgia, serif;
  font-weight: bold;
  }

h3 {
  margin-bottom: 10px;
  clear: both;
  border-bottom: 1px solid gray;
  color: #314f69;
  text-transform: capitalize;
  }

h4 {
  margin: 20px 0 4px 0;
  color: #474747;
  }

h4 a {
  color: #474747;
  }

h5 {
  color: gray;
  }

p {
  margin-bottom: 10px;
  line-height: 1.5;
  }

ol {
  margin-left: 40px;
  }


/* =wrapper */
#wrapper {
  width: 94%;
  height: 100%;
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  }


/* =header */
#header {
  height: 135px;
  padding: 20px 0 0 20px;
  background: #598fc1 url(images/blue-curve.jpg) center -35px no-repeat;
  }

#index #header a {
  cursor: default;
  }

#paint_set {
  position: absolute;
  top: -10px;
  right: 30px;
  }


/* =sidebar */
#sidebar {
  position: absolute;
  top: 0;
  left: 20px;
  width: 140px;
  font-size: medium;
  }

#sidebar ul {
  margin-bottom: 50px;
  }

#sidebar li {
  margin-bottom: 6px;
  list-style-type: none;
  color: maroon;
  }

#sidebar ul a {
  color: maroon;
  text-decoration: none;
  }

#sidebar ul a:hover {
  color: black;
  }

#illustration #illustration_link a, #webdesign #webdesign_link a,
#animation #animation_link a, #about #about_link a {
  color: gray;
  cursor: default;
  }

#index #home_link {
  display: none;
  }

/* The following two rules fix the link color and cursor in IE */
#sidebar #illustration_services a,
#sidebar #webdesign_services a {
  color: maroon;
  cursor: pointer;
  }

#sidebar #illustration_services a:hover,
#sidebar #webdesign_services a:hover {
  color: black;
  }

#sidebar ul ul {
  display: none;
  margin: 0;
  padding-left: 20px;
  font-size: small;
  }

#illustration #sidebar ul #illustration_services,
#webdesign #sidebar ul #webdesign_services,
#pictureshow #sidebar ul #webdesign_services,
#race2004 #sidebar ul #webdesign_services,
#clinematic #sidebar ul #webdesign_services {
  display: block;
  }

.contact p {
  padding: 0 0 10px 0;
  font-size: x-small;
  background-color: transparent;
  }

#firefox {
  margin-top: 30px;
  }

#sidebar > #firefox {
  display: none;
  }


/* =content */
#content {
  position: relative;
  height: 100%;
  }

#content_wrap {
  position: relative;
  margin: 0 20px 0 160px;
  padding-bottom: 40px;
  height: 100%;
  }

#content_wrap ul {
  position: relative;
  margin-left: 40px;
  }

#service_link {
  position: absolute;
  top: 0;
  right: 0;
  }

#service_link a {
  text-decoration: none;
  }



/* =illustration portfolio and =thumbnails */
#thumbnails-1 {
  position: absolute;
  top: 3em;
  left: 0;
  }

#thumbnails-2 {
  position: absolute;
  top: 3em;
  right: 0;
  }

#thumbnails-1 div, #thumbnails-2 div {
  height:74px;
  width: 74px;
  margin-bottom: 8px;
  background: url(images/thumb_frame.gif) no-repeat;
  }

#thumbnails-1 img, #thumbnails-2 img {
  height: 50px;
  width: 50px;
  margin: 10px 0 0 10px;
  border: 1px solid silver;
  border-width: 2px 0 0 2px;
  }

#illustration_image {
  text-align: center;
  height: 475px;
  }

#illustration_image img {
  margin-top: 1em;
  }




/* =web portfolio and =screenshots */
div.website {
  position: relative;
  width: 550px;
  height: 10em;
  margin: 20px 0 40px 0;
  }

.website p, .website h4 {
  margin: 0 0 4px 120px;
  }

.website .shadow {
  position: absolute;
  top: 0;
  left: 0;
  width:110px;
  margin: 0;
  }

#webdesign .website ul {
  list-style-type: none;
  margin: 0 0 0 120px;
  padding: 0;
  width: 110px;
  font-size: x-small;
  }

#webdesign .website ul li {
  padding-bottom: 4px;
  }

#screenshot_nav {
  float: left;
  }

#screenshot_nav ul {
  margin: 0;
  list-style-type: none;
  font-size: x-small;
  }

#screenshot_nav li {
  margin-bottom: 4px;
  }

ul#screenshot_thumbs {
  margin: 0;
  list-style-type: none;
  font-size: small;
  font-weight: bold;
  text-align: center;
  }

#screenshot_thumbs li {
  margin-bottom: 10px;
  width: 20px;
  border: 1px solid gray;
  }

#screenshot_thumbs a {
  display: block;
  padding: 4px;
  color: gray;
  text-decoration: none;
  }

#screenshot_thumbs a:hover {
  color: maroon;
  background-color: white;
  }

#screenshot_thumbs .selected a {
  color: maroon;
  background-color: white;
  cursor: default;
  }

#web_services #content_wrap ul {
  margin-left: 40px;
}


/* general =images and =drop =shadow */
div.shadow div {
  float: left;
  }

.shadow div div {
  float: left;
  background: url(images/shadow.jpg) right bottom no-repeat;
  }

.shadow div div div  {
  background: url(images/corner_bl.jpg) left bottom no-repeat;
  }

.shadow div div div div {
  padding: 0 14px 12px 0;
  background: url(images/corner_tr.jpg) right top no-repeat;
  }

#pictureshow .shadow, #race2004 .shadow, #clinematic .shadow {
  margin: 0 0 0 15%;
  }

#pictureshow .shadow img, #race2004 .shadow img, #clinematic .shadow img {
  border: 1px solid gray;
  }

.image_right_aligned {
  float: right;
  margin: 0 0 20px 20px;
  }


/* =bullets */
#content_wrap .custom_bullet {
  margin: 20px 0 0 0;
  }

.custom_bullet li {
  list-style-type: none;
  background: url(images/bullet.png) left 50% no-repeat;
  margin-bottom: 10px;
  padding-left: 23px;
  }

.custom_bullet a, .custom_bullet a:visited {
  color: #474747;
  }

.custom_bullet a:hover {
  color: maroon;
  }


/* =making of article */
#making_of #image {
  float: right;
  }

#making_of .caption {
  text-align: center;
  margin: 0 auto 10px auto;
  font-size: x-small;
  width: 220px;
  }

#making_of .links {
  margin-left: 0;
  }

#making_of .links li {
  display: inline;
  }

#making_of .links a {
  border-left: 1px solid gray;
  padding: 0 7px 0 8px;
  }

#making_of li.first a {
  border: none;
  }

#making_of #content_wrap h5 {
  margin-bottom: 8px;
  }

#recommended_reading {
  margin-bottom: 10px;
  list-style-type: none;
  }

#recommended_reading li {
  margin-bottom: 4px;
  }


/* =footer */
#footer {
  clear: both;
  background: white url(images/footer-gradient.jpg) bottom repeat-x;
  border-bottom: 2px solid gray;
  color: white;
  height: 70px;
  }

#footer p {
  padding: 50px 0 0 20px;
  font-size: x-small;
  }
