﻿html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
.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: 220px;
  height: 150px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  border:1px solid #01a232;
  margin:8px 8px 8px 8px;
  /*background:#000;*/
}
.ih-item.square .info {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.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.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(2);*/
}

.img_dimension 
{
    width:100%; height:100%; -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; max-width:300px; max-height:300px;
}
.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: 17px;
  padding: 10px;
  background: #111111;
  margin: 30px 0 0 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 p {
  font-style: italic;
  font-size: 12px;
  position: relative;
  color: #FFF;
  padding: 10px 10px 10px 10px;
  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;
  background: rgba(0, 0, 0, 0.8);
  margin:50px 0 0 0; 
  width:100%;
}
.ih-item.square.effect6 a:hover .img {
  /*-webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);*/
}
.ih-item.square.effect6 a:hover .info {
  visibility: visible;
  opacity: 1;
}

@media screen and (min-width: 40px) and (max-width: 360px) 
{
.ih-item.square {width: 92%; height: 60px; margin:0% 3% 8% 1%;}
}

@media screen and (min-width: 361px) and (max-width: 480px) 
{
.ih-item.square {width: 92%; height: 100px; margin:0% 3% 6% 1%;}
}


@media screen and (min-width: 481px) and (max-width: 768px) 
{
.ih-item.square {width: 92%; height: 130px; margin:8px 15px 8px 1px;}
}


@media screen and (min-width: 769px) and (max-width: 980px)
{
.ih-item.square {width: 92%; height: 140px; margin:8px 15px 8px 1px;}
}