/***** HTML elements *****/

body {
  margin: 0;
  padding: 0;
  font-family: Verdana, Helvetica, sans-serif;
  font-size: 11px;
  overflow-y: scroll;
}
body, a {
  color: #194f5b;
}

h1, h2, h3, h4, h5, h6 {
  margin: 16px 0 8px 0;
}
h1, h2 {
  font-family: Duality, Garamond, Georgia, serif;
}
h3 {
  color: #22809f;
  font-size: 1.25em;
}
h3 a {
  color: #22809f;
}
h4 {
  font-size: 1em;
}
h5, h6 {
  font-size: 1em;
  color: #4e99b2;
}

a {
  color: #4e99b2;
  font-weight: bold;
  outline: none;
  text-decoration: none;
}
a:hover {
  text-shadow: #afc7cc 2px 2px 1px;
}
a img {
  border: none;
}

ul {
  margin: 0;
  padding: 0;
  margin-left: 1.3em;
  list-style-type: circle;
}
li {
  margin-bottom: 3px;
}

/***** Custom elements *****/

.subtext {
  font-size: 9px;
  -letter-spacing: 0.2px;
  color: #22809f;
}

#content {
  max-width: 800px; 
  margin: 0 auto;
  padding-left: 14px;
}
#content h1 {
  height: 150px;
  margin-left: 22px;
  padding-top: 15px;
}
#content h2 {
  -margin-bottom: 14px;
}
#menu a {
  display: block;
  position: absolute;
}

/***** Columns *****/

.cols {
  width: 770px;
  -overflow: hidden;
  white-space: nowrap;
  word-spacing: -1em;
}
.cols > div, .col1, .col2, .col3 {
  display: inline-block;
  margin-right: 4px;
  height: auto;
  white-space: normal;
  word-spacing: normal;
  vertical-align: text-top;
}
.cols > div, .cols > .col1 { width: 254px; }
.cols > .col2 { width: 512px; }
.cols > .col3 { width: 770px; }

.cols > .col-award1 { width: 115px; }
.cols > .col-award2 { width: 639px; }

.accordeon .cols {
  margin-top: 8px;
  margin-bottom: 8px;
}

.col1 > p {
  margin-right: 8px;
}

/***** Footer *****/

#footer {
  width: 770px;
  margin: 16px auto 0 auto;
  border-top: 1px dashed #91bfce;
  padding: 16px 0 16px 0;
}
#footer > p {
  margin-top: 0;
  margin-bottom: 0;
}

/***** Projects *****/

#gallery {
  overflow: hidden;
  max-width: 786px;
  list-style: none;
  /* margin: 0px 8px; */
  padding: 8px;
}
/* All elements in gallery (thumb containers and descriptions) */
#gallery > * {
  display: block;
  float: left;
}
/* All first-level elements in gallery (links around thumbs and divs of descriptions) */
#gallery > li > a, #gallery > li > div {
  display: block;
  padding: 0px;
}
/* Thumbs */
#gallery > li > a {
  background-color: #ccc;
  width: 770px;
  height: 300px;
  margin: 0px;
}
/* Thumbs */
#gallery > li:not(.gallery-injector-elem) a {
  transition: box-shadow 0.25s ease-in; -moz-transition: box-shadow 0.25s ease-in; -o-transition: box-shadow 0.25s ease-in; -webkit-transition: box-shadow 0.25s ease-in;
}
/* Selected thumbs */
#gallery > li:not(.gallery-injector-elem).selected a {
  box-shadow: 0px 0px 8px #22809f; -moz-box-shadow: 0px 0px 8px #22809f; -o-box-shadow: 0px 0px 8px #22809f; -webkit-box-shadow: 0px 0px 8px #22809f;
}

#gallery_old {
  overflow: hidden;
  max-width: 786px;
  list-style: none;
  /* margin: 0px 8px; */
  padding: 8px;
}
/* All elements in gallery (thumb containers and descriptions) */
#gallery_old > * {
  display: block;
  float: left;
}
/* All first-level elements in gallery (links around thumbs and divs of descriptions) */
#gallery_old > li > a, #gallery > li > div {
  display: block;
  padding: 0px;
}
/* Thumbs Old */
#gallery_old > li > a {
  background-color: #ccc;
  width: 254px;
  height: 140px;
  margin-right: 4px;
}
/* Thumbs */
#gallery_old > li:not(.gallery-injector-elem) a {
  transition: box-shadow 0.25s ease-in; -moz-transition: box-shadow 0.25s ease-in; -o-transition: box-shadow 0.25s ease-in; -webkit-transition: box-shadow 0.25s ease-in;
}
/* Selected thumbs */
#gallery_old > li:not(.gallery-injector-elem).selected a {
  box-shadow: 0px 0px 8px #22809f; -moz-box-shadow: 0px 0px 8px #22809f; -o-box-shadow: 0px 0px 8px #22809f; -webkit-box-shadow: 0px 0px 8px #22809f;
}

/* All injected elements */
.gallery-injector-elem {
  margin: 8px 0px;
  border-top: 1px dashed #91bfce;
  border-bottom: 1px dashed #91bfce;
}
.gallery-injector-elem:last-child {
  border-bottom: none;
}

/***** Slideshow *****/

ul.slideshow {
  margin: 0;
  padding: 0;
  list-style: none;
}

/***** Awards *****/

.bleed img {
  box-shadow: 0px 0px 8px #22809f; -moz-box-shadow: 0px 0px 8px #22809f; -o-box-shadow: 0px 0px 8px #22809f; -webkit-box-shadow: 0px 0px 8px #22809f;
  margin-bottom: 8px;
}

#awards .col-award1 {
  text-align: center;
  margin-bottom: 8px;
}

/***** News *****/

#news {
  margin: 8px;
}
#news h3, #news h3 a {
  margin-top: 1.5em;
  font-weight: normal;
}
