﻿.grid {
    list-style: outside none none;
    margin: 0;
    overflow: hidden;
    padding: 3em 0 0;
    text-align: center;
    width: 100%;
}
/* --------------------------------- */
.ih-item {
  position: relative;
  width: 300px !important;
  height: 200px !important;  
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
.ih-item,
.ih-item * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.ih-item a {
  color: #333;
}
.ih-item a:hover {
  text-decoration: none;
}
.ih-item .img {
  width: 100%;
  height: 100%;
}
.ih-item.square {
  position: relative;
  width: 75%;
  height: 100%; 
}
.ih-item.square .img img {
    width: 316px;
    height: 216px;
}
.ih-item.square .img:before {
  position: absolute;
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.95), inset 0 0 15px 25px rgba(0, 0, 25, 0.25), 0 0 15.5px rgba(255, 255, 255, 0.75);
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
.ih-item.square .info {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.hover-effect .circle-img {
  position: absolute; top:0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: 0;
}
.hover-effect .circle-img img {
    width: 220px;
  height: 220px;
  border-radius: 50%;
}
.hover-effect .circle-img:before {
  position: absolute;
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 0 12px 25px rgba(0, 0, 25, 0.35);
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
.hover-effect .circle-img img {
  border-radius: 50%;
}

.hover-effect .circle-info {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
      width: 316px;
    height: 216px;
}
.hover-effect .circle-img {
  z-index: 11;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
.hover-effect .circle-info {
  background: #1a4a72;
} 
.hover-effect .circle-info {
    opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
} 
.hover-effect .circle-img {
  -webkit-transform: scale(1) translateY(0);
  -moz-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  -o-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
}
.hover-effect .circle-info {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transform: translateY(100%);
}
.ih-item.square.effect7 a:hover .hover-effect .circle-img {
  opacity:1;
  -webkit-transform: scale(0.4) translateY(-65%) translateX(-75%);
  -moz-transform: scale(0.4) translateY(-65%) translateX(-75%);
  -ms-transform: scale(0.4) translateY(-65%) translateX(-75%);
  -o-transform: scale(0.4) translateY(-65%) translateX(-75%);
  transform: scale(0.4) translateY(-65%) translateX(-75%);
  box-shadow: 0 0 10px rgba(0,0,0,0.75);
}

.ih-item.square.effect7 {
  overflow: hidden; 
}
.ih-item.square.effect7.colored .info {
  background: #1a4a72;
  background: rgba(51, 153, 255, 0.6);
}
.ih-item.square.effect7.colored .info h3 {
  background: rgba(12, 34, 52, 0.9);
  box-shadow: 0 2px 2px rgba(0,0,0,0.5);
}
.ih-item.square.effect7 .img {
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
.ih-item.square.effect7 .info {
  background: #333333;
  background: rgba(0, 0, 0, 0.6);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
.ih-item.square.effect7 .info h3 {
  text-transform: uppercase;
  color: #3399ff;
  text-align: right;
  font-size: 20px;
	font-family: 'Jura';
  padding: 10px;
  background: #111111;
  margin: 30px 0 0 0;
  -webkit-transform: scale(4);
  -moz-transform: scale(4);
  -ms-transform: scale(4);
  -o-transform: scale(4);
  transform: scale(4);
  -webkit-transition: all 0.35s 0.1s ease-in-out;
  -moz-transition: all 0.35s 0.1s ease-in-out;
  transition: all 0.35s 0.1s ease-in-out;
}
.ih-item.square.effect7 .info p {
  font-style: italic;
  font-size: 14px;
  position: relative;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
  padding: 20px 20px 20px;
  text-align: center;
  -webkit-transform: scale(5);
  -moz-transform: scale(5);
  -ms-transform: scale(5);
  -o-transform: scale(5);
  transform: scale(5);
  -webkit-transition: all 0.35s 0.3s linear;
  -moz-transition: all 0.35s 0.3s linear;
  transition: all 0.35s 0.3s linear;
}
.ih-item.square.effect7 a:hover .img {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}
.ih-item.square.effect7 a:hover .info {
  visibility: visible;
  opacity: 1;
}
.ih-item.square.effect7 a:hover .info h3,
.ih-item.square.effect7 a:hover .info p {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
/* ****** drop-shadow ***** */
.curved::before {
    border-radius: 10px / 100px;
    bottom: 16px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 1);
    left: 20px;
    right: 20px;
    top: 16px;
}
.drop-shadow::before, .drop-shadow::after {
    content: "";
    position: absolute;
    z-index: -2;
}
.drop-shadow {
    position: relative;
}
/* **************************************** */
.grid figure {
        cursor: pointer;
    display: inline-block;
    height: 230px;
    margin: 5px;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 31.85%;
    z-index: 1;
}
.col {float:left;padding:5px 10px;}