/*================================================
EA Image Box Area CSS
=================================================*/
/*================================================
EA Image Box CSS
=================================================*/
.ea-image-box-area {
  position: relative;
  z-index: 1;
}

.ea-image-box-area.bg-color-f6ede8 {
  background-color: #f6ede8;
}

.ea-image-box-area.bg-color-f6ede8 .image-box-shape {
  position: absolute;
  top: 100px;
  right: 100px;
  z-index: -1;
}

.ea-image-box-area.bg-color-fffae9 {
  background-color: #fffae9;
}

.ea-image-box-area.style-seven {
  overflow: hidden;
}

.single-image-box {
  -webkit-transition: var(--transition);
  transition: var(--transition);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.single-image-box .image-box-content {
  background-color: #f8f9fb;
  padding: 20px;
}

.single-image-box .image-box-content .ea-title {
  margin-bottom: 10px;
}

.single-image-box .image-box-content h3 {
  font-size: 22px;
}

.single-image-box .ea-title:last-child {
  margin-bottom: 0;
}

.single-image-box:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

.single-image-box.style-two {
  background-color: var(--whiteColor);
  padding: 20px;
}

.single-image-box.style-two .image-box-content {
  padding: 0;
  background-color: transparent;
  padding-top: 20px;
  padding-bottom: 20px;
}

.single-image-box.style-three .image-box-content {
  background-color: #f3efff;
}

.single-image-box.style-five .image-box-content {
  background-color: var(--whiteColor);
  max-width: 320px;
  margin: -30px auto 0;
  position: relative;
  text-align: center;
}

.single-image-box.style-six .image-box-content {
  background-color: transparent;
  background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.9)));
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 100%;
  margin: auto;
  text-align: center;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  padding-left: 30px;
  padding-right: 30px;
}

.single-image-box.style-six .image-box-content .ea-title {
  color: var(--whiteColor);
}

.single-image-box.style-six .image-box-content p {
  color: var(--whiteColor);
}

.single-image-box.style-six:hover .image-box-content {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.8)), to(rgba(0, 0, 0, 0.8)));
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
  bottom: 30px;
  max-width: 300px;
}

.single-image-box.style-seven .image-box-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: var(--transition);
  transition: var(--transition);
}

.single-image-box.style-seven .image-box-content .ea-title, 
.single-image-box.style-seven .image-box-content p {
  color: var(--whiteColor);
}

.single-image-box.style-seven .image-box-content p {
  padding: 0 20px;
}

.single-image-box.style-seven:Hover {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.single-image-box.style-seven:Hover .image-box-content {
  opacity: 1;
  visibility: visible;
}

.single-image-box.style-eight .image-box-content {
  background-color: #f7f7ff;
  margin-top: -30px;
  position: relative;
  text-align: center;
  margin-left: 50px;
}

.ea-image-box {
  padding: 10px;
}

.ea-image-box-area .card-body {
  padding: 10px !important;
}

.ea-image-box-area .card-body h3 {
  font-size: 1.25rem;;
}

.ea-image-box-area .card {
  max-width: 48%;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
  display: inline-block !important;
}

.ea-image-box-area .card.mr-3 {
  margin-right: 20px;
}

/* Imagebox Alignment */

/* Alignment Left */
.ea-image-box-area .img-h-alignment.img-h-left {
  margin-right: auto;
  display: block;
}

.ea-image-box-area .content-h-alignment.content-h-left {
  text-align: left;
}

/* Alignment Center */
.ea-image-box-area .img-h-alignment.img-h-center {
  margin: 0 auto;
  display: block;
}

.ea-image-box-area .content-h-alignment.content-h-center {
  text-align: center;
}

/* Alignment Right */
.ea-image-box-area .img-h-alignment.img-h-right {
  margin-left: auto;
  display: block;
}

.ea-image-box-area .content-h-alignment.content-h-right {
  text-align: right;
}
