
/**
 * Projects
 */

#projects {
  width: 760px;
}

#projects ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#projects ul li {
  float: left;
  margin: 0;
  padding: 0 16px 16px 0;
}

#projects ul li a.view-images {
  display: block;
  background: #f9f9f9;
  border: 1px solid #ebebeb;
  color: #868686;
  padding: 3px;
  text-decoration: none;
}

#projects ul li a.view-images strong {
  color: #3c96cb;
}

#projects ul li a.view-images:hover {
  border: 1px solid #3399cc;
}

#projects ul li a.view-images img {
  border: 1px solid #ebebeb;
}

#projects ul li a.view-images span {
  display: block;
  padding: 2px 4px;
}

#projects ul li .view-details {
  color: #868686;
  padding: 4px 0;
  text-decoration: none;
}

#projects ul li .view-details strong {
  color: #3c96cb;
}


/**
 * Modal Window
 */

.jqmOverlay {
  background-color: #000000;
}

.jqmWindow {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 640px;
  margin-left: -320px;
  height: 560px;
  margin-top: -280px;
  background-color: #ffffff;
  color: #666666;
  border: 1px solid #666666;
  overflow: hidden;
}

.jqmWindow H1 {
  font-size: 24px;
  margin: 14px 0;
}

.jqmWindow H2 {
  font-size: 16px;
}

.jqmWindow .header {
  height: 66px;
  overflow: hidden;
}

.jqmWindow .padding {
  position: relative;
  padding: 1px 20px;
}

.jqmWindow .close {
  position: absolute;
  top: 4px;
  right: 4px;
}

.jqmWindow .close a img {
  border: 4px solid #ffffff;
}

.jqmWindow ul {
  position: absolute;
  top: 38px;
  right: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jqmWindow ul li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0 0 0 10px;
}

.jqmWindow ul li a.case-study {
  background: url('/images/portfolio/case-study.gif') left center no-repeat;
  padding-left: 14px;
}

.jqmWindow ul li a.press-release {
  background: url('/images/portfolio/press-release.gif') left center no-repeat;
  padding-left: 16px;
}


/**
 * Videos
 */

#videos #player {
  float: left;
  width: 368px;
  height: 272px;
  background: #f9f9f9;
  border: 1px solid #ebebeb;
}

#videos #player #flash {
  float: none;
  border: 0;
  margin: 3px;
  padding: 0;
}

#videos ul {
  float: right;
  width: 352px;
  height: 272px;
  border: 1px solid #ebebeb;
  border-right: none;
  list-style: none;
  margin: 0;
  overflow: scroll;
  overflow-x: hidden;
  padding: 0;
}

#videos ul li {
  width: auto;
  list-style: none;
  margin: 0;
  padding: 3px 0 3px 3px;
}

#videos ul li.alt {
  background: #fcfcfc;
}

#videos ul li:hover {
  background: #f9f9f9;
}

#videos ul li.active,
#videos ul li.active:hover {
  background: #f4f9fd;
}

#videos ul li a {
  display: block;
  height: 62px;
  color: #868686;
  text-decoration: none;
}

#videos ul li a img {
  float: left;
  width: 80px;
  height: 60px;
  border: 1px solid #ebebeb;
  margin-right: 10px;
  display: inline;
}

#videos ul li a strong {
  color: #3399cc;
}
