.typography-style .content-typography {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 20px;
  bottom: 20px;
  transition: opacity 0.4s;
  -webkit-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
}
.penci-grid li.typography-style {
  margin-bottom: 30px;
}
.penci-grid li.typography-style:last-child {
  margin-bottom: 60px;
}
.penci-grid li.typography-style .item > .thumbnail {
  margin-bottom: 0;
}
.penci-grid li.typography-style .item > .thumbnail:hover {
  opacity: 1;
}
.typography-style .content-typography:hover,
.penci-grid .typography-style .thumbnail:hover .content-typography {
  opacity: 1;
}
.penci-grid li.typography-style .overlay-typography {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: 0.3;
  transition: opacity 0.3s ease 0s;
  -webkit-transition: opacity 0.3s ease 0s;
  -moz-transition: opacity 0.3s ease 0s;
}
.penci-grid li.typography-style:hover .overlay-typography {
  opacity: 0.7;
}
.penci-grid li.typography-style .overlay-typography:before,
.penci-grid li.typography-style .overlay-typography:after {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  left: 5px;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}
.penci-grid li.typography-style .overlay-typography:before {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}
.penci-grid li.typography-style .overlay-typography:after {
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
}
.penci-grid li.typography-style:hover .overlay-typography:before,
.penci-grid li.typography-style:hover .overlay-typography:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.typography-style .main-typography {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
}
.typography-style .main-typography a.penci-cat-name {
  color: #fff;
  border-color: #fff;
  text-decoration: none;
}
.typography-style .main-typography a.penci-cat-name:after {
  border-color: #fff;
}
.penci-grid li.typography-style .item .main-typography h2 a {
  color: #fff;
}
.penci-grid li.typography-style .grid-post-box-meta span,
.penci-grid li.typography-style .grid-post-box-meta span a {
  color: #fff;
}
.penci-grid li.typography-style .grid-post-box-meta span a:hover,
.penci-grid li.typography-style .item .main-typography h2 a:hover {
  color: #305098;
}
/* = Photography style 2
-----------------------------------------------------*/
.penci-grid > li.photography-2 {
  margin-bottom: 30px;
}
.penci-grid > li.photography-2:last-child {
  margin-bottom: 60px;
}
.penci-photo-2-effect {
  position: relative;
  overflow: hidden;
  background: #000;
  text-align: center;
  cursor: pointer;
}
.penci-photo-2-effect img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  opacity: 0.7;
  display: block;
  position: relative;
}
.penci-photo-2-effect:hover img {
  opacity: 0.4;
  transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
}
.penci-photo-2-effect figcaption,
.penci-photo-2-effect figcaption a.photo-2-overlay {
  padding: 60px;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.penci-photo-2-effect figcaption {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.penci-photo-2-effect a.photo-2-overlay {
  z-index: 100;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}
.penci-photo-2-effect figcaption h2,
.penci-photo-2-effect figcaption p {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}
.penci-photo-2-effect figcaption h2 {
  font-size: 24px;
  padding: 0 60px;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  top: 50%;
  transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  padding-bottom: 30px;
}
.penci-photo-2-effect:hover figcaption h2 {
  padding-bottom: 15px;
}
.penci-photo-2-effect figcaption p {
  padding: 0 60px;
  top: 50%;
  margin-top: 30px;
  line-height: 1.8;
}
.penci-photo-2-effect:hover figcaption p {
  margin-top: 15px;
}
.penci-photo-2-effect figcaption:before,
.penci-photo-2-effect figcaption:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 1px;
  background: #fff;
  content: '';
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
}
.penci-photo-2-effect:hover figcaption:after {
  opacity: 0.5;
  -webkit-transform: translate3d(-50%, -50%, 0) rotate(-45deg);
  transform: translate3d(-50%, -50%, 0) rotate(-45deg);
}
.penci-photo-2-effect:hover figcaption:before {
  opacity: 0.5;
  -webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg);
  transform: translate3d(-50%, -50%, 0) rotate(45deg);
}
.penci_sidebar .penci-photo-2-effect figcaption {
  padding: 20px;
}
.penci_sidebar .penci-photo-2-effect figcaption h2 {
  padding: 0 20px 20px;
  font-size: 18px;
}
.penci_sidebar .penci-photo-2-effect figcaption p {
  margin-top: 20px;
  padding: 0 20px;
  font-size: 93%;
}
.penci_sidebar .penci-photo-2-effect:hover figcaption h2 {
  padding-bottom: 10px;
}
.penci_sidebar .penci-photo-2-effect:hover figcaption p {
  margin-top: 10px;
}