/* darkbox styles */

.dark-wrap{
  float: left;
  position: relative;
  margin: 0 6px 6px 0;
}

.dark-last {
  margin-right: 0px;
  margin-bottom: 0px;
}

.dark-primary {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

/* sizes -- add more as needed */

.dark-size-1 {
  width: 336px;
  height: 136px;
}

.dark-size-2 {
  width: 160px;
  height: 125px;
}

.dark-size-3 {
  width: 512px;
  height: 160px;
}

.dark-size-4 {
  width: 240px;
  height: 140px;
}

.dark-size-5 {
  width: 336px;
  height: 140px;
}

.dark-size-6 {
  width: 311px;
  height: 162px;
  margin: 0px 3px 3px 0px;
}

/* darkbox elements */
.dark-title {
  position: absolute;
  background-color: #000;
  width: 100%;
  z-index: auto;
  bottom: 0;
  text-align: center;
}

.dark-title h3 {
  margin: 0;
  color: #fff;
  padding: 10px 0;
}

.dark-secondary {
  width: 100%;
  height: 100%;
  color: #FFF;
  background-color: #000;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

.dark-secondary-content {
  /* provides padding for content */
  margin: 16px;
}

.dark-secondary p {
  line-height: 1.2;
  margin-bottom: 16px;
}

.dark-secondary-content a:link {
  color: #7DA2c1;
  font-weight: bold;
}
.dark-secondary-content a:visited {
  color: #7DA2c1;
  font-weight: bold;
}
.dark-secondary-content a:hover {
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
}
.dark-secondary-content a:active {
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
}

/* dark-box dynamic styles */
.dark-wrap:hover .dark-primary {
  z-index: 0;
}

.dark-wrap:hover .dark-title {
  visibility: hidden;
}

.dark-wrap a:-webkit-any-link {
  text-decoration: none;
}

.dark-transparency {
  background: rgba(0, 0, 0, 0.7);
  /* browser fallback
  background: rgb(0, 0, 0);*/   
  /* For IE 5.5 - 7*/
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#b2000000, endColorstr=#b2000000);
  /* For IE 8*/
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}

/* needs top margin when in social blocks */
#social_block .dark-wrap {
margin-top: 6px;
}