
#content_wrapper {
  width: 68%;
  float: left;
}

#side_wrapper {
  width: 30%;
  float: right;
  margin-top: 5px;
}

.product {
  height: 150px;
  margin: 2px;
  background-repeat: no-repeat;
  background-size: contain;
}

.product_link {
  color: black;
  text-decoration: none;
}

.product .product_title {
  font-weight: bold;
  color: black;
  font-size: 10pt;
  margin: 2px;
}

.product .product_excerpt {
  width: 70%;
}

.product-sidebar {
  background-position: center right;
  height: 3em;

  border-bottom: 1px solid #CFCFCF;
  font-size: 0.8em;
  margin: 0.6em;
}

.doc-sidebar {
  background-position: center right;
  height: 2em;
  margin: 0.6em;

  border-bottom: 1px solid #CFCFCF;
  font-size: 0.8em;
}

.documents {
  float: right;
}


/* ============================================================
  styles for the project widget display GLOBAL
============================================================ */
.effects {
  padding-left: 15px;
}
.effects .img {
  position: relative;
  float: left;
  margin-bottom: 5px;
  width: 24%;
  overflow: hidden;
}
.effects .img:nth-child(n) {
  margin-right: 5px;
}
.effects .img:first-child {
  margin-left: 0px;
}
.effects .img:last-child {
  margin-right: 0;
}
.effects .img img {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
}

.effects .overlay {
  display: block;
  position: absolute;
  z-index: 20;
  background: rgba(0, 51, 102, 0.8);

  overflow: hidden;
  transition: all 0.5s;
}

.effects a.close-overlay {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  width: 45px;
  height: 45px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 45px;
  text-align: center;
  background-color: #000;
  cursor: pointer;
}
.effects a.close-overlay.hidden {
  display: none;
}

.effects a.expand {
  display: block;
  position: absolute;
  z-index: 100;
  width: 120px;
  height: 60px;
  text-align: center;
  color: #fff;
  line-height: 15px;
  font-weight: 700;
  font-size: 9pt;
}

/* ============================================================
  styles for the project widget display  EFFECT 1 - SLIDE IN BOTTOM
============================================================ */
#effect-1 .overlay {
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
}
#effect-1 .overlay a.expand {
  top: 0;
  bottom: 0;
  left: 50%;
  margin: auto 0 auto -60px;
}
#effect-1 .img.hover .overlay {
  height: 100%;
}


/******************** 320X480 (IPHONE/ANDROID) *******************************/
@media screen and (max-width:480px) {
  #products_wrapper, #content_wrapper {
    width: 100%;
  }

  .product-narrow {
    width: 40%;
  }

  #category_wrapper, #side_wrapper {
    margin: 0px !important;
    padding: 0px !important;
    line-height: 0px !important;
    display: none !important;
    border: 0px;
  }
}

/******************** 4k Retina Display *******************************
@media screen and (min-width:2000px) {
  .doc-sidebar {
    height: 2.2em;
    margin: 0.7em;
    font-size: 0.9em;
  }

  .product-sidebar {
    height: 3.2em;
    font-size: 0.9em;
    margin: 0.7em;
  }

  .tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption, .tiled-gallery-caption {
    font-size: 23px !important;
  }

  .effects .img {
    width: 20%;
  }

  .effects a.expand {
    line-height: 25px;
    font-size: 15pt;
  }
}
*/