
#imgGrid {
     margin-top:10px;     
}

.imgFrame {
     border: 1px solid #DDD;
     padding:4px;
     /*box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);*/
     margin-bottom:10px;
     border-radius:6px;
 }

#imgGrid img {
     padding:0px; 
     border:0px solid #DDDDDD; 
       border-top-left-radius:4px;
       border-top-right-radius:4px;   
}

.grid-caption {
    border:0px solid #DDDDDD;
    padding:15px 15px 5px 15px;
    background:#0FB636;
    /*margin-bottom:10px;*/
}

.grid-caption h3 {
    margin-top:0px;
    margin-bottom:6px;
    font-family:'roboto_condensedregular',Arial; 
    text-transform:uppercase;
    color:#ffffff;
    font-size:20px;
}

.grid-caption p {
    color: #FFFFFF;
    font-size: 14px;
    font-family: 'liberation_sansregular',Arial;
    text-align: justify;
}


.btn-gallery {
    font-size:12px;
    padding:6px 10px;
    color:#FFF;
    font-family:'robotomedium',Arial;
    text-transform:uppercase;
    background:#111111 none repeat scroll 0% 0%;               
    text-decoration:none; 
    border:none; 
}

.btn-gallery:hover, .btn-gallery:focus, .btn-gallery:active {
    background:#FF8822;
    color:#FFFFFF;   
    transition:all 0.5s ease 0s; 
}

.ih-item {
  position: relative;
  -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: 316px;*/
  /*height: 216px;*/
  height:100%;
  width:100%;  
  /*border: 6px solid #fff;*/
  /*box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);*/
}
.ih-item.square .info {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


/* EFFECT STYLE */

.ih-item.square.effect6 {
  overflow: hidden;
}
.ih-item.square.effect6.colored .info {
  background: #1a4a72;
  background: rgba(26, 74, 114, 0.6);
}
.ih-item.square.effect6.colored .info h3 {
  background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect6 .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.effect6 .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.effect6 .info h3 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 10px;
  background: #0fb636;
  margin: 30px 0 0 0;                                 /* controls distance of h3 position from top */
  -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.effect6 .info p {
  font-style: italic;
  font-size: 14px;
  position: relative;
  color: #bbb;
  padding: 20px 20px 20px;
  text-align: center;
  -webkit-transition: all 0.35s 0.1s linear;
  -moz-transition: all 0.35s 0.1s linear;
  transition: all 0.35s 0.1s linear;
}
.ih-item.square.effect6 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.effect6 a:hover .info {
  visibility: visible;
  opacity: 1;
}

.ih-item.square.effect6.from_top_and_bottom .info h3 {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}
.ih-item.square.effect6.from_top_and_bottom .info p {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transform: translateY(100%);
}
.ih-item.square.effect6.from_top_and_bottom a:hover .info h3,
.ih-item.square.effect6.from_top_and_bottom a:hover .info p {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}